Add docs.

2003-05-19  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwidget.c (gtk_widget_class_install_style_property,
	gtk_widget_class_install_style_property_parser): Add docs.
This commit is contained in:
Matthias Clasen 2003-05-19 00:10:22 +00:00 committed by Matthias Clasen
parent 736b40a849
commit 96d4721e00
6 changed files with 41 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-05-19 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_class_install_style_property,
gtk_widget_class_install_style_property_parser): Add docs.
2003-05-17 Matthias Clasen <maclas@gmx.de>
* tests/prop-editor.c: Add navigation for object properties, so

View File

@ -1,3 +1,8 @@
2003-05-19 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_class_install_style_property,
gtk_widget_class_install_style_property_parser): Add docs.
2003-05-17 Matthias Clasen <maclas@gmx.de>
* tests/prop-editor.c: Add navigation for object properties, so

View File

@ -1,3 +1,8 @@
2003-05-19 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_class_install_style_property,
gtk_widget_class_install_style_property_parser): Add docs.
2003-05-17 Matthias Clasen <maclas@gmx.de>
* tests/prop-editor.c: Add navigation for object properties, so

View File

@ -1,3 +1,8 @@
2003-05-19 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_class_install_style_property,
gtk_widget_class_install_style_property_parser): Add docs.
2003-05-17 Matthias Clasen <maclas@gmx.de>
* tests/prop-editor.c: Add navigation for object properties, so

View File

@ -1,3 +1,8 @@
2003-05-19 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_class_install_style_property,
gtk_widget_class_install_style_property_parser): Add docs.
2003-05-17 Matthias Clasen <maclas@gmx.de>
* tests/prop-editor.c: Add navigation for object properties, so

View File

@ -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)