diff options
author | bll <brad.lanam.comp@gmail.com> | 2018-04-24 00:00:42 (GMT) |
---|---|---|
committer | bll <brad.lanam.comp@gmail.com> | 2018-04-24 00:00:42 (GMT) |
commit | 2b483b5d91a437873e1057c2a6c34a5e99079ba1 (patch) | |
tree | 3cb8579b2b34b4a19fc569a03bf8babb3498854b /library/ttk | |
parent | d39d277aedd02fbd22f6e49765d4c27032daceb5 (diff) | |
download | tk-2b483b5d91a437873e1057c2a6c34a5e99079ba1.zip tk-2b483b5d91a437873e1057c2a6c34a5e99079ba1.tar.gz tk-2b483b5d91a437873e1057c2a6c34a5e99079ba1.tar.bz2 |
Set the other 'option add' commands to use widgetDefault as the
priority.
Diffstat (limited to 'library/ttk')
-rw-r--r-- | library/ttk/entry.tcl | 6 | ||||
-rw-r--r-- | library/ttk/sizegrip.tcl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/ttk/entry.tcl b/library/ttk/entry.tcl index b3ebcbd..c123bc9 100644 --- a/library/ttk/entry.tcl +++ b/library/ttk/entry.tcl @@ -34,7 +34,7 @@ namespace eval ttk { ### Option database settings. # -option add *TEntry.cursor [ttk::cursor text] +option add *TEntry.cursor [ttk::cursor text] widgetDefault ### Bindings. # @@ -418,7 +418,7 @@ proc ttk::entry::DragOut {w mode} { # Suspend autoscroll. # proc ttk::entry::DragIn {w} { - ttk::CancelRepeat + ttk::CancelRepeat } ## <ButtonRelease-1> binding @@ -432,7 +432,7 @@ proc ttk::entry::Release {w} { ## AutoScroll # Called repeatedly when the mouse is outside an entry window # with Button 1 down. Scroll the window left or right, -# depending on where the mouse left the window, and extend +# depending on where the mouse left the window, and extend # the selection according to the current selection mode. # # TODO: AutoScroll should repeat faster (50ms) than normal autorepeat. diff --git a/library/ttk/sizegrip.tcl b/library/ttk/sizegrip.tcl index 153e310..24a67c6 100644 --- a/library/ttk/sizegrip.tcl +++ b/library/ttk/sizegrip.tcl @@ -9,7 +9,7 @@ switch -- [tk windowingsystem] { x11 - win32 { - option add *TSizegrip.cursor [ttk::cursor seresize] + option add *TSizegrip.cursor [ttk::cursor seresize] widgetDefault } aqua { # Aqua sizegrips use default Arrow cursor. |