gtk.target_entry

Module for [TargetEntry] class

Types 1

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
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
TargetEntry self() nothrowReturns `this`, for use in `with` statements.
string target() @property nothrowGet `target` field. Returns: a string representation of the target type
void target(string propval) @property nothrowSet `target` field. Params: propval = a string representation of the target type
uint flags() @property nothrowGet `flags` field. Returns: #GtkTargetFlags for DND
void flags(uint propval) @property nothrowSet `flags` field. Params: propval = #GtkTargetFlags for DND
uint 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]
Constructors
this(void * ptr, Flag!"Take" take)
this(string target, uint flags, uint info)Makes a new #GtkTargetEntry.