Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread Thomas Passin
I tried that once and I don't know why I let it slip away.  I'll go back 
and try it again.  After all, I like to put the Windows task bar on the 
left hand side of the screen (Boo to Win11 where apparently you can't do 
that), and I like my browser tabs displayed in a vertical strip.

On Wednesday, July 5, 2023 at 10:58:50 PM UTC-4 iamap...@gmail.com wrote:

> On Thu, Jul 6, 2023 at 10:51 AM Thomas Passin  wrote:
>
>> Just so.  I like some custom buttons, but you can only have so many.
>>
>
> I have a small trick where I can place the iconbar vertically on the side 
> of the leo so that I can fit a little more buttons. XD
>  
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ff09c4e5-f6db-4423-b83d-d74fbe8f8f25n%40googlegroups.com.


Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread HaveF HaveF
On Thu, Jul 6, 2023 at 10:51 AM Thomas Passin  wrote:

> Just so.  I like some custom buttons, but you can only have so many.
>

I have a small trick where I can place the iconbar vertically on the side
of the leo so that I can fit a little more buttons. XD

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CA%2BUQrQyFWMAiP2gK8od%2BzHx7F6MHnn3z2jNnjvAeeCgKQY9_Zw%40mail.gmail.com.


Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread Thomas Passin
Just so.  I like some custom buttons, but you can only have so many.

On Wednesday, July 5, 2023 at 10:50:21 PM UTC-4 iamap...@gmail.com wrote:

>
> I create a custom menu for Leo that is located just before the *Help*
>  menu. 
>
> Thanks for sharing.
> It just like grouped buttons. If I really can't stand my numerous buttons 
> I'll consider using menus. XD
>  
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a2346ee3-e7d9-4beb-b946-173bdbfff421n%40googlegroups.com.


Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread HaveF HaveF


I create a custom menu for Leo that is located just before the *Help* menu. 

Thanks for sharing.
It just like grouped buttons. If I really can't stand my numerous buttons 
I'll consider using menus. XD
 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8197c2b4-ec6e-4153-b557-f5583337df5dn%40googlegroups.com.


Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread Thomas Passin
All right.

I've located the part of Leo's docs that cover menu settings.  It's in the 
LeoDocs outline, at (legacy style)

unl://C:/Tom/git/leo-editor/leo/doc/LeoDocs.leo#Leo's Documentation-->Users 
Guide-->@rst html/customizing.html-->Using settings-->Complex settings 
nodes-->\@menuat

or (new style) 

unl:gnx://C:/Tom/git/leo-editor/leo/doc/LeoDocs.leo#ekr.20090116094356.10

[Of course, replace the outline's location with the right path for your 
system]

Or just search LeoDocs.leo for Complex settings nodes.

Or it's on line at Customizing Leo 
.

On Wednesday, July 5, 2023 at 6:05:59 AM UTC-4 Edward K. Ream wrote:

> On Tue, Jul 4, 2023 at 10:31 PM Thomas Passin  wrote:
>
>> I create a custom menu for Leo that is located just before the *Help* menu.  
>> It's been so useful that I want to encourage others to create their own.
>
>
> Thanks for this post. Please create a developer info item.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/2dcf05aa-dc4b-4433-84ee-2b77c6c6c476n%40googlegroups.com.


Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread Edward K. Ream
On Tue, Jul 4, 2023 at 10:31 PM Thomas Passin  wrote:

> I create a custom menu for Leo that is located just before the *Help* menu.
> It's been so useful that I want to encourage others to create their own.


Thanks for this post. Please create a developer info item.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1m_Yc2r_U4OApn-edOa03Gv5biYHUfqbvzc8kLh%3DGHFg%40mail.gmail.com.


Custom Menus Can Be Very Useful - An Example

2023-07-04 Thread Thomas Passin
I create a custom menu for Leo that is located just before the *Help* menu.  
It's been so useful that I want to encourage others to create their own.  
You create one in *myLeoSettings.leo* if you want the menu to be available 
to all outlines, otherwise create in the outline's @settings tree if you 
only want the custom menu to apply to that one outline.  You can have both 
local and global menus at the same time.

I've attached a screen shot of my custom *Local* menu.  All of its items 
run scripts that I wrote, but you could just as easily bind them to 
standard Leo commands.  I chose the menu items with these points in mind:

1. I use the command a lot and want it to be handy to use;
2. I don't use it often but I don't want to forget it either;
3. The display name is easier to understand than the command's real name.
4.  If I ran the command from the minibuffer, I would have to try to 
remember its name with the help of tab completion, and I'd rather not 
bother with that each time I want to use it. The menu item is easier.
5. I'm temporarily using this command a lot;  later I may remove the item.

Of course, if you have too many items in one of these menus, it will start 
getting too long to use conveniently. so there has to be a judgement call 
here.

In the attached image, the last item, *Open Local New User's Guide*, helps 
me to check the work I've been doing on a guide for new Leo users.  When 
that project is done, I'll remove the item.

I won't go into how to set up these custom menus in this post, but ask if 
you need some help to get started.  There's some information in one or 
another of the Leo docs (I forget which), and LeoSettings.leo sets up all 
Leo's standard menus and that can give you an idea of how to proceed.

Using a custom menu is one way to adjust Leo to suit your way of working.  
Give it a try!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/7fab99f1-2756-4889-9f0a-82c9526824c5n%40googlegroups.com.