From bfe0ad06d53674b48116107fdfe2175ba1514242 Mon Sep 17 00:00:00 2001 From: treectrl Date: Tue, 17 May 2005 01:31:16 +0000 Subject: New column description "tree". New text element option "-textvariable". --- doc/treectrl.html | 16 +++++++++++++--- doc/treectrl.man | 12 ++++++++++-- doc/treectrl.n | 12 ++++++++++-- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/doc/treectrl.html b/doc/treectrl.html index 8a3d4c0..e685b56 100644 --- a/doc/treectrl.html +++ b/doc/treectrl.html @@ -1,10 +1,10 @@ - treectrl - Tk Commands - @@ -2559,6 +2559,10 @@ Indicates the nth column in the list of columns as returned b

tail
Indicates the ever-present tail column of the treectrl. + +

+
tree
+Indicates the column specified by the -treecolumn option of the treectrl.

@@ -2887,13 +2891,19 @@ an ellipsis.

-text string
-String specifies the characters to be displayed in the text. +String specifies the characters to be displayed by the element. Non printable characters are displayed in their escaped form (e.g. a new line character is displayed as the two characters \n). If this option is specified, any values of -data, -datatype, and -format are ignored.

+
-textvariable varName
+Specifies the name of a variable. The value of the variable is a text string +to be displayed by the element; if the variable value changes then the element +will automatically update itself to reflect the new value. + +

-width size
Specifies the width of the area of the text. diff --git a/doc/treectrl.man b/doc/treectrl.man index 24d0245..624ac5e 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.15 2005/05/14 22:18:58 treectrl Exp $} + $Id: treectrl.man,v 1.16 2005/05/17 01:31:17 treectrl Exp $} ][manpage_begin treectrl n 2.0] [moddesc {Tk Commands}] [titledesc {Create and manipulate hierarchical multicolumn widgets}] @@ -1985,6 +1985,9 @@ Indicates the [arg n]th column in the list of columns as returned by the [lst_item [const tail]] Indicates the ever-present tail column of the treectrl. + +[lst_item [const tree]] +Indicates the column specified by the -treecolumn option of the treectrl. [list_end] [para] @@ -2278,12 +2281,17 @@ configured width, it will be truncated at the right end and filled up with an ellipsis. [opt_def [option -text] [arg string]] -[arg String] specifies the characters to be displayed in the text. +[arg String] specifies the characters to be displayed by the element. Non printable characters are displayed in their escaped form (e.g. a new line character is displayed as the two characters [const \\n]). If this option is specified, any values of [option -data], [option -datatype], and [option -format] are ignored. +[opt_def [option -textvariable] [arg varName]] +Specifies the name of a variable. The value of the variable is a text string +to be displayed by the element; if the variable value changes then the element +will automatically update itself to reflect the new value. + [opt_def [option -width] [arg size]] Specifies the width of the area of the text. diff --git a/doc/treectrl.n b/doc/treectrl.n index d35f406..073c9f8 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.31 2005/05/14 22:18:58 treectrl Exp $ +'\" $Id: treectrl.n,v 1.32 2005/05/17 01:31:17 treectrl Exp $ .so man.macros .TH "treectrl" n 2.0 "Tk Commands" .BS @@ -2397,6 +2397,9 @@ Indicates the \fIn\fRth column in the list of columns as returned by the .TP \fBtail\fR Indicates the ever-present tail column of the treectrl. +.TP +\fBtree\fR +Indicates the column specified by the -treecolumn option of the treectrl. .PP The initial part of the column description (matching any of the values above) may be followed by one or more \fImodifier\fRs. @@ -2660,12 +2663,17 @@ configured width, it will be truncated at the right end and filled up with an ellipsis. .TP \fB\fB-text\fR\fR \fIstring\fR -\fIString\fR specifies the characters to be displayed in the text. +\fIString\fR specifies the characters to be displayed by the element. Non printable characters are displayed in their escaped form (e.g. a new line character is displayed as the two characters \fB\\n\fR). If this option is specified, any values of \fB-data\fR, \fB-datatype\fR, and \fB-format\fR are ignored. .TP +\fB\fB-textvariable\fR\fR \fIvarName\fR +Specifies the name of a variable. The value of the variable is a text string +to be displayed by the element; if the variable value changes then the element +will automatically update itself to reflect the new value. +.TP \fB\fB-width\fR\fR \fIsize\fR Specifies the width of the area of the text. .TP -- cgit v0.12