Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tray hover event #7616

Closed
wotermelon opened this issue Oct 14, 2016 · 4 comments
Closed

Add Tray hover event #7616

wotermelon opened this issue Oct 14, 2016 · 4 comments

Comments

@wotermelon
Copy link

  • Electron version:1.3.3
  • Operating system:win10/mac

the Tray instance events shold provide the tray hover event.
tray.setToolTip has limitations when do more operation.

@kevinsawicki kevinsawicki changed the title Feature request: the tray hover event Add Tray hover event Oct 24, 2016
@zcbenz
Copy link
Contributor

zcbenz commented May 30, 2017

I'm closing this as won't fix since no platform provides this ability as far as I know.

@zcbenz zcbenz closed this as completed May 30, 2017
@zcbenz
Copy link
Contributor

zcbenz commented Jun 6, 2017

Hmm reopening since it seems to be at least possible on mac.

@zcbenz
Copy link
Contributor

zcbenz commented Jun 12, 2017

A more general implementation is to add mouse-enter and mouse-leave events, which can also solve other problems.

@gclsoft
Copy link

gclsoft commented Sep 24, 2018

https://electronjs.org/docs/api/tray#event-mouse-enter-macos
event-mouse-enter is works only on mac, not on Windows, right??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants