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. void addOnButtonPress(bool delegate(GdkEventButton*, StatusIcon) dlg, ConnectFlags connectFlags)
  2. void addOnButtonPress(bool delegate(Event, StatusIcon) dlg, ConnectFlags connectFlags)
    class StatusIcon
    void
    addOnButtonPress

Meta

Since

2.14