| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TreeItem_FromObj renamed to TreeItemList_FromObj.
TreeItemList_FromObj: added "list", "range", "ancestors" and "children" keywords for matching multiple items.
Added TreeItem_FirstAndLast, TreeItem_ListDescendants.
[item create]: fixed bug where -nextsibling and -prevsibling options could specify an orphan item.
Tree_DeselectHidden rewritten to use TreeItemList.
TreeItemCmd: Use TreeItemList_FromObj to get lists of items to operate on instead of single items.
[item expand], [item collapse], [item toggle]: Only operate on items which exist when the command is called, not any that might get created by <Expand> or <Collapse> binding scripts. Handle item descriptions that refer to multiple items.
[item compare]: removed 2nd-arg code since argInfo[] was changed to handle an extra argument.
[item configure]: Handle item descriptions that refer to multiple items.
[item delete]: Handle item descriptions that refer to multiple items. Use TreeCtrl.preserveItemList to hold deleted items until any nested calls complete.
[item enabled]: Handle item descriptions that refer to multiple items.
[item id]: Handle item descriptions that refer to multiple items. Return a list of item ids instead of only one.
|
|
|
|
|
|
|
| |
Tree_Display: preserve the tree and items so binding scripts don't free them.
Tree_Display: if <Scroll> or <ItemVisibility> scripts cause a redraw request, jump to the top of the routine and start redisplaying again.
Tree_Display: the block of code handling itemVisHash was moved before any drawing code and rewritten to use TreeItemList. itemVisHash now uses TreeItems instead of item ids as indexes.
Tree_Display: moved TreeItem_UpdateWindowPositions from the itemVisHash block down to the drawing block.
|
|
|
|
|
|
| |
TreeItemList and related funcs instead of STATIC_ALLOC for handling lists of items.
TreeCtrl.preserveItemXXX fields, Tree_PreserveItems and Tree_ReleaseItems added for managing deleted items.
|
|
|
|
|
|
|
|
|
| |
STATIC_ALLOC for handling lists of items.
Removed TreeCtrl.displayInProgress flag.
Added TreeCtrl.preserveItemXXX fields, Tree_PreserveItems and Tree_ReleaseItems for managing deleted items.
Added IFO_NOTORPHAN flag for rejecting orphans.
Various TreeNotify_xxx routines changed to accept TreeItemList args.
|
| |
|
|
|
|
| |
Added tests for "visible" and "state" qualifiers in item descriptions to test the new code.
|
| |
|
|
|
|
|
|
|
|
| |
Removed old SelectionMotion and unused CancelRepeat procs.
Priv(col), Priv(row) and Priv(rnc) are now per-widget.
Renamed TreeCtrl::ExtendUpDown to TreeCtrl::Extend since it always moved the active item in any direction.
The various <Home>, <End> and arrow key bindings now ignore items which are not enabled.
Mouse press and motion events ignore items which are not enabled.
|
|
|
|
|
|
|
|
| |
added a new qualifier "state xxx". The "state" qualifier filters out items which do not match a given list of states.
Added [item enabled] command to set/get the "enabled" state of an item.
Define TreeItem_GetEnabled.
Fix typo in comment.
|
|
|
|
| |
Removed some unused code.
|
| |
|
|
|
|
| |
be selected and keyboard navigation skips over them.
|
|
|
|
| |
Restore the default font when preparing the list for the next demo.
|
|
|
|
|
|
|
| |
Added [item enabled] command.
[scan mark] and [scan dragto] docs were missing.
Update description of "enabled" state, since the state can now be changed.
Update item description docs since new qualifier "state xxx" was added.
|
| |
|
|
|
|
| |
Added -visible option to [item count].
|
|
|
|
| |
Use [notify unbind] to remove a binding.
|
| |
|
| |
|
|
|
|
|
| |
Removed unused proc.
Resize image when loupe window is resized.
|
| |
|
|
|
|
|
|
| |
bindings of edit widget helpers to use TreeCtrlEntry and
TreeCtrlText classes.
Fix for <Escape> binding possibly triggering <FocusOut>.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
active item changes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* tclconfig/tcl.m4: TEA rcs 1.91 2006/03/28 21:07:09
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
causes flashing) on OS X.
|
| |
|
|
|
|
|
| |
Win32 code to use grab size constraints and honor the virtual
system metrics (OS X needs similar correction still).
|
| |
|
|
|
|
|
| |
* generic/tkTreeCtrl.c (LoupeCmd): add Win32 code to enable loupe
functionality on Windows.
|
| |
|
| |
|
| |
|