StatusIcon.addOnScroll

The ::scroll-event signal is emitted when a button in the 4 to 7 range is pressed. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.

Whether this event is emitted is platform-dependent.

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

Return Value

Type: gulong

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

Meta

Since

2.16