Hi Terry, thanks a lot for the post:

Hmmm, it looks to me like contextmenu.py, the plugin which manages the 

> context menu on the tree, does that for the tree only, and there's 
> currently no equivalent for the body. 
>

Yes, I agree (it took me a while to work that out...)
 

>
> Obvious solution would be to extend contextmenu.py to manage the 
> context menu on the body, but that might be deeper than you want to go. 
>
> I'm not sure how the ctrl-click thing works, but the context menu 
> approach is probably simpler and more flexible. 
>
> Terminology note: @rclick nodes are a special @settings node to add 
> child actions to @buttons, so in addition to the standard "Remove 
> button" and "GoTo script" actions when right-clicking on a button, you 
> can have as many arbitrary actions in the button's context menu as you 
> want. 
>
> So, @rclick is for the context menu of buttons, not to be confused with 
> "rclick" as an abbreviation for "right-click" as a misspelling ;-) of 
> "context-menu" for the tree. 
>

Thanks, that probably saves me a blind alley that I was about to go down...

There also seems to be rclick.py; this is mentioned in the docs in a few 
places but doesn;t appear to be part of the distribution.

Also dyna_menu.py, which doesn't appear to be available any more at the 
link mentioned in the docs

There's a post from a little while ago which mentions that the body 
right-click context menu is the standard Qt one. I'll take a look at that 
as well...

    Thanks a lot
    Jon N

 

> 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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to