summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorkrischan <krischan>2003-01-06 23:03:10 (GMT)
committerkrischan <krischan>2003-01-06 23:03:10 (GMT)
commit3ac3623342b613dc21bdd2e2a2d9d39ef5c3ccc6 (patch)
tree8386063f7b1a6b6d3b6562a2aecc9333c56c9c9d /doc
parent96dffd0a7e0aed5d87c809153ad98c991948af1c (diff)
downloadtktreectrl-3ac3623342b613dc21bdd2e2a2d9d39ef5c3ccc6.zip
tktreectrl-3ac3623342b613dc21bdd2e2a2d9d39ef5c3ccc6.tar.gz
tktreectrl-3ac3623342b613dc21bdd2e2a2d9d39ef5c3ccc6.tar.bz2
added description of new -element option of item sort widget command.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.txt10
-rw-r--r--doc/treectrl.html15
-rw-r--r--doc/treectrl.man13
-rw-r--r--doc/treectrl.n13
4 files changed, 38 insertions, 13 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index 33dcb64..4c1de94 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -265,6 +265,16 @@ T item XXX
T item rnc I
T item sort I $option $value ...
+ -first I (default firstchild)
+ -last I (default lastchild)
+ -command $cmd
+ -dictionary
+ -integer
+ -real
+ -increasing
+ -decreasing
+ -column C (default 0)
+ -element E (default first "text")
T item state get I
T item state get I $state
diff --git a/doc/treectrl.html b/doc/treectrl.html
index d2ed18b..cb76308 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.3 2003/01/04 17:09:43 krischan Exp $ --><html><head><title>treectrl - Tk Commands </title></head>
+ $Id: treectrl.html,v 1.4 2003/01/06 23:03:13 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.3 2003/01/04 17:09:43 krischan Exp $ treectrl.n -->
+<! -- CVS: $Id: treectrl.html,v 1.4 2003/01/06 23:03:13 krischan Exp $ treectrl.n -->
<h1> treectrl(n) 1.0 treectrl &quot;Tk Commands&quot;</h1>
<a name="name"><h2>NAME</h2>
@@ -276,8 +276,11 @@ it should be a screen distance
in any of the forms acceptable to <strong>Tk_GetPixels</strong>.
Then a 1 pixel thick vertical line will be drawn
at the specified screen distance from the left edge of the treectrl widget,
-which reaches from top to bottom and uses an inverting color
+which reaches from top to bottom of the treectrl widget
+and uses an inverting color
(i.e black on lighter background, white on darker background).
+This line can be used to give the user a visual feedback
+during column resizing.
<br><br>
<dt>Command-Line Switch: <strong>-doublebuffer</strong><br>
@@ -1261,8 +1264,10 @@ the order between these two limiting items doesn't matter.
The sort column can be specified by means of the <strong>-column</strong> option;
this option can be used repeatedly to define a multi column sort.
-The sorting is always done by looking at the <i class='arg'>text</i>
-of the first text element of the sorting column(s).
+The sorting is done by looking at the <i class='arg'>text</i>
+of the element specified by the <strong>-element</strong> option,
+which must be a text element defined in the style of the sorting column,
+by default the first text element is used.
<br><br>
If the <strong>-notreally</strong> option is specified,
diff --git a/doc/treectrl.man b/doc/treectrl.man
index 7727323..94a8ff0 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.3 2003/01/04 17:09:43 krischan Exp $}
+ $Id: treectrl.man,v 1.4 2003/01/06 23:03:18 krischan Exp $}
][manpage_begin treectrl n 1.0]
[moddesc {Tk Commands}]
[titledesc {Create and manipulate hierarchical multicolumn widgets}]
@@ -111,8 +111,11 @@ it should be a screen distance
in any of the forms acceptable to [fun Tk_GetPixels].
Then a 1 pixel thick vertical line will be drawn
at the specified screen distance from the left edge of the treectrl widget,
-which reaches from top to bottom and uses an inverting color
+which reaches from top to bottom of the treectrl widget
+and uses an inverting color
(i.e black on lighter background, white on darker background).
+This line can be used to give the user a visual feedback
+during column resizing.
[tkoption_def -doublebuffer doubleBuffer DoubleBuffer]
Specifies if double-buffering should be used to improve displaying.
@@ -893,8 +896,10 @@ the order between these two limiting items doesn't matter.
The sort column can be specified by means of the [option -column] option;
this option can be used repeatedly to define a multi column sort.
-The sorting is always done by looking at the [arg text]
-of the first text element of the sorting column(s).
+The sorting is done by looking at the [arg text]
+of the element specified by the [option -element] option,
+which must be a text element defined in the style of the sorting column,
+by default the first text element is used.
[nl]
If the [option -notreally] option is specified,
diff --git a/doc/treectrl.n b/doc/treectrl.n
index c903fe8..d71bcbf 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.20 2003/01/04 17:09:43 krischan Exp $
+'\" $Id: treectrl.n,v 1.21 2003/01/06 23:03:19 krischan Exp $
.so man.macros
.TH "treectrl" n 1.0 treectrl "Tk Commands"
.BS
@@ -420,8 +420,11 @@ it should be a screen distance
in any of the forms acceptable to \fBTk_GetPixels\fR.
Then a 1 pixel thick vertical line will be drawn
at the specified screen distance from the left edge of the treectrl widget,
-which reaches from top to bottom and uses an inverting color
+which reaches from top to bottom of the treectrl widget
+and uses an inverting color
(i.e black on lighter background, white on darker background).
+This line can be used to give the user a visual feedback
+during column resizing.
.LP
.nf
.ta 6c
@@ -1311,8 +1314,10 @@ the order between these two limiting items doesn't matter.
.sp
The sort column can be specified by means of the \fB-column\fR option;
this option can be used repeatedly to define a multi column sort.
-The sorting is always done by looking at the \fItext\fR
-of the first text element of the sorting column(s).
+The sorting is done by looking at the \fItext\fR
+of the element specified by the \fB-element\fR option,
+which must be a text element defined in the style of the sorting column,
+by default the first text element is used.
.sp
If the \fB-notreally\fR option is specified,
no rearranging of the items is done;