public static interface StatusIcon.PopupMenu
void onPopupMenu(StatusIcon source, int button, int activateTime)
popup()for details of how to do it.
The two additional parameters in the handler prototype are described below, but we disregard them and they may be removed in a future version of java-gnome.
button- the button that was pressed, or 0 if the signal is not emitted in response to a button press event.
activateTime- the timestamp of the event that triggered the signal emission.