On Wed, Oct 17, 2012 at 9:14 AM, Terry Brown <[email protected]> wrote:

> It's something like
>
> g.app.gui.?.?.?.tab_widget.currentWidget().?.?.c

This *might* work:

w  = g.app.gui.get_focus() # A LeoQTextBrowser?
return hasattr(w,'leo_c') and w.leo_c or None

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