summaryrefslogtreecommitdiff
path: root/gtk/gtkprogressbar.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2011-01-08 18:46:46 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2011-01-08 18:46:46 +0900
commit1ff8df1e18ba16a4668b3c1c4bd23b219bb0c669 (patch)
tree50471b232418390a6dfada191db65863995dfe45 /gtk/gtkprogressbar.c
parent094d4c81befb92082df8b6bfed5121cd7bc1c74d (diff)
downloadgtk+-1ff8df1e18ba16a4668b3c1c4bd23b219bb0c669.tar.gz
Adding missing gtk-doc annotations.
GtkProgressBar:show-text, GtkScrolledWindow:min-content-width/height are new properties in 3.0.
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r--gtk/gtkprogressbar.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 1abad28147..3cc366c6a2 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -179,6 +179,16 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
NULL,
GTK_PARAM_READWRITE));
+ /**
+ * GtkProgressBar:show_text:
+ *
+ * Sets whether the progressbar will show text superimposed
+ * over the bar. The shown text is either the value of
+ * the #GtkProgressBar::text property or, if that is %NULL,
+ * the #GtkProgressBar::fraction value, as a percentage.
+ *
+ * Since: 3.0
+ */
g_object_class_install_property (gobject_class,
PROP_SHOW_TEXT,
g_param_spec_boolean ("show-text",