| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
| |
* generic/tkTreeItem.c (Item_Configure): to be deferred to next
* generic/tkTreeCtrl.h: redraw by calling
Tree_DInfoChanged(tree, DINFO_REDO_SELECTION). Significantly
improves performance of multiple item visibility changes.
|
|
|
|
| |
verify that the value actually changed, because it can be expensive.
|
|
|
|
|
|
|
|
|
|
| |
columns. Not used yet.
Renamed SortData.count to columnCount for readability.
Reformatted some function headers.
CompareProc: identity test to save work.
find_pivot: bug fix.
ItemSortCmd: fix memory leak with -command option.
|
| |
|
| |
|
| |
|
|
|
|
| |
support the updated [column delete] command.
|
| |
|
|
|
|
| |
Redo ranges when an item's -height option changes.
|
|
|
|
| |
Added [item image] command.
|
|
|
|
|
|
| |
longer drawn in all of the spanned columns.
Renamed the -noresult option to [item create] to -returnid.
|
|
|
|
| |
[item element configure]: fixed checking for special + and , args; return after first error.
|
|
|
|
|
|
|
|
|
|
|
|
| |
for the user to know if an item had a Column struct allocated for a given column or not.
Implemented column spanning. A style may now extend over 2 or more columns within an item. Rewrote TreeItem_Draw. TreeItem_Identify, and TreeItem_Identify2. Added [item span] command.
NoStyleMsg added to report an item doesn't have a style in a given column.
Fixed new [item element configure] syntax to only check for + or , after every option-value pair.
[item style set] returns a list with one string per tree column. Previously only allocated Column structs were reported.
[item state forcolumn] now allocates a Column struct when setting the state for a column if one didn't exist. Previously an error was returned.
[item bbox] no longer returns an error when getting the bounding box for an item column if the item column didn't have a Column struct allocated.
[item text] returns one string per tree column if no column is specified.
|
|
|
|
|
|
|
|
| |
Rename TreeItem_HideWindows to TreeItem_OnScreen.
"item create" command accepts new arguments and allows creation of multiple items with a single call.
"item element configure" allows configuring multiple elements in multiple columns with a single call. This deprecates the awful "item complex" command.
"item style set" returns an error message if a style argument is missing. Previously an error was returned with no message.
"item style set" does nothing when trying to replace a style with itself. Previously the old style was freed.
|
|
|
|
| |
Fixed a massive performance hit with "item delete all" when there were many orphan items.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Column.neededWidth/Height aren't actually used.
Add some calls to Tree_FreeItemDInfo.
Replace some calls to Tree_InvalidateItemDInfo with Tree_FreeItemDInfo. Invalidate should only be used when the size hasn't changed.
Fix "item style map" and "item style set" not recalculating ranges.
|
| |
|
|
|
|
| |
Apple's Tiger patches.
|
| |
|
| |
|
|
|
|
|
|
| |
area using new layout option -indent.
Fixes for tree->columnPrefix when reporting errors.
|
|
|
|
|
|
|
|
|
| |
New command "item count", "numitems" is deprecated.
New command "item id", "index" is deprecated.
Replaced "item index" with "item order".
Replaced itemPrefix global with tree->itemPrefix option.
Use tree->columnPrefix when reporting column id.
tree->columnTree is no longer an int.
|
| |
|
|
|
|
|
|
|
|
| |
New -minitemheight option.
Fixed bug where buttons and lines could be drawn over another column if the -treecolumn was too narrow.
Code added to support new "window" element type.
New <ItemDelete> event generated before items are deleted.
Fixed bug with <Selection> event not reporting all selected items being deleted.
|
|
|
|
|
| |
Don't draw horizontal line unless it connects to a vertical line.
Use new Theme API to draw buttons.
|
|
|
|
| |
Don't draw horizontal line to self unless it connects to a vertical line or our button.
|
|
|
|
| |
case where no text value has been set for sorting
|
|
|
|
| |
Macintosh drawing fix.
|
|
|
|
| |
existing defined name conflict
|
| |
|
| |
|
|
|
|
| |
New "item expand/collapse/toggle" commands.
|
|
|
|
|
| |
Support for ITEM_ID_IS_STRING compile-time option.
Generate <Selection> event when selected items are deleted.
|
|
|
|
|
|
|
|
|
| |
Add "item cget" and "item configure" commands.
Removed "item hasbutton" and "item visible" commands.
Removed unused code.
Made TreeItem_AllocXXX() private.
Reorganized TreeItemCmd().
Added TreeItem_Init() for widget initialization.
|
| |
|
|
|
|
|
|
| |
Fix "item index" if index needed recalculating.
New -defaultstyle widget option used by "item create".
Tree columns are no longer automatically created by various "item" commands.
|
| |
|
|
|
|
| |
Allow item sort without columns if -command is used.
|
| |
|
|
|
|
|
|
| |
Don't allow tail column for item sort -column option.
Make sure item sort -notreally returns result if only one item to sort.
Return error if item sort -command gives inconsistent results.
|
|
|
|
| |
Pass sortData on stack instead of global in 'item sort' command.
|
| |
|
| |
|
| |
|