summaryrefslogtreecommitdiffstats
path: root/generic/ttk
Commit message (Collapse)AuthorAgeFilesLines
* Fix more type pun warnings (those not found by my local version of GCC)dkf2007-05-031-2/+4
| | | FossilOrigin-Name: 3ca7875ba095ca07b0e1dfbe433830ca8513b229
* * 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. FossilOrigin-Name: 1d2caf6fee392a711f86c1e4f8ed1f03fae83945
* * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-231-1/+13
| | | | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * generic/ttk/ttkWidget.c: platforms would only require implementation * unix/tkUnixScale.c: of TkpClipDrawableToRect()). FossilOrigin-Name: 8587f5212246ba9f459a48f58e15c59c4937832d
* BUGFIX (Ttk_BuildLayoutTemplate): Nested TTK_GROUP nodes did not workjenglish2007-03-211-2/+12
| | | | | | unless they appeared at the end of the layout (and only by accident then). FossilOrigin-Name: 704006e8677e72f44bbf9d32b484692c58beea44
* revert premature commitdas2007-03-071-13/+1
| | | FossilOrigin-Name: 9545288f925d807f05733d3f9dcba238b75fb944
* * generic/tkMain.c (Tk_MainEx): replicate macosx-specific code fromdas2007-03-073-2/+903
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 FossilOrigin-Name: 8d6881d600e31dd8b24298ff815f364b505008c9
* Revert previous change to keep in sync with Tile codebase.jenglish2007-01-1111-86/+75
| | | | | | | | | 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). FossilOrigin-Name: 038c60a9207d801a57a8e5c3b4594123cca5df0f
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-1111-75/+86
| | | FossilOrigin-Name: 07047209ee3fabf64df75844ccc749416e247cd7
* Revert addition of contravariant 'const' qualifiers,jenglish2007-01-1113-44/+44
| | | | | | | to keep in sync with Tile codebase (which must remain compatible with Tk 8.4). FossilOrigin-Name: b71233919f2c6cdd1bf01e99f3be0b24388c8a3e
* various "const" additions, in line with TIP #27nijtmans2007-01-0315-52/+52
| | | FossilOrigin-Name: 9d88e9902fbcb520e408f0ffbdc55d52f0faa2a6
* ImageElement clientData no longer needed.jenglish2006-12-251-22/+11
| | | FossilOrigin-Name: 92a291b856ef0fe75bbc9fbe1137e1d67ac375f8
* Remove assert() calls - Don't Panicjenglish2006-12-181-12/+6
| | | FossilOrigin-Name: 9ad473660e57329e7fc39ae19061f1719899ceac
* Big batch of ttk::treeview improvements:jenglish2006-12-182-154/+412
| | | | | | | | | | | | | | | | | 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. FossilOrigin-Name: 084a0a51310d2364f3f4c73a9304c3b432fc2956
* Add combobox -height option; only show scrollbar if the listboxjenglish2006-12-171-1/+6
| | | | | | needs to scroll [#1032869]. FossilOrigin-Name: 34d9182a3e61891b26f58fbd4b7254fba1c24a6f
* Global reduction: use per-file *_Init() routines to reducejenglish2006-12-1416-179/+211
| | | | | | the number of globally-visible initialization records. FossilOrigin-Name: 873888aaa93406d39c7a915376288c0b9352a3c7
* * generic/ttk/ttkInit.c:hobbs2006-12-133-14/+6
| | | | | | | * generic/ttk/ttkTreeview.c: make treeview exist by default * generic/ttk/ttkPanedwindow.c: s/TtkPaned_Init/TtkPanedwindow_Init/ FossilOrigin-Name: 4adcf8ae4b8f69d07e18555beda52c7230eb3e53
* Try to straighten out theme loading and selection logic.jenglish2006-12-132-2/+9
| | | FossilOrigin-Name: c778f0048be933a8fd5e2b20ec38f310875579dd
* Remove nonfunctional code and incorrect comments.jenglish2006-12-131-9/+1
| | | FossilOrigin-Name: 754bb0f389b3a50bc1a7e7687b39ec0c4e5d1399
* Rename typedef Ttk_Element => Ttk_ElementImpl.jenglish2006-12-106-23/+23
| | | FossilOrigin-Name: 1959c00b147e7594eed1ba228429a485cc852306
* Merged duplicate functionality between image element factory,jenglish2006-12-097-264/+274
| | | | | | | | image element, and -image option processing. Image element factory now takes an imageSpec argument instead of a separate image name and -map option. FossilOrigin-Name: e3da608e98ed94e4ae349bfd0e23b71010d0fda5
* Dead code removal.jenglish2006-12-012-8/+2
| | | FossilOrigin-Name: fb532f2f637bd3343d199aa59fa99dc4f0f73084
* * generic/ttk/ttkWidget.c, generic/ttk/ttkPaned.c Fix for #1603506jenglish2006-11-274-87/+75
| | | | | | | | | | * library/ttk/button.tcl, library/ttk/combobox.tcl, library/ttk/utils.tcl: Rename ttk::CopyBindings to ttk::copyBindings * generic/ttk/ttkTreeview.c, doc/ttk_treeview.n: -displaycolumns {} now means "no columns" instead of "all columns". Use -displaycolumns #all for "all columns" [Fixes #1547622]. FossilOrigin-Name: 55ed983446d1c1b57e001b62b41f44a52cdd4e83
* * library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,jenglish2006-11-242-21/+28
| | | | | | | | | | | | library/ttk/defaults.tcl, library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton * tests/ttk/entry.test: Fixed font dependency; test entry-3.2 should work on all platforms now. * library/classicTheme.tcl: Don't define or use TkClassicDefaultFont. * generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c: Handle missing layouts. FossilOrigin-Name: bcec0a6d03c28d1231062507218dbf8cf5d15de1
* Add support for alternate/indeterminate checkbutton state.jenglish2006-11-211-5/+1
| | | | | | | Fix various spacing parameters [#1596020, patch from Tim Baker]. Remove unused uxtheme hooks. FossilOrigin-Name: 717b2844921923dd935e87300698cfdb9e554d41
* Fix off-by-one bug in tree indicator size computation [#1596021,jenglish2006-11-141-7/+7
| | | | | | patch from Tim Baker]. Increased default size from 7 to 9 pixels. FossilOrigin-Name: 3dd84a3d28122190dfb92263cdd494217f2f8533
* *correct* fix for #1588251.jenglish2006-11-131-7/+9
| | | FossilOrigin-Name: 01e8b6ff8bcf33bbe6fd8818437af87c76f00d48
* Reworked cleanup procedure -- "self-cancelling" idle call is not robust,jenglish2006-11-121-15/+12
| | | | | | | call Tcl_CancelIdleCall() in TtkFreeScrollHandle instead. [fixes #1588251] FossilOrigin-Name: 39eefd1b3c192fb5f81931415b9218687d9c4e5d
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-074-17/+12
| | | | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code. FossilOrigin-Name: b0e5e0ffb2a3a61a7533fa4477fa5751811babbe
* We do not want to require tkInt in all the ttk files so added thepatthoyts2006-11-033-4/+14
| | | | | | | definition of MODULE_SCOPE to ttkTheme.h Ensure everyone gets to see the definition from someplace. FossilOrigin-Name: 45dafadbad52bdd2d728a260bacc12ef03945a84
* * generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:das2006-11-0331-623/+657
| | | | | | | | | | | | | | | | | | | | | | | | | * 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. FossilOrigin-Name: 194ccbce3f908d2343794aca69518cac59d0794e
* * macosx/Wish.xcodeproj/project.pbxproj: add new Ttk files.das2006-10-311-2/+4
| | | | | | | | | | | * macosx/ttkMacOSXTheme.c: standardize header #includes. * unix/Makefile (checkstubs, checkexports): check ttk.decls, allow export of Ttk prefixed symbols. * generic/ttk/tkDefaultTheme.c: fix warnings. FossilOrigin-Name: 0c8d1e77007bc6d1a10000f55c8c725edf857e3e
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-3137-0/+22960
* 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). FossilOrigin-Name: 7c7e532bde391eb8b36b9e412978dd5ab8facee2