gtk.target_list
Module for [TargetList] class
class TargetList
Types 1
classTargetList : gobject.boxed.Boxed
A #GtkTargetList-struct is a reference counted list of #GtkTargetPair and should be treated as opaque.
Methods
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.Constructors
this(gtk.target_entry.TargetEntry[] targets = null)Creates a new #GtkTargetList from an array of #GtkTargetEntry.