1 /* gdk-3.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_", gir_namespace = "Gdk", gir_version = "3.0")]
5 [CCode (cprefix = "GdkSelection", lower_case_cprefix = "gdk_selection_")]
7 [CCode (cheader_filename = "gdk/gdk.h")]
8 public static void convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
9 [CCode (cheader_filename = "gdk/gdk.h")]
10 public static unowned Gdk.Window owner_get (Gdk.Atom selection);
11 [CCode (cheader_filename = "gdk/gdk.h")]
12 public static unowned Gdk.Window owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
13 [CCode (cheader_filename = "gdk/gdk.h")]
14 public static bool owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
15 [CCode (cheader_filename = "gdk/gdk.h")]
16 public static bool owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
17 [CCode (cheader_filename = "gdk/gdk.h")]
18 public static int property_get (Gdk.Window requestor, uchar[] data, Gdk.Atom prop_type, int prop_format);
19 [CCode (cheader_filename = "gdk/gdk.h")]
20 public static void send_notify (Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
21 [CCode (cheader_filename = "gdk/gdk.h")]
22 public static void send_notify_for_display (Gdk.Display display, Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
24 [CCode (cheader_filename = "gdk/gdk.h")]
25 public class AppLaunchContext : GLib.AppLaunchContext {
26 [CCode (has_construct_function = false)]
27 protected AppLaunchContext ();
28 public void set_desktop (int desktop);
29 public void set_icon (GLib.Icon icon);
30 public void set_icon_name (string icon_name);
31 public void set_screen (Gdk.Screen screen);
32 public void set_timestamp (uint32 timestamp);
34 public Gdk.Display display { owned get; construct; }
36 [CCode (ref_function = "g_object_ref", unref_function = "g_object_unref", cheader_filename = "gdk/gdk.h")]
39 [CCode (cheader_filename = "gdk/gdk.h")]
40 public class Cursor : GLib.Object {
41 [CCode (has_construct_function = false)]
42 public Cursor (Gdk.CursorType cursor_type);
43 [CCode (has_construct_function = false)]
44 public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
45 [CCode (has_construct_function = false)]
46 public Cursor.from_name (Gdk.Display display, string name);
47 [CCode (has_construct_function = false)]
48 public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
49 public Gdk.CursorType get_cursor_type ();
50 public unowned Gdk.Display get_display ();
51 public unowned Gdk.Pixbuf get_image ();
52 public Gdk.CursorType cursor_type { get; construct; }
53 public Gdk.Display display { get; construct; }
55 [CCode (cheader_filename = "gdk/gdk.h")]
56 public class Device : GLib.Object {
57 [CCode (has_construct_function = false)]
59 public static void free_history (Gdk.TimeCoord[] events);
60 public unowned Gdk.Device get_associated_device ();
61 public bool get_axis ([CCode (array_length = false)] double[] axes, Gdk.AxisUse use, out double value);
62 public Gdk.AxisUse get_axis_use (uint index_);
63 public bool get_axis_value (double axes, Gdk.Atom axis_label, double value);
64 public Gdk.DeviceType get_device_type ();
65 public unowned Gdk.Display get_display ();
66 public bool get_has_cursor ();
67 public bool get_history (Gdk.Window window, uint32 start, uint32 stop, Gdk.TimeCoord[] events);
68 public bool get_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
69 public Gdk.InputMode get_mode ();
70 public int get_n_axes ();
71 public int get_n_keys ();
72 public unowned string get_name ();
73 public void get_position (out unowned Gdk.Screen screen, int x, int y);
74 public Gdk.InputSource get_source ();
75 public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask);
76 public unowned Gdk.Window get_window_at_position (int win_x, int win_y);
77 public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor cursor, uint32 time_);
78 public static bool grab_info_libgtk_only (Gdk.Display display, Gdk.Device device, out unowned Gdk.Window grab_window, bool owner_events);
79 public unowned GLib.List list_axes ();
80 public unowned GLib.List list_slave_devices ();
81 public void set_axis_use (uint index_, Gdk.AxisUse use);
82 public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
83 public bool set_mode (Gdk.InputMode mode);
84 public void ungrab (uint32 time_);
85 public void warp (Gdk.Screen screen, int x, int y);
86 public Gdk.Device associated_device { get; }
88 public Gdk.DeviceManager device_manager { owned get; construct; }
89 public Gdk.Display display { get; construct; }
90 public bool has_cursor { get; construct; }
92 public Gdk.InputMode input_mode { get; set; }
94 public Gdk.InputSource input_source { get; construct; }
95 public uint n_axes { get; }
96 public string name { get; construct; }
98 public Gdk.DeviceType type { get; construct; }
99 public virtual signal void changed ();
101 [CCode (cheader_filename = "gdk/gdk.h")]
102 public class DeviceManager : GLib.Object {
103 [CCode (has_construct_function = false)]
104 protected DeviceManager ();
105 public unowned Gdk.Device get_client_pointer ();
106 public unowned Gdk.Display get_display ();
107 public unowned GLib.List list_devices (Gdk.DeviceType type);
108 public Gdk.Display display { get; construct; }
109 public virtual signal void device_added (Gdk.Device p0);
110 public virtual signal void device_changed (Gdk.Device p0);
111 public virtual signal void device_removed (Gdk.Device p0);
113 [CCode (cheader_filename = "gdk/gdk.h")]
114 public class Display : GLib.Object {
115 [CCode (has_construct_function = false)]
116 protected Display ();
117 public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func);
119 public void close ();
120 public bool device_is_grabbed (Gdk.Device device);
121 public void flush ();
122 public unowned Gdk.AppLaunchContext get_app_launch_context ();
123 public static unowned Gdk.Display get_default ();
124 public uint get_default_cursor_size ();
125 public unowned Gdk.Window get_default_group ();
126 public unowned Gdk.Screen get_default_screen ();
127 public unowned Gdk.DeviceManager get_device_manager ();
128 public Gdk.Event get_event ();
129 public void get_maximal_cursor_size (out uint width, out uint height);
130 public int get_n_screens ();
131 public unowned string get_name ();
132 public unowned Gdk.Screen get_screen (int screen_num);
133 public bool has_pending ();
134 public bool is_closed ();
135 public void notify_startup_complete (string startup_id);
136 public static unowned Gdk.Display open (string display_name);
137 public static unowned Gdk.Display open_default_libgtk_only ();
138 public Gdk.Event peek_event ();
139 public void put_event (Gdk.Event event);
140 public bool request_selection_notification (Gdk.Atom selection);
141 public void set_double_click_distance (uint distance);
142 public void set_double_click_time (uint msec);
143 public void store_clipboard (Gdk.Window clipboard_window, uint32 time_, Gdk.Atom[] targets);
144 public bool supports_clipboard_persistence ();
145 public bool supports_composite ();
146 public bool supports_cursor_alpha ();
147 public bool supports_cursor_color ();
148 public bool supports_input_shapes ();
149 public bool supports_selection_notification ();
150 public bool supports_shapes ();
152 public virtual signal void closed (bool p0);
153 public virtual signal void opened ();
155 [CCode (cheader_filename = "gdk/gdk.h")]
156 public class DisplayManager : GLib.Object {
157 [CCode (has_construct_function = false)]
158 protected DisplayManager ();
159 public static unowned Gdk.DisplayManager @get ();
160 public unowned Gdk.Display get_default_display ();
161 public GLib.SList<weak Gdk.Display> list_displays ();
162 public unowned Gdk.Display open_display (string name);
163 public void set_default_display (Gdk.Display display);
164 public Gdk.Display default_display { get; set; }
165 public virtual signal void display_opened (Gdk.Display p0);
167 [CCode (cheader_filename = "gdk/gdk.h")]
168 public class DragContext : GLib.Object {
169 [CCode (has_construct_function = false)]
170 protected DragContext ();
171 public Gdk.DragAction get_actions ();
172 public unowned Gdk.Window get_dest_window ();
173 public unowned Gdk.Device get_device ();
174 public Gdk.DragProtocol get_protocol ();
175 public Gdk.DragAction get_selected_action ();
176 public unowned Gdk.Window get_source_window ();
177 public Gdk.DragAction get_suggested_action ();
178 public unowned GLib.List list_targets ();
179 public void set_device (Gdk.Device device);
182 [CCode (copy_function = "gdk_event_copy", type_id = "GDK_TYPE_EVENT", cheader_filename = "gdk/gdk.h")]
184 public Gdk.EventAny any;
185 public Gdk.EventButton button;
186 public Gdk.EventClient client;
187 public Gdk.EventConfigure configure;
188 public Gdk.EventCrossing crossing;
189 public Gdk.EventDND dnd;
190 public Gdk.EventExpose expose;
191 public Gdk.EventFocus focus_change;
192 public Gdk.EventGrabBroken grab_broken;
193 public Gdk.EventKey key;
194 public Gdk.EventMotion motion;
195 public Gdk.EventOwnerChange owner_change;
196 public Gdk.EventProperty property;
197 public Gdk.EventProximity proximity;
198 public Gdk.EventScroll scroll;
199 public Gdk.EventSelection selection;
200 public Gdk.EventSetting setting;
201 public Gdk.EventType type;
202 public Gdk.EventVisibility visibility;
203 public Gdk.EventWindowState window_state;
204 [CCode (has_construct_function = false)]
205 public Event (Gdk.EventType type);
206 public Gdk.Event copy ();
207 public static unowned Gdk.Event @get ();
208 public bool get_axis (Gdk.AxisUse axis_use, out double value);
209 public bool get_coords (out double x_win, out double y_win);
210 public unowned Gdk.Device get_device ();
211 public bool get_root_coords (out double x_root, out double y_root);
212 public unowned Gdk.Screen get_screen ();
213 public unowned Gdk.Device get_source_device ();
214 public bool get_state (out Gdk.ModifierType state);
215 public uint32 get_time ();
216 public static void handler_set (owned Gdk.EventFunc func);
217 public static unowned Gdk.Event peek ();
219 public static void request_motions (Gdk.EventMotion event);
220 public bool send_client_message (Gdk.NativeWindow winid);
221 public static bool send_client_message_for_display (Gdk.Display display, Gdk.Event event, Gdk.NativeWindow winid);
222 public void send_clientmessage_toall ();
223 public void set_device (Gdk.Device device);
224 public void set_screen (Gdk.Screen screen);
225 public void set_source_device (Gdk.Device device);
227 [CCode (cheader_filename = "gdk/gdk.h")]
228 public class Keymap : GLib.Object {
229 [CCode (has_construct_function = false)]
231 public void add_virtual_modifiers (Gdk.ModifierType state);
232 public bool get_caps_lock_state ();
233 public static unowned Gdk.Keymap get_default ();
234 public Pango.Direction get_direction ();
235 public bool get_entries_for_keycode (uint hardware_keycode, out unowned Gdk.KeymapKey[] keys, out unowned uint[] keyvals, int n_entries);
236 public bool get_entries_for_keyval (uint keyval, out unowned Gdk.KeymapKey[] keys);
237 public static unowned Gdk.Keymap get_for_display (Gdk.Display display);
238 public bool get_num_lock_state ();
239 public bool have_bidi_layouts ();
240 public uint lookup_key (Gdk.KeymapKey key);
241 public bool map_virtual_modifiers (Gdk.ModifierType state);
242 public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, uint keyval, int effective_group, int level, Gdk.ModifierType consumed_modifiers);
243 public virtual signal void direction_changed ();
244 public virtual signal void keys_changed ();
245 public virtual signal void state_changed ();
247 [CCode (cheader_filename = "gdk/gdk.h")]
248 public class Screen : GLib.Object {
249 [CCode (has_construct_function = false)]
251 public void broadcast_client_message (Gdk.Event event);
252 public unowned Gdk.Window get_active_window ();
253 public static unowned Gdk.Screen get_default ();
254 public unowned Gdk.Display get_display ();
255 public unowned Cairo.FontOptions get_font_options ();
256 public int get_height ();
257 public int get_height_mm ();
258 public int get_monitor_at_point (int x, int y);
259 public int get_monitor_at_window (Gdk.Window window);
260 public void get_monitor_geometry (int monitor_num, out Gdk.Rectangle dest);
261 public int get_monitor_height_mm (int monitor_num);
262 public unowned string get_monitor_plug_name (int monitor_num);
263 public int get_monitor_width_mm (int monitor_num);
264 public int get_n_monitors ();
265 public int get_number ();
266 public int get_primary_monitor ();
267 public double get_resolution ();
268 public unowned Gdk.Visual get_rgba_visual ();
269 public unowned Gdk.Window get_root_window ();
270 public bool get_setting (string name, GLib.Value value);
271 public unowned Gdk.Visual get_system_visual ();
272 public GLib.List<weak Gdk.Window> get_toplevel_windows ();
273 public int get_width ();
274 public int get_width_mm ();
275 public GLib.List<Gdk.Window>? get_window_stack ();
276 public static int height ();
277 public static int height_mm ();
278 public bool is_composited ();
279 public GLib.List<weak Gdk.Visual> list_visuals ();
280 public unowned string make_display_name ();
281 public void set_font_options (Cairo.FontOptions options);
282 public void set_resolution (double dpi);
283 public static int width ();
284 public static int width_mm ();
285 public void* font_options { get; set; }
286 public double resolution { get; set; }
287 public virtual signal void composited_changed ();
288 public virtual signal void monitors_changed ();
289 public virtual signal void size_changed ();
291 [CCode (cheader_filename = "gdk/gdk.h")]
292 public class Visual : GLib.Object {
293 [CCode (has_construct_function = false)]
295 public static unowned Gdk.Visual get_best ();
296 public static int get_best_depth ();
297 public static Gdk.VisualType get_best_type ();
298 public static unowned Gdk.Visual get_best_with_both (int depth, Gdk.VisualType visual_type);
299 public static unowned Gdk.Visual get_best_with_depth (int depth);
300 public static unowned Gdk.Visual get_best_with_type (Gdk.VisualType visual_type);
301 public int get_bits_per_rgb ();
302 public void get_blue_pixel_details (uint32 mask, int shift, int precision);
303 public Gdk.ByteOrder get_byte_order ();
304 public int get_colormap_size ();
305 public int get_depth ();
306 public void get_green_pixel_details (uint32 mask, int shift, int precision);
307 public void get_red_pixel_details (uint32 mask, int shift, int precision);
308 public unowned Gdk.Screen get_screen ();
309 public static unowned Gdk.Visual get_system ();
310 public Gdk.VisualType get_visual_type ();
312 [CCode (cheader_filename = "gdk/gdk.h")]
313 public class Window : GLib.Object {
314 [CCode (has_construct_function = false)]
315 public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, int attributes_mask);
316 public void add_filter (Gdk.FilterFunc function);
317 public static unowned Gdk.Window at_pointer (out int win_x, out int win_y);
319 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
320 public void begin_paint_rect (Gdk.Rectangle rectangle);
321 public void begin_paint_region (Cairo.Region region);
322 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
323 public void configure_finished ();
324 public static void constrain_size (Gdk.Geometry geometry, uint flags, int width, int height, out int new_width, out int new_height);
325 public void coords_from_parent (double parent_x, double parent_y, double x, double y);
326 public void coords_to_parent (double x, double y, double parent_x, double parent_y);
327 public unowned Cairo.Surface create_similar_surface (Cairo.Content content, int width, int height);
328 public void deiconify ();
329 public void destroy ();
330 public void enable_synchronized_configure ();
331 public void end_paint ();
332 public bool ensure_native ();
333 public void flush ();
334 public void focus (uint32 timestamp);
335 public void freeze_toplevel_updates_libgtk_only ();
336 public void freeze_updates ();
337 public void fullscreen ();
338 public void geometry_changed ();
339 public bool get_accept_focus ();
340 public unowned Cairo.Pattern get_background_pattern ();
341 public GLib.List<weak Gdk.Window> get_children ();
342 public unowned Cairo.Region get_clip_region ();
343 public bool get_composited ();
344 public unowned Gdk.Cursor? get_cursor ();
345 public bool get_decorations (out Gdk.WMDecoration decorations);
346 public unowned Gdk.Cursor get_device_cursor (Gdk.Device device);
347 public Gdk.EventMask get_device_events (Gdk.Device device);
348 public unowned Gdk.Window get_device_position (Gdk.Device device, int x, int y, Gdk.ModifierType mask);
349 public unowned Gdk.Display get_display ();
350 public unowned Gdk.Window get_effective_parent ();
351 public unowned Gdk.Window get_effective_toplevel ();
352 public Gdk.EventMask get_events ();
353 public bool get_focus_on_map ();
354 public void get_frame_extents (out Gdk.Rectangle rect);
355 public void get_geometry (out int x, out int y, out int width, out int height);
356 public unowned Gdk.Window get_group ();
357 public int get_height ();
358 public bool get_modal_hint ();
359 public int get_origin (out int x, out int y);
360 public unowned Gdk.Window get_parent ();
361 public unowned Gdk.Window get_pointer (out int x, out int y, out Gdk.ModifierType mask);
362 public void get_position (out int x, out int y);
363 public void get_root_coords (int x, int y, int root_x, int root_y);
364 public void get_root_origin (out int x, out int y);
365 public unowned Gdk.Screen get_screen ();
366 public Gdk.EventMask get_source_events (Gdk.InputSource source);
367 public Gdk.WindowState get_state ();
368 public bool get_support_multidevice ();
369 public unowned Gdk.Window get_toplevel ();
370 public Gdk.WindowTypeHint get_type_hint ();
371 public unowned Cairo.Region get_update_area ();
372 public void get_user_data (void* data);
373 public unowned Cairo.Region get_visible_region ();
374 public unowned Gdk.Visual get_visual ();
375 public int get_width ();
376 public Gdk.WindowType get_window_type ();
377 public bool has_native ();
379 public void iconify ();
380 public void input_shape_combine_region (Cairo.Region shape_region, int offset_x, int offset_y);
381 public void invalidate_maybe_recurse (Cairo.Region region, Gdk.WindowChildFunc child_func);
382 public void invalidate_rect (Gdk.Rectangle? rect, bool invalidate_children);
383 public void invalidate_region (Cairo.Region region, bool invalidate_children);
384 public bool is_destroyed ();
385 public bool is_input_only ();
386 public bool is_shaped ();
387 public bool is_viewable ();
388 public bool is_visible ();
389 public void lower ();
390 public void maximize ();
391 public void merge_child_input_shapes ();
392 public void merge_child_shapes ();
393 public void move (int x, int y);
394 public void move_region (Cairo.Region region, int dx, int dy);
395 public void move_resize (int x, int y, int width, int height);
396 public unowned GLib.List<Gdk.Window> peek_children ();
397 public static void process_all_updates ();
398 public void process_updates (bool update_children);
399 public void raise ();
400 public void register_dnd ();
401 public void remove_filter (Gdk.FilterFunc function);
402 public void reparent (Gdk.Window new_parent, int x, int y);
403 public void resize (int width, int height);
404 public void restack (Gdk.Window sibling, bool above);
405 public void scroll (int dx, int dy);
406 public void set_accept_focus (bool accept_focus);
407 public void set_background (Gdk.Color color);
408 public void set_background_pattern (Cairo.Pattern pattern);
409 public void set_background_rgba (Gdk.RGBA rgba);
410 public void set_child_input_shapes ();
411 public void set_child_shapes ();
412 public void set_composited (bool composited);
413 public void set_cursor (Gdk.Cursor? cursor);
414 public static void set_debug_updates (bool setting);
415 public void set_decorations (Gdk.WMDecoration decorations);
416 public void set_device_cursor (Gdk.Device device, Gdk.Cursor cursor);
417 public void set_device_events (Gdk.Device device, Gdk.EventMask event_mask);
418 public void set_events (Gdk.EventMask event_mask);
419 public void set_focus_on_map (bool focus_on_map);
420 public void set_functions (Gdk.WMFunction functions);
421 public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
422 public void set_group (Gdk.Window leader);
423 public void set_icon_list (GLib.List<Gdk.Pixbuf> pixbufs);
424 public void set_icon_name (string name);
425 public void set_keep_above (bool setting);
426 public void set_keep_below (bool setting);
427 public void set_modal_hint (bool modal);
428 public void set_opacity (double opacity);
429 public void set_override_redirect (bool override_redirect);
430 public void set_role (string role);
431 public void set_skip_pager_hint (bool skips_pager);
432 public void set_skip_taskbar_hint (bool skips_taskbar);
433 public void set_source_events (Gdk.InputSource source, Gdk.EventMask event_mask);
434 public void set_startup_id (string startup_id);
435 public bool set_static_gravities (bool use_static);
436 public void set_support_multidevice (bool support_multidevice);
437 public void set_title (string title);
438 public void set_transient_for (Gdk.Window parent);
439 public void set_type_hint (Gdk.WindowTypeHint hint);
440 public void set_urgency_hint (bool urgent);
441 public void set_user_data (void* user_data);
442 public void shape_combine_region (Cairo.Region shape_region, int offset_x, int offset_y);
444 public void show_unraised ();
445 public void stick ();
446 public void thaw_toplevel_updates_libgtk_only ();
447 public void thaw_updates ();
448 public void unfullscreen ();
449 public void unmaximize ();
450 public void unstick ();
451 public void withdraw ();
452 public Gdk.Cursor cursor { get; set; }
453 public virtual signal Cairo.Surface create_surface (int width, int height);
454 public virtual signal void from_embedder (double embedder_x, double embedder_y, void* offscreen_x, void* offscreen_y);
455 public virtual signal unowned Gdk.Window pick_embedded_child (double x, double y);
456 public virtual signal void to_embedder (double offscreen_x, double offscreen_y, void* embedder_x, void* embedder_y);
458 [CCode (cheader_filename = "gdk/gdk.h")]
461 public static Gdk.Atom intern (string atom_name, bool only_if_exists);
462 public static Gdk.Atom intern_static_string (string atom_name);
463 public unowned string name ();
465 [CCode (type_id = "GDK_TYPE_COLOR", cheader_filename = "gdk/gdk.h")]
466 public struct Color {
471 public Gdk.Color copy ();
472 public bool equal (Gdk.Color colorb);
475 public static bool parse (string spec, out Gdk.Color color);
476 public string to_string ();
478 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
479 public struct EventAny {
480 public Gdk.EventType type;
481 public weak Gdk.Window window;
482 public char send_event;
484 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
485 public struct EventButton {
486 public Gdk.EventType type;
487 public weak Gdk.Window window;
488 public char send_event;
492 [CCode (array_length = false)]
493 public weak double[] axes;
494 public Gdk.ModifierType state;
496 public weak Gdk.Device device;
497 public double x_root;
498 public double y_root;
500 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
501 public struct EventClient {
502 public Gdk.EventType type;
503 public weak Gdk.Window window;
504 public char send_event;
505 public Gdk.Atom message_type;
506 public ushort data_format;
509 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
510 public struct EventConfigure {
511 public Gdk.EventType type;
512 public weak Gdk.Window window;
513 public char send_event;
519 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
520 public struct EventCrossing {
521 public Gdk.EventType type;
522 public weak Gdk.Window window;
523 public char send_event;
524 public weak Gdk.Window subwindow;
528 public double x_root;
529 public double y_root;
530 public Gdk.CrossingMode mode;
531 public Gdk.NotifyType detail;
533 public Gdk.ModifierType state;
535 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
536 public struct EventDND {
537 public Gdk.EventType type;
538 public weak Gdk.Window window;
539 public char send_event;
540 public weak Gdk.DragContext context;
545 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
546 public struct EventExpose {
547 public Gdk.EventType type;
548 public weak Gdk.Window window;
549 public char send_event;
550 public Gdk.Rectangle area;
551 public weak Cairo.Region region;
554 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
555 public struct EventFocus {
556 public Gdk.EventType type;
557 public weak Gdk.Window window;
558 public char send_event;
561 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
562 public struct EventGrabBroken {
563 public Gdk.EventType type;
564 public weak Gdk.Window window;
565 public char send_event;
566 public bool keyboard;
567 public bool implicit;
568 public weak Gdk.Window grab_window;
570 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
571 public struct EventKey {
572 public Gdk.EventType type;
573 public weak Gdk.Window window;
574 public char send_event;
576 public Gdk.ModifierType state;
579 [CCode (cname = "string")]
580 public weak string str;
581 public uint16 hardware_keycode;
583 public uint is_modifier;
585 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
586 public struct EventMotion {
587 public Gdk.EventType type;
588 public weak Gdk.Window window;
589 public char send_event;
593 [CCode (array_length = false)]
594 public weak double[] axes;
595 public Gdk.ModifierType state;
597 public weak Gdk.Device device;
598 public double x_root;
599 public double y_root;
601 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
602 public struct EventOwnerChange {
603 public Gdk.EventType type;
604 public weak Gdk.Window window;
605 public char send_event;
606 public Gdk.NativeWindow owner;
607 public Gdk.OwnerChange reason;
608 public Gdk.Atom selection;
610 public uint32 selection_time;
612 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
613 public struct EventProperty {
614 public Gdk.EventType type;
615 public weak Gdk.Window window;
616 public char send_event;
617 public Gdk.Atom atom;
619 public Gdk.PropertyState state;
621 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
622 public struct EventProximity {
623 public Gdk.EventType type;
624 public weak Gdk.Window window;
625 public char send_event;
627 public weak Gdk.Device device;
629 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
630 public struct EventScroll {
631 public Gdk.EventType type;
632 public weak Gdk.Window window;
633 public char send_event;
637 public Gdk.ModifierType state;
638 public Gdk.ScrollDirection direction;
639 public weak Gdk.Device device;
640 public double x_root;
641 public double y_root;
643 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
644 public struct EventSelection {
645 public Gdk.EventType type;
646 public weak Gdk.Window window;
647 public char send_event;
648 public Gdk.Atom selection;
649 public Gdk.Atom target;
650 public Gdk.Atom property;
652 public Gdk.NativeWindow requestor;
654 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
655 public struct EventSetting {
656 public Gdk.EventType type;
657 public weak Gdk.Window window;
658 public char send_event;
659 public Gdk.SettingAction action;
660 public weak string name;
662 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
663 public struct EventVisibility {
664 public Gdk.EventType type;
665 public weak Gdk.Window window;
666 public char send_event;
667 public Gdk.VisibilityState state;
669 [CCode (has_type_id = false, cheader_filename = "gdk/gdk.h")]
670 public struct EventWindowState {
671 public Gdk.EventType type;
672 public weak Gdk.Window window;
673 public char send_event;
674 public Gdk.WindowState changed_mask;
675 public Gdk.WindowState new_window_state;
677 [CCode (type_id = "GDK_TYPE_GEOMETRY", cheader_filename = "gdk/gdk.h")]
678 public struct Geometry {
679 public int min_width;
680 public int min_height;
681 public int max_width;
682 public int max_height;
683 public int base_width;
684 public int base_height;
685 public int width_inc;
686 public int height_inc;
687 public double min_aspect;
688 public double max_aspect;
689 public Gdk.Gravity win_gravity;
691 [CCode (type_id = "GDK_TYPE_KEYMAP_KEY", cheader_filename = "gdk/gdk.h")]
692 public struct KeymapKey {
697 [CCode (cheader_filename = "gdk/gdk.h")]
699 public struct NativeWindow {
701 [CCode (type_id = "GDK_TYPE_POINT", cheader_filename = "gdk/gdk.h")]
702 public struct Point {
706 [CCode (type_id = "GDK_TYPE_RGBA", cheader_filename = "gdk/gdk.h")]
712 public Gdk.RGBA copy ();
713 public static bool equal (void* p1, void* p2);
715 public static uint hash (void* p);
716 public bool parse (string spec);
717 public unowned string to_string ();
719 [CCode (type_id = "GDK_TYPE_RECTANGLE", cheader_filename = "gdk/gdk.h")]
720 public struct Rectangle {
721 public bool intersect (Gdk.Rectangle src2, Gdk.Rectangle dest);
722 public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
724 [CCode (type_id = "GDK_TYPE_TIME_COORD", cheader_filename = "gdk/gdk.h")]
725 public struct TimeCoord {
727 [CCode (array_length = false)]
728 public weak double[] axes;
730 [CCode (type_id = "GDK_TYPE_WINDOW_ATTR", cheader_filename = "gdk/gdk.h")]
731 public struct WindowAttr {
732 public weak string title;
733 public int event_mask;
738 public Gdk.WindowWindowClass wclass;
739 public weak Gdk.Visual visual;
740 public Gdk.WindowType window_type;
741 public weak Gdk.Cursor cursor;
742 public weak string wmclass_name;
743 public weak string wmclass_class;
744 public bool override_redirect;
745 public Gdk.WindowTypeHint type_hint;
747 [CCode (type_id = "GDK_TYPE_WINDOW_REDIRECT", cheader_filename = "gdk/gdk.h")]
748 public struct WindowRedirect {
750 [CCode (type_id = "GDK_TYPE_XEVENT", cheader_filename = "gdk/gdk.h")]
751 public struct XEvent {
753 [CCode (cprefix = "GDK_AXIS_", cheader_filename = "gdk/gdk.h")]
754 public enum AxisUse {
764 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
765 public enum ByteOrder {
769 [CCode (cprefix = "GDK_CROSSING_", cheader_filename = "gdk/gdk.h")]
770 public enum CrossingMode {
778 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
779 public enum CursorType {
861 [CCode (cprefix = "GDK_DEVICE_TYPE_", cheader_filename = "gdk/gdk.h")]
862 public enum DeviceType {
867 [CCode (cprefix = "GDK_ACTION_", cheader_filename = "gdk/gdk.h")]
869 public enum DragAction {
877 [CCode (cprefix = "GDK_DRAG_PROTO_", cheader_filename = "gdk/gdk.h")]
878 public enum DragProtocol {
887 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
889 public enum EventMask {
892 POINTER_MOTION_HINT_MASK,
905 PROPERTY_CHANGE_MASK,
906 VISIBILITY_NOTIFY_MASK,
913 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
914 public enum EventType {
954 [CCode (cprefix = "GDK_EXTENSION_EVENTS_", cheader_filename = "gdk/gdk.h")]
955 public enum ExtensionMode {
960 [CCode (cprefix = "GDK_FILTER_", cheader_filename = "gdk/gdk.h")]
961 public enum FilterReturn {
966 [CCode (cprefix = "GDK_OWNERSHIP_", cheader_filename = "gdk/gdk.h")]
967 public enum GrabOwnership {
972 [CCode (cprefix = "GDK_GRAB_", cheader_filename = "gdk/gdk.h")]
973 public enum GrabStatus {
980 [CCode (cprefix = "GDK_GRAVITY_", cheader_filename = "gdk/gdk.h")]
981 public enum Gravity {
993 [CCode (cprefix = "GDK_MODE_", cheader_filename = "gdk/gdk.h")]
994 public enum InputMode {
999 [CCode (cprefix = "GDK_SOURCE_", cheader_filename = "gdk/gdk.h")]
1000 public enum InputSource {
1007 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1009 public enum ModifierType {
1029 [CCode (cprefix = "GDK_NOTIFY_", cheader_filename = "gdk/gdk.h")]
1030 public enum NotifyType {
1038 [CCode (cprefix = "GDK_OWNER_CHANGE_", cheader_filename = "gdk/gdk.h")]
1039 public enum OwnerChange {
1044 [CCode (cprefix = "GDK_PROP_MODE_", cheader_filename = "gdk/gdk.h")]
1045 public enum PropMode {
1050 [CCode (cprefix = "GDK_PROPERTY_", cheader_filename = "gdk/gdk.h")]
1051 public enum PropertyState {
1055 [CCode (cprefix = "GDK_SCROLL_", cheader_filename = "gdk/gdk.h")]
1056 public enum ScrollDirection {
1062 [CCode (cprefix = "GDK_SETTING_ACTION_", cheader_filename = "gdk/gdk.h")]
1063 public enum SettingAction {
1068 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1069 public enum Status {
1076 [CCode (cprefix = "GDK_VISIBILITY_", cheader_filename = "gdk/gdk.h")]
1077 public enum VisibilityState {
1082 [CCode (cprefix = "GDK_VISUAL_", cheader_filename = "gdk/gdk.h")]
1083 public enum VisualType {
1091 [CCode (cprefix = "GDK_DECOR_", cheader_filename = "gdk/gdk.h")]
1093 public enum WMDecoration {
1102 [CCode (cprefix = "GDK_FUNC_", cheader_filename = "gdk/gdk.h")]
1104 public enum WMFunction {
1112 [CCode (cprefix = "GDK_WA_", cheader_filename = "gdk/gdk.h")]
1114 public enum WindowAttributesType {
1124 [CCode (cprefix = "GDK_WINDOW_EDGE_", cheader_filename = "gdk/gdk.h")]
1125 public enum WindowEdge {
1135 [CCode (cprefix = "GDK_HINT_", cheader_filename = "gdk/gdk.h")]
1137 public enum WindowHints {
1148 [CCode (cprefix = "GDK_WINDOW_STATE_", cheader_filename = "gdk/gdk.h")]
1150 public enum WindowState {
1159 [CCode (cprefix = "GDK_WINDOW_", cheader_filename = "gdk/gdk.h")]
1160 public enum WindowType {
1168 [CCode (cprefix = "GDK_WINDOW_TYPE_HINT_", cheader_filename = "gdk/gdk.h")]
1169 public enum WindowTypeHint {
1185 [CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
1186 public enum WindowWindowClass {
1190 [CCode (cheader_filename = "gdk/gdk.h")]
1191 public delegate void EventFunc (Gdk.Event event);
1192 [CCode (cheader_filename = "gdk/gdk.h")]
1193 public delegate Gdk.FilterReturn FilterFunc (Gdk.XEvent xevent, Gdk.Event event);
1194 [CCode (cheader_filename = "gdk/gdk.h")]
1195 public delegate bool WindowChildFunc (Gdk.Window window);
1196 [CCode (cheader_filename = "gdk/gdk.h")]
1197 public const int CURRENT_TIME;
1198 [CCode (cheader_filename = "gdk/gdk.h")]
1199 public const int MAX_TIMECOORD_AXES;
1200 [CCode (cheader_filename = "gdk/gdk.h")]
1201 public const int PARENT_RELATIVE;
1202 [CCode (cheader_filename = "gdk/gdk.h")]
1203 public const int PRIORITY_REDRAW;
1204 [CCode (cheader_filename = "gdk/gdk.h")]
1205 public const Gdk.Atom SELECTION_CLIPBOARD;
1206 [CCode (cheader_filename = "gdk/gdk.h")]
1207 public const Gdk.Atom SELECTION_PRIMARY;
1208 [CCode (cheader_filename = "gdk/gdk.h")]
1209 public const Gdk.Atom SELECTION_SECONDARY;
1210 [CCode (cheader_filename = "gdk/gdk.h")]
1211 public static void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func);
1212 [CCode (cheader_filename = "gdk/gdk.h")]
1213 public static void add_option_entries_libgtk_only (GLib.OptionGroup group);
1214 [CCode (cheader_filename = "gdk/gdk.h")]
1215 public static void beep ();
1216 [CCode (cheader_filename = "gdk/gdk.h")]
1217 public static Cairo.Context cairo_create (Gdk.Window window);
1218 [CCode (cheader_filename = "gdk/gdk.h")]
1219 public static bool cairo_get_clip_rectangle (Cairo.Context cr, Gdk.Rectangle rect);
1220 [CCode (cheader_filename = "gdk/gdk.h")]
1221 public static void cairo_rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);
1222 [CCode (cheader_filename = "gdk/gdk.h")]
1223 public static void cairo_region (Cairo.Context cr, Cairo.Region region);
1224 [CCode (cheader_filename = "gdk/gdk.h")]
1225 public static unowned Cairo.Region cairo_region_create_from_surface (Cairo.Surface surface);
1226 [CCode (cheader_filename = "gdk/gdk.h")]
1227 public static void cairo_set_source_color (Cairo.Context cr, Gdk.Color color);
1228 [CCode (cheader_filename = "gdk/gdk.h")]
1229 public static void cairo_set_source_pixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y);
1230 [CCode (cheader_filename = "gdk/gdk.h")]
1231 public static void cairo_set_source_rgba (Cairo.Context cr, Gdk.RGBA rgba);
1232 [CCode (cheader_filename = "gdk/gdk.h")]
1233 public static void cairo_set_source_window (Cairo.Context cr, Gdk.Window window, double x, double y);
1234 [CCode (cheader_filename = "gdk/gdk.h")]
1235 public static void disable_multidevice ();
1236 [CCode (cheader_filename = "gdk/gdk.h")]
1237 public static void drag_abort (Gdk.DragContext context, uint32 time_);
1238 [CCode (cheader_filename = "gdk/gdk.h")]
1239 public static unowned Gdk.DragContext drag_begin (Gdk.Window window, GLib.List targets);
1240 [CCode (cheader_filename = "gdk/gdk.h")]
1241 public static unowned Gdk.DragContext drag_begin_for_device (Gdk.Window window, Gdk.Device device, GLib.List targets);
1242 [CCode (cheader_filename = "gdk/gdk.h")]
1243 public static void drag_drop (Gdk.DragContext context, uint32 time_);
1244 [CCode (cheader_filename = "gdk/gdk.h")]
1245 public static bool drag_drop_succeeded (Gdk.DragContext context);
1246 [CCode (cheader_filename = "gdk/gdk.h")]
1247 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);
1248 [CCode (cheader_filename = "gdk/gdk.h")]
1249 public static Gdk.NativeWindow drag_get_protocol_for_display (Gdk.Display display, Gdk.NativeWindow xid, Gdk.DragProtocol protocol);
1250 [CCode (cheader_filename = "gdk/gdk.h")]
1251 public static Gdk.Atom drag_get_selection (Gdk.DragContext context);
1252 [CCode (cheader_filename = "gdk/gdk.h")]
1253 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_);
1254 [CCode (cheader_filename = "gdk/gdk.h")]
1255 public static void drag_status (Gdk.DragContext context, Gdk.DragAction action, uint32 time_);
1256 [CCode (cheader_filename = "gdk/gdk.h")]
1257 public static void drop_finish (Gdk.DragContext context, bool success, uint32 time_);
1258 [CCode (cheader_filename = "gdk/gdk.h")]
1259 public static void drop_reply (Gdk.DragContext context, bool accepted, uint32 time_);
1260 [CCode (cheader_filename = "gdk/gdk.h")]
1261 public static int error_trap_pop ();
1262 [CCode (cheader_filename = "gdk/gdk.h")]
1263 public static void error_trap_pop_ignored ();
1264 [CCode (cheader_filename = "gdk/gdk.h")]
1265 public static void error_trap_push ();
1266 [CCode (cheader_filename = "gdk/gdk.h")]
1267 public static bool events_get_angle (Gdk.Event event1, Gdk.Event event2, double angle);
1268 [CCode (cheader_filename = "gdk/gdk.h")]
1269 public static bool events_get_center (Gdk.Event event1, Gdk.Event event2, double x, double y);
1270 [CCode (cheader_filename = "gdk/gdk.h")]
1271 public static bool events_get_distance (Gdk.Event event1, Gdk.Event event2, double distance);
1272 [CCode (cheader_filename = "gdk/gdk.h")]
1273 public static bool events_pending ();
1274 [CCode (cheader_filename = "gdk/gdk.h")]
1275 public static void flush ();
1276 [CCode (cheader_filename = "gdk/gdk.h")]
1277 public static unowned Gdk.Window get_default_root_window ();
1278 [CCode (cheader_filename = "gdk/gdk.h")]
1279 public static unowned string get_display ();
1280 [CCode (cheader_filename = "gdk/gdk.h")]
1281 public static unowned string get_display_arg_name ();
1282 [CCode (cheader_filename = "gdk/gdk.h")]
1283 public static unowned string get_program_class ();
1284 [CCode (cheader_filename = "gdk/gdk.h")]
1285 public static bool get_show_events ();
1286 [CCode (cheader_filename = "gdk/gdk.h")]
1287 public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
1288 [CCode (cheader_filename = "gdk/gdk.h")]
1289 public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
1290 [CCode (cheader_filename = "gdk/gdk.h")]
1291 public static void keyval_convert_case (uint symbol, uint lower, uint upper);
1292 [CCode (cheader_filename = "gdk/gdk.h")]
1293 public static uint keyval_from_name (string keyval_name);
1294 [CCode (cheader_filename = "gdk/gdk.h")]
1295 public static bool keyval_is_lower (uint keyval);
1296 [CCode (cheader_filename = "gdk/gdk.h")]
1297 public static bool keyval_is_upper (uint keyval);
1298 [CCode (cheader_filename = "gdk/gdk.h")]
1299 public static unowned string keyval_name (uint keyval);
1300 [CCode (cheader_filename = "gdk/gdk.h")]
1301 public static uint keyval_to_lower (uint keyval);
1302 [CCode (cheader_filename = "gdk/gdk.h")]
1303 public static uint32 keyval_to_unicode (uint keyval);
1304 [CCode (cheader_filename = "gdk/gdk.h")]
1305 public static uint keyval_to_upper (uint keyval);
1306 [CCode (cheader_filename = "gdk/gdk.h")]
1307 public static GLib.List<weak Gdk.Visual> list_visuals ();
1308 [CCode (cheader_filename = "gdk/gdk.h")]
1309 public static void notify_startup_complete ();
1310 [CCode (cheader_filename = "gdk/gdk.h")]
1311 public static void notify_startup_complete_with_id (string startup_id);
1312 [CCode (cheader_filename = "gdk/gdk.h")]
1313 public static unowned Gdk.Window? offscreen_window_get_embedder (Gdk.Window window);
1314 [CCode (cheader_filename = "gdk/gdk.h")]
1315 public static unowned Cairo.Surface offscreen_window_get_surface (Gdk.Window window);
1316 [CCode (cheader_filename = "gdk/gdk.h")]
1317 public static void offscreen_window_set_embedder (Gdk.Window window, Gdk.Window embedder);
1318 [CCode (cheader_filename = "gdk/gdk.h")]
1319 public static unowned Pango.Context pango_context_get ();
1320 [CCode (cheader_filename = "gdk/gdk.h")]
1321 public static unowned Pango.Context pango_context_get_for_screen (Gdk.Screen screen);
1322 [CCode (cheader_filename = "gdk/gdk.h")]
1323 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);
1324 [CCode (cheader_filename = "gdk/gdk.h")]
1325 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);
1326 [CCode (cheader_filename = "gdk/gdk.h")]
1327 public static void parse_args (int argc, string argv);
1328 [CCode (cheader_filename = "gdk/gdk.h")]
1329 public static unowned Gdk.Pixbuf pixbuf_get_from_surface (Cairo.Surface surface, int src_x, int src_y, int width, int height);
1330 [CCode (cheader_filename = "gdk/gdk.h")]
1331 public static unowned Gdk.Pixbuf pixbuf_get_from_window (Gdk.Window window, int src_x, int src_y, int width, int height);
1332 [CCode (cheader_filename = "gdk/gdk.h")]
1333 public static void pre_parse_libgtk_only ();
1334 [CCode (cheader_filename = "gdk/gdk.h")]
1335 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);
1336 [CCode (cheader_filename = "gdk/gdk.h")]
1337 public static void property_delete (Gdk.Window window, Gdk.Atom property);
1338 [CCode (cheader_filename = "gdk/gdk.h")]
1339 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);
1340 [CCode (cheader_filename = "gdk/gdk.h")]
1341 public static void query_depths (int depths, int count);
1342 [CCode (cheader_filename = "gdk/gdk.h")]
1343 public static void query_visual_types (out Gdk.VisualType visual_types, int count);
1344 [Deprecated (since = "vala-0.12", replacement = "Selection.convert")]
1345 [CCode (cheader_filename = "gdk/gdk.h")]
1346 public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
1347 [Deprecated (since = "vala-0.12", replacement = "Selection.owner_get")]
1348 [CCode (cheader_filename = "gdk/gdk.h")]
1349 public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
1350 [Deprecated (since = "vala-0.12", replacement = "Selection.owner_get_for_display")]
1351 [CCode (cheader_filename = "gdk/gdk.h")]
1352 public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
1353 [Deprecated (since = "vala-0.12", replacement = "Selection.owner_set")]
1354 [CCode (cheader_filename = "gdk/gdk.h")]
1355 public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
1356 [Deprecated (since = "vala-0.12", replacement = "Selection.owner_set_for_display")]
1357 [CCode (cheader_filename = "gdk/gdk.h")]
1358 public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
1359 [Deprecated (since = "vala-0.12", replacement = "Selection.property_get")]
1360 [CCode (cheader_filename = "gdk/gdk.h")]
1361 public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
1362 [Deprecated (since = "vala-0.12", replacement = "Selection.send_notify")]
1363 [CCode (cheader_filename = "gdk/gdk.h")]
1364 public static void selection_send_notify (Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
1365 [Deprecated (since = "vala-0.12", replacement = "Selection.send_notify_for_display")]
1366 [CCode (cheader_filename = "gdk/gdk.h")]
1367 public static void selection_send_notify_for_display (Gdk.Display display, Gdk.NativeWindow requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
1368 [CCode (cheader_filename = "gdk/gdk.h")]
1369 public static void set_double_click_time (uint msec);
1370 [CCode (cheader_filename = "gdk/gdk.h")]
1371 public static void set_program_class (string program_class);
1372 [CCode (cheader_filename = "gdk/gdk.h")]
1373 public static void set_show_events (bool show_events);
1374 [CCode (cheader_filename = "gdk/gdk.h")]
1375 public static bool setting_get (string name, GLib.Value value);
1376 [CCode (cheader_filename = "gdk/gdk.h")]
1377 public static void test_render_sync (Gdk.Window window);
1378 [CCode (cheader_filename = "gdk/gdk.h")]
1379 public static bool test_simulate_button (Gdk.Window window, int x, int y, uint button, Gdk.ModifierType modifiers, Gdk.EventType button_pressrelease);
1380 [CCode (cheader_filename = "gdk/gdk.h")]
1381 public static bool test_simulate_key (Gdk.Window window, int x, int y, uint keyval, Gdk.ModifierType modifiers, Gdk.EventType key_pressrelease);
1382 [CCode (cheader_filename = "gdk/gdk.h")]
1383 public static int text_property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1384 [CCode (cheader_filename = "gdk/gdk.h")]
1385 public static uint threads_add_idle (GLib.SourceFunc function);
1386 [CCode (cheader_filename = "gdk/gdk.h")]
1387 public static uint threads_add_idle_full (int priority, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
1388 [CCode (cheader_filename = "gdk/gdk.h")]
1389 public static uint threads_add_timeout (uint interval, GLib.SourceFunc function, void* data);
1390 [CCode (cheader_filename = "gdk/gdk.h")]
1391 public static uint threads_add_timeout_full (int priority, uint interval, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
1392 [CCode (cheader_filename = "gdk/gdk.h")]
1393 public static uint threads_add_timeout_seconds (uint interval, GLib.SourceFunc function, void* data);
1394 [CCode (cheader_filename = "gdk/gdk.h")]
1395 public static uint threads_add_timeout_seconds_full (int priority, uint interval, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
1396 [CCode (cheader_filename = "gdk/gdk.h")]
1397 public static void threads_enter ();
1398 [CCode (cheader_filename = "gdk/gdk.h")]
1399 public static void threads_init ();
1400 [CCode (cheader_filename = "gdk/gdk.h")]
1401 public static void threads_leave ();
1402 [CCode (cheader_filename = "gdk/gdk.h")]
1403 public static void threads_set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
1404 [CCode (cheader_filename = "gdk/gdk.h")]
1405 public static uint unicode_to_keyval (uint32 wc);
1406 [CCode (cheader_filename = "gdk/gdk.h")]
1407 public static unowned string utf8_to_string_target (string str);