summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTreeview.c
Commit message (Collapse)AuthorAgeFilesLines
* ttk::treeview: schedule redisplay when adding or removing tags [Bug 3603077].jenglish2013-02-041-0/+5
|\
| * ttk::treeview: schedule redisplay when adding or removing tags [Bug 3603077].jenglish2013-02-041-0/+5
| |
* | Merge core-8-5-branchjan.nijtmans2013-01-241-6/+6
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* | Ttk and Aqua donedkf2012-07-241-42/+44
| |
* | ttk::treeview('see' method): fix overscroll prevention [Bug 3530288]jenglish2012-07-021-1/+1
|\ \ | |/
| * ttk::treeview('see' method): fix overscroll prevention [Bug 3530288]jenglish2012-07-021-1/+1
| |
* | [Bug 3535362]: Changed name of 'unshare' internal function to avoid clash withdkf2012-06-151-4/+4
|\ \ | |/ | | some libc versions.
| * [Bug 3535362]: Changed name of 'unshare' internal function to avoid clash withdkf2012-06-151-4/+4
| | | | | | some libc versions.
* | Move -takefocus option out of ttkCoreOptionSpecs,jenglish2011-09-221-2/+1
|\ \ | |/ | | | | explicitly specify it on individual widgets. [Bug 3404541], [Bug 1204186].
| * Move -takefocus option out of ttkCoreOptionSpecs,jenglish2011-09-221-2/+1
| | | | | | | | explicitly specify it on individual widgets. [Bug 3404541], [Bug 1204186].
* | Purge RCS Keywordsdgp2011-06-081-1/+1
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-1/+1
| |
| * Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489].jenglish2010-10-111-4/+4
| |
| * TreeviewSeeCommand: Schedule redisplay if [$tv see] opens any items [#2829363]jenglish2010-09-081-1/+2
| |
| * Major backport of 8.6 Ttk for 8.5.9. Most changes were only beinghobbs2010-08-261-350/+581
| | | | | | | | | | | | | | | | | | | | | | | | | | | | committed to head (8.6), although they could apply for 8.5 as well. This re-sync makes future work easier to maintain and adds some useful work for 8.5 users. Notable changes: - Lots of code cleanup - Some bug fixes never backported - Addition of ttk::spinbox - minor color changes - Improved Vista/7 styling - Move to tile version 0.8.6 (pseudo-package) - ABI and API compatible (even $w identify) - minor new features (extended $w identify)
| * Tk_CreateBinding: Silently ignore empty binding scripts (Fixes [Bug 3006842]).jenglish2010-05-311-19/+24
| | | | | | | | ttkTreeview.c: [$tv tag bind $tag <...> {}] now removes binding.
* | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-18/+17
| | | | | | using useful casts internally.
* | Fix crash in 'tag add' / 'tag remove' when no -tags specified [SF#3085489].jenglish2010-10-111-4/+4
| |
* | TreeviewSeeCommand: Schedule redisplay if [$tv see] opens any items [#2829363]jenglish2010-09-081-1/+2
| |
* | ttk::treeview: [$tv tag bind $tag <...> {}] now removes binding completely.jenglish2010-05-271-17/+22
| | | | | | | | | | Fixes [Bug 3006842] (although there's still a problem somewhere in Tk_CreateBinding()).
* | ttk::treeview widget: add 'tag names', 'tag add', and 'tag remove' methods.jenglish2010-03-281-2/+102
| |
* | ttk::treeview: Cache the result of the last call to EndPosition()jenglish2010-02-201-10/+30
| | | | | | | | | | | | | | to avoid quadratic-time behavior in the common cases where the treeview is populated in depth-first or breadth-first order. (Translation for LM: that means "3X faster!")
* | Laxative patch: Revert contravariant const qualifiers added by thejenglish2010-02-051-7/+7
| | | | | | | | | | previous commit to keep codebase in sync with the Tile extension, which must remain 8.4 compatible.
* | Make the various stub tables and hook pointers const,nijtmans2010-02-051-7/+7
| | | | | | | | | | just as Tcl and Tk. Make more internal tables "const"
* | Change signature of widget subcommand procedures to match Tcl_ObjCmdProc.jenglish2010-01-311-69/+61
| | | | | | | | Merge now-redundant ensemble dispatch code.
* | fix more gcc warnings: missing initializernijtmans2010-01-221-3/+4
| | | | | | | | | | | | | | Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* | Renamed several internal data structures and functions:jenglish2009-02-081-14/+11
| | | | | | | | | | | | | | ElementImpl -> ElementClass, LayoutNode -> Element. Remove more unnecessary casts. Add function Ttk_ClientRegion, common factor of entry, scale, progress, and treeview widgets.
* | ttk::treeview: Fix inconsistent use of treeArea / headingArea;jenglish2008-12-271-28/+32
| | | | | | | | fixes [#2381555] ([$tv identify] didn't work when horizontally scrolled).
* | Ttk widget initializeProc()s now return void instead ofjenglish2008-11-091-4/+2
| | | | | | | | | | a status code, and are no longer allowed to fail. (Fix for #2207435 in progress).
* | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-4/+4
| |
* | * generic/ttk/ttkTreeview.c: fix warning.das2008-06-121-3/+4
| |
* | NSCjenglish2008-06-011-3/+3
| |
* | fix warningdas2008-05-231-2/+3
| |
* | Batch of ttk::treeview enhancements:jenglish2008-05-231-237/+354
| | | | | | | | | | | | | | | | | | | | | | + Added [$tv identify region], [$tv identify element], and [$tv identify item] subcommands. + Simplified bindings. + Added [$tv tag has] subcommand. + Tag-related display improvements: setting a tag -background or -foreground no longer overrides selection feedback. + Don't need separate 'Item', 'Cell', and 'Row' style settings anymore, only the base "Treeview" style is used.
* | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-3/+3
|/
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* Improved macrology for statically-initialized layout template tables.jenglish2007-12-021-21/+16
|
* Ttk_ElementSize: Fixed longstanding, subtle bug that caused element paddingjenglish2007-11-081-3/+5
| | | | | | to sometimes be counted twice in size computations. Fix ElementSizeProcs affected by previous change.
* + Use null "treearea" element for treeview owner-draw areajenglish2007-11-041-3/+4
| | | | | | | instead of "client", to avoid nameclash with Notebook.client element. This was causing sizing anomalies in XP theme, and introduced extraneous padding. + "alt" theme Treeitem.indicator element needs left margin now.
* Move widget layout registration from TtkElements_Init()jenglish2007-10-251-2/+2
| | | | | to widget *_Init() routines. Renaming/consistency: s/...ElementGeometry()/...ElementSize()/
* generic/ttk/ttkTreeview.c: Store pointer to column table entryjenglish2007-10-151-50/+38
| | | | | | | instead of column index in columnNames hash table. This avoids the need for the evil PTR2INT and INT2PTR macros, and simplifies things a bit.
* * generic/tkArgv.c: Fix gcc warnings about 'cast to/fromdas2007-10-151-3/+3
| | | | | | | | | | | | | | | | | | | * generic/tkCanvUtil.c: pointer from/to integer of different * generic/tkCanvas.c: size' on 64-bit platforms by casting * generic/tkCursor.c: to intermediate types * generic/tkInt.h: intptr_t/uintptr_t via new PTR2INT(), * generic/tkListbox.c: INT2PTR(), PTR2UINT() and UINT2PTR() * generic/tkObj.c: macros. * generic/tkStyle.c: * generic/tkTextIndex.c: * generic/tkUtil.c: * generic/ttk/ttkTheme.h: * generic/ttk/ttkTreeview.c: * unix/tkUnixMenu.c: * unix/configure.in: * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
* * generic/ttk/ttkTreeview.c(TagOptionSpecs): Use TK_OPTION_STRINGjenglish2007-04-281-4/+4
| | | | instead of TK_OPTION_FONT to avoid resource leak in tag management.
* * generic/tkMain.c (Tk_MainEx): replicate macosx-specific code fromdas2007-03-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | TkpInit() that ensures the console window appears when wish is started from the OS X Finder (i.e. with stdin == /dev/null), jeffh's 2006-11-24 change rendered the corresponding code in TkpInit() ineffective in wish because Tk_MainEx() sets tcl_interactive before calling TkpInit(). * generic/ttk/ttkGenStubs.tcl (new): add ttk-specific genstubs.tcl from * unix/Makefile.in (genstubs): tile and run it from 'genstubs' target, restores ability to generate all of Tk's stub sources. * generic/ttk/ttkTreeview.c: #ifdef out unused declaration. * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): add fix for libraries loaded with a DYLD_IMAGE_SUFFIX. * macosx/Wish.xcodeproj/project.pbxproj: ensure gcc version used by * macosx/Wish.xcodeproj/default.pbxuser: Xcode and configure/make are * macosx/Wish-Common.xcconfig: consistent and independent of gcc_select default and CC env var; fixes for Xcode 3.0. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.59
* Revert previous change to keep in sync with Tile codebase.jenglish2007-01-111-3/+3
| | | | | | | The minor warnings from GCC fixed in the previous revision were false positives due to improper use of "-Wconversion". Still compiles cleanly with "gcc -Wall -Werror" (gcc 3.3.5).
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-3/+3
|
* Revert addition of contravariant 'const' qualifiers,jenglish2007-01-111-6/+6
| | | | | to keep in sync with Tile codebase (which must remain compatible with Tk 8.4).
* various "const" additions, in line with TIP #27nijtmans2007-01-031-6/+6
|
* Remove assert() calls - Don't Panicjenglish2006-12-181-12/+6
|
* Big batch of ttk::treeview improvements:jenglish2006-12-181-153/+405
| | | | | | | | | | | | | | | Added column '-stretch' and '-minwidth' options. Improved column drag and resize behavior. Added horizontal scrolling [#1518650]. Row height and child indent specifiable on Treeview style. Decreased default row height, no default -padding. Use correct heading height [#1163349]. Apply tag settings to tree item as well as to data columns [NOTE: 'tag configure' still buggy]. Fix off-by-one condition when moving nodes forward [#1618142] Prevent overscroll ([#1173434]) Treeview style settings specified separately in each theme. Added disclosure triangle element in aqua theme.