Selections.dataGetTargets

Gets the contents of selection_data as an array of targets. This can be used to interpret the results of getting the standard TARGETS target that is always supplied for any selection.

class Selections
static
int
dataGetTargets

Parameters

selectionData GtkSelectionData*

a GtkSelectionData object

targets GdkAtom[]

location to store an array of targets. The result stored here must be freed with g_free(). out[array length=n_atoms][transfer container]

Return Value

Type: int

TRUE if selection_data contains a valid array of targets, otherwise FALSE.

Meta