krakjoe / ui

Cross platform UI development in PHP
Other
518 stars 39 forks source link

Shortcut key on button labels #28

Open everton3x opened 7 years ago

everton3x commented 7 years ago

Although it is not documented, I realized that if I use & before any letter on the label of a UI\ Controls\Button, the letter becomes shortcut key, as in & Close -> Close

However, I did not figure out how to capture hotkey presses. Is this implemented?