wx.combobox - disable item

Hi,

is there any way how to disable given item in wx.ComboBox widget?

Thanks in advanced. Martin

···

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Martin Landa wrote:

Hi,

is there any way how to disable given item in wx.ComboBox widget?

No, it's all or nothing.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi,

···

2009/5/4 Robin Dunn <robin@alldunn.com>:

is there any way how to disable given item in wx.ComboBox widget?

No, it's all or nothing.

it would be cool to have this feature ...

Anyway thanks for your answer!

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Martin Landa wrote:

Hi,

is there any way how to disable given item in wx.ComboBox widget?
      

No, it's all or nothing.
    
it would be cool to have this feature ...

Anyway thanks for your answer!

Martin

You can probably do it by rolling your own widget in Python. Look in C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\lib for examples of some of the custom widgets people have come up with...I think there's an article on the wiki about custom controls too.

···

2009/5/4 Robin Dunn <robin@alldunn.com>:

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org