selectionOwnerSetForDisplay

fnbool selectionOwnerSetForDisplay(gdk.display.Display display, gdk.window.Window owner, gdk.atom.Atom selection, uint time, bool sendEvent)

Sets the #GdkWindow owner as the current owner of the selection selection.

Parameters

displaythe #GdkDisplay
ownera #GdkWindow or null to indicate that the owner for the given should be unset
selectionan atom identifying a selection
timetimestamp to use when setting the selection If this is older than the timestamp given last time the owner was set for the given selection, the request will be ignored
sendEventif true, and the new owner is different from the current owner, the current owner will be sent a SelectionClear event

Returns

true if the selection owner was successfully changed to owner,

otherwise false.