diff options
author | fvogel <fvogelnew1@free.fr> | 2016-08-13 20:18:54 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-08-13 20:18:54 (GMT) |
commit | 0fbc2c33a10a40e46c9247049d602901b522c674 (patch) | |
tree | b5f39de9e13a621732ed82a6c50388c9d4383b5b | |
parent | f494a10c21ef287a1b1546a351f97c3f15f47f99 (diff) | |
parent | 609dfcd8635e481e324af2a0cc0228caf3b7c046 (diff) | |
download | tk-0fbc2c33a10a40e46c9247049d602901b522c674.zip tk-0fbc2c33a10a40e46c9247049d602901b522c674.tar.gz tk-0fbc2c33a10a40e46c9247049d602901b522c674.tar.bz2 |
Fixed [e8a111970a] - Misleading documentation for menu accelerator option
-rw-r--r-- | doc/menu.n | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -98,8 +98,10 @@ a bitmap, or an image, controlled by the \fB\-label\fR, \fB\-bitmap\fR, and \fB\-image\fR options for the entry. If the \fB\-accelerator\fR option is specified for an entry then a second textual field is displayed to the right of the label. The accelerator -typically describes a keystroke sequence that may be typed in the +typically describes a keystroke sequence that may be used in the application to cause the same result as invoking the menu entry. +This is a display option, it does not actually set the corresponding +binding (which can be achieved using the \fBbind\fR command). The third field is an \fIindicator\fR. The indicator is present only for checkbutton or radiobutton entries. It indicates whether the entry is selected or not, and is displayed to the left of the entry's @@ -537,8 +539,10 @@ This option is not available for separator or tear-off entries. . Specifies a string to display at the right side of the menu entry. Normally describes an accelerator keystroke sequence that may be -typed to invoke the same function as the menu entry. This option -is not available for separator or tear-off entries. +used to invoke the same function as the menu entry. This is a display +option, it does not actually set the corresponding binding (which can +be achieved using the \fBbind\fR command). This option is not available +for separator or tear-off entries. .TP \fB\-background \fIvalue\fR . |