Function

Gtkselection_owner_set

Declaration [src]

gboolean
gtk_selection_owner_set (
  GtkWidget* widget,
  GdkAtom selection,
  guint32 time_
)

Description [src]

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

Parameters

widget GtkWidget
 

A GtkWidget, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
selection GdkAtom
 

An interned atom representing the selection to claim.

time_ guint32
 

Timestamp with which to claim the selection.

Return value

Returns: gboolean
 

TRUE if the operation succeeded.