I'd need to have a ListCtrl-like widget with a column with checkboxes
(not the first column and with checkboxes only for some rows, or the
possibility to disable some checkboxes).
Moreover, is it possibile to start from a ListView and modify it to
suit my needs? Or should I stick to ListCtrl?
I'd need to have a ListCtrl-like widget with a column with checkboxes
(not the first column and with checkboxes only for some rows, or the
possibility to disable some checkboxes).
There is no way to do this with wx.ListCtrl or wx.ListView. It might
be done with ObjectListView:
Hi Andrea,
I'll take a look at both classes you suggested.
Thanks a lot for your quick reply and for your contributions to wx.
Cheers,
Mauro
···
On 14 Dic, 12:10, Andrea Gavana <andrea.gav...@gmail.com> wrote:
Hi,
2009/12/14 Mauro:
> Dear list,
> I'd need to have a ListCtrl-like widget with a column with checkboxes
> (not the first column and with checkboxes only for some rows, or the
> possibility to disable some checkboxes).
There is no way to do this with wx.ListCtrl or wx.ListView. It might
be done with ObjectListView:
I like and often use ObjectListView, but it's just a wrapper for a
ListCtrl, You can install a checkboxes in any column, but I don't
believe you can pick and choose rows.
I don't think you can make a checkbox disabled, but you could
certainly prevent it from being checked and perhaps grey out the text
to hint at the intended idea.
Andrea's ULC is the way to go here I believe..
You should have both handy for the future in my opinion though...
Looking forward to the DataViewCtrl which I think we're getting in the
next wxpython version
- michael
···
On Dec 14, 5:36 am, Mauro <bianchi...@gmail.com> wrote:
Hi Andrea,
I'll take a look at both classes you suggested.
Thanks a lot for your quick reply and for your contributions to wx.
Cheers,
Mauro
On 14 Dic, 12:10, Andrea Gavana <andrea.gav...@gmail.com> wrote:
> Hi,
> 2009/12/14 Mauro:
> > Dear list,
> > I'd need to have a ListCtrl-like widget with a column with checkboxes
> > (not the first column and with checkboxes only for some rows, or the
> > possibility to disable some checkboxes).
> There is no way to do this with wx.ListCtrl or wx.ListView. It might
> be done with ObjectListView: