diff options
author | sbron <sbron@tclcode.com> | 2023-03-22 10:19:09 (GMT) |
---|---|---|
committer | sbron <sbron@tclcode.com> | 2023-03-22 10:19:09 (GMT) |
commit | 7507eed9e7847c0439c3077014323566869d5a46 (patch) | |
tree | 37c912e462a130c4ecbea8e2f8181b5e38c2e2d4 /doc | |
parent | 05c5d0fe0705587ef8e1c9bf338d545a216c366e (diff) | |
download | tk-7507eed9e7847c0439c3077014323566869d5a46.zip tk-7507eed9e7847c0439c3077014323566869d5a46.tar.gz tk-7507eed9e7847c0439c3077014323566869d5a46.tar.bz2 |
Describe the search order more explicitly.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/menu.n | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -358,11 +358,12 @@ so on. .TP 12 \fIid\fR . -Indicates the entry with the specified id. +If the index does not satisfy one of the above forms then the menu is +searched for an entry with the specified id. .TP 12 \fIpattern\fR . -If the index does not satisfy one of the above forms then this +If all of the above methods for finding an entry fail, this form is used. \fIPattern\fR is pattern-matched against the label of each entry in the menu, in order from the top down, until a matching entry is found. The rules of \fBstring match\fR |