On Mon, Feb 27, 2017 at 10:30 AM, Largo84 <larg...@gmail.com> wrote:

>
> Excellent! Now, still wondering if there's a more 'Leonine' way to capture
> the node UNL such an alt-X command or keyboard shortcut. Just curious, how
> do you typically do that?
>

​Use p.get_UNL​(), in an @command or @button node. Here are some tested
examples:

    g.es(p.get_UNL(with_proto=True))

yields:

    unl://C:\Users\edreamleo\ekr.leo#@button%20get_UNL:8

Setting with_proto=False (the default) gives:

    C:\Users\edreamleo\ekr.leo#@button get_UNL:8

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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to