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