changeset 109582:9c41ffa303a2

Add doc and NEWS for tool-bar-position. * doc/emacs/frames.texi (Tool Bars): Add doc for tool-bar-position. * doc/lispref/frames.texi (Layout Parameters): Add doc for tool-bar-position.
author Jan D. <jan.h.d@swipnet.se>
date Thu, 29 Jul 2010 19:10:41 +0200
parents 06384b3caebf
children 09fcb3817c1e
files doc/emacs/ChangeLog doc/emacs/frames.texi doc/lispref/ChangeLog doc/lispref/frames.texi etc/NEWS
diffstat 5 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/ChangeLog	Thu Jul 29 18:49:59 2010 +0200
+++ b/doc/emacs/ChangeLog	Thu Jul 29 19:10:41 2010 +0200
@@ -1,3 +1,7 @@
+2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* frames.texi (Tool Bars): Add doc for tool-bar-position.
+
 2010-06-23  Glenn Morris  <rgm@gnu.org>
 
 	* abbrevs.texi, basic.texi, buffers.texi, building.texi, calendar.texi:
--- a/doc/emacs/frames.texi	Thu Jul 29 18:49:59 2010 +0200
+++ b/doc/emacs/frames.texi	Thu Jul 29 19:10:41 2010 +0200
@@ -1270,6 +1270,12 @@
 the same as for the desktop in the Gnome case.  If no default is found,
 the tool bar uses just images.
 
+@cindex Tool Bar position
+  You can also control the placement of the tool bar for the GTK+ tool bar
+with the frame parameter @code{tool-bar-position}.
+For a detailed description of frame parameters and customization,
+see @ref{Frame Parameters,,, elisp, The Emacs Lisp Reference Manual}.
+
 @node Dialog Boxes
 @section Using Dialog Boxes
 @cindex dialog boxes
--- a/doc/lispref/ChangeLog	Thu Jul 29 18:49:59 2010 +0200
+++ b/doc/lispref/ChangeLog	Thu Jul 29 19:10:41 2010 +0200
@@ -1,3 +1,7 @@
+2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* frames.texi (Layout Parameters): Add doc for tool-bar-position.
+
 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
 
 	* processes.texi (Process Information): Explain process property
--- a/doc/lispref/frames.texi	Thu Jul 29 18:49:59 2010 +0200
+++ b/doc/lispref/frames.texi	Thu Jul 29 19:10:41 2010 +0200
@@ -677,6 +677,11 @@
 means don't display a tool bar.  (GTK and Nextstep allow at most one
 tool bar line; they treat larger values as 1.)
 
+@item tool-bar-position
+The position of the tool bar.  Currently only for the GTK tool bar.
+Value can be one of @code{top}, @code{bottom} @code{left}, @code{right}.
+The default is  @code{top}.
+
 @item line-spacing
 Additional space to leave below each text line, in pixels (a positive
 integer).  @xref{Line Height}, for more information.
--- a/etc/NEWS	Thu Jul 29 18:49:59 2010 +0200
+++ b/etc/NEWS	Thu Jul 29 19:10:41 2010 +0200
@@ -99,6 +99,11 @@
 Customize `tool-bar-style' to choose style.  On a Gnome desktop, the default
 is taken from the desktop settings.
 
+** GTK tool bars can be placed on the left/right or top/bottom of the frame.
+The frame-parameter tool-bar-position controls this.  It takes the values
+top, left, tight or bottom.  The Options => Show/Hide menu has entries
+for this.
+
 ** Lucid menus and dialogs can display antialiased fonts if Emacs is built
 with Xft.