summaryrefslogtreecommitdiffstats
path: root/doc/menu.n
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-05-29 11:14:52 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-05-29 11:14:52 (GMT)
commitdce9a69e660b5794ed00094a7129d3ee1d96c822 (patch)
tree3bb178d635babd5f62e45145b1442b05216bd671 /doc/menu.n
parent8da74a57c9361ff898e53427de9527dbbf121c75 (diff)
downloadtk-dce9a69e660b5794ed00094a7129d3ee1d96c822.zip
tk-dce9a69e660b5794ed00094a7129d3ee1d96c822.tar.gz
tk-dce9a69e660b5794ed00094a7129d3ee1d96c822.tar.bz2
Document acceptable indices <M>+<N>, <M>-<N>, end-<N> that TIP #577 made available.
Diffstat (limited to 'doc/menu.n')
-rw-r--r--doc/menu.n3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/menu.n b/doc/menu.n
index 42d1775..109a94b 100644
--- a/doc/menu.n
+++ b/doc/menu.n
@@ -366,6 +366,9 @@ are used.
.PP
If the index could match more than one of the above forms, then
the form earlier in the above list takes precedence.
+Indexes support the same simple interpretation as
+for the command \fBstring index\fR, with simple integer index
+arithmetic and indexing relative to \fBend\fR.
.PP
The following widget commands are possible for menu widgets:
.TP