Widget.addOnSelectionClear

The ::selection-clear-event signal will be emitted when the the widget's window has lost ownership of a selection.

  1. gulong addOnSelectionClear(bool delegate(GdkEventSelection*, Widget) dlg, ConnectFlags connectFlags)
  2. gulong addOnSelectionClear(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    gulong
    addOnSelectionClear
    (
    bool delegate dlg
    ,
    ConnectFlags connectFlags = cast(ConnectFlags)0
    )

Return Value

Type: gulong

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