Signal

GtkStatusIcon::button-press-event

since: 2.14

Declaration

gboolean
button_press_event (
  GtkStatusIcon* self,
  GdkEventButton event,
  gpointer user_data
)

Description [src]

The ::button-press-event signal will be emitted when a button (typically from a mouse) is pressed.

Whether this event is emitted is platform-dependent. Use the ::activate and ::popup-menu signals in preference.

Default handler:

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

Available since: 2.14

Parameters

event

Type: GdkEventButton

The GdkEventButton which triggered this signal.

Return value

Type: gboolean

TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.