Adding missing gtk-doc annotations.

GtkProgressBar:show-text, GtkScrolledWindow:min-content-width/height
are new properties in 3.0.
This commit is contained in:
Tristan Van Berkom 2011-01-08 18:46:46 +09:00
parent 094d4c81be
commit 1ff8df1e18
2 changed files with 25 additions and 0 deletions

View File

@ -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",

View File

@ -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",