| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Added additional flags to the vsapi element engine to enable specifying
the system metrics to use when calculating the size of certain elements.
This was being done already for the XP theme but the scripted definitions
using the vsapi engine for vista/win7 could not use such flags.
This fixes scrollbars not reflecting the users configured scrollbar size.
Reported-by: Mark Garvey <dunkfan@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added additional flags to the vsapi element engine to enable specifying
the system metrics to use when calculating the size of certain elements.
This was being done already for the XP theme but the scripted definitions
using the vsapi engine for vista/win7 could not use such flags.
This fixes scrollbars not reflecting the users configured scrollbar size.
Reported-by: Mark Garvey <dunkfan@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
If a button is disabled while the state is pressed, then the release
event handler did not remove the pressed state. Modified the handler
to always remove the pressed state while only calling invoke if
!disabled.
Reported-by: Thomas MENEZ <thomasmenez@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a button is disabled while the state is pressed, then the release
event handler did not remove the pressed state. Modified the handler
to always remove the pressed state while only calling invoke if
!disabled.
Reported-by: Thomas MENEZ <thomasmenez@users.sourceforge.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
|
| |
| |
| |
| | |
Specify disabled combobox text foreground color [#3057573].
|
| |
| |
| |
| | |
instead of virtual events.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
committed to head (8.6), although they could apply for 8.5 as well.
This re-sync makes future work easier to maintain and adds some
useful work for 8.5 users. Notable changes:
- Lots of code cleanup
- Some bug fixes never backported
- Addition of ttk::spinbox
- minor color changes
- Improved Vista/7 styling
- Move to tile version 0.8.6 (pseudo-package)
- ABI and API compatible (even $w identify)
- minor new features (extended $w identify)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Windows 7.
|
| |
| |
| |
| | |
This requires the vsapi element engine, the hover state and the theme script definition.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
font instead of hardcoded color values and deprecated native font name.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Specify disabled combobox text foreground color [#3057573].
|
| | |
|
| |
| |
| |
| |
| |
| | |
* library/ttk/entry.tcl: explicitly do nothing, since Tk-on-Cocoa will
generate (invisible zero-width) characters for them otherwise. The
explicitly empty bindings are harmless on other platforms.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|