[wxPython-users] Re: Gtk: SetMark on Combobox
AK
andrei.avk at gmail.com
Thu Mar 20 05:36:04 PDT 2008
Franz Steinhäusler wrote:
> On Wed, 19 Mar 2008 17:53:07 -0700, Robin Dunn <robin at alldunn.com> wrote:
>
>
>> Franz Steinhäusler wrote:
>>
>>> For what I saw, that function is not working on gtk
>>> Neither SetMark(x,y) not wx.CallAfter (SetMark, x, y)
>>>
>>> Am I right?
>>> Is that also a gtk "feature/bug"?
>>>
>>> At least, trying in PyCrust it didn't yield any visible result.
>>>
>>>
>> It works for me. See attached.
>>
>
> Strange: for me it is not working, SetMark don't marks the text.
> I can call .SetValue("text") which works, but not Setmark
> If I select with mouse, than change to widget inspector tool, then the mark
> disappears, but the getmark delivers the proper values
> KUbuntu Gutsy
> platform: linux2
> python 2.5.1 final
> wxpython version: 2.8.4.0
> (wxgtk, unicode, gtk2, wx-assertions off, SWIG 1.3.29)
>
>
Could this be because that window is not focused? There is a style for
textctrls that tells them to show
selected text even when window isn't focused, wx.TE_NOHIDESEL .
More information about the wxpython-users
mailing list