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)
GType _gType() @property
TargetEntry self()Returns `this`, for use in `with` statements.
string target() @propertyGet `target` field. Returns: a string representation of the target type
void target(string propval) @propertySet `target` field. Params: propval = a string representation of the target type
uint flags() @propertyGet `flags` field. Returns: #GtkTargetFlags for DND
void flags(uint propval) @propertySet `flags` field. Params: propval = #GtkTargetFlags for DND
uint info() @propertyGet `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) @propertySet `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()Makes 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.