Method

GtkSelectionDataget_data_with_length

Declaration [src]

const guchar*
gtk_selection_data_get_data_with_length (
  const GtkSelectionData* selection_data,
  gint* length
)

Description [src]

Retrieves the raw data of the selection along with its length.

Available since:3.0
This method is renamed to gtk_selection_data_get_data() in language bindings

Parameters

length gint*
 

Return location for length of the data segment.

 The argument will be set by the function.

Return value

Returns: An array of guchar
 

The raw data of the selection.

 The length of the array is in the length argument.
 The data is owned by the instance.