[wxPython-users] wx.ComboBox SetSelection on ClientData

Raffaello Barella barbarossa.platz at gmail.com
Sat Dec 29 12:04:14 PST 2007


Scrolling the whole content of ClientData could do:

for j in range(wxCB.GetCount()):
     if wxCB.GetClientData(j) =3D=3D x:
          wxCB.SetSelection(j)
          break

Buon anno

2007/12/29, Giuseppe Costanzi <g.costanzi at email.it>:
>
> There is a way to point to an item of a wx.ComboBox using SetSelection
> method on ClientData insted of index?
>
> Giuseppe
> Python-it.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200712=
29/49d81326/attachment.htm


More information about the wxpython-users mailing list