]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkspinbutton.h
added value_changed signal which proxies for the adjustment. Cleaned
[~andy/gtk] / gtk / gtkspinbutton.h
index 72ddf47e9b5ce442b58a0a592a2b81c70e2f3a1a..3d1561f444a714e8c3fe86af0d891d8a70837020 100644 (file)
@@ -106,6 +106,7 @@ struct _GtkSpinButtonClass
   gint (*input)  (GtkSpinButton *spin_button,
                  gdouble       *new_value);
   gint (*output) (GtkSpinButton *spin_button);
+  void (*value_changed) (GtkSpinButton *spin_button);
 };
 
 
@@ -120,6 +121,10 @@ GtkWidget* gtk_spin_button_new                (GtkAdjustment  *adjustment,
                                                    gdouble         climb_rate,
                                                    guint           digits);
 
+GtkWidget*     gtk_spin_button_new_with_range     (gdouble  min,
+                                                   gdouble  max,
+                                                   gdouble  step);
+
 void           gtk_spin_button_set_adjustment     (GtkSpinButton  *spin_button,
                                                    GtkAdjustment  *adjustment);
 
@@ -128,6 +133,14 @@ GtkAdjustment*     gtk_spin_button_get_adjustment     (GtkSpinButton  *spin_button);
 void           gtk_spin_button_set_digits         (GtkSpinButton  *spin_button,
                                                    guint           digits);
 
+void           gtk_spin_button_set_increments     (GtkSpinButton  *spin_button,
+                                                   gdouble         step,
+                                                   gdouble         page);
+
+void           gtk_spin_button_set_range          (GtkSpinButton  *spin_button,
+                                                   gdouble         min,
+                                                   gdouble         max);
+
 gdouble                gtk_spin_button_get_value_as_float (GtkSpinButton  *spin_button);
 
 gint           gtk_spin_button_get_value_as_int   (GtkSpinButton  *spin_button);