SelectionData.ownerSetForDisplay

Claim ownership of a given selection for a particular widget, or, if @widget is %NULL, release ownership of the selection.

class SelectionData
static
bool
ownerSetForDisplay

Parameters

display Display

the #GdkDisplay where the selection is set

widget Widget

new selection owner (a #GtkWidget), or %NULL.

selection GdkAtom

an interned atom representing the selection to claim.

time uint

timestamp with which to claim the selection

Return: TRUE if the operation succeeded

Meta