summaryrefslogtreecommitdiffstats
path: root/library/ttk
Commit message (Collapse)AuthorAgeFilesLines
* * library/ttk/aquaTheme.tcl: Use system color names and TIP145 nameddas2008-07-221-16/+18
| | | | font instead of hardcoded color values and deprecated native font name.
* Batch of ttk::treeview enhancements:jenglish2008-05-238-95/+49
| | | | | | | | | | | + 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.
* Add correct border to combobox on Vistapatthoyts2008-05-151-1/+24
|
* BUGFIX: [$tv selection] takes a list of items, not a single item [Bug 1951733].jenglish2008-04-251-2/+2
|
* Don't resize the window if the toplevel is not resizable or the sizegrip is ↵patthoyts2008-04-041-3/+19
| | | | disabled
* Fix the foreground colour for labelframe in xppatthoyts2008-04-031-2/+2
|
* Arrange to deliver <<ComboboxSelected>> event after listbox is unposted,jenglish2008-02-231-2/+2
| | | | as intended [Bug 1890211]. Clarified documentation.
* library/treeview.tcl: Fix bug in Shift-ButtonPress-1 bindingjenglish2008-01-301-2/+2
| | | | (error if no current focus item; reported on c.l.t.)
* Fix MouseWheel bindings for ttk::treeview widgetjenglish2008-01-062-18/+64
| | | | (Fixes #1442006, #1821939, #1862692)
* merge stable branch onto HEADdgp2007-12-1314-14/+14
|
* s/style/ttk::style/jenglish2007-12-082-63/+61
|
* * generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c:jenglish2007-11-191-7/+1
| | | | | | | | | | | | 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-187-26/+28
| | | | | | | | 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".
* ttkMacOSXTheme.c: Resynchronize with Tile codebasejenglish2007-11-181-3/+3
| | | | | so that patches can flow back and forth. aquaTheme.tcl: Extra TButton -padding no longer needed.
* Add mandatory 8.5-isms.jenglish2007-11-171-3/+3
|
* Swap in core scrollbars for [ttk::scrollbar]s on OSX.jenglish2007-11-171-1/+19
|
* * library/ttk/combobox.tcl: Set focus to listbox in <Map> bindingjenglish2007-11-061-5/+8
| | | | instead of in Post command (see #1349811 for info).
* BUGFIX: Unpost can be called with no preceding Post.jenglish2007-10-311-2/+4
|
* use size -12 TkFixedFont (was -10)hobbs2007-10-301-2/+2
|
* * generic/ttk/ttkWidget.c: Split up RedisplayWidget()jenglish2007-10-301-2/+2
| | | | | | | | | | | | | 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.
* use Monaco 11 (was 9) as Aqua TkFixedFonthobbs2007-10-301-2/+2
|
* * tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:hobbs2007-10-301-2/+2
| | | | | | | | | | | | | | | | * library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl: * library/msgbox.tcl, library/optMenu.tcl, library/tclIndex: * library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt: * library/demos/tcolor, library/demos/text.tcl: * library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look * library/ttk/fonts.tcl: Update of Tk default look in 8.5 * macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look * unix/tkUnixDefault.h: with minor modifications for Win32/Aqua. * win/tkWinDefault.h: Uses Tk*Font definitions throughout for * win/tkWinFont.c: classic widgets. [Bug #1820344] * library/obsolete.tcl (::tk::classic::restore): This restores changes made to defaults in 8.5 using the 'option' command, segmented into logical groups.
* * library/ttk/combobox.tcl: Make popdown window [wm resizable 0 0]jenglish2007-10-282-39/+41
| | | | | | | on OSX, to prevent TkAqua from shrinking the scrollbar to make room for a grow box that isn't there. * macosx/ttkMacOSXTheme.c, library/ttk/aquaTheme.tcl: Reworked combobox layout.
* * library/ttk/combobox.tcl (ttk::combobox::PopdownWindow): redo wmhobbs2007-10-231-7/+17
| | | | transient on each drop to handle reparent-able frames. [Bug 1818441]
* [namespace import ::ttk::scrollbar] doesn't work,jenglish2007-10-231-4/+7
| | | | since ttk::scrollbar isn't [namespace export]ed.
* * library/ttk/combobox.tcl: ttk::combobox overhaul;jenglish2007-10-223-104/+133
| | | | | | | | 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.
* * library/ttk/fonts.tcl: check for TIP #145 fonts on alldas2007-10-211-28/+21
| | | | platforms; correct aqua font sizes.
* Clean up stale comments.jenglish2007-10-211-13/+8
|
* s/style/ttk::style/jenglish2007-10-191-25/+22
|
* * library/ttk/fonts.tcl: Create all the tip 145 font names on allpatthoyts2007-10-181-1/+22
| | | | platforms (mac and unix get handled in script, windows in C)
* s/style/ttk::style/jenglish2007-10-162-56/+55
|
* Fix private routines accidentally defined in global namespace [Bug 1803836]jenglish2007-09-301-3/+3
|
* Try to improve combobox appearance on OSX + Tk 8.5 [#1780286].jenglish2007-09-171-40/+65
|
* Explicitly set -anchor w for TMenubuttons [#1614540]jenglish2007-07-061-1/+2
| | | | CVS :----------------------------------------------------------------------
* * library/ttk/ttk.tcl: should require Tk before pseudo-providinghobbs2007-06-211-2/+2
| | | | tile 0.8.0.
* Ttk_Manager API overhaul:jenglish2007-06-091-3/+3
| | | | | | | | | | | + Ttk_Manager no longer responsible for managing slave records + Ttk_Manager structure now opaque + Ttk_Slave structure now private + Pass Ttk_Manager * to Tk_GeomMgr hooks instead of Ttk_Slave * ttk::labelframe: Simplified -labelwidget management. ttk::noteboook 'insert' command didn't correctly maintain current tab. Changed documentation of ttk::panedwindow 'identify' command to match implementation.
* Removed ttk::dialog and dependencies.jenglish2007-05-254-544/+1
|
* TIP #145 implementationpatthoyts2007-05-041-8/+11
|
* * library/ttk/panedwindow.tcl (ttk::panedwindow::Press): handlehobbs2007-04-131-2/+2
| | | | Press triggering outside sash element boundaries.
* inverted logic in previous commitdas2007-02-241-3/+3
|
* * library/ttk/notebook.tcl (ttk::notebook::enableTraversal): OS Xhobbs2007-02-241-3/+8
| | | | needs Option instead of Alt binding
* Add no-op [package ifneeded] script for tile 0.8.0,jenglish2007-02-061-1/+4
| | | | | so that existing applications that use "package require tile" won't fail when run under Tk 8.5.
* Big batch of ttk::treeview improvements:jenglish2006-12-188-52/+108
| | | | | | | | | | | | | | | 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.
* Add combobox -height option; only show scrollbar if the listboxjenglish2006-12-171-3/+6
| | | | needs to scroll [#1032869].
* Try to straighten out theme loading and selection logic.jenglish2006-12-133-94/+116
|
* Remove nonfunctional code and incorrect comments.jenglish2006-12-131-39/+1
|
* * library/ttk/fonts.tcl: Clean up temporary variables.jenglish2006-11-281-45/+51
|
* * generic/ttk/ttkWidget.c, generic/ttk/ttkPaned.c Fix for #1603506jenglish2006-11-273-12/+37
| | | | | | | | * 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].
* * library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,jenglish2006-11-247-27/+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.
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-074-43/+25
| | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code.