popup_menu


Description:

[ Version ( since = "2.10" ) ]
public virtual signal void popup_menu (uint button, uint activate_time)

Gets emitted when the user brings up the context menu of the status icon.

Whether status icons can have context menus and how these are activated is platform-dependent.

The button and activate_time parameters should be passed as the last to arguments to popup.

Unlike most G_SIGNAL_ACTION signals, this signal is meant to be used by applications and should be wrapped by language bindings.

Parameters:

button

the button that was pressed, or 0 if the signal is not emitted in response to a button press event

activate_time

the timestamp of the event that triggered the signal emission




2022 vala-language.org