Re: About Creating New Packages/Widgets & Other Dev Help
Metallicow <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Saturday, December 26, 2015 at 11:33:06 AM UTC-6, [email protected] wrote: > > > Are you using a series of controls with sizers to do the layout for a > custom-drawn button? > > Regards, > > Kevin > > Nope. ShapedBitmapButton is just a hand-built wx.Control Subclass. So 1 Button instance is just like 1 Button instance when created. This way it is a dropin replacement basically. ShapedBitmapButtonAdv is a subclass of ShapedBitmapButton With the advanced techniques the button instances "talk" or "discuss" with each other about what event is really going on and how to draw. Then process the event which in turn `not really` "walks back down the tree" and redraws the original button correctly as if that instance is the actual instance. I have tested the basic class with absolute positioning and have tests for all the different sizers, so the basic class is pretty solidly tested. I guess it could be explained like this also... ummm The event has to be recreated exactly(signed by the lead) and passed around like a charter to sign basically... -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.