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

NAME

6       Gtk2::Clipboard
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::Clipboard
11

METHODS

13       $clipboard->set_can_store (...)
14
15           * ... (list) of Gtk2::TargetEntry's
16
17       $clipboard->clear
18
19       display = $clipboard->get_display
20
21       clipboard = Gtk2::Clipboard->get_for_display ($display, $selection)
22
23           * $display (Gtk2::Gdk::Display)
24           * $selection (Gtk2::Gdk::Atom)
25
26       clipboard = Gtk2::Clipboard->get ($selection)
27
28           * $selection (Gtk2::Gdk::Atom)
29
30       $clipboard->set_image ($pixbuf)
31
32           * $pixbuf (Gtk2::Gdk::Pixbuf)
33
34       object = $clipboard->get_owner
35
36       $clipboard->request_contents ($target, $callback, $user_data=undef)
37
38           * $target (Gtk2::Gdk::Atom)
39           * $callback (scalar)
40           * $user_data (scalar)
41
42       $clipboard->request_image ($callback, $user_data=undef)
43
44           * $callback (scalar)
45           * $user_data (scalar)
46
47       $clipboard->request_rich_text ($buffer, $callback, $user_data=undef)
48
49           * $buffer (Gtk2::TextBuffer)
50           * $callback (scalar)
51           * $user_data (scalar)
52
53       $clipboard->request_targets ($callback, $user_data=undef)
54
55           * $callback (scalar)
56           * $user_data (scalar)
57
58       $clipboard->request_text ($callback, $user_data=undef)
59
60           * $callback (scalar)
61           * $user_data (scalar)
62
63       $clipboard->store
64
65       $clipboard->set_text ($text)
66
67           * $text (string)
68
69       selectiondata or undef = $clipboard->wait_for_contents ($target)
70
71           * $target (Gtk2::Gdk::Atom)
72
73       pixbuf or undef = $clipboard->wait_for_image
74
75       list = $clipboard->wait_for_rich_text ($buffer)
76
77           * $buffer (Gtk2::TextBuffer)
78
79       list = $clipboard->wait_for_targets
80
81           Returns a list of GdkAtom's.
82
83       string = $clipboard->wait_for_text
84
85       boolean = $clipboard->wait_is_image_available
86
87       boolean = $clipboard->wait_is_rich_text_available ($buffer)
88
89           * $buffer (Gtk2::TextBuffer)
90
91       boolean = $clipboard->wait_is_target_available ($target)
92
93           * $target (Gtk2::Gdk::Atom)
94
95       boolean = $clipboard->wait_is_text_available
96
97       boolean = $clipboard->set_with_data ($get_func, $clear_func,
98       $user_data, ...)
99
100           * $get_func (scalar)
101           * $clear_func (scalar)
102           * $user_data (scalar)
103           * ... (list) of Gtk2::TargetEntry's
104
105       boolean = $clipboard->set_with_owner ($get_func, $clear_func, $owner,
106       ...)
107
108           * $get_func (scalar)
109           * $clear_func (scalar)
110           * $owner (Glib::Object)
111           * ... (list) of Gtk2::TargetEntry's
112

SIGNALS

114       owner-change (Gtk2::Clipboard, Gtk2::Gdk::Event)
115

SEE ALSO

117       Gtk2, Glib::Object
118
120       Copyright (C) 2003-2007 by the gtk2-perl team.
121
122       This software is licensed under the LGPL.  See Gtk2 for a full notice.
123
124
125
126perl v5.8.8                       2007-03-18                Gtk2::Clipboard(3)
Impressum