This might be a good place to re-mention my occasional IWBNI (It Would Be 
Nice If)...

It Would Be Nice If ... there was a way to change some of the normal Window 
accelerators so as to be able to use ALT-keys for alternative Leo commands.

My first use case it to have ALT-W perform File-Write (aka File Save, 
currently CTRL-S). This is for compatibility with my preferred CRiSP/Brief 
key bindings.

I did a bit of experimenting with this ages ago at the PyQt level; but at 
the moment I seem to be stuck with renaming the 'Window' top level menu to 
something else, freeing up the 'W'. Personally it would help me if there 
was a way to select not having top level menu accelerators at all.

(I appreciate that this is as much a PyQt issue as a Leo one)

J^n




On Saturday, September 25, 2021 at 11:15:38 PM UTC+1 [email protected] 
wrote:

> Pretty much the same as what I came up with:
>
> @settings
>    @menuat /help after
>       @menu &Local
>          @item z-open-freewin
>          ... etc
>
> On Saturday, September 25, 2021 at 6:07:11 PM UTC-4 SegundoBob wrote:
>
>> On 9/25/21 2:55 PM, [email protected] wrote: 
>> > I was able to add a new "Local" menu after Help by using the path 
>> > //help/,   I do get a message on the console createMenusFromConfigList 
>> > no menu Local - do you know why? 
>>
>> Not off the top of my head. Here is the node structure I use without 
>> errors: 
>>
>> @settings 
>> @menuat help before 
>> @menu &Bob 
>> @menu &Zxtra Editing 
>>
>> -- 
>> Segundo Bob 
>> [email protected] 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9e9291d3-d29b-48ef-ad69-9a10483c6dedn%40googlegroups.com.

Reply via email to