c.frame or some attribute of c.frame? Or walk c.frame.parent() until None, or the better answer Edward will provide ;-) Cheers -Terry
On May 29, 2015 4:10:03 PM EDT, john lunzer <lun...@gmail.com> wrote: >So there is g.windows() which gives a list of all the windows >associated >with each Leo file. > >I can't figure out a way to programatically return the "active" window. >Any >ideas? > >-- >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 leo-editor+unsubscr...@googlegroups.com. >To post to this group, send email to leo-editor@googlegroups.com. >Visit this group at http://groups.google.com/group/leo-editor. >For more options, visit https://groups.google.com/d/optout. -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.