-
It seems like if should be easy to implement - But I can't see any direct way without having to implement my own button from scratch. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You basically want to follow the tutorials on https://developer.fyne.io/extend/extending-widgets and https://developer.fyne.io/extend/numerical-entry to get an idea about how to extend widgets. It might also be good to watch https://www.youtube.com/watch?v=TDae1Kmxu_0 if you want the full understanding of how the interfaces work when you want to add additional functionality to your widgets. To actually get the functionality you request, it would require implementing desktop.Keyable (desktop.Mouseable for mouse keys for the record but I don't think that is what you are asking for) to be able to get that kind of funtionality. |
Beta Was this translation helpful? Give feedback.
You basically want to follow the tutorials on https://developer.fyne.io/extend/extending-widgets and https://developer.fyne.io/extend/numerical-entry to get an idea about how to extend widgets. It might also be good to watch https://www.youtube.com/watch?v=TDae1Kmxu_0 if you want the full understanding of how the interfaces work when you want to add additional functionality to your widgets.
To actually get the functionality you request, it would require implementing desktop.Keyable (desktop.Mouseable for mouse keys for the record but I don't think that is what you are asking for) to be able to get that kind of funtionality.