Re: [[wxPython] Focus?]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [[wxPython] Focus?]

Niki Spahiev-3
Gary Strangman <[hidden email]> wrote:

>2)  The other situation is that the play/stop buttons continue to work,
>but keyboard events cease being captured.  Usually, hiding the window
>(i.e., selecting another program) and then re-selecting the wxPython app
>restores the keyboard capturing.

Clicking with mouse on button set focus in it. If hour OnChar is conected to
other window ot won't catch chars anymore.

If your frame is toplevel you can use CHAR_HOOK on it an it will work both on
window and pane.

Niki Spahiev

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

_______________________________________________
wxPython-users maillist  -  [hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users