Frees a #GtkSelectionData-struct returned from gtk_selection_data_copy().
Retrieves the raw data of the selection along with its length.
Retrieves the format of the selection.
Retrieves the length of the raw data of the selection.
Gets the contents of the selection data as a #GdkPixbuf.
Gets the contents of the selection data as a UTF-8 string.
Gets the contents of the selection data as array of URIs.
Stores new data into a #GtkSelectionData object. Should only be called from a selection handler callback. Zero-terminates the stored data.
the type of selection data
format (number of bits in a unit)
pointer to the data (will be copied)
Sets the contents of the selection from a #GdkPixbuf
The pixbuf is converted to the form determined by
selection_data->
target.
a #GdkPixbuf
Sets the contents of the selection from a UTF-8 encoded string.
The string is converted to the form determined by
selection_data->
target.
a UTF-8 string
the length of str,
or -1 if str
is nul-terminated.
Sets the contents of the selection from a list of URIs.
The string is converted to the form determined by
selection_data->
target.
a %NULL-terminated array of strings holding URIs
Given a #GtkSelectionData object holding a list of targets,
determines if any of the targets in targets
can be used to
provide a #GdkPixbuf.
whether to accept only targets for which GTK+ knows how to convert a pixbuf into the format
Given a #GtkSelectionData object holding a list of targets,
determines if any of the targets in targets
can be used to
provide rich text.
a #GtkTextBuffer
Given a #GtkSelectionData object holding a list of targets,
determines if any of the targets in targets
can be used to
provide text.
Given a #GtkSelectionData object holding a list of targets,
determines if any of the targets in targets
can be used to
provide a list or URIs.
Makes a copy of a #GtkSelectionData-struct and its data.