On Mon, Jun 15, 2009 at 3:21 PM, jkn<[email protected]> wrote:

> appears not to be connected to anything. The current (non)-action of
> rclick.py in the Qt framework connects to this; I guess I'm learning
> that there is less working in this area that I imagined.
>
> I'm really just looking for confirmation that I am likely to find
> 'orphaned' or no-longer-relevant bits of code in both the base leo
> code and in the plugin code, presumably from earlier or Tk days. I
> don't want to get led down too may stray paths whilst getting to grips
> with things.

If I were you, I'd implement something simple from scratch - I don't
think there is much "working" in the rclick area right now.

Create a plugin with

@g.command('show-popup-menu')
def showpopup(event):
  c = event['c']
  p = c.currentPosition()
  ....

And move on from there.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
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