summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replaced use of deprecated treectrl option -defaultstyle with new column ↵treectrl2006-11-051-6/+6
| | | | | | option -itemstyle. Set the size of window element box in the canvas to the [winfo width] instead of [winfo reqwidth] to support the -clip option (since the borderless frame usually has zero requested size).
* Replaced use of deprecated treectrl option -defaultstyle with new column ↵treectrl2006-11-054-10/+13
| | | | option -itemstyle.
* Removed some unneeded checks from IsSensitive, and use it in FileListButton1 ↵treectrl2006-11-051-44/+7
| | | | | | and FileListMotion. Added [item enabled] check for items under the marquee.
* Changed CursorAction to report "column resize C" or "column button C" and ↵treectrl2006-11-051-67/+48
| | | | use it in MotionInHeader, ButtonPress1 and DoubleButton1.
* Fixed improper use of DInfo.empty.treectrl2006-11-051-363/+328
| | | | | Draw -itembackground colors into the whitespace region, but only for -orient=verical, wrap={}, and -itemheight or -minitemheight > 0. Fixed vertical-scrolling bug when no non-locked column are displayed.
* Checkin complex whitespace code before pruning it.treectrl2006-11-041-107/+214
|
* Deprecated the treectrl option -defaultstyle.treectrl2006-11-0310-67/+4605
| | | | Added column option -itemstyle (replaces -defaultstyle).
* Removed unneeded COLU_CONF_xxx constants.treectrl2006-11-031-24/+26
| | | | Fix problem when an error occurs configuring -image or -itembackground options.
* Fix crash when destroying a treectrl with non-empty -backgroundimage.treectrl2006-11-031-9/+22
| | | | Fix possible memory leak when an error occurs configuring -backgroundimage and/or -defaultstyles.
* Added TreeCtrl::IsSensitive to test whether the mouse pointer is over an ↵treectrl2006-11-031-3/+31
| | | | element that responds to clicks.
* Fixed handling of Tcl_Obj with per-state custom options.treectrl2006-11-031-14/+27
|
* Fix compilation when ALLOC_HAX is undefined.treectrl2006-11-031-3/+3
|
* Fixed handling of Tcl_Obj with per-state and dynamic custom options.treectrl2006-11-031-32/+103
| | | | | Fix compilation when ALLOC_HAX is undefined. Fix crash caused by double-freeing memory when freeing dynamic options.
* Fixed handling of Tcl_Obj with per-state custom options.treectrl2006-11-031-6/+33
|
* BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED.treectrl2006-11-031-4/+15
| | | | | | Fixed handling of Tcl_Obj with per-state custom options. Memory leak: TreeCtrl.defaultStyles wasn't freed when the treectrl was destroyed. Fix compilation when ALLOC_HAX is undefined.
* BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED.treectrl2006-11-031-1/+3
|
* Memory leak: DItem.spans wasn't being preserved when reusing a DItem or ↵treectrl2006-11-031-29/+449
| | | | | | | | | freed when the treectrl was destroyed. Memory leak: DInfo.itemVisHash column lists weren't freed when the treectrl was destroyed. BG_MODE_INDEX and BG_MODE_VISINDEX wrapped in #ifdef DEPRECATED. Fixed vertical-scrolling producing garbage under X11. Added some code (not used yet) for extending the -itembackground colors into the whitespace area.
* Double-clicking a folder goes to that folder. Added ".." folder to go to the ↵treectrl2006-11-011-5/+59
| | | | parent directory.
* Added -underline option to text element. [ Patch 1580928 ]treectrl2006-10-313-81/+111
| | | | | Added "depth" qualifier to item descriptions. Added "!tail" qualifier to column descriptions.
* Added -underline option to text element. [ Patch 1580928 ]treectrl2006-10-311-26/+88
|
* Added underline arg to TextLayout_Draw. [ Patch 1580928 ]treectrl2006-10-313-14/+46
|
* Configure the text editing widget to use the same -wrap value as the element.treectrl2006-10-311-4/+19
|
* Added spreadsheet-like selection.treectrl2006-10-311-21/+100
|
* Fix a critical bug with OptionHax_Forget.treectrl2006-10-301-2/+2
|
* Changed handling of deleted items (again) so that the item is removed from ↵treectrl2006-10-303-44/+145
| | | | the heirarchy of known items but the record is not freed until it is not in use.
* Restore old behaviour of deprecated [expand], [collapse] and [toggle] ↵treectrl2006-10-301-26/+29
| | | | allowing zero or more item arguments.
* Pass flags argument to Tree_ElementChangedItself for when a master element ↵treectrl2006-10-301-5/+5
| | | | configures itself. This fixes a crash and display problem when a master element has a -textvariable.
* Pass flags argument to Tree_ElementChangedItself for when a master element ↵treectrl2006-10-301-2/+2
| | | | configures itself.
* Fixed a crash when a master element calls Tree_ElementChangedItself.treectrl2006-10-301-22/+25
| | | | Pass element index to Style_ElementChanged so instance styles don't need to be searched for every item-column.
* [identify] now takes pixel x/y arguments, rather than plain integers.treectrl2006-10-301-3/+3
|
* Added constraint "deprecated" to some old tests.treectrl2006-10-291-6/+14
| | | | Updated some error messages.
* Added constraint "deprecated" to some old tests.treectrl2006-10-291-14/+33
| | | | | Updated some error messages. Don't use some deprecated commands.
* Moved item-description tests to a new file and added some more tests.treectrl2006-10-292-355/+511
|
* Renamed columnCustomOption_xxx.treectrl2006-10-291-3/+3
|
* COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵treectrl2006-10-291-2/+4
| | | | allowed.
* COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not ↵treectrl2006-10-291-284/+170
| | | | | | | | allowed. Renamed some static functions. Qualifiers may now be the first part of a column description. Removed old code from "delete" command.
* Qualifiers may now be the first part of an item description. This has the ↵treectrl2006-10-291-149/+150
| | | | | | | | | same effect as "all" followed by qualifiers. Removed "tag" keyword because of this. New qualifier "depth" allowed in item descriptions. Qualifier "nearest x y" takes pixel x/y args instead of plain integers. Renamed ISROOT to IS_ROOT to agree with other macros like the new IS_ALL macro. COLUMN_FOR_EACH no longer iterates over the tail column if the tail is not allowed. This fixed a crash with [style map] and removed the need to check for the tail column in some commands.
* Cosmetic changes, plus toggle the checkbuttons when clicked.treectrl2006-10-281-30/+47
|
* Changed -justification of Delete and Bounce columns.treectrl2006-10-281-3/+3
|
* Remove some unnecessary configuration.treectrl2006-10-281-2/+1
|
* Try the new -uniform and -weight column options.treectrl2006-10-281-4/+7
|
* Stop using deprecated commands.treectrl2006-10-283-6/+6
|
* Fixed a bug with dynamic-option code incrementing the refcount of a NULL ↵treectrl2006-10-281-2/+3
| | | | Tcl_Object.
* Deprecated commands and options are wrapped inside #ifdef DEPRECATED.treectrl2006-10-284-37/+124
|
* Tweaked column drag-and-drop behaviour: when the pointer is over a column ↵treectrl2006-10-271-1/+9
| | | | adjacent to the dragged column a drop is indicated without having to move the cursor to the left or right half of the adjacent column.
* Consolidated the column-layout code, and applied the -uniform and -weight ↵treectrl2006-10-271-269/+474
| | | | options to locked columns.
* Sync with current features.treectrl2006-10-271-37/+271
|
* Added column options -uniform and -weight.treectrl2006-10-273-265/+305
| | | | Misc rewrites.
* The -weight option affects how extra space is allocated amongst -expand columns.treectrl2006-10-271-5/+30
|
* Added -uniform and -weight options to columns, which operate the same as the ↵treectrl2006-10-272-2/+224
| | | | [grid] geometry manager.