TargetList
Object Hierarchy:
Description:
[ CCode ( ref_function = "gtk_target_list_ref" , type_id = "gtk_target_list_get_type ()" , unref_function = "gtk_target_list_unref" ) ]
[ Compact ]
public class TargetList
A TargetList-struct is a reference counted list of GtkTargetPair
and should be treated as opaque.
Content:
Creation methods:
Methods:
- public unowned TargetList @ref ()
Increases the reference count of a TargetList
by one.
- public void add (Atom target, uint flags, uint info)
Appends another target to a TargetList.
- public void add_image_targets (uint info, bool writable)
Appends the image targets supported by
SelectionData to the target list.
- public void add_rich_text_targets (uint info, bool deserializable, TextBuffer buffer)
- public void add_table (TargetEntry[] targets)
- public void add_text_targets (uint info)
Appends the text targets supported by
SelectionData to the target list.
- public void add_uri_targets (uint info)
Appends the URI targets supported by
SelectionData to the target list.
- public bool find (Atom target, out uint info)
Looks up a given target in a TargetList.
- public void remove (Atom target)
Removes a target from a target list.
- public void unref ()
Decreases the reference count of a TargetList
by one.