On Tue, Jun 5, 2012 at 9:28 AM, Terry Brown <[email protected]> wrote:

[big snip]

> I'll try and find time to look at the code you point to, to see if this
> method already exists.

I'm lost.  But I would suggest looking in these places:

leoQtBody.createEditor

Note particularly that a wrapper is the "face" that is presented to
Leo's core.  Here is the line from createEditor::

    wrapper = leoQTextEditWidget(w,name='body',c=c)

Note the line from the top of createEditor::

    f = c.frame.top.leo_ui.leo_body_inner_frame

It's possible that c.give_me_an_editor_widget() is simply::

    return  c.frame.top.leo_ui.leo_body_inner_frame

It's also possible that what you want is more akin to
DynamicWindow.createBodyPane.  As you can see, this method sets
leo_body_inner_frame

Finally, there are a whole set of helper methods in the DynamicWindow
class.  See::

   qtGui.py-->Frame and component classes...-->
   class  DynamicWindow (QtGui.QMainWindow)-->
   createMainWindow & helpers-->
    widgets (DynamicWindow)

HTH, though I don't have high hopes.  This is one of those cases where
talking on the phone would be most efficient.  608.886.5730.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to