Package: gdk

Function gdk-selection-owner-set-for-display

Lambda List

gdk-selection-owner-set-for-display (display owner selection time send)

Arguments

display -- a gdk-display object
owner -- a gdk-window object or nil to indicate that the owner for the given selection should be unset
selection -- a gdk-atom as string identifying a selection
time -- an unsigned integer with the timestamp to use when setting the selection
send -- if true, and the new owner is different from the current owner, the current owner will be sent a :selection-clear event

Return Value

True if the selection owner was successfully changed to owner, otherwise false.

Details

Sets the owner of the given selection. If the time argument is older than the timestamp given last time the owner was set for the given selection, the request will be ignored.
 

See also

2021-10-3