[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dialog - super hotkey mode for menus, selecting an item automatically se
From: |
cri |
Subject: |
dialog - super hotkey mode for menus, selecting an item automatically selects ok |
Date: |
Fri, 24 Feb 2017 23:30:53 +0100 |
I was wondering if it's possible to add an option for menu widgets,
to override the need to hit "OK" after selecting an item via hotkeys;
i.e. hitting a hotkey would select the corresponding item and also
automatically imply selecting the "OK" button.
Is this complicated to implement? Or just trivial? (hints into the
source are welcome :)
Of course you would loose the chance to fix typing errors, but for some
applications this can be sacrificed to have quicker menus.
A safer alternate approach could be the "double-keypress": a single hotkey
press would only select the item (current behaviour), a second press of
the same key in a (configurable) short time period would also imply OK.
Cri
- dialog - super hotkey mode for menus, selecting an item automatically selects ok,
cri <=