Skip to content

MouseMoved, MouseIn and MouseOut do not fire. Any ideas why? #3964

Answered by Jacalz
buffos asked this question in Q&A
Discussion options

You must be logged in to vote

I'm glad to hear that you got it working. I would suggest adding compile-time checks for interface implementations in that case. Add this to get compiler errors if the widget doesn't implement the specified interface:

var _ desktop.Hoverable = (*TestWidget)(nil)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@buffos
Comment options

@buffos
Comment options

@Jacalz
Comment options

Answer selected by Jacalz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants