From 9d9448626940181113420b078e57246836010154 Mon Sep 17 00:00:00 2001 From: krischan Date: Sat, 4 Jan 2003 17:09:43 +0000 Subject: Described the leading ~ of the "item state set" widget command. --- doc/treectrl.html | 16 +++++++++------- doc/treectrl.man | 14 ++++++++------ doc/treectrl.n | 14 ++++++++------ 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 "license.terms" 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 $ -->treectrl - Tk Commands + $Id: treectrl.html,v 1.3 2003/01/04 17:09:43 krischan Exp $ -->treectrl - Tk Commands - +

treectrl(n) 1.0 treectrl "Tk Commands"

NAME

@@ -1323,14 +1323,16 @@ If a stateName is specified,
pathName item state set itemDesc ?lastItem? ?stateDescList?
Every element of stateDescList -must describe a user defined state (see STATES below). -Every state with an leading ! will be switched off for the +must describe a user defined state (see STATES below), +with the particularity that the state name may have also a leading ~. +Every state with a leading ! will be switched off for the item described by itemDesc, -every state without leading ! will be switched on. -If lastItem is specified, the state change will be made for all items +every state with a leading ~ will be toggled, and +every state without leading ! or ~ will be switched on. +If lastItem is specified, the state changes will be made for all items in the range betwen itemDesc and lastItem. ItemDesc may be the string all, -then all items will get the new state. +then the state changes are made for all items of the treectrl widget.

pathName item style command itemDesc ?arg ...?
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. -- cgit v0.12