Function

Gtkselection_convert

Declaration [src]

gboolean
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.

Parameters

widget

Type: GtkWidget

The widget which acts as requestor.

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

Type: GdkAtom

Which selection to get.

target

Type: GdkAtom

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

time_

Type: guint32

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

Return value

Type: gboolean

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