]> Pileus Git - ~andy/gtk/blobdiff - docs/styles.txt
Avoid uninitialized use of &parent_iter. (#145007, John Finlay)
[~andy/gtk] / docs / styles.txt
index 051dc4b107544774bad0efbaf763182e82ff22b7..a3f31c9456d131427fd97d926f07c75d599cec09 100644 (file)
@@ -25,13 +25,17 @@ gtk_widget_set_rc_style ()
   restore the default style otherwise.
   This will override a previously set user style or rc style.
 
+gtk_widget_reset_rc_styles ()
+  Descends through a widget heirarchy and sets the rc style
+  on all widgets that don't have a user style set.
+
 gtk_widget_restore_default_style ()
   Reset the widget's style to the default style, this is only usefull if
   the widgets default style had been saved by previous calls to
   gtk_widget_set_style() or gtk_widget_set_rc_style().
 
 gtk_widget_ensure_style ()
-  Ensure taht the widget either has a user style set, or an rc lookup
+  Ensure that the widget either has a user style set, or an rc lookup
   has been performed.
 
 gtk_rc_get_style ()
@@ -55,7 +59,7 @@ gtk_widget_set_parent ()
   that do not have a user style set.
 
 gtk_style_copy ()
-  This function can be used to copy a widgets style.
+  This function can be used to copy a widget's style.
   The style can subsequntly be changed (e.g., by modifications to the
   red/green/blue values of a certain color) and then be applied to the
   widget via gtk_widget_set_style().
@@ -84,13 +88,13 @@ GtkWidget::style_set
 Flag indications:
 
 !GTK_RC_STYLE && !GTK_USER_STYLE:
-  The widget has it's default style set, no rc lookup has been
+  The widget has its default style set, no rc lookup has been
   performed, the widget has not been size requested yet and is
   therefore not yet realized.
 
 GTK_USER_STYLE:
   GTK_RC_STYLE is not set.
-  The widget has a user style assigned, and it's default style has been
+  The widget has a user style assigned, and its default style has been
   saved.
 
 GTK_RC_STYLE: