summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed DESCRIPTION section a little.treectrl2005-07-113-586/+901
| | | | | | | | | | | | Deprecated and rewrote [item complex] description. List valid options to [item configure] since [item create] accepts many more. Listed new options to [item create]. [item element configure] expanded syntax with '+' and ',' arguments. New [item span] command. Tweaked [item style set] description. [item text] now returns a string for every column if no column is specified. Changed [notify bind] description since bindings on windows *are* automatically deleted now when a window is deleted. New [notify unbind] command.
* Win32 extension that adds "shellicon" element type to TkTreeCtrl for ↵treectrl2005-07-102-0/+723
| | | | displaying file/folder icon using the Shell API.
* Removed style arg to FileListEdit.treectrl2005-07-101-3/+8
| | | | Set justify if not specified for element in TextExpanderOpen.
* New demo shows 2 techniques for creating lists with large numbers of items ↵treectrl2005-07-101-0/+326
| | | | (i.e., using <Expand-before> and <ItemVisibility>).
* Added titles to each group of options, mostly to show off the new column ↵treectrl2005-07-101-20/+68
| | | | spanning support.
* Gave elements, styles, and columns meaningful names.treectrl2005-07-101-59/+64
| | | | Use the -count option to [item create].
* Got rid of the weird -arrowpax padding in the Received column.treectrl2005-07-101-1/+1
|
* Bunch of changes to try out the new shellicon extension on Win32.treectrl2005-07-101-20/+71
|
* option add -columnresizemode for all lists in the demo.treectrl2005-07-101-15/+33
| | | | | | New demo "Big List" shows 2 techniques for using a 100,000 item list. Add "Span" entry to context menu to manipulate column spanning. Use new [notify unbind] command.
* Added [notify unbind] command.treectrl2005-07-101-3/+8
|
* Added -height option to Item option table and [item create] command.treectrl2005-07-101-10/+28
| | | | [item element configure]: fixed checking for special + and , args; return after first error.
* Added 2 functions for initializing booean and string-table custom options.treectrl2005-07-101-3/+48
| | | | | OnScreenProcWindow: fix segfault when tkwin is NULL. Add stuff to stubs table to support shellicon extension.
* Added a bunch of stuff to the stubs table to support the shellicon ↵treectrl2005-07-101-1/+8
| | | | extension. This stubs table is not well-defined like the Tcl/Tk stubs tables.
* Changed QE_DeleteBinding to delete all bindings on the given object if the ↵treectrl2005-07-101-34/+84
| | | | | | | | eventString is NULL. This code was in TkWinEventProc. Changed TkWinEventProc to call QE_DeleteBinding. QE_GetAllBindings: stop searching if object was found since an object can only appear once in each BindValue chain. New QE_UnbindCmd allows unbinding all scripts on a given object.
* Declared QE_UnbindCmdtreectrl2005-07-101-1/+3
|
* Explorer (details) demo sets background color for the sort column like WinXP ↵treectrl2005-07-071-3/+3
| | | | does.
* UnsetClipMask works around Tk_DrawChars not clearing the clip region on Win32.treectrl2005-07-071-1/+17
|
* TreeTheme_DrawHeaderArrow implemented on WinXP to draw an arrow that looks ↵treectrl2005-07-071-4/+49
| | | | | | like Explorer's. TreeTheme_GetArrowSize added.
* Eliminated all "item I does not have column C" messages. There was no need ↵treectrl2005-07-071-88/+404
| | | | | | | | | | | | 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.
* Bitmap, image and text elements are drawn clipped if given less space than ↵treectrl2005-07-071-19/+65
| | | | | | | they need. TextUpdateLayout: fiddled with debug messages. Fixed line wrapping of text elements. It did not work for single lines of text at all.
* [dragimage add] returns an error if a column has no style when attempting to ↵treectrl2005-07-071-16/+15
| | | | add specific elements to the drag image.
* Call new TreeTheme_GetArrowSize to determine size of sort arrow. I draw a ↵treectrl2005-07-071-5/+8
| | | | | | nice-looking sort arrow on WinXP (looks like Explorer's). Theme sort arrow is drawn offset by 1 when column header is pressed.
* Change TreeItem_Identify to write to a string instead of returning an ↵treectrl2005-07-071-1/+7
| | | | element name. Did this so the column can be determined by the item using its span info.
* Change TreeItem_Identify to write to a string instead of returning an ↵treectrl2005-07-071-2/+5
| | | | | | element name. Did this so the column can be determined by the item using its span info. Declare TreeTheme_GetArrowSize and UnsetClipMask.
* Don't update the Style Editor window if it isn't mapped.treectrl2005-07-051-1/+3
|
* Use new "item element configure" syntax to configure multiple elements at once.treectrl2005-07-052-11/+13
|
* Gave elements and styles meaningful names.treectrl2005-07-052-107/+105
|
* Use new "item element configure" syntax to configure multiple elements at ↵treectrl2005-07-052-72/+76
| | | | | | once (and remove calls to "item complex"). Gave elements and styles meaningful names.
* Use new "item element configure" syntax to configure multiple elements at ↵treectrl2005-07-051-25/+21
| | | | | | | once (and remove calls to "item complex"). Use new -open option to "item create". Don't update the Style Editor window if it isn't mapped.
* TreeItem_Delete: call TreeDisplay_ItemDeleted.treectrl2005-07-051-38/+285
| | | | | | | | 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.
* Range_Redo/Range_TotalWidth: use new -itemwidth, -itemwidthequal and ↵treectrl2005-07-051-102/+188
| | | | | | | | -itemwidthmultiple options. UpdateDInfoForRange: avoid certain checks if a DItem is already marked for redraw. Tree_Display: moved the block of code which updates DInfo.itemVisHash before the code that draws items, and generate an <ItemVisibility> event. Added TreeDisplay_ItemDeleted to remove deleted items from DInfo.itemVisHash.
* TreeStyle_Draw: added call to Style_CheckNeededSize.treectrl2005-07-051-6/+7
| | | | Renamed TreeStyle_HideWindows to TreeStyle_OnScreen, and use the new ElementType.onScreen callback.
* Added <ItemVisibility> event.treectrl2005-07-051-1/+65
|
* Added ElementType.onScreenProc which is called when an item becomes visible ↵treectrl2005-07-051-10/+27
| | | | | | on screen and when it is no longer visible on screen. OnScreenProcWindow is used to hide Tk windows in "window" elements when an item is no longer on screen.
* Added ElementType.onScreenProc which is called when an item becomes visible ↵treectrl2005-07-051-1/+5
| | | | on screen and when it is no longer visible on screen.
* New option -itemwidth, -itemwidthequal and -itemwidthmultiple to replace the ↵treectrl2005-07-052-7/+29
| | | | column options -stepwidth and -widthhack.
* Cache the size of the expand/collapse button under XP for a massive speedup ↵treectrl2005-06-301-1/+20
| | | | of item layout.
* Stopped window being destroyed when it was closed.treectrl2005-06-291-0/+1
|
* Fixed typo in comment.treectrl2005-06-291-2/+1
| | | | Removed unused eText2 element.
* Set correct patchlevel in VERSION variable.treectrl2005-06-291-1/+1
|
* Fixed description of "item state get".treectrl2005-06-293-9/+9
|
* UpdateDInfoForRange: Items were not being redisplayed properly if they moved ↵treectrl2005-06-291-6/+11
| | | | to a different-sized range.
* Fixed possible performance problem with "selection clear" (hash tables get ↵treectrl2005-06-291-1/+12
| | | | bigger, but they never get smaller. It can take a while to iterate over all those empty buckets).
* More Invalidate/FreeItemDInfo fixes.treectrl2005-06-291-1/+58
| | | | Fixed a massive performance hit with "item delete all" when there were many orphan items.
* Changed references to old -open/closedbuttonimage/bitmap options.treectrl2005-06-223-10/+10
|
* Removed ElementArgs.display.pad and ElementArgs.display.squeeze which were ↵treectrl2005-06-202-8/+5
| | | | unused.
* Style_DoLayoutH: Allow column justification to occur when a -detach element ↵treectrl2005-06-201-86/+77
| | | | | | | | is larger than the non-union, non-detach elements. Previously justification would only occur if the available space was greater than that needed by the style. Style_DoLayoutH: Allow column justification to occur when elements expand horizontally. This applies when -expand and -iexpand do not specify w or e, but -iexpand does specify x, and the -maxwidth is not {}. Basically, if there is some space left over after expansion then justification will occur. Style_DoLayoutH/V: The internal padding is added to the display area of -union elements, and the internal padding is set to zero. This works in conjunction with the changes in TreeStyle_Draw and TreeStyle_UpdateWindowPositions. TreeStyle_Draw/TreeStyle_UpdateWindowPositions: Fixed bug where -union elements were not displayed if the elements they surrounded had zero height or width. Also removed ElementArgs.display.pad and ElementArgs.display.squeeze which were unused.
* Bumped revision to 2.0.1.treectrl2005-06-182-3/+3
|
* Fixed unix compile issue. [BUG 1222277]treectrl2005-06-181-8/+23
| | | | Fixed per-state-info crash [BUG 1222419]
* Removed unused variable.treectrl2005-06-151-1/+5
|