Widget.addOnSelectionRequest

The ::selection-request-event signal will be emitted when another client requests ownership of the selection owned by the widget's window.

  1. gulong addOnSelectionRequest(bool delegate(GdkEventSelection*, Widget) dlg, ConnectFlags connectFlags)
  2. gulong addOnSelectionRequest(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    gulong
    addOnSelectionRequest
    (
    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.