On 10 Nov 2005 07:19:30 -0800, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I've made the switch from tKinter to wxPython.  I'm slowly trying to
> learn it, but I had a question - what is the appropriate object to
> subclass to create a "mega widget"  ie A listbox with it's add/delete
> buttons already built in?
>
> wxPanel seems a possibility - any thoughts?

When I've created this type of thing I usually start with a wx.Panel. 
It will depend on how you plan to use your new mega-widget, but I
suspect that the wx.Panel gives you the most flexibility.  You can
throw a panel pretty much anywhere and it seems to work just fine. :)

PS:  Congrats on giving wxPython a try.  It's far from the perfect
framework, but it seems the most Pythonic to me and lets me get the
most accomplished with the least setup.  YMMV.
--
"A little government and a little luck are necessary in life, but only
a fool trusts either of them." -- P. J. O'Rourke
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to