summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-09-27 02:05:12 (GMT)
committertreectrl <treectrl>2006-09-27 02:05:12 (GMT)
commit09b48e7c4b59e7dbad9e27e7a755a2b958dd1af7 (patch)
tree1737fb613fa7a5c297c45cf6525e2a4a6d97fb37 /doc
parentc04109fdbf5688f54d70398819f3957465f93856 (diff)
downloadtktreectrl-09b48e7c4b59e7dbad9e27e7a755a2b958dd1af7.zip
tktreectrl-09b48e7c4b59e7dbad9e27e7a755a2b958dd1af7.tar.gz
tktreectrl-09b48e7c4b59e7dbad9e27e7a755a2b958dd1af7.tar.bz2
Added -clip option to window elements.
Diffstat (limited to 'doc')
-rw-r--r--doc/treectrl.html13
-rw-r--r--doc/treectrl.man10
-rw-r--r--doc/treectrl.n10
3 files changed, 29 insertions, 4 deletions
diff --git a/doc/treectrl.html b/doc/treectrl.html
index 6ffff09..ce1e47d 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.35 2006/09/24 22:56:08 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.36 2006/09/27 02:05:12 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.35 2006/09/24 22:56:08 treectrl Exp $ treectrl.n
+<! -- CVS: $Id: treectrl.html,v 1.36 2006/09/27 02:05:12 treectrl Exp $ treectrl.n
-->
<body>
@@ -3442,6 +3442,15 @@ An element of type <strong>window</strong> can be used to display a Tk window in
The following options are supported for window elements:
<dl>
+<dt><strong><strong>-clip</strong></strong> <i class='arg'>boolean</i><dd>
+Specifies whether the associated Tk window is a borderless frame which should
+be used to clip its child window so it doesn't overlap the header, borders, or
+other items or columns. When this option is true, the treectrl manages the
+geometry of both the <strong>-window</strong> widget and its first child widget; in
+this case the <strong>-window</strong> widget (which should be a borderless frame) is
+kept sized and positioned so that it is never out-of-bounds.
+
+<br><br>
<dt><strong><strong>-destroy</strong></strong> <i class='arg'>boolean</i><dd>
Specifies whether the associated Tk window should be destroyed when the
element is deleted. The element is deleted when the item containing the
diff --git a/doc/treectrl.man b/doc/treectrl.man
index 918f915..5aa6568 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.36 2006/09/24 22:56:08 treectrl Exp $}
+ $Id: treectrl.man,v 1.37 2006/09/27 02:05:13 treectrl Exp $}
][manpage_begin treectrl n 2.1.1]
[moddesc {Tk Commands}]
[titledesc {Create and manipulate hierarchical multicolumn widgets}]
@@ -2705,6 +2705,14 @@ An element of type [const window] can be used to display a Tk window in an item.
The following options are supported for window elements:
[list_begin opt]
+[opt_def [option -clip] [arg boolean]]
+Specifies whether the associated Tk window is a borderless frame which should
+be used to clip its child window so it doesn't overlap the header, borders, or
+other items or columns. When this option is true, the treectrl manages the
+geometry of both the [option -window] widget and its first child widget; in
+this case the [option -window] widget (which should be a borderless frame) is
+kept sized and positioned so that it is never out-of-bounds.
+
[opt_def [option -destroy] [arg boolean]]
Specifies whether the associated Tk window should be destroyed when the
element is deleted. The element is deleted when the item containing the
diff --git a/doc/treectrl.n b/doc/treectrl.n
index df78bc6..c6af95e 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.52 2006/09/24 22:56:08 treectrl Exp $
+'\" $Id: treectrl.n,v 1.53 2006/09/27 02:05:13 treectrl Exp $
.so man.macros
.TH "treectrl" n 2.1.1 treectrl "Tk Commands"
.BS
@@ -3187,6 +3187,14 @@ length is determined.
An element of type \fBwindow\fR can be used to display a Tk window in an item.
The following options are supported for window elements:
.TP
+\fB\fB-clip\fR\fR \fIboolean\fR
+Specifies whether the associated Tk window is a borderless frame which should
+be used to clip its child window so it doesn't overlap the header, borders, or
+other items or columns. When this option is true, the treectrl manages the
+geometry of both the \fB-window\fR widget and its first child widget; in
+this case the \fB-window\fR widget (which should be a borderless frame) is
+kept sized and positioned so that it is never out-of-bounds.
+.TP
\fB\fB-destroy\fR\fR \fIboolean\fR
Specifies whether the associated Tk window should be destroyed when the
element is deleted. The element is deleted when the item containing the