TargetEntry

The selection mechanism provides the basis for different types of communication between processes. In particular, drag and drop and GtkClipboard work via selections. You will very seldom or never need to use most of the functions in this section directly; GtkClipboard provides a nicer interface to the same functionality.

Some of the datatypes defined this section are used in the GtkClipboard and drag-and-drop API's as well. The GtkTargetEntry structure and GtkTargetList objects represent lists of data types that are supported when sending or receiving data. The GtkSelectionData object is used to store a chunk of data along with the data type and other associated information.

Constructors

this
this(GtkTargetEntry* gtkTargetEntry)

Sets our main struct and passes it to the parent class

this
this(string target, uint flags, uint info)

Makes a new GtkTargetEntry structure.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
TargetEntry copy()

Makes a copy of a GtkTargetEntry structure and its data.

free
void free()

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

getStruct
void* getStruct()

the main Gtk struct as a void*

getTargetEntryStruct
GtkTargetEntry* getTargetEntryStruct()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

gtkTargetEntry
GtkTargetEntry* gtkTargetEntry;

the main Gtk struct

Meta