aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2003-10-12 18:22:42 +0000
committerJan Djärv2003-10-12 18:22:42 +0000
commit583a618e46f4dfd8d987bf3158a46b0362505889 (patch)
tree42aae6cb36e4f98e62a73e49d6fc7cbbf77d16e4
parent8937a0e13a51d8ec779eacabb524f6bffc0c7523 (diff)
downloademacs-583a618e46f4dfd8d987bf3158a46b0362505889.tar.gz
emacs-583a618e46f4dfd8d987bf3158a46b0362505889.zip
* xresources.texi (GTK resources): Added a note that some themes
disallow customizations. Added scroll theme example.
-rw-r--r--man/ChangeLog5
-rw-r--r--man/xresources.texi24
2 files changed, 28 insertions, 1 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 28968d0d411..c8d2d18b397 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,8 @@
12003-10-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * xresources.texi (GTK resources): Added a note that some themes
4 disallow customizations. Added scroll theme example.
5
12003-10-08 Nick Roberts <nick@nick.uklinux.net> 62003-10-08 Nick Roberts <nick@nick.uklinux.net>
2 7
3 * speedbar.texi: Remove paragraph for GUD that is no longer true. 8 * speedbar.texi: Remove paragraph for GUD that is no longer true.
diff --git a/man/xresources.texi b/man/xresources.texi
index 4c4e840e776..3141aee2d34 100644
--- a/man/xresources.texi
+++ b/man/xresources.texi
@@ -559,7 +559,14 @@ the standard GTK @file{~/.gtkrc-2.0} file or with the Emacs specific
559customizing specific GTK widget features. To customize Emacs font, 559customizing specific GTK widget features. To customize Emacs font,
560background, faces etc., use the normal X resources, see @ref{Resources}. 560background, faces etc., use the normal X resources, see @ref{Resources}.
561 561
562In these files you first defines a style and then how to apply that style 562 NOTE: Some themes does not allow cutomizations and the mechanisms
563described here may not work for those themes. The theme may ignore the
564attempt to customization, or things are just not drawn correctly.
565Also, it is recommended that you use @file{~/.emacs.d/gtkrc} for
566customizations, @file{~/.gtkrc-2.0} seems to be ignored when running
567GConf with Gnome.
568
569 In these files you first defines a style and then how to apply that style
563to widgets (@pxref{GTK widget names}). Here is an example of how to 570to widgets (@pxref{GTK widget names}). Here is an example of how to
564change the font for Emacs menus: 571change the font for Emacs menus:
565 572
@@ -574,6 +581,21 @@ widget "*emacs-menuitem*" style "menufont"
574 581
575@end smallexample 582@end smallexample
576 583
584 Here is a more elaborate example, showing how to change the parts of
585the scroll bar:
586@smallexample
587style "scroll"
588@{
589 fg[NORMAL] = "red"@ @ @ @ @ # The arrow color.
590 bg[NORMAL] = "yellow"@ @ # The thumb and background around the arrow.
591 bg[ACTIVE] = "blue"@ @ @ @ # The trough color.
592 bg[PRELIGHT] = "white"@ # The thumb color when the mouse is over it.
593@}
594
595widget "*verticalScrollBar*" style "scroll"
596
597@end smallexample
598
577 There are some things you can set without using any style or widget name, 599 There are some things you can set without using any style or widget name,
578which affect GTK as a whole. Most of these are poorly documented, but can 600which affect GTK as a whole. Most of these are poorly documented, but can
579be found in the `Properties' section of the documentation page for 601be found in the `Properties' section of the documentation page for