summaryrefslogtreecommitdiff
path: root/docs/styles.txt
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1998-05-01 16:15:39 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-05-01 16:15:39 +0000
commitde210bbdec0d4ad614785638a2da00e091a61118 (patch)
tree596e18b58d557d7749e8fae8fa6c4562312c208e /docs/styles.txt
parent61554862e6620b7355df62f6842133c35010ad0d (diff)
downloadgtk+-de210bbdec0d4ad614785638a2da00e091a61118.tar.gz
New function to reset the RC styles for a heirarchy
Fri May 1 12:06:43 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New function to reset the RC styles for a heirarchy Clear the window background if necessary in gtk_window_style_set. * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which rereads all previously read RC files. * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels(). (Should it just be called gdk_get_toplevels?) * gtk/testgtk.c: New test to reload RC files.
Diffstat (limited to 'docs/styles.txt')
-rw-r--r--docs/styles.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/styles.txt b/docs/styles.txt
index 051dc4b107..e66cafd19a 100644
--- a/docs/styles.txt
+++ b/docs/styles.txt
@@ -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().