summaryrefslogtreecommitdiffstats
path: root/doc/treectrl.n
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-11-03 22:30:34 (GMT)
committertreectrl <treectrl>2006-11-03 22:30:34 (GMT)
commit9472e46f8fa0e331b0d4c74ea05f991ca3cea483 (patch)
tree3b16923b0d6d60bb0cd3ba5c5a3e29ccc1739c08 /doc/treectrl.n
parent28f533ab46f61a5a54ea40e83ebe57f3d0e7413c (diff)
downloadtktreectrl-9472e46f8fa0e331b0d4c74ea05f991ca3cea483.zip
tktreectrl-9472e46f8fa0e331b0d4c74ea05f991ca3cea483.tar.gz
tktreectrl-9472e46f8fa0e331b0d4c74ea05f991ca3cea483.tar.bz2
Deprecated the treectrl option -defaultstyle.
Added column option -itemstyle (replaces -defaultstyle).
Diffstat (limited to 'doc/treectrl.n')
-rw-r--r--doc/treectrl.n7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/treectrl.n b/doc/treectrl.n
index e7a3fe3..ae293dd 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.56 2006/10/31 23:30:13 treectrl Exp $
+'\" $Id: treectrl.n,v 1.57 2006/11/03 22:31:05 treectrl Exp $
.so man.macros
.TH "treectrl" n 2.1.1 treectrl "Tk Commands"
.BS
@@ -569,6 +569,7 @@ Database Class: \fBDefaultStyle\fR
.fi
.IP
+This option is deprecated; use the column option \fB-itemstyle\fR instead.
Specifies a list of styles, one per column, to apply to each item created by
the \fBitem create\fR command. The number of styles in the list can be
different from the number of tree columns.
@@ -2850,6 +2851,10 @@ Specifies a list of zero or more colors, which are used as
alternating background colors for items in this column.
See also the \fB-backgroundmode\fR widget option for more on this.
.TP
+\fB\fB-itemstyle\fR\fR \fIstyle\fR
+\fIStyle\fR is the name of a style that should be set in this column
+for newly-created items.
+.TP
\fB\fB-justify\fR\fR \fIjustification\fR
This option determines how the items (and the title) line up with each other.
Must be one of \fBleft\fR (the default), \fBcenter\fR, or \fBright\fR.