summaryrefslogtreecommitdiffstats
path: root/generic/ttk
Commit message (Collapse)AuthorAgeFilesLines
* Uniform, extensible syntax for [$w identify] methods:jenglish@flightlab.com2009-11-013-46/+97
| | | | | | | | | | [$w identify $component $x $y]. All ttk::* widgets support [$w identify element $x $y]; widgets with other identifiable parts may have additional subcommands. Notebook widgets support [$nb identify tab], Panedwindow widgets support [$w identify sash]. Older 2-argument form [$w identify $x $y] still supported, though it does different things depending on the widget.
* Eliminate various gcc warningsnijtmans2009-08-091-10/+10
| | | | include <vssym32.h> only when available
* BUGFIX: last commit did not account for possibility of 0 tabs.jenglish@flightlab.com2009-05-171-17/+20
|
* generic/ttkNotebook.c: More flexible tab placement [Bug 1470246]jenglish@flightlab.com2009-05-171-23/+42
|
* Prevent zero-size malloc() calls. [Bug 2178820]donal.k.fellows@manchester.ac.uk2009-03-251-3/+3
|
* ElementStateEventProc: Avoid dangling pointers when layout changesjenglish@flightlab.com2009-02-092-17/+26
| | | | [Fix for #2431428].
* Renamed several internal data structures and functions:jenglish@flightlab.com2009-02-0816-277/+283
| | | | | | | ElementImpl -> ElementClass, LayoutNode -> Element. Remove more unnecessary casts. Add function Ttk_ClientRegion, common factor of entry, scale, progress, and treeview widgets.
* * generic/tkImgPhInstance.c: fix numerous leaks discovered with thedas2009-02-061-1/+4
| | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/tkUtil.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
* - eliminate some unnessary type castsnijtmans2009-01-284-16/+16
| | | | | - some internal const decorations - spacing
* ttkNotebook.c(NotebookCleanup): Don't call Tk_DeleteOptionTable(),jenglish@flightlab.com2009-01-111-4/+1
| | | | it's unnecessary and quite possibly harmful [Bug 2496162].
* * generic/ttk/ttkDefaultTheme.c: Fix color palette for radiobuttonjenglish@flightlab.com2008-12-311-95/+62
| | | | | | | and checkbutton indicators. Fixes [Bug 2003310]; also makes "alt" theme check/radiobuttons look like Windows 98, as intended. * library/ttk/altTheme.tcl: Specify dark gray -bordercolor to soften edges.
* ttk::treeview: Fix inconsistent use of treeArea / headingArea;jenglish@flightlab.com2008-12-271-28/+32
| | | | fixes [#2381555] ([$tv identify] didn't work when horizontally scrolled).
* fix 'make checkstubs' failure: make TtkEntry_Init MODULE_SCOPEdas2008-12-151-2/+2
|
* Remove leftover commented-out code, mistakenly included in last commitjenglish@flightlab.com2008-12-111-2/+1
|
* Add native aqua elements for ttk::spinbox [Bug 2219588].jenglish@flightlab.com2008-12-071-291/+126
| | | | | Moved most spinbox "business logic" out of ttkEntry.c into Tcl bindings. Minor spinbox appearance improvements in clam theme.
* Fix potential null dereference flagged by clang static analyzerdas2008-12-071-2/+2
|
* Add new "hover" statejenglish@flightlab.com2008-12-033-4/+21
| | | | (patch from Pat Thoyts; needed to support proper visual feedback on Vista).
* Widget self-destruction is not necessarily an error [Bug 2298720].jenglish@flightlab.com2008-11-162-8/+7
|
* ttkWidget.c: Reworked widget construction and destruction sequence;jenglish@flightlab.com2008-11-132-109/+129
| | | | | | | fixes [#2207435] and several other problems discovered during investigation of same. ttkButton.c(CheckbuttonInitialize): Account for initializeProc being called earlier in the construction sequence now.
* Don't crash when application uses nondefault visual [#2264732].jenglish@flightlab.com2008-11-111-3/+2
|
* Ttk widget initializeProc()s now return void instead ofjenglish@flightlab.com2008-11-0911-49/+30
| | | | | a status code, and are no longer allowed to fail. (Fix for #2207435 in progress).
* Remove unnecessary casts from ttkWidget.c.jenglish@flightlab.com2008-11-091-15/+14
| | | | (More remain in other files; will get to those later).
* ttkEntry.c: fix warning: unused variable 'currentValue'nijtmans2008-11-031-14/+13
| | | | tkOldTest.c: fix warning: assignment discards qualifiers from pointer target type
* more internal -Wwrite-strings warning fixesnijtmans2008-11-023-18/+18
|
* Implemented the themed spinbox widget ttk::spinbox.patthoyts@users.sourceforge.net2008-11-011-68/+350
|
* Temporary workaround for [Bug 2207435]jenglish@flightlab.com2008-10-311-1/+2
|
* Disable test ttk-6.3, it's not applicable [Bug 2175411].jenglish@flightlab.com2008-10-241-10/+5
| | | | | | Use different Tcl_AssocData key for Ttk so the tile extension can be loaded into an 8.6 interp, in the off-chance that anyone wants to do this.
* Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-223-43/+43
| | | | broken since 8.4 and no-one complained about it.
* generic/ttk/ttkScroll.c: Don't use sprintf "%g" to format floatingjenglish@flightlab.com2008-08-191-11/+11
| | | | | point numbers in -[xy]scrollcommand callbacks or [xy]view methods. Minor incompatibility: 0 and 1 now formatted as "0.0" resp "1.0".
* fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-235-32/+32
|
* Audit: ensure that output arguments to Tk_Get*FromObj() are initialized,jenglish@flightlab.com2008-07-044-17/+15
| | | | in case of erroneous style specifications [#2009213].
* * generic/ttk/ttkTreeview.c: fix warning.das2008-06-121-3/+4
|
* NSCjenglish@flightlab.com2008-06-011-3/+3
|
* [ttk::style theme use] without an argument now returns the current themepatthoyts@users.sourceforge.net2008-05-271-3/+40
|
* fix warningdas2008-05-231-2/+3
|
* Batch of ttk::treeview enhancements:jenglish@flightlab.com2008-05-237-334/+567
| | | | | | | | | | | + 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.
* Avoid passing width or height <= 0 to Tk_RedrawImage,jenglish@flightlab.com2008-05-231-1/+7
| | | | as this leads to a panic on Windows [Bug 1967576]
* Get rid of pre-C89-isms (esp. CONST vs const).donal.k.fellows@manchester.ac.uk2008-04-2712-69/+69
|
* * generic/tkStubLib.c: make symbols in libtkstub.a MODULE_SCOPE todas2008-04-021-4/+2
| | | | | | | | | avoid exporting them from libraries that link with -ltkstub; constify tk*StubsPtr and stub table hook pointers. [Bug 1819422] * generic/tkStubLib.c: undef USE_TCL_STUBS before defining it * generic/ttk/ttkStubLib.c: unconditionally; remove needless #ifdef
* * generic/ttk/ttkStubLib.c: ensure tcl stubs are used in libtkstubdas2008-03-272-4/+14
| | | | | | even in a static build of Tk. * generic/ttk/ttkDecls.h: fix incorrect number of arguments in Ttk_InitStubs macro definition.
* Keep ttkStubLib.o in libtkstub instead of libtk. [Bug 1920030]jenglish@flightlab.com2008-03-211-3/+4
|
* ensure symbols needed for Ttk stub support are exporteddas2008-03-191-4/+3
|
* Don't enforce minimum sash thickness of 5 pixels, just use 5 as a defaultjenglish@flightlab.com2008-02-231-9/+4
| | | | [FR 1898288]
* Make sure to schedule a redisplay when adding and/or hiding tabs [Bug 1878298].jenglish@flightlab.com2008-01-281-2/+5
|
* BUGFIX: fix crash in [ttk::labelframe] when -style option specifiedjenglish@flightlab.com2008-01-081-34/+37
| | | | [Bug 1867122].
* (oops. Missed a spot.)jenglish@flightlab.com2008-01-061-11/+1
|
* Call Tk_MakeWindowExist() in widget constructor.jenglish@flightlab.com2008-01-062-10/+6
| | | | Removed now-unnecessary initial ConfigureNotify processing.
* merge stable branch onto HEADdgp@users.sourceforge.net2007-12-1326-26/+26
|
* * generic/ttk/ttkTheme.c(StyleElementOptionsCmd):jenglish@flightlab.com2007-12-121-9/+9
| | | | Use Ttk_GetElement() to find element instead of direct hash table access.
* Improved macrology for statically-initialized layout template tables.jenglish@flightlab.com2007-12-027-75/+90
|