From 8676f612d14baa2cf8cbff86227efecb503c8896 Mon Sep 17 00:00:00 2001 From: treectrl Date: Tue, 22 Jan 2008 01:02:41 +0000 Subject: Updates for version 2.2.4. --- doc/What's New in TkTreeCtrl.html | 13650 ++++-------------------------------- doc/treectrl.html | 8 +- doc/treectrl.man | 6 +- doc/treectrl.n | 6 +- 4 files changed, 1530 insertions(+), 12140 deletions(-) diff --git a/doc/What's New in TkTreeCtrl.html b/doc/What's New in TkTreeCtrl.html index ac78ffd..5f7021b 100644 --- a/doc/What's New in TkTreeCtrl.html +++ b/doc/What's New in TkTreeCtrl.html @@ -1,76 +1,21 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - What's New in TkTreeCtrl @@ -79,228 +24,291 @@ -

What's New in TkTreeCtrl 2.2.3

+

What's New in TkTreeCtrl 2.2.4

-

Build Changes

- -

Bug Fixes

- + Potential +incompatibility -

Style Layout Options

+ + + item span + A style may now be displayed over multiple adjacent +columns.
+ - + + + + +
+

Notify +Command

+ @@ -13589,14 +2573,19 @@ above + + + + + @@ -13604,256 +2593,275 @@ above + + + - + + + +
NewComment
notify unbind
+
Let's you unbind all scripts from an object with one +call.
Usage -Changed
+

Style Layout Changes

+ - How -it changed +
    +
  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

+ - -iexpand +

Other Changes

+ - Two 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 -update your code, you will probably want to change this:
+

Demo Changes

+ +
+

What's New in TkTreeCtrl 2.0

+

TreeCtrl Configuration Options

+ + - + + + + -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. + + + + @@ -13861,14 +2869,24 @@ surrounds. + + + + + @@ -13876,44 +2894,59 @@ surrounds. + + + + - + + + + - + + + + @@ -13921,14 +2954,19 @@ surrounds. + + + + + @@ -13936,14 +2974,19 @@ surrounds. + + + + + @@ -13951,44 +2994,64 @@ surrounds. + + + + - + + + + + + + + + +
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 +agreement with the new "item order" command which replaces the "item +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 +buttons/lines.
New
+
New
-backgroundimage
-columnprefix
-columnresizemode
-itemprefix
-minitemheight
-height-usetheme
+

TreeCtrl Commands

+ - + + + + @@ -13996,14 +3059,19 @@ surrounds. + + + + + @@ -14011,119 +3079,157 @@ surrounds. + + + + - + + + + + - + + + + - + + + + + + + +
DeprecatedWhat +to use +instead
compareitem compare
indexitem id
-maxheightnumcolumnscolumn count
numitemsitem count
range
item range
+

Column Configuration Options

+ + - + + + + - + + + + - + + + + + - + + + @@ -14131,89 +3237,115 @@ surrounds. + + + + - + + + + + - + + + + + + + + + + + + + + - + + + + @@ -14221,14 +3353,19 @@ surrounds. + + + + + @@ -14236,14 +3373,19 @@ surrounds. + + + + + @@ -14251,104 +3393,143 @@ surrounds. + + + + - + + + + + + +
RemovedWhat +to use +instead
-maxwidth
-relief
+
-state
-sunken-state
Renamed
+
New +name
-arrowpad-arrowpadx
-minheightUsage +ChangedHow +it changed
-backgroundThis is now a per-state option. See COLUMNS in the help +file +for valid state names.
New
-
-arrowbitmap
-
-arrowimage-minwidth
-arrowpady
-maxwidth
-resize
-state
-sticky-textlines
+

Column Command

- + + + + - + + + + + + - + + + + + - + + + - + + + + @@ -14356,733 +3537,942 @@ surrounds. + + + + - - - - - - - - - - - - - - -
Deprecated
What +to use +instead
column indexcolumn id
Arguments/Result +ChangedWhat +changed
-width
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.
+ + + New + + Comment + + -

Element Changes

+ column compare + + + + column count - + column order + + + + + + -

Event Changes

+

Item Command

+ + + + - + + + + -
  • 2 new %-substitution characters %P -and %? are -allowed in binding -scripts. See the EVENTS AND SCRIPT SUBSTITUTIONS section in the help -file.
  • + + + + -
  • The new static event <ItemDelete> -is generated when items are deleted. See the EVENTS AND SCRIPT -SUBSTITUTIONS section in the help file.
  • + + + + + - + + + + + -

    Library Script Changes

    + + + + -

    filelist-bindings.tcl:

    + + + + + - + + + + +
    RemovedWhat +to use +instead
    item indexitem order
    NewComment
    item comparereplaces "compare"
    item countreplaces "numitems"
    item idreplaces "index"
    item orderreplaces "item index"
    item rangereplaces "range"
    +

    Notify Command

    + -
  • The Priv(edit) variable, which is used to specify which -text -elements may be edited, now has the same format as Priv(sensitive). -Previously only elements in the first column could be edited.
  • + + + + -
  • 3 new commands in the TreeCtrl namespace should be used to -access -the Priv(dragimage), Priv(edit) and Priv(sensitive) variables. The -commands are SetDragImage, SetEditable and SetSensitive.
  • + + + + -
  • Two new dynamic events <Edit-begin> -and <Edit-end> -are -generated when editing a file name.
  • + + + + + + + + + - + + + + + + + +
    Arguments/Result +ChangedWhat +changed
    notify generate
    +
    Added optional percentsCommand +argument
    notify installOld syntax (supported but deprecated):
    + + +
    notify install event eventName
    - + + +
    notify install detail eventName detail
    +New syntax:
    + + +
    notify install <eventName>
    + + +
    notify install <eventName-detail>
    -

    treectrl.tcl:

    +
    notify linkageOld syntax (supported but deprecated):
    -
      + + +
      + + +
      notify linkage eventName
      + + +
      notify linkage eventName detail
      +
      +New syntax:
      + + +
      + + +
      notify linkage <eventName>
      -
    • On OSX/Aqua, the Command key is used to perform -discontinuous -selection. Previously the Control key was used but Command is specified -by Apple's user-interface guidelines.
    • + + +
      notify linkage <eventName-detail>
      +
      +
    notify uninstallsee notify +install +above
    -

    Other Changes

    +

    Style Layout Options

    + + + + - + + + -
  • On WinXP, the column headers and open/close buttons are -drawn -using the system theme if -usetheme -is true. The sort arrow is drawn the old-fashioned way.
  • + + + + + + + -
  • Columns can be specified in new ways. See the COLUMN -DESCRIPTION -section in the help file.
  • + + + + + -
  • Added new section DYNAMIC EVENTS to the help file.
  • + + + + + -
  • Added new section PER-STATE OPTIONS to the help file.
  • + + + + -
  • The new style layout option -indent -allows elements to be displayed in the button/line area. See the style layout command -in the help -file and the new demo "Firefox Privacy".
  • + + + + + -
  • The new item description end -is equivalent to last.
  • + + + + + -
  • If you -have version 1.1 -installed, replace the old pkgIndex.tcl file with the one from this -version (but replace the version number 2.0 with 1.1). Otherwise the old pkgIndex.tcl -file will -set the TREECTRL_LIBRARY variable which will override where the library -scripts are found.
  • + + + + + + +
    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 +update your code, you will probably want to change this:
    + + +
    + + +
    $T style layout $S $E -iexpand we
    +
    +to this:
    + + +
    + + +
    $T style layout $S $E -iexpand x
    -
  • On OSX/Aqua,  the column headers and open/close -buttons are -drawn -using the system theme if -usetheme -is true. The sort arrow will be drawn by the Appearance Manager as -well. This will override the -arrowside -and -arrowgravity -options.
  • +
    +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
    -
  • Columns can be moved by drag-and-drop. See column dragconfigure -in the help -file.
  • +
    -height
    -maxheight
    -maxwidth
    -minheight
    -minwidth
    -sticky
    -width
    - +

    Element Changes

    + +

    Event Changes

    + diff --git a/doc/treectrl.html b/doc/treectrl.html index bc441d5..08fc546 100644 --- a/doc/treectrl.html +++ b/doc/treectrl.html @@ -1,14 +1,14 @@ - treectrl - Tk Commands - -

    treectrl(n) 2.2.3 treectrl "Tk Commands"

    +

    treectrl(n) 2.2.4 treectrl "Tk Commands"

    NAME

    treectrl - Create and manipulate hierarchical multicolumn widgets @@ -44,7 +44,7 @@     KEYWORDS

    SYNOPSIS

    -package require treectrl 2.2.3
    +package require treectrl 2.2.4

    diff --git a/doc/treectrl.man b/doc/treectrl.man index 71a66b1..765a898 100644 --- a/doc/treectrl.man +++ b/doc/treectrl.man @@ -3,11 +3,11 @@ 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.52 2007/11/12 04:15:52 treectrl Exp $} -][manpage_begin treectrl n 2.2.3] + $Id: treectrl.man,v 1.53 2008/01/22 01:02:41 treectrl Exp $} +][manpage_begin treectrl n 2.2.4] [moddesc {Tk Commands}] [titledesc {Create and manipulate hierarchical multicolumn widgets}] -[require treectrl 2.2.3] +[require treectrl 2.2.4] [description] [list_begin definitions] diff --git a/doc/treectrl.n b/doc/treectrl.n index 9724c28..9af2458 100644 --- a/doc/treectrl.n +++ b/doc/treectrl.n @@ -6,14 +6,14 @@ '\" 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.69 2007/11/12 04:15:52 treectrl Exp $ +'\" $Id: treectrl.n,v 1.70 2008/01/22 01:02:41 treectrl Exp $ .so man.macros -.TH "treectrl" n 2.2.3 treectrl "Tk Commands" +.TH "treectrl" n 2.2.4 treectrl "Tk Commands" .BS .SH NAME treectrl \- Create and manipulate hierarchical multicolumn widgets .SH SYNOPSIS -package require \fBtreectrl 2.2.3\fR +package require \fBtreectrl 2.2.4\fR .sp \fBtreectrl\fR \fIpathName\fR ?\fIoptions\fR? .sp -- cgit v0.12
    treectrl pathName ?options?
    pathName activate itemDesc
    pathName bbox ?area?