[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/xresources.texi
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/man/xresources.texi |
Date: |
Tue, 04 Feb 2003 09:54:01 -0500 |
Index: emacs/man/xresources.texi
diff -c emacs/man/xresources.texi:1.14 emacs/man/xresources.texi:1.15
*** emacs/man/xresources.texi:1.14 Sun Jan 19 16:50:01 2003
--- emacs/man/xresources.texi Tue Feb 4 09:53:29 2003
***************
*** 458,464 ****
@noindent
(This should be one long line.)
!
It's impossible to specify a resource for all the menu-bar items
without also specifying it for the submenus as well. So if you want the
submenu items to look different from the menu bar itself, you must ask
--- 458,464 ----
@noindent
(This should be one long line.)
!
It's impossible to specify a resource for all the menu-bar items
without also specifying it for the submenus as well. So if you want the
submenu items to look different from the menu bar itself, you must ask
***************
*** 533,539 ****
If the Emacs installed at your site was built to use the GTK widget set,
then the menu bar, scroll bar and the dialogs can be customized with
the standard GTK @file{~/.gtkrc-2.0} file or with the Emacs specific
! @file{~/.emacs.d/gtkrc} file; note that these files are only for
customizing specific GTK widget features. To customize Emacs font,
background, faces etc., use the normal X resources, see @ref{Resources}.
--- 533,539 ----
If the Emacs installed at your site was built to use the GTK widget set,
then the menu bar, scroll bar and the dialogs can be customized with
the standard GTK @file{~/.gtkrc-2.0} file or with the Emacs specific
! @file{~/.emacs.d/gtkrc} file; note that these files are only for
customizing specific GTK widget features. To customize Emacs font,
background, faces etc., use the normal X resources, see @ref{Resources}.
***************
*** 568,574 ****
If GTK at your site is installed under @var{prefix},
the resource file syntax is fully described in the GTK API
! document
@address@hidden/share/gtk-doc/html/gtk/gtk-resource-files.html}.
@var{prefix} is usually @file{/usr} or @file{/usr/local}.
You can find the same document online at
--- 568,574 ----
If GTK at your site is installed under @var{prefix},
the resource file syntax is fully described in the GTK API
! document
@address@hidden/share/gtk-doc/html/gtk/gtk-resource-files.html}.
@var{prefix} is usually @file{/usr} or @file{/usr/local}.
You can find the same document online at
***************
*** 586,592 ****
@appendixsubsec GTK widget names
@cindex GTK widget names
! Widgets are specified by widget class or by widget name.
The widget class is the type of the widget, for example @code{GtkMenuBar}.
The widget name is the name given to a specific widget within a program.
A widget always have a class but it is not mandatory to give a name to
--- 586,592 ----
@appendixsubsec GTK widget names
@cindex GTK widget names
! Widgets are specified by widget class or by widget name.
The widget class is the type of the widget, for example @code{GtkMenuBar}.
The widget name is the name given to a specific widget within a program.
A widget always have a class but it is not mandatory to give a name to
***************
*** 649,656 ****
@cindex GTK widget classes
In Emacs the top level widget for a frame is a @code{GtkWindow} that
! contains a @code{GtkVBox}. The @code{GtkVBox} contains the
! @code{GtkMenuBar} and a @code{GtkFixed} widget.
The vertical scroll bars, @code{GtkVScrollbar},
are contained in the @code{GtkFixed} widget.
The text you write in Emacs is drawn in the @code{GtkFixed} widget.
--- 649,656 ----
@cindex GTK widget classes
In Emacs the top level widget for a frame is a @code{GtkWindow} that
! contains a @code{GtkVBox}. The @code{GtkVBox} contains the
! @code{GtkMenuBar} and a @code{GtkFixed} widget.
The vertical scroll bars, @code{GtkVScrollbar},
are contained in the @code{GtkFixed} widget.
The text you write in Emacs is drawn in the @code{GtkFixed} widget.
***************
*** 669,675 ****
For the scroll bar, the absolute class name is:
@smallexample
! widget_class
"GtkWindow.GtkVBox.GtkFixed.GtkVScrollbar"
style "my_style"
@end smallexample
--- 669,675 ----
For the scroll bar, the absolute class name is:
@smallexample
! widget_class
"GtkWindow.GtkVBox.GtkFixed.GtkVScrollbar"
style "my_style"
@end smallexample
***************
*** 705,711 ****
@end smallexample
GTK absolute names are quite strange when it comes to menus
! and dialogs. The names do not start with @samp{Emacs}, as they are
free-standing windows and not contained (in the GTK sense) by the
Emacs GtkWindow. To customize the dialogs and menus, use wildcards like this:
--- 705,711 ----
@end smallexample
GTK absolute names are quite strange when it comes to menus
! and dialogs. The names do not start with @samp{Emacs}, as they are
free-standing windows and not contained (in the GTK sense) by the
Emacs GtkWindow. To customize the dialogs and menus, use wildcards like this:
***************
*** 720,726 ****
affects Emacs but leaves other applications unaffected.
For example, the drop down menu in the file dialog can not
be customized by any absolute widget name, only by an absolute
! class name. This is so because the widgets in the drop down menu does not
have names and the menu is not contained in the Emacs GtkWindow.
To have all menus in Emacs look the same, use this in @file{~/.emacs.d/gtkrc}:
--- 720,726 ----
affects Emacs but leaves other applications unaffected.
For example, the drop down menu in the file dialog can not
be customized by any absolute widget name, only by an absolute
! class name. This is so because the widgets in the drop down menu does not
have names and the menu is not contained in the Emacs GtkWindow.
To have all menus in Emacs look the same, use this in @file{~/.emacs.d/gtkrc}:
***************
*** 766,772 ****
bg_pixmap[NORMAL] = "background.xpm"
bg_pixmap[INSENSITIVE] = "background.xpm"
bg_pixmap[ACTIVE] = "background.xpm"
! bg_pixmap[PRELIGHT] = "<none>"
@}
--- 766,772 ----
bg_pixmap[NORMAL] = "background.xpm"
bg_pixmap[INSENSITIVE] = "background.xpm"
bg_pixmap[ACTIVE] = "background.xpm"
! bg_pixmap[PRELIGHT] = "<none>"
@}
***************
*** 788,794 ****
This is the default state for widgets.
@item ACTIVE
This is the state for a widget that is ready to do something. It is
! also for the trough of a scroll bar, i.e. @code{bg[ACTIVE] = "red"}
sets the scroll bar trough to red. Buttons that have been pressed but
not released yet (``armed'') are in this state.
@item PRELIGHT
--- 788,794 ----
This is the default state for widgets.
@item ACTIVE
This is the state for a widget that is ready to do something. It is
! also for the trough of a scroll bar, i.e. @code{bg[ACTIVE] = "red"}
sets the scroll bar trough to red. Buttons that have been pressed but
not released yet (``armed'') are in this state.
@item PRELIGHT
***************
*** 817,823 ****
@item address@hidden = @var{color}
This is the background color for editable text.
! In Emacs, this color is used for the background of the text fields in the
file dialog.
@item address@hidden = "@var{pixmap}"
--- 817,823 ----
@item address@hidden = @var{color}
This is the background color for editable text.
! In Emacs, this color is used for the background of the text fields in the
file dialog.
@item address@hidden = "@var{pixmap}"
***************
*** 844,850 ****
scroll bar. For editable text, use @code{text}.
@item address@hidden = @var{color}
! This is the color for editable text. In Emacs, this color is used for the
text fields in the file dialog.
@item font_name = "@var{font}"
--- 844,850 ----
scroll bar. For editable text, use @code{text}.
@item address@hidden = @var{color}
! This is the color for editable text. In Emacs, this color is used for the
text fields in the file dialog.
@item font_name = "@var{font}"
***************
*** 861,867 ****
@noindent
A hexadecimal form is written within double quotes. There are four forms,
! @code{#rrrrggggbbbb}, @code{#rrrgggbbb},
@code{#rrggbb}, or @code{#rgb}. In each of these r, g and b are hex digits.
@noindent
--- 861,867 ----
@noindent
A hexadecimal form is written within double quotes. There are four forms,
! @code{#rrrrggggbbbb}, @code{#rrrgggbbb},
@code{#rrggbb}, or @code{#rgb}. In each of these r, g and b are hex digits.
@noindent
- [Emacs-diffs] Changes to emacs/man/xresources.texi,
Juanma Barranquero <=