summaryrefslogtreecommitdiffstats
path: root/library/ttk
Commit message (Collapse)AuthorAgeFilesLines
* TIP #359: Extended window manager hints support for X11.patthoyts2010-01-191-3/+3
| | | | | | | | | | | | | Modern unix window managers use a set of window properties to give hints as to the purpose of a toplevel window. They then use these hints to apply various animation and decoration options based on the type (dialog, menu, tooltip and more). This patch adds a [wm attributes $w -type] option to control and read the type hint and makes use of this for the ttk::combobox and the dialogs raised from the Tk library scripts. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* Centralize the definitions of what keys do particular types of left and rightdkf2010-01-061-14/+14
| | | | movements in entries and text widgets. They vary between platforms!
* Reworked ActivateTab focus selection logicjenglish2009-12-252-38/+65
| | | | ([Bug 2917688], also fixes [Bug 2546779]).
* ttk::sizegrip: Patch to avoid bizarro behavior under compiz [Bug 2912356].jenglish2009-12-231-3/+6
|
* [update] hygiene.jenglish2009-11-124-11/+11
| | | | | | | + Where possible, replace [a; update; b] with [a ; after 0 b]. + Where not possible, use [update idletasks] instead of full [update]. + Use [after 0] in favor of [after idle] for delayed work, to reduce likelihood of reentrancy issues in [update idletasks].
* [Bug 2787164] fix size of dropdown arrow on combobox and menubutton for ↵patthoyts2009-10-071-3/+18
| | | | Windows 7.
* * macosx/ttkMacOSXTheme.c: Update notebook tab appearance todas2009-07-151-4/+5
| | | | | | | | * library/ttk/aquaTheme.tcl: modern L&F; adjust tab & notebook padding and tabmargins; correct appearance of selected tree header; add support for native tree header sort arrows via user1 state. [Patch 2819620]
* Correct the ttk::treeview border on XP and Vista.patthoyts2009-02-211-2/+4
|
* * generic/ttk/ttkDefaultTheme.c: Fix color palette for radiobuttonjenglish2008-12-311-1/+3
| | | | | | | and checkbutton indicators. Fixes [Bug 2003310]; also makes "alt" theme check/radiobuttons look like Windows 98, as intended. * library/ttk/altTheme.tcl: Specify dark gray -bordercolor to soften edges.
* ttk::spinbox: Add cross-platform MouseWheel bindings.jenglish2008-12-073-27/+76
| | | | Factored out [ttk::bindMouseWheel] procedure.
* Add native aqua elements for ttk::spinbox [Bug 2219588].jenglish2008-12-072-91/+111
| | | | | Moved most spinbox "business logic" out of ttkEntry.c into Tcl bindings. Minor spinbox appearance improvements in clam theme.
* Added vista theme to iron out the visual differences between vista and XP.patthoyts2008-12-053-53/+214
|
* Add new "hover" statejenglish2008-12-031-3/+1
| | | | (patch from Pat Thoyts; needed to support proper visual feedback on Vista).
* Use a styled frame around the popdown listbox so we can adjust the border ↵patthoyts2008-11-297-14/+51
| | | | for each theme as needed.
* [Bug 1991930] combobox dropdown needs to be topmostpatthoyts2008-11-221-3/+2
|
* [Bug 1939129] combobox dropdown was drawn behind topmost toplevels.patthoyts2008-11-221-1/+3
|
* Implemented the themed spinbox widget ttk::spinbox.patthoyts2008-11-019-9/+175
|
* Expanded set of symbolic cursors.jenglish2008-10-286-37/+208
| | | | | Add correct platform-specific cursors for OSX [Bug 2054562] Use correct cursor for ttk::entry and ttk::combobox widgets [Bug 1534835]
* Implemented keyboard bindings for ttk::scalepatthoyts2008-10-171-6/+42
|
* * 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
|