From aa0e5b537858d7547a1b2246f4895dfad99b5f9c Mon Sep 17 00:00:00 2001 From: treectrl Date: Wed, 29 Jun 2005 21:13:50 +0000 Subject: Fixed description of "item state get". --- doc/treectrl.html | 8 ++++---- doc/treectrl.man | 4 ++-- doc/treectrl.n | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/treectrl.html b/doc/treectrl.html index ccd7861..894461b 100644 --- a/doc/treectrl.html +++ b/doc/treectrl.html @@ -1,10 +1,10 @@ - treectrl - Tk Commands - @@ -101,7 +101,7 @@ package require treectrl 2.0
pathName item sort itemDesc ?option ...? pathName item state command itemDesc ?arg ...? pathName item state forcolumn itemDesc column ?stateDescList? -pathName item state get itemDesc ?stateName ...? +pathName item state get itemDesc ?stateName? pathName item state set itemDesc ?lastItem? ?stateDescList? pathName item style command itemDesc ?arg ...? pathName item style elements itemDesc column @@ -1607,7 +1607,7 @@ Just like item state set but manipulates user-defined states item column, not the item as a whole.

-
pathName item state get itemDesc ?stateName ...?
+
pathName item state get itemDesc ?stateName?
If no stateName is specified, returns a list containing the names of all (predefined and user defined) states diff --git a/doc/treectrl.man b/doc/treectrl.man index 3ce1186..8d8031d 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.26 2005/06/22 23:23:15 treectrl Exp $} + $Id: treectrl.man,v 1.27 2005/06/29 21:13:50 treectrl Exp $} ][manpage_begin treectrl n 2.0] [moddesc {Tk Commands}] [titledesc {Create and manipulate hierarchical multicolumn widgets}] @@ -1150,7 +1150,7 @@ Just like [cmd {item state set}] but manipulates user-defined states for a singl item column, not the item as a whole. [call [arg pathName] [cmd {item state get}] [arg itemDesc] \ - [opt [arg {stateName ...}]]] + [opt [arg {stateName}]]] If no [arg stateName] is specified, returns a list containing the names of all (predefined and user defined) states which are currently switched on for the item described by [arg itemDesc]. diff --git a/doc/treectrl.n b/doc/treectrl.n index a68ee7c..af0994f 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.42 2005/06/22 23:23:15 treectrl Exp $ +'\" $Id: treectrl.n,v 1.43 2005/06/29 21:13:50 treectrl Exp $ .so man.macros .TH "treectrl" n 2.0 "Tk Commands" .BS @@ -179,7 +179,7 @@ package require \fBtreectrl 2.0\fR .sp \fIpathName\fR \fBitem state forcolumn\fR \fIitemDesc\fR \fIcolumn\fR ?\fIstateDescList\fR?\fR .sp -\fIpathName\fR \fBitem state get\fR \fIitemDesc\fR ?\fIstateName ...\fR?\fR +\fIpathName\fR \fBitem state get\fR \fIitemDesc\fR ?\fIstateName\fR?\fR .sp \fIpathName\fR \fBitem state set\fR \fIitemDesc\fR ?\fIlastItem\fR? ?\fIstateDescList\fR?\fR .sp @@ -1629,7 +1629,7 @@ The following forms of the command are supported: Just like \fBitem state set\fR but manipulates user-defined states for a single item column, not the item as a whole. .TP -\fIpathName\fR \fBitem state get\fR \fIitemDesc\fR ?\fIstateName ...\fR?\fR +\fIpathName\fR \fBitem state get\fR \fIitemDesc\fR ?\fIstateName\fR?\fR If no \fIstateName\fR is specified, returns a list containing the names of all (predefined and user defined) states which are currently switched on for the item described by \fIitemDesc\fR. -- cgit v0.12