summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorkrischan <krischan>2003-01-04 17:09:43 (GMT)
committerkrischan <krischan>2003-01-04 17:09:43 (GMT)
commit9d9448626940181113420b078e57246836010154 (patch)
tree5ca34bfe5c721186f67469e50515041ce51858cf /doc
parent5ce7520084cd9259b28a3d2f829e5c82f3d6668b (diff)
downloadtktreectrl-9d9448626940181113420b078e57246836010154.zip
tktreectrl-9d9448626940181113420b078e57246836010154.tar.gz
tktreectrl-9d9448626940181113420b078e57246836010154.tar.bz2
Described the leading ~ of the "item state set" widget command.
Diffstat (limited to 'doc')
-rw-r--r--doc/treectrl.html16
-rw-r--r--doc/treectrl.man14
-rw-r--r--doc/treectrl.n14
3 files changed, 25 insertions, 19 deletions
diff --git a/doc/treectrl.html b/doc/treectrl.html
index 8ca93f4..d2ed18b 100644
--- a/doc/treectrl.html
+++ b/doc/treectrl.html
@@ -3,11 +3,11 @@
See the file &quot;license.terms&quot; for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- $Id: treectrl.html,v 1.2 2003/01/04 13:14:51 krischan Exp $ --><html><head><title>treectrl - Tk Commands </title></head>
+ $Id: treectrl.html,v 1.3 2003/01/04 17:09:43 krischan Exp $ --><html><head><title>treectrl - Tk Commands </title></head>
<! -- Generated from treectrl.man by tcllib/doctools/mpexpand with fmt.html -->
<! -- Copyright (c) 2003 krischan -->
<! -- All rights reserved -->
-<! -- CVS: $Id: treectrl.html,v 1.2 2003/01/04 13:14:51 krischan Exp $ treectrl.n -->
+<! -- CVS: $Id: treectrl.html,v 1.3 2003/01/04 17:09:43 krischan Exp $ treectrl.n -->
<h1> treectrl(n) 1.0 treectrl &quot;Tk Commands&quot;</h1>
<a name="name"><h2>NAME</h2>
@@ -1323,14 +1323,16 @@ If a <i class='arg'>stateName</i> is specified,
<dt><i class='arg'>pathName</i> <b class='cmd'>item state set</b> <i class='arg'>itemDesc</i> ?<i class='arg'>lastItem</i>? ?<i class='arg'>stateDescList</i>?<dd>
Every element of <i class='arg'>stateDescList</i>
-must describe a user defined state (see <a href="#states">STATES</a> below).
-Every state with an leading <strong>!</strong> will be switched off for the
+must describe a user defined state (see <a href="#states">STATES</a> below),
+with the particularity that the state name may have also a leading <strong>~</strong>.
+Every state with a leading <strong>!</strong> will be switched off for the
item described by <i class='arg'>itemDesc</i>,
-every state without leading <strong>!</strong> will be switched on.
-If <i class='arg'>lastItem</i> is specified, the state change will be made for all items
+every state with a leading <strong>~</strong> will be toggled, and
+every state without leading <strong>!</strong> or <strong>~</strong> will be switched on.
+If <i class='arg'>lastItem</i> is specified, the state changes will be made for all items
in the range betwen <i class='arg'>itemDesc</i> and <i class='arg'>lastItem</i>.
<i class='arg'>ItemDesc</i> may be the string <strong>all</strong>,
-then all items will get the new state.
+then the state changes are made for all items of the treectrl widget.
<br><br>
<dt><i class='arg'>pathName</i> <b class='cmd'>item style</b> <i class='arg'>command</i> <i class='arg'>itemDesc</i> ?<i class='arg'>arg ...</i>?<dd>
diff --git a/doc/treectrl.man b/doc/treectrl.man
index 7919ab2..7727323 100644
--- a/doc/treectrl.man
+++ b/doc/treectrl.man
@@ -3,7 +3,7 @@
See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- $Id: treectrl.man,v 1.2 2003/01/04 13:14:51 krischan Exp $}
+ $Id: treectrl.man,v 1.3 2003/01/04 17:09:43 krischan Exp $}
][manpage_begin treectrl n 1.0]
[moddesc {Tk Commands}]
[titledesc {Create and manipulate hierarchical multicolumn widgets}]
@@ -949,14 +949,16 @@ If a [arg stateName] is specified,
[call [arg pathName] [cmd {item state set}] [arg itemDesc] \
[opt [arg lastItem]] [opt [arg stateDescList]]]
Every element of [arg stateDescList]
-must describe a user defined state (see [sectref STATES] below).
-Every state with an leading [strong !] will be switched off for the
+must describe a user defined state (see [sectref STATES] below),
+with the particularity that the state name may have also a leading [strong ~].
+Every state with a leading [strong !] will be switched off for the
item described by [arg itemDesc],
-every state without leading [strong !] will be switched on.
-If [arg lastItem] is specified, the state change will be made for all items
+every state with a leading [strong ~] will be toggled, and
+every state without leading [strong !] or [strong ~] will be switched on.
+If [arg lastItem] is specified, the state changes will be made for all items
in the range betwen [arg itemDesc] and [arg lastItem].
[arg ItemDesc] may be the string [strong all],
-then all items will get the new state.
+then the state changes are made for all items of the treectrl widget.
[call [arg pathName] [cmd {item style}] [arg command] [arg itemDesc] \
[opt [arg {arg ...}]]]
diff --git a/doc/treectrl.n b/doc/treectrl.n
index 5ad8de2..c903fe8 100644
--- a/doc/treectrl.n
+++ b/doc/treectrl.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" $Id: treectrl.n,v 1.19 2003/01/04 13:14:51 krischan Exp $
+'\" $Id: treectrl.n,v 1.20 2003/01/04 17:09:43 krischan Exp $
.so man.macros
.TH "treectrl" n 1.0 treectrl "Tk Commands"
.BS
@@ -1363,14 +1363,16 @@ If a \fIstateName\fR is specified,
.TP
\fIpathName\fR \fBitem state set\fR \fIitemDesc\fR ?\fIlastItem\fR? ?\fIstateDescList\fR?\fR
Every element of \fIstateDescList\fR
-must describe a user defined state (see \fBSTATES\fR below).
-Every state with an leading \fB!\fR will be switched off for the
+must describe a user defined state (see \fBSTATES\fR below),
+with the particularity that the state name may have also a leading \fB~\fR.
+Every state with a leading \fB!\fR will be switched off for the
item described by \fIitemDesc\fR,
-every state without leading \fB!\fR will be switched on.
-If \fIlastItem\fR is specified, the state change will be made for all items
+every state with a leading \fB~\fR will be toggled, and
+every state without leading \fB!\fR or \fB~\fR will be switched on.
+If \fIlastItem\fR is specified, the state changes will be made for all items
in the range betwen \fIitemDesc\fR and \fIlastItem\fR.
\fIItemDesc\fR may be the string \fBall\fR,
-then all items will get the new state.
+then the state changes are made for all items of the treectrl widget.
.TP
\fIpathName\fR \fBitem style\fR \fIcommand\fR \fIitemDesc\fR ?\fIarg ...\fR?\fR
This command is used to manipulate the style of the item.