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

A string representation of the target type.

flags

GtkTargetFlags for DND.

info

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 without extensive string compares.

Constructors

gtk_target_entry_new

Makes a new GtkTargetEntry.

Instance methods

gtk_target_entry_copy

Makes a copy of a GtkTargetEntry and its data.

gtk_target_entry_free

Frees a GtkTargetEntry returned from gtk_target_entry_new() or gtk_target_entry_copy().