summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.h
diff options
context:
space:
mode:
authorJody Goldberg <jody@gnome.org>2002-02-15 05:53:08 +0000
committerJody Goldberg <jody@src.gnome.org>2002-02-15 05:53:08 +0000
commitf0ed36b324217f0eca2057f8fa64a498fe40033f (patch)
tree7d556dd99433681c2a35b414fd6fc9a89ffecf1f /gtk/gtkrange.h
parent27455dcd9001e2eaec592b35a2023e8df44ad0ce (diff)
downloadgdk-pixbuf-f0ed36b324217f0eca2057f8fa64a498fe40033f.tar.gz
add new signal 'adjust_bounds' to potentialy change the bounds before
2002-02-14 Jody Goldberg <jody@gnome.org> * gtk/gtkrange.c (gtk_range_class_init) : add new signal 'adjust_bounds' to potentialy change the bounds before assigning the new value and camping it to the existing bounds. (gtk_range_internal_set_value) : used here. #68800. * gtk/gtkmarshalers.list : add VOID:DOUBLE
Diffstat (limited to 'gtk/gtkrange.h')
-rw-r--r--gtk/gtkrange.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h
index 1e2110d8f..f8c0d1e79 100644
--- a/gtk/gtkrange.h
+++ b/gtk/gtkrange.h
@@ -109,6 +109,8 @@ struct _GtkRangeClass
gchar *stepper_detail;
void (* value_changed) (GtkRange *range);
+ void (* adjust_bounds) (GtkRange *range,
+ gdouble new_value);
/* action signals for keybindings */
void (* move_slider) (GtkRange *range,