| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
movements in entries and text widgets. They vary between platforms!
|
|
|
|
| |
([Bug 2917688], also fixes [Bug 2546779]).
|
| |
|
|
|
|
|
|
|
| |
+ 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].
|
|
|
|
| |
Windows 7.
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Factored out [ttk::bindMouseWheel] procedure.
|
|
|
|
|
| |
Moved most spinbox "business logic" out of ttkEntry.c into Tcl bindings.
Minor spinbox appearance improvements in clam theme.
|
| |
|
|
|
|
| |
(patch from Pat Thoyts; needed to support proper visual feedback on Vista).
|
|
|
|
| |
for each theme as needed.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add correct platform-specific cursors for OSX [Bug 2054562]
Use correct cursor for ttk::entry and ttk::combobox widgets [Bug 1534835]
|
| |
|
|
|
|
| |
font instead of hardcoded color values and deprecated native font name.
|
|
|
|
|
|
|
|
|
|
|
| |
+ 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.
|
| |
|
| |
|
|
|
|
| |
disabled
|
| |
|
|
|
|
| |
as intended [Bug 1890211]. Clarified documentation.
|
|
|
|
| |
(error if no current focus item; reported on c.l.t.)
|
|
|
|
| |
(Fixes #1442006, #1821939, #1862692)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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".
|
|
|
|
|
| |
so that patches can flow back and forth.
aquaTheme.tcl: Extra TButton -padding no longer needed.
|
| |
|
| |
|
|
|
|
| |
instead of in Post command (see #1349811 for info).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
transient on each drop to handle reparent-able frames. [Bug 1818441]
|
|
|
|
| |
since ttk::scrollbar isn't [namespace export]ed.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
platforms; correct aqua font sizes.
|
| |
|
| |
|
|
|
|
| |
platforms (mac and unix get handled in script, windows in C)
|
| |
|