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
TargetList self()Returns `this`, for use in `with` statements.void add(gdk.atom.Atom target, uint flags, uint info)Appends another target to a #GtkTargetList.void addImageTargets(uint info, bool writable)Appends 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)Appends the rich text targets registered with [gtk.textbuffer.TextBuffer.registerSerializeFormat] or [gtk.textbuffer.TextBuffer.registerDeserializeFormat] to the target list. All targets are added ...void addTable(gtk.target_entry.TargetEntry[] targets)Prepends a table of #GtkTargetEntry to a target list.void addTextTargets(uint info)Appends the text targets supported by #GtkSelectionData to the target list. All targets are added with the same info.void addUriTargets(uint info)Appends 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)Looks up a given target in a #GtkTargetList.void remove(gdk.atom.Atom target)Removes a target from a target list.Constructors
this(gtk.target_entry.TargetEntry[] targets = null)Creates a new #GtkTargetList from an array of #GtkTargetEntry.