Is there a way to capture key down and key up events on a window? I know it's possible for a widget.Entry
but is it for a whole fyne.Window
or for a widget like widget.Group
so I can use it as a global container?
I also know it is possible to capture key press events by doing something like myWindow.Canvas().SetOnTypedKey(...
but that isn't what I'm looking for. I'm looking for a way to know when a specific key is pressed and when it is released.