Change Notification For
[Ttk::button -takefocus option influences <Button-1>]
comment: A ttk::button which has -takefocus 1, will get the focus on a
<ButtonPress-1> event. This is inconsistent with normal -takefocus
behaviour, which only governs keyboard traversal with <Tab>.
Even if this is intentional for ttk, it is inconsistent with the ttk
documentation which says:
-takefocus: Determines whether the window accepts the focus during
keyboard traversal. Either 0, 1, a command prefix (to which the widget
path is appended, and which should return 0 or 1), or the empty
string. See options(n) in the Tk reference manual for the full
Note that fixing this would also fix  and .
See also [http://wiki.tcl.tk/20050].
Get latest updates about Open Source Projects, Conferences and News.