Sets our main struct and passes it to the parent class.
Makes a copy of a #GtkSelectionData-struct and its data.
Frees a #GtkSelectionData-struct returned from gtk_selection_data_copy().
Retrieves the raw data of the selection.
Retrieves the data type of the selection.
Retrieves the raw data of the selection along with its length.
Retrieves the display of the selection.
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.
Retrieves the selection #GdkAtom of the selection data.
Get the main Gtk struct
the main Gtk struct as a void*
Retrieves the target of the selection.
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.
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.
Sets the contents of the selection from a #GdkPixbuf The pixbuf is converted to the form determined by @selection_data->target.
Sets the contents of the selection from a UTF-8 encoded string. The string is converted to the form determined by @selection_data->target.
Sets the contents of the selection from a list of URIs. The string is converted to the form determined by @selection_data->target.
Given a #GtkSelectionData object holding a list of targets, determines if any of the targets in @targets can be used to provide a #GdkPixbuf.
Given a #GtkSelectionData object holding a list of targets, determines if any of the targets in @targets can be used to provide rich text.
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.
Appends a specified target to the list of supported targets for a given widget and selection.
Prepends a table of targets to the list of supported targets for a given widget and selection.
Remove all targets registered for the given selection for the widget.
Requests the contents of a selection. When received, a “selection-received” signal will be generated.
Claims ownership of a given selection for a particular widget, or, if @widget is %NULL, release ownership of the selection.
Claim ownership of a given selection for a particular widget, or, if @widget is %NULL, release ownership of the selection.
Removes all handlers and unsets ownership of all selections for a widget. Called when widget is being destroyed. This function will not generally be called by applications.
the main Gtk struct