diff options
author | sbron <sbron@tclcode.com> | 2023-03-16 21:17:12 (GMT) |
---|---|---|
committer | sbron <sbron@tclcode.com> | 2023-03-16 21:17:12 (GMT) |
commit | 3354d237c04d40a2472d1f32d510f253935d461a (patch) | |
tree | 461989285813076dd0aaf3c2b09b7652211d69e2 /doc | |
parent | 600d5c20d3d84b09c4f2c229df20a61c909681b7 (diff) | |
download | tk-3354d237c04d40a2472d1f32d510f253935d461a.zip tk-3354d237c04d40a2472d1f32d510f253935d461a.tar.gz tk-3354d237c04d40a2472d1f32d510f253935d461a.tar.bz2 |
Update the description of the menu entry index of the form @index to reflect
how it actually works.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/menu.n | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -343,13 +343,12 @@ nothing to happen in the widget command. Same as \fB{}\fR This form may not be abbreviated. .TP 12 -\fB@\fInumber\fR +\fB@\fIx\fB,\fIy\fR . -In this form, \fInumber\fR is treated as a y-coordinate in the -menu's window; the entry closest to that y-coordinate is used. -For example, -.QW \fB@0\fR -indicates the top-most entry in the window. +Indicates the entry that covers the point in the menu's window specified +by \fIx\fR and \fIy\fR (in pixel coordinates). +If no entry covers that point, then this form is equivalent to \fB{}\fR. +If only a single number is specified, it is treated as the y-coordinate. .TP 12 \fInumber\fR . |