gtk.target_list

Module for [TargetList] class

Types 1

A #GtkTargetList-struct is a reference counted list of #GtkTargetPair and should be treated as opaque.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
TargetList self() nothrowReturns `this`, for use in `with` statements.
void add(gdk.atom.Atom target, uint flags, uint info) nothrowAppends another target to a #GtkTargetList.
void addImageTargets(uint info, bool writable) nothrowAppends the image targets supported by #GtkSelectionData to the target list. All targets are added with the same info.
void addRichTextTargets(uint info, bool deserializable, gtk.text_buffer.TextBuffer buffer) nothrowAppends the rich text targets registered with [gtk.text_buffer.TextBuffer.registerSerializeFormat] or [gtk.text_buffer.TextBuffer.registerDeserializeFormat] to the target list. All targets are adde...
void addTable(gtk.target_entry.TargetEntry[] targets) nothrowPrepends a table of #GtkTargetEntry to a target list.
void addTextTargets(uint info) nothrowAppends the text targets supported by #GtkSelectionData to the target list. All targets are added with the same info.
void addUriTargets(uint info) nothrowAppends the URI targets supported by #GtkSelectionData to the target list. All targets are added with the same info.
bool find(gdk.atom.Atom target, out uint info) nothrowLooks up a given target in a #GtkTargetList.
void remove(gdk.atom.Atom target) nothrowRemoves a target from a target list.
Constructors
this(void * ptr, Flag!"Take" take)
this(gtk.target_entry.TargetEntry[] targets = null)Creates a new #GtkTargetList from an array of #GtkTargetEntry.