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 ()
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().
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: