From 275a8a831f3aee95a7811113c5f5988320ab76bc Mon Sep 17 00:00:00 2001 From: treectrl Date: Sat, 14 May 2005 22:18:58 +0000 Subject: New style layout option -indent (experimental). Alphabetized style layout options. --- doc/treectrl.html | 53 ++++++++++++++++++++++++++++++----------------------- doc/treectrl.man | 46 ++++++++++++++++++++++++++-------------------- doc/treectrl.n | 49 +++++++++++++++++++++++++++---------------------- 3 files changed, 83 insertions(+), 65 deletions(-) diff --git a/doc/treectrl.html b/doc/treectrl.html index 90372f0..8a3d4c0 100644 --- a/doc/treectrl.html +++ b/doc/treectrl.html @@ -1,10 +1,10 @@ - treectrl - Tk Commands - @@ -2135,14 +2135,25 @@ The following options are supported:

-
-padx amount
-
-pady amount
-Amount specifies how much external padding to -leave on the left and right (for -padx) -or top and bottom (for -pady) side of the element. -Amount may be a list -of two values to specify padding for the two sides separately, -it defaults to 0. +
-detach boolean
+Specifies whether the element should be positioned by itself, +i.e. independent from the other elements. + +

+
-expand style
+
-iexpand style
+It can happen that the element's space is larger than its requested dimensions. +These options may be used to position (or stretch) the slave within its cell. +Style is a string that contains zero or more of the characters +n, s, e or w. +Each letter refers to a side (north, south, +east, or west) in which direction the element will grow in. + +

+
-indent boolean
+Specifies whether the element should be positioned to the right of the +button/line area in the tree column. This option is ignored unless the +-detach option is true.

-ipadx amount
@@ -2155,14 +2166,14 @@ of two values to specify padding for the two sides separately, it defaults to 0.

-
-expand style
-
-iexpand style
-It can happen that the element's space is larger than its requested dimensions. -These options may be used to position (or stretch) the slave within its cell. -Style is a string that contains zero or more of the characters -n, s, e or w. -Each letter refers to a side (north, south, -east, or west) in which direction the element will grow in. +
-padx amount
+
-pady amount
+Amount specifies how much external padding to +leave on the left and right (for -padx) +or top and bottom (for -pady) side of the element. +Amount may be a list +of two values to specify padding for the two sides separately, +it defaults to 0.

-squeeze style
@@ -2178,10 +2189,6 @@ option may be used to allow shrinking of the element. Specifies a list of other elements, which should be layed out inside the space of this element. -

-
-detach boolean
-Specifies whether the element should be positioned by themselves, -i.e. independent from the other elements.
pathName style names
@@ -2967,7 +2974,7 @@ Indicates the root item of the treectrl.

-The initial part of the column description (matching any of the values above) +The initial part of the item description (matching any of the values above) may be followed by one or more modifiers. A modifier changes the item used relative to the description up to this point. diff --git a/doc/treectrl.man b/doc/treectrl.man index 8b2bcf1..24d0245 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.14 2005/05/13 20:50:20 treectrl Exp $} + $Id: treectrl.man,v 1.15 2005/05/14 22:18:58 treectrl Exp $} ][manpage_begin treectrl n 2.0] [moddesc {Tk Commands}] [titledesc {Create and manipulate hierarchical multicolumn widgets}] @@ -1621,14 +1621,23 @@ managed by [arg style]. The following options are supported: [list_begin opt] -[opt_def [option -padx] [arg amount]] -[opt_def [option -pady] [arg amount]] -[arg Amount] specifies how much external padding to -leave on the left and right (for [option -padx]) -or top and bottom (for [option -pady]) side of the element. -[arg Amount] may be a list -of two values to specify padding for the two sides separately, -it defaults to 0. +[opt_def [option -detach] [arg boolean]] +Specifies whether the element should be positioned by itself, +i.e. independent from the other elements. + +[opt_def [option -expand] [arg style]] +[opt_def [option -iexpand] [arg style]] +It can happen that the element's space is larger than its requested dimensions. +These options may be used to position (or stretch) the slave within its cell. +[arg Style] is a string that contains zero or more of the characters +[const n], [const s], [const e] or [const w]. +Each letter refers to a side (north, south, +east, or west) in which direction the element will grow in. + +[opt_def [option -indent] [arg boolean]] +Specifies whether the element should be positioned to the right of the +button/line area in the tree column. This option is ignored unless the +-detach option is true. [opt_def [option -ipadx] [arg amount]] [opt_def [option -ipady] [arg amount]] @@ -1639,14 +1648,14 @@ or top and bottom (for [option -ipady]) side of the element. of two values to specify padding for the two sides separately, it defaults to 0. -[opt_def [option -expand] [arg style]] -[opt_def [option -iexpand] [arg style]] -It can happen that the element's space is larger than its requested dimensions. -These options may be used to position (or stretch) the slave within its cell. -[arg Style] is a string that contains zero or more of the characters -[const n], [const s], [const e] or [const w]. -Each letter refers to a side (north, south, -east, or west) in which direction the element will grow in. +[opt_def [option -padx] [arg amount]] +[opt_def [option -pady] [arg amount]] +[arg Amount] specifies how much external padding to +leave on the left and right (for [option -padx]) +or top and bottom (for [option -pady]) side of the element. +[arg Amount] may be a list +of two values to specify padding for the two sides separately, +it defaults to 0. [opt_def [option -squeeze] [arg style]] If an element's area is smaller than its requested dimensions, this @@ -1660,9 +1669,6 @@ option may be used to allow shrinking of the element. Specifies a list of other [arg element]s, which should be layed out inside the space of this element. -[opt_def [option -detach] [arg boolean]] -Specifies whether the element should be positioned by themselves, -i.e. independent from the other elements. [list_end] [call [arg pathName] [cmd {style names}]] diff --git a/doc/treectrl.n b/doc/treectrl.n index 897de51..d35f406 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.30 2005/05/13 20:50:20 treectrl Exp $ +'\" $Id: treectrl.n,v 1.31 2005/05/14 22:18:58 treectrl Exp $ .so man.macros .TH "treectrl" n 2.0 "Tk Commands" .BS @@ -2043,15 +2043,24 @@ managed by \fIstyle\fR. The following options are supported: .RS .TP -\fB\fB-padx\fR\fR \fIamount\fR +\fB\fB-detach\fR\fR \fIboolean\fR +Specifies whether the element should be positioned by itself, +i.e. independent from the other elements. .TP -\fB\fB-pady\fR\fR \fIamount\fR -\fIAmount\fR specifies how much external padding to -leave on the left and right (for \fB-padx\fR) -or top and bottom (for \fB-pady\fR) side of the element. -\fIAmount\fR may be a list -of two values to specify padding for the two sides separately, -it defaults to 0. +\fB\fB-expand\fR\fR \fIstyle\fR +.TP +\fB\fB-iexpand\fR\fR \fIstyle\fR +It can happen that the element's space is larger than its requested dimensions. +These options may be used to position (or stretch) the slave within its cell. +\fIStyle\fR is a string that contains zero or more of the characters +\fBn\fR, \fBs\fR, \fBe\fR or \fBw\fR. +Each letter refers to a side (north, south, +east, or west) in which direction the element will grow in. +.TP +\fB\fB-indent\fR\fR \fIboolean\fR +Specifies whether the element should be positioned to the right of the +button/line area in the tree column. This option is ignored unless the +-detach option is true. .TP \fB\fB-ipadx\fR\fR \fIamount\fR .TP @@ -2063,15 +2072,15 @@ or top and bottom (for \fB-ipady\fR) side of the element. of two values to specify padding for the two sides separately, it defaults to 0. .TP -\fB\fB-expand\fR\fR \fIstyle\fR +\fB\fB-padx\fR\fR \fIamount\fR .TP -\fB\fB-iexpand\fR\fR \fIstyle\fR -It can happen that the element's space is larger than its requested dimensions. -These options may be used to position (or stretch) the slave within its cell. -\fIStyle\fR is a string that contains zero or more of the characters -\fBn\fR, \fBs\fR, \fBe\fR or \fBw\fR. -Each letter refers to a side (north, south, -east, or west) in which direction the element will grow in. +\fB\fB-pady\fR\fR \fIamount\fR +\fIAmount\fR specifies how much external padding to +leave on the left and right (for \fB-padx\fR) +or top and bottom (for \fB-pady\fR) side of the element. +\fIAmount\fR may be a list +of two values to specify padding for the two sides separately, +it defaults to 0. .TP \fB\fB-squeeze\fR\fR \fIstyle\fR If an element's area is smaller than its requested dimensions, this @@ -2084,10 +2093,6 @@ option may be used to allow shrinking of the element. \fB\fB-union\fR\fR \fIelementList\fR Specifies a list of other \fIelement\fRs, which should be layed out inside the space of this element. -.TP -\fB\fB-detach\fR\fR \fIboolean\fR -Specifies whether the element should be positioned by themselves, -i.e. independent from the other elements. .RE .TP \fIpathName\fR \fBstyle names\fR\fR @@ -2723,7 +2728,7 @@ You can memorize \fBrnc\fR as abbreviation of "row 'n' column". \fBroot\fR Indicates the root item of the treectrl. .PP -The initial part of the column description (matching any of the values above) +The initial part of the item description (matching any of the values above) may be followed by one or more \fImodifier\fRs. A modifier changes the item used relative to the description up to this point. -- cgit v0.12