summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorsbron <sbron@tclcode.com>2023-03-22 10:19:09 (GMT)
committersbron <sbron@tclcode.com>2023-03-22 10:19:09 (GMT)
commit7507eed9e7847c0439c3077014323566869d5a46 (patch)
tree37c912e462a130c4ecbea8e2f8181b5e38c2e2d4 /doc
parent05c5d0fe0705587ef8e1c9bf338d545a216c366e (diff)
downloadtk-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.n5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/menu.n b/doc/menu.n
index a7c52ab..7d16e01 100644
--- a/doc/menu.n
+++ b/doc/menu.n
@@ -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