[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/xresources.texi
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/man/xresources.texi |
Date: |
Sun, 12 Oct 2003 14:22:43 -0400 |
Index: emacs/man/xresources.texi
diff -c emacs/man/xresources.texi:1.21 emacs/man/xresources.texi:1.22
*** emacs/man/xresources.texi:1.21 Mon Sep 29 11:53:11 2003
--- emacs/man/xresources.texi Sun Oct 12 14:22:42 2003
***************
*** 559,565 ****
customizing specific GTK widget features. To customize Emacs font,
background, faces etc., use the normal X resources, see @ref{Resources}.
! In these files you first defines a style and then how to apply that style
to widgets (@pxref{GTK widget names}). Here is an example of how to
change the font for Emacs menus:
--- 559,572 ----
customizing specific GTK widget features. To customize Emacs font,
background, faces etc., use the normal X resources, see @ref{Resources}.
! NOTE: Some themes does not allow cutomizations and the mechanisms
! described here may not work for those themes. The theme may ignore the
! attempt to customization, or things are just not drawn correctly.
! Also, it is recommended that you use @file{~/.emacs.d/gtkrc} for
! customizations, @file{~/.gtkrc-2.0} seems to be ignored when running
! GConf with Gnome.
!
! In these files you first defines a style and then how to apply that style
to widgets (@pxref{GTK widget names}). Here is an example of how to
change the font for Emacs menus:
***************
*** 571,576 ****
--- 578,598 ----
@}
widget "*emacs-menuitem*" style "menufont"
+
+ @end smallexample
+
+ Here is a more elaborate example, showing how to change the parts of
+ the scroll bar:
+ @smallexample
+ style "scroll"
+ @{
+ fg[NORMAL] = "red"@ @ @ @ @ # The arrow color.
+ bg[NORMAL] = "yellow"@ @ # The thumb and background around the arrow.
+ bg[ACTIVE] = "blue"@ @ @ @ # The trough color.
+ bg[PRELIGHT] = "white"@ # The thumb color when the mouse is over it.
+ @}
+
+ widget "*verticalScrollBar*" style "scroll"
@end smallexample
- [Emacs-diffs] Changes to emacs/man/xresources.texi,
Jan Djärv <=