Sets our main struct and passes it to the parent class.
A destructor is present on this object, but not explicitly documented in the source.
Makes a copy of a [GtkSelectionData-struct|GtkSelectionData-struct] and its data.
Frees a [GtkSelectionData-struct|GtkSelectionData-struct] returned from SelectionData.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 gdk.Pixbuf
Retrieves the selection gdk.Atom 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 gtk.SelectionData object. Should only be called from a selection handler callback. Zero-terminates the stored data.
Sets the contents of the selection from a gdk.Pixbuf 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 gtk.SelectionData object holding a list of targets, determines if any of the targets in targets can be used to provide a gdk.Pixbuf
Given a gtk.SelectionData object holding a list of targets, determines if any of the targets in targets can be used to provide rich text.
Given a gtk.SelectionData object holding a list of targets, determines if any of the targets in targets can be used to provide text.
Given a gtk.SelectionData 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