updated Tray API to ignore double click events on macOS (#8952)
This commit is contained in:
parent
a08b4f780c
commit
1f29124d11
6 changed files with 36 additions and 0 deletions
|
@ -51,6 +51,10 @@ class TrayIcon {
|
|||
};
|
||||
virtual void SetHighlightMode(HighlightMode mode);
|
||||
|
||||
// Sets the flag which determines whether to ignore double click events. This
|
||||
// only works on macOS.
|
||||
virtual void SetIgnoreDoubleClickEvents(bool ignore);
|
||||
|
||||
// Displays a notification balloon with the specified contents.
|
||||
// Depending on the platform it might not appear by the icon tray.
|
||||
virtual void DisplayBalloon(ImageType icon,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue