Struct
GtkTargetEntry
Description [src]
struct GtkTargetEntry {
gchar* target;
guint flags;
guint info;
}
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.
Structure members
target:gchar*A string representation of the target type.
flags:guintGtkTargetFlagsfor DND.info:guintAn application-assigned integer ID which will get passed as a parameter to e.g the
GtkWidget::selection-getsignal. It allows the application to identify the target type without extensive string compares.
Instance methods
gtk_target_entry_free
Frees a GtkTargetEntry returned from
gtk_target_entry_new() or gtk_target_entry_copy().