summaryrefslogtreecommitdiffstats
path: root/generic/ttk
Commit message (Collapse)AuthorAgeFilesLines
* implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-0/+1
|
* Move -takefocus option out of ttkCoreOptionSpecs,jenglish2011-09-2213-33/+36
| | | | explicitly specify it on individual widgets. [Bug 3404541], [Bug 1204186].
* 3341056 Correct segfault due to flaw in the 2011-06-17 commit.dgp2011-06-291-1/+1
|
* Add comments explaining new code.bug_3062331dgp2011-06-171-0/+29
|
* New attempt to fix Bug 3062331dgp2011-06-161-0/+17
|
* Purge RCS Keywords.dgp2011-06-0838-68/+23
|
* Eliminate some unneeded write-only variables (discovered by gcc-4.6)jan.nijtmans2011-03-113-6/+3
|
* ttk::combobox: Add missing 'validate' command (reported by schelte).jenglish2011-01-221-1/+2
|
* Make sure to use CONST/VOID in stead ofnijtmans2011-01-191-12/+12
| | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
* Make sure to use CONST/VOID in stead ofnijtmans2011-01-192-23/+42
| | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
* 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-2635-1602/+2117
| | | | | | | | | | | | | | 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.
* Backport various formatting (spacing)nijtmans2010-02-073-105/+116
| | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
* Fix various gcc-4.4 warnings and formatting, allnijtmans2010-01-291-11/+11
| | | | backported from HEAD.
* generic/ttk/ttkNotebook.c: Don't call Tk_DeleteOptionTable()jenglish2009-12-161-4/+1
| | | | [Bug 2915709], backport fix for [Bug 2496162].
* Backported support for the Vista theme.patthoyts2009-05-143-4/+21
| | | | This requires the vsapi element engine, the hover state and the theme script definition.
* Prevent zero-size malloc() calls. [Bug 2178820]dkf2009-03-251-3/+3
|
* * generic/tkImgPhoto.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/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
* Don't crash when application uses nondefault visual [Bug 2264732]jenglish2008-12-221-3/+3
| | | | | | (Backport from trunk change 2008-11-11) Workaround for [Bug 2207435] (Backport from trunk change 2008-10-31)
* generic/ttk/ttkScroll.c: Don't use sprintf "%g" to format floatingjenglish2008-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".
* Audit: ensure that output arguments to Tk_Get*FromObj() are initialized,jenglish2008-07-044-17/+15
| | | | in case of erroneous style specifications [#2009213].
* Avoid passing width or height <= 0 to Tk_RedrawImage,jenglish2008-05-231-1/+7
| | | | as this leads to a panic on Windows [Bug 1967576]
* * 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]jenglish2008-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 defaultjenglish2008-02-231-9/+4
| | | | [FR 1898288]
* Make sure to schedule a redisplay when adding and/or hiding tabs [Bug 1878298].jenglish2008-01-281-2/+5
|
* BUGFIX: fix crash in [ttk::labelframe] when -style option specifiedjenglish2008-01-081-34/+37
| | | | [Bug 1867122].
* (oops. Missed a spot.)jenglish2008-01-061-11/+1
|
* Call Tk_MakeWindowExist() in widget constructor.jenglish2008-01-062-10/+6
| | | | Removed now-unnecessary initial ConfigureNotify processing.
* merge stable branch onto HEADdgp2007-12-1326-26/+26
|
* * generic/ttk/ttkTheme.c(StyleElementOptionsCmd):jenglish2007-12-121-9/+9
| | | | Use Ttk_GetElement() to find element instead of direct hash table access.
* Improved macrology for statically-initialized layout template tables.jenglish2007-12-027-75/+90
|
* Internal Ttk_Manager API updates (missed from 2007-11-25 commit)jenglish2007-12-022-19/+24
|
* Internal Ttk_Manager API updates; Fixed [Bug 1343984];jenglish2007-11-255-65/+116
| | | | | | Added [$nb hide] method; [$nb add] on already-managed windows no longer throws an error, can be used to re-add a hidden tab. Updated docs and test suite.
* Fixed crash bug in style element createpatthoyts2007-11-191-2/+2
|
* * generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c:jenglish2007-11-193-158/+85
| | | | | | | | | | | | Add "fill" element: like "background" but only erases parcel. * generic/ttk/ttkFrame.c: Use fill element in Labelframe Label sublayout. Also improved default labelmargins for -labelanchor w*, e*. * generic/ttk/ttkLabel.c: no longer need Labelframe hack. * library/ttk/aquaTheme.tcl: ImageTextElement no longer needed. TextElement no longer needs '-background' option.
* * generic/ttk/ttkFrame.c: Use sublayout for ttk::labelframe labelsjenglish2007-11-182-38/+61
| | | | | | | | instead of single element. * generic/ttk/ttkLabel.c: Default -anchor for text and label elements is now "w" instead of "center". Fixes [Bug 1614540]. * library/ttk/defaults.tcl, library/ttk/*Theme.tcl: Button styles now need explicit "-anchor center".
* BUGFIX: Ttk_GetPaddingFromObj() and Ttk_GetBorderFromObj() returned garbagejenglish2007-11-181-1/+2
| | | | when passed an empty list.
* Ttk_ElementSize: Fixed longstanding, subtle bug that caused element paddingjenglish2007-11-086-37/+54
| | | | | | to sometimes be counted twice in size computations. Fix ElementSizeProcs affected by previous change.
* + Use null "treearea" element for treeview owner-draw areajenglish2007-11-042-5/+6
| | | | | | | 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.
* * generic/ttk/ttkWidget.c: Split up RedisplayWidget()jenglish2007-10-301-63/+56
| | | | | | | | | | | | | to factor out double-buffering related code. * macosx/ttkMacOSXAquaTheme.c: Use SetThemeBackGround/ kThemeBrushModelessDialogBackground{Active|Inactive} instead of ApplyThemeBackground/kThemeBackgroundWindowHeader (advice from DAS). * library/ttk/aquaTheme.tcl: Use darker shade for inactive and disabled text, to match typical values of most kThemeXXXTextColorInactive values.
* ttk::notebook: reworked [$nb insert] logic (fixes multiple bugs; see #1817596)jenglish2007-10-251-32/+34
|
* Move widget layout registration from TtkElements_Init()jenglish2007-10-2512-271/+230
| | | | | to widget *_Init() routines. Renaming/consistency: s/...ElementGeometry()/...ElementSize()/
* * library/ttk/combobox.tcl: ttk::combobox overhaul;jenglish2007-10-221-5/+4
| | | | | | | | fixes [#1814778, #1780286, #1609168, #1349586] * library/ttk/aquaTheme.tcl: Factored out aqua-specific combobox -postposition adjustments. * generic/ttk/ttkTrack.c: Detect [grab]s and unpress pressed element; combobox workaround no longer needed.
* generic/ttk/ttkTreeview.c: Store pointer to column table entryjenglish2007-10-152-73/+39
| | | | | | | 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-152-4/+26
| | | | | | | | | | | | | | | | | | | * 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/ttkInit.c (Ttk_Init): register ttk in package databasedas2007-09-032-5/+3
| | | | | | to enable extension access to the ttkStubs table. * generic/ttk/ttkDecls.h: correct capitalization of ttk package name.