1Gtk2::TargetList(3)   User Contributed Perl Documentation  Gtk2::TargetList(3)
2
3
4

NAME

6       Gtk2::TargetList - wrapper for GtkTargetList
7

HIERARCHY

9         Glib::Boxed
10         +----Gtk2::TargetList
11

METHODS

13   targetlist = Gtk2::TargetList->new (...)
14       ·   ... (list) of Gtk2::TargetEntry's
15
16   $list->add ($target, $flags, $info)
17       ·   $target (Gtk2::Gdk::Atom)
18
19       ·   $flags (integer)
20
21       ·   $info (integer)
22
23   $list->add_image_targets ($info, $writable)
24       ·   $info (integer)
25
26       ·   $writable (boolean)
27
28       Since: gtk+ 2.6
29
30   $list->add_rich_text_targets ($info, $deserializable, $buffer)
31       ·   $info (integer)
32
33       ·   $deserializable (boolean)
34
35       ·   $buffer (Gtk2::TextBuffer)
36
37       Since: gtk+ 2.10
38
39   $list->add_table (...)
40       ·   ... (list) of Gtk2::TargetEntry's
41
42   $list->add_text_targets ($info)
43       ·   $info (integer)
44
45       Since: gtk+ 2.6
46
47   $list->add_uri_targets ($info)
48       ·   $info (integer)
49
50       Since: gtk+ 2.6
51
52   integer = $list->find ($target)
53       ·   $target (Gtk2::Gdk::Atom)
54
55   $list->remove ($target)
56       ·   $target (Gtk2::Gdk::Atom)
57

SEE ALSO

59       Gtk2, Glib::Boxed, Gtk2::TargetEntry
60
62       Copyright (C) 2003-2011 by the gtk2-perl team.
63
64       This software is licensed under the LGPL.  See Gtk2 for a full notice.
65
66
67
68perl v5.30.1                      2020-01-30               Gtk2::TargetList(3)
Impressum