implementing mouse interactions on shapes #3300
-
|
How would I use dragevents, pointevents, mouse events, and other mouse interactions on shapes? (Lines, rectangles, etc.) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
You can make sure to wrap the centavos objects in a custom widget and then implement the interfaces for supporting the given mouse movement ( I believe that most of what you ask about already has been mentioned here: |
Beta Was this translation helpful? Give feedback.
-
|
What about the mouse wheel that gets rolled forward or backward which is typically used for scrolling or up/down values? I don't see any reference to that. |
Beta Was this translation helpful? Give feedback.
You can make sure to wrap the centavos objects in a custom widget and then implement the interfaces for supporting the given mouse movement (
desktop.Mouseable,desktop.Hoverable.,fyne.Draggableand so on).I believe that most of what you ask about already has been mentioned here:
#3261