Method

GtkSelectionDataget_data_with_length

since: 3.0

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

Type: gint*

Return location for length of the data segment.

The argument will be set by the function.

Return value

Type: An array of guchar

The raw data of the selection.

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