diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-20 05:10:27 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-01-20 05:10:27 +0000 |
commit | 26490a2dd7224eb021bbbc7c2b6051a68ee5c247 (patch) | |
tree | ac93a899ee2bc1935fdbd05cc9c784572f6dc605 /docs | |
parent | b6b52376631e52542237b7f229bb67ab57332746 (diff) | |
download | gtk+-26490a2dd7224eb021bbbc7c2b6051a68ee5c247.tar.gz |
Bug 565656 – Add marks to scales
Bug 565656 – Add marks to scales
* gtk/gtkrange.[hc]: Add internal api to define 'stop values'
that have a little resistance when dragging the slider over it.
* gtk/gtk.symbols:
* gtk/gtkscale.[hc] (gtk_scale_add_mark): New function to add
a 'mark' to a scale, which will draws a tick, plus optionally
some text, and makes the value a stop value.
(gtk_scale_clear_values): Removes all marks.
* tests/testscale.c: Test for marks on scales
* tests/Makefile.am: Integrate it
svn path=/trunk/; revision=22149
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 4 | ||||
-rw-r--r-- | docs/reference/gtk/gtk-sections.txt | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index d86a1d04e4..dd3da2b828 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2009-01-20 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtk-sections.txt: Add new scale api + 2009-01-19 Matthias Clasen <mclasen@redhat.com> * gdk/tmpl/cursors.sgml: Document GDK_BLANK_CURSOR. diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index 448ba4e68a..597e65a740 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -3229,6 +3229,8 @@ gtk_scale_get_draw_value gtk_scale_get_value_pos gtk_scale_get_layout gtk_scale_get_layout_offsets +gtk_scale_add_mark +gtk_scale_clear_marks <SUBSECTION Standard> GTK_SCALE GTK_IS_SCALE |