keyboard usage #3533
-
i did not find any doc about using / binding the keyboard. the demo app has the advanced tab which contains code to show the key pressed but the doc seems to lack keyboard entirely - or am i wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Which APIs to use would depend on what you are truing to do with keyboard events. There is a great video that @Jacalz did at last FyneConf that could help to describe the architecture and where to look for information: https://www.youtube.com/watch?v=TDae1Kmxu_0 |
Beta Was this translation helpful? Give feedback.
-
In fact i was looking for a way to end a program via ^Q or such stuff. I found |
Beta Was this translation helpful? Give feedback.
-
If you are looking for a key combination then the |
Beta Was this translation helpful? Give feedback.
-
However specifically for quit your OS should handle those shortcuts - matching their standards. |
Beta Was this translation helpful? Give feedback.
Which APIs to use would depend on what you are truing to do with keyboard events.
Is this desktop specific, or should it work for soft keyboards on mobile too? Should it be about key events or getting textual input? Or are you looking to implement keyboard shortcuts?
There is a great video that @Jacalz did at last FyneConf that could help to describe the architecture and where to look for information: https://www.youtube.com/watch?v=TDae1Kmxu_0