Listctrl or Grid with wx.Choice

Hi,

I need a widget like ListCtrl with one column being wx.choice widgets. I’m been searching around and found out that the wx.grid has the ability to add a combo box. I’m, however, not too fond of the wx.grid solution, you can’t see the combo box before you edit the cell… and I’ve been having problems in the past with removing the excess margin at the bottom and side of the grid which makes everything look strange in some cases.

Is there a modified ListCtrl that can do this? Is it possible to modify a ListCtrl to do it from python?

Best,
Soren

Hi,

···

On Aug 4, 12:04 pm, Søren Nielsen <soren.skou.niel...@gmail.com> wrote:

Hi,

I need a widget like ListCtrl with one column being wx.choice widgets. I'm
been searching around and found out that the wx.grid has the ability to add
a combo box. I'm, however, not too fond of the wx.grid solution, you can't
see the combo box before you edit the cell.. and I've been having problems
in the past with removing the excess margin at the bottom and side of the
grid which makes everything look strange in some cases.

Is there a modified ListCtrl that can do this? Is it possible to modify a
ListCtrl to do it from python?

Best,
Soren

Try the UltimateListCtrl. It supports adding other widgets in its
columns.

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

Blog: http://blog.pythonlibrary.org

Mike Driscoll wrote:

Hi,

Hi,

I need a widget like ListCtrl with one column being wx.choice widgets. I'm
been searching around and found out that the wx.grid has the ability to add
a combo box. I'm, however, not too fond of the wx.grid solution, you can't
see the combo box before you edit the cell.. and I've been having problems
in the past with removing the excess margin at the bottom and side of the
grid which makes everything look strange in some cases.

Is there a modified ListCtrl that can do this? Is it possible to modify a
ListCtrl to do it from python?

Best,
Soren
    
Try the UltimateListCtrl. It supports adding other widgets in its
columns.

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

Blog: http://blog.pythonlibrary.org

You may also consider ObjectListView, that supports comboBox (the demo has nice ones).

Raphael

···

On Aug 4, 12:04 pm, S�ren Nielsen <soren.skou.niel...@gmail.com> > wrote:

Thank you both!

···

On Wed, Aug 4, 2010 at 1:18 PM, Raphael Mayoraz maygeo@netplus.ch wrote:

Mike Driscoll wrote:

Hi,

On Aug 4, 12:04 pm, Søren Nielsen soren.skou.niel...@gmail.com > > > > wrote:

Hi,

I need a widget like ListCtrl with one column being wx.choice widgets. I’m

been searching around and found out that the wx.grid has the ability to add

a combo box. I’m, however, not too fond of the wx.grid solution, you can’t

see the combo box before you edit the cell… and I’ve been having problems

in the past with removing the excess margin at the bottom and side of the

grid which makes everything look strange in some cases.

Is there a modified ListCtrl that can do this? Is it possible to modify a

ListCtrl to do it from python?

Best,

Soren

Try the UltimateListCtrl. It supports adding other widgets in its

columns.


Mike Driscoll

Blog: http://blog.pythonlibrary.org

You may also consider ObjectListView, that supports comboBox (the demo has nice ones).

Raphael

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en