[wxPython-users] Focus question

Saketh Bhamidipati saketh.bhamidipati at gmail.com
Sun Sep 10 10:18:00 PDT 2006


On 9/10/06, Hugues JEAN-BAPTISTE <hjb at agorinfo.fr> wrote:
>
> Hi all
>
> Python 2.3.4 wxPython 2.6.1.0
>
> Under MSW, the focus jump over the wx.TextCtrl witch are ReadOnly and
> under Linux (Mandriva 10.1) the focus go to them.
> Is there a solution for the focus do the same under Linux than MSW ?
>
> Thanks in advance for your help ...
>
> Friendly.
>
> --
>
> Hugues JEAN-BAPTISTE (hjb at agorinfo.fr)
> AGORINFO S.A.S. (http://www.agorinfo.fr)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
> I'm not certain what the situation is, but you can always manually call
SetFocus() for your widgets, since they all inherit from wx.Window. That
should give you the same behavior on all platforms, regardless of the
default.

-Saketh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200609=
10/b46206c2/attachment.htm


More information about the wxpython-users mailing list