diff options
author | Tim Janik <timj@gtk.org> | 1998-05-03 19:13:24 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-05-03 19:13:24 +0000 |
commit | 5c9af6b5aa97417b6ec52018d30cf11790560110 (patch) | |
tree | 99053372cdbbb6940bc7f970d4337445e591181c /gtk/gtkadjustment.h | |
parent | 19bbe0557f255fe37c19666f434705295a71d750 (diff) | |
download | gtk+-5c9af6b5aa97417b6ec52018d30cf11790560110.tar.gz |
new function to set the adjustments value without causing a current
Sun May 3 19:45:09 1998 Tim Janik <timj@gtk.org>
* gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
to set the adjustments value without causing a current emission of
"value_changed" to be restarted.
* gtk/gtksignal.c: added new functions to retrive the number of
existing emissions for a certain signal.
(gtk_signal_n_emissions): new function.
(gtk_signal_n_emissions_by_name): new function.
Diffstat (limited to 'gtk/gtkadjustment.h')
-rw-r--r-- | gtk/gtkadjustment.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/gtk/gtkadjustment.h b/gtk/gtkadjustment.h index e525fb7052..7a5e5810b5 100644 --- a/gtk/gtkadjustment.h +++ b/gtk/gtkadjustment.h @@ -59,20 +59,22 @@ struct _GtkAdjustmentClass }; -GtkType gtk_adjustment_get_type (void); -GtkObject* gtk_adjustment_new (gfloat value, - gfloat lower, - gfloat upper, - gfloat step_increment, - gfloat page_increment, - gfloat page_size); -void gtk_adjustment_set_value (GtkAdjustment *adjustment, - gfloat value); -void gtk_adjustment_changed (GtkAdjustment *adjustment); -void gtk_adjustment_value_changed (GtkAdjustment *adjustment); -void gtk_adjustment_clamp_page (GtkAdjustment *adjustment, - gfloat lower, - gfloat upper); +GtkType gtk_adjustment_get_type (void); +GtkObject* gtk_adjustment_new (gfloat value, + gfloat lower, + gfloat upper, + gfloat step_increment, + gfloat page_increment, + gfloat page_size); +void gtk_adjustment_changed (GtkAdjustment *adjustment); +void gtk_adjustment_value_changed (GtkAdjustment *adjustment); +void gtk_adjustment_clamp_page (GtkAdjustment *adjustment, + gfloat lower, + gfloat upper); +void gtk_adjustment_set_value (GtkAdjustment *adjustment, + gfloat value); +void gtk_adjustment_assimilate_value (GtkAdjustment *adjustment, + gfloat value); |