Widget.connectSelectionRequestEvent

gulong connectSelectionRequestEvent(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gdk.event_selection.EventSelection))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.widget.Widget))) && Parameters!T.length < 3)

Connect to SelectionRequestEvent signal.

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

Parameters

callbacksignal callback delegate or function to connect bool callback(gdk.event_selection.EventSelection event, gtk.widget.Widget widget) event the #GdkEventSelection which triggered this signal. (optional) widget the instance the signal is connected to (optional) Returns true to stop other handlers from being invoked for the event. false to propagate the event further.
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID