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
This commit is contained in:
Jody Goldberg
2002-02-15 05:53:08 +00:00
committed by Jody Goldberg
parent 27455dcd90
commit f0ed36b324
10 changed files with 73 additions and 1 deletions

View File

@ -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,