Commit f7c9199f authored by Glenn Morris's avatar Glenn Morris
Browse files

* doc/lispref/keymaps.texi (Tool Bar): Mention separators.

* etc/NEWS: Related markup.
parent b6ea20f3
2012-02-06 Glenn Morris <rgm@gnu.org> 2012-02-06 Glenn Morris <rgm@gnu.org>
* keymaps.texi (Tool Bar): Mention separators.
* modes.texi (Running Hooks): Mention run-hook-wrapped. * modes.texi (Running Hooks): Mention run-hook-wrapped.
* control.texi (Handling Errors): * control.texi (Handling Errors):
......
...@@ -2658,6 +2658,15 @@ The @code{:rtl} property specifies an alternative image to use for ...@@ -2658,6 +2658,15 @@ The @code{:rtl} property specifies an alternative image to use for
right-to-left languages. Only the Gtk+ version of Emacs supports this right-to-left languages. Only the Gtk+ version of Emacs supports this
at present. at present.
Like the menu bar, the tool bar can display separators (@pxref{Menu
Separators}). Tool bar separators are vertical rather than
horizontal, though, and only a single style is supported. Separators
are represented in the tool bar keymap in the same way as for the
menu-bar, i.e. using a @code{(menu-item "--"}) entry. The Gtk+ and
Nextstep tool bars render separators natively, otherwise Emacs selects
a separator image that is appropriate for the display. Note that tool
bar separators do not support any properties, such as @code{:visible}.
The default tool bar is defined so that items specific to editing do not The default tool bar is defined so that items specific to editing do not
appear for major modes whose command symbol has a @code{mode-class} appear for major modes whose command symbol has a @code{mode-class}
property of @code{special} (@pxref{Major Mode Conventions}). Major property of @code{special} (@pxref{Major Mode Conventions}). Major
......
...@@ -1335,6 +1335,7 @@ argument is supplied (see Trash changes, above). ...@@ -1335,6 +1335,7 @@ argument is supplied (see Trash changes, above).
or RGB triplet, instead of signaling an error if the user provides or RGB triplet, instead of signaling an error if the user provides
invalid input. invalid input.
+++
** Tool-bars can display separators. ** Tool-bars can display separators.
Tool-bar separators are handled like menu separators in menu-bar maps, Tool-bar separators are handled like menu separators in menu-bar maps,
i.e. via menu entries of the form `(menu-item "--")'. i.e. via menu entries of the form `(menu-item "--")'.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment