summaryrefslogtreecommitdiffstats
path: root/doc/treectrl.html
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.html
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.html')
-rw-r--r--doc/treectrl.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/treectrl.html b/doc/treectrl.html
index ea0a3d8..88b53c4 100644
--- a/doc/treectrl.html
+++ b/doc/treectrl.html
@@ -1,10 +1,10 @@
-<! -- Copyright (c) 2002-2003 Christian Krone. -- -- 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.39 2006/10/31 23:30:13 treectrl Exp $
+<! -- Copyright (c) 2002-2003 Christian Krone. -- -- 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.40 2006/11/03 22:31:04 treectrl Exp $
--><html><head>
<title>treectrl - Tk Commands </title>
</head>
<! -- Generated from file 'doc/treectrl.man' by tcllib/doctools with format 'html'
-->
-<! -- CVS: $Id: treectrl.html,v 1.39 2006/10/31 23:30:13 treectrl Exp $ treectrl.n
+<! -- CVS: $Id: treectrl.html,v 1.40 2006/11/03 22:31:04 treectrl Exp $ treectrl.n
-->
<body>
@@ -397,6 +397,7 @@ the user is dragging the right edge of the column.
Database Name: <strong>defaultStyle</strong><br>
Database Class: <strong>DefaultStyle</strong><br>
<dd>
+This option is deprecated; use the column option <strong>-itemstyle</strong> instead.
Specifies a list of styles, one per column, to apply to each item created by
the <b class='cmd'>item create</b> command. The number of styles in the list can be
different from the number of tree columns.
@@ -3007,6 +3008,11 @@ alternating background colors for items in this column.
See also the <strong>-backgroundmode</strong> widget option for more on this.
<br><br>
+<dt><strong><strong>-itemstyle</strong></strong> <i class='arg'>style</i><dd>
+<i class='arg'>Style</i> is the name of a style that should be set in this column
+for newly-created items.
+
+<br><br>
<dt><strong><strong>-justify</strong></strong> <i class='arg'>justification</i><dd>
This option determines how the items (and the title) line up with each other.
Must be one of <strong>left</strong> (the default), <strong>center</strong>, or <strong>right</strong>.