[wxPython-users] One or multiple xmlresource handlers?

Gre7g Luterman hafeliel at yahoo.com
Mon Jul 2 12:19:08 PDT 2007


Aren't these custom controls just subclasses of
existing controls (such as a wxPanel)?  If so, save
yourself some work and just define it as a subclass.

Gre7g

--- Jorgen Bodde <jorgen.maillist at gmail.com> wrote:

> Hi all,
> 
> I have two custom controls I want to embed in XRC.
> My question is, is
> it better to create two handler classes? Or can I
> use one handler
> class (derived from xrc.XmlResourceHandler)  ?
> 
> I'm asking from a performance point of view, since
> every class name is
> 'asked' to the handler if it can handle it or not..
> 
> With regards,
> - Jorgen
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail:
> wxPython-users-help at lists.wxwidgets.org
> 
> 



       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/




More information about the wxpython-users mailing list