Signal

GtkStatusIcon::popup-menu

since: 2.10

Declaration

void
popup_menu (
  GtkStatusIcon* self,
  guint button,
  guint activate_time,
  gpointer user_data
)

Description [src]

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 gtk_menu_popup().

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

Default handler:

The default handler is called before the handlers added via g_signal_connect().

Signal can be directly emitted on objects from user code
Available since: 2.10

Parameters

button

Type: guint

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

activate_time

Type: guint

The timestamp of the event that triggered the signal emission.