summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTheme.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-16/+14
| | | using useful casts internally.
* [Bug #3019363] "make genstubs" failurenijtmans2010-06-221-3/+2
|
* ttk::treeview widget: add 'tag names', 'tag add', and 'tag remove' methods.jenglish2010-03-281-6/+8
|
* Laxative patch: Revert contravariant const qualifiers added by thejenglish2010-02-051-2/+2
| | | | | 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-2/+2
| | | | | just as Tcl and Tk. Make more internal tables "const"
* Change signature of widget subcommand procedures to match Tcl_ObjCmdProc.jenglish2010-01-311-17/+15
| | | | Merge now-redundant ensemble dispatch code.
* Prevent zero-size malloc() calls. [Bug 2178820]dkf2009-03-251-3/+3
|
* Renamed several internal data structures and functions:jenglish2009-02-081-104/+106
| | | | | | | ElementImpl -> ElementClass, LayoutNode -> Element. Remove more unnecessary casts. Add function Ttk_ClientRegion, common factor of entry, scale, progress, and treeview widgets.
* - eliminate some unnessary type castsnijtmans2009-01-281-4/+4
| | | | | - some internal const decorations - spacing
* Disable test ttk-6.3, it's not applicable [Bug 2175411].jenglish2008-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.
* fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-13/+13
|
* [ttk::style theme use] without an argument now returns the current themepatthoyts2008-05-271-3/+40
|
* Batch of ttk::treeview enhancements:jenglish2008-05-231-31/+22
| | | | | | | | | | | + 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-15/+15
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * 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-021-2/+3
|
* Fixed crash bug in style element createpatthoyts2007-11-191-2/+2
|
* Ttk_ElementSize: Fixed longstanding, subtle bug that caused element paddingjenglish2007-11-081-3/+1
| | | | | | to sometimes be counted twice in size computations. Fix ElementSizeProcs affected by previous change.
* Revert previous change to keep in sync with Tile codebase.jenglish2007-01-111-2/+2
| | | | | | | 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-2/+2
|
* Rename typedef Ttk_Element => Ttk_ElementImpl.jenglish2006-12-101-5/+5
|
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-071-6/+3
| | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code.
* * generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:das2006-11-031-6/+6
| | | | | | | | | | | | | | | | | | | | | | | * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h: * generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c: * generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c: * generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c: * generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h: * generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure all global Ttk symbols have Ttk or ttk prefix; declare all externally visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as static when possible); so that 'make check{exports,stubs}' once again complete without errors.
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-311-0/+1719
* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n: * doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n: * doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n: * doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n: * doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n: * doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n: * doc/ttk_treeview.n, doc/ttk_widget.n,: * generic/ttk/ttk.decls, generic/ttk/ttkBlink.c: * generic/ttk/ttkButton.c, generic/ttk/ttkCache.c: * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c: * generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c: * generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c: * generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c: * generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c: * generic/ttk/ttkSquare.c, generic/ttk/ttkState.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c: * generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h: * generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h: * library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl: * library/demos/ttk_repeater.tcl: * library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl: * library/ttk/button.tcl, library/ttk/clamTheme.tcl: * library/ttk/classicTheme.tcl, library/ttk/combobox.tcl: * library/ttk/cursors.tcl, library/ttk/defaults.tcl: * library/ttk/dialog.tcl, library/ttk/entry.tcl: * library/ttk/fonts.tcl, library/ttk/icons.tcl: * library/ttk/keynav.tcl, library/ttk/menubutton.tcl: * library/ttk/notebook.tcl, library/ttk/panedwindow.tcl: * library/ttk/progress.tcl, library/ttk/scale.tcl: * library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl: * library/ttk/treeview.tcl, library/ttk/ttk.tcl: * library/ttk/utils.tcl, library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * macosx/ttkMacOSXTheme.c: * tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test: * tests/ttk/entry.test, tests/ttk/image.test: * tests/ttk/labelframe.test, tests/ttk/layout.test: * tests/ttk/misc.test, tests/ttk/notebook.test: * tests/ttk/panedwindow.test, tests/ttk/progressbar.test: * tests/ttk/scrollbar.test, tests/ttk/treetags.test: * tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: First import of Ttk themed Tk widgets as branched from tile 0.7.8 * generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk classic widgets to ::tk namespace. * library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library. * unix/Makefile.in, win/Makefile.in: add Ttk build bits * win/configure, win/configure.in: check for uxtheme.h (XP theme).