StatusIcon.addOnButtonPress

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.

  1. gulong addOnButtonPress(bool delegate(GdkEventButton*, StatusIcon) dlg, ConnectFlags connectFlags)
    class StatusIcon
    addOnButtonPress
  2. gulong addOnButtonPress(bool delegate(Event, StatusIcon) dlg, ConnectFlags connectFlags)

Meta

Since

2.14