[wxPython-users] any point in customizing/subclassing wx.Notebook?

Robin Dunn robin at alldunn.com
Thu Sep 28 11:58:36 PDT 2006


John Salerno wrote:
> I just posted a longer thread dealing with this issue on c.l.p, but this 
> question is more wxPython-specific. Basically, I'm wondering if I should 
> use wx.Notebook, or subclass it and use my own version, but my question 
> then becomes, how can you customize Notebook, and would you want to? Is 
> there any point? Or is using Notebook directly just like using Button or 
> Label, etc. (i.e., no point in subclassing them because the default is 
> enough).

It probably depends somewhat on your preferred programming style, but in 
general I would say that wx.Notebook is more often used directly.  The 
only customization it allows is via events, and those can be handled 
just as easily in a container class.


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





More information about the wxpython-users mailing list