Commit 1ff8df1e authored by Tristan Van Berkom's avatar Tristan Van Berkom

Adding missing gtk-doc annotations.

GtkProgressBar:show-text, GtkScrolledWindow:min-content-width/height
are new properties in 3.0.
parent 094d4c81
......@@ -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",
......
......@@ -378,6 +378,13 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
DEFAULT_SCROLLBAR_SPACING,
GTK_PARAM_READABLE));
/**
* GtkScrolledWindow:min-content-width:
*
* The minimum content width of @scrolled_window, or -1 if not set.
*
* Since: 3.0
*/
g_object_class_install_property (gobject_class,
PROP_MIN_CONTENT_WIDTH,
g_param_spec_int ("min-content-width",
......@@ -385,6 +392,14 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
P_("The minimum width that the scrolled window will allocate to its content"),
-1, G_MAXINT, -1,
GTK_PARAM_READWRITE));
/**
* GtkScrolledWindow:min-content-height:
*
* The minimum content height of @scrolled_window, or -1 if not set.
*
* Since: 3.0
*/
g_object_class_install_property (gobject_class,
PROP_MIN_CONTENT_HEIGHT,
g_param_spec_int ("min-content-height",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment