write static delegate instead of callback use static delegate instead of
[vala-lang.git] / vapi / gdk-2.0.vala
blobc288484eb6c570524c9be6cdf8ee7fd1e27011d1
1 [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_", cheader_filename = "gdk/gdk.h")]
2 namespace Gdk {
3 [CCode (cprefix = "GDK_AXIS_")]
4 public enum AxisUse {
5 IGNORE,
6 X,
7 Y,
8 PRESSURE,
9 XTILT,
10 YTILT,
11 WHEEL,
12 LAST,
14 [CCode (cprefix = "GDK_")]
15 public enum ByteOrder {
16 LSB_FIRST,
17 MSB_FIRST,
19 [CCode (cprefix = "GDK_CAP_")]
20 public enum CapStyle {
21 NOT_LAST,
22 BUTT,
23 ROUND,
24 PROJECTING,
26 [CCode (cprefix = "GDK_COLORSPACE_")]
27 public enum Colorspace {
28 RGB,
30 [CCode (cprefix = "GDK_CROSSING_")]
31 public enum CrossingMode {
32 NORMAL,
33 GRAB,
34 UNGRAB,
36 [CCode (cprefix = "GDK_")]
37 public enum CursorType {
38 X_CURSOR,
39 ARROW,
40 BASED_ARROW_DOWN,
41 BASED_ARROW_UP,
42 BOAT,
43 BOGOSITY,
44 BOTTOM_LEFT_CORNER,
45 BOTTOM_RIGHT_CORNER,
46 BOTTOM_SIDE,
47 BOTTOM_TEE,
48 BOX_SPIRAL,
49 CENTER_PTR,
50 CIRCLE,
51 CLOCK,
52 COFFEE_MUG,
53 CROSS,
54 CROSS_REVERSE,
55 CROSSHAIR,
56 DIAMOND_CROSS,
57 DOT,
58 DOTBOX,
59 DOUBLE_ARROW,
60 DRAFT_LARGE,
61 DRAFT_SMALL,
62 DRAPED_BOX,
63 EXCHANGE,
64 FLEUR,
65 GOBBLER,
66 GUMBY,
67 HAND1,
68 HAND2,
69 HEART,
70 ICON,
71 IRON_CROSS,
72 LEFT_PTR,
73 LEFT_SIDE,
74 LEFT_TEE,
75 LEFTBUTTON,
76 LL_ANGLE,
77 LR_ANGLE,
78 MAN,
79 MIDDLEBUTTON,
80 MOUSE,
81 PENCIL,
82 PIRATE,
83 PLUS,
84 QUESTION_ARROW,
85 RIGHT_PTR,
86 RIGHT_SIDE,
87 RIGHT_TEE,
88 RIGHTBUTTON,
89 RTL_LOGO,
90 SAILBOAT,
91 SB_DOWN_ARROW,
92 SB_H_DOUBLE_ARROW,
93 SB_LEFT_ARROW,
94 SB_RIGHT_ARROW,
95 SB_UP_ARROW,
96 SB_V_DOUBLE_ARROW,
97 SHUTTLE,
98 SIZING,
99 SPIDER,
100 SPRAYCAN,
101 STAR,
102 TARGET,
103 TCROSS,
104 TOP_LEFT_ARROW,
105 TOP_LEFT_CORNER,
106 TOP_RIGHT_CORNER,
107 TOP_SIDE,
108 TOP_TEE,
109 TREK,
110 UL_ANGLE,
111 UMBRELLA,
112 UR_ANGLE,
113 WATCH,
114 XTERM,
115 LAST_CURSOR,
116 CURSOR_IS_PIXMAP,
118 [CCode (cprefix = "GDK_ACTION_")]
119 public enum DragAction {
120 DEFAULT,
121 COPY,
122 MOVE,
123 LINK,
124 PRIVATE,
125 ASK,
127 [CCode (cprefix = "GDK_DRAG_PROTO_")]
128 public enum DragProtocol {
129 MOTIF,
130 XDND,
131 ROOTWIN,
132 NONE,
133 WIN32_DROPFILES,
134 OLE2,
135 LOCAL,
137 [CCode (cprefix = "GDK_")]
138 public enum EventMask {
139 EXPOSURE_MASK,
140 POINTER_MOTION_MASK,
141 POINTER_MOTION_HINT_MASK,
142 BUTTON_MOTION_MASK,
143 BUTTON1_MOTION_MASK,
144 BUTTON2_MOTION_MASK,
145 BUTTON3_MOTION_MASK,
146 BUTTON_PRESS_MASK,
147 BUTTON_RELEASE_MASK,
148 KEY_PRESS_MASK,
149 KEY_RELEASE_MASK,
150 ENTER_NOTIFY_MASK,
151 LEAVE_NOTIFY_MASK,
152 FOCUS_CHANGE_MASK,
153 STRUCTURE_MASK,
154 PROPERTY_CHANGE_MASK,
155 VISIBILITY_NOTIFY_MASK,
156 PROXIMITY_IN_MASK,
157 PROXIMITY_OUT_MASK,
158 SUBSTRUCTURE_MASK,
159 SCROLL_MASK,
160 ALL_EVENTS_MASK,
162 [CCode (cprefix = "GDK_")]
163 public enum EventType {
164 NOTHING,
165 DELETE,
166 DESTROY,
167 EXPOSE,
168 MOTION_NOTIFY,
169 BUTTON_PRESS,
170 2BUTTON_PRESS,
171 3BUTTON_PRESS,
172 BUTTON_RELEASE,
173 KEY_PRESS,
174 KEY_RELEASE,
175 ENTER_NOTIFY,
176 LEAVE_NOTIFY,
177 FOCUS_CHANGE,
178 CONFIGURE,
179 MAP,
180 UNMAP,
181 PROPERTY_NOTIFY,
182 SELECTION_CLEAR,
183 SELECTION_REQUEST,
184 SELECTION_NOTIFY,
185 PROXIMITY_IN,
186 PROXIMITY_OUT,
187 DRAG_ENTER,
188 DRAG_LEAVE,
189 DRAG_MOTION,
190 DRAG_STATUS,
191 DROP_START,
192 DROP_FINISHED,
193 CLIENT_EVENT,
194 VISIBILITY_NOTIFY,
195 NO_EXPOSE,
196 SCROLL,
197 WINDOW_STATE,
198 SETTING,
199 OWNER_CHANGE,
200 GRAB_BROKEN,
202 [CCode (cprefix = "GDK_EXTENSION_EVENTS_")]
203 public enum ExtensionMode {
204 NONE,
205 ALL,
206 CURSOR,
208 [CCode (cprefix = "GDK_")]
209 public enum Fill {
210 SOLID,
211 TILED,
212 STIPPLED,
213 OPAQUE_STIPPLED,
215 [CCode (cprefix = "GDK_")]
216 public enum FillRule {
217 EVEN_ODD_RULE,
218 WINDING_RULE,
220 [CCode (cprefix = "GDK_FILTER_")]
221 public enum FilterReturn {
222 CONTINUE,
223 TRANSLATE,
224 REMOVE,
226 [CCode (cprefix = "GDK_FONT_")]
227 public enum FontType {
228 FONT,
229 FONTSET,
231 [CCode (cprefix = "GDK_")]
232 public enum Function {
233 COPY,
234 INVERT,
235 XOR,
236 CLEAR,
237 AND,
238 AND_REVERSE,
239 AND_INVERT,
240 NOOP,
242 EQUIV,
243 OR_REVERSE,
244 COPY_INVERT,
245 OR_INVERT,
246 NAND,
247 NOR,
248 SET,
250 [CCode (cprefix = "GDK_GC_")]
251 public enum GCValuesMask {
252 FOREGROUND,
253 BACKGROUND,
254 FONT,
255 FUNCTION,
256 FILL,
257 TILE,
258 STIPPLE,
259 CLIP_MASK,
260 SUBWINDOW,
261 TS_X_ORIGIN,
262 TS_Y_ORIGIN,
263 CLIP_X_ORIGIN,
264 CLIP_Y_ORIGIN,
265 EXPOSURES,
266 LINE_WIDTH,
267 LINE_STYLE,
268 CAP_STYLE,
269 JOIN_STYLE,
271 [CCode (cprefix = "GDK_GRAB_")]
272 public enum GrabStatus {
273 SUCCESS,
274 ALREADY_GRABBED,
275 INVALID_TIME,
276 NOT_VIEWABLE,
277 FROZEN,
279 [CCode (cprefix = "GDK_GRAVITY_")]
280 public enum Gravity {
281 NORTH_WEST,
282 NORTH,
283 NORTH_EAST,
284 WEST,
285 CENTER,
286 EAST,
287 SOUTH_WEST,
288 SOUTH,
289 SOUTH_EAST,
290 STATIC,
292 [CCode (cprefix = "GDK_IMAGE_")]
293 public enum ImageType {
294 NORMAL,
295 SHARED,
296 FASTEST,
298 [CCode (cprefix = "GDK_INPUT_")]
299 public enum InputCondition {
300 READ,
301 WRITE,
302 EXCEPTION,
304 [CCode (cprefix = "GDK_MODE_")]
305 public enum InputMode {
306 DISABLED,
307 SCREEN,
308 WINDOW,
310 [CCode (cprefix = "GDK_SOURCE_")]
311 public enum InputSource {
312 MOUSE,
313 PEN,
314 ERASER,
315 CURSOR,
317 [CCode (cprefix = "GDK_INTERP_")]
318 public enum InterpType {
319 NEAREST,
320 TILES,
321 BILINEAR,
322 HYPER,
324 [CCode (cprefix = "GDK_JOIN_")]
325 public enum JoinStyle {
326 MITER,
327 ROUND,
328 BEVEL,
330 [CCode (cprefix = "GDK_LINE_")]
331 public enum LineStyle {
332 SOLID,
333 ON_OFF_DASH,
334 DOUBLE_DASH,
336 [CCode (cprefix = "GDK_")]
337 public enum ModifierType {
338 SHIFT_MASK,
339 LOCK_MASK,
340 CONTROL_MASK,
341 MOD1_MASK,
342 MOD2_MASK,
343 MOD3_MASK,
344 MOD4_MASK,
345 MOD5_MASK,
346 BUTTON1_MASK,
347 BUTTON2_MASK,
348 BUTTON3_MASK,
349 BUTTON4_MASK,
350 BUTTON5_MASK,
351 SUPER_MASK,
352 HYPER_MASK,
353 META_MASK,
354 RELEASE_MASK,
355 MODIFIER_MASK,
357 [CCode (cprefix = "GDK_NOTIFY_")]
358 public enum NotifyType {
359 ANCESTOR,
360 VIRTUAL,
361 INFERIOR,
362 NONLINEAR,
363 NONLINEAR_VIRTUAL,
364 UNKNOWN,
366 [CCode (cprefix = "GDK_OVERLAP_RECTANGLE_")]
367 public enum OverlapType {
369 OUT,
370 PART,
372 [CCode (cprefix = "GDK_OWNER_CHANGE_")]
373 public enum OwnerChange {
374 NEW_OWNER,
375 DESTROY,
376 CLOSE,
378 [CCode (cprefix = "GDK_PIXBUF_ALPHA_")]
379 public enum PixbufAlphaMode {
380 BILEVEL,
381 FULL,
383 [CCode (cprefix = "GDK_PIXBUF_ERROR_")]
384 public enum PixbufError {
385 CORRUPT_IMAGE,
386 INSUFFICIENT_MEMORY,
387 BAD_OPTION,
388 UNKNOWN_TYPE,
389 UNSUPPORTED_OPERATION,
390 FAILED,
392 [CCode (cprefix = "GDK_PIXBUF_FRAME_")]
393 public enum PixbufFrameAction {
394 RETAIN,
395 DISPOSE,
396 REVERT,
398 [CCode (cprefix = "GDK_PIXBUF_ROTATE_")]
399 public enum PixbufRotation {
400 NONE,
401 COUNTERCLOCKWISE,
402 UPSIDEDOWN,
403 CLOCKWISE,
405 [CCode (cprefix = "GDK_PIXDATA_DUMP_")]
406 public enum PixdataDumpType {
407 PIXDATA_STREAM,
408 PIXDATA_STRUCT,
409 MACROS,
410 GTYPES,
411 CTYPES,
412 STATIC,
413 CONST,
414 RLE_DECODER,
416 [CCode (cprefix = "GDK_PIXDATA_")]
417 public enum PixdataType {
418 COLOR_TYPE_RGB,
419 COLOR_TYPE_RGBA,
420 COLOR_TYPE_MASK,
421 SAMPLE_WIDTH_8,
422 SAMPLE_WIDTH_MASK,
423 ENCODING_RAW,
424 ENCODING_RLE,
425 ENCODING_MASK,
427 [CCode (cprefix = "GDK_PROP_MODE_")]
428 public enum PropMode {
429 REPLACE,
430 PREPEND,
431 APPEND,
433 [CCode (cprefix = "GDK_PROPERTY_")]
434 public enum PropertyState {
435 NEW_VALUE,
436 DELETE,
438 [CCode (cprefix = "GDK_RGB_DITHER_")]
439 public enum RgbDither {
440 NONE,
441 NORMAL,
442 MAX,
444 [CCode (cprefix = "GDK_SCROLL_")]
445 public enum ScrollDirection {
447 DOWN,
448 LEFT,
449 RIGHT,
451 [CCode (cprefix = "GDK_SETTING_ACTION_")]
452 public enum SettingAction {
453 NEW,
454 CHANGED,
455 DELETED,
457 [CCode (cprefix = "GDK_")]
458 public enum Status {
460 ERROR,
461 ERROR_PARAM,
462 ERROR_FILE,
463 ERROR_MEM,
465 [CCode (cprefix = "GDK_")]
466 public enum SubwindowMode {
467 CLIP_BY_CHILDREN,
468 INCLUDE_INFERIORS,
470 [CCode (cprefix = "GDK_VISIBILITY_")]
471 public enum VisibilityState {
472 UNOBSCURED,
473 PARTIAL,
474 FULLY_OBSCURED,
476 [CCode (cprefix = "GDK_VISUAL_")]
477 public enum VisualType {
478 STATIC_GRAY,
479 GRAYSCALE,
480 STATIC_COLOR,
481 PSEUDO_COLOR,
482 TRUE_COLOR,
483 DIRECT_COLOR,
485 [CCode (cprefix = "GDK_DECOR_")]
486 public enum WMDecoration {
487 ALL,
488 BORDER,
489 RESIZEH,
490 TITLE,
491 MENU,
492 MINIMIZE,
493 MAXIMIZE,
495 [CCode (cprefix = "GDK_FUNC_")]
496 public enum WMFunction {
497 ALL,
498 RESIZE,
499 MOVE,
500 MINIMIZE,
501 MAXIMIZE,
502 CLOSE,
504 [CCode (cprefix = "GDK_WA_")]
505 public enum WindowAttributesType {
506 TITLE,
509 CURSOR,
510 COLORMAP,
511 VISUAL,
512 WMCLASS,
513 NOREDIR,
514 TYPE_HINT,
516 [CCode (cprefix = "GDK_INPUT_")]
517 public enum WindowClass {
518 OUTPUT,
519 ONLY,
521 [CCode (cprefix = "GDK_WINDOW_EDGE_")]
522 public enum WindowEdge {
523 NORTH_WEST,
524 NORTH,
525 NORTH_EAST,
526 WEST,
527 EAST,
528 SOUTH_WEST,
529 SOUTH,
530 SOUTH_EAST,
532 [CCode (cprefix = "GDK_HINT_")]
533 public enum WindowHints {
534 POS,
535 MIN_SIZE,
536 MAX_SIZE,
537 BASE_SIZE,
538 ASPECT,
539 RESIZE_INC,
540 WIN_GRAVITY,
541 USER_POS,
542 USER_SIZE,
544 [CCode (cprefix = "GDK_WINDOW_STATE_")]
545 public enum WindowState {
546 WITHDRAWN,
547 ICONIFIED,
548 MAXIMIZED,
549 STICKY,
550 FULLSCREEN,
551 ABOVE,
552 BELOW,
554 [CCode (cprefix = "GDK_WINDOW_")]
555 public enum WindowType {
556 ROOT,
557 TOPLEVEL,
558 CHILD,
559 DIALOG,
560 TEMP,
561 FOREIGN,
563 [CCode (cprefix = "GDK_WINDOW_TYPE_HINT_")]
564 public enum WindowTypeHint {
565 NORMAL,
566 DIALOG,
567 MENU,
568 TOOLBAR,
569 SPLASHSCREEN,
570 UTILITY,
571 DOCK,
572 DESKTOP,
573 DROPDOWN_MENU,
574 POPUP_MENU,
575 TOOLTIP,
576 NOTIFICATION,
577 COMBO,
578 DND,
580 [CCode (cheader_filename = "gdk/gdk.h")]
581 public class Colormap : GLib.Object {
582 public int size;
583 public Gdk.Color colors;
584 public bool alloc_color (ref Gdk.Color color, bool writeable, bool best_match);
585 public int alloc_colors (ref Gdk.Color colors, int ncolors, bool writeable, bool best_match, bool success);
586 public void free_colors (ref Gdk.Color colors, int ncolors);
587 public weak Gdk.Screen get_screen ();
588 public static weak Gdk.Colormap get_system ();
589 public static GLib.Type get_type ();
590 public weak Gdk.Visual get_visual ();
591 public Colormap (Gdk.Visual visual, bool allocate);
592 public void query_color (ulong pixel, ref Gdk.Color result);
594 [CCode (cheader_filename = "gdk/gdk.h")]
595 public class Device : GLib.Object {
596 [NoArrayLength]
597 public static void free_history (Gdk.TimeCoord[] events, int n_events);
598 public bool get_axis (double axes, Gdk.AxisUse use, double value);
599 public static weak Gdk.Device get_core_pointer ();
600 [NoArrayLength]
601 public bool get_history (Gdk.Window window, uint start, uint stop, Gdk.TimeCoord[] events, int n_events);
602 public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask);
603 public static GLib.Type get_type ();
604 public void set_axis_use (uint index_, Gdk.AxisUse use);
605 public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
606 public bool set_mode (Gdk.InputMode mode);
607 public void set_source (Gdk.InputSource source);
609 [CCode (cheader_filename = "gdk/gdk.h")]
610 public class Display : GLib.Object {
611 public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, pointer data);
612 public void beep ();
613 public void close ();
614 public void flush ();
615 public weak Gdk.Device get_core_pointer ();
616 public static weak Gdk.Display get_default ();
617 public uint get_default_cursor_size ();
618 public weak Gdk.Window get_default_group ();
619 public virtual weak Gdk.Screen get_default_screen ();
620 public weak Gdk.Event get_event ();
621 public void get_maximal_cursor_size (uint width, uint height);
622 public virtual int get_n_screens ();
623 public weak string get_name ();
624 public void get_pointer (Gdk.Screen screen, int x, int y, Gdk.ModifierType mask);
625 public virtual weak Gdk.Screen get_screen (int screen_num);
626 public static GLib.Type get_type ();
627 public weak Gdk.Window get_window_at_pointer (int win_x, int win_y);
628 public void keyboard_ungrab (uint time_);
629 public weak GLib.List list_devices ();
630 public static weak Gdk.Display open (string display_name);
631 public static weak Gdk.Display open_default_libgtk_only ();
632 public weak Gdk.Event peek_event ();
633 public bool pointer_is_grabbed ();
634 public void pointer_ungrab (uint time_);
635 public void put_event (Gdk.Event event);
636 public bool request_selection_notification (Gdk.Atom selection);
637 public void set_double_click_distance (uint distance);
638 public void set_double_click_time (uint msec);
639 public weak Gdk.DisplayPointerHooks set_pointer_hooks (Gdk.DisplayPointerHooks new_hooks);
640 [NoArrayLength]
641 public void store_clipboard (Gdk.Window clipboard_window, uint time_, Gdk.Atom[] targets, int n_targets);
642 public bool supports_clipboard_persistence ();
643 public bool supports_composite ();
644 public bool supports_cursor_alpha ();
645 public bool supports_cursor_color ();
646 public bool supports_input_shapes ();
647 public bool supports_selection_notification ();
648 public bool supports_shapes ();
649 public void sync ();
650 public void warp_pointer (Gdk.Screen screen, int x, int y);
651 public signal void closed (bool is_error);
653 [CCode (cheader_filename = "gdk/gdk.h")]
654 public class DisplayManager : GLib.Object {
655 public static weak Gdk.DisplayManager get ();
656 public weak Gdk.Display get_default_display ();
657 public static GLib.Type get_type ();
658 public weak GLib.SList list_displays ();
659 public void set_default_display (Gdk.Display display);
660 public weak Gdk.Display default_display { get; set; }
661 public signal void display_opened (Gdk.Display display);
663 [CCode (cheader_filename = "gdk/gdk.h")]
664 public class DragContext : GLib.Object {
665 public Gdk.DragProtocol protocol;
666 public bool is_source;
667 public weak Gdk.Window source_window;
668 public weak Gdk.Window dest_window;
669 public weak GLib.List targets;
670 public Gdk.DragAction actions;
671 public Gdk.DragAction suggested_action;
672 public Gdk.DragAction action;
673 public uint start_time;
674 public static GLib.Type get_type ();
675 public DragContext ();
677 [CCode (cheader_filename = "gdk/gdk.h")]
678 public class Drawable : GLib.Object {
679 [CCode (cname = "gdk_draw_arc")]
680 public virtual void draw_arc (Gdk.GC gc, bool filled, int x, int y, int width, int height, int angle1, int angle2);
681 [CCode (cname = "gdk_draw_drawable")]
682 public virtual void draw_drawable (Gdk.GC gc, Gdk.Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
683 [CCode (cname = "gdk_draw_glyphs")]
684 public virtual void draw_glyphs (Gdk.GC gc, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
685 [CCode (cname = "gdk_draw_glyphs_transformed")]
686 public virtual void draw_glyphs_transformed (Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
687 [NoArrayLength]
688 [CCode (cname = "gdk_draw_gray_image")]
689 public void draw_gray_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride);
690 [CCode (cname = "gdk_draw_image")]
691 public virtual void draw_image (Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
692 [NoArrayLength]
693 [CCode (cname = "gdk_draw_indexed_image")]
694 public void draw_indexed_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride, Gdk.RgbCmap cmap);
695 [CCode (cname = "gdk_draw_layout")]
696 public void draw_layout (Gdk.GC gc, int x, int y, Pango.Layout layout);
697 [CCode (cname = "gdk_draw_layout_line")]
698 public void draw_layout_line (Gdk.GC gc, int x, int y, Pango.LayoutLine line);
699 [CCode (cname = "gdk_draw_layout_line_with_colors")]
700 public void draw_layout_line_with_colors (Gdk.GC gc, int x, int y, Pango.LayoutLine line, ref Gdk.Color foreground, ref Gdk.Color background);
701 [CCode (cname = "gdk_draw_layout_with_colors")]
702 public void draw_layout_with_colors (Gdk.GC gc, int x, int y, Pango.Layout layout, ref Gdk.Color foreground, ref Gdk.Color background);
703 [CCode (cname = "gdk_draw_line")]
704 public void draw_line (Gdk.GC gc, int x1_, int y1_, int x2_, int y2_);
705 [CCode (cname = "gdk_draw_lines")]
706 public virtual void draw_lines (Gdk.GC gc, Gdk.Point points, int npoints);
707 [CCode (cname = "gdk_draw_pixbuf")]
708 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);
709 [CCode (cname = "gdk_draw_point")]
710 public void draw_point (Gdk.GC gc, int x, int y);
711 [CCode (cname = "gdk_draw_points")]
712 public virtual void draw_points (Gdk.GC gc, Gdk.Point points, int npoints);
713 [CCode (cname = "gdk_draw_polygon")]
714 public virtual void draw_polygon (Gdk.GC gc, bool filled, Gdk.Point points, int npoints);
715 [CCode (cname = "gdk_draw_rectangle")]
716 public virtual void draw_rectangle (Gdk.GC gc, bool filled, int x, int y, int width, int height);
717 [NoArrayLength]
718 [CCode (cname = "gdk_draw_rgb_32_image")]
719 public void draw_rgb_32_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride);
720 [NoArrayLength]
721 [CCode (cname = "gdk_draw_rgb_32_image_dithalign")]
722 public void draw_rgb_32_image_dithalign (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride, int xdith, int ydith);
723 [NoArrayLength]
724 [CCode (cname = "gdk_draw_rgb_image")]
725 public void draw_rgb_image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] rgb_buf, int rowstride);
726 [NoArrayLength]
727 [CCode (cname = "gdk_draw_rgb_image_dithalign")]
728 public void draw_rgb_image_dithalign (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] rgb_buf, int rowstride, int xdith, int ydith);
729 [CCode (cname = "gdk_draw_segments")]
730 public virtual void draw_segments (Gdk.GC gc, Gdk.Segment segs, int nsegs);
731 [NoArrayLength]
732 [CCode (cname = "gdk_draw_trapezoids")]
733 public virtual void draw_trapezoids (Gdk.GC gc, Gdk.Trapezoid[] trapezoids, int n_trapezoids);
734 public weak Gdk.Image copy_to_image (Gdk.Image image, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
735 public virtual weak Gdk.Region get_clip_region ();
736 public virtual weak Gdk.Colormap get_colormap ();
737 public virtual int get_depth ();
738 public weak Gdk.Display get_display ();
739 public virtual weak Gdk.Image get_image (int x, int y, int width, int height);
740 public virtual weak Gdk.Screen get_screen ();
741 public virtual void get_size (int width, int height);
742 public static GLib.Type get_type ();
743 public virtual weak Gdk.Region get_visible_region ();
744 public virtual weak Gdk.Visual get_visual ();
745 public virtual void set_colormap (Gdk.Colormap colormap);
747 [CCode (cheader_filename = "gdk/gdk.h")]
748 public class GC : GLib.Object {
749 public void copy (Gdk.GC src_gc);
750 public weak Gdk.Colormap get_colormap ();
751 public weak Gdk.Screen get_screen ();
752 public static GLib.Type get_type ();
753 public virtual void get_values (Gdk.GCValues values);
754 public GC (Gdk.Drawable drawable);
755 public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
756 public void offset (int x_offset, int y_offset);
757 public void set_background (ref Gdk.Color color);
758 public void set_clip_mask (Gdk.Bitmap mask);
759 public void set_clip_origin (int x, int y);
760 public void set_clip_rectangle (ref Gdk.Rectangle rectangle);
761 public void set_clip_region (Gdk.Region region);
762 public void set_colormap (Gdk.Colormap colormap);
763 [NoArrayLength]
764 public virtual void set_dashes (int dash_offset, char[] dash_list, int n);
765 public void set_exposures (bool exposures);
766 public void set_fill (Gdk.Fill fill);
767 public void set_foreground (ref Gdk.Color color);
768 public void set_function (Gdk.Function function);
769 public void set_line_attributes (int line_width, Gdk.LineStyle line_style, Gdk.CapStyle cap_style, Gdk.JoinStyle join_style);
770 public void set_rgb_bg_color (ref Gdk.Color color);
771 public void set_rgb_fg_color (ref Gdk.Color color);
772 public void set_stipple (Gdk.Pixmap stipple);
773 public void set_subwindow (Gdk.SubwindowMode mode);
774 public void set_tile (Gdk.Pixmap tile);
775 public void set_ts_origin (int x, int y);
776 public virtual void set_values (Gdk.GCValues values, Gdk.GCValuesMask values_mask);
778 [CCode (cheader_filename = "gdk/gdk.h")]
779 public class Image : GLib.Object {
780 public Gdk.ImageType type;
781 public weak Gdk.Visual visual;
782 public Gdk.ByteOrder byte_order;
783 public int width;
784 public int height;
785 public ushort depth;
786 public ushort bpp;
787 public ushort bpl;
788 public ushort bits_per_pixel;
789 public pointer mem;
790 public weak Gdk.Colormap colormap;
791 public weak Gdk.Colormap get_colormap ();
792 public uint get_pixel (int x, int y);
793 public static GLib.Type get_type ();
794 public Image (Gdk.ImageType type, Gdk.Visual visual, int width, int height);
795 public void put_pixel (int x, int y, uint pixel);
796 public void set_colormap (Gdk.Colormap colormap);
798 [CCode (cheader_filename = "gdk/gdk.h")]
799 public class Keymap : GLib.Object {
800 public static weak Gdk.Keymap get_default ();
801 public Pango.Direction get_direction ();
802 public bool get_entries_for_keycode (uint hardware_keycode, Gdk.KeymapKey keys, uint keyvals, int n_entries);
803 [NoArrayLength]
804 public bool get_entries_for_keyval (uint keyval, Gdk.KeymapKey[] keys, int n_keys);
805 public static weak Gdk.Keymap get_for_display (Gdk.Display display);
806 public static GLib.Type get_type ();
807 public uint lookup_key (Gdk.KeymapKey key);
808 public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, uint keyval, int effective_group, int level, Gdk.ModifierType consumed_modifiers);
809 public signal void direction_changed ();
810 public signal void keys_changed ();
812 [CCode (cheader_filename = "gdk/gdk.h")]
813 public class PangoRenderer : Pango.Renderer {
814 public static weak Pango.Renderer get_default (Gdk.Screen screen);
815 public static GLib.Type get_type ();
816 public PangoRenderer (Gdk.Screen screen);
817 public void set_drawable (Gdk.Drawable drawable);
818 public void set_gc (Gdk.GC gc);
819 public void set_override_color (Pango.RenderPart part, ref Gdk.Color color);
820 public void set_stipple (Pango.RenderPart part, Gdk.Bitmap stipple);
821 [NoAccessorMethod]
822 public weak Gdk.Screen screen { get; construct; }
824 [CCode (cheader_filename = "gdk/gdk.h")]
825 public class Pixbuf : GLib.Object {
826 public weak Gdk.Pixbuf add_alpha (bool substitute_color, uchar r, uchar g, uchar b);
827 public void composite (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha);
828 public void composite_color (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, uint color1, uint color2);
829 public weak Gdk.Pixbuf composite_color_simple (int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint color1, uint color2);
830 public weak Gdk.Pixbuf copy ();
831 public void copy_area (int src_x, int src_y, int width, int height, Gdk.Pixbuf dest_pixbuf, int dest_x, int dest_y);
832 public static GLib.Quark error_quark ();
833 public void fill (uint pixel);
834 public weak Gdk.Pixbuf flip (bool horizontal);
835 public static weak Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels, GLib.Error error);
836 public int get_bits_per_sample ();
837 public Gdk.Colorspace get_colorspace ();
838 public static weak Gdk.PixbufFormat get_file_info (string filename, int width, int height);
839 public static weak GLib.SList get_formats ();
840 public weak Gdk.Pixbuf get_from_drawable (Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
841 public weak Gdk.Pixbuf get_from_image (Gdk.Image src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
842 public bool get_has_alpha ();
843 public int get_height ();
844 public int get_n_channels ();
845 public weak string get_option (string key);
846 [NoArrayLength]
847 public weak uchar[] get_pixels ();
848 public int get_rowstride ();
849 public static GLib.Type get_type ();
850 public int get_width ();
851 public Pixbuf (Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height);
852 [NoArrayLength]
853 public Pixbuf.from_data (uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn, pointer destroy_fn_data);
854 public Pixbuf.from_file (string filename, GLib.Error error);
855 public Pixbuf.from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio, GLib.Error error);
856 public Pixbuf.from_file_at_size (string filename, int width, int height, GLib.Error error);
857 [NoArrayLength]
858 public Pixbuf.from_inline (int data_length, uchar[] data, bool copy_pixels, GLib.Error error);
859 public Pixbuf.from_xpm_data (string data);
860 public Pixbuf.subpixbuf (int src_x, int src_y, int width, int height);
861 public void render_pixmap_and_mask (Gdk.Pixmap pixmap_return, Gdk.Bitmap mask_return, int alpha_threshold);
862 public void render_pixmap_and_mask_for_colormap (Gdk.Colormap colormap, Gdk.Pixmap pixmap_return, Gdk.Bitmap mask_return, int alpha_threshold);
863 public void render_threshold_alpha (Gdk.Bitmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold);
864 public weak Gdk.Pixbuf rotate_simple (Gdk.PixbufRotation angle);
865 public void saturate_and_pixelate (Gdk.Pixbuf dest, float saturation, bool pixelate);
866 public bool save (string filename, string type, GLib.Error error);
867 public bool save_to_buffer (string buffer, ulong buffer_size, string type, GLib.Error error);
868 public bool save_to_bufferv (string buffer, ulong buffer_size, string type, string option_keys, string option_values, GLib.Error error);
869 public bool save_to_callback (Gdk.PixbufSaveFunc save_func, pointer user_data, string type, GLib.Error error);
870 public bool save_to_callbackv (Gdk.PixbufSaveFunc save_func, pointer user_data, string type, string option_keys, string option_values, GLib.Error error);
871 public bool savev (string filename, string type, string option_keys, string option_values, GLib.Error error);
872 public void scale (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type);
873 public weak Gdk.Pixbuf scale_simple (int dest_width, int dest_height, Gdk.InterpType interp_type);
874 [NoAccessorMethod]
875 public weak int n_channels { get; set; }
876 [NoAccessorMethod]
877 public weak Gdk.Colorspace colorspace { get; set; }
878 [NoAccessorMethod]
879 public weak bool has_alpha { get; set; }
880 [NoAccessorMethod]
881 public weak int bits_per_sample { get; set; }
882 [NoAccessorMethod]
883 public weak int width { get; set; }
884 [NoAccessorMethod]
885 public weak int height { get; set; }
886 [NoAccessorMethod]
887 public weak int rowstride { get; set; }
888 [NoAccessorMethod]
889 public weak pointer pixels { get; set; }
891 [CCode (cheader_filename = "gdk/gdk.h")]
892 public class PixbufAnimation : GLib.Object {
893 public int get_height ();
894 public weak Gdk.PixbufAnimationIter get_iter (GLib.TimeVal start_time);
895 public weak Gdk.Pixbuf get_static_image ();
896 public static GLib.Type get_type ();
897 public int get_width ();
898 public bool is_static_image ();
899 public PixbufAnimation.from_file (string filename, GLib.Error error);
901 [CCode (cheader_filename = "gdk/gdk.h")]
902 public class PixbufAnimationIter : GLib.Object {
903 public bool advance (GLib.TimeVal current_time);
904 public int get_delay_time ();
905 public weak Gdk.Pixbuf get_pixbuf ();
906 public static GLib.Type get_type ();
907 public bool on_currently_loading_frame ();
909 [CCode (cheader_filename = "gdk/gdk.h")]
910 public class PixbufAniAnim : Gdk.PixbufAnimation {
911 public static GLib.Type get_type ();
913 [CCode (cheader_filename = "gdk/gdk.h")]
914 public class PixbufAniAnimIter : Gdk.PixbufAnimationIter {
915 public static GLib.Type get_type ();
917 [CCode (cheader_filename = "gdk/gdk.h")]
918 public class PixbufGifAnim : Gdk.PixbufAnimation {
919 public void frame_composite (Gdk.PixbufFrame frame);
920 public static GLib.Type get_type ();
922 [CCode (cheader_filename = "gdk/gdk.h")]
923 public class PixbufGifAnimIter : Gdk.PixbufAnimationIter {
924 public static GLib.Type get_type ();
926 [CCode (cheader_filename = "gdk/gdk.h")]
927 public class PixbufLoader : GLib.Object {
928 public bool close (GLib.Error error);
929 public weak Gdk.PixbufAnimation get_animation ();
930 public weak Gdk.PixbufFormat get_format ();
931 public weak Gdk.Pixbuf get_pixbuf ();
932 public static GLib.Type get_type ();
933 public PixbufLoader ();
934 public PixbufLoader.with_mime_type (string mime_type, GLib.Error error);
935 public PixbufLoader.with_type (string image_type, GLib.Error error);
936 public void set_size (int width, int height);
937 [NoArrayLength]
938 public bool write (uchar[] buf, ulong count, GLib.Error error);
939 public signal void size_prepared (int width, int height);
940 public signal void area_prepared ();
941 public signal void area_updated (int x, int y, int width, int height);
942 public signal void closed ();
944 [CCode (cheader_filename = "gdk/gdk.h")]
945 public class PixbufSimpleAnim : Gdk.PixbufAnimation {
946 public void add_frame (Gdk.Pixbuf pixbuf);
947 public static GLib.Type get_type ();
948 public static GLib.Type iter_get_type ();
949 public PixbufSimpleAnim (int width, int height, float rate);
951 [CCode (cheader_filename = "gdk/gdk.h")]
952 public class Pixmap : GLib.Object {
953 public static weak Gdk.Pixmap colormap_create_from_xpm (Gdk.Drawable drawable, Gdk.Colormap colormap, Gdk.Bitmap mask, ref Gdk.Color transparent_color, string filename);
954 public static weak Gdk.Pixmap colormap_create_from_xpm_d (Gdk.Drawable drawable, Gdk.Colormap colormap, Gdk.Bitmap mask, ref Gdk.Color transparent_color, string data);
955 public static weak Gdk.Pixmap create_from_data (Gdk.Drawable drawable, string data, int width, int height, int depth, ref Gdk.Color fg, ref Gdk.Color bg);
956 public static weak Gdk.Pixmap create_from_xpm (Gdk.Drawable drawable, Gdk.Bitmap mask, ref Gdk.Color transparent_color, string filename);
957 public static weak Gdk.Pixmap create_from_xpm_d (Gdk.Drawable drawable, Gdk.Bitmap mask, ref Gdk.Color transparent_color, string data);
958 public static weak Gdk.Pixmap foreign_new (pointer anid);
959 public static weak Gdk.Pixmap foreign_new_for_display (Gdk.Display display, pointer anid);
960 public static weak Gdk.Pixmap foreign_new_for_screen (Gdk.Screen screen, pointer anid, int width, int height, int depth);
961 public static GLib.Type get_type ();
962 public static weak Gdk.Pixmap lookup (pointer anid);
963 public static weak Gdk.Pixmap lookup_for_display (Gdk.Display display, pointer anid);
964 public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);
966 [CCode (cheader_filename = "gdk/gdk.h")]
967 public class Screen : GLib.Object {
968 public void broadcast_client_message (Gdk.Event event);
969 public weak Gdk.Window get_active_window ();
970 public static weak Gdk.Screen get_default ();
971 public weak Gdk.Colormap get_default_colormap ();
972 public weak Gdk.Display get_display ();
973 public pointer get_font_options ();
974 public int get_height ();
975 public int get_height_mm ();
976 public int get_monitor_at_point (int x, int y);
977 public int get_monitor_at_window (Gdk.Window window);
978 public void get_monitor_geometry (int monitor_num, ref Gdk.Rectangle dest);
979 public int get_n_monitors ();
980 public int get_number ();
981 public double get_resolution ();
982 public weak Gdk.Colormap get_rgb_colormap ();
983 public weak Gdk.Visual get_rgb_visual ();
984 public weak Gdk.Colormap get_rgba_colormap ();
985 public weak Gdk.Visual get_rgba_visual ();
986 public weak Gdk.Window get_root_window ();
987 public bool get_setting (string name, GLib.Value value);
988 public weak Gdk.Colormap get_system_colormap ();
989 public weak Gdk.Visual get_system_visual ();
990 public weak GLib.List get_toplevel_windows ();
991 public static GLib.Type get_type ();
992 public int get_width ();
993 public int get_width_mm ();
994 public weak GLib.List get_window_stack ();
995 public static int height ();
996 public static int height_mm ();
997 public bool is_composited ();
998 public weak GLib.List list_visuals ();
999 public weak string make_display_name ();
1000 public void set_default_colormap (Gdk.Colormap colormap);
1001 public void set_font_options (pointer options);
1002 public void set_resolution (double dpi);
1003 public static int width ();
1004 public static int width_mm ();
1005 public weak pointer font_options { get; set; }
1006 public weak double resolution { get; set; }
1007 public signal void size_changed ();
1008 public signal void composited_changed ();
1010 [CCode (cheader_filename = "gdk/gdk.h")]
1011 public class Visual : GLib.Object {
1012 public static weak Gdk.Visual get_best ();
1013 public static int get_best_depth ();
1014 public static Gdk.VisualType get_best_type ();
1015 public static weak Gdk.Visual get_best_with_both (int depth, Gdk.VisualType visual_type);
1016 public static weak Gdk.Visual get_best_with_depth (int depth);
1017 public static weak Gdk.Visual get_best_with_type (Gdk.VisualType visual_type);
1018 public weak Gdk.Screen get_screen ();
1019 public static weak Gdk.Visual get_system ();
1020 public static GLib.Type get_type ();
1022 [CCode (cheader_filename = "gdk/gdk.h")]
1023 public class Window : Gdk.Drawable {
1024 public void add_filter (Gdk.FilterFunc function, pointer data);
1025 public static weak Gdk.Window at_pointer (int win_x, int win_y);
1026 public void beep ();
1027 public void begin_move_drag (int button, int root_x, int root_y, uint timestamp);
1028 public void begin_paint_rect (ref Gdk.Rectangle rectangle);
1029 public void begin_paint_region (Gdk.Region region);
1030 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint timestamp);
1031 public void clear ();
1032 public void clear_area (int x, int y, int width, int height);
1033 public void clear_area_e (int x, int y, int width, int height);
1034 public void configure_finished ();
1035 public static void constrain_size (Gdk.Geometry geometry, uint @flags, int width, int height, int new_width, int new_height);
1036 public void deiconify ();
1037 public void destroy ();
1038 public void enable_synchronized_configure ();
1039 public void end_paint ();
1040 public void focus (uint timestamp);
1041 public static weak Gdk.Window foreign_new (pointer anid);
1042 public static weak Gdk.Window foreign_new_for_display (Gdk.Display display, pointer anid);
1043 public void freeze_updates ();
1044 public void fullscreen ();
1045 public weak GLib.List get_children ();
1046 public bool get_decorations (Gdk.WMDecoration decorations);
1047 public Gdk.EventMask get_events ();
1048 public void get_frame_extents (ref Gdk.Rectangle rect);
1049 public void get_geometry (int x, int y, int width, int height, int depth);
1050 public weak Gdk.Window get_group ();
1051 public void get_internal_paint_info (Gdk.Drawable real_drawable, int x_offset, int y_offset);
1052 public int get_origin (int x, int y);
1053 public weak Gdk.Window get_parent ();
1054 public weak Gdk.Window get_pointer (int x, int y, Gdk.ModifierType mask);
1055 public void get_position (int x, int y);
1056 public void get_root_origin (int x, int y);
1057 public Gdk.WindowState get_state ();
1058 public weak Gdk.Window get_toplevel ();
1059 public static weak GLib.List get_toplevels ();
1060 public Gdk.WindowTypeHint get_type_hint ();
1061 public weak Gdk.Region get_update_area ();
1062 public void get_user_data (pointer data);
1063 public Gdk.WindowType get_window_type ();
1064 public void hide ();
1065 public void iconify ();
1066 public void input_shape_combine_mask (Gdk.Bitmap mask, int x, int y);
1067 public void input_shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y);
1068 public void invalidate_maybe_recurse (Gdk.Region region, Gdk.invalidate_maybe_recurseChildFunc child_func, pointer user_data);
1069 public void invalidate_rect (ref Gdk.Rectangle rect, bool invalidate_children);
1070 public void invalidate_region (Gdk.Region region, bool invalidate_children);
1071 public bool is_viewable ();
1072 public bool is_visible ();
1073 public static weak Gdk.Window lookup (pointer anid);
1074 public static weak Gdk.Window lookup_for_display (Gdk.Display display, pointer anid);
1075 public void lower ();
1076 public void maximize ();
1077 public void merge_child_input_shapes ();
1078 public void merge_child_shapes ();
1079 public void move (int x, int y);
1080 public void move_region (Gdk.Region region, int dx, int dy);
1081 public void move_resize (int x, int y, int width, int height);
1082 public Window (ref Gdk.WindowAttr attributes, int attributes_mask);
1083 public weak GLib.List peek_children ();
1084 public static void process_all_updates ();
1085 public void process_updates (bool update_children);
1086 public void raise ();
1087 public void register_dnd ();
1088 public void remove_filter (Gdk.FilterFunc function, pointer data);
1089 public void reparent (Gdk.Window new_parent, int x, int y);
1090 public void resize (int width, int height);
1091 public void scroll (int dx, int dy);
1092 public void set_accept_focus (bool accept_focus);
1093 public void set_back_pixmap (Gdk.Pixmap pixmap, bool parent_relative);
1094 public void set_background (ref Gdk.Color color);
1095 public void set_child_input_shapes ();
1096 public void set_child_shapes ();
1097 public void set_composited (bool composited);
1098 public void set_cursor (Gdk.Cursor cursor);
1099 public static void set_debug_updates (bool setting);
1100 public void set_decorations (Gdk.WMDecoration decorations);
1101 public void set_events (Gdk.EventMask event_mask);
1102 public void set_focus_on_map (bool focus_on_map);
1103 public void set_functions (Gdk.WMFunction functions);
1104 public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
1105 public void set_group (Gdk.Window leader);
1106 public void set_icon (Gdk.Window icon_window, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
1107 public void set_icon_list (GLib.List pixbufs);
1108 public void set_icon_name (string name);
1109 public void set_keep_above (bool setting);
1110 public void set_keep_below (bool setting);
1111 public void set_modal_hint (bool modal);
1112 public void set_opacity (double opacity);
1113 public void set_override_redirect (bool override_redirect);
1114 public void set_role (string role);
1115 public void set_skip_pager_hint (bool skips_pager);
1116 public void set_skip_taskbar_hint (bool skips_taskbar);
1117 public void set_startup_id (string startup_id);
1118 public bool set_static_gravities (bool use_static);
1119 public void set_title (string title);
1120 public void set_transient_for (Gdk.Window parent);
1121 public void set_type_hint (Gdk.WindowTypeHint hint);
1122 public void set_urgency_hint (bool urgent);
1123 public void set_user_data (pointer user_data);
1124 public void shape_combine_mask (Gdk.Bitmap mask, int x, int y);
1125 public void shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y);
1126 public void show ();
1127 public void show_unraised ();
1128 public void stick ();
1129 public void thaw_updates ();
1130 public void unfullscreen ();
1131 public void unmaximize ();
1132 public void unstick ();
1133 public void withdraw ();
1135 [CCode (cheader_filename = "gdk/gdk.h")]
1136 public class Bitmap : GLib.Object {
1137 public weak GLib.Object parent_instance;
1138 public static weak Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
1140 [ReferenceType]
1141 public struct BRESINFO {
1142 public int minor_axis;
1143 public int d;
1144 public int m;
1145 public int m1;
1146 public int incr1;
1147 public int incr2;
1149 [ReferenceType]
1150 public struct EdgeTable {
1151 public int ymax;
1152 public int ymin;
1153 public weak Gdk.ScanLineList scanlines;
1155 [ReferenceType]
1156 public struct EdgeTableEntry {
1158 public struct Color {
1159 public uint pixel;
1160 public ushort red;
1161 public ushort green;
1162 public ushort blue;
1163 [InstanceByReference]
1164 public Gdk.Color copy ();
1165 [InstanceByReference]
1166 public bool equal (ref Gdk.Color colorb);
1167 [InstanceByReference]
1168 public void free ();
1169 public static GLib.Type get_type ();
1170 [InstanceByReference]
1171 public uint hash ();
1172 public static bool parse (string spec, ref Gdk.Color color);
1173 [InstanceByReference]
1174 public weak string to_string ();
1176 [ReferenceType]
1177 public struct Cursor {
1178 public Gdk.CursorType type;
1179 public weak Gdk.Display get_display ();
1180 public weak Gdk.Pixbuf get_image ();
1181 public static GLib.Type get_type ();
1182 public Cursor (Gdk.CursorType cursor_type);
1183 public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
1184 public Cursor.from_name (Gdk.Display display, string name);
1185 public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
1186 public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, ref Gdk.Color fg, ref Gdk.Color bg, int x, int y);
1187 public weak Gdk.Cursor @ref ();
1188 public void unref ();
1190 [ReferenceType]
1191 public struct DeviceAxis {
1192 public Gdk.AxisUse use;
1193 public double min;
1194 public double max;
1196 [ReferenceType]
1197 public struct DeviceKey {
1198 public uint keyval;
1199 public Gdk.ModifierType modifiers;
1201 [ReferenceType]
1202 public struct DisplayPointerHooks {
1204 [ReferenceType]
1205 public struct EventAny {
1206 public Gdk.EventType type;
1207 public weak Gdk.Window window;
1208 public char send_event;
1210 [ReferenceType]
1211 public struct EventButton {
1212 public Gdk.EventType type;
1213 public weak Gdk.Window window;
1214 public char send_event;
1215 public uint time;
1216 public double x;
1217 public double y;
1218 public double axes;
1219 public uint state;
1220 public uint button;
1221 public weak Gdk.Device device;
1222 public double x_root;
1223 public double y_root;
1225 [ReferenceType]
1226 public struct EventClient {
1227 public Gdk.EventType type;
1228 public weak Gdk.Window window;
1229 public char send_event;
1230 public Gdk.Atom message_type;
1231 public ushort data_format;
1232 public char b;
1234 [ReferenceType]
1235 public struct EventConfigure {
1236 public Gdk.EventType type;
1237 public weak Gdk.Window window;
1238 public char send_event;
1239 public int x;
1240 public int y;
1241 public int width;
1242 public int height;
1244 [ReferenceType]
1245 public struct EventCrossing {
1246 public Gdk.EventType type;
1247 public weak Gdk.Window window;
1248 public char send_event;
1249 public weak Gdk.Window subwindow;
1250 public uint time;
1251 public double x;
1252 public double y;
1253 public double x_root;
1254 public double y_root;
1255 public Gdk.CrossingMode mode;
1256 public Gdk.NotifyType detail;
1257 public bool focus;
1258 public uint state;
1260 [ReferenceType]
1261 public struct EventDND {
1262 public Gdk.EventType type;
1263 public weak Gdk.Window window;
1264 public char send_event;
1265 public weak Gdk.DragContext context;
1266 public uint time;
1267 public short x_root;
1268 public short y_root;
1270 [ReferenceType]
1271 public struct EventExpose {
1272 public Gdk.EventType type;
1273 public weak Gdk.Window window;
1274 public char send_event;
1275 public Gdk.Rectangle area;
1276 public weak Gdk.Region region;
1277 public int count;
1279 [ReferenceType]
1280 public struct EventFocus {
1281 public Gdk.EventType type;
1282 public weak Gdk.Window window;
1283 public char send_event;
1284 public short @in;
1286 [ReferenceType]
1287 public struct EventGrabBroken {
1288 public Gdk.EventType type;
1289 public weak Gdk.Window window;
1290 public char send_event;
1291 public bool keyboard;
1292 public bool implicit;
1293 public weak Gdk.Window grab_window;
1295 [ReferenceType]
1296 public struct EventKey {
1297 public Gdk.EventType type;
1298 public weak Gdk.Window window;
1299 public char send_event;
1300 public uint time;
1301 public uint state;
1302 public uint keyval;
1303 public int length;
1304 public weak string string;
1305 public ushort hardware_keycode;
1306 public uchar group;
1307 public uint is_modifier;
1309 [ReferenceType]
1310 public struct EventMotion {
1311 public Gdk.EventType type;
1312 public weak Gdk.Window window;
1313 public char send_event;
1314 public uint time;
1315 public double x;
1316 public double y;
1317 public double axes;
1318 public uint state;
1319 public short is_hint;
1320 public weak Gdk.Device device;
1321 public double x_root;
1322 public double y_root;
1324 [ReferenceType]
1325 public struct EventNoExpose {
1326 public Gdk.EventType type;
1327 public weak Gdk.Window window;
1328 public char send_event;
1330 [ReferenceType]
1331 public struct EventOwnerChange {
1332 public Gdk.EventType type;
1333 public weak Gdk.Window window;
1334 public char send_event;
1335 public pointer owner;
1336 public Gdk.OwnerChange reason;
1337 public Gdk.Atom selection;
1338 public uint time;
1339 public uint selection_time;
1341 [ReferenceType]
1342 public struct EventProperty {
1343 public Gdk.EventType type;
1344 public weak Gdk.Window window;
1345 public char send_event;
1346 public Gdk.Atom atom;
1347 public uint time;
1348 public uint state;
1350 [ReferenceType]
1351 public struct EventProximity {
1352 public Gdk.EventType type;
1353 public weak Gdk.Window window;
1354 public char send_event;
1355 public uint time;
1356 public weak Gdk.Device device;
1358 [ReferenceType]
1359 public struct EventScroll {
1360 public Gdk.EventType type;
1361 public weak Gdk.Window window;
1362 public char send_event;
1363 public uint time;
1364 public double x;
1365 public double y;
1366 public uint state;
1367 public Gdk.ScrollDirection direction;
1368 public weak Gdk.Device device;
1369 public double x_root;
1370 public double y_root;
1372 [ReferenceType]
1373 public struct EventSelection {
1374 public Gdk.EventType type;
1375 public weak Gdk.Window window;
1376 public char send_event;
1377 public Gdk.Atom selection;
1378 public Gdk.Atom target;
1379 public Gdk.Atom property;
1380 public uint time;
1381 public pointer requestor;
1383 [ReferenceType]
1384 public struct EventSetting {
1385 public Gdk.EventType type;
1386 public weak Gdk.Window window;
1387 public char send_event;
1388 public Gdk.SettingAction action;
1389 public weak string name;
1391 [ReferenceType]
1392 public struct EventVisibility {
1393 public Gdk.EventType type;
1394 public weak Gdk.Window window;
1395 public char send_event;
1396 public Gdk.VisibilityState state;
1398 [ReferenceType]
1399 public struct EventWindowState {
1400 public Gdk.EventType type;
1401 public weak Gdk.Window window;
1402 public char send_event;
1403 public Gdk.WindowState changed_mask;
1404 public Gdk.WindowState new_window_state;
1406 [ReferenceType]
1407 public struct Font {
1408 public Gdk.FontType type;
1409 public int ascent;
1410 public int descent;
1412 [ReferenceType]
1413 public struct GCValues {
1414 public Gdk.Color foreground;
1415 public Gdk.Color background;
1416 public weak Gdk.Font font;
1417 public Gdk.Function function;
1418 public Gdk.Fill fill;
1419 public weak Gdk.Pixmap tile;
1420 public weak Gdk.Pixmap stipple;
1421 public weak Gdk.Pixmap clip_mask;
1422 public Gdk.SubwindowMode subwindow_mode;
1423 public int ts_x_origin;
1424 public int ts_y_origin;
1425 public int clip_x_origin;
1426 public int clip_y_origin;
1427 public int graphics_exposures;
1428 public int line_width;
1429 public Gdk.LineStyle line_style;
1430 public Gdk.CapStyle cap_style;
1431 public Gdk.JoinStyle join_style;
1433 [ReferenceType]
1434 public struct Geometry {
1435 public int min_width;
1436 public int min_height;
1437 public int max_width;
1438 public int max_height;
1439 public int base_width;
1440 public int base_height;
1441 public int width_inc;
1442 public int height_inc;
1443 public double min_aspect;
1444 public double max_aspect;
1445 public Gdk.Gravity win_gravity;
1447 [ReferenceType]
1448 public struct KeymapKey {
1449 public uint keycode;
1450 public int group;
1451 public int level;
1453 [ReferenceType]
1454 public struct PangoAttrEmbossColor {
1455 public weak Pango.Attribute attr;
1456 public Pango.Color color;
1457 public PangoAttrEmbossColor (ref Gdk.Color color);
1459 [ReferenceType]
1460 public struct PangoAttrEmbossed {
1461 public weak Pango.Attribute attr;
1462 public bool embossed;
1463 public PangoAttrEmbossed (bool embossed);
1465 [ReferenceType]
1466 public struct PangoAttrStipple {
1467 public weak Pango.Attribute attr;
1468 public weak Gdk.Bitmap stipple;
1469 public PangoAttrStipple (Gdk.Bitmap stipple);
1471 [ReferenceType]
1472 public struct PixbufFormat {
1473 public weak string get_description ();
1474 public weak string get_extensions ();
1475 public weak string get_license ();
1476 public weak string get_mime_types ();
1477 public weak string get_name ();
1478 public bool is_disabled ();
1479 public bool is_scalable ();
1480 public bool is_writable ();
1481 public void set_disabled (bool disabled);
1483 [ReferenceType]
1484 public struct PixbufFrame {
1485 public weak Gdk.Pixbuf pixbuf;
1486 public int x_offset;
1487 public int y_offset;
1488 public int delay_time;
1489 public int elapsed;
1490 public Gdk.PixbufFrameAction action;
1491 public bool need_recomposite;
1492 public bool bg_transparent;
1493 public weak Gdk.Pixbuf composited;
1494 public weak Gdk.Pixbuf revert;
1496 [ReferenceType]
1497 public struct PixbufScaledAnim {
1498 public static GLib.Type get_type ();
1499 public static GLib.Type iter_get_type ();
1501 [ReferenceType]
1502 public struct PixbufScaledAnimClass {
1504 [ReferenceType]
1505 public struct Pixdata {
1506 public uint magic;
1507 public int length;
1508 public uint pixdata_type;
1509 public uint rowstride;
1510 public uint width;
1511 public uint height;
1512 public uchar pixel_data;
1513 [NoArrayLength]
1514 public bool deserialize (uint stream_length, uchar[] stream, GLib.Error error);
1515 public pointer from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle);
1516 public uchar serialize (uint stream_length_p);
1517 public weak GLib.String to_csource (string name, Gdk.PixdataDumpType dump_type);
1519 [ReferenceType]
1520 public struct PixmapObject {
1521 public weak Gdk.Drawable parent_instance;
1522 public weak Gdk.Drawable impl;
1523 public int depth;
1525 [ReferenceType]
1526 public struct Point {
1527 public int x;
1528 public int y;
1530 [ReferenceType]
1531 public struct PointerHooks {
1533 public struct Rectangle {
1534 public int x;
1535 public int y;
1536 public int width;
1537 public int height;
1538 public static GLib.Type get_type ();
1539 [InstanceByReference]
1540 public bool intersect (ref Gdk.Rectangle src2, ref Gdk.Rectangle dest);
1541 [InstanceByReference]
1542 public void union (ref Gdk.Rectangle src2, ref Gdk.Rectangle dest);
1544 [ReferenceType]
1545 public struct Region {
1546 public long size;
1547 public long numRects;
1548 public weak Gdk.RegionBox rects;
1549 public weak Gdk.RegionBox extents;
1550 public weak Gdk.Region copy ();
1551 public void destroy ();
1552 public bool empty ();
1553 public bool equal (Gdk.Region region2);
1554 public void get_clipbox (ref Gdk.Rectangle rectangle);
1555 [NoArrayLength]
1556 public void get_rectangles (Gdk.Rectangle[] rectangles, int n_rectangles);
1557 public void intersect (Gdk.Region source2);
1558 public Region ();
1559 public void offset (int dx, int dy);
1560 public bool point_in (int x, int y);
1561 public static weak Gdk.Region polygon (Gdk.Point points, int npoints, Gdk.FillRule fill_rule);
1562 public Gdk.OverlapType rect_in (ref Gdk.Rectangle rectangle);
1563 public static weak Gdk.Region rectangle (ref Gdk.Rectangle rectangle);
1564 public void shrink (int dx, int dy);
1565 [NoArrayLength]
1566 public void spans_intersect_foreach (Gdk.Span[] spans, int n_spans, bool sorted, Gdk.SpanFunc function, pointer data);
1567 public void subtract (Gdk.Region source2);
1568 public void union (Gdk.Region source2);
1569 public void union_with_rect (ref Gdk.Rectangle rect);
1570 public void xor (Gdk.Region source2);
1572 [ReferenceType]
1573 public struct RegionBox {
1574 public int x1;
1575 public int y1;
1576 public int x2;
1577 public int y2;
1579 [ReferenceType]
1580 public struct RgbCmap {
1581 public uint colors;
1582 public int n_colors;
1583 public void free ();
1584 [NoArrayLength]
1585 public RgbCmap (uint[] colors, int n_colors);
1587 [ReferenceType]
1588 public struct Segment {
1589 public int x1;
1590 public int y1;
1591 public int x2;
1592 public int y2;
1594 [ReferenceType]
1595 public struct Span {
1596 public int x;
1597 public int y;
1598 public int width;
1600 [ReferenceType]
1601 public struct TimeCoord {
1602 public uint time;
1603 public double axes;
1605 [ReferenceType]
1606 public struct Trapezoid {
1607 public double y1;
1608 public double x11;
1609 public double x21;
1610 public double y2;
1611 public double x12;
1612 public double x22;
1614 public struct WindowAttr {
1615 public weak string title;
1616 public int event_mask;
1617 public int x;
1618 public int y;
1619 public int width;
1620 public int height;
1621 public pointer wclass;
1622 public weak Gdk.Visual visual;
1623 public weak Gdk.Colormap colormap;
1624 public Gdk.WindowType window_type;
1625 public weak Gdk.Cursor cursor;
1626 public weak string wmclass_name;
1627 public weak string wmclass_class;
1628 public bool override_redirect;
1629 public Gdk.WindowTypeHint type_hint;
1631 [ReferenceType]
1632 public struct WindowObject {
1633 public weak Gdk.Drawable parent_instance;
1634 public weak Gdk.Drawable impl;
1635 public weak Gdk.WindowObject parent;
1636 public pointer user_data;
1637 public int x;
1638 public int y;
1639 public int extension_events;
1640 public weak GLib.List filters;
1641 public weak GLib.List children;
1642 public Gdk.Color bg_color;
1643 public weak Gdk.Pixmap bg_pixmap;
1644 public weak GLib.SList paint_stack;
1645 public weak Gdk.Region update_area;
1646 public uint update_freeze_count;
1647 public uchar window_type;
1648 public uchar depth;
1649 public uchar resize_count;
1650 public Gdk.WindowState state;
1651 public uint guffaw_gravity;
1652 public uint input_only;
1653 public uint modal_hint;
1654 public uint composited;
1655 public uint destroyed;
1656 public uint accept_focus;
1657 public uint focus_on_map;
1658 public uint shaped;
1659 public Gdk.EventMask event_mask;
1660 public static GLib.Type get_type ();
1662 [ReferenceType]
1663 public struct POINTBLOCK {
1665 [ReferenceType]
1666 public struct ScanLineList {
1668 [ReferenceType]
1669 public struct ScanLineListBlock {
1671 public struct Atom {
1672 public static Gdk.Atom intern (string atom_name, bool only_if_exists);
1673 public static Gdk.Atom intern_static_string (string atom_name);
1674 public weak string name ();
1676 [ReferenceType]
1677 public struct Cairo {
1678 public static weak Cairo.Context create (Gdk.Drawable drawable);
1679 public static void rectangle (Cairo.Context cr, ref Gdk.Rectangle rectangle);
1680 public static void region (Cairo.Context cr, Gdk.Region region);
1681 public static void set_source_color (Cairo.Context cr, ref Gdk.Color color);
1682 public static void set_source_pixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y);
1683 public static void set_source_pixmap (Cairo.Context cr, Gdk.Pixmap pixmap, double pixmap_x, double pixmap_y);
1685 [ReferenceType]
1686 public struct Char {
1688 [ReferenceType]
1689 public struct Colors {
1691 [ReferenceType]
1692 public struct Drag {
1693 public static void abort (Gdk.DragContext context, uint time_);
1694 public static weak Gdk.DragContext begin (Gdk.Window window, GLib.List targets);
1695 public static void drop (Gdk.DragContext context, uint time_);
1696 public static bool drop_succeeded (Gdk.DragContext context);
1697 public static void find_window (Gdk.DragContext context, Gdk.Window drag_window, int x_root, int y_root, Gdk.Window dest_window, Gdk.DragProtocol protocol);
1698 public static void find_window_for_screen (Gdk.DragContext context, Gdk.Window drag_window, Gdk.Screen screen, int x_root, int y_root, Gdk.Window dest_window, Gdk.DragProtocol protocol);
1699 public static uint get_protocol (uint xid, Gdk.DragProtocol protocol);
1700 public static uint get_protocol_for_display (Gdk.Display display, uint xid, Gdk.DragProtocol protocol);
1701 public static Gdk.Atom get_selection (Gdk.DragContext context);
1702 public static bool 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, uint time_);
1703 public static void status (Gdk.DragContext context, Gdk.DragAction action, uint time_);
1705 [ReferenceType]
1706 public struct Drop {
1707 public static void finish (Gdk.DragContext context, bool success, uint time_);
1708 public static void reply (Gdk.DragContext context, bool ok, uint time_);
1710 [ReferenceType]
1711 public struct Error {
1712 public static int trap_pop ();
1713 public static void trap_push ();
1715 [ReferenceType]
1716 public struct Event {
1717 public weak Gdk.Event copy ();
1718 public void free ();
1719 public static weak Gdk.Event get ();
1720 public bool get_axis (Gdk.AxisUse axis_use, double value);
1721 public bool get_coords (double x_win, double y_win);
1722 public static weak Gdk.Event get_graphics_expose (Gdk.Window window);
1723 public bool get_root_coords (double x_root, double y_root);
1724 public weak Gdk.Screen get_screen ();
1725 public bool get_state (Gdk.ModifierType state);
1726 public uint get_time ();
1727 public static GLib.Type get_type ();
1728 public static void handler_set (Gdk.EventFunc func, pointer data, GLib.DestroyNotify notify);
1729 public Event (Gdk.EventType type);
1730 public static weak Gdk.Event peek ();
1731 public void put ();
1732 public static void request_motions (Gdk.EventMotion event);
1733 public bool send_client_message (pointer winid);
1734 public static bool send_client_message_for_display (Gdk.Display display, Gdk.Event event, pointer winid);
1735 public void send_clientmessage_toall ();
1736 public void set_screen (Gdk.Screen screen);
1738 [ReferenceType]
1739 public struct Fontset {
1741 [ReferenceType]
1742 public struct Input {
1743 public static void set_extension_events (Gdk.Window window, int mask, Gdk.ExtensionMode mode);
1745 [ReferenceType]
1746 public struct Keyboard {
1747 public static Gdk.GrabStatus grab (Gdk.Window window, bool owner_events, uint time_);
1748 public static bool grab_info_libgtk_only (Gdk.Display display, Gdk.Window grab_window, bool owner_events);
1749 public static void ungrab (uint time_);
1751 [ReferenceType]
1752 public struct Keyval {
1753 public static void convert_case (uint symbol, uint lower, uint upper);
1754 public static uint from_name (string keyval_name);
1755 public static bool is_lower (uint keyval);
1756 public static bool is_upper (uint keyval);
1757 public static weak string name (uint keyval);
1758 public static uint to_lower (uint keyval);
1759 public static uint to_unicode (uint keyval);
1760 public static uint to_upper (uint keyval);
1762 [ReferenceType]
1763 public struct Notify {
1764 public static void startup_complete ();
1765 public static void startup_complete_with_id (string startup_id);
1767 [ReferenceType]
1768 public struct Pango {
1769 public static weak Pango.Context context_get ();
1770 public static weak Pango.Context context_get_for_screen (Gdk.Screen screen);
1771 public static weak Gdk.Region layout_get_clip_region (Pango.Layout layout, int x_origin, int y_origin, int index_ranges, int n_ranges);
1772 public static weak Gdk.Region layout_line_get_clip_region (Pango.LayoutLine line, int x_origin, int y_origin, int index_ranges, int n_ranges);
1774 [ReferenceType]
1775 public struct Pointer {
1776 public static Gdk.GrabStatus grab (Gdk.Window window, bool owner_events, Gdk.EventMask event_mask, Gdk.Window confine_to, Gdk.Cursor cursor, uint time_);
1777 public static bool grab_info_libgtk_only (Gdk.Display display, Gdk.Window grab_window, bool owner_events);
1778 public static bool is_grabbed ();
1779 public static void ungrab (uint time_);
1781 [ReferenceType]
1782 public struct Property {
1783 [NoArrayLength]
1784 public static void change (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, uchar[] data, int nelements);
1785 public static void delete (Gdk.Window window, Gdk.Atom property);
1786 [NoArrayLength]
1787 public static bool get (Gdk.Window window, Gdk.Atom property, Gdk.Atom type, ulong offset, ulong length, int pdelete, ref Gdk.Atom actual_property_type, int actual_format, int actual_length, uchar[] data);
1789 [ReferenceType]
1790 public struct Query {
1791 public static void depths (int depths, int count);
1792 public static void visual_types (Gdk.VisualType visual_types, int count);
1794 [ReferenceType]
1795 public struct Rgb {
1796 public static bool colormap_ditherable (Gdk.Colormap cmap);
1797 public static bool ditherable ();
1798 public static void find_color (Gdk.Colormap colormap, ref Gdk.Color color);
1799 public static weak Gdk.Colormap get_colormap ();
1800 public static weak Gdk.Visual get_visual ();
1801 public static void set_install (bool install);
1802 public static void set_min_colors (int min_colors);
1803 public static void set_verbose (bool verbose);
1805 [ReferenceType]
1806 public struct Selection {
1807 public static void convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint time_);
1808 public static weak Gdk.Window owner_get (Gdk.Atom selection);
1809 public static weak Gdk.Window owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
1810 public static bool owner_set (Gdk.Window owner, Gdk.Atom selection, uint time_, bool send_event);
1811 public static bool owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint time_, bool send_event);
1812 [NoArrayLength]
1813 public static bool property_get (Gdk.Window requestor, uchar[] data, ref Gdk.Atom prop_type, int prop_format);
1814 public static void send_notify (uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint time_);
1815 public static void send_notify_for_display (Gdk.Display display, uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint time_);
1817 [ReferenceType]
1818 public struct Spawn {
1819 public static bool command_line_on_screen (Gdk.Screen screen, string command_line, GLib.Error error);
1820 public static bool on_screen (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags @flags, GLib.SpawnChildSetupFunc child_setup, pointer user_data, int child_pid, GLib.Error error);
1821 public static bool on_screen_with_pipes (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags @flags, GLib.SpawnChildSetupFunc child_setup, pointer user_data, int child_pid, int standard_input, int standard_output, int standard_error, GLib.Error error);
1823 [ReferenceType]
1824 public struct Text {
1825 [NoArrayLength]
1826 public static int property_to_text_list (Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1827 [NoArrayLength]
1828 public static int property_to_text_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1829 [NoArrayLength]
1830 public static int property_to_utf8_list (Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1831 [NoArrayLength]
1832 public static int property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1834 [ReferenceType]
1835 public struct Threads {
1836 public static uint add_idle (GLib.SourceFunc function, pointer data);
1837 public static uint add_idle_full (int priority, GLib.SourceFunc function, pointer data, GLib.DestroyNotify notify);
1838 public static uint add_timeout (uint interval, GLib.SourceFunc function, pointer data);
1839 public static uint add_timeout_full (int priority, uint interval, GLib.SourceFunc function, pointer data, GLib.DestroyNotify notify);
1840 public static void enter ();
1841 public static void init ();
1842 public static void leave ();
1843 public static void set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
1845 public static delegate void DestroyNotify (pointer data);
1846 public static delegate void EventFunc (Gdk.Event event, pointer data);
1847 public static delegate Gdk.FilterReturn FilterFunc (pointer xevent, Gdk.Event event, pointer data);
1848 public static delegate void InputFunction (pointer data, int source, Gdk.InputCondition condition);
1849 public static delegate void PixbufDestroyNotify (uchar[] pixels, pointer data);
1850 public static delegate bool PixbufSaveFunc (string buf, ulong count, GLib.Error error, pointer data);
1851 public static delegate void SpanFunc (Gdk.Span span, pointer data);
1852 public static delegate bool invalidate_maybe_recurseChildFunc (Gdk.Window arg1, pointer data);
1853 public static void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, pointer data);
1854 public static void add_option_entries_libgtk_only (GLib.OptionGroup group);
1855 public static weak GLib.List devices_list ();
1856 public static bool events_pending ();
1857 [NoArrayLength]
1858 public static void free_compound_text (uchar[] ctext);
1859 public static void free_text_list (string list);
1860 public static weak Gdk.Window get_default_root_window ();
1861 public static weak string get_display ();
1862 public static weak string get_display_arg_name ();
1863 public static weak string get_program_class ();
1864 public static bool get_show_events ();
1865 public static bool init_check (int argc, string argv);
1866 public static weak GLib.List list_visuals ();
1867 public static void parse_args (int argc, string argv);
1868 public static void pre_parse_libgtk_only ();
1869 public static void set_double_click_time (uint msec);
1870 public static weak string set_locale ();
1871 public static weak Gdk.PointerHooks set_pointer_hooks (Gdk.PointerHooks new_hooks);
1872 public static void set_program_class (string program_class);
1873 public static void set_show_events (bool show_events);
1874 public static void set_sm_client_id (string sm_client_id);
1875 public static bool setting_get (string name, GLib.Value value);
1876 [NoArrayLength]
1877 public static int string_to_compound_text (string str, ref Gdk.Atom encoding, int format, uchar[] ctext, int length);
1878 [NoArrayLength]
1879 public static int string_to_compound_text_for_display (Gdk.Display display, string str, ref Gdk.Atom encoding, int format, uchar[] ctext, int length);
1880 public static uint unicode_to_keyval (uint wc);