well found out I can solve it by using c as an argument in the functions
defined in the other Leo window.
Then I can call those functions from other leo windows using their 'c' as
argument.
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To
On Thu, 26 Jun 2014 02:41:01 -0700 (PDT)
Fidel N fidelpe...@gmail.com wrote:
well found out I can solve it by using c as an argument in the
functions defined in the other Leo window.
Then I can call those functions from other leo windows using their
'c' as argument.
Ok, good, I don't
Wow, your solution is FAR better than what I was going to do. You saved me
a few headaches again, thanks Terry!
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
On Sun, Oct 14, 2012 at 9:40 PM, Terry Brown terry_n_br...@yahoo.com wrote:
Is there are function to return the current commander (c), defined as the
commander in the visible tab in the tabbed (default) interface?
What's your use case for this? That is, how can it be that the c you
desire
On Wed, 17 Oct 2012 06:50:19 -0500
Edward K. Ream edream...@gmail.com wrote:
On Sun, Oct 14, 2012 at 9:40 PM, Terry Brown terry_n_br...@yahoo.com wrote:
Is there are function to return the current commander (c), defined as the
commander in the visible tab in the tabbed (default) interface
On Wed, Oct 17, 2012 at 9:14 AM, Terry Brown terry_n_br...@yahoo.com 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
On Wed, 17 Oct 2012 11:08:15 -0500
Edward K. Ream edream...@gmail.com wrote:
On Wed, Oct 17, 2012 at 9:14 AM, Terry Brown terry_n_br...@yahoo.com wrote:
It's something like
g.app.gui.?.?.?.tab_widget.currentWidget().?.?.c
This *might* work:
w = g.app.gui.get_focus() # A
On Wed, Oct 17, 2012 at 12:17 PM, Terry Brown
w = g.app.gui.get_focus() # A LeoQTextBrowser?
return hasattr(w,'leo_c') and w.leo_c or None
Thanks, for this purpose it will be fine to take whatever
g.app.gui.get_focus() returns and walk up the parent links until you
get to something which
Is there are function to return the current commander (c), defined as
the commander in the visible tab in the tabbed (default) interface?
Thanks, Terry
--
You received this message because you are subscribed to the Google Groups
leo-editor group.
To post to this group, send email to leo-editor