summaryrefslogtreecommitdiffstats
path: root/doc/treectrl.man
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-12-04 20:54:54 (GMT)
committertreectrl <treectrl>2006-12-04 20:54:54 (GMT)
commit6f36a9a51930b927c5fc61cc80cc5b0ff89f5130 (patch)
tree97fb15c89ad79d57477f2fef9952d973b08d59d5 /doc/treectrl.man
parent359b188d95c280ba5a80b0065a22b44db1f843b9 (diff)
downloadtktreectrl-6f36a9a51930b927c5fc61cc80cc5b0ff89f5130.zip
tktreectrl-6f36a9a51930b927c5fc61cc80cc5b0ff89f5130.tar.gz
tktreectrl-6f36a9a51930b927c5fc61cc80cc5b0ff89f5130.tar.bz2
New style layout option -visible.
Elements with zero requested size are not included in the layout, including any padding. Union elements are not included in the layout if all the elements they surround are hidden or have zero size.
Diffstat (limited to 'doc/treectrl.man')
-rw-r--r--doc/treectrl.man10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/treectrl.man b/doc/treectrl.man
index c3135ff..4e696f7 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.46 2006/12/03 00:24:00 treectrl Exp $}
+ $Id: treectrl.man,v 1.47 2006/12/04 20:55:19 treectrl Exp $}
][manpage_begin treectrl n 2.2]
[moddesc {Tk Commands}]
[titledesc {Create and manipulate hierarchical multicolumn widgets}]
@@ -2133,7 +2133,13 @@ size and position of the elements in [arg elementList].
The [option -ipadx] and [option -ipady] options in this case refer to the
distance of the edges of the display area of this element from those elements
it surrounds. This option is typically used to display a selection rectangle
-around a piece of text.
+around a piece of text. If none of the elements in [arg elementList] are
+visible, then the element is not displayed.
+
+[opt_def [option -visible] [arg boolean]]
+This is a [sectref {PER-STATE OPTIONS} per-state] option that controls visibility
+of an element. If the value of the option evaluates to false for a given
+item state, then the element is not displayed and consumes no space in the layout.
[list_end]