1 /* gdk-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")]
5 [CCode (cheader_filename = "gdk/gdk.h")]
6 public class AppLaunchContext : GLib.AppLaunchContext {
7 [CCode (has_construct_function = false)]
8 public AppLaunchContext ();
9 public void set_desktop (int desktop);
10 public void set_display (Gdk.Display display);
11 public void set_icon (GLib.Icon icon);
12 public void set_icon_name (string icon_name);
13 public void set_screen (Gdk.Screen screen);
14 public void set_timestamp (uint32 timestamp);
16 [CCode (ref_function = "g_object_ref", unref_function = "g_object_unref", cheader_filename = "gdk/gdk.h")]
18 public weak GLib.Object parent_instance;
19 public static Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
21 [CCode (cheader_filename = "gdk/gdk.h")]
22 public class Colormap : GLib.Object {
23 public Gdk.Color colors;
25 public weak Gdk.Visual visual;
26 public void* windowing_data;
27 public bool alloc_color (Gdk.Color color, bool writeable, bool best_match);
28 public int alloc_colors (Gdk.Color[] colors, bool writeable, bool best_match, bool success);
29 public void change (int ncolors);
30 public void free_colors (Gdk.Color[] colors);
31 public unowned Gdk.Screen get_screen ();
32 public static unowned Gdk.Colormap get_system ();
33 public unowned Gdk.Visual get_visual ();
34 [CCode (has_construct_function = false)]
35 public Colormap (Gdk.Visual visual, bool allocate);
36 public void query_color (ulong pixel, out Gdk.Color _result);
39 [CCode (ref_function = "gdk_cursor_ref", unref_function = "gdk_cursor_unref", cheader_filename = "gdk/gdk.h")]
41 public uint ref_count;
42 public Gdk.CursorType 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 [CCode (has_construct_function = false)]
50 public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y);
51 public unowned Gdk.Display get_display ();
52 public unowned Gdk.Pixbuf get_image ();
53 [CCode (has_construct_function = false)]
54 public Cursor (Gdk.CursorType cursor_type);
56 [CCode (cheader_filename = "gdk/gdk.h")]
57 public class Device : GLib.Object {
58 [CCode (array_length = false)]
59 public weak Gdk.DeviceAxis[] axes;
60 public bool has_cursor;
61 [CCode (array_length = false)]
62 public weak Gdk.DeviceKey[] keys;
63 public Gdk.InputMode mode;
64 public weak string name;
67 public Gdk.InputSource source;
68 public static void free_history (Gdk.TimeCoord[] events);
69 public bool get_axis (double axes, Gdk.AxisUse use, double value);
70 public static unowned Gdk.Device get_core_pointer ();
71 public bool get_history (Gdk.Window window, uint32 start, uint32 stop, Gdk.TimeCoord[] events);
72 public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask);
73 public void set_axis_use (uint index_, Gdk.AxisUse use);
74 public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
75 public bool set_mode (Gdk.InputMode mode);
76 public void set_source (Gdk.InputSource source);
78 [CCode (cheader_filename = "gdk/gdk.h")]
79 public class Display : GLib.Object {
80 [CCode (array_length = false)]
81 public weak uint32[] button_click_time;
82 [CCode (array_length = false)]
83 public weak int[] button_number;
84 [CCode (array_length = false)]
85 public weak Gdk.Window[] button_window;
86 [CCode (array_length = false)]
87 public weak int[] button_x;
88 [CCode (array_length = false)]
89 public weak int[] button_y;
90 public weak Gdk.Device core_pointer;
91 public uint double_click_distance;
92 public uint double_click_time;
93 public weak Gdk.DisplayPointerHooks pointer_hooks;
94 public weak GLib.List queued_events;
95 public weak GLib.List queued_tail;
96 public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, void* data);
100 public unowned Gdk.Device get_core_pointer ();
101 public static unowned Gdk.Display get_default ();
102 public uint get_default_cursor_size ();
103 public unowned Gdk.Window get_default_group ();
104 public virtual unowned Gdk.Screen get_default_screen ();
106 public virtual unowned string get_display_name ();
107 public Gdk.Event get_event ();
108 public void get_maximal_cursor_size (out uint width, out uint height);
109 public virtual int get_n_screens ();
110 public unowned string get_name ();
111 public void get_pointer (out unowned Gdk.Screen screen, int x, int y, Gdk.ModifierType mask);
112 public virtual unowned Gdk.Screen get_screen (int screen_num);
113 public unowned Gdk.Window get_window_at_pointer (int win_x, int win_y);
114 public void keyboard_ungrab (uint32 time_);
115 public unowned GLib.List list_devices ();
116 public static unowned Gdk.Display open (string display_name);
117 public static unowned Gdk.Display open_default_libgtk_only ();
118 public Gdk.Event peek_event ();
119 public bool pointer_is_grabbed ();
120 public void pointer_ungrab (uint32 time_);
121 public void put_event (Gdk.Event event);
122 public bool request_selection_notification (Gdk.Atom selection);
123 public void set_double_click_distance (uint distance);
124 public void set_double_click_time (uint msec);
125 public unowned Gdk.DisplayPointerHooks set_pointer_hooks (Gdk.DisplayPointerHooks new_hooks);
126 public void store_clipboard (Gdk.Window clipboard_window, uint32 time_, Gdk.Atom[] targets);
127 public bool supports_clipboard_persistence ();
128 public bool supports_composite ();
129 public bool supports_cursor_alpha ();
130 public bool supports_cursor_color ();
131 public bool supports_input_shapes ();
132 public bool supports_selection_notification ();
133 public bool supports_shapes ();
135 public void warp_pointer (Gdk.Screen screen, int x, int y);
136 public virtual signal void closed (bool is_error);
138 [CCode (cheader_filename = "gdk/gdk.h")]
139 public class DisplayManager : GLib.Object {
140 public static unowned Gdk.DisplayManager get ();
141 public unowned Gdk.Display get_default_display ();
142 public unowned GLib.SList list_displays ();
143 public void set_default_display (Gdk.Display display);
144 public Gdk.Display default_display { get; set; }
145 public virtual signal void display_opened (Gdk.Display display);
148 [CCode (cheader_filename = "gdk/gdk.h")]
149 public class DisplayPointerHooks {
150 public weak GLib.Callback get_pointer;
151 public weak GLib.Callback window_at_pointer;
152 public weak GLib.Callback window_get_pointer;
154 [CCode (cheader_filename = "gdk/gdk.h")]
155 public class DragContext : GLib.Object {
156 public Gdk.DragAction action;
157 public Gdk.DragAction actions;
158 public weak Gdk.Window dest_window;
159 public bool is_source;
160 public Gdk.DragProtocol protocol;
161 public weak Gdk.Window source_window;
162 public uint32 start_time;
163 public Gdk.DragAction suggested_action;
164 public weak GLib.List targets;
165 public void* windowing_data;
166 [CCode (has_construct_function = false)]
167 public DragContext ();
169 [CCode (cheader_filename = "gdk/gdk.h")]
170 public class Drawable : GLib.Object {
171 public unowned Gdk.Image copy_to_image (Gdk.Image image, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
173 public virtual unowned Gdk.GC create_gc (Gdk.GCValues values, Gdk.GCValuesMask mask);
175 public virtual void draw_arc (Gdk.GC gc, bool filled, int x, int y, int width, int height, int angle1, int angle2);
177 public virtual void draw_drawable (Gdk.GC gc, Gdk.Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
179 public virtual void draw_glyphs (Gdk.GC gc, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
181 public virtual void draw_glyphs_transformed (Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
183 public virtual void draw_image (Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
185 public virtual void draw_lines (Gdk.GC gc, Gdk.Point points, int npoints);
187 public virtual void draw_pixbuf (Gdk.GC? gc, Gdk.Pixbuf pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.RgbDither dither, int x_dither, int y_dither);
189 public virtual void draw_points (Gdk.GC gc, Gdk.Point points, int npoints);
191 public virtual void draw_polygon (Gdk.GC gc, bool filled, Gdk.Point points, int npoints);
193 public virtual void draw_rectangle (Gdk.GC gc, bool filled, int x, int y, int width, int height);
195 public virtual void draw_segments (Gdk.GC gc, Gdk.Segment segs, int nsegs);
197 public virtual void draw_text (Gdk.Font font, Gdk.GC gc, int x, int y, string text, int text_length);
199 public virtual void draw_text_wc (Gdk.Font font, Gdk.GC gc, int x, int y, Gdk.WChar text, int text_length);
201 public virtual void draw_trapezoids (Gdk.GC gc, Gdk.Trapezoid[] trapezoids);
202 public virtual unowned Gdk.Region get_clip_region ();
203 public virtual unowned Gdk.Colormap get_colormap ();
205 public virtual unowned Gdk.Drawable get_composite_drawable (int x, int y, int width, int height, int composite_x_offset, int composite_y_offset);
206 public virtual int get_depth ();
207 public unowned Gdk.Display get_display ();
208 public virtual unowned Gdk.Image get_image (int x, int y, int width, int height);
209 public virtual unowned Gdk.Screen get_screen ();
210 public virtual void get_size (out int width, out int height);
211 public virtual unowned Gdk.Region get_visible_region ();
212 public virtual unowned Gdk.Visual get_visual ();
214 public virtual unowned Cairo.Surface ref_cairo_surface ();
215 public virtual void set_colormap (Gdk.Colormap colormap);
218 [CCode (ref_function = "gdk_font_ref", unref_function = "gdk_font_unref", cheader_filename = "gdk/gdk.h")]
222 public Gdk.FontType type;
223 public bool equal (Gdk.Font fontb);
224 public static unowned Gdk.Font from_description_for_display (Gdk.Display display, Pango.FontDescription font_desc);
226 public static unowned Gdk.Font load_for_display (Gdk.Display display, string font_name);
228 [CCode (cheader_filename = "gdk/gdk.h")]
229 public class GC : GLib.Object {
230 public int clip_x_origin;
231 public int clip_y_origin;
232 public weak Gdk.Colormap colormap;
233 public int ts_x_origin;
234 public int ts_y_origin;
235 public void copy (Gdk.GC src_gc);
236 public unowned Gdk.Colormap get_colormap ();
237 public unowned Gdk.Screen get_screen ();
238 public virtual void get_values (Gdk.GCValues values);
239 [CCode (has_construct_function = false)]
240 public GC (Gdk.Drawable drawable);
241 public void offset (int x_offset, int y_offset);
242 public void set_background (Gdk.Color color);
243 public void set_clip_mask (Gdk.Bitmap mask);
244 public void set_clip_origin (int x, int y);
245 public void set_clip_rectangle (Gdk.Rectangle rectangle);
246 public void set_clip_region (Gdk.Region region);
247 public void set_colormap (Gdk.Colormap colormap);
248 public virtual void set_dashes (int dash_offset, char[] dash_list, int n);
249 public void set_exposures (bool exposures);
250 public void set_fill (Gdk.Fill fill);
251 public void set_foreground (Gdk.Color color);
252 public void set_function (Gdk.Function function);
253 public void set_line_attributes (int line_width, Gdk.LineStyle line_style, Gdk.CapStyle cap_style, Gdk.JoinStyle join_style);
254 public void set_rgb_bg_color (Gdk.Color color);
255 public void set_rgb_fg_color (Gdk.Color color);
256 public void set_stipple (Gdk.Pixmap stipple);
257 public void set_subwindow (Gdk.SubwindowMode mode);
258 public void set_tile (Gdk.Pixmap tile);
259 public void set_ts_origin (int x, int y);
260 public virtual void set_values (Gdk.GCValues values, Gdk.GCValuesMask values_mask);
261 [CCode (has_construct_function = false)]
262 public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
264 [CCode (cheader_filename = "gdk/gdk.h")]
265 public class Image : GLib.Object {
266 public uint16 bits_per_pixel;
269 public Gdk.ByteOrder byte_order;
270 public weak Gdk.Colormap colormap;
274 public Gdk.ImageType type;
275 public weak Gdk.Visual visual;
277 public void* windowing_data;
278 public unowned Gdk.Colormap get_colormap ();
279 public uint32 get_pixel (int x, int y);
280 [CCode (has_construct_function = false)]
281 public Image (Gdk.ImageType type, Gdk.Visual visual, int width, int height);
282 public void put_pixel (int x, int y, uint32 pixel);
283 public void set_colormap (Gdk.Colormap colormap);
285 [CCode (cheader_filename = "gdk/gdk.h")]
286 public class Keymap : GLib.Object {
287 public weak Gdk.Display display;
288 public static unowned Gdk.Keymap get_default ();
289 public Pango.Direction get_direction ();
290 public bool get_entries_for_keycode (uint hardware_keycode, out unowned Gdk.KeymapKey[] keys, out unowned uint[] keyvals, int n_entries);
291 public bool get_entries_for_keyval (uint keyval, out unowned Gdk.KeymapKey[] keys);
292 public static unowned Gdk.Keymap get_for_display (Gdk.Display display);
293 public bool have_bidi_layouts ();
294 public uint lookup_key (Gdk.KeymapKey key);
295 public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, uint keyval, int effective_group, int level, Gdk.ModifierType consumed_modifiers);
296 public virtual signal void direction_changed ();
297 public virtual signal void keys_changed ();
299 [CCode (cheader_filename = "gdk/gdk.h")]
300 public class PangoRenderer : Pango.Renderer {
301 public static unowned Pango.Renderer get_default (Gdk.Screen screen);
302 [CCode (type = "PangoRenderer*", has_construct_function = false)]
303 public PangoRenderer (Gdk.Screen screen);
304 public void set_drawable (Gdk.Drawable drawable);
305 public void set_gc (Gdk.GC gc);
306 public void set_override_color (Pango.RenderPart part, Gdk.Color color);
307 public void set_stipple (Pango.RenderPart part, Gdk.Bitmap stipple);
309 public Gdk.Screen screen { owned get; construct; }
311 [CCode (cheader_filename = "gdk/gdk.h")]
312 public class Pixmap : Gdk.Drawable {
313 public static unowned Gdk.Pixmap colormap_create_from_xpm (Gdk.Drawable drawable, Gdk.Colormap colormap, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);
314 public static unowned Gdk.Pixmap colormap_create_from_xpm_d (Gdk.Drawable drawable, Gdk.Colormap colormap, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string data);
315 public static unowned Gdk.Pixmap create_from_data (Gdk.Drawable drawable, string data, int width, int height, int depth, Gdk.Color fg, Gdk.Color bg);
316 public static unowned Gdk.Pixmap create_from_xpm (Gdk.Drawable drawable, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);
317 public static unowned Gdk.Pixmap create_from_xpm_d (Gdk.Drawable drawable, out unowned Gdk.Bitmap mask, Gdk.Color transparent_color, string data);
318 public static unowned Gdk.Pixmap foreign_new (Gdk.NativeWindow anid);
319 public static unowned Gdk.Pixmap foreign_new_for_display (Gdk.Display display, Gdk.NativeWindow anid);
320 public static unowned Gdk.Pixmap foreign_new_for_screen (Gdk.Screen screen, Gdk.NativeWindow anid, int width, int height, int depth);
321 public static unowned Gdk.Pixmap lookup (Gdk.NativeWindow anid);
322 public static unowned Gdk.Pixmap lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid);
323 [CCode (has_construct_function = false)]
324 public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);
327 [CCode (cheader_filename = "gdk/gdk.h")]
328 public class PointerHooks {
329 public weak GLib.Callback get_pointer;
330 public weak GLib.Callback window_at_pointer;
333 [CCode (copy_function = "gdk_region_copy", free_function = "gdk_region_destroy", cheader_filename = "gdk/gdk.h")]
334 public class Region {
335 public unowned Gdk.Region copy ();
336 public bool empty ();
337 public bool equal (Gdk.Region region2);
338 public void get_clipbox (out Gdk.Rectangle rectangle);
339 public void get_rectangles (Gdk.Rectangle[] rectangles);
340 public void intersect (Gdk.Region source2);
341 [CCode (has_construct_function = false)]
343 public void offset (int dx, int dy);
344 public bool point_in (int x, int y);
345 public static Gdk.Region polygon (Gdk.Point[] points, Gdk.FillRule fill_rule);
346 public Gdk.OverlapType rect_in (Gdk.Rectangle rectangle);
347 public static Gdk.Region rectangle (Gdk.Rectangle rectangle);
348 public void shrink (int dx, int dy);
349 public void spans_intersect_foreach (Gdk.Span[] spans, bool sorted, Gdk.SpanFunc function, void* data);
350 public void subtract (Gdk.Region source2);
351 public void union (Gdk.Region source2);
352 public void union_with_rect (Gdk.Rectangle rect);
353 public void xor (Gdk.Region source2);
355 [CCode (cheader_filename = "gdk/gdk.h")]
356 public class Screen : GLib.Object {
358 [CCode (array_length = false)]
359 public weak Gdk.GC[] exposure_gcs;
360 [CCode (array_length = false)]
361 public weak Gdk.GC[] normal_gcs;
362 public void broadcast_client_message (Gdk.Event event);
363 public unowned Gdk.Window get_active_window ();
364 public static unowned Gdk.Screen get_default ();
365 public unowned Gdk.Colormap get_default_colormap ();
366 public unowned Gdk.Display get_display ();
367 public unowned Cairo.FontOptions get_font_options ();
368 public int get_height ();
369 public int get_height_mm ();
370 public int get_monitor_at_point (int x, int y);
371 public int get_monitor_at_window (Gdk.Window window);
372 public void get_monitor_geometry (int monitor_num, out Gdk.Rectangle dest);
373 public int get_monitor_height_mm (int monitor_num);
374 public unowned string get_monitor_plug_name (int monitor_num);
375 public int get_monitor_width_mm (int monitor_num);
376 public int get_n_monitors ();
377 public int get_number ();
378 public double get_resolution ();
379 public unowned Gdk.Colormap get_rgb_colormap ();
380 public unowned Gdk.Visual get_rgb_visual ();
381 public unowned Gdk.Colormap get_rgba_colormap ();
382 public unowned Gdk.Visual get_rgba_visual ();
383 public unowned Gdk.Window get_root_window ();
384 public bool get_setting (string name, GLib.Value value);
385 public unowned Gdk.Colormap get_system_colormap ();
386 public unowned Gdk.Visual get_system_visual ();
387 public unowned GLib.List get_toplevel_windows ();
388 public int get_width ();
389 public int get_width_mm ();
390 public unowned GLib.List get_window_stack ();
391 public static int height ();
392 public static int height_mm ();
393 public bool is_composited ();
394 public unowned GLib.List list_visuals ();
395 public unowned string make_display_name ();
396 public void set_default_colormap (Gdk.Colormap colormap);
397 public void set_font_options (Cairo.FontOptions options);
398 public void set_resolution (double dpi);
399 public static int width ();
400 public static int width_mm ();
401 public void* font_options { get; set; }
402 public double resolution { get; set; }
403 public virtual signal void composited_changed ();
404 public virtual signal void monitors_changed ();
405 public virtual signal void size_changed ();
407 [CCode (cheader_filename = "gdk/gdk.h")]
408 public class Visual : GLib.Object {
409 public int bits_per_rgb;
410 public uint32 blue_mask;
411 public int blue_prec;
412 public int blue_shift;
413 public Gdk.ByteOrder byte_order;
414 public int colormap_size;
416 public uint32 green_mask;
417 public int green_prec;
418 public int green_shift;
419 public uint32 red_mask;
421 public int red_shift;
422 public Gdk.VisualType type;
423 public static unowned Gdk.Visual get_best ();
424 public static int get_best_depth ();
425 public static Gdk.VisualType get_best_type ();
426 public static unowned Gdk.Visual get_best_with_both (int depth, Gdk.VisualType visual_type);
427 public static unowned Gdk.Visual get_best_with_depth (int depth);
428 public static unowned Gdk.Visual get_best_with_type (Gdk.VisualType visual_type);
429 public unowned Gdk.Screen get_screen ();
430 public static unowned Gdk.Visual get_system ();
432 [CCode (cheader_filename = "gdk/gdk.h")]
433 public class Window : Gdk.Drawable {
434 public void add_filter (Gdk.FilterFunc function);
435 public static unowned Gdk.Window at_pointer (out int win_x, out int win_y);
437 public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
438 public void begin_paint_rect (Gdk.Rectangle rectangle);
439 public void begin_paint_region (Gdk.Region region);
440 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
441 public void clear ();
442 public void clear_area (int x, int y, int width, int height);
443 public void clear_area_e (int x, int y, int width, int height);
444 public void configure_finished ();
445 public static void constrain_size (Gdk.Geometry geometry, uint flags, int width, int height, out int new_width, out int new_height);
446 public void deiconify ();
447 public void destroy ();
448 public void destroy_notify ();
449 public void enable_synchronized_configure ();
450 public void end_paint ();
451 public void focus (uint32 timestamp);
452 public static unowned Gdk.Window foreign_new (Gdk.NativeWindow anid);
453 public static unowned Gdk.Window foreign_new_for_display (Gdk.Display display, Gdk.NativeWindow anid);
454 public void freeze_toplevel_updates_libgtk_only ();
455 public void freeze_updates ();
456 public void fullscreen ();
457 public unowned GLib.List get_children ();
458 public bool get_decorations (out Gdk.WMDecoration decorations);
459 public Gdk.EventMask get_events ();
460 public void get_frame_extents (out Gdk.Rectangle rect);
461 public void get_geometry (out int x, out int y, out int width, out int height, out int depth);
462 public unowned Gdk.Window get_group ();
463 public void get_internal_paint_info (out unowned Gdk.Drawable real_drawable, out int x_offset, out int y_offset);
464 public int get_origin (out int x, out int y);
465 public unowned Gdk.Window get_parent ();
466 public unowned Gdk.Window get_pointer (out int x, out int y, out Gdk.ModifierType mask);
467 public void get_position (out int x, out int y);
468 public void get_root_origin (out int x, out int y);
469 public Gdk.WindowState get_state ();
470 public unowned Gdk.Window get_toplevel ();
471 public static unowned GLib.List get_toplevels ();
472 public Gdk.WindowTypeHint get_type_hint ();
473 public unowned Gdk.Region get_update_area ();
474 public void get_user_data (void* data);
475 public Gdk.WindowType get_window_type ();
477 public void iconify ();
478 public void input_shape_combine_mask (Gdk.Bitmap mask, int x, int y);
479 public void input_shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y);
480 public void invalidate_maybe_recurse (Gdk.Region region, GLib.Callback child_func);
481 public void invalidate_rect (Gdk.Rectangle? rect, bool invalidate_children);
482 public void invalidate_region (Gdk.Region region, bool invalidate_children);
483 public bool is_viewable ();
484 public bool is_visible ();
485 public static unowned Gdk.Window lookup (Gdk.NativeWindow anid);
486 public static unowned Gdk.Window lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid);
487 public void lower ();
488 public void maximize ();
489 public void merge_child_input_shapes ();
490 public void merge_child_shapes ();
491 public void move (int x, int y);
492 public void move_region (Gdk.Region region, int dx, int dy);
493 public void move_resize (int x, int y, int width, int height);
494 [CCode (has_construct_function = false)]
495 public Window (Gdk.Window parent, Gdk.WindowAttr attributes, int attributes_mask);
496 public unowned GLib.List peek_children ();
497 public static void process_all_updates ();
498 public void process_updates (bool update_children);
499 public void raise ();
500 public void register_dnd ();
501 public void remove_filter (Gdk.FilterFunc function);
502 public void remove_redirection ();
503 public void reparent (Gdk.Window new_parent, int x, int y);
504 public void resize (int width, int height);
505 public void scroll (int dx, int dy);
506 public void set_accept_focus (bool accept_focus);
507 public void set_back_pixmap (Gdk.Pixmap pixmap, bool parent_relative);
508 public void set_background (Gdk.Color color);
509 public void set_child_input_shapes ();
510 public void set_child_shapes ();
511 public void set_composited (bool composited);
512 public void set_cursor (Gdk.Cursor? cursor);
513 public static void set_debug_updates (bool setting);
514 public void set_decorations (Gdk.WMDecoration decorations);
515 public void set_events (Gdk.EventMask event_mask);
516 public void set_focus_on_map (bool focus_on_map);
517 public void set_functions (Gdk.WMFunction functions);
518 public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
519 public void set_group (Gdk.Window leader);
520 public void set_icon (Gdk.Window icon_window, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
521 public void set_icon_list (GLib.List pixbufs);
522 public void set_icon_name (string name);
523 public void set_keep_above (bool setting);
524 public void set_keep_below (bool setting);
525 public void set_modal_hint (bool modal);
526 public void set_opacity (double opacity);
527 public void set_override_redirect (bool override_redirect);
528 public void set_role (string role);
529 public void set_skip_pager_hint (bool skips_pager);
530 public void set_skip_taskbar_hint (bool skips_taskbar);
531 public void set_startup_id (string startup_id);
532 public bool set_static_gravities (bool use_static);
533 public void set_title (string title);
534 public void set_transient_for (Gdk.Window parent);
535 public void set_type_hint (Gdk.WindowTypeHint hint);
536 public void set_urgency_hint (bool urgent);
537 public void set_user_data (void* user_data);
538 public void shape_combine_mask (Gdk.Bitmap mask, int x, int y);
539 public void shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y);
541 public void show_unraised ();
542 public void stick ();
543 public void thaw_toplevel_updates_libgtk_only ();
544 public void thaw_updates ();
545 public void unfullscreen ();
546 public void unmaximize ();
547 public void unstick ();
548 public void withdraw ();
551 [CCode (cheader_filename = "gdk/gdk.h")]
552 public class XEvent {
554 [CCode (cheader_filename = "gdk/gdk.h")]
557 public static Gdk.Atom intern (string atom_name, bool only_if_exists);
558 public static Gdk.Atom intern_static_string (string atom_name);
559 public unowned string name ();
561 [CCode (type_id = "GDK_TYPE_COLOR", cheader_filename = "gdk/gdk.h")]
562 public struct Color {
567 public Gdk.Color copy ();
568 public bool equal (Gdk.Color colorb);
571 public static bool parse (string spec, out Gdk.Color color);
572 public unowned string to_string ();
574 [CCode (type_id = "GDK_TYPE_DEVICE_AXIS", cheader_filename = "gdk/gdk.h")]
575 public struct DeviceAxis {
576 public Gdk.AxisUse use;
580 [CCode (type_id = "GDK_TYPE_DEVICE_KEY", cheader_filename = "gdk/gdk.h")]
581 public struct DeviceKey {
583 public Gdk.ModifierType modifiers;
585 [CCode (type_id = "GDK_TYPE_EVENT", cheader_filename = "gdk/gdk.h")]
586 public struct Event {
587 public Gdk.EventType type;
588 public Gdk.EventAny any;
589 public Gdk.EventExpose expose;
590 public Gdk.EventNoExpose no_expose;
591 public Gdk.EventVisibility visibility;
592 public Gdk.EventMotion motion;
593 public Gdk.EventButton button;
594 public Gdk.EventScroll scroll;
595 public Gdk.EventKey key;
596 public Gdk.EventCrossing crossing;
597 public Gdk.EventFocus focus_change;
598 public Gdk.EventConfigure configure;
599 public Gdk.EventProperty property;
600 public Gdk.EventSelection selection;
601 public Gdk.EventOwnerChange owner_change;
602 public Gdk.EventProximity proximity;
603 public Gdk.EventClient client;
604 public Gdk.EventDND dnd;
605 public Gdk.EventWindowState window_state;
606 public Gdk.EventSetting setting;
607 public Gdk.EventGrabBroken grab_broken;
608 public Gdk.Event copy ();
610 public static Gdk.Event get ();
611 public bool get_axis (Gdk.AxisUse axis_use, out double value);
612 public bool get_coords (out double x_win, out double y_win);
613 public static Gdk.Event get_graphics_expose (Gdk.Window window);
614 public bool get_root_coords (out double x_root, out double y_root);
615 public unowned Gdk.Screen get_screen ();
616 public bool get_state (out Gdk.ModifierType state);
617 public uint32 get_time ();
618 public static void handler_set (Gdk.EventFunc func, void* data, GLib.DestroyNotify notify);
619 [CCode (cname = "gdk_event_new", has_construct_function = false)]
620 public Event (Gdk.EventType type);
621 public static Gdk.Event peek ();
623 public static void request_motions (Gdk.EventMotion event);
624 public bool send_client_message (Gdk.NativeWindow winid);
625 public static bool send_client_message_for_display (Gdk.Display display, Gdk.Event event, Gdk.NativeWindow winid);
626 public void send_clientmessage_toall ();
627 public void set_screen (Gdk.Screen screen);
629 [CCode (type_id = "GDK_TYPE_EVENT_ANY", cheader_filename = "gdk/gdk.h")]
630 public struct EventAny {
631 public Gdk.EventType type;
632 public weak Gdk.Window window;
633 public char send_event;
635 [CCode (type_id = "GDK_TYPE_EVENT_BUTTON", cheader_filename = "gdk/gdk.h")]
636 public struct EventButton {
637 public Gdk.EventType type;
638 public weak Gdk.Window window;
639 public char send_event;
646 public weak Gdk.Device device;
647 public double x_root;
648 public double y_root;
650 [CCode (type_id = "GDK_TYPE_EVENT_CLIENT", cheader_filename = "gdk/gdk.h")]
651 public struct EventClient {
652 public Gdk.EventType type;
653 public weak Gdk.Window window;
654 public char send_event;
655 public Gdk.Atom message_type;
656 public ushort data_format;
659 [CCode (type_id = "GDK_TYPE_EVENT_CONFIGURE", cheader_filename = "gdk/gdk.h")]
660 public struct EventConfigure {
661 public Gdk.EventType type;
662 public weak Gdk.Window window;
663 public char send_event;
669 [CCode (type_id = "GDK_TYPE_EVENT_CROSSING", cheader_filename = "gdk/gdk.h")]
670 public struct EventCrossing {
671 public Gdk.EventType type;
672 public weak Gdk.Window window;
673 public char send_event;
674 public weak Gdk.Window subwindow;
678 public double x_root;
679 public double y_root;
680 public Gdk.CrossingMode mode;
681 public Gdk.NotifyType detail;
685 [CCode (type_id = "GDK_TYPE_EVENT_DND", cheader_filename = "gdk/gdk.h")]
686 public struct EventDND {
687 public Gdk.EventType type;
688 public weak Gdk.Window window;
689 public char send_event;
690 public weak Gdk.DragContext context;
695 [CCode (type_id = "GDK_TYPE_EVENT_EXPOSE", cheader_filename = "gdk/gdk.h")]
696 public struct EventExpose {
697 public Gdk.EventType type;
698 public weak Gdk.Window window;
699 public char send_event;
700 public Gdk.Rectangle area;
701 public weak Gdk.Region region;
704 [CCode (type_id = "GDK_TYPE_EVENT_FOCUS", cheader_filename = "gdk/gdk.h")]
705 public struct EventFocus {
706 public Gdk.EventType type;
707 public weak Gdk.Window window;
708 public char send_event;
711 [CCode (type_id = "GDK_TYPE_EVENT_GRAB_BROKEN", cheader_filename = "gdk/gdk.h")]
712 public struct EventGrabBroken {
713 public Gdk.EventType type;
714 public weak Gdk.Window window;
715 public char send_event;
716 public bool keyboard;
717 public bool implicit;
718 public weak Gdk.Window grab_window;
720 [CCode (type_id = "GDK_TYPE_EVENT_KEY", cheader_filename = "gdk/gdk.h")]
721 public struct EventKey {
722 public Gdk.EventType type;
723 public weak Gdk.Window window;
724 public char send_event;
729 [CCode (cname = "string")]
730 public weak string str;
731 public uint16 hardware_keycode;
733 public uint is_modifier;
735 [CCode (type_id = "GDK_TYPE_EVENT_MOTION", cheader_filename = "gdk/gdk.h")]
736 public struct EventMotion {
737 public Gdk.EventType type;
738 public weak Gdk.Window window;
739 public char send_event;
744 public Gdk.ModifierType state;
746 public weak Gdk.Device device;
747 public double x_root;
748 public double y_root;
750 [CCode (type_id = "GDK_TYPE_EVENT_NO_EXPOSE", cheader_filename = "gdk/gdk.h")]
751 public struct EventNoExpose {
752 public Gdk.EventType type;
753 public weak Gdk.Window window;
754 public char send_event;
756 [CCode (type_id = "GDK_TYPE_EVENT_OWNER_CHANGE", cheader_filename = "gdk/gdk.h")]
757 public struct EventOwnerChange {
758 public Gdk.EventType type;
759 public weak Gdk.Window window;
760 public char send_event;
761 public Gdk.NativeWindow owner;
762 public Gdk.OwnerChange reason;
763 public Gdk.Atom selection;
765 public uint32 selection_time;
767 [CCode (type_id = "GDK_TYPE_EVENT_PROPERTY", cheader_filename = "gdk/gdk.h")]
768 public struct EventProperty {
769 public Gdk.EventType type;
770 public weak Gdk.Window window;
771 public char send_event;
772 public Gdk.Atom atom;
776 [CCode (type_id = "GDK_TYPE_EVENT_PROXIMITY", cheader_filename = "gdk/gdk.h")]
777 public struct EventProximity {
778 public Gdk.EventType type;
779 public weak Gdk.Window window;
780 public char send_event;
782 public weak Gdk.Device device;
784 [CCode (type_id = "GDK_TYPE_EVENT_SCROLL", cheader_filename = "gdk/gdk.h")]
785 public struct EventScroll {
786 public Gdk.EventType type;
787 public weak Gdk.Window window;
788 public char send_event;
793 public Gdk.ScrollDirection direction;
794 public weak Gdk.Device device;
795 public double x_root;
796 public double y_root;
798 [CCode (type_id = "GDK_TYPE_EVENT_SELECTION", cheader_filename = "gdk/gdk.h")]
799 public struct EventSelection {
800 public Gdk.EventType type;
801 public weak Gdk.Window window;
802 public char send_event;
803 public Gdk.Atom selection;
804 public Gdk.Atom target;
805 public Gdk.Atom property;
807 public Gdk.NativeWindow requestor;
809 [CCode (type_id = "GDK_TYPE_EVENT_SETTING", cheader_filename = "gdk/gdk.h")]
810 public struct EventSetting {
811 public Gdk.EventType type;
812 public weak Gdk.Window window;
813 public char send_event;
814 public Gdk.SettingAction action;
815 public weak string name;
817 [CCode (type_id = "GDK_TYPE_EVENT_VISIBILITY", cheader_filename = "gdk/gdk.h")]
818 public struct EventVisibility {
819 public Gdk.EventType type;
820 public weak Gdk.Window window;
821 public char send_event;
822 public Gdk.VisibilityState state;
824 [CCode (type_id = "GDK_TYPE_EVENT_WINDOW_STATE", cheader_filename = "gdk/gdk.h")]
825 public struct EventWindowState {
826 public Gdk.EventType type;
827 public weak Gdk.Window window;
828 public char send_event;
829 public Gdk.WindowState changed_mask;
830 public Gdk.WindowState new_window_state;
832 [CCode (type_id = "GDK_TYPE_GC_VALUES", cheader_filename = "gdk/gdk.h")]
833 public struct GCValues {
834 public Gdk.Color foreground;
835 public Gdk.Color background;
836 public weak Gdk.Font font;
837 public Gdk.Function function;
838 public Gdk.Fill fill;
839 public weak Gdk.Pixmap tile;
840 public weak Gdk.Pixmap stipple;
841 public weak Gdk.Pixmap clip_mask;
842 public Gdk.SubwindowMode subwindow_mode;
843 public int ts_x_origin;
844 public int ts_y_origin;
845 public int clip_x_origin;
846 public int clip_y_origin;
847 public int graphics_exposures;
848 public int line_width;
849 public Gdk.LineStyle line_style;
850 public Gdk.CapStyle cap_style;
851 public Gdk.JoinStyle join_style;
853 [CCode (type_id = "GDK_TYPE_GEOMETRY", cheader_filename = "gdk/gdk.h")]
854 public struct Geometry {
855 public int min_width;
856 public int min_height;
857 public int max_width;
858 public int max_height;
859 public int base_width;
860 public int base_height;
861 public int width_inc;
862 public int height_inc;
863 public double min_aspect;
864 public double max_aspect;
865 public Gdk.Gravity win_gravity;
867 [CCode (type_id = "GDK_TYPE_KEYMAP_KEY", cheader_filename = "gdk/gdk.h")]
868 public struct KeymapKey {
873 [CCode (type_id = "GDK_TYPE_NATIVE_WINDOW", cheader_filename = "gdk/gdk.h")]
874 public struct NativeWindow {
876 [CCode (type_id = "GDK_TYPE_PANGO_ATTR_EMBOSS_COLOR", cheader_filename = "gdk/gdk.h")]
877 public struct PangoAttrEmbossColor {
878 public weak Pango.Attribute attr;
879 public Pango.Color color;
880 [CCode (cname = "gdk_pango_attr_emboss_color_new", has_construct_function = false)]
881 public PangoAttrEmbossColor (Gdk.Color color);
883 [CCode (type_id = "GDK_TYPE_PANGO_ATTR_EMBOSSED", cheader_filename = "gdk/gdk.h")]
884 public struct PangoAttrEmbossed {
885 public weak Pango.Attribute attr;
886 public bool embossed;
887 [CCode (cname = "gdk_pango_attr_embossed_new", has_construct_function = false)]
888 public PangoAttrEmbossed (bool embossed);
890 [CCode (type_id = "GDK_TYPE_PANGO_ATTR_STIPPLE", cheader_filename = "gdk/gdk.h")]
891 public struct PangoAttrStipple {
892 public weak Pango.Attribute attr;
893 public weak Gdk.Bitmap stipple;
894 [CCode (cname = "gdk_pango_attr_stipple_new", has_construct_function = false)]
895 public PangoAttrStipple (Gdk.Bitmap stipple);
897 [CCode (type_id = "GDK_TYPE_POINT", cheader_filename = "gdk/gdk.h")]
898 public struct Point {
902 [CCode (type_id = "GDK_TYPE_RECTANGLE", cheader_filename = "gdk/gdk.h")]
903 public struct Rectangle {
908 public bool intersect (Gdk.Rectangle src2, Gdk.Rectangle dest);
909 public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
911 [CCode (type_id = "GDK_TYPE_RGB_CMAP", cheader_filename = "gdk/gdk.h")]
912 public struct RgbCmap {
913 [CCode (array_length = false)]
914 public weak uint32[] colors;
916 public weak GLib.SList info_list;
918 [CCode (cname = "gdk_rgb_cmap_new", has_construct_function = false)]
919 public RgbCmap (uint32[] colors);
921 [CCode (type_id = "GDK_TYPE_SEGMENT", cheader_filename = "gdk/gdk.h")]
922 public struct Segment {
928 [CCode (type_id = "GDK_TYPE_SPAN", cheader_filename = "gdk/gdk.h")]
934 [CCode (type_id = "GDK_TYPE_TIME_COORD", cheader_filename = "gdk/gdk.h")]
935 public struct TimeCoord {
937 [CCode (array_length = false)]
938 public weak double[] axes;
940 [CCode (type_id = "GDK_TYPE_TRAPEZOID", cheader_filename = "gdk/gdk.h")]
941 public struct Trapezoid {
949 [CCode (type_id = "GDK_TYPE_WCHAR", cheader_filename = "gdk/gdk.h")]
950 public struct WChar {
952 [CCode (type_id = "GDK_TYPE_WINDOW_ATTR", cheader_filename = "gdk/gdk.h")]
953 public struct WindowAttr {
954 public weak string title;
955 public int event_mask;
960 public Gdk.WindowClass wclass;
961 public weak Gdk.Visual visual;
962 public weak Gdk.Colormap colormap;
963 public Gdk.WindowType window_type;
964 public weak Gdk.Cursor cursor;
965 public weak string wmclass_name;
966 public weak string wmclass_class;
967 public bool override_redirect;
968 public Gdk.WindowTypeHint type_hint;
970 [CCode (type_id = "GDK_TYPE_WINDOW_REDIRECT", cheader_filename = "gdk/gdk.h")]
971 public struct WindowRedirect {
972 public static void to_drawable (Gdk.Window window, Gdk.Drawable drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
974 [CCode (cprefix = "GDK_AXIS_", cheader_filename = "gdk/gdk.h")]
975 public enum AxisUse {
985 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
986 public enum ByteOrder {
990 [CCode (cprefix = "GDK_CAP_", cheader_filename = "gdk/gdk.h")]
991 public enum CapStyle {
997 [CCode (cprefix = "GDK_CROSSING_", cheader_filename = "gdk/gdk.h")]
998 public enum CrossingMode {
1003 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1004 public enum CursorType {
1012 BOTTOM_RIGHT_CORNER,
1085 [CCode (cprefix = "GDK_ACTION_", cheader_filename = "gdk/gdk.h")]
1087 public enum DragAction {
1095 [CCode (cprefix = "GDK_DRAG_PROTO_", cheader_filename = "gdk/gdk.h")]
1096 public enum DragProtocol {
1105 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1107 public enum EventMask {
1109 POINTER_MOTION_MASK,
1110 POINTER_MOTION_HINT_MASK,
1112 BUTTON1_MOTION_MASK,
1113 BUTTON2_MOTION_MASK,
1114 BUTTON3_MOTION_MASK,
1116 BUTTON_RELEASE_MASK,
1123 PROPERTY_CHANGE_MASK,
1124 VISIBILITY_NOTIFY_MASK,
1131 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1132 public enum EventType {
1172 [CCode (cprefix = "GDK_EXTENSION_EVENTS_", cheader_filename = "gdk/gdk.h")]
1173 public enum ExtensionMode {
1178 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1185 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1186 public enum FillRule {
1190 [CCode (cprefix = "GDK_FILTER_", cheader_filename = "gdk/gdk.h")]
1191 public enum FilterReturn {
1196 [CCode (cprefix = "GDK_FONT_", cheader_filename = "gdk/gdk.h")]
1197 public enum FontType {
1201 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1202 public enum Function {
1220 [CCode (cprefix = "GDK_GC_", cheader_filename = "gdk/gdk.h")]
1222 public enum GCValuesMask {
1242 [CCode (cprefix = "GDK_GRAB_", cheader_filename = "gdk/gdk.h")]
1243 public enum GrabStatus {
1250 [CCode (cprefix = "GDK_GRAVITY_", cheader_filename = "gdk/gdk.h")]
1251 public enum Gravity {
1263 [CCode (cprefix = "GDK_IMAGE_", cheader_filename = "gdk/gdk.h")]
1264 public enum ImageType {
1269 [CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
1271 public enum InputCondition {
1276 [CCode (cprefix = "GDK_MODE_", cheader_filename = "gdk/gdk.h")]
1277 public enum InputMode {
1282 [CCode (cprefix = "GDK_SOURCE_", cheader_filename = "gdk/gdk.h")]
1283 public enum InputSource {
1289 [CCode (cprefix = "GDK_JOIN_", cheader_filename = "gdk/gdk.h")]
1290 public enum JoinStyle {
1295 [CCode (cprefix = "GDK_LINE_", cheader_filename = "gdk/gdk.h")]
1296 public enum LineStyle {
1301 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1303 public enum ModifierType {
1323 [CCode (cprefix = "GDK_NOTIFY_", cheader_filename = "gdk/gdk.h")]
1324 public enum NotifyType {
1332 [CCode (cprefix = "GDK_OVERLAP_RECTANGLE_", cheader_filename = "gdk/gdk.h")]
1333 public enum OverlapType {
1338 [CCode (cprefix = "GDK_OWNER_CHANGE_", cheader_filename = "gdk/gdk.h")]
1339 public enum OwnerChange {
1344 [CCode (cprefix = "GDK_PROP_MODE_", cheader_filename = "gdk/gdk.h")]
1345 public enum PropMode {
1350 [CCode (cprefix = "GDK_PROPERTY_", cheader_filename = "gdk/gdk.h")]
1351 public enum PropertyState {
1355 [CCode (cprefix = "GDK_RGB_DITHER_", cheader_filename = "gdk/gdk.h")]
1356 public enum RgbDither {
1361 [CCode (cprefix = "GDK_SCROLL_", cheader_filename = "gdk/gdk.h")]
1362 public enum ScrollDirection {
1368 [CCode (cprefix = "GDK_SETTING_ACTION_", cheader_filename = "gdk/gdk.h")]
1369 public enum SettingAction {
1374 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1375 public enum Status {
1382 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1383 public enum SubwindowMode {
1387 [CCode (cprefix = "GDK_VISIBILITY_", cheader_filename = "gdk/gdk.h")]
1388 public enum VisibilityState {
1393 [CCode (cprefix = "GDK_VISUAL_", cheader_filename = "gdk/gdk.h")]
1394 public enum VisualType {
1402 [CCode (cprefix = "GDK_DECOR_", cheader_filename = "gdk/gdk.h")]
1404 public enum WMDecoration {
1413 [CCode (cprefix = "GDK_FUNC_", cheader_filename = "gdk/gdk.h")]
1415 public enum WMFunction {
1423 [CCode (cprefix = "GDK_WA_", cheader_filename = "gdk/gdk.h")]
1425 public enum WindowAttributesType {
1436 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
1437 public enum WindowClass {
1441 [CCode (cprefix = "GDK_WINDOW_EDGE_", cheader_filename = "gdk/gdk.h")]
1442 public enum WindowEdge {
1452 [CCode (cprefix = "GDK_HINT_", cheader_filename = "gdk/gdk.h")]
1454 public enum WindowHints {
1465 [CCode (cprefix = "GDK_WINDOW_STATE_", cheader_filename = "gdk/gdk.h")]
1467 public enum WindowState {
1476 [CCode (cprefix = "GDK_WINDOW_", cheader_filename = "gdk/gdk.h")]
1477 public enum WindowType {
1485 [CCode (cprefix = "GDK_WINDOW_TYPE_HINT_", cheader_filename = "gdk/gdk.h")]
1486 public enum WindowTypeHint {
1502 [CCode (cheader_filename = "gdk/gdk.h")]
1503 public static delegate void DestroyNotify (void* data);
1504 [CCode (cheader_filename = "gdk/gdk.h")]
1505 public delegate void EventFunc (Gdk.Event event);
1506 [CCode (cheader_filename = "gdk/gdk.h")]
1507 public delegate Gdk.FilterReturn FilterFunc (Gdk.XEvent xevent, Gdk.Event event);
1508 [CCode (cheader_filename = "gdk/gdk.h")]
1509 public static delegate void InputFunction (void* data, int source, Gdk.InputCondition condition);
1510 [CCode (cheader_filename = "gdk/gdk.h")]
1511 public delegate void SpanFunc (Gdk.Span span);
1512 [CCode (cheader_filename = "gdk/gdk.h")]
1513 public const int CURRENT_TIME;
1514 [CCode (cheader_filename = "gdk/gdk.h")]
1515 public const int MAX_TIMECOORD_AXES;
1516 [CCode (cheader_filename = "gdk/gdk.h")]
1517 public const int PARENT_RELATIVE;
1518 [CCode (cheader_filename = "gdk/gdk.h")]
1519 public const int PRIORITY_REDRAW;
1520 [CCode (cheader_filename = "gdk/gdk.h")]
1521 public const Gdk.Atom SELECTION_CLIPBOARD;
1522 [CCode (cheader_filename = "gdk/gdk.h")]
1523 public const Gdk.Atom SELECTION_PRIMARY;
1524 [CCode (cheader_filename = "gdk/gdk.h")]
1525 public const Gdk.Atom SELECTION_SECONDARY;
1526 [CCode (cheader_filename = "gdk/gdk.h")]
1527 public static void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, void* data);
1528 [CCode (cheader_filename = "gdk/gdk.h")]
1529 public static void add_option_entries_libgtk_only (GLib.OptionGroup group);
1530 [CCode (cheader_filename = "gdk/gdk.h")]
1531 public static void beep ();
1532 [CCode (cheader_filename = "gdk/gdk.h")]
1533 public static Cairo.Context cairo_create (Gdk.Drawable drawable);
1534 [CCode (cheader_filename = "gdk/gdk.h")]
1535 public static void cairo_rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);
1536 [CCode (cheader_filename = "gdk/gdk.h")]
1537 public static void cairo_region (Cairo.Context cr, Gdk.Region region);
1538 [CCode (cheader_filename = "gdk/gdk.h")]
1539 public static void cairo_set_source_color (Cairo.Context cr, Gdk.Color color);
1540 [CCode (cheader_filename = "gdk/gdk.h")]
1541 public static void cairo_set_source_pixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y);
1542 [CCode (cheader_filename = "gdk/gdk.h")]
1543 public static void cairo_set_source_pixmap (Cairo.Context cr, Gdk.Pixmap pixmap, double pixmap_x, double pixmap_y);
1544 [CCode (cheader_filename = "gdk/gdk.h")]
1545 public static int colors_alloc (Gdk.Colormap colormap, bool contiguous, ulong planes, int nplanes, ulong pixels, int npixels);
1546 [CCode (cheader_filename = "gdk/gdk.h")]
1547 public static void colors_free (Gdk.Colormap colormap, ulong pixels, int npixels, ulong planes);
1548 [CCode (cheader_filename = "gdk/gdk.h")]
1549 public static unowned GLib.List devices_list ();
1550 [CCode (cheader_filename = "gdk/gdk.h")]
1551 public static void drag_abort (Gdk.DragContext context, uint32 time_);
1552 [CCode (cheader_filename = "gdk/gdk.h")]
1553 public static unowned Gdk.DragContext drag_begin (Gdk.Window window, GLib.List targets);
1554 [CCode (cheader_filename = "gdk/gdk.h")]
1555 public static void drag_drop (Gdk.DragContext context, uint32 time_);
1556 [CCode (cheader_filename = "gdk/gdk.h")]
1557 public static bool drag_drop_succeeded (Gdk.DragContext context);
1558 [CCode (cheader_filename = "gdk/gdk.h")]
1559 public static void drag_find_window (Gdk.DragContext context, Gdk.Window drag_window, int x_root, int y_root, out unowned Gdk.Window dest_window, Gdk.DragProtocol protocol);
1560 [CCode (cheader_filename = "gdk/gdk.h")]
1561 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);
1562 [CCode (cheader_filename = "gdk/gdk.h")]
1563 public static uint32 drag_get_protocol (uint32 xid, Gdk.DragProtocol protocol);
1564 [CCode (cheader_filename = "gdk/gdk.h")]
1565 public static uint32 drag_get_protocol_for_display (Gdk.Display display, uint32 xid, Gdk.DragProtocol protocol);
1566 [CCode (cheader_filename = "gdk/gdk.h")]
1567 public static Gdk.Atom drag_get_selection (Gdk.DragContext context);
1568 [CCode (cheader_filename = "gdk/gdk.h")]
1569 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_);
1570 [CCode (cheader_filename = "gdk/gdk.h")]
1571 public static void drag_status (Gdk.DragContext context, Gdk.DragAction action, uint32 time_);
1572 [CCode (cheader_filename = "gdk/gdk.h")]
1573 public static void draw_arc (Gdk.Drawable drawable, Gdk.GC gc, bool filled, int x, int y, int width, int height, int angle1, int angle2);
1574 [CCode (cheader_filename = "gdk/gdk.h")]
1575 public static void draw_drawable (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
1576 [CCode (cheader_filename = "gdk/gdk.h")]
1577 public static void draw_glyphs (Gdk.Drawable drawable, Gdk.GC gc, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
1578 [CCode (cheader_filename = "gdk/gdk.h")]
1579 public static void draw_glyphs_transformed (Gdk.Drawable drawable, Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
1580 [CCode (cheader_filename = "gdk/gdk.h")]
1581 public static void draw_gray_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride);
1582 [CCode (cheader_filename = "gdk/gdk.h")]
1583 public static void draw_image (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
1584 [CCode (cheader_filename = "gdk/gdk.h")]
1585 public static void draw_indexed_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride, Gdk.RgbCmap cmap);
1586 [CCode (cheader_filename = "gdk/gdk.h")]
1587 public static void draw_layout (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.Layout layout);
1588 [CCode (cheader_filename = "gdk/gdk.h")]
1589 public static void draw_layout_line (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.LayoutLine line);
1590 [CCode (cheader_filename = "gdk/gdk.h")]
1591 public static void draw_layout_line_with_colors (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.LayoutLine line, Gdk.Color foreground, Gdk.Color background);
1592 [CCode (cheader_filename = "gdk/gdk.h")]
1593 public static void draw_layout_with_colors (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, Pango.Layout layout, Gdk.Color foreground, Gdk.Color background);
1594 [CCode (cheader_filename = "gdk/gdk.h")]
1595 public static void draw_line (Gdk.Drawable drawable, Gdk.GC gc, int x1_, int y1_, int x2_, int y2_);
1596 [CCode (cheader_filename = "gdk/gdk.h")]
1597 public static void draw_lines (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Point[] points);
1598 [CCode (cheader_filename = "gdk/gdk.h")]
1599 public static void draw_pixbuf (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Pixbuf pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.RgbDither dither, int x_dither, int y_dither);
1600 [CCode (cheader_filename = "gdk/gdk.h")]
1601 public static void draw_point (Gdk.Drawable drawable, Gdk.GC gc, int x, int y);
1602 [CCode (cheader_filename = "gdk/gdk.h")]
1603 public static void draw_points (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Point[] points);
1604 [CCode (cheader_filename = "gdk/gdk.h")]
1605 public static void draw_polygon (Gdk.Drawable drawable, Gdk.GC gc, bool filled, Gdk.Point[] points);
1606 [CCode (cheader_filename = "gdk/gdk.h")]
1607 public static void draw_rectangle (Gdk.Drawable drawable, Gdk.GC gc, bool filled, int x, int y, int width, int height);
1608 [CCode (cheader_filename = "gdk/gdk.h")]
1609 public static void draw_rgb_32_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride);
1610 [CCode (cheader_filename = "gdk/gdk.h")]
1611 public static void draw_rgb_32_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride, int xdith, int ydith);
1612 [CCode (cheader_filename = "gdk/gdk.h")]
1613 public static void draw_rgb_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] rgb_buf, int rowstride);
1614 [CCode (cheader_filename = "gdk/gdk.h")]
1615 public static void draw_rgb_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] rgb_buf, int rowstride, int xdith, int ydith);
1616 [CCode (cheader_filename = "gdk/gdk.h")]
1617 public static void draw_segments (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Segment[] segs);
1618 [CCode (cheader_filename = "gdk/gdk.h")]
1619 public static void draw_text (Gdk.Drawable drawable, Gdk.Font font, Gdk.GC gc, int x, int y, string text, int text_length);
1620 [CCode (cheader_filename = "gdk/gdk.h")]
1621 public static void draw_text_wc (Gdk.Drawable drawable, Gdk.Font font, Gdk.GC gc, int x, int y, Gdk.WChar text, int text_length);
1622 [CCode (cheader_filename = "gdk/gdk.h")]
1623 public static void draw_trapezoids (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Trapezoid[] trapezoids);
1624 [CCode (cheader_filename = "gdk/gdk.h")]
1625 public static void drop_finish (Gdk.DragContext context, bool success, uint32 time_);
1626 [CCode (cheader_filename = "gdk/gdk.h")]
1627 public static void drop_reply (Gdk.DragContext context, bool ok, uint32 time_);
1628 [CCode (cheader_filename = "gdk/gdk.h")]
1629 public static int error_trap_pop ();
1630 [CCode (cheader_filename = "gdk/gdk.h")]
1631 public static void error_trap_push ();
1632 [CCode (cheader_filename = "gdk/gdk.h")]
1633 public static bool events_pending ();
1634 [CCode (cheader_filename = "gdk/gdk.h")]
1635 public static void flush ();
1636 [CCode (cheader_filename = "gdk/gdk.h")]
1637 public static unowned Gdk.Font fontset_load_for_display (Gdk.Display display, string fontset_name);
1638 [CCode (cheader_filename = "gdk/gdk.h")]
1639 public static void free_compound_text (uchar[] ctext);
1640 [CCode (cheader_filename = "gdk/gdk.h")]
1641 public static void free_text_list (string list);
1642 [CCode (cheader_filename = "gdk/gdk.h")]
1643 public static unowned Gdk.Window get_default_root_window ();
1644 [CCode (cheader_filename = "gdk/gdk.h")]
1645 public static unowned string get_display ();
1646 [CCode (cheader_filename = "gdk/gdk.h")]
1647 public static unowned string get_display_arg_name ();
1648 [CCode (cheader_filename = "gdk/gdk.h")]
1649 public static unowned string get_program_class ();
1650 [CCode (cheader_filename = "gdk/gdk.h")]
1651 public static bool get_show_events ();
1652 [CCode (cheader_filename = "gdk/gdk.h")]
1653 public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
1654 [CCode (cheader_filename = "gdk/gdk.h")]
1655 public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
1656 [CCode (cheader_filename = "gdk/gdk.h")]
1657 public static void input_set_extension_events (Gdk.Window window, int mask, Gdk.ExtensionMode mode);
1658 [CCode (cheader_filename = "gdk/gdk.h")]
1659 public static Gdk.GrabStatus keyboard_grab (Gdk.Window window, bool owner_events, uint32 time_);
1660 [CCode (cheader_filename = "gdk/gdk.h")]
1661 public static bool keyboard_grab_info_libgtk_only (Gdk.Display display, out unowned Gdk.Window grab_window, bool owner_events);
1662 [CCode (cheader_filename = "gdk/gdk.h")]
1663 public static void keyboard_ungrab (uint32 time_);
1664 [CCode (cheader_filename = "gdk/gdk.h")]
1665 public static void keyval_convert_case (uint symbol, uint lower, uint upper);
1666 [CCode (cheader_filename = "gdk/gdk.h")]
1667 public static uint keyval_from_name (string keyval_name);
1668 [CCode (cheader_filename = "gdk/gdk.h")]
1669 public static bool keyval_is_lower (uint keyval);
1670 [CCode (cheader_filename = "gdk/gdk.h")]
1671 public static bool keyval_is_upper (uint keyval);
1672 [CCode (cheader_filename = "gdk/gdk.h")]
1673 public static unowned string keyval_name (uint keyval);
1674 [CCode (cheader_filename = "gdk/gdk.h")]
1675 public static uint keyval_to_lower (uint keyval);
1676 [CCode (cheader_filename = "gdk/gdk.h")]
1677 public static uint32 keyval_to_unicode (uint keyval);
1678 [CCode (cheader_filename = "gdk/gdk.h")]
1679 public static uint keyval_to_upper (uint keyval);
1680 [CCode (cheader_filename = "gdk/gdk.h")]
1681 public static unowned GLib.List list_visuals ();
1682 [CCode (cheader_filename = "gdk/gdk.h")]
1683 public static void notify_startup_complete ();
1684 [CCode (cheader_filename = "gdk/gdk.h")]
1685 public static void notify_startup_complete_with_id (string startup_id);
1686 [CCode (cheader_filename = "gdk/gdk.h")]
1687 public static unowned Pango.Context pango_context_get ();
1688 [CCode (cheader_filename = "gdk/gdk.h")]
1689 public static unowned Pango.Context pango_context_get_for_screen (Gdk.Screen screen);
1690 [CCode (cheader_filename = "gdk/gdk.h")]
1691 public static unowned Gdk.Region pango_layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, int index_ranges, int n_ranges);
1692 [CCode (cheader_filename = "gdk/gdk.h")]
1693 public static unowned Gdk.Region pango_layout_line_get_clip_region (Pango.LayoutLine line, int x_origin, int y_origin, int index_ranges, int n_ranges);
1694 [CCode (cheader_filename = "gdk/gdk.h")]
1695 public static void parse_args (int argc, string argv);
1696 [CCode (cheader_filename = "gdk/gdk.h")]
1697 public static unowned Gdk.Pixbuf pixbuf_get_from_drawable (Gdk.Pixbuf? dest, Gdk.Drawable src, Gdk.Colormap? cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
1698 [CCode (cheader_filename = "gdk/gdk.h")]
1699 public static unowned Gdk.Pixbuf pixbuf_get_from_image (Gdk.Pixbuf? dest, Gdk.Image src, Gdk.Colormap? cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
1700 [CCode (cheader_filename = "gdk/gdk.h")]
1701 public static void pixbuf_render_pixmap_and_mask (Gdk.Pixbuf pixbuf, out unowned Gdk.Pixmap pixmap_return, out unowned Gdk.Bitmap mask_return, int alpha_threshold);
1702 [CCode (cheader_filename = "gdk/gdk.h")]
1703 public static void pixbuf_render_pixmap_and_mask_for_colormap (Gdk.Pixbuf pixbuf, Gdk.Colormap colormap, out unowned Gdk.Pixmap pixmap_return, out unowned Gdk.Bitmap mask_return, int alpha_threshold);
1704 [CCode (cheader_filename = "gdk/gdk.h")]
1705 public static void pixbuf_render_threshold_alpha (Gdk.Pixbuf pixbuf, Gdk.Bitmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold);
1706 [CCode (cheader_filename = "gdk/gdk.h")]
1707 public static Gdk.GrabStatus pointer_grab (Gdk.Window window, bool owner_events, Gdk.EventMask event_mask, Gdk.Window? confine_to, Gdk.Cursor? cursor, uint32 time_);
1708 [CCode (cheader_filename = "gdk/gdk.h")]
1709 public static bool pointer_grab_info_libgtk_only (Gdk.Display display, out unowned Gdk.Window grab_window, bool owner_events);
1710 [CCode (cheader_filename = "gdk/gdk.h")]
1711 public static bool pointer_is_grabbed ();
1712 [CCode (cheader_filename = "gdk/gdk.h")]
1713 public static void pointer_ungrab (uint32 time_);
1714 [CCode (cheader_filename = "gdk/gdk.h")]
1715 public static void pre_parse_libgtk_only ();
1716 [CCode (cheader_filename = "gdk/gdk.h")]
1717 public static void property_change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, uchar[] data, int nelements);
1718 [CCode (cheader_filename = "gdk/gdk.h")]
1719 public static void property_delete (Gdk.Window window, Gdk.Atom property);
1720 [CCode (cheader_filename = "gdk/gdk.h")]
1721 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, int actual_format, int actual_length, uchar[] data);
1722 [CCode (cheader_filename = "gdk/gdk.h")]
1723 public static void query_depths (int depths, int count);
1724 [CCode (cheader_filename = "gdk/gdk.h")]
1725 public static void query_visual_types (out Gdk.VisualType visual_types, int count);
1726 [CCode (cheader_filename = "gdk/gdk.h")]
1727 public static bool rgb_colormap_ditherable (Gdk.Colormap cmap);
1728 [CCode (cheader_filename = "gdk/gdk.h")]
1729 public static bool rgb_ditherable ();
1730 [CCode (cheader_filename = "gdk/gdk.h")]
1731 public static void rgb_find_color (Gdk.Colormap colormap, ref Gdk.Color color);
1732 [CCode (cheader_filename = "gdk/gdk.h")]
1733 public static unowned Gdk.Colormap rgb_get_colormap ();
1734 [CCode (cheader_filename = "gdk/gdk.h")]
1735 public static unowned Gdk.Visual rgb_get_visual ();
1736 [CCode (cheader_filename = "gdk/gdk.h")]
1737 public static void rgb_set_install (bool install);
1738 [CCode (cheader_filename = "gdk/gdk.h")]
1739 public static void rgb_set_min_colors (int min_colors);
1740 [CCode (cheader_filename = "gdk/gdk.h")]
1741 public static void rgb_set_verbose (bool verbose);
1742 [CCode (cheader_filename = "gdk/gdk.h")]
1743 public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
1744 [CCode (cheader_filename = "gdk/gdk.h")]
1745 public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
1746 [CCode (cheader_filename = "gdk/gdk.h")]
1747 public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
1748 [CCode (cheader_filename = "gdk/gdk.h")]
1749 public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
1750 [CCode (cheader_filename = "gdk/gdk.h")]
1751 public static bool selection_owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
1752 [CCode (cheader_filename = "gdk/gdk.h")]
1753 public static bool selection_property_get (Gdk.Window requestor, uchar[] data, Gdk.Atom prop_type, int prop_format);
1754 [CCode (cheader_filename = "gdk/gdk.h")]
1755 public static void selection_send_notify (uint32 requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
1756 [CCode (cheader_filename = "gdk/gdk.h")]
1757 public static void selection_send_notify_for_display (Gdk.Display display, uint32 requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
1758 [CCode (cheader_filename = "gdk/gdk.h")]
1759 public static void set_double_click_time (uint msec);
1760 [CCode (cheader_filename = "gdk/gdk.h")]
1761 public static unowned string set_locale ();
1762 [CCode (cheader_filename = "gdk/gdk.h")]
1763 public static unowned Gdk.PointerHooks set_pointer_hooks (Gdk.PointerHooks new_hooks);
1764 [CCode (cheader_filename = "gdk/gdk.h")]
1765 public static void set_program_class (string program_class);
1766 [CCode (cheader_filename = "gdk/gdk.h")]
1767 public static void set_show_events (bool show_events);
1768 [CCode (cheader_filename = "gdk/gdk.h")]
1769 public static void set_sm_client_id (string sm_client_id);
1770 [CCode (cheader_filename = "gdk/gdk.h")]
1771 public static bool setting_get (string name, GLib.Value value);
1772 [CCode (cheader_filename = "gdk/gdk.h")]
1773 public static bool spawn_command_line_on_screen (Gdk.Screen screen, string command_line) throws GLib.Error;
1774 [CCode (cheader_filename = "gdk/gdk.h")]
1775 public static bool spawn_on_screen (Gdk.Screen screen, string working_directory, [CCode (array_length = false)] string[] argv, [CCode (array_length = false)] string[] envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, int child_pid) throws GLib.Error;
1776 [CCode (cheader_filename = "gdk/gdk.h")]
1777 public static bool spawn_on_screen_with_pipes (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, int child_pid, int standard_input, int standard_output, int standard_error) throws GLib.Error;
1778 [CCode (cheader_filename = "gdk/gdk.h")]
1779 public static int string_to_compound_text (string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1780 [CCode (cheader_filename = "gdk/gdk.h")]
1781 public static int string_to_compound_text_for_display (Gdk.Display display, string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1782 [CCode (cheader_filename = "gdk/gdk.h")]
1783 public static void synthesize_window_state (Gdk.Window window, Gdk.WindowState unset_flags, Gdk.WindowState set_flags);
1784 [CCode (cheader_filename = "gdk/gdk.h")]
1785 public static void test_render_sync (Gdk.Window window);
1786 [CCode (cheader_filename = "gdk/gdk.h")]
1787 public static bool test_simulate_button (Gdk.Window window, int x, int y, uint button, Gdk.ModifierType modifiers, Gdk.EventType button_pressrelease);
1788 [CCode (cheader_filename = "gdk/gdk.h")]
1789 public static bool test_simulate_key (Gdk.Window window, int x, int y, uint keyval, Gdk.ModifierType modifiers, Gdk.EventType key_pressrelease);
1790 [CCode (cheader_filename = "gdk/gdk.h")]
1791 public static int text_property_to_text_list (Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1792 [CCode (cheader_filename = "gdk/gdk.h")]
1793 public static int text_property_to_text_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1794 [CCode (cheader_filename = "gdk/gdk.h")]
1795 public static int text_property_to_utf8_list (Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1796 [CCode (cheader_filename = "gdk/gdk.h")]
1797 public static int text_property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1798 [CCode (cheader_filename = "gdk/gdk.h")]
1799 public static uint threads_add_idle (GLib.SourceFunc function);
1800 [CCode (cheader_filename = "gdk/gdk.h")]
1801 public static uint threads_add_idle_full (int priority, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
1802 [CCode (cheader_filename = "gdk/gdk.h")]
1803 public static uint threads_add_timeout (uint interval, GLib.SourceFunc function, void* data);
1804 [CCode (cheader_filename = "gdk/gdk.h")]
1805 public static uint threads_add_timeout_full (int priority, uint interval, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
1806 [CCode (cheader_filename = "gdk/gdk.h")]
1807 public static void threads_enter ();
1808 [CCode (cheader_filename = "gdk/gdk.h")]
1809 public static void threads_init ();
1810 [CCode (cheader_filename = "gdk/gdk.h")]
1811 public static void threads_leave ();
1812 [CCode (cheader_filename = "gdk/gdk.h")]
1813 public static void threads_set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
1814 [CCode (cheader_filename = "gdk/gdk.h")]
1815 public static uint unicode_to_keyval (uint32 wc);
1816 [CCode (cheader_filename = "gdk/gdk.h")]
1817 public static bool utf8_to_compound_text (string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1818 [CCode (cheader_filename = "gdk/gdk.h")]
1819 public static bool utf8_to_compound_text_for_display (Gdk.Display display, string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1820 [CCode (cheader_filename = "gdk/gdk.h")]
1821 public static unowned string utf8_to_string_target (string str);