summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* New command "item compare", "compare" is deprecated.treectrl2005-05-131-63/+151
| | | | | | | | | 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.
* Use STATIC_ALLOC macro.treectrl2005-05-131-7/+5
|
* Fixed display not redrawing when deleting columns if columns had same width.treectrl2005-05-131-1/+22
|
* -treecolumn requires real column or "", not an int.treectrl2005-05-131-12/+21
| | | | itemPrefix, columnPrefix, nextColumnId added.
* New option -columnprefix changes how column ids look.treectrl2005-05-131-144/+33
| | | | | | | | New option -itemprefix changes how item ids look. The -treecolumn option must be an actual column. Previously it was any integer which defaulted to zero; now it must be specified. "identify" command result contains column id, not index. Moved dragSpecs to tkTreeColumn.c. Moved "columndrag" commands to tkTreeColumn.c.
* The result of "column create" is now a unique identifier.treectrl2005-05-131-51/+669
| | | | | | | | | | | | Moved "columndrag configure" and "columndrag cget" to the toplevel column command -> "column dragconfigure" and "column dragcget". Added custom option type for processing configuration options which expect a tree column. Columns may be specified in a robust way similar to item descriptions. Previously only -tag and visible index were supported. New command "column compare" should be used to see if two column descriptions refer to the same column. "column configure" accepts column description of "all" as long as one or more option-value pairs are given. "column delete" accepts column description of "all". New command "column id" resolves column description into a unique identifier. "column index" is deprecated. New command "column list" gives list of columns. New command "column order" gives index of column in the list of columns.
* Removed a bunch of conditional-compilation stuff and dead code.treectrl2005-05-118-654/+154
|
* Added arg to Ellipsis to force ellipsis.treectrl2005-05-101-12/+856
| | | | | | XImage2Photo added to support column drag-and-drop reordering. Truncation with "..." is less aggressive when space is available. Moved PerState stuff from tkTreeElem.c.
* Changed name of assoc data from TreeTheme to TreeCtrlTheme for consistency ↵treectrl2005-05-101-2/+2
| | | | with other calls to Tcl_SetAssocData.
* Fixed bug with column -justify center|right and horizontal expansion. ↵treectrl2005-05-101-94/+247
| | | | | | Elements could be shifted out of view. Added code to support new "window" element type.
* New <ItemDelete> event.treectrl2005-05-101-1/+64
|
* Changes for new -buttonimage and -buttonbitmap per-state options.treectrl2005-05-101-79/+327
| | | | | | | | 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.
* Added new "window" element type.treectrl2005-05-101-48/+12
| | | | | Moved PerState declarations to tkTreeCtrl.h. Changes to ElementArgs to support new "window" element type (or any other element type which changes itself outside of configure).
* Added new "window" element type.treectrl2005-05-101-706/+752
| | | | | Moved ObjectIsEmpty() and PerState stuff to tkTreeUtils.c. Renamed ElementType callbacks for consistency.
* Keep a list of free DItems to reduce memory alloc/free.treectrl2005-05-101-2/+129
| | | | | Maintain a list of visible items to support new "window" element type. Fixed bug where buttons and lines could be drawn over another column if the -treecolumn was very narrow.
* Replaced -openbuttonbitmap, -closedbuttonbitmap, -openbuttonimage, and ↵treectrl2005-05-101-25/+148
| | | | | | | | | -closedbuttonimage with per-state options -buttonbitmap and -buttonimage. Added -minitemheight option. Drag-and-drop column reordering now supported. Added "columndrag" command. Moved PerState stuff from tkTreeElem.h. Various declarations.
* Replaced -openbuttonbitmap, -closedbuttonbitmap, -openbuttonimage, and ↵treectrl2005-05-101-185/+248
| | | | | | | | -closedbuttonimage with per-state options -buttonbitmap and -buttonimage. Added -minitemheight option. Drag-and-drop column reordering now supported. Added "columndrag" command. Fixed bug where some options would not be properly processed when a treectrl was created. This was only a problem when the option database changed the defaults.
* Changed -background option to a per-state option.treectrl2005-05-101-367/+1079
| | | | | | | | Added -arrowimage and -arrowbitmap per-state options. Replaced -arrowpad with -arrowpadx and -arrowpady. Multi-line column titles now supported. Added -textlines option. Replaced -relief and -sunken options with -state. Drag-and-drop column reordering now supported.
* * generic/tkTreeTheme.c: correct headers to build on unix and usehobbs22005-05-021-6/+11
| | | | of c++-style var decls.
* Initial import of Theme API file.treectrl2005-05-011-0/+657
|
* Bumped copyright to 2005.treectrl2005-05-011-8/+13
| | | | | Use new TreeElement_TypeFromObj. Changed comparison against elemTypeText because ElementTypes are now malloc'd.
* Bumped copyright to 2005.treectrl2005-05-013-6/+6
|
* Bumped copyright to 2005.treectrl2005-05-011-7/+17
| | | | | Don't draw horizontal line unless it connects to a vertical line. Use new Theme API to draw buttons.
* Bumped copyright to 2005.treectrl2005-05-011-4/+3
| | | | | Removed declaration of elementTypeList. Added declaration of TreeElement_TypeFromObj.
* Bumped copyright to 2005.treectrl2005-05-011-23/+97
| | | | Replaced global elementTypeList with multi-interp friendly code. Problem was ElementType contained per-interp Tk_OptionTables.
* Bumped copyright to 2005.treectrl2005-05-011-2/+2
|
* Bumped copyright to 2005.treectrl2005-05-011-2/+3
| | | | Force redraw of header in Tk_RelayoutWindow.
* Bumped copyright to 2005.treectrl2005-05-011-3/+22
| | | | | Added -usetheme option. Various declarations for Theme API.
* Bumped copyright to 2005.treectrl2005-05-011-7/+68
| | | | | | | | Added -usetheme option. "identify" command returns empty string if point is not inside borders. Was only a problem in the header. Fixed bug where open/closedButtonWidth/Height were not always updated. Use Theme API to get size of buttons. Initialize Theme stuff.
* Bumped copyright to 2005.treectrl2005-05-011-5/+52
| | | | | | Removed call to Tk_Draw3DRectangle() since Tk_Fill3DRectangle() calls it for us. Added -state option. Draw column headers using the Theme API.
* Bumped copyright to 2005.treectrl2005-05-012-4/+4
|
* Removed spurious '\' character.treectrl2005-03-291-2/+2
|
* Added %P and %? %-substitution characters.treectrl2005-03-291-6/+39
|
* New -showrootlines config option.treectrl2005-03-291-2/+25
| | | | Don't draw horizontal line to self unless it connects to a vertical line or our button.
* New -showrootlines config option.treectrl2005-03-291-1/+4
| | | | Declare TreeItem_NextSiblingVisible.
* New -showrootlines config option.treectrl2005-03-291-2/+9
| | | | Check for visible next sibling before reporting "line" in "identify" command.
* Fix "column width" to update layout if needed.treectrl2005-03-291-2/+2
|
* Declare QE_ExpandPattern.treectrl2005-03-291-1/+2
|
* Added optional percentsCommand argument "notify generate".treectrl2005-03-291-338/+498
| | | | | | | | Strip duplicate characters from charMap argument to "notify generate". New syntax: "notify install pattern ?percentsCommand?", old syntax still supported but deprecated. New syntax: "notify linkage pattern", old syntax still supported but deprecated. New syntax: "notify uninstall pattern", old syntax still supported but deprecated. Added QE_ExpandPattern to turn %-char into a <event-detail> string.
* * Makefile.in, generic/tkTreeCtrl.h: OS X patch fromhobbs22005-03-251-1/+9
| | | | | * configure, configure.ac, tclconfig/tcl.m4: Steffen * license.terms (new):
* * generic/tkTreeItem.c (CompareAscii, CompareDict): handle thehobbs22005-02-151-10/+34
| | | | case where no text value has been set for sorting
* whitespace only changes to bring up to Tcl style guide compliancehobbs22005-02-151-3519/+3304
|
* Macintosh drawing fixes.treectrl2005-01-031-1/+10
|
* New -backgroundimage option.treectrl2005-01-031-3/+15
| | | | Macintosh drawing fix.
* New -backgroundimage option.treectrl2005-01-031-2/+30
| | | | Relayout tree when -highlightthickness changes.
* New -backgroundimage option.treectrl2005-01-031-15/+209
| | | | | Fixed display bugs with "-doublebuffer window". Macintosh drawing fixes.
* New -backgroundimage option.treectrl2005-01-031-1/+15
|
* Fix bug with binding to a Tk window.treectrl2005-01-031-27/+43
| | | | Fix "configure -active" command to return configuration value.
* * generic/tkTreeItem.c (TreeItem_FromObj): s/MOD_/TMOD_ to preventhobbs22004-11-301-27/+28
| | | | existing defined name conflict
* * generic/tkTreeElem.c: add "Elem" to a few names to prevent namehobbs22004-11-301-11/+11
| | | | collision (notable CreateBitmap on Windows).