diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-05-22 12:39:54 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-05-22 12:39:54 +0000 |
commit | ad4a5a4aea0bcec201990bdf1d16bf3af3dc5683 (patch) | |
tree | 941e7f9600921f72f3df91f5df94f881f95907c0 /gtk/gtkwidget.c | |
parent | d5a91ad89a40f524bbe62314474f2e0182419527 (diff) | |
download | gtk+-ad4a5a4aea0bcec201990bdf1d16bf3af3dc5683.tar.gz |
Add docs for new style properties. (#342535, Mart Raudsepp)
2006-05-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Add docs
for new style properties. (#342535, Mart Raudsepp)
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r-- | gtk/gtkwidget.c | 67 |
1 files changed, 66 insertions, 1 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 66073b0b63..8227046689 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1481,6 +1481,15 @@ gtk_widget_class_init (GtkWidgetClass *klass) P_("Aspect ratio with which to draw insertion cursor"), 0.0, 1.0, 0.04, GTK_PARAM_READABLE)); + +/** + * GtkWidget:draw-border: + * + * The "draw-border" property defines the size of areas outside + * the widget's allocation to draw. + * + * Since: 2.8 + */ gtk_widget_class_install_style_property (klass, g_param_spec_boxed ("draw-border", P_("Draw Border"), @@ -1488,6 +1497,13 @@ gtk_widget_class_init (GtkWidgetClass *klass) GTK_TYPE_BORDER, GTK_PARAM_READABLE)); +/** + * GtkWidget:link-color: + * + * The "link-color" property defines the color of unvisited links. + * + * Since: 2.10 + */ gtk_widget_class_install_style_property (klass, g_param_spec_boxed ("link-color", P_("Unvisited Link Color"), @@ -1495,6 +1511,13 @@ gtk_widget_class_init (GtkWidgetClass *klass) GDK_TYPE_COLOR, GTK_PARAM_READABLE)); +/** + * GtkWidget:visited-link-color: + * + * The "visited-link-color" property defines the color of visited links. + * + * Since: 2.10 + */ gtk_widget_class_install_style_property (klass, g_param_spec_boxed ("visited-link-color", P_("Visited Link Color"), @@ -1502,6 +1525,14 @@ gtk_widget_class_init (GtkWidgetClass *klass) GDK_TYPE_COLOR, GTK_PARAM_READABLE)); +/** + * GtkWidget:wide-separators: + * + * The "wide-separators" property defines whether separators have + * configurable width and should be drawn using a box instead of a line. + * + * Since: 2.10 + */ gtk_widget_class_install_style_property (klass, g_param_spec_boolean ("wide-separators", P_("Wide Separators"), @@ -1509,6 +1540,14 @@ gtk_widget_class_init (GtkWidgetClass *klass) FALSE, GTK_PARAM_READABLE)); +/** + * GtkWidget:separator-width: + * + * The "separator-width" property defines the width of separators. + * This property only takes effect if "wide-separators" is %TRUE. + * + * Since: 2.10 + */ gtk_widget_class_install_style_property (klass, g_param_spec_int ("separator-width", P_("Separator Width"), @@ -1516,18 +1555,44 @@ gtk_widget_class_init (GtkWidgetClass *klass) 0, G_MAXINT, 0, GTK_PARAM_READABLE)); +/** + * GtkWidget:separator-height: + * + * The "separator-height" property defines the height of separators. + * This property only takes effect if "wide-separators" is %TRUE. + * + * Since: 2.10 + */ gtk_widget_class_install_style_property (klass, g_param_spec_int ("separator-height", P_("Separator Height"), - P_("The height of separators if wide-separators is TRUE"), + P_("The height of separators if \"wide-separators\" is TRUE"), 0, G_MAXINT, 0, GTK_PARAM_READABLE)); + +/** + * GtkWidget:scroll-arrow-hlength: + * + * The "scroll-arrow-hlength" property defines the length of + * horizontal scroll arrows. + * + * Since: 2.10 + */ gtk_widget_class_install_style_property (klass, g_param_spec_int ("scroll-arrow-hlength", P_("Horizontal Scroll Arrow Length"), P_("The length of horizontal scroll arrows"), 1, G_MAXINT, 16, GTK_PARAM_READABLE)); + +/** + * GtkWidget:scroll-arrow-vlength: + * + * The "scroll-arrow-vlength" property defines the length of + * vertical scroll arrows. + * + * Since: 2.10 + */ gtk_widget_class_install_style_property (klass, g_param_spec_int ("scroll-arrow-vlength", P_("Vertical Scroll Arrow Length"), |