Gtk.Widget::selection-request-event

function callback(widget, event:Gdk.EventSelection, ):Boolean;

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

widget

instance of Gtk.Widget that is emitting the signal

event

the Gdk.EventSelection which triggered this signal.

Returns

true to stop other handlers from being invoked for the event. false to propagate the event further.