~ubuntu-branches/ubuntu/quantal/shotwell/quantal

« back to all changes in this revision

Viewing changes to vapi/gdk-3.0.vapi

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-02-21 13:52:58 UTC
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: package-import@ubuntu.com-20120221135258-ao9jiib5qicomq7q
Tags: upstream-0.11.92
ImportĀ upstreamĀ versionĀ 0.11.92

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* gdk-3.0.vapi generated by vapigen, do not modify. */
2
 
 
3
 
[CCode (gir_namespace = "Gdk", gir_version = "3.0")]
4
 
namespace Gdk {
5
 
        namespace Selection {
6
 
                [CCode (cheader_filename = "gdk/gdk.h")]
7
 
                public static void convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
8
 
                [CCode (cheader_filename = "gdk/gdk.h")]
9
 
                public static unowned Gdk.Window owner_get (Gdk.Atom selection);
10
 
                [CCode (cheader_filename = "gdk/gdk.h")]
11
 
                public static unowned Gdk.Window owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
12
 
                [CCode (cheader_filename = "gdk/gdk.h")]
13
 
                public static bool owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
14
 
                [CCode (cheader_filename = "gdk/gdk.h")]
15
 
                public static bool owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
16
 
                [CCode (cheader_filename = "gdk/gdk.h")]
17
 
                public static int property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
18
 
                [CCode (cheader_filename = "gdk/gdk.h")]
19
 
                public static void send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
20
 
                [CCode (cheader_filename = "gdk/gdk.h")]
21
 
                public static void send_notify_for_display (Gdk.Display display, Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
22
 
        }
23
 
        [CCode (cheader_filename = "gdk/gdk.h")]
24
 
        public class AppLaunchContext : GLib.AppLaunchContext {
25
 
                [CCode (has_construct_function = false)]
26
 
                protected AppLaunchContext ();
27
 
                public void set_desktop (int desktop);
28
 
                public void set_icon (GLib.Icon icon);
29
 
                public void set_icon_name (string icon_name);
30
 
                public void set_screen (Gdk.Screen screen);
31
 
                public void set_timestamp (uint32 timestamp);
32
 
                [NoAccessorMethod]
33
 
                public Gdk.Display display { owned get; construct; }
34
 
        }
35
 
        [CCode (cheader_filename = "gdk/gdk.h", ref_function = "g_object_ref", unref_function = "g_object_unref")]
36
 
        public class Bitmap {
37
 
        }
38
 
        [CCode (cheader_filename = "gdk/gdk.h")]
39
 
        public class Cursor : GLib.Object {
40
 
                [CCode (has_construct_function = false)]
41
 
                public Cursor (Gdk.CursorType cursor_type);
42
 
                [CCode (has_construct_function = false)]
43
 
                public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
44
 
                [CCode (has_construct_function = false)]
45
 
                public Cursor.from_name (Gdk.Display display, string name);
46
 
                [CCode (has_construct_function = false)]
47
 
                public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
48
 
                public Gdk.CursorType get_cursor_type ();
49
 
                public unowned Gdk.Display get_display ();
50
 
                public unowned Gdk.Pixbuf get_image ();
51
 
                public Gdk.CursorType cursor_type { get; construct; }
52
 
                public Gdk.Display display { get; construct; }
53
 
        }
54
 
        [CCode (cheader_filename = "gdk/gdk.h")]
55
 
        public class Device : GLib.Object {
56
 
                [CCode (has_construct_function = false)]
57
 
                protected Device ();
58
 
                public static void free_history (Gdk.TimeCoord[] events);
59
 
                public unowned Gdk.Device? get_associated_device ();
60
 
                public bool get_axis ([CCode (array_length = false)] double[] axes, Gdk.AxisUse use, out double value);
61
 
                public Gdk.AxisUse get_axis_use (uint index_);
62
 
                public bool get_axis_value ([CCode (array_length = false)] double[] axes, Gdk.Atom axis_label, out double value);
63
 
                public Gdk.DeviceType get_device_type ();
64
 
                public unowned Gdk.Display get_display ();
65
 
                public bool get_has_cursor ();
66
 
                public bool get_history (Gdk.Window window, uint32 start, uint32 stop, out Gdk.TimeCoord[] events);
67
 
                public bool get_key (uint index_, out uint keyval, out Gdk.ModifierType modifiers);
68
 
                public Gdk.InputMode get_mode ();
69
 
                public int get_n_axes ();
70
 
                public int get_n_keys ();
71
 
                public unowned string get_name ();
72
 
                public void get_position (out unowned Gdk.Screen screen, out int x, out int y);
73
 
                public Gdk.InputSource get_source ();
74
 
                public void get_state (Gdk.Window window, [CCode (array_length = false)] double[] axes, out Gdk.ModifierType mask);
75
 
                public unowned Gdk.Window? get_window_at_position (int win_x, int win_y);
76
 
                public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time_);
77
 
                public static bool grab_info_libgtk_only (Gdk.Display display, Gdk.Device device, out unowned Gdk.Window grab_window, bool owner_events);
78
 
                public GLib.List<weak Gdk.Atom> list_axes ();
79
 
                public GLib.List<weak Gdk.Atom>? list_slave_devices ();
80
 
                public void set_axis_use (uint index_, Gdk.AxisUse use);
81
 
                public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
82
 
                public bool set_mode (Gdk.InputMode mode);
83
 
                public void ungrab (uint32 time_);
84
 
                public void warp (Gdk.Screen screen, int x, int y);
85
 
                public Gdk.Device? associated_device { get; }
86
 
                [NoAccessorMethod]
87
 
                public Gdk.DeviceManager device_manager { owned get; construct; }
88
 
                public Gdk.Display display { get; construct; }
89
 
                public bool has_cursor { get; construct; }
90
 
                [NoAccessorMethod]
91
 
                public Gdk.InputMode input_mode { get; set; }
92
 
                [NoAccessorMethod]
93
 
                public Gdk.InputSource input_source { get; construct; }
94
 
                public uint n_axes { get; }
95
 
                public string? name { get; construct; }
96
 
                [NoAccessorMethod]
97
 
                public Gdk.DeviceType type { get; construct; }
98
 
                public virtual signal void changed ();
99
 
        }
100
 
        [CCode (cheader_filename = "gdk/gdk.h")]
101
 
        public class DeviceManager : GLib.Object {
102
 
                [CCode (has_construct_function = false)]
103
 
                protected DeviceManager ();
104
 
                public unowned Gdk.Device get_client_pointer ();
105
 
                public unowned Gdk.Display get_display ();
106
 
                public unowned GLib.List list_devices (Gdk.DeviceType type);
107
 
                public Gdk.Display display { get; construct; }
108
 
                public virtual signal void device_added (Gdk.Device p0);
109
 
                public virtual signal void device_changed (Gdk.Device p0);
110
 
                public virtual signal void device_removed (Gdk.Device p0);
111
 
        }
112
 
        [CCode (cheader_filename = "gdk/gdk.h")]
113
 
        public class Display : GLib.Object {
114
 
                [CCode (has_construct_function = false)]
115
 
                protected Display ();
116
 
                public void beep ();
117
 
                public void close ();
118
 
                public bool device_is_grabbed (Gdk.Device device);
119
 
                public void flush ();
120
 
                public unowned Gdk.AppLaunchContext get_app_launch_context ();
121
 
                public static unowned Gdk.Display get_default ();
122
 
                public uint get_default_cursor_size ();
123
 
                public unowned Gdk.Window get_default_group ();
124
 
                public unowned Gdk.Screen get_default_screen ();
125
 
                public unowned Gdk.DeviceManager get_device_manager ();
126
 
                public Gdk.Event get_event ();
127
 
                public void get_maximal_cursor_size (out uint width, out uint height);
128
 
                public int get_n_screens ();
129
 
                public unowned string get_name ();
130
 
                public unowned Gdk.Screen get_screen (int screen_num);
131
 
                public bool has_pending ();
132
 
                public bool is_closed ();
133
 
                public void notify_startup_complete (string startup_id);
134
 
                public static unowned Gdk.Display open (string display_name);
135
 
                public static unowned Gdk.Display open_default_libgtk_only ();
136
 
                public Gdk.Event peek_event ();
137
 
                public void put_event (Gdk.Event event);
138
 
                public bool request_selection_notification (Gdk.Atom selection);
139
 
                public void set_double_click_distance (uint distance);
140
 
                public void set_double_click_time (uint msec);
141
 
                public void store_clipboard (Gdk.Window clipboard_window, uint32 time_, Gdk.Atom[] targets);
142
 
                public bool supports_clipboard_persistence ();
143
 
                public bool supports_composite ();
144
 
                public bool supports_cursor_alpha ();
145
 
                public bool supports_cursor_color ();
146
 
                public bool supports_input_shapes ();
147
 
                public bool supports_selection_notification ();
148
 
                public bool supports_shapes ();
149
 
                public void sync ();
150
 
                public virtual signal void closed (bool p0);
151
 
                public virtual signal void opened ();
152
 
        }
153
 
        [CCode (cheader_filename = "gdk/gdk.h")]
154
 
        public class DisplayManager : GLib.Object {
155
 
                [CCode (has_construct_function = false)]
156
 
                protected DisplayManager ();
157
 
                public static unowned Gdk.DisplayManager @get ();
158
 
                public unowned Gdk.Display get_default_display ();
159
 
                public GLib.SList<weak Gdk.Display> list_displays ();
160
 
                public unowned Gdk.Display open_display (string name);
161
 
                public void set_default_display (Gdk.Display display);
162
 
                public Gdk.Display default_display { get; set; }
163
 
                public virtual signal void display_opened (Gdk.Display p0);
164
 
        }
165
 
        [CCode (cheader_filename = "gdk/gdk.h")]
166
 
        public class DragContext : GLib.Object {
167
 
                [CCode (has_construct_function = false)]
168
 
                protected DragContext ();
169
 
                public Gdk.DragAction get_actions ();
170
 
                public unowned Gdk.Window get_dest_window ();
171
 
                public unowned Gdk.Device get_device ();
172
 
                public Gdk.DragProtocol get_protocol ();
173
 
                public Gdk.DragAction get_selected_action ();
174
 
                public unowned Gdk.Window get_source_window ();
175
 
                public Gdk.DragAction get_suggested_action ();
176
 
                public unowned GLib.List list_targets ();
177
 
                public void set_device (Gdk.Device device);
178
 
        }
179
 
        [CCode (cheader_filename = "gdk/gdk.h", copy_function = "gdk_event_copy", type_id = "gdk_event_get_type ()")]
180
 
        [Compact]
181
 
        public class Event {
182
 
                public Gdk.EventAny any;
183
 
                public Gdk.EventButton button;
184
 
                public Gdk.EventConfigure configure;
185
 
                public Gdk.EventCrossing crossing;
186
 
                public Gdk.EventDND dnd;
187
 
                public Gdk.EventExpose expose;
188
 
                public Gdk.EventFocus focus_change;
189
 
                public Gdk.EventGrabBroken grab_broken;
190
 
                public Gdk.EventKey key;
191
 
                public Gdk.EventMotion motion;
192
 
                public Gdk.EventOwnerChange owner_change;
193
 
                public Gdk.EventProperty property;
194
 
                public Gdk.EventProximity proximity;
195
 
                public Gdk.EventScroll scroll;
196
 
                public Gdk.EventSelection selection;
197
 
                public Gdk.EventSetting setting;
198
 
                public Gdk.EventType type;
199
 
                public Gdk.EventVisibility visibility;
200
 
                public Gdk.EventWindowState window_state;
201
 
                [CCode (has_construct_function = false)]
202
 
                public Event (Gdk.EventType type);
203
 
                public Gdk.Event copy ();
204
 
                public static unowned Gdk.Event @get ();
205
 
                public bool get_axis (Gdk.AxisUse axis_use, out double value);
206
 
                public bool get_coords (out double x_win, out double y_win);
207
 
                public unowned Gdk.Device get_device ();
208
 
                public bool get_root_coords (out double x_root, out double y_root);
209
 
                public unowned Gdk.Screen get_screen ();
210
 
                public unowned Gdk.Device get_source_device ();
211
 
                public bool get_state (out Gdk.ModifierType state);
212
 
                public uint32 get_time ();
213
 
                public static void handler_set (owned Gdk.EventFunc func);
214
 
                public static unowned Gdk.Event peek ();
215
 
                public void put ();
216
 
                public static void request_motions (Gdk.EventMotion event);
217
 
                public void set_device (Gdk.Device device);
218
 
                public void set_screen (Gdk.Screen screen);
219
 
                public void set_source_device (Gdk.Device device);
220
 
        }
221
 
        [CCode (cheader_filename = "gdk/gdk.h")]
222
 
        public class Keymap : GLib.Object {
223
 
                [CCode (has_construct_function = false)]
224
 
                protected Keymap ();
225
 
                public void add_virtual_modifiers (Gdk.ModifierType state);
226
 
                public bool get_caps_lock_state ();
227
 
                public static unowned Gdk.Keymap get_default ();
228
 
                public Pango.Direction get_direction ();
229
 
                public bool get_entries_for_keycode (uint hardware_keycode, [CCode (array_length = false)] out Gdk.KeymapKey[] keys, [CCode (array_length = false)] out uint[] keyvals, out int n_entries);
230
 
                public bool get_entries_for_keyval (uint keyval, out unowned Gdk.KeymapKey[] keys);
231
 
                public static unowned Gdk.Keymap get_for_display (Gdk.Display display);
232
 
                public bool get_num_lock_state ();
233
 
                public bool have_bidi_layouts ();
234
 
                public uint lookup_key (Gdk.KeymapKey key);
235
 
                public bool map_virtual_modifiers (Gdk.ModifierType state);
236
 
                public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, uint keyval, int effective_group, int level, Gdk.ModifierType consumed_modifiers);
237
 
                public virtual signal void direction_changed ();
238
 
                public virtual signal void keys_changed ();
239
 
                public virtual signal void state_changed ();
240
 
        }
241
 
        [CCode (cheader_filename = "gdk/gdk.h")]
242
 
        public class Screen : GLib.Object {
243
 
                [CCode (has_construct_function = false)]
244
 
                protected Screen ();
245
 
                public unowned Gdk.Window get_active_window ();
246
 
                public static unowned Gdk.Screen get_default ();
247
 
                public unowned Gdk.Display get_display ();
248
 
                public unowned Cairo.FontOptions get_font_options ();
249
 
                public int get_height ();
250
 
                public int get_height_mm ();
251
 
                public int get_monitor_at_point (int x, int y);
252
 
                public int get_monitor_at_window (Gdk.Window window);
253
 
                public void get_monitor_geometry (int monitor_num, out Gdk.Rectangle dest);
254
 
                public int get_monitor_height_mm (int monitor_num);
255
 
                public unowned string get_monitor_plug_name (int monitor_num);
256
 
                public int get_monitor_width_mm (int monitor_num);
257
 
                public int get_n_monitors ();
258
 
                public int get_number ();
259
 
                public int get_primary_monitor ();
260
 
                public double get_resolution ();
261
 
                public unowned Gdk.Visual get_rgba_visual ();
262
 
                public unowned Gdk.Window get_root_window ();
263
 
                public bool get_setting (string name, GLib.Value value);
264
 
                public unowned Gdk.Visual get_system_visual ();
265
 
                public GLib.List<weak Gdk.Window> get_toplevel_windows ();
266
 
                public int get_width ();
267
 
                public int get_width_mm ();
268
 
                public GLib.List<Gdk.Window>? get_window_stack ();
269
 
                public static int height ();
270
 
                public static int height_mm ();
271
 
                public bool is_composited ();
272
 
                public GLib.List<weak Gdk.Visual> list_visuals ();
273
 
                public unowned string make_display_name ();
274
 
                public void set_font_options (Cairo.FontOptions options);
275
 
                public void set_resolution (double dpi);
276
 
                public static int width ();
277
 
                public static int width_mm ();
278
 
                public void* font_options { get; set; }
279
 
                public double resolution { get; set; }
280
 
                public virtual signal void composited_changed ();
281
 
                public virtual signal void monitors_changed ();
282
 
                public virtual signal void size_changed ();
283
 
        }
284
 
        [CCode (cheader_filename = "gdk/gdk.h")]
285
 
        public class Visual : GLib.Object {
286
 
                [CCode (has_construct_function = false)]
287
 
                protected Visual ();
288
 
                public static unowned Gdk.Visual get_best ();
289
 
                public static int get_best_depth ();
290
 
                public static Gdk.VisualType get_best_type ();
291
 
                public static unowned Gdk.Visual get_best_with_both (int depth, Gdk.VisualType visual_type);
292
 
                public static unowned Gdk.Visual get_best_with_depth (int depth);
293
 
                public static unowned Gdk.Visual get_best_with_type (Gdk.VisualType visual_type);
294
 
                public int get_bits_per_rgb ();
295
 
                public void get_blue_pixel_details (uint32 mask, int shift, int precision);
296
 
                public Gdk.ByteOrder get_byte_order ();
297
 
                public int get_colormap_size ();
298
 
                public int get_depth ();
299
 
                public void get_green_pixel_details (uint32 mask, int shift, int precision);
300
 
                public void get_red_pixel_details (uint32 mask, int shift, int precision);
301
 
                public unowned Gdk.Screen get_screen ();
302
 
                public static unowned Gdk.Visual get_system ();
303
 
                public Gdk.VisualType get_visual_type ();
304
 
        }
305
 
        [CCode (cheader_filename = "gdk/gdk.h")]
306
 
        public class Window : GLib.Object {
307
 
                [CCode (has_construct_function = false)]
308
 
                public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, int attributes_mask);
309
 
                public void add_filter (Gdk.FilterFunc function);
310
 
                public static unowned Gdk.Window at_pointer (out int win_x, out int win_y);
311
 
                public void beep ();
312
 
                public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
313
 
                public void begin_paint_rect (Gdk.Rectangle rectangle);
314
 
                public void begin_paint_region (Cairo.Region region);
315
 
                public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
316
 
                public void configure_finished ();
317
 
                public static void constrain_size (Gdk.Geometry geometry, uint flags, int width, int height, out int new_width, out int new_height);
318
 
                public void coords_from_parent (double parent_x, double parent_y, double x, double y);
319
 
                public void coords_to_parent (double x, double y, double parent_x, double parent_y);
320
 
                public unowned Cairo.Surface create_similar_surface (Cairo.Content content, int width, int height);
321
 
                public void deiconify ();
322
 
                [DestroysInstance]
323
 
                public void destroy ();
324
 
                public void enable_synchronized_configure ();
325
 
                public void end_paint ();
326
 
                public bool ensure_native ();
327
 
                public void flush ();
328
 
                public void focus (uint32 timestamp);
329
 
                public void freeze_toplevel_updates_libgtk_only ();
330
 
                public void freeze_updates ();
331
 
                public void fullscreen ();
332
 
                public void geometry_changed ();
333
 
                public bool get_accept_focus ();
334
 
                public unowned Cairo.Pattern get_background_pattern ();
335
 
                public GLib.List<weak Gdk.Window> get_children ();
336
 
                public unowned Cairo.Region get_clip_region ();
337
 
                public bool get_composited ();
338
 
                public unowned Gdk.Cursor? get_cursor ();
339
 
                public bool get_decorations (out Gdk.WMDecoration decorations);
340
 
                public unowned Gdk.Cursor get_device_cursor (Gdk.Device device);
341
 
                public Gdk.EventMask get_device_events (Gdk.Device device);
342
 
                public unowned Gdk.Window get_device_position (Gdk.Device device, int x, int y, Gdk.ModifierType mask);
343
 
                public unowned Gdk.Display get_display ();
344
 
                public Gdk.DragProtocol get_drag_protocol (out unowned Gdk.Window target);
345
 
                public unowned Gdk.Window get_effective_parent ();
346
 
                public unowned Gdk.Window get_effective_toplevel ();
347
 
                public Gdk.EventMask get_events ();
348
 
                public bool get_focus_on_map ();
349
 
                public void get_frame_extents (out Gdk.Rectangle rect);
350
 
                public void get_geometry (out int x, out int y, out int width, out int height);
351
 
                public unowned Gdk.Window get_group ();
352
 
                public int get_height ();
353
 
                public bool get_modal_hint ();
354
 
                public int get_origin (out int x, out int y);
355
 
                public unowned Gdk.Window get_parent ();
356
 
                public unowned Gdk.Window get_pointer (out int x, out int y, out Gdk.ModifierType mask);
357
 
                public void get_position (out int x, out int y);
358
 
                public void get_root_coords (int x, int y, out int root_x, out int root_y);
359
 
                public void get_root_origin (out int x, out int y);
360
 
                public unowned Gdk.Screen get_screen ();
361
 
                public Gdk.EventMask get_source_events (Gdk.InputSource source);
362
 
                public Gdk.WindowState get_state ();
363
 
                public bool get_support_multidevice ();
364
 
                public unowned Gdk.Window get_toplevel ();
365
 
                public Gdk.WindowTypeHint get_type_hint ();
366
 
                public unowned Cairo.Region get_update_area ();
367
 
                public void get_user_data (void* data);
368
 
                public unowned Cairo.Region get_visible_region ();
369
 
                public unowned Gdk.Visual get_visual ();
370
 
                public int get_width ();
371
 
                public Gdk.WindowType get_window_type ();
372
 
                public bool has_native ();
373
 
                public void hide ();
374
 
                public void iconify ();
375
 
                public void input_shape_combine_region (Cairo.Region shape_region, int offset_x, int offset_y);
376
 
                public void invalidate_maybe_recurse (Cairo.Region region, Gdk.WindowChildFunc child_func);
377
 
                public void invalidate_rect (Gdk.Rectangle? rect, bool invalidate_children);
378
 
                public void invalidate_region (Cairo.Region region, bool invalidate_children);
379
 
                public bool is_destroyed ();
380
 
                public bool is_input_only ();
381
 
                public bool is_shaped ();
382
 
                public bool is_viewable ();
383
 
                public bool is_visible ();
384
 
                public void lower ();
385
 
                public void maximize ();
386
 
                public void merge_child_input_shapes ();
387
 
                public void merge_child_shapes ();
388
 
                public void move (int x, int y);
389
 
                public void move_region (Cairo.Region region, int dx, int dy);
390
 
                public void move_resize (int x, int y, int width, int height);
391
 
                public unowned GLib.List<Gdk.Window> peek_children ();
392
 
                public static void process_all_updates ();
393
 
                public void process_updates (bool update_children);
394
 
                public void raise ();
395
 
                public void register_dnd ();
396
 
                public void remove_filter (Gdk.FilterFunc function);
397
 
                public void reparent (Gdk.Window new_parent, int x, int y);
398
 
                public void resize (int width, int height);
399
 
                public void restack (Gdk.Window sibling, bool above);
400
 
                public void scroll (int dx, int dy);
401
 
                public void set_accept_focus (bool accept_focus);
402
 
                public void set_background (Gdk.Color color);
403
 
                public void set_background_pattern (Cairo.Pattern pattern);
404
 
                public void set_background_rgba (Gdk.RGBA rgba);
405
 
                public void set_child_input_shapes ();
406
 
                public void set_child_shapes ();
407
 
                public void set_composited (bool composited);
408
 
                public void set_cursor (Gdk.Cursor? cursor);
409
 
                public static void set_debug_updates (bool setting);
410
 
                public void set_decorations (Gdk.WMDecoration decorations);
411
 
                public void set_device_cursor (Gdk.Device device, Gdk.Cursor cursor);
412
 
                public void set_device_events (Gdk.Device device, Gdk.EventMask event_mask);
413
 
                public void set_events (Gdk.EventMask event_mask);
414
 
                public void set_focus_on_map (bool focus_on_map);
415
 
                public void set_functions (Gdk.WMFunction functions);
416
 
                public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
417
 
                public void set_group (Gdk.Window leader);
418
 
                public void set_icon_list (GLib.List<Gdk.Pixbuf> pixbufs);
419
 
                public void set_icon_name (string name);
420
 
                public void set_keep_above (bool setting);
421
 
                public void set_keep_below (bool setting);
422
 
                public void set_modal_hint (bool modal);
423
 
                public void set_opacity (double opacity);
424
 
                public void set_override_redirect (bool override_redirect);
425
 
                public void set_role (string role);
426
 
                public void set_skip_pager_hint (bool skips_pager);
427
 
                public void set_skip_taskbar_hint (bool skips_taskbar);
428
 
                public void set_source_events (Gdk.InputSource source, Gdk.EventMask event_mask);
429
 
                public void set_startup_id (string startup_id);
430
 
                public bool set_static_gravities (bool use_static);
431
 
                public void set_support_multidevice (bool support_multidevice);
432
 
                public void set_title (string title);
433
 
                public void set_transient_for (Gdk.Window parent);
434
 
                public void set_type_hint (Gdk.WindowTypeHint hint);
435
 
                public void set_urgency_hint (bool urgent);
436
 
                public void set_user_data (void* user_data);
437
 
                public void shape_combine_region (Cairo.Region shape_region, int offset_x, int offset_y);
438
 
                public void show ();
439
 
                public void show_unraised ();
440
 
                public void stick ();
441
 
                public void thaw_toplevel_updates_libgtk_only ();
442
 
                public void thaw_updates ();
443
 
                public void unfullscreen ();
444
 
                public void unmaximize ();
445
 
                public void unstick ();
446
 
                public void withdraw ();
447
 
                public Gdk.Cursor cursor { get; set; }
448
 
                public virtual signal Cairo.Surface create_surface (int width, int height);
449
 
                public virtual signal void from_embedder (double embedder_x, double embedder_y, void* offscreen_x, void* offscreen_y);
450
 
                public virtual signal unowned Gdk.Window pick_embedded_child (double x, double y);
451
 
                public virtual signal void to_embedder (double offscreen_x, double offscreen_y, void* embedder_x, void* embedder_y);
452
 
        }
453
 
        [CCode (cheader_filename = "gdk/gdk.h")]
454
 
        [SimpleType]
455
 
        public struct Atom {
456
 
                [CCode (cname = "GDK_NONE")]
457
 
                public static Gdk.Atom NONE;
458
 
                public static Gdk.Atom intern (string atom_name, bool only_if_exists);
459
 
                public static Gdk.Atom intern_static_string (string atom_name);
460
 
                public string name ();
461
 
        }
462
 
        [CCode (cheader_filename = "gdk/gdk.h")]
463
 
        public struct Color {
464
 
                public uint32 pixel;
465
 
                public uint16 red;
466
 
                public uint16 green;
467
 
                public uint16 blue;
468
 
                public Gdk.Color copy ();
469
 
                public bool equal (Gdk.Color colorb);
470
 
                public void free ();
471
 
                public uint hash ();
472
 
                public static bool parse (string spec, out Gdk.Color color);
473
 
                public string to_string ();
474
 
        }
475
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
476
 
        public struct EventAny {
477
 
                public Gdk.EventType type;
478
 
                public weak Gdk.Window window;
479
 
                public char send_event;
480
 
        }
481
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
482
 
        public struct EventButton {
483
 
                public Gdk.EventType type;
484
 
                public weak Gdk.Window window;
485
 
                public char send_event;
486
 
                public uint32 time;
487
 
                public double x;
488
 
                public double y;
489
 
                [CCode (array_length = false)]
490
 
                public weak double[] axes;
491
 
                public Gdk.ModifierType state;
492
 
                public uint button;
493
 
                public weak Gdk.Device device;
494
 
                public double x_root;
495
 
                public double y_root;
496
 
        }
497
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
498
 
        public struct EventConfigure {
499
 
                public Gdk.EventType type;
500
 
                public weak Gdk.Window window;
501
 
                public char send_event;
502
 
                public int x;
503
 
                public int y;
504
 
                public int width;
505
 
                public int height;
506
 
        }
507
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
508
 
        public struct EventCrossing {
509
 
                public Gdk.EventType type;
510
 
                public weak Gdk.Window window;
511
 
                public char send_event;
512
 
                public weak Gdk.Window subwindow;
513
 
                public uint32 time;
514
 
                public double x;
515
 
                public double y;
516
 
                public double x_root;
517
 
                public double y_root;
518
 
                public Gdk.CrossingMode mode;
519
 
                public Gdk.NotifyType detail;
520
 
                public bool focus;
521
 
                public Gdk.ModifierType state;
522
 
        }
523
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
524
 
        public struct EventDND {
525
 
                public Gdk.EventType type;
526
 
                public weak Gdk.Window window;
527
 
                public char send_event;
528
 
                public weak Gdk.DragContext context;
529
 
                public uint32 time;
530
 
                public short x_root;
531
 
                public short y_root;
532
 
        }
533
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
534
 
        public struct EventExpose {
535
 
                public Gdk.EventType type;
536
 
                public weak Gdk.Window window;
537
 
                public char send_event;
538
 
                public Gdk.Rectangle area;
539
 
                public weak Cairo.Region region;
540
 
                public int count;
541
 
        }
542
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
543
 
        public struct EventFocus {
544
 
                public Gdk.EventType type;
545
 
                public weak Gdk.Window window;
546
 
                public char send_event;
547
 
                public int16 @in;
548
 
        }
549
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
550
 
        public struct EventGrabBroken {
551
 
                public Gdk.EventType type;
552
 
                public weak Gdk.Window window;
553
 
                public char send_event;
554
 
                public bool keyboard;
555
 
                public bool implicit;
556
 
                public weak Gdk.Window grab_window;
557
 
        }
558
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
559
 
        public struct EventKey {
560
 
                public Gdk.EventType type;
561
 
                public weak Gdk.Window window;
562
 
                public char send_event;
563
 
                public uint32 time;
564
 
                public Gdk.ModifierType state;
565
 
                public uint keyval;
566
 
                public int length;
567
 
                [CCode (cname = "string")]
568
 
                public weak string str;
569
 
                public uint16 hardware_keycode;
570
 
                public uchar group;
571
 
                public uint is_modifier;
572
 
        }
573
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
574
 
        public struct EventMotion {
575
 
                public Gdk.EventType type;
576
 
                public weak Gdk.Window window;
577
 
                public char send_event;
578
 
                public uint32 time;
579
 
                public double x;
580
 
                public double y;
581
 
                [CCode (array_length = false)]
582
 
                public weak double[] axes;
583
 
                public Gdk.ModifierType state;
584
 
                public bool is_hint;
585
 
                public weak Gdk.Device device;
586
 
                public double x_root;
587
 
                public double y_root;
588
 
        }
589
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
590
 
        public struct EventOwnerChange {
591
 
                public Gdk.EventType type;
592
 
                public weak Gdk.Window window;
593
 
                public char send_event;
594
 
                public weak Gdk.Window owner;
595
 
                public Gdk.OwnerChange reason;
596
 
                public Gdk.Atom selection;
597
 
                public uint32 time;
598
 
                public uint32 selection_time;
599
 
        }
600
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
601
 
        public struct EventProperty {
602
 
                public Gdk.EventType type;
603
 
                public weak Gdk.Window window;
604
 
                public char send_event;
605
 
                public Gdk.Atom atom;
606
 
                public uint32 time;
607
 
                public Gdk.PropertyState state;
608
 
        }
609
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
610
 
        public struct EventProximity {
611
 
                public Gdk.EventType type;
612
 
                public weak Gdk.Window window;
613
 
                public char send_event;
614
 
                public uint32 time;
615
 
                public weak Gdk.Device device;
616
 
        }
617
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
618
 
        public struct EventScroll {
619
 
                public Gdk.EventType type;
620
 
                public weak Gdk.Window window;
621
 
                public char send_event;
622
 
                public uint32 time;
623
 
                public double x;
624
 
                public double y;
625
 
                public Gdk.ModifierType state;
626
 
                public Gdk.ScrollDirection direction;
627
 
                public weak Gdk.Device device;
628
 
                public double x_root;
629
 
                public double y_root;
630
 
        }
631
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
632
 
        public struct EventSelection {
633
 
                public Gdk.EventType type;
634
 
                public weak Gdk.Window window;
635
 
                public char send_event;
636
 
                public Gdk.Atom selection;
637
 
                public Gdk.Atom target;
638
 
                public Gdk.Atom property;
639
 
                public uint32 time;
640
 
                public weak Gdk.Window requestor;
641
 
        }
642
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
643
 
        public struct EventSetting {
644
 
                public Gdk.EventType type;
645
 
                public weak Gdk.Window window;
646
 
                public char send_event;
647
 
                public Gdk.SettingAction action;
648
 
                public weak string name;
649
 
        }
650
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
651
 
        public struct EventVisibility {
652
 
                public Gdk.EventType type;
653
 
                public weak Gdk.Window window;
654
 
                public char send_event;
655
 
                public Gdk.VisibilityState state;
656
 
        }
657
 
        [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
658
 
        public struct EventWindowState {
659
 
                public Gdk.EventType type;
660
 
                public weak Gdk.Window window;
661
 
                public char send_event;
662
 
                public Gdk.WindowState changed_mask;
663
 
                public Gdk.WindowState new_window_state;
664
 
        }
665
 
        [CCode (cheader_filename = "gdk/gdk.h")]
666
 
        public struct Geometry {
667
 
                public int min_width;
668
 
                public int min_height;
669
 
                public int max_width;
670
 
                public int max_height;
671
 
                public int base_width;
672
 
                public int base_height;
673
 
                public int width_inc;
674
 
                public int height_inc;
675
 
                public double min_aspect;
676
 
                public double max_aspect;
677
 
                public Gdk.Gravity win_gravity;
678
 
        }
679
 
        [CCode (cheader_filename = "gdk/gdk.h")]
680
 
        public struct KeymapKey {
681
 
                public uint keycode;
682
 
                public int group;
683
 
                public int level;
684
 
        }
685
 
        [CCode (cheader_filename = "gdk/gdk.h")]
686
 
        public struct Point {
687
 
                public int x;
688
 
                public int y;
689
 
        }
690
 
        [CCode (cheader_filename = "gdk/gdk.h")]
691
 
        public struct RGBA {
692
 
                public double red;
693
 
                public double green;
694
 
                public double blue;
695
 
                public double alpha;
696
 
                public Gdk.RGBA copy ();
697
 
                public static bool equal (void* p1, void* p2);
698
 
                public void free ();
699
 
                public static uint hash (void* p);
700
 
                public bool parse (string spec);
701
 
                public unowned string to_string ();
702
 
        }
703
 
        [CCode (cheader_filename = "gdk/gdk.h")]
704
 
        public struct Rectangle {
705
 
                public int x;
706
 
                public int y;
707
 
                public int width;
708
 
                public int height;
709
 
                public bool intersect (Gdk.Rectangle src2, out Gdk.Rectangle dest);
710
 
                public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
711
 
        }
712
 
        [CCode (cheader_filename = "gdk/gdk.h")]
713
 
        public struct TimeCoord {
714
 
                public uint32 time;
715
 
                [CCode (array_length = false)]
716
 
                public weak double[] axes;
717
 
        }
718
 
        [CCode (cheader_filename = "gdk/gdk.h")]
719
 
        public struct WindowAttr {
720
 
                public weak string title;
721
 
                public int event_mask;
722
 
                public int x;
723
 
                public int y;
724
 
                public int width;
725
 
                public int height;
726
 
                public Gdk.WindowWindowClass wclass;
727
 
                public weak Gdk.Visual visual;
728
 
                public Gdk.WindowType window_type;
729
 
                public weak Gdk.Cursor cursor;
730
 
                public weak string wmclass_name;
731
 
                public weak string wmclass_class;
732
 
                public bool override_redirect;
733
 
                public Gdk.WindowTypeHint type_hint;
734
 
        }
735
 
        [CCode (cheader_filename = "gdk/gdk.h")]
736
 
        public struct WindowRedirect {
737
 
        }
738
 
        [CCode (cheader_filename = "gdk/gdk.h")]
739
 
        public struct XEvent {
740
 
        }
741
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_AXIS_")]
742
 
        public enum AxisUse {
743
 
                IGNORE,
744
 
                X,
745
 
                Y,
746
 
                PRESSURE,
747
 
                XTILT,
748
 
                YTILT,
749
 
                WHEEL,
750
 
                LAST
751
 
        }
752
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_")]
753
 
        public enum ByteOrder {
754
 
                LSB_FIRST,
755
 
                MSB_FIRST
756
 
        }
757
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_CROSSING_")]
758
 
        public enum CrossingMode {
759
 
                NORMAL,
760
 
                GRAB,
761
 
                UNGRAB,
762
 
                GTK_GRAB,
763
 
                GTK_UNGRAB,
764
 
                STATE_CHANGED
765
 
        }
766
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_")]
767
 
        public enum CursorType {
768
 
                X_CURSOR,
769
 
                ARROW,
770
 
                BASED_ARROW_DOWN,
771
 
                BASED_ARROW_UP,
772
 
                BOAT,
773
 
                BOGOSITY,
774
 
                BOTTOM_LEFT_CORNER,
775
 
                BOTTOM_RIGHT_CORNER,
776
 
                BOTTOM_SIDE,
777
 
                BOTTOM_TEE,
778
 
                BOX_SPIRAL,
779
 
                CENTER_PTR,
780
 
                CIRCLE,
781
 
                CLOCK,
782
 
                COFFEE_MUG,
783
 
                CROSS,
784
 
                CROSS_REVERSE,
785
 
                CROSSHAIR,
786
 
                DIAMOND_CROSS,
787
 
                DOT,
788
 
                DOTBOX,
789
 
                DOUBLE_ARROW,
790
 
                DRAFT_LARGE,
791
 
                DRAFT_SMALL,
792
 
                DRAPED_BOX,
793
 
                EXCHANGE,
794
 
                FLEUR,
795
 
                GOBBLER,
796
 
                GUMBY,
797
 
                HAND1,
798
 
                HAND2,
799
 
                HEART,
800
 
                ICON,
801
 
                IRON_CROSS,
802
 
                LEFT_PTR,
803
 
                LEFT_SIDE,
804
 
                LEFT_TEE,
805
 
                LEFTBUTTON,
806
 
                LL_ANGLE,
807
 
                LR_ANGLE,
808
 
                MAN,
809
 
                MIDDLEBUTTON,
810
 
                MOUSE,
811
 
                PENCIL,
812
 
                PIRATE,
813
 
                PLUS,
814
 
                QUESTION_ARROW,
815
 
                RIGHT_PTR,
816
 
                RIGHT_SIDE,
817
 
                RIGHT_TEE,
818
 
                RIGHTBUTTON,
819
 
                RTL_LOGO,
820
 
                SAILBOAT,
821
 
                SB_DOWN_ARROW,
822
 
                SB_H_DOUBLE_ARROW,
823
 
                SB_LEFT_ARROW,
824
 
                SB_RIGHT_ARROW,
825
 
                SB_UP_ARROW,
826
 
                SB_V_DOUBLE_ARROW,
827
 
                SHUTTLE,
828
 
                SIZING,
829
 
                SPIDER,
830
 
                SPRAYCAN,
831
 
                STAR,
832
 
                TARGET,
833
 
                TCROSS,
834
 
                TOP_LEFT_ARROW,
835
 
                TOP_LEFT_CORNER,
836
 
                TOP_RIGHT_CORNER,
837
 
                TOP_SIDE,
838
 
                TOP_TEE,
839
 
                TREK,
840
 
                UL_ANGLE,
841
 
                UMBRELLA,
842
 
                UR_ANGLE,
843
 
                WATCH,
844
 
                XTERM,
845
 
                LAST_CURSOR,
846
 
                BLANK_CURSOR,
847
 
                CURSOR_IS_PIXMAP
848
 
        }
849
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_DEVICE_TYPE_")]
850
 
        public enum DeviceType {
851
 
                MASTER,
852
 
                SLAVE,
853
 
                FLOATING
854
 
        }
855
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_ACTION_")]
856
 
        [Flags]
857
 
        public enum DragAction {
858
 
                DEFAULT,
859
 
                COPY,
860
 
                MOVE,
861
 
                LINK,
862
 
                PRIVATE,
863
 
                ASK
864
 
        }
865
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_DRAG_PROTO_")]
866
 
        public enum DragProtocol {
867
 
                NONE,
868
 
                MOTIF,
869
 
                XDND,
870
 
                ROOTWIN,
871
 
                WIN32_DROPFILES,
872
 
                OLE2,
873
 
                LOCAL
874
 
        }
875
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_")]
876
 
        [Flags]
877
 
        public enum EventMask {
878
 
                EXPOSURE_MASK,
879
 
                POINTER_MOTION_MASK,
880
 
                POINTER_MOTION_HINT_MASK,
881
 
                BUTTON_MOTION_MASK,
882
 
                BUTTON1_MOTION_MASK,
883
 
                BUTTON2_MOTION_MASK,
884
 
                BUTTON3_MOTION_MASK,
885
 
                BUTTON_PRESS_MASK,
886
 
                BUTTON_RELEASE_MASK,
887
 
                KEY_PRESS_MASK,
888
 
                KEY_RELEASE_MASK,
889
 
                ENTER_NOTIFY_MASK,
890
 
                LEAVE_NOTIFY_MASK,
891
 
                FOCUS_CHANGE_MASK,
892
 
                STRUCTURE_MASK,
893
 
                PROPERTY_CHANGE_MASK,
894
 
                VISIBILITY_NOTIFY_MASK,
895
 
                PROXIMITY_IN_MASK,
896
 
                PROXIMITY_OUT_MASK,
897
 
                SUBSTRUCTURE_MASK,
898
 
                SCROLL_MASK,
899
 
                ALL_EVENTS_MASK
900
 
        }
901
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_")]
902
 
        public enum EventType {
903
 
                NOTHING,
904
 
                DELETE,
905
 
                DESTROY,
906
 
                EXPOSE,
907
 
                MOTION_NOTIFY,
908
 
                BUTTON_PRESS,
909
 
                @2BUTTON_PRESS,
910
 
                @3BUTTON_PRESS,
911
 
                BUTTON_RELEASE,
912
 
                KEY_PRESS,
913
 
                KEY_RELEASE,
914
 
                ENTER_NOTIFY,
915
 
                LEAVE_NOTIFY,
916
 
                FOCUS_CHANGE,
917
 
                CONFIGURE,
918
 
                MAP,
919
 
                UNMAP,
920
 
                PROPERTY_NOTIFY,
921
 
                SELECTION_CLEAR,
922
 
                SELECTION_REQUEST,
923
 
                SELECTION_NOTIFY,
924
 
                PROXIMITY_IN,
925
 
                PROXIMITY_OUT,
926
 
                DRAG_ENTER,
927
 
                DRAG_LEAVE,
928
 
                DRAG_MOTION,
929
 
                DRAG_STATUS,
930
 
                DROP_START,
931
 
                DROP_FINISHED,
932
 
                CLIENT_EVENT,
933
 
                VISIBILITY_NOTIFY,
934
 
                SCROLL,
935
 
                WINDOW_STATE,
936
 
                SETTING,
937
 
                OWNER_CHANGE,
938
 
                GRAB_BROKEN,
939
 
                DAMAGE,
940
 
                EVENT_LAST
941
 
        }
942
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_EXTENSION_EVENTS_")]
943
 
        public enum ExtensionMode {
944
 
                NONE,
945
 
                ALL,
946
 
                CURSOR
947
 
        }
948
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_FILTER_")]
949
 
        public enum FilterReturn {
950
 
                CONTINUE,
951
 
                TRANSLATE,
952
 
                REMOVE
953
 
        }
954
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_OWNERSHIP_")]
955
 
        public enum GrabOwnership {
956
 
                NONE,
957
 
                WINDOW,
958
 
                APPLICATION
959
 
        }
960
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GRAB_")]
961
 
        public enum GrabStatus {
962
 
                SUCCESS,
963
 
                ALREADY_GRABBED,
964
 
                INVALID_TIME,
965
 
                NOT_VIEWABLE,
966
 
                FROZEN
967
 
        }
968
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GRAVITY_")]
969
 
        public enum Gravity {
970
 
                NORTH_WEST,
971
 
                NORTH,
972
 
                NORTH_EAST,
973
 
                WEST,
974
 
                CENTER,
975
 
                EAST,
976
 
                SOUTH_WEST,
977
 
                SOUTH,
978
 
                SOUTH_EAST,
979
 
                STATIC
980
 
        }
981
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_MODE_")]
982
 
        public enum InputMode {
983
 
                DISABLED,
984
 
                SCREEN,
985
 
                WINDOW
986
 
        }
987
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_SOURCE_")]
988
 
        public enum InputSource {
989
 
                MOUSE,
990
 
                PEN,
991
 
                ERASER,
992
 
                CURSOR,
993
 
                KEYBOARD
994
 
        }
995
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_")]
996
 
        [Flags]
997
 
        public enum ModifierType {
998
 
                SHIFT_MASK,
999
 
                LOCK_MASK,
1000
 
                CONTROL_MASK,
1001
 
                MOD1_MASK,
1002
 
                MOD2_MASK,
1003
 
                MOD3_MASK,
1004
 
                MOD4_MASK,
1005
 
                MOD5_MASK,
1006
 
                BUTTON1_MASK,
1007
 
                BUTTON2_MASK,
1008
 
                BUTTON3_MASK,
1009
 
                BUTTON4_MASK,
1010
 
                BUTTON5_MASK,
1011
 
                SUPER_MASK,
1012
 
                HYPER_MASK,
1013
 
                META_MASK,
1014
 
                RELEASE_MASK,
1015
 
                MODIFIER_MASK
1016
 
        }
1017
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_NOTIFY_")]
1018
 
        public enum NotifyType {
1019
 
                ANCESTOR,
1020
 
                VIRTUAL,
1021
 
                INFERIOR,
1022
 
                NONLINEAR,
1023
 
                NONLINEAR_VIRTUAL,
1024
 
                UNKNOWN
1025
 
        }
1026
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_OWNER_CHANGE_")]
1027
 
        public enum OwnerChange {
1028
 
                NEW_OWNER,
1029
 
                DESTROY,
1030
 
                CLOSE
1031
 
        }
1032
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_PROP_MODE_")]
1033
 
        public enum PropMode {
1034
 
                REPLACE,
1035
 
                PREPEND,
1036
 
                APPEND
1037
 
        }
1038
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_PROPERTY_")]
1039
 
        public enum PropertyState {
1040
 
                NEW_VALUE,
1041
 
                DELETE
1042
 
        }
1043
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_SCROLL_")]
1044
 
        public enum ScrollDirection {
1045
 
                UP,
1046
 
                DOWN,
1047
 
                LEFT,
1048
 
                RIGHT
1049
 
        }
1050
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_SETTING_ACTION_")]
1051
 
        public enum SettingAction {
1052
 
                NEW,
1053
 
                CHANGED,
1054
 
                DELETED
1055
 
        }
1056
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_")]
1057
 
        public enum Status {
1058
 
                OK,
1059
 
                ERROR,
1060
 
                ERROR_PARAM,
1061
 
                ERROR_FILE,
1062
 
                ERROR_MEM
1063
 
        }
1064
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_VISIBILITY_")]
1065
 
        public enum VisibilityState {
1066
 
                UNOBSCURED,
1067
 
                PARTIAL,
1068
 
                FULLY_OBSCURED
1069
 
        }
1070
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_VISUAL_")]
1071
 
        public enum VisualType {
1072
 
                STATIC_GRAY,
1073
 
                GRAYSCALE,
1074
 
                STATIC_COLOR,
1075
 
                PSEUDO_COLOR,
1076
 
                TRUE_COLOR,
1077
 
                DIRECT_COLOR
1078
 
        }
1079
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_DECOR_")]
1080
 
        [Flags]
1081
 
        public enum WMDecoration {
1082
 
                ALL,
1083
 
                BORDER,
1084
 
                RESIZEH,
1085
 
                TITLE,
1086
 
                MENU,
1087
 
                MINIMIZE,
1088
 
                MAXIMIZE
1089
 
        }
1090
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_FUNC_")]
1091
 
        [Flags]
1092
 
        public enum WMFunction {
1093
 
                ALL,
1094
 
                RESIZE,
1095
 
                MOVE,
1096
 
                MINIMIZE,
1097
 
                MAXIMIZE,
1098
 
                CLOSE
1099
 
        }
1100
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_WA_")]
1101
 
        [Flags]
1102
 
        public enum WindowAttributesType {
1103
 
                TITLE,
1104
 
                X,
1105
 
                Y,
1106
 
                CURSOR,
1107
 
                VISUAL,
1108
 
                WMCLASS,
1109
 
                NOREDIR,
1110
 
                TYPE_HINT
1111
 
        }
1112
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_WINDOW_EDGE_")]
1113
 
        public enum WindowEdge {
1114
 
                NORTH_WEST,
1115
 
                NORTH,
1116
 
                NORTH_EAST,
1117
 
                WEST,
1118
 
                EAST,
1119
 
                SOUTH_WEST,
1120
 
                SOUTH,
1121
 
                SOUTH_EAST
1122
 
        }
1123
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_HINT_")]
1124
 
        [Flags]
1125
 
        public enum WindowHints {
1126
 
                POS,
1127
 
                MIN_SIZE,
1128
 
                MAX_SIZE,
1129
 
                BASE_SIZE,
1130
 
                ASPECT,
1131
 
                RESIZE_INC,
1132
 
                WIN_GRAVITY,
1133
 
                USER_POS,
1134
 
                USER_SIZE
1135
 
        }
1136
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_WINDOW_STATE_")]
1137
 
        [Flags]
1138
 
        public enum WindowState {
1139
 
                WITHDRAWN,
1140
 
                ICONIFIED,
1141
 
                MAXIMIZED,
1142
 
                STICKY,
1143
 
                FULLSCREEN,
1144
 
                ABOVE,
1145
 
                BELOW
1146
 
        }
1147
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_WINDOW_")]
1148
 
        public enum WindowType {
1149
 
                ROOT,
1150
 
                TOPLEVEL,
1151
 
                CHILD,
1152
 
                TEMP,
1153
 
                FOREIGN,
1154
 
                OFFSCREEN
1155
 
        }
1156
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_WINDOW_TYPE_HINT_")]
1157
 
        public enum WindowTypeHint {
1158
 
                NORMAL,
1159
 
                DIALOG,
1160
 
                MENU,
1161
 
                TOOLBAR,
1162
 
                SPLASHSCREEN,
1163
 
                UTILITY,
1164
 
                DOCK,
1165
 
                DESKTOP,
1166
 
                DROPDOWN_MENU,
1167
 
                POPUP_MENU,
1168
 
                TOOLTIP,
1169
 
                NOTIFICATION,
1170
 
                COMBO,
1171
 
                DND
1172
 
        }
1173
 
        [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_INPUT_")]
1174
 
        public enum WindowWindowClass {
1175
 
                OUTPUT,
1176
 
                ONLY
1177
 
        }
1178
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1179
 
        public delegate void EventFunc (Gdk.Event event);
1180
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1181
 
        public delegate Gdk.FilterReturn FilterFunc (Gdk.XEvent xevent, Gdk.Event event);
1182
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1183
 
        public delegate bool WindowChildFunc (Gdk.Window window);
1184
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1185
 
        public const int CURRENT_TIME;
1186
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1187
 
        public const int MAX_TIMECOORD_AXES;
1188
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1189
 
        public const int PARENT_RELATIVE;
1190
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1191
 
        public const int PRIORITY_REDRAW;
1192
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1193
 
        public const Gdk.Atom SELECTION_CLIPBOARD;
1194
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1195
 
        public const Gdk.Atom SELECTION_PRIMARY;
1196
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1197
 
        public const Gdk.Atom SELECTION_SECONDARY;
1198
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1199
 
        public static void add_option_entries_libgtk_only (GLib.OptionGroup group);
1200
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1201
 
        public static void beep ();
1202
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1203
 
        public static Cairo.Context cairo_create (Gdk.Window window);
1204
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1205
 
        public static bool cairo_get_clip_rectangle (Cairo.Context cr, Gdk.Rectangle rect);
1206
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1207
 
        public static void cairo_rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);
1208
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1209
 
        public static void cairo_region (Cairo.Context cr, Cairo.Region region);
1210
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1211
 
        public static unowned Cairo.Region cairo_region_create_from_surface (Cairo.Surface surface);
1212
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1213
 
        public static void cairo_set_source_color (Cairo.Context cr, Gdk.Color color);
1214
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1215
 
        public static void cairo_set_source_pixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y);
1216
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1217
 
        public static void cairo_set_source_rgba (Cairo.Context cr, Gdk.RGBA rgba);
1218
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1219
 
        public static void cairo_set_source_window (Cairo.Context cr, Gdk.Window window, double x, double y);
1220
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1221
 
        public static void disable_multidevice ();
1222
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1223
 
        public static void drag_abort (Gdk.DragContext context, uint32 time_);
1224
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1225
 
        public static unowned Gdk.DragContext drag_begin (Gdk.Window window, GLib.List targets);
1226
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1227
 
        public static unowned Gdk.DragContext drag_begin_for_device (Gdk.Window window, Gdk.Device device, GLib.List targets);
1228
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1229
 
        public static void drag_drop (Gdk.DragContext context, uint32 time_);
1230
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1231
 
        public static bool drag_drop_succeeded (Gdk.DragContext context);
1232
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1233
 
        public static void drag_find_window_for_screen (Gdk.DragContext context, Gdk.Window drag_window, Gdk.Screen screen, int x_root, int y_root, out unowned Gdk.Window dest_window, Gdk.DragProtocol protocol);
1234
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1235
 
        public static Gdk.Atom drag_get_selection (Gdk.DragContext context);
1236
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1237
 
        public static bool drag_motion (Gdk.DragContext context, Gdk.Window dest_window, Gdk.DragProtocol protocol, int x_root, int y_root, Gdk.DragAction suggested_action, Gdk.DragAction possible_actions, uint32 time_);
1238
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1239
 
        public static void drag_status (Gdk.DragContext context, Gdk.DragAction action, uint32 time_);
1240
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1241
 
        public static void drop_finish (Gdk.DragContext context, bool success, uint32 time_);
1242
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1243
 
        public static void drop_reply (Gdk.DragContext context, bool accepted, uint32 time_);
1244
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1245
 
        public static int error_trap_pop ();
1246
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1247
 
        public static void error_trap_pop_ignored ();
1248
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1249
 
        public static void error_trap_push ();
1250
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1251
 
        public static bool events_get_angle (Gdk.Event event1, Gdk.Event event2, double angle);
1252
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1253
 
        public static bool events_get_center (Gdk.Event event1, Gdk.Event event2, double x, double y);
1254
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1255
 
        public static bool events_get_distance (Gdk.Event event1, Gdk.Event event2, double distance);
1256
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1257
 
        public static bool events_pending ();
1258
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1259
 
        public static void flush ();
1260
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1261
 
        public static unowned Gdk.Window get_default_root_window ();
1262
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1263
 
        public static unowned string get_display ();
1264
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1265
 
        public static unowned string get_display_arg_name ();
1266
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1267
 
        public static unowned string get_program_class ();
1268
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1269
 
        public static bool get_show_events ();
1270
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1271
 
        public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
1272
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1273
 
        public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
1274
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1275
 
        public static void keyval_convert_case (uint symbol, uint lower, uint upper);
1276
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1277
 
        public static uint keyval_from_name (string keyval_name);
1278
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1279
 
        public static bool keyval_is_lower (uint keyval);
1280
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1281
 
        public static bool keyval_is_upper (uint keyval);
1282
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1283
 
        public static unowned string keyval_name (uint keyval);
1284
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1285
 
        public static uint keyval_to_lower (uint keyval);
1286
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1287
 
        public static uint32 keyval_to_unicode (uint keyval);
1288
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1289
 
        public static uint keyval_to_upper (uint keyval);
1290
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1291
 
        public static GLib.List<weak Gdk.Visual> list_visuals ();
1292
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1293
 
        public static void notify_startup_complete ();
1294
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1295
 
        public static void notify_startup_complete_with_id (string startup_id);
1296
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1297
 
        public static unowned Gdk.Window? offscreen_window_get_embedder (Gdk.Window window);
1298
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1299
 
        public static unowned Cairo.Surface offscreen_window_get_surface (Gdk.Window window);
1300
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1301
 
        public static void offscreen_window_set_embedder (Gdk.Window window, Gdk.Window embedder);
1302
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1303
 
        public static unowned Pango.Context pango_context_get ();
1304
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1305
 
        public static unowned Pango.Context pango_context_get_for_screen (Gdk.Screen screen);
1306
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1307
 
        public static unowned Cairo.Region pango_layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, int index_ranges, int n_ranges);
1308
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1309
 
        public static unowned Cairo.Region pango_layout_line_get_clip_region (Pango.LayoutLine line, int x_origin, int y_origin, int index_ranges, int n_ranges);
1310
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1311
 
        public static void parse_args (int argc, string argv);
1312
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1313
 
        public static Gdk.Pixbuf pixbuf_get_from_surface (Cairo.Surface surface, int src_x, int src_y, int width, int height);
1314
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1315
 
        public static unowned Gdk.Pixbuf pixbuf_get_from_window (Gdk.Window window, int src_x, int src_y, int width, int height);
1316
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1317
 
        public static void pre_parse_libgtk_only ();
1318
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1319
 
        public static void property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, [CCode (array_length = false)] uchar[] data, int nelements);
1320
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1321
 
        public static void property_delete (Gdk.Window window, Gdk.Atom property);
1322
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1323
 
        public static bool property_get (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, ulong offset, ulong length, int pdelete, out Gdk.Atom actual_property_type, out int actual_format, [CCode (array_length_pos = 8.9)] out uchar[] data);
1324
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1325
 
        public static void query_depths (int depths, int count);
1326
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1327
 
        public static void query_visual_types (out Gdk.VisualType visual_types, int count);
1328
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1329
 
        [Deprecated (replacement = "Selection.convert", since = "vala-0.12")]
1330
 
        public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
1331
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1332
 
        [Deprecated (replacement = "Selection.owner_get", since = "vala-0.12")]
1333
 
        public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
1334
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1335
 
        [Deprecated (replacement = "Selection.owner_get_for_display", since = "vala-0.12")]
1336
 
        public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
1337
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1338
 
        [Deprecated (replacement = "Selection.owner_set", since = "vala-0.12")]
1339
 
        public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
1340
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1341
 
        [Deprecated (replacement = "Selection.owner_set_for_display", since = "vala-0.12")]
1342
 
        public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
1343
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1344
 
        [Deprecated (replacement = "Selection.property_get", since = "vala-0.12")]
1345
 
        public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
1346
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1347
 
        [Deprecated (replacement = "Selection.send_notify", since = "vala-0.12")]
1348
 
        public static void selection_send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
1349
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1350
 
        [Deprecated (replacement = "Selection.send_notify_for_display", since = "vala-0.12")]
1351
 
        public static void selection_send_notify_for_display (Gdk.Display display, Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
1352
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1353
 
        public static void set_double_click_time (uint msec);
1354
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1355
 
        public static void set_program_class (string program_class);
1356
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1357
 
        public static void set_show_events (bool show_events);
1358
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1359
 
        public static bool setting_get (string name, GLib.Value value);
1360
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1361
 
        public static void test_render_sync (Gdk.Window window);
1362
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1363
 
        public static bool test_simulate_button (Gdk.Window window, int x, int y, uint button, Gdk.ModifierType modifiers, Gdk.EventType button_pressrelease);
1364
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1365
 
        public static bool test_simulate_key (Gdk.Window window, int x, int y, uint keyval, Gdk.ModifierType modifiers, Gdk.EventType key_pressrelease);
1366
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1367
 
        public static int text_property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1368
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1369
 
        public static uint threads_add_idle (GLib.SourceFunc function);
1370
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1371
 
        public static uint threads_add_idle_full (int priority, owned GLib.SourceFunc function);
1372
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1373
 
        public static uint threads_add_timeout (uint interval, GLib.SourceFunc function);
1374
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1375
 
        public static uint threads_add_timeout_full (int priority, uint interval, owned GLib.SourceFunc function);
1376
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1377
 
        public static uint threads_add_timeout_seconds (uint interval, GLib.SourceFunc function);
1378
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1379
 
        public static uint threads_add_timeout_seconds_full (int priority, uint interval, owned GLib.SourceFunc function);
1380
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1381
 
        public static void threads_enter ();
1382
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1383
 
        public static void threads_init ();
1384
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1385
 
        public static void threads_leave ();
1386
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1387
 
        public static void threads_set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
1388
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1389
 
        public static uint unicode_to_keyval (uint32 wc);
1390
 
        [CCode (cheader_filename = "gdk/gdk.h")]
1391
 
        public static unowned string utf8_to_string_target (string str);
1392
 
}