Function
Gdkselection_owner_set_for_display
since: 2.2
Declaration [src]
gboolean
gdk_selection_owner_set_for_display (
GdkDisplay* display,
GdkWindow* owner,
GdkAtom selection,
guint32 time_,
gboolean send_event
)
Description [src]
Sets the GdkWindow
owner
as the current owner of the selection selection
.
Available since: 2.2
Parameters
display
-
Type:
GdkDisplay
The
GdkDisplay
.The data is owned by the caller of the function. owner
-
Type:
GdkWindow
A
GdkWindow
orNULL
to indicate that the owner for the given should be unset.The argument can be NULL
.The data is owned by the caller of the function. selection
-
Type:
GdkAtom
An atom identifying a selection.
time_
-
Type:
guint32
Timestamp 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.
send_event
-
Type:
gboolean
If
TRUE
, and the new owner is different from the current owner, the current owner will be sent a SelectionClear event.