summaryrefslogtreecommitdiffstats
path: root/library/ttk
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* In a safe interp there is no osVersion field in tcl_platform so work around it.patthoyts2006-11-031-6/+15
|
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-3125-0/+3906
* 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).