On Friday, September 20, 2019 at 5:26:23 PM UTC+1, Chris George wrote:
>
> You can try a custom menu.
>
> Open leoSettings.leo and navigate to the main @menu node.
>
> Copy this node and paste it into your myLeoSettings.leo under the
> @settings node.
>
> Change the top level headlines to lose the hotkey markers.
>
> The downside is remembering to update your @menu node every now and then
> so you don't miss out on new features. :-)
>
> HTH,
>
> Chris
>
> On Friday, September 20, 2019 at 8:42:52 AM UTC-7, gar wrote:
>>
>> AFAIK when using Qt you need to specify those shortcuts by hand with
>> '&' char - pass addMenu("&File") to make a menu item with F as
>> shortcut.
>> Maybe you do quite the same in your code when create top-level menu?
>>
>> 2019-09-20 17:59 GMT+03:00, Edward K. Ream <[email protected]>:
>> > On Fri, Sep 20, 2019 at 9:47 AM gar <[email protected]> wrote:
>> >
>> >> I'd love to use those hotkeys as commands shortcut but they are busy
>> with
>> >> some never-used functions like menu actions.
>> >> How can I reassign them to something i really need?
>> >>
>> >
>> > The never-used functions are placeholders. This is an operating system
>> > "feature".
>> >
>> > --trace=keys shows that Leo never receives Alt keys related to menus.
>> > Depending on your OS it may be possible to override this behavior.
>> >
>> > This behavior is similar to Shift-Ctrl-0. There are, supposedly, ways
>> to
>> > override such keys on Windows, but I have never found a workaround that
>> > survives a reboot.
>> >
>> > 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 view this discussion on the web visit
>> >
>> https://groups.google.com/d/msgid/leo-editor/CAMF8tS3i3LV2eiQETsrc1Wc5Fq8R_T4%3DEBkBxoULCwa%3DtbknrQ%40mail.gmail.com.
>>
>>
>> >
>>
>
That's an interesting idea - but it doesn't work for me (on Linux)
myLeoSettings.leo is clearly being read, since I can add a 'stuff' top
level menu from there
But if I remove the '&' from '&Window', save and restart ... Alt-W still
brings it up.
(I want this to use some CRiSP bindings, which are heavily weighted towards
ALT-keys)
--
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/12ecc54e-025e-4f0c-b6b4-ec47561b0b83%40googlegroups.com.