Struct
GtkSelectionData
Instance methods
gtk_selection_data_get_data_with_length
Retrieves the raw data of the selection along with its length.
since: 3.0
gtk_selection_data_get_targets
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.
gtk_selection_data_set
Stores new data into a GtkSelectionData
object. Should
only be called from a selection handler callback.
Zero-terminates the stored data.
gtk_selection_data_set_pixbuf
Sets the contents of the selection from a GdkPixbuf
The pixbuf is converted to the form determined by
selection_data
->target.
since: 2.6
gtk_selection_data_set_text
Sets the contents of the selection from a UTF-8 encoded string.
The string is converted to the form determined by
selection_data
->target.
gtk_selection_data_set_uris
Sets the contents of the selection from a list of URIs.
The string is converted to the form determined by
selection_data
->target.
since: 2.6
gtk_selection_data_targets_include_image
Given a GtkSelectionData
object holding a list of targets,
determines if any of the targets in targets
can be used to
provide a GdkPixbuf
.
since: 2.6
gtk_selection_data_targets_include_rich_text
Given a GtkSelectionData
object holding a list of targets,
determines if any of the targets in targets
can be used to
provide rich text.
since: 2.10
gtk_selection_data_targets_include_text
Given a GtkSelectionData
object holding a list of targets,
determines if any of the targets in targets
can be used to
provide text.
gtk_selection_data_targets_include_uri
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.
since: 2.10