summaryrefslogtreecommitdiff
path: root/gtk/gtkscale.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-05-25 18:55:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-05-25 18:55:15 -0400
commitb4e2ff3da32ad2b9670ecf33805eb9993824fe0b (patch)
treededc3f6b06fe6af1ddc1a92dc4b0956a40d6feec /gtk/gtkscale.h
parentbd4609b14042a91646cd9057764eecfbc6faf42b (diff)
downloadgtk+-b4e2ff3da32ad2b9670ecf33805eb9993824fe0b.tar.gz
Make orientable base classes instantiable
This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox, GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these types instantiable.
Diffstat (limited to 'gtk/gtkscale.h')
-rw-r--r--gtk/gtkscale.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkscale.h b/gtk/gtkscale.h
index 204aa79891..c98b33a139 100644
--- a/gtk/gtkscale.h
+++ b/gtk/gtkscale.h
@@ -77,6 +77,12 @@ struct _GtkScaleClass
};
GType gtk_scale_get_type (void) G_GNUC_CONST;
+GtkWidget * gtk_scale_new (GtkOrientation orientation,
+ GtkAdjustment *adjustment);
+GtkWidget * gtk_scale_new_with_range (GtkOrientation orientation,
+ gdouble min,
+ gdouble max,
+ gdouble step);
void gtk_scale_set_digits (GtkScale *scale,
gint digits);
gint gtk_scale_get_digits (GtkScale *scale);