On Oct 26, 2009, at 1:29 AM, Aaron R. Short wrote:

> Attacking this from another direction I was thinking of trying to  
> create my own edit control with the min necessary to function. using  
> the StyledTextCtrl ie replacing dabo's deditor. Just as a learning  
> perspective. I know that dabo is written on top of wxpython so is it  
> possible to use any of wxpython's controls in a dabo form? or does  
> one only have access to dabo's controls?

        It's possible, but not really supported. IOW, it should work, but you  
will have to provide all of the code to make it work. We don't "hide"  
wxPython methods, so they're fully available to you.

> How does one put a none dabo control on a dabo form? I tried  
> searching the wiki and the mail archives but couldn't find anything.


        You have to do it in code, the Class Designer only works with Dabo  
controls, as they have the behaviors that are needed for the Class  
Designer to work. Remember, the Class Designer is a 100% Dabo app.

        A Dabo form is a wx.Frame, so if you want to go with the manual  
approach, you would have to treat it as such, and add/manage controls  
in code.

> The commented code should show some different things I've tried but  
> all I get is plain text.

        I think a better solution is for Dabo to expose an event. With most  
other wx-level events, we trap them in the framework classes, and then  
raise Dabo events. I'm working on this now, and should have something  
posted shortly.


-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to