From 29d529fda572c4c106efabcd9c79e5745bd95e90 Mon Sep 17 00:00:00 2001 From: treectrl Date: Mon, 13 Jun 2005 23:45:52 +0000 Subject: Added "-sticky" style layout option. --- 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 360a522..bfff1ea 100644 --- a/doc/treectrl.html +++ b/doc/treectrl.html @@ -1,10 +1,10 @@ - treectrl - Tk Commands - @@ -2311,6 +2311,15 @@ This option is typically used for text elements and will cause the text element to display an ellipsis (...) and/or wrap lines.

+
-sticky flags
+This option controls how the actual display information (image, text, etc) +of an element is positioned (or stretched) within its display area. +Flags is a +string that contains zero or more of the characters n, s, +w or e. Each letter refers to the top, bottom, left or right +side of the display area that the display information should "stick" to. + +

-union elementList
Specifies a list of other elements which this element will surround. The size of an element with -union layout is determined by the diff --git a/doc/treectrl.man b/doc/treectrl.man index 23d2175..db0053e 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.24 2005/06/13 23:30:42 treectrl Exp $} + $Id: treectrl.man,v 1.25 2005/06/13 23:45:52 treectrl Exp $} ][manpage_begin treectrl n 2.0] [moddesc {Tk Commands}] [titledesc {Create and manipulate hierarchical multicolumn widgets}] @@ -1763,6 +1763,14 @@ style has less space than it needs. This option is typically used for [const text] elements and will cause the text element to display an ellipsis (...) and/or wrap lines. +[opt_def [option -sticky] [arg flags]] +This option controls how the actual display information (image, text, etc) +of an element is positioned (or stretched) within its display area. +[arg Flags] is a +string that contains zero or more of the characters [const n], [const s], +[const w] or [const e]. Each letter refers to the top, bottom, left or right +side of the display area that the display information should "stick" to. + [opt_def [option -union] [arg elementList]] Specifies a list of other elements which this element will surround. The size of an element with [option -union] layout is determined by the diff --git a/doc/treectrl.n b/doc/treectrl.n index a169823..1b1ca1b 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.40 2005/06/13 23:30:42 treectrl Exp $ +'\" $Id: treectrl.n,v 1.41 2005/06/13 23:46:08 treectrl Exp $ .so man.macros .TH "treectrl" n 2.0 "Tk Commands" .BS @@ -2213,6 +2213,14 @@ style has less space than it needs. This option is typically used for \fBtext\fR elements and will cause the text element to display an ellipsis (...) and/or wrap lines. .TP +\fB\fB-sticky\fR\fR \fIflags\fR +This option controls how the actual display information (image, text, etc) +of an element is positioned (or stretched) within its display area. +\fIFlags\fR is a +string that contains zero or more of the characters \fBn\fR, \fBs\fR, +\fBw\fR or \fBe\fR. Each letter refers to the top, bottom, left or right +side of the display area that the display information should "stick" to. +.TP \fB\fB-union\fR\fR \fIelementList\fR Specifies a list of other elements which this element will surround. The size of an element with \fB-union\fR layout is determined by the -- cgit v0.12