Is there CheckListCtrlMixin style dialog ?

Hi,
Do you know if there exists a wxPython dialog, with the look and functionality of CheckListCtrlMixin ?
I know there's wx.MultiChoiceDialog, but I need to present my user more than one piece of information, and using a table format is much preferable.
Thanks,
Ron.

Barak, Ron wrote:

Hi,
Do you know if there exists a wxPython dialog, with the look and functionality of CheckListCtrlMixin ?
I know there's wx.MultiChoiceDialog, but I need to present my user more than one piece of information, and using a table format is much preferable.
Thanks,
Ron. _________

I don't think there's a standard dialog, but all you need to do is create a sub-class of wx.Dialog and put the mixin in there. So, instead of this:

class MyFrame(wx.Frame)

do this:

class MyDialog(wx.Dialog)

You don't need a panel when you sub-class a dialog. Then just stick whatever widgets you need and use "self" as the parent.

···

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

Blog: http://blog.pythonlibrary.org

Thanks Mike.
The CheckListCtrlMixin style dialog is working nicely.
Bye,
Ron.

···

-----Original Message-----
From: Mike Driscoll [mailto:mike@pythonlibrary.org]
Sent: Monday, May 18, 2009 19:07
To: wxpython-users@lists.wxwidgets.org
Subject: Re: [wxpython-users] Is there CheckListCtrlMixin
style dialog ?

Barak, Ron wrote:
> Hi,
> Do you know if there exists a wxPython dialog, with the
look and functionality of CheckListCtrlMixin ?
> I know there's wx.MultiChoiceDialog, but I need to present
my user more than one piece of information, and using a table
format is much preferable.
> Thanks,
> Ron.
> _________

I don't think there's a standard dialog, but all you need to
do is create a sub-class of wx.Dialog and put the mixin in
there. So, instead of this:

class MyFrame(wx.Frame)

do this:

class MyDialog(wx.Dialog)

You don't need a panel when you sub-class a dialog. Then just
stick whatever widgets you need and use "self" as the parent.

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

Blog: http://blog.pythonlibrary.org