From a126b04e7532e4036906ad208a9bfd5b5c24d98e Mon Sep 17 00:00:00 2001 From: treectrl Date: Tue, 5 Sep 2006 21:55:04 +0000 Subject: Updates for 2.1.1. --- doc/What's New in TkTreeCtrl.html | 1364 ++++++++++++++++++++++++++++++++++++- 1 file changed, 1363 insertions(+), 1 deletion(-) diff --git a/doc/What's New in TkTreeCtrl.html b/doc/What's New in TkTreeCtrl.html index 770fed1..3ed77dc 100644 --- a/doc/What's New in TkTreeCtrl.html +++ b/doc/What's New in TkTreeCtrl.html @@ -1,11 +1,15 @@ - + + + + + @@ -15,6 +19,12 @@ + + + + + + @@ -33,104 +43,296 @@ + + +

What's New in TkTreeCtrl 2.1.1

+ +

Column Command

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Arguments/Result +ChangedWhat changed
column delete
+ + + + + + +
Added an optional second argument allowing a range of columns to be deleted.
+ +

Bug Fixes

+ + + +

Other Changes

+ + + +

Demo Changes

+ + + + + + + + +

What's New in TkTreeCtrl 2.1

+ + This version should be backwards compatible with 2.0, except for a few obscure changes.
+ +

TreeCtrl Configuration Options

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -139,12 +341,16 @@ This version should be backwards compatible with 2.0, except for a few obscure c + +

Column Configuration Options

+ + @@ -152,60 +358,90 @@ This version should be backwards compatible with 2.0, except for a few obscure c + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -214,12 +450,16 @@ instead + +

Element Command

+ + @@ -233,37 +473,63 @@ instead
NewComment
-itemwidth
+ +
-itemwidthequalDeprecates the column -widthhack option.
-itemwidthmultipleDeprecates the column -stepwidth option.
DeprecatedWhat to use instead
-stepwidthtreectrl's -itemwidthmultiple option
-widthhacktreectrl's -itemwidthequal option
+ + + + + + + + + + + + + + + + + + + + + +
NewComment
element perstateLike [item element perstate].
+ +

Item Configuration Options

+ + @@ -273,244 +539,360 @@ instead + + + + + + + + + + + + + + + + + + + + + +
NewComment
-heightOverrides the treectrl's -itemheight option
+ +

Item Command

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -656,65 +1108,93 @@ The following options no longer return a default value if the per-state option i + +

Notify Command

+ +
DeprecatedWhat to use instead
item element actualitem element perstate
item complexitem element configure
Behaviour ChangedWhat changed
item bboxNo longer returns an error if no style had been assigned to the column.
item state forcolumnNo longer returns an error if no style had been assigned to the column.
item style setDoes nothing when replacing a style with the same style. Previously the old style was freed before assigning the new style, losing the element config info if the old and new styles were the same.
+ + Potential incompatibility
Arguments/Result ChangedWhat changed
item createAdded options: -count -height, -nextsibling, -open, -parent, -prevsibling, and -returnid. Multiple items may be created with one call using the -count option.
item element configureMultiple elements in multiple columns may be configured with a single call. Use '+' to separate elements, and ',' to separate columns. See the docs.
item style setWhen no column is specified, returns a list of one style name per column. Previously, the list would have less values than the number of columns if no styles had ever been assigned to the rightmost @@ -518,136 +900,206 @@ column(s).
+ + Potential incompatibility
item textWhen no column is specified, returns a list of one string per column.
NewComment
item imagePartner to the [item text] command.
item element perstateNot really new, just renamed from [item element actual] to better describe what it does. Accepts a new optional argument which specifies the state to use when determining the value of the per-state option.
+ +
+ + The following options no longer return a default value if the per-state option itself does not have a value specified:
+ + + +
    + +
  • bitmap -foreground, -background
  • + +
  • border -relief
  • + +
  • text -fill, -font
  • + + + +
+ + Potential incompatibility
item spanA style may now be displayed over multiple adjacent columns.
+ +
+ + + + + + + + + + + + + + + + + + + + + + @@ -723,69 +1203,103 @@ The following options no longer return a default value if the per-state option i + +

Style Layout Changes

+ + + +
    + +
  1. If a -detach element had a fixed width larger than the other elements.
  2. + +
  3. If an element had -iexpand x specified as well as -maxwidth, leaving some space available.
  4. + +
+ +

Element Changes

+ + + +

Event Changes

+ + + +

Other Changes

+ + + +

Demo Changes

+ + + +

What's New in TkTreeCtrl 2.0

+ +

TreeCtrl Configuration Options

+ +
NewComment
notify unbind
+ +
Let's you unbind all scripts from an object with one call.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1184,142 +1852,200 @@ buttons/lines. + +

TreeCtrl Commands

+ +
ReplacedWhat to use instead
-openbuttonimage-buttonimage
-closedbuttonimage-buttonimage
-openbuttonbitmap-buttonbitmap
-closedbuttonbitmap-buttonbitmap
Usage ChangedHow it changed
-backgroundmodeThe values "index" and "visindex" are deprecated. The value "order" should be used instead of "index", and "ordervisible" should be used instead of "visindex". This brings @@ -1006,21 +1604,29 @@ index" command.
-treecolumnThis used to be any integer value which may or may not have corresponded to an actual column. Now the value must be a valid column description, or an empty string to indicate no column should display @@ -1029,151 +1635,213 @@ buttons/lines.
New
-backgroundimage
-columnprefix
-columnresizemode
-itemprefix
-minitemheight
-usetheme
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1330,343 +2056,481 @@ instead + +

Column Configuration Options

+ +
DeprecatedWhat to use instead
compareitem compare
indexitem id
numcolumnscolumn count
numitemsitem count
rangeitem range
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1677,124 +2541,172 @@ for valid state names. + +

Column Command

+ +
RemovedWhat to use instead
-relief
+ +
-state
-sunken-state
Renamed
+ +
New name
-arrowpad-arrowpadx
Usage ChangedHow it changed
-backgroundThis is now a per-state option. See COLUMNS in the help file for valid state names.
New
+ +
-arrowbitmap
+ +
-arrowimage
-arrowpady
-maxwidth
-resize
-state
-textlines
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1802,191 +2714,269 @@ index in the list of columns. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1997,182 +2987,256 @@ index in the list of columns. + +

Item Command

+ +
DeprecatedWhat to use instead
column indexcolumn id
Arguments/Result ChangedWhat changed
column configure
+ +
A column description of "all" is allowed if at least one option-value pair is given.
+ +
column createThe result is a unique identifier. Previously the result was an index in the list of columns.
column deleteA column description of "all" is allowed.
NewComment
column compare
column countreplaces "numcolumns"
column dragconfigure
column dragcget
column idreplaces "column index"
column list
column order
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2183,83 +3247,117 @@ instead + +

Notify Command

+ +
RemovedWhat to use instead
item indexitem order
NewComment
item comparereplaces "compare"
item countreplaces "numitems"
item idreplaces "index"
item orderreplaces "item index"
item rangereplaces "range"
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2278,11 +3380,17 @@ argument + + New syntax:
+ + + + @@ -2292,6 +3400,10 @@ New syntax:
+ + + + @@ -2301,31 +3413,45 @@ New syntax:
+ + + + + + + + + + + + + + + + + + + + + + + + @@ -2428,51 +3592,71 @@ above + +

Style Layout Options

+ +
Arguments/Result ChangedWhat changed
notify generate
+ +
Added optional percentsCommand argument
notify installOld syntax (supported but deprecated):
+ + + + @@ -2269,6 +3367,10 @@ argument
notify linkageOld syntax (supported but deprecated):
+ + + + @@ -2335,11 +3461,17 @@ New syntax:
+ +
notify linkage eventName
+ + + + @@ -2349,16 +3481,24 @@ New syntax:
+ + + + New syntax:
+ + + + @@ -2368,11 +3508,17 @@ New syntax:
+ +
notify linkage <eventName>
+ + + + @@ -2382,42 +3528,60 @@ New syntax:
+ + + +
notify uninstallsee notify install above
+ + + + + + + + + + + + + + + + @@ -2531,176 +3735,248 @@ surrounds. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2711,16 +3987,22 @@ surrounds. + +

Element Changes

+ + + +

Event Changes

+ + + +

Library Script Changes

+ +

filelist-bindings.tcl:

+ + + +

treectrl.tcl:

+ + + +

Other Changes

+ + + +

Demo Changes

+ + + + -- cgit v0.12
Usage ChangedHow it changed
-iexpandTwo new flags "x' and "y" are allowed. Previously, only the -ipadx and -ipady padding could be expanded by this option. The new xy flags expand the display area of the element, not the padding. To @@ -2481,6 +3665,10 @@ update your code, you will probably want to change this:
+ + + + @@ -2490,21 +3678,31 @@ update your code, you will probably want to change this:
+ +
$T style layout $S $E -iexpand we
+ + + + to this:
+ + + + @@ -2514,16 +3712,22 @@ to this:
+ +
$T style layout $S $E -iexpand x
+ + + + Keep in mind that -union elements are not affected by -iexpand xy, since the size of a -union element is determined by the elements it surrounds.
New
+ +
-height
-maxheight
-maxwidth
-minheight
-minwidth
-sticky
-width