VGSoftware wrote: > As we've been talking in dabo-users here is my dMdiLayoutPanel patch. > Some notes on the implementation: > - I've used the ChildBorn event to solve the panel as parent problem.... > Paul's solution seemed a bit too hackish, IMHO such a simple class > should not mess with the framework internals.
I agree that my solution was pretty hackish... most of my solutions are! :) > - I've simplified the API exposed by wxPython, it has a couple of dark > corners, i think it is much nicer this way > > - I had a problem with the Resizable property as it depends on the > Alignment property being set. Is there a way to set the order the > properties ar parsed...my solution of using _afterSetProperties seems a > bit hackish There have been other cases that we wished we could specify the property setting order, but I think we worked around that in similar ways as you. If it works... > - Framework classes must use the _afterX or _beforeX and not the afterX > or beforeX right? this prevents the user forgetting to call self.super > problem... Correct. > I think thats it... i must admit it was a snap to wrap this one...i was > expecting more problems.... i played with the wxPython demo yesterday > and found some really great candidates to be my second dabo contributed > wraped controls... i'll keep in touch. Glad to have you on board! > Ok...lets ear it guys...is this ok? any changes needed? suggestions? > > Regards, > Pedro Vale de Gato > > SW5kZXg6IHVpL3Vpd3gvZE1kaUxheW91dFBhbmVsLnB5DQo9PT09PT09PT09PT09PT09PT09 > PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQotLS0g > dWkvdWl3eC9kTWRpTGF5b3V0UGFuZWwucHkJKHJldmlzaW9uIDApDQorKysgdWkvdWl3eC9k [snip] Yeah, I can't read that. :) Why not post it to Trac. Open a new ticket "Patch: dMdiLayoutPanel" and send the patch as an attachment. http://trac.dabodev.com Paul -- http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]
