Declaration [src]

gtk_selection_convert (
  GtkWidget* widget,
  GdkAtom selection,
  GdkAtom target,
  guint32 time_

Description [src]

Requests the contents of a selection. When received, a “selection-received” signal will be generated.


widget GtkWidget

The widget which acts as requestor.

 The data is owned by the caller of the function.
selection GdkAtom

Which selection to get.

target GdkAtom

Form of information desired (e.g., STRING)

time_ guint32

Time of request (usually of triggering event) In emergency, you could use #GDK_CURRENT_TIME.

Return value

Returns: gboolean

TRUE if requested succeeded. FALSE if we could not process request. (e.g., there was already a request in process for this widget).