SelectionData.getTargets

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 SelectionData
bool
getTargets

Parameters

targets GdkAtom[]

location to store an array of targets. The result stored here must be freed with g_free().

Return Value

Type: bool

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

Meta