1Gtk2::Gdk(3) User Contributed Perl Documentation Gtk2::Gdk(3)
2
3
4
6 Gtk2::Gdk
7
9 atom = Gtk2::Gdk->SELECTION_CLIPBOARD
10
11 atom = Gtk2::Gdk->SELECTION_PRIMARY
12
13 atom = Gtk2::Gdk->SELECTION_SECONDARY
14
15 atom = Gtk2::Gdk->SELECTION_TYPE_ATOM
16
17 atom = Gtk2::Gdk->SELECTION_TYPE_BITMAP
18
19 atom = Gtk2::Gdk->SELECTION_TYPE_COLORMAP
20
21 atom = Gtk2::Gdk->SELECTION_TYPE_DRAWABLE
22
23 atom = Gtk2::Gdk->SELECTION_TYPE_INTEGER
24
25 atom = Gtk2::Gdk->SELECTION_TYPE_PIXMAP
26
27 atom = Gtk2::Gdk->SELECTION_TYPE_STRING
28
29 atom = Gtk2::Gdk->SELECTION_TYPE_WINDOW
30
31 atom = Gtk2::Gdk->TARGET_BITMAP
32
33 atom = Gtk2::Gdk->TARGET_COLORMAP
34
35 atom = Gtk2::Gdk->TARGET_DRAWABLE
36
37 atom = Gtk2::Gdk->TARGET_PIXMAP
38
39 atom = Gtk2::Gdk->TARGET_STRING
40
41 Gtk2::Gdk->beep
42
43 window = Gtk2::Gdk->get_default_root_window
44
45 list = Gtk2::Gdk->devices_list
46
47 Returns a list of GdkDevices.
48
49 string = Gtk2::Gdk->get_display_arg_name
50
51 string = Gtk2::Gdk->get_display
52
53 integer = Gtk2::Gdk->error_trap_pop
54
55 Gtk2::Gdk->error_trap_push
56
57 boolean = Gtk2::Gdk->events_pending
58
59 Gtk2::Gdk->flush
60
61 boolean = Gtk2::Gdk->init
62
63 boolean = Gtk2::Gdk->init_check
64
65 grabstatus = Gtk2::Gdk->keyboard_grab ($window, $owner_events, $time_)
66
67 * $window (Gtk2::Gdk::Window)
68 * $owner_events (boolean)
69 * $time_ (unsigned)
70
71 Gtk2::Gdk->keyboard_ungrab ($time_)
72
73 * $time_ (unsigned)
74
75 (lower, upper) = Gtk2::Gdk::Keyval->convert_case ($symbol)
76
77 * $symbol (integer)
78
79 integer = Gtk2::Gdk->keyval_from_name ($keyval_name)
80
81 * $keyval_name (string)
82
83 boolean = Gtk2::Gdk->keyval_is_lower ($keyval)
84
85 * $keyval (integer)
86
87 boolean = Gtk2::Gdk->keyval_is_upper ($keyval)
88
89 * $keyval (integer)
90
91 string = Gtk2::Gdk->keyval_name ($keyval)
92
93 * $keyval (integer)
94
95 integer = Gtk2::Gdk->keyval_to_lower ($keyval)
96
97 * $keyval (integer)
98
99 unsigned = Gtk2::Gdk->keyval_to_unicode ($keyval)
100
101 * $keyval (integer)
102
103 integer = Gtk2::Gdk->keyval_to_upper ($keyval)
104
105 * $keyval (integer)
106
107 list = Gtk2::Gdk->list_visuals
108
109 string = Gtk2::Gdk->set_locale
110
111 Gtk2::Gdk->notify_startup_complete
112
113 Gtk2::Gdk->parse_args
114
115 grabstatus = Gtk2::Gdk->pointer_grab ($window, $owner_events,
116 $event_mask, $confine_to, $cursor, $time_)
117
118 * $window (Gtk2::Gdk::Window)
119 * $owner_events (boolean)
120 * $event_mask (Gtk2::Gdk::EventMask)
121 * $confine_to (Gtk2::Gdk::Window or undef)
122 * $cursor (Gtk2::Gdk::Cursor or undef)
123 * $time_ (unsigned)
124
125 boolean = Gtk2::Gdk->pointer_is_grabbed
126
127 Gtk2::Gdk->pointer_ungrab ($time_)
128
129 * $time_ (unsigned)
130
131 string = Gtk2::Gdk->get_program_class
132
133 Gtk2::Gdk->set_program_class ($program_class)
134
135 * $program_class (string)
136
137 list = Gtk2::Gdk->query_depths
138
139 Returns a list of depths.
140
141 list = Gtk2::Gdk->query_visual_types
142
143 integer = Gtk2::Gdk->screen_height
144
145 integer = Gtk2::Gdk->screen_height_mm
146
147 integer = Gtk2::Gdk->screen_width
148
149 integer = Gtk2::Gdk->screen_width_mm
150
151 scalar = Gtk2::Gdk->setting_get ($name)
152
153 * $name (string)
154
155 boolean = Gtk2::Gdk->get_show_events
156
157 Gtk2::Gdk->set_show_events ($show_events)
158
159 * $show_events (boolean)
160
161 Gtk2::Gdk->set_sm_client_id ($sm_client_id=undef)
162
163 * $sm_client_id (string or undef)
164
165 list = Gtk2::Gdk->string_to_compound_text ($str)
166
167 * $str (string)
168
169 Returns a list of strings.
170
171 list = Gtk2::Gdk->string_to_compound_text_for_display ($display, $str)
172
173 * $display (Gtk2::Gdk::Display)
174 * $str (string)
175
176 Returns a list of strings.
177
178 list = Gtk2::Gdk->text_property_to_text_list ($encoding, $format,
179 $text)
180
181 * $encoding (Gtk2::Gdk::Atom)
182 * $format (integer)
183 * $text (scalar)
184
185 Returns a list of strings.
186
187 list = Gtk2::Gdk->text_property_to_text_list_for_display ($display,
188 $encoding, $format, $text)
189
190 * $display (Gtk2::Gdk::Display)
191 * $encoding (Gtk2::Gdk::Atom)
192 * $format (integer)
193 * $text (scalar)
194
195 Returns a list of strings.
196
197 list = Gtk2::Gdk->text_property_to_utf8_list ($encoding, $format,
198 $text)
199
200 * $encoding (Gtk2::Gdk::Atom)
201 * $format (integer)
202 * $text (scalar)
203
204 Returns a list of strings.
205
206 list = Gtk2::Gdk->text_property_to_utf8_list_for_display ($display,
207 $encoding, $format, $text)
208
209 * $display (Gtk2::Gdk::Display)
210 * $encoding (Gtk2::Gdk::Atom)
211 * $format (integer)
212 * $text (scalar)
213
214 Returns a list of strings.
215
216 integer = Gtk2::Gdk->unicode_to_keyval ($wc)
217
218 * $wc (unsigned)
219
220 list = Gtk2::Gdk->utf8_to_compound_text ($str)
221
222 * $str (string)
223
224 Returns a list of strings.
225
226 list = Gtk2::Gdk->utf8_to_compound_text_for_display ($display, $str)
227
228 * $display (Gtk2::Gdk::Display)
229 * $str (string)
230
231 Returns a list of strings.
232
233 string or undef = Gtk2::Gdk->utf8_to_string_target ($str)
234
235 * $str (string)
236
237 Returns a list of strings.
238
240 flags Gtk2::Gdk::EventMask
241
242 * 'exposure-mask' / 'GDK_EXPOSURE_MASK'
243 * 'pointer-motion-mask' / 'GDK_POINTER_MOTION_MASK'
244 * 'pointer-motion-hint-mask' / 'GDK_POINTER_MOTION_HINT_MASK'
245 * 'button-motion-mask' / 'GDK_BUTTON_MOTION_MASK'
246 * 'button1-motion-mask' / 'GDK_BUTTON1_MOTION_MASK'
247 * 'button2-motion-mask' / 'GDK_BUTTON2_MOTION_MASK'
248 * 'button3-motion-mask' / 'GDK_BUTTON3_MOTION_MASK'
249 * 'button-press-mask' / 'GDK_BUTTON_PRESS_MASK'
250 * 'button-release-mask' / 'GDK_BUTTON_RELEASE_MASK'
251 * 'key-press-mask' / 'GDK_KEY_PRESS_MASK'
252 * 'key-release-mask' / 'GDK_KEY_RELEASE_MASK'
253 * 'enter-notify-mask' / 'GDK_ENTER_NOTIFY_MASK'
254 * 'leave-notify-mask' / 'GDK_LEAVE_NOTIFY_MASK'
255 * 'focus-change-mask' / 'GDK_FOCUS_CHANGE_MASK'
256 * 'structure-mask' / 'GDK_STRUCTURE_MASK'
257 * 'property-change-mask' / 'GDK_PROPERTY_CHANGE_MASK'
258 * 'visibility-notify-mask' / 'GDK_VISIBILITY_NOTIFY_MASK'
259 * 'proximity-in-mask' / 'GDK_PROXIMITY_IN_MASK'
260 * 'proximity-out-mask' / 'GDK_PROXIMITY_OUT_MASK'
261 * 'substructure-mask' / 'GDK_SUBSTRUCTURE_MASK'
262 * 'scroll-mask' / 'GDK_SCROLL_MASK'
263 * 'all-events-mask' / 'GDK_ALL_EVENTS_MASK'
264
265 enum Gtk2::Gdk::GrabStatus
266
267 * 'success' / 'GDK_GRAB_SUCCESS'
268 * 'already-grabbed' / 'GDK_GRAB_ALREADY_GRABBED'
269 * 'invalid-time' / 'GDK_GRAB_INVALID_TIME'
270 * 'not-viewable' / 'GDK_GRAB_NOT_VIEWABLE'
271 * 'frozen' / 'GDK_GRAB_FROZEN'
272
274 Gtk2
275
277 Copyright (C) 2003-2007 by the gtk2-perl team.
278
279 This software is licensed under the LGPL. See Gtk2 for a full notice.
280
281
282
283perl v5.8.8 2007-03-18 Gtk2::Gdk(3)