summaryrefslogtreecommitdiffstats
path: root/doc/spinbox.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/spinbox.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/spinbox.n')
-rw-r--r--doc/spinbox.n3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/spinbox.n b/doc/spinbox.n
index d33c2d2..104ef13 100644
--- a/doc/spinbox.n
+++ b/doc/spinbox.n
@@ -288,6 +288,9 @@ or
.QW \fBsel.f\fR .
In general, out-of-range indices are automatically rounded to the
nearest legal value.
+Indexes support the same simple interpretation as
+for the command \fBstring index\fR, with simple integer index
+arithmetic and indexing relative to \fBend\fR.
.SS SUBCOMMANDS
.PP
The following commands are possible for spinbox widgets: