From: Matthias Clasen Date: Mon, 19 May 2003 00:10:22 +0000 (+0000) Subject: Add docs. X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=96d4721e00f3117dae4794e4fe7b23b0acb145db;p=~andy%2Fgtk Add docs. 2003-05-19 Matthias Clasen * gtk/gtkwidget.c (gtk_widget_class_install_style_property, gtk_widget_class_install_style_property_parser): Add docs. --- diff --git a/ChangeLog b/ChangeLog index 701852ed7..57c80807d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-05-19 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property, + gtk_widget_class_install_style_property_parser): Add docs. + 2003-05-17 Matthias Clasen * tests/prop-editor.c: Add navigation for object properties, so diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 701852ed7..57c80807d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2003-05-19 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property, + gtk_widget_class_install_style_property_parser): Add docs. + 2003-05-17 Matthias Clasen * tests/prop-editor.c: Add navigation for object properties, so diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 701852ed7..57c80807d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2003-05-19 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property, + gtk_widget_class_install_style_property_parser): Add docs. + 2003-05-17 Matthias Clasen * tests/prop-editor.c: Add navigation for object properties, so diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 701852ed7..57c80807d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2003-05-19 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property, + gtk_widget_class_install_style_property_parser): Add docs. + 2003-05-17 Matthias Clasen * tests/prop-editor.c: Add navigation for object properties, so diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 701852ed7..57c80807d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2003-05-19 Matthias Clasen + + * gtk/gtkwidget.c (gtk_widget_class_install_style_property, + gtk_widget_class_install_style_property_parser): Add docs. + 2003-05-17 Matthias Clasen * tests/prop-editor.c: Add navigation for object properties, so diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 77e046e2a..caefe40ed 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -6384,6 +6384,14 @@ gtk_widget_unref (GtkWidget *widget) /* style properties */ +/** + * gtk_widget_class_install_style_property_parser: + * @class: a #GtkWidgetClass + * @pspec: the #GParamSpec for the style property + * @parser: the parser for the style property + * + * Installs a style property on a widget class. + **/ void gtk_widget_class_install_style_property_parser (GtkWidgetClass *class, GParamSpec *pspec, @@ -6408,6 +6416,14 @@ gtk_widget_class_install_style_property_parser (GtkWidgetClass *class, g_param_spec_pool_insert (style_property_spec_pool, pspec, G_OBJECT_CLASS_TYPE (class)); } +/** + * gtk_widget_class_install_style_property: + * @class: a #GtkWidgetClass + * @pspec: the #GParamSpec for the property + * + * Installs a style property on a widget class. The parser for the + * style property is determined by the value type of @pspec. + **/ void gtk_widget_class_install_style_property (GtkWidgetClass *class, GParamSpec *pspec)