vanilla buttons work fine if defined in myLeoSettings.leo ...

I'll bravely shoulder the burden of putting the rclickers in the file ;=]

On Mon, Aug 18, 2014 at 3:52 PM, 'Terry Brown' via leo-editor
<leo-editor@googlegroups.com> wrote:
> On Mon, 18 Aug 2014 15:20:51 -0500
> Kent Tenney <kten...@gmail.com> wrote:
>
>> You're right, either one works if located in the active Leo file,
>> they don't work if in myLeoSettings.leo, the button shows up
>> (in a not myLeoSettings.leo file) without the submenu stuff.
>
> I see what you mean, processing in @settings > @buttons is different, I
> guess I've always had my @buttons in files I load in individual
> outlines, to manage the presence of different sets of buttons in
> different outlines.  But something you wanted to be ubiquitous should
> work from myLeoSettings.leo.
>
> Cheers -Terry
>
>> with all that's going on, a very low priority item indeed.
>>
>> Thanks,
>> Kent
>>
>>
>>
>> On Mon, Aug 18, 2014 at 2:08 PM, 'Terry Brown' via leo-editor
>> <leo-editor@googlegroups.com> wrote:
>> > On Mon, 18 Aug 2014 06:48:38 -0500
>> > Kent Tenney <kten...@gmail.com> wrote:
>> >
>> >> I have tried a number of variations on the following
>> >>
>> >> @buttons
>> >>   @rclick nodecontent
>> >>      @rclick left
>> >>      @rclick right
>> >>
>> >> which
>> >> http://comments.gmane.org/gmane.comp.python.leo.general/27192
>> >> seems to prescribe. It hasn't worked so far.
>> >
>> > I think you need a button in there, so either
>> >
>> > @buttons
>> >   @button Tools
>> >   @rclick nodecontent
>> >     @rclick left
>> >     @rclick right
>> >
>> > Or
>> >
>> > @buttons
>> >   @button Tools
>> >     @rclick nodecontent
>> >        @rclick left
>> >        @rclick right
>> >
>> > I think might be equivalent, the second form makes more sense
>> > though.
>> >
>> > Cheers -Terry
>> >
>> >> update:
>> >> I clicked <script-button> on @rclick nodecontent and the button
>> >> with menu appeared and works as expected ...
>> >>
>> >
>> > --
>> > 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
>> > http://groups.google.com/group/leo-editor. For more options, visit
>> > https://groups.google.com/d/optout.
>>
>
> --
> 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 http://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to