From 09b48e7c4b59e7dbad9e27e7a755a2b958dd1af7 Mon Sep 17 00:00:00 2001 From: treectrl Date: Wed, 27 Sep 2006 02:05:12 +0000 Subject: Added -clip option to window elements. --- doc/treectrl.html | 13 +++++++++++-- doc/treectrl.man | 10 +++++++++- doc/treectrl.n | 10 +++++++++- 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 @@ - treectrl - Tk Commands - @@ -3442,6 +3442,15 @@ An element of type window can be used to display a Tk window in The following options are supported for window elements:
+
-clip 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 -window widget and its first child widget; in +this case the -window widget (which should be a borderless frame) is +kept sized and positioned so that it is never out-of-bounds. + +

-destroy 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.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 -- cgit v0.12