On Mar 12, 2007, at 2:21 AM, Dj Gilcrease wrote:

> How can I create a Panel (Scrolled or normal) that can have Bizobj's.
> The reason I need to do this is I am going to be using wxAUI to manage
> my GUI and thus need everything to be created as panels not frames.

        I've started looking into incorporating AUI into Dabo, and right now  
it will not be a trivial thing. But it will be done.

        Also, as far as I understand it, your panels would still need to be  
created as child objects of the frame, but then added as a pane to  
the AUI manager.

> I was thinking I would just edit the dPanel.py like;
>
> ### My Idea ###
> ...
> from dForm import BaseForm
> ...
> class dPanel(BaseForm, _PanelMixin, wx.Panel):
>     ...
>     BaseForm.__init__(self, preClass, parent, properties,
> attProperties, *args, **kwargs)
>
> class dScrollPanel(BaseForm, _PanelMixin, wx.ScrolledWindow):
>     ...
>     BaseForm.__init__(self, preClass, parent, properties,
> attProperties, *args, **kwargs)
> ######
>
> But am not sure how that will affect things

        You cannot mix the base classes like that - they have to descend  
from a single wxPython class in order for some of the Dabo stuff to  
work; I don't even know if this would be possible from a wxPython  
perspective. You should still be able to reference 'self.Form' from  
your dPanel instances, even with AUI.   

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to