diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-30 09:51:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-30 09:51:20 (GMT) |
commit | 095a7f901b2e7dc97e633585be8d66a47c7fd9d1 (patch) | |
tree | e6149ea6a7aaa1622567ec1095d7c32c1953dacf /doc | |
parent | c06bf5114ad3e2093fb8f237c50849deda1db8c7 (diff) | |
parent | 818721f59ac0739b02c113eec623a48669b85a1b (diff) | |
download | tk-095a7f901b2e7dc97e633585be8d66a47c7fd9d1.zip tk-095a7f901b2e7dc97e633585be8d66a47c7fd9d1.tar.gz tk-095a7f901b2e7dc97e633585be8d66a47c7fd9d1.tar.bz2 |
Merge 8.7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/SetOptions.3 | 9 | ||||
-rw-r--r-- | doc/menu.n | 11 |
2 files changed, 14 insertions, 6 deletions
diff --git a/doc/SetOptions.3 b/doc/SetOptions.3 index 3967b36..2e877af 100644 --- a/doc/SetOptions.3 +++ b/doc/SetOptions.3 @@ -419,6 +419,15 @@ specify octal or hexadecimal numbers, respectively). The internal form is a C \fBint\fR value. This option type supports the \fBTK_OPTION_NULL_OK\fR flag; if a NULL value is set, the internal representation is set to INT_MIN. .TP +\fBTK_OPTION_INDEX\fR +The string value must be an index in the format accepted by \fBTcl_GetIntForIndex()\fR +or the empty string. The internal form is a C \fBint\fR value. If the string +starts with \fB-\fR, the internal representation will be set to INT_MIN. If the +string has the form \fBend-???\fR, then the result will be a negative number: +\fB-1\fR stands for \fBend\fR, \fB-2\fR stands for \fBend-1\fR and so on. +This option type supports the \fBTK_OPTION_NULL_OK\fR flag; +if a NULL value is set, the internal representation is set to INT_MIN. +.TP \fBTK_OPTION_JUSTIFY\fR The value must be a standard justification value such as \fBleft\fR. The internal form is a Tk_Justify like the values returned by @@ -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 . |