On Thu, 7 Feb 2013 08:21:51 -0600
Terry Brown <[email protected]> wrote:

> On Wed, 6 Feb 2013 22:28:38 -0800
> Matt Wilkie <[email protected]> wrote:
...
> > And, more generally, can these hover-over-pane-divider-then-right-click
> > actions be made available any other way? Like a drop down menu from a
> > button or alt-x command or something.  
> 
> What, you mean instead of being completely hidden where no one will
> ever find them?  :-)  Most of them (not the Open Window variants of
> course)

But it occurs to me that it might be the open window variants you want,
specifically the code to make a button / command to open a window with
a particular panel in it.  That would be this:

if hasattr(c, 'free_layout'):
    splitter = c.free_layout.get_top_splitter()
    if splitter:
        splitter.open_window(action='_add_overview_pane')

Cheers -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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to