but then I do not know how to take away the Focus from a widget without another widget having the focus.
a window is a widget
perl -MTk -e " $mw = tkinit; $b = $mw->Button(-command=>sub{$mw->focus +})->pack; $b->focus; MainLoop "
In reply to Re^3: Tk - Focus & Mouse - On & Off
by Anonymous Monk
in thread Tk - Focus & Mouse - On & Off
by merrymonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |