gtk.target_entry
Module for [TargetEntry] class
class TargetEntry
Types 1
classTargetEntry : gobject.boxed.Boxed
A #GtkTargetEntry represents a single type of data than can be supplied for by a widget for a selection or for supplied or received during drag-and-drop.
Methods
string target() @property nothrowGet `target` field. Returns: a string representation of the target typevoid target(string propval) @property nothrowSet `target` field. Params: propval = a string representation of the target typevoid flags(uint propval) @property nothrowSet `flags` field. Params: propval = #GtkTargetFlags for DNDuint info() @property nothrowGet `info` field. Returns: an application-assigned integer ID which will get passed as a parameter to e.g the #GtkWidget::selection-get signal. It allows the application to identify the target type...void info(uint propval) @property nothrowSet `info` field. Params: propval = an application-assigned integer ID which will get passed as a parameter to e.g the #GtkWidget::selection-get signal. It allows the application to identify the ta...gtk.target_entry.TargetEntry copy() nothrowMakes a copy of a #GtkTargetEntry and its data. Returns: a pointer to a copy of data. Free with [gtk.target_entry.TargetEntry.free]