On Thu, Apr 11, 2013 at 7:29 AM, Terry Brown <[email protected]>wrote:
> On Thu, 11 Apr 2013 00:56:51 -0700 (PDT) > "Edward K. Ream" <[email protected]> wrote: > > > I have a note that it was an @rclick node handled by the context_menu.py > > plugin, but I am not able to see code or documentation anywhere. This > > seems *well* hidden :-) > > :) It's in the core, not context_menu.py. It was a long time ago, but > I remember finding the @button code tricky, so I'm not sure if it's an > ideal implementation. OTOH it hasn't broken for 1-2 years. > Thanks. I could have sworn I searched Leo's core for @rclick. Must have been a searching failure :-) The code is in qtIconBarClass.setCommandForButton. I'll add documentation for this, in leoSettings.leo and also in the customizing Leo chapter. Edward -- 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.
