gtk: Implement click event for status icon.
This commit is contained in:
parent
4647efd22f
commit
540e6ff01b
2 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,9 @@ class StatusIcon : public TrayIcon {
|
|||
// Callback invoked when user right-clicks on the status icon.
|
||||
CHROMEGTK_CALLBACK_2(StatusIcon, void, OnPopupMenu, guint, guint);
|
||||
|
||||
// Callback invoked when the icon is clicked.
|
||||
CHROMEGTK_CALLBACK_0(StatusIcon, void, OnActivate);
|
||||
|
||||
// The currently-displayed icon for the window.
|
||||
GtkStatusIcon* icon_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue