SelectionData.ownerSetForDisplay

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

class SelectionData
static
int
ownerSetForDisplay

Parameters

display Display

the GdkDisplay where the selection is set

widget Widget

new selection owner (a GtkWidget), or NULL. [allow-none]

selection GdkAtom

an interned atom representing the selection to claim.

time uint

timestamp with which to claim the selection

Return Value

Type: int

TRUE if the operation succeeded

Meta