1 /* gdk-2.0.vapi generated by lt-vapigen, do not modify. */
3 [CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")]
5 [CCode (cprefix = "GDK_AXIS_", cheader_filename = "gdk/gdk.h")]
16 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
17 public enum ByteOrder {
21 [CCode (cprefix = "GDK_CAP_", cheader_filename = "gdk/gdk.h")]
22 public enum CapStyle {
28 [CCode (cprefix = "GDK_CROSSING_", cheader_filename = "gdk/gdk.h")]
29 public enum CrossingMode {
34 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
35 public enum CursorType {
116 [CCode (cprefix = "GDK_DRAG_PROTO_", cheader_filename = "gdk/gdk.h")]
117 public enum DragProtocol {
126 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
127 public enum EventType {
167 [CCode (cprefix = "GDK_EXTENSION_EVENTS_", cheader_filename = "gdk/gdk.h")]
168 public enum ExtensionMode {
173 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
180 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
181 public enum FillRule {
185 [CCode (cprefix = "GDK_FILTER_", cheader_filename = "gdk/gdk.h")]
186 public enum FilterReturn {
191 [CCode (cprefix = "GDK_FONT_", cheader_filename = "gdk/gdk.h")]
192 public enum FontType {
196 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
197 public enum Function {
215 [CCode (cprefix = "GDK_GRAB_", cheader_filename = "gdk/gdk.h")]
216 public enum GrabStatus {
223 [CCode (cprefix = "GDK_GRAVITY_", cheader_filename = "gdk/gdk.h")]
224 public enum Gravity {
236 [CCode (cprefix = "GDK_IMAGE_", cheader_filename = "gdk/gdk.h")]
237 public enum ImageType {
242 [CCode (cprefix = "GDK_MODE_", cheader_filename = "gdk/gdk.h")]
243 public enum InputMode {
248 [CCode (cprefix = "GDK_SOURCE_", cheader_filename = "gdk/gdk.h")]
249 public enum InputSource {
255 [CCode (cprefix = "GDK_JOIN_", cheader_filename = "gdk/gdk.h")]
256 public enum JoinStyle {
261 [CCode (cprefix = "GDK_LINE_", cheader_filename = "gdk/gdk.h")]
262 public enum LineStyle {
267 [CCode (cprefix = "GDK_NOTIFY_", cheader_filename = "gdk/gdk.h")]
268 public enum NotifyType {
276 [CCode (cprefix = "GDK_OVERLAP_RECTANGLE_", cheader_filename = "gdk/gdk.h")]
277 public enum OverlapType {
282 [CCode (cprefix = "GDK_OWNER_CHANGE_", cheader_filename = "gdk/gdk.h")]
283 public enum OwnerChange {
288 [CCode (cprefix = "GDK_PROP_MODE_", cheader_filename = "gdk/gdk.h")]
289 public enum PropMode {
294 [CCode (cprefix = "GDK_PROPERTY_", cheader_filename = "gdk/gdk.h")]
295 public enum PropertyState {
299 [CCode (cprefix = "GDK_RGB_DITHER_", cheader_filename = "gdk/gdk.h")]
300 public enum RgbDither {
305 [CCode (cprefix = "GDK_SCROLL_", cheader_filename = "gdk/gdk.h")]
306 public enum ScrollDirection {
312 [CCode (cprefix = "GDK_SETTING_ACTION_", cheader_filename = "gdk/gdk.h")]
313 public enum SettingAction {
318 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
326 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
327 public enum SubwindowMode {
331 [CCode (cprefix = "GDK_VISIBILITY_", cheader_filename = "gdk/gdk.h")]
332 public enum VisibilityState {
337 [CCode (cprefix = "GDK_VISUAL_", cheader_filename = "gdk/gdk.h")]
338 public enum VisualType {
346 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
347 public enum WindowClass {
351 [CCode (cprefix = "GDK_WINDOW_EDGE_", cheader_filename = "gdk/gdk.h")]
352 public enum WindowEdge {
362 [CCode (cprefix = "GDK_WINDOW_", cheader_filename = "gdk/gdk.h")]
363 public enum WindowType {
371 [CCode (cprefix = "GDK_WINDOW_TYPE_HINT_", cheader_filename = "gdk/gdk.h")]
372 public enum WindowTypeHint {
388 [CCode (cprefix = "GDK_ACTION_", cheader_filename = "gdk/gdk.h")]
390 public enum DragAction {
398 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
400 public enum EventMask {
403 POINTER_MOTION_HINT_MASK,
416 PROPERTY_CHANGE_MASK,
417 VISIBILITY_NOTIFY_MASK,
424 [CCode (cprefix = "GDK_GC_", cheader_filename = "gdk/gdk.h")]
426 public enum GCValuesMask {
446 [CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
448 public enum InputCondition {
453 [CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
455 public enum ModifierType {
475 [CCode (cprefix = "GDK_DECOR_", cheader_filename = "gdk/gdk.h")]
477 public enum WMDecoration {
486 [CCode (cprefix = "GDK_FUNC_", cheader_filename = "gdk/gdk.h")]
488 public enum WMFunction {
496 [CCode (cprefix = "GDK_WA_", cheader_filename = "gdk/gdk.h")]
498 public enum WindowAttributesType {
509 [CCode (cprefix = "GDK_HINT_", cheader_filename = "gdk/gdk.h")]
511 public enum WindowHints {
522 [CCode (cprefix = "GDK_WINDOW_STATE_", cheader_filename = "gdk/gdk.h")]
524 public enum WindowState {
533 [CCode (ref_function = "g_object_ref", unref_function = "g_object_unref", cheader_filename = "gdk/gdk.h")]
534 public class Bitmap {
535 public weak GLib.Object parent_instance;
537 public static Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
540 [CCode (cheader_filename = "gdk/gdk.h")]
541 public class DisplayPointerHooks {
542 public weak GLib.Callback get_pointer;
543 public weak GLib.Callback window_get_pointer;
544 public weak GLib.Callback window_at_pointer;
547 [CCode (cheader_filename = "gdk/gdk.h")]
548 public class PointerHooks {
549 public weak GLib.Callback get_pointer;
550 public weak GLib.Callback window_at_pointer;
553 [CCode (copy_function = "gdk_region_copy", free_function = "gdk_region_destroy", cheader_filename = "gdk/gdk.h")]
554 public class Region {
555 public weak Gdk.Region copy ();
556 public bool empty ();
557 public bool equal (Gdk.Region region2);
558 public void get_clipbox (out Gdk.Rectangle rectangle);
559 public void get_rectangles (Gdk.Rectangle[] rectangles);
560 public void intersect (Gdk.Region source2);
561 [CCode (has_construct_function = false)]
563 public void offset (int dx, int dy);
564 public bool point_in (int x, int y);
565 public static weak Gdk.Region polygon (Gdk.Point[] points, Gdk.FillRule fill_rule);
566 public Gdk.OverlapType rect_in (Gdk.Rectangle rectangle);
567 public static weak Gdk.Region rectangle (Gdk.Rectangle rectangle);
568 public void shrink (int dx, int dy);
569 public void spans_intersect_foreach (Gdk.Span[] spans, bool sorted, Gdk.SpanFunc function, void* data);
570 public void subtract (Gdk.Region source2);
571 public void union (Gdk.Region source2);
572 public void union_with_rect (Gdk.Rectangle rect);
573 public void xor (Gdk.Region source2);
576 [CCode (ref_function = "gdk_cursor_ref", unref_function = "gdk_cursor_unref", cheader_filename = "gdk/gdk.h")]
577 public class Cursor {
578 public Gdk.CursorType type;
579 public uint ref_count;
580 public weak Gdk.Display get_display ();
581 public weak Gdk.Pixbuf get_image ();
582 [CCode (has_construct_function = false)]
583 public Cursor (Gdk.CursorType cursor_type);
584 [CCode (has_construct_function = false)]
585 public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
586 [CCode (has_construct_function = false)]
587 public Cursor.from_name (Gdk.Display display, string name);
588 [CCode (has_construct_function = false)]
589 public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
590 [CCode (has_construct_function = false)]
591 public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y);
594 [CCode (ref_function = "gdk_font_ref", unref_function = "gdk_font_unref", cheader_filename = "gdk/gdk.h")]
596 public Gdk.FontType type;
599 public bool equal (Gdk.Font fontb);
600 public static weak Gdk.Font from_description_for_display (Gdk.Display display, Pango.FontDescription font_desc);
602 public static weak Gdk.Font load_for_display (Gdk.Display display, string font_name);
604 [CCode (cheader_filename = "gdk/gdk.h")]
605 public class AppLaunchContext : GLib.AppLaunchContext {
606 [CCode (has_construct_function = false)]
607 public AppLaunchContext ();
608 public void set_desktop (int desktop);
609 public void set_display (Gdk.Display display);
610 public void set_icon (GLib.Icon icon);
611 public void set_icon_name (string icon_name);
612 public void set_screen (Gdk.Screen screen);
613 public void set_timestamp (uint timestamp);
615 [CCode (cheader_filename = "gdk/gdk.h")]
616 public class Colormap : GLib.Object {
618 public Gdk.Color colors;
619 public weak Gdk.Visual visual;
620 public void* windowing_data;
621 public bool alloc_color (Gdk.Color color, bool writeable, bool best_match);
622 public int alloc_colors (Gdk.Color[][] colors, bool writeable, bool best_match, bool success);
623 public void change (int ncolors);
624 public void free_colors (Gdk.Color[][] colors);
625 public weak Gdk.Screen get_screen ();
626 public static weak Gdk.Colormap get_system ();
627 public weak Gdk.Visual get_visual ();
628 [CCode (has_construct_function = false)]
629 public Colormap (Gdk.Visual visual, bool allocate);
630 public void query_color (ulong pixel, out Gdk.Color _result);
632 [CCode (cheader_filename = "gdk/gdk.h")]
633 public class Device : GLib.Object {
634 public weak string name;
635 public Gdk.InputSource source;
636 public Gdk.InputMode mode;
637 public bool has_cursor;
640 public weak Gdk.DeviceAxis[] axes;
643 public weak Gdk.DeviceKey[] keys;
644 public static void free_history (Gdk.TimeCoord[] events);
645 public bool get_axis (double axes, Gdk.AxisUse use, double value);
646 public static weak Gdk.Device get_core_pointer ();
647 public bool get_history (Gdk.Window window, uint start, uint stop, Gdk.TimeCoord[] events);
648 public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask);
649 public void set_axis_use (uint index_, Gdk.AxisUse use);
650 public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
651 public bool set_mode (Gdk.InputMode mode);
652 public void set_source (Gdk.InputSource source);
654 [CCode (cheader_filename = "gdk/gdk.h")]
655 public class Display : GLib.Object {
656 public weak GLib.List queued_events;
657 public weak GLib.List queued_tail;
659 public weak uint[] button_click_time;
661 public weak Gdk.Window[] button_window;
663 public weak int[] button_number;
664 public uint double_click_time;
665 public weak Gdk.Device core_pointer;
666 public weak Gdk.DisplayPointerHooks pointer_hooks;
667 public uint double_click_distance;
669 public weak int[] button_x;
671 public weak int[] button_y;
672 public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, void* data);
674 public void close ();
675 public void flush ();
676 public weak Gdk.Device get_core_pointer ();
677 public static weak Gdk.Display get_default ();
678 public uint get_default_cursor_size ();
679 public weak Gdk.Window get_default_group ();
680 public Gdk.Event get_event ();
681 public void get_maximal_cursor_size (out uint width, out uint height);
682 public weak string get_name ();
683 public void get_pointer (out weak Gdk.Screen screen, int x, int y, Gdk.ModifierType mask);
684 public weak Gdk.Window get_window_at_pointer (int win_x, int win_y);
685 public void keyboard_ungrab (uint time_);
686 public weak GLib.List list_devices ();
687 public static weak Gdk.Display open (string display_name);
688 public static weak Gdk.Display open_default_libgtk_only ();
689 public Gdk.Event peek_event ();
690 public bool pointer_is_grabbed ();
691 public void pointer_ungrab (uint time_);
692 public void put_event (Gdk.Event event);
693 public bool request_selection_notification (Gdk.Atom selection);
694 public void set_double_click_distance (uint distance);
695 public void set_double_click_time (uint msec);
696 public weak Gdk.DisplayPointerHooks set_pointer_hooks (Gdk.DisplayPointerHooks new_hooks);
697 public void store_clipboard (Gdk.Window clipboard_window, uint time_, Gdk.Atom[] targets);
698 public bool supports_clipboard_persistence ();
699 public bool supports_composite ();
700 public bool supports_cursor_alpha ();
701 public bool supports_cursor_color ();
702 public bool supports_input_shapes ();
703 public bool supports_selection_notification ();
704 public bool supports_shapes ();
706 public void warp_pointer (Gdk.Screen screen, int x, int y);
707 public virtual weak Gdk.Screen get_default_screen ();
709 public virtual weak string get_display_name ();
710 public virtual int get_n_screens ();
711 public virtual weak Gdk.Screen get_screen (int screen_num);
712 public virtual signal void closed (bool is_error);
714 [CCode (cheader_filename = "gdk/gdk.h")]
715 public class DisplayManager : GLib.Object {
716 public static weak Gdk.DisplayManager get ();
717 public weak Gdk.Display get_default_display ();
718 public weak GLib.SList list_displays ();
719 public void set_default_display (Gdk.Display display);
720 public Gdk.Display default_display { get; set; }
721 public virtual signal void display_opened (Gdk.Display display);
723 [CCode (cheader_filename = "gdk/gdk.h")]
724 public class DragContext : GLib.Object {
725 public Gdk.DragProtocol protocol;
726 public bool is_source;
727 public weak Gdk.Window source_window;
728 public weak Gdk.Window dest_window;
729 public weak GLib.List targets;
730 public Gdk.DragAction actions;
731 public Gdk.DragAction suggested_action;
732 public Gdk.DragAction action;
733 public uint start_time;
734 public void* windowing_data;
735 [CCode (has_construct_function = false)]
736 public DragContext ();
738 [CCode (cheader_filename = "gdk/gdk.h")]
739 public class Drawable : GLib.Object {
740 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);
741 public weak Gdk.Display get_display ();
743 public virtual weak Gdk.GC create_gc (Gdk.GCValues values, Gdk.GCValuesMask mask);
745 public virtual void draw_arc (Gdk.GC gc, bool filled, int x, int y, int width, int height, int angle1, int angle2);
747 public virtual void draw_drawable (Gdk.GC gc, Gdk.Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
749 public virtual void draw_glyphs (Gdk.GC gc, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
751 public virtual void draw_glyphs_transformed (Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs);
753 public virtual void draw_image (Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height);
755 public virtual void draw_lines (Gdk.GC gc, Gdk.Point points, int npoints);
757 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);
759 public virtual void draw_points (Gdk.GC gc, Gdk.Point points, int npoints);
761 public virtual void draw_polygon (Gdk.GC gc, bool filled, Gdk.Point points, int npoints);
763 public virtual void draw_rectangle (Gdk.GC gc, bool filled, int x, int y, int width, int height);
765 public virtual void draw_segments (Gdk.GC gc, Gdk.Segment segs, int nsegs);
767 public virtual void draw_text (Gdk.Font font, Gdk.GC gc, int x, int y, string text, int text_length);
769 public virtual void draw_text_wc (Gdk.Font font, Gdk.GC gc, int x, int y, Gdk.WChar text, int text_length);
771 public virtual void draw_trapezoids (Gdk.GC gc, Gdk.Trapezoid[] trapezoids);
772 public virtual weak Gdk.Region get_clip_region ();
773 public virtual weak Gdk.Colormap get_colormap ();
775 public virtual weak Gdk.Drawable get_composite_drawable (int x, int y, int width, int height, int composite_x_offset, int composite_y_offset);
776 public virtual int get_depth ();
777 public virtual weak Gdk.Image get_image (int x, int y, int width, int height);
778 public virtual weak Gdk.Screen get_screen ();
779 public virtual void get_size (out int width, out int height);
780 public virtual weak Gdk.Region get_visible_region ();
781 public virtual weak Gdk.Visual get_visual ();
783 public virtual weak Cairo.Surface ref_cairo_surface ();
784 public virtual void set_colormap (Gdk.Colormap colormap);
786 [CCode (cheader_filename = "gdk/gdk.h")]
787 public class GC : GLib.Object {
788 public int clip_x_origin;
789 public int clip_y_origin;
790 public int ts_x_origin;
791 public int ts_y_origin;
792 public weak Gdk.Colormap colormap;
793 public void copy (Gdk.GC src_gc);
794 public weak Gdk.Colormap get_colormap ();
795 public weak Gdk.Screen get_screen ();
796 [CCode (has_construct_function = false)]
797 public GC (Gdk.Drawable drawable);
798 [CCode (has_construct_function = false)]
799 public GC.with_values (Gdk.Drawable drawable, Gdk.GCValues values, Gdk.GCValuesMask values_mask);
800 public void offset (int x_offset, int y_offset);
801 public void set_background (Gdk.Color color);
802 public void set_clip_mask (Gdk.Bitmap mask);
803 public void set_clip_origin (int x, int y);
804 public void set_clip_rectangle (Gdk.Rectangle rectangle);
805 public void set_clip_region (Gdk.Region region);
806 public void set_colormap (Gdk.Colormap colormap);
807 public void set_exposures (bool exposures);
808 public void set_fill (Gdk.Fill fill);
809 public void set_foreground (Gdk.Color color);
810 public void set_function (Gdk.Function function);
811 public void set_line_attributes (int line_width, Gdk.LineStyle line_style, Gdk.CapStyle cap_style, Gdk.JoinStyle join_style);
812 public void set_rgb_bg_color (Gdk.Color color);
813 public void set_rgb_fg_color (Gdk.Color color);
814 public void set_stipple (Gdk.Pixmap stipple);
815 public void set_subwindow (Gdk.SubwindowMode mode);
816 public void set_tile (Gdk.Pixmap tile);
817 public void set_ts_origin (int x, int y);
818 public virtual void get_values (Gdk.GCValues values);
819 public virtual void set_dashes (int dash_offset, char[] dash_list, int n);
820 public virtual void set_values (Gdk.GCValues values, Gdk.GCValuesMask values_mask);
822 [CCode (cheader_filename = "gdk/gdk.h")]
823 public class Image : GLib.Object {
824 public Gdk.ImageType type;
825 public weak Gdk.Visual visual;
826 public Gdk.ByteOrder byte_order;
832 public ushort bits_per_pixel;
834 public weak Gdk.Colormap colormap;
835 public void* windowing_data;
836 public weak Gdk.Colormap get_colormap ();
837 public uint get_pixel (int x, int y);
838 [CCode (has_construct_function = false)]
839 public Image (Gdk.ImageType type, Gdk.Visual visual, int width, int height);
840 public void put_pixel (int x, int y, uint pixel);
841 public void set_colormap (Gdk.Colormap colormap);
843 [CCode (cheader_filename = "gdk/gdk.h")]
844 public class Keymap : GLib.Object {
845 public weak Gdk.Display display;
846 public static weak Gdk.Keymap get_default ();
847 public Pango.Direction get_direction ();
848 public bool get_entries_for_keycode (uint hardware_keycode, out weak Gdk.KeymapKey[]? keys, out weak uint[]? keyvals, int n_entries);
849 public bool get_entries_for_keyval (uint keyval, Gdk.KeymapKey[] keys);
850 public static weak Gdk.Keymap get_for_display (Gdk.Display display);
851 public bool have_bidi_layouts ();
852 public uint lookup_key (Gdk.KeymapKey key);
853 public bool translate_keyboard_state (uint hardware_keycode, Gdk.ModifierType state, int group, uint keyval, int effective_group, int level, Gdk.ModifierType consumed_modifiers);
854 public virtual signal void direction_changed ();
855 public virtual signal void keys_changed ();
857 [CCode (cheader_filename = "gdk/gdk.h")]
858 public class PangoRenderer : Pango.Renderer {
859 public static weak Pango.Renderer get_default (Gdk.Screen screen);
860 [CCode (type = "PangoRenderer*", has_construct_function = false)]
861 public PangoRenderer (Gdk.Screen screen);
862 public void set_drawable (Gdk.Drawable drawable);
863 public void set_gc (Gdk.GC gc);
864 public void set_override_color (Pango.RenderPart part, Gdk.Color color);
865 public void set_stipple (Pango.RenderPart part, Gdk.Bitmap stipple);
867 public Gdk.Screen screen { get; construct; }
869 [CCode (cheader_filename = "gdk/gdk.h")]
870 public class Pixmap : Gdk.Drawable {
871 public static weak Gdk.Pixmap colormap_create_from_xpm (Gdk.Drawable drawable, Gdk.Colormap colormap, out weak Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);
872 public static weak Gdk.Pixmap colormap_create_from_xpm_d (Gdk.Drawable drawable, Gdk.Colormap colormap, out weak Gdk.Bitmap mask, Gdk.Color transparent_color, string data);
873 public static weak Gdk.Pixmap create_from_data (Gdk.Drawable drawable, string data, int width, int height, int depth, Gdk.Color fg, Gdk.Color bg);
874 public static weak Gdk.Pixmap create_from_xpm (Gdk.Drawable drawable, out weak Gdk.Bitmap mask, Gdk.Color transparent_color, string filename);
875 public static weak Gdk.Pixmap create_from_xpm_d (Gdk.Drawable drawable, out weak Gdk.Bitmap mask, Gdk.Color transparent_color, string data);
876 public static weak Gdk.Pixmap foreign_new (Gdk.NativeWindow anid);
877 public static weak Gdk.Pixmap foreign_new_for_display (Gdk.Display display, Gdk.NativeWindow anid);
878 public static weak Gdk.Pixmap foreign_new_for_screen (Gdk.Screen screen, Gdk.NativeWindow anid, int width, int height, int depth);
879 public static weak Gdk.Pixmap lookup (Gdk.NativeWindow anid);
880 public static weak Gdk.Pixmap lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid);
881 [CCode (has_construct_function = false)]
882 public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);
884 [CCode (cheader_filename = "gdk/gdk.h")]
885 public class Screen : GLib.Object {
888 public weak Gdk.GC[] normal_gcs;
890 public weak Gdk.GC[] exposure_gcs;
891 public void broadcast_client_message (Gdk.Event event);
892 public weak Gdk.Window get_active_window ();
893 public static weak Gdk.Screen get_default ();
894 public weak Gdk.Colormap get_default_colormap ();
895 public weak Gdk.Display get_display ();
896 public weak Cairo.FontOptions get_font_options ();
897 public int get_height ();
898 public int get_height_mm ();
899 public int get_monitor_at_point (int x, int y);
900 public int get_monitor_at_window (Gdk.Window window);
901 public void get_monitor_geometry (int monitor_num, out Gdk.Rectangle dest);
902 public int get_monitor_height_mm (int monitor_num);
903 public weak string get_monitor_plug_name (int monitor_num);
904 public int get_monitor_width_mm (int monitor_num);
905 public int get_n_monitors ();
906 public int get_number ();
907 public double get_resolution ();
908 public weak Gdk.Colormap get_rgb_colormap ();
909 public weak Gdk.Visual get_rgb_visual ();
910 public weak Gdk.Colormap get_rgba_colormap ();
911 public weak Gdk.Visual get_rgba_visual ();
912 public weak Gdk.Window get_root_window ();
913 public bool get_setting (string name, GLib.Value value);
914 public weak Gdk.Colormap get_system_colormap ();
915 public weak Gdk.Visual get_system_visual ();
916 public weak GLib.List get_toplevel_windows ();
917 public int get_width ();
918 public int get_width_mm ();
919 public weak GLib.List get_window_stack ();
920 public static int height ();
921 public static int height_mm ();
922 public bool is_composited ();
923 public weak GLib.List list_visuals ();
924 public weak string make_display_name ();
925 public void set_default_colormap (Gdk.Colormap colormap);
926 public void set_font_options (Cairo.FontOptions options);
927 public void set_resolution (double dpi);
928 public static int width ();
929 public static int width_mm ();
930 public void* font_options { get; set; }
931 public double resolution { get; set; }
932 public virtual signal void composited_changed ();
933 public virtual signal void monitors_changed ();
934 public virtual signal void size_changed ();
936 [CCode (cheader_filename = "gdk/gdk.h")]
937 public class Visual : GLib.Object {
938 public Gdk.VisualType type;
940 public Gdk.ByteOrder byte_order;
941 public int colormap_size;
942 public int bits_per_rgb;
943 public uint red_mask;
944 public int red_shift;
946 public uint green_mask;
947 public int green_shift;
948 public int green_prec;
949 public uint blue_mask;
950 public int blue_shift;
951 public int blue_prec;
952 public static weak Gdk.Visual get_best ();
953 public static int get_best_depth ();
954 public static Gdk.VisualType get_best_type ();
955 public static weak Gdk.Visual get_best_with_both (int depth, Gdk.VisualType visual_type);
956 public static weak Gdk.Visual get_best_with_depth (int depth);
957 public static weak Gdk.Visual get_best_with_type (Gdk.VisualType visual_type);
958 public weak Gdk.Screen get_screen ();
959 public static weak Gdk.Visual get_system ();
961 [CCode (cheader_filename = "gdk/gdk.h")]
962 public class Window : Gdk.Drawable {
963 public void add_filter (Gdk.FilterFunc function, void* data);
964 public static weak Gdk.Window at_pointer (out int win_x, out int win_y);
966 public void begin_move_drag (int button, int root_x, int root_y, uint timestamp);
967 public void begin_paint_rect (Gdk.Rectangle rectangle);
968 public void begin_paint_region (Gdk.Region region);
969 public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint timestamp);
970 public void clear ();
971 public void clear_area (int x, int y, int width, int height);
972 public void clear_area_e (int x, int y, int width, int height);
973 public void configure_finished ();
974 public static void constrain_size (Gdk.Geometry geometry, uint flags, int width, int height, out int new_width, out int new_height);
975 public void deiconify ();
976 public void destroy ();
977 public void destroy_notify ();
978 public void enable_synchronized_configure ();
979 public void end_paint ();
980 public void focus (uint timestamp);
981 public static weak Gdk.Window foreign_new (Gdk.NativeWindow anid);
982 public static weak Gdk.Window foreign_new_for_display (Gdk.Display display, Gdk.NativeWindow anid);
983 public void freeze_toplevel_updates_libgtk_only ();
984 public void freeze_updates ();
985 public void fullscreen ();
986 public weak GLib.List get_children ();
987 public bool get_decorations (out Gdk.WMDecoration decorations);
988 public Gdk.EventMask get_events ();
989 public void get_frame_extents (out Gdk.Rectangle rect);
990 public void get_geometry (out int x, out int y, out int width, out int height, out int depth);
991 public weak Gdk.Window get_group ();
992 public void get_internal_paint_info (out weak Gdk.Drawable real_drawable, out int x_offset, out int y_offset);
993 public int get_origin (out int x, out int y);
994 public weak Gdk.Window get_parent ();
995 public weak Gdk.Window get_pointer (out int x, out int y, out Gdk.ModifierType mask);
996 public void get_position (out int x, out int y);
997 public void get_root_origin (out int x, out int y);
998 public Gdk.WindowState get_state ();
999 public weak Gdk.Window get_toplevel ();
1000 public static weak GLib.List get_toplevels ();
1001 public Gdk.WindowTypeHint get_type_hint ();
1002 public weak Gdk.Region get_update_area ();
1003 public void get_user_data (void* data);
1004 public Gdk.WindowType get_window_type ();
1005 public void hide ();
1006 public void iconify ();
1007 public void input_shape_combine_mask (Gdk.Bitmap mask, int x, int y);
1008 public void input_shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y);
1009 public void invalidate_maybe_recurse (Gdk.Region region, GLib.Callback child_func);
1010 public void invalidate_rect (Gdk.Rectangle? rect, bool invalidate_children);
1011 public void invalidate_region (Gdk.Region region, bool invalidate_children);
1012 public bool is_viewable ();
1013 public bool is_visible ();
1014 public static weak Gdk.Window lookup (Gdk.NativeWindow anid);
1015 public static weak Gdk.Window lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid);
1016 public void lower ();
1017 public void maximize ();
1018 public void merge_child_input_shapes ();
1019 public void merge_child_shapes ();
1020 public void move (int x, int y);
1021 public void move_region (Gdk.Region region, int dx, int dy);
1022 public void move_resize (int x, int y, int width, int height);
1023 [CCode (has_construct_function = false)]
1024 public Window (Gdk.Window parent, Gdk.WindowAttr attributes, int attributes_mask);
1025 public weak GLib.List peek_children ();
1026 public static void process_all_updates ();
1027 public void process_updates (bool update_children);
1028 public void raise ();
1029 public void register_dnd ();
1030 public void remove_filter (Gdk.FilterFunc function, void* data);
1031 public void remove_redirection ();
1032 public void reparent (Gdk.Window new_parent, int x, int y);
1033 public void resize (int width, int height);
1034 public void scroll (int dx, int dy);
1035 public void set_accept_focus (bool accept_focus);
1036 public void set_back_pixmap (Gdk.Pixmap pixmap, bool parent_relative);
1037 public void set_background (Gdk.Color color);
1038 public void set_child_input_shapes ();
1039 public void set_child_shapes ();
1040 public void set_composited (bool composited);
1041 public void set_cursor (Gdk.Cursor? cursor);
1042 public static void set_debug_updates (bool setting);
1043 public void set_decorations (Gdk.WMDecoration decorations);
1044 public void set_events (Gdk.EventMask event_mask);
1045 public void set_focus_on_map (bool focus_on_map);
1046 public void set_functions (Gdk.WMFunction functions);
1047 public void set_geometry_hints (Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
1048 public void set_group (Gdk.Window leader);
1049 public void set_icon (Gdk.Window icon_window, Gdk.Pixmap pixmap, Gdk.Bitmap mask);
1050 public void set_icon_list (GLib.List pixbufs);
1051 public void set_icon_name (string name);
1052 public void set_keep_above (bool setting);
1053 public void set_keep_below (bool setting);
1054 public void set_modal_hint (bool modal);
1055 public void set_opacity (double opacity);
1056 public void set_override_redirect (bool override_redirect);
1057 public void set_role (string role);
1058 public void set_skip_pager_hint (bool skips_pager);
1059 public void set_skip_taskbar_hint (bool skips_taskbar);
1060 public void set_startup_id (string startup_id);
1061 public bool set_static_gravities (bool use_static);
1062 public void set_title (string title);
1063 public void set_transient_for (Gdk.Window parent);
1064 public void set_type_hint (Gdk.WindowTypeHint hint);
1065 public void set_urgency_hint (bool urgent);
1066 public void set_user_data (void* user_data);
1067 public void shape_combine_mask (Gdk.Bitmap mask, int x, int y);
1068 public void shape_combine_region (Gdk.Region shape_region, int offset_x, int offset_y);
1069 public void show ();
1070 public void show_unraised ();
1071 public void stick ();
1072 public void thaw_toplevel_updates_libgtk_only ();
1073 public void thaw_updates ();
1074 public void unfullscreen ();
1075 public void unmaximize ();
1076 public void unstick ();
1077 public void withdraw ();
1079 [CCode (cheader_filename = "gdk/gdk.h")]
1081 public struct Atom {
1082 public static Gdk.Atom intern (string atom_name, bool only_if_exists);
1083 public static Gdk.Atom intern_static_string (string atom_name);
1084 public weak string name ();
1086 [CCode (cheader_filename = "gdk/gdk.h")]
1087 public struct DeviceAxis {
1088 public Gdk.AxisUse use;
1092 [CCode (cheader_filename = "gdk/gdk.h")]
1093 public struct DeviceKey {
1095 public Gdk.ModifierType modifiers;
1097 [CCode (cheader_filename = "gdk/gdk.h")]
1098 public struct EventAny {
1099 public Gdk.EventType type;
1100 public weak Gdk.Window window;
1101 public char send_event;
1103 [CCode (cheader_filename = "gdk/gdk.h")]
1104 public struct EventButton {
1105 public Gdk.EventType type;
1106 public weak Gdk.Window window;
1107 public char send_event;
1114 public weak Gdk.Device device;
1115 public double x_root;
1116 public double y_root;
1118 [CCode (cheader_filename = "gdk/gdk.h")]
1119 public struct EventClient {
1120 public Gdk.EventType type;
1121 public weak Gdk.Window window;
1122 public char send_event;
1123 public Gdk.Atom message_type;
1124 public ushort data_format;
1127 [CCode (cheader_filename = "gdk/gdk.h")]
1128 public struct EventConfigure {
1129 public Gdk.EventType type;
1130 public weak Gdk.Window window;
1131 public char send_event;
1137 [CCode (cheader_filename = "gdk/gdk.h")]
1138 public struct EventCrossing {
1139 public Gdk.EventType type;
1140 public weak Gdk.Window window;
1141 public char send_event;
1142 public weak Gdk.Window subwindow;
1146 public double x_root;
1147 public double y_root;
1148 public Gdk.CrossingMode mode;
1149 public Gdk.NotifyType detail;
1153 [CCode (cheader_filename = "gdk/gdk.h")]
1154 public struct EventDND {
1155 public Gdk.EventType type;
1156 public weak Gdk.Window window;
1157 public char send_event;
1158 public weak Gdk.DragContext context;
1160 public short x_root;
1161 public short y_root;
1163 [CCode (cheader_filename = "gdk/gdk.h")]
1164 public struct EventExpose {
1165 public Gdk.EventType type;
1166 public weak Gdk.Window window;
1167 public char send_event;
1168 public Gdk.Rectangle area;
1169 public weak Gdk.Region region;
1172 [CCode (cheader_filename = "gdk/gdk.h")]
1173 public struct EventFocus {
1174 public Gdk.EventType type;
1175 public weak Gdk.Window window;
1176 public char send_event;
1179 [CCode (cheader_filename = "gdk/gdk.h")]
1180 public struct EventGrabBroken {
1181 public Gdk.EventType type;
1182 public weak Gdk.Window window;
1183 public char send_event;
1184 public bool keyboard;
1185 public bool implicit;
1186 public weak Gdk.Window grab_window;
1188 [CCode (cheader_filename = "gdk/gdk.h")]
1189 public struct EventKey {
1190 public Gdk.EventType type;
1191 public weak Gdk.Window window;
1192 public char send_event;
1197 [CCode (cname = "string")]
1198 public weak string str;
1199 public ushort hardware_keycode;
1201 public uint is_modifier;
1203 [CCode (cheader_filename = "gdk/gdk.h")]
1204 public struct EventMotion {
1205 public Gdk.EventType type;
1206 public weak Gdk.Window window;
1207 public char send_event;
1212 public Gdk.ModifierType state;
1213 public bool is_hint;
1214 public weak Gdk.Device device;
1215 public double x_root;
1216 public double y_root;
1218 [CCode (cheader_filename = "gdk/gdk.h")]
1219 public struct EventNoExpose {
1220 public Gdk.EventType type;
1221 public weak Gdk.Window window;
1222 public char send_event;
1224 [CCode (cheader_filename = "gdk/gdk.h")]
1225 public struct EventOwnerChange {
1226 public Gdk.EventType type;
1227 public weak Gdk.Window window;
1228 public char send_event;
1229 public Gdk.NativeWindow owner;
1230 public Gdk.OwnerChange reason;
1231 public Gdk.Atom selection;
1233 public uint selection_time;
1235 [CCode (cheader_filename = "gdk/gdk.h")]
1236 public struct EventProperty {
1237 public Gdk.EventType type;
1238 public weak Gdk.Window window;
1239 public char send_event;
1240 public Gdk.Atom atom;
1244 [CCode (cheader_filename = "gdk/gdk.h")]
1245 public struct EventProximity {
1246 public Gdk.EventType type;
1247 public weak Gdk.Window window;
1248 public char send_event;
1250 public weak Gdk.Device device;
1252 [CCode (cheader_filename = "gdk/gdk.h")]
1253 public struct EventScroll {
1254 public Gdk.EventType type;
1255 public weak Gdk.Window window;
1256 public char send_event;
1261 public Gdk.ScrollDirection direction;
1262 public weak Gdk.Device device;
1263 public double x_root;
1264 public double y_root;
1266 [CCode (cheader_filename = "gdk/gdk.h")]
1267 public struct EventSelection {
1268 public Gdk.EventType type;
1269 public weak Gdk.Window window;
1270 public char send_event;
1271 public Gdk.Atom selection;
1272 public Gdk.Atom target;
1273 public Gdk.Atom property;
1275 public Gdk.NativeWindow requestor;
1277 [CCode (cheader_filename = "gdk/gdk.h")]
1278 public struct EventSetting {
1279 public Gdk.EventType type;
1280 public weak Gdk.Window window;
1281 public char send_event;
1282 public Gdk.SettingAction action;
1283 public weak string name;
1285 [CCode (cheader_filename = "gdk/gdk.h")]
1286 public struct EventVisibility {
1287 public Gdk.EventType type;
1288 public weak Gdk.Window window;
1289 public char send_event;
1290 public Gdk.VisibilityState state;
1292 [CCode (cheader_filename = "gdk/gdk.h")]
1293 public struct EventWindowState {
1294 public Gdk.EventType type;
1295 public weak Gdk.Window window;
1296 public char send_event;
1297 public Gdk.WindowState changed_mask;
1298 public Gdk.WindowState new_window_state;
1300 [CCode (cheader_filename = "gdk/gdk.h")]
1301 public struct GCValues {
1302 public Gdk.Color foreground;
1303 public Gdk.Color background;
1304 public weak Gdk.Font font;
1305 public Gdk.Function function;
1306 public Gdk.Fill fill;
1307 public weak Gdk.Pixmap tile;
1308 public weak Gdk.Pixmap stipple;
1309 public weak Gdk.Pixmap clip_mask;
1310 public Gdk.SubwindowMode subwindow_mode;
1311 public int ts_x_origin;
1312 public int ts_y_origin;
1313 public int clip_x_origin;
1314 public int clip_y_origin;
1315 public int graphics_exposures;
1316 public int line_width;
1317 public Gdk.LineStyle line_style;
1318 public Gdk.CapStyle cap_style;
1319 public Gdk.JoinStyle join_style;
1321 [CCode (cheader_filename = "gdk/gdk.h")]
1322 public struct Geometry {
1323 public int min_width;
1324 public int min_height;
1325 public int max_width;
1326 public int max_height;
1327 public int base_width;
1328 public int base_height;
1329 public int width_inc;
1330 public int height_inc;
1331 public double min_aspect;
1332 public double max_aspect;
1333 public Gdk.Gravity win_gravity;
1335 [CCode (cheader_filename = "gdk/gdk.h")]
1336 public struct KeymapKey {
1337 public uint keycode;
1341 [CCode (cheader_filename = "gdk/gdk.h")]
1342 public struct NativeWindow {
1344 [CCode (cheader_filename = "gdk/gdk.h")]
1345 public struct PangoAttrEmbossColor {
1346 public weak Pango.Attribute attr;
1347 public Pango.Color color;
1348 [CCode (cname = "gdk_pango_attr_emboss_color_new", has_construct_function = false)]
1349 public PangoAttrEmbossColor (Gdk.Color color);
1351 [CCode (cheader_filename = "gdk/gdk.h")]
1352 public struct PangoAttrEmbossed {
1353 public weak Pango.Attribute attr;
1354 public bool embossed;
1355 [CCode (cname = "gdk_pango_attr_embossed_new", has_construct_function = false)]
1356 public PangoAttrEmbossed (bool embossed);
1358 [CCode (cheader_filename = "gdk/gdk.h")]
1359 public struct PangoAttrStipple {
1360 public weak Pango.Attribute attr;
1361 public weak Gdk.Bitmap stipple;
1362 [CCode (cname = "gdk_pango_attr_stipple_new", has_construct_function = false)]
1363 public PangoAttrStipple (Gdk.Bitmap stipple);
1365 [CCode (cheader_filename = "gdk/gdk.h")]
1366 public struct Point {
1370 [CCode (cheader_filename = "gdk/gdk.h")]
1371 public struct RgbCmap {
1373 public weak uint[] colors;
1374 public int n_colors;
1375 public weak GLib.SList info_list;
1376 public void free ();
1377 [CCode (cname = "gdk_rgb_cmap_new", has_construct_function = false)]
1378 public RgbCmap (uint[] colors);
1380 [CCode (cheader_filename = "gdk/gdk.h")]
1381 public struct Segment {
1387 [CCode (cheader_filename = "gdk/gdk.h")]
1388 public struct Span {
1393 [CCode (cheader_filename = "gdk/gdk.h")]
1394 public struct TimeCoord {
1397 public weak double[] axes;
1399 [CCode (cheader_filename = "gdk/gdk.h")]
1400 public struct Trapezoid {
1408 [CCode (cheader_filename = "gdk/gdk.h")]
1409 public struct WChar {
1411 [CCode (cheader_filename = "gdk/gdk.h")]
1412 public struct WindowAttr {
1413 public weak string title;
1414 public int event_mask;
1419 public Gdk.WindowClass wclass;
1420 public weak Gdk.Visual visual;
1421 public weak Gdk.Colormap colormap;
1422 public Gdk.WindowType window_type;
1423 public weak Gdk.Cursor cursor;
1424 public weak string wmclass_name;
1425 public weak string wmclass_class;
1426 public bool override_redirect;
1427 public Gdk.WindowTypeHint type_hint;
1429 [CCode (cheader_filename = "gdk/gdk.h")]
1430 public struct WindowRedirect {
1431 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);
1433 [CCode (cheader_filename = "gdk/gdk.h")]
1434 public struct XEvent {
1436 [CCode (type_id = "GDK_TYPE_COLOR", cheader_filename = "gdk/gdk.h")]
1437 public struct Color {
1440 public ushort green;
1442 public Gdk.Color copy ();
1443 public bool equal (Gdk.Color colorb);
1444 public void free ();
1445 public uint hash ();
1446 public static bool parse (string spec, out Gdk.Color color);
1447 public weak string to_string ();
1449 [CCode (type_id = "GDK_TYPE_EVENT", cheader_filename = "gdk/gdk.h")]
1450 public struct Event {
1451 public Gdk.EventType type;
1452 public Gdk.EventAny any;
1453 public Gdk.EventExpose expose;
1454 public Gdk.EventNoExpose no_expose;
1455 public Gdk.EventVisibility visibility;
1456 public Gdk.EventMotion motion;
1457 public Gdk.EventButton button;
1458 public Gdk.EventScroll scroll;
1459 public Gdk.EventKey key;
1460 public Gdk.EventCrossing crossing;
1461 public Gdk.EventFocus focus_change;
1462 public Gdk.EventConfigure configure;
1463 public Gdk.EventProperty property;
1464 public Gdk.EventSelection selection;
1465 public Gdk.EventOwnerChange owner_change;
1466 public Gdk.EventProximity proximity;
1467 public Gdk.EventClient client;
1468 public Gdk.EventDND dnd;
1469 public Gdk.EventWindowState window_state;
1470 public Gdk.EventSetting setting;
1471 public Gdk.EventGrabBroken grab_broken;
1472 public Gdk.Event copy ();
1473 public void free ();
1474 public static Gdk.Event get ();
1475 public bool get_axis (Gdk.AxisUse axis_use, out double value);
1476 public bool get_coords (out double x_win, out double y_win);
1477 public static Gdk.Event get_graphics_expose (Gdk.Window window);
1478 public bool get_root_coords (out double x_root, out double y_root);
1479 public weak Gdk.Screen get_screen ();
1480 public bool get_state (out Gdk.ModifierType state);
1481 public uint get_time ();
1482 public static void handler_set (Gdk.EventFunc func, void* data, GLib.DestroyNotify notify);
1483 [CCode (cname = "gdk_event_new", has_construct_function = false)]
1484 public Event (Gdk.EventType type);
1485 public static Gdk.Event peek ();
1487 public static void request_motions (Gdk.EventMotion event);
1488 public bool send_client_message (Gdk.NativeWindow winid);
1489 public static bool send_client_message_for_display (Gdk.Display display, Gdk.Event event, Gdk.NativeWindow winid);
1490 public void send_clientmessage_toall ();
1491 public void set_screen (Gdk.Screen screen);
1493 [CCode (type_id = "GDK_TYPE_RECTANGLE", cheader_filename = "gdk/gdk.h")]
1494 public struct Rectangle {
1499 public bool intersect (Gdk.Rectangle src2, Gdk.Rectangle dest);
1500 public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
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 Gdk.Atom SELECTION_PRIMARY;
1514 [CCode (cheader_filename = "gdk/gdk.h")]
1515 public const Gdk.Atom SELECTION_SECONDARY;
1516 [CCode (cheader_filename = "gdk/gdk.h")]
1517 public const Gdk.Atom SELECTION_CLIPBOARD;
1518 [CCode (cheader_filename = "gdk/gdk.h")]
1519 public const int CURRENT_TIME;
1520 [CCode (cheader_filename = "gdk/gdk.h")]
1521 public const int MAX_TIMECOORD_AXES;
1522 [CCode (cheader_filename = "gdk/gdk.h")]
1523 public const int PARENT_RELATIVE;
1524 [CCode (cheader_filename = "gdk/gdk.h")]
1525 public const int PRIORITY_REDRAW;
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 weak GLib.List devices_list ();
1550 [CCode (cheader_filename = "gdk/gdk.h")]
1551 public static void drag_abort (Gdk.DragContext context, uint time_);
1552 [CCode (cheader_filename = "gdk/gdk.h")]
1553 public static weak 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, uint 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 weak 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 weak Gdk.Window dest_window, Gdk.DragProtocol protocol);
1562 [CCode (cheader_filename = "gdk/gdk.h")]
1563 public static uint drag_get_protocol (uint xid, Gdk.DragProtocol protocol);
1564 [CCode (cheader_filename = "gdk/gdk.h")]
1565 public static uint drag_get_protocol_for_display (Gdk.Display display, uint 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, uint time_);
1570 [CCode (cheader_filename = "gdk/gdk.h")]
1571 public static void drag_status (Gdk.DragContext context, Gdk.DragAction action, uint 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, uint time_);
1626 [CCode (cheader_filename = "gdk/gdk.h")]
1627 public static void drop_reply (Gdk.DragContext context, bool ok, uint 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 weak 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 weak Gdk.Window get_default_root_window ();
1644 [CCode (cheader_filename = "gdk/gdk.h")]
1645 public static weak string get_display ();
1646 [CCode (cheader_filename = "gdk/gdk.h")]
1647 public static weak string get_display_arg_name ();
1648 [CCode (cheader_filename = "gdk/gdk.h")]
1649 public static weak 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 weak string[] argv);
1654 [CCode (cheader_filename = "gdk/gdk.h")]
1655 public static bool init_check ([CCode (array_length_pos = 0.9)] ref weak 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, uint time_);
1660 [CCode (cheader_filename = "gdk/gdk.h")]
1661 public static bool keyboard_grab_info_libgtk_only (Gdk.Display display, out weak Gdk.Window grab_window, bool owner_events);
1662 [CCode (cheader_filename = "gdk/gdk.h")]
1663 public static void keyboard_ungrab (uint 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 weak 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 uint 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 weak 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 weak Pango.Context pango_context_get ();
1688 [CCode (cheader_filename = "gdk/gdk.h")]
1689 public static weak Pango.Context pango_context_get_for_screen (Gdk.Screen screen);
1690 [CCode (cheader_filename = "gdk/gdk.h")]
1691 public static weak 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 weak 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 weak 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 weak 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 weak Gdk.Pixmap pixmap_return, out weak 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 weak Gdk.Pixmap pixmap_return, out weak 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, uint time_);
1708 [CCode (cheader_filename = "gdk/gdk.h")]
1709 public static bool pointer_grab_info_libgtk_only (Gdk.Display display, out weak 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 (uint 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 weak Gdk.Colormap rgb_get_colormap ();
1734 [CCode (cheader_filename = "gdk/gdk.h")]
1735 public static weak 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, uint time_);
1744 [CCode (cheader_filename = "gdk/gdk.h")]
1745 public static weak Gdk.Window selection_owner_get (Gdk.Atom selection);
1746 [CCode (cheader_filename = "gdk/gdk.h")]
1747 public static weak 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, uint 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, uint 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 (uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint time_);
1756 [CCode (cheader_filename = "gdk/gdk.h")]
1757 public static void selection_send_notify_for_display (Gdk.Display display, uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint 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 weak string set_locale ();
1762 [CCode (cheader_filename = "gdk/gdk.h")]
1763 public static weak 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;
1775 [CCode (cheader_filename = "gdk/gdk.h")]
1776 public static bool spawn_on_screen (Gdk.Screen screen, string working_directory, string[] argv, string[] envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, int child_pid) throws GLib.Error;
1777 [CCode (cheader_filename = "gdk/gdk.h")]
1778 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;
1779 [CCode (cheader_filename = "gdk/gdk.h")]
1780 public static int string_to_compound_text (string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1781 [CCode (cheader_filename = "gdk/gdk.h")]
1782 public static int string_to_compound_text_for_display (Gdk.Display display, string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1783 [CCode (cheader_filename = "gdk/gdk.h")]
1784 public static void synthesize_window_state (Gdk.Window window, Gdk.WindowState unset_flags, Gdk.WindowState set_flags);
1785 [CCode (cheader_filename = "gdk/gdk.h")]
1786 public static void test_render_sync (Gdk.Window window);
1787 [CCode (cheader_filename = "gdk/gdk.h")]
1788 public static bool test_simulate_button (Gdk.Window window, int x, int y, uint button, Gdk.ModifierType modifiers, Gdk.EventType button_pressrelease);
1789 [CCode (cheader_filename = "gdk/gdk.h")]
1790 public static bool test_simulate_key (Gdk.Window window, int x, int y, uint keyval, Gdk.ModifierType modifiers, Gdk.EventType key_pressrelease);
1791 [CCode (cheader_filename = "gdk/gdk.h")]
1792 public static int text_property_to_text_list (Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1793 [CCode (cheader_filename = "gdk/gdk.h")]
1794 public static int text_property_to_text_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1795 [CCode (cheader_filename = "gdk/gdk.h")]
1796 public static int text_property_to_utf8_list (Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1797 [CCode (cheader_filename = "gdk/gdk.h")]
1798 public static int text_property_to_utf8_list_for_display (Gdk.Display display, Gdk.Atom encoding, int format, uchar[] text, int length, string list);
1799 [CCode (cheader_filename = "gdk/gdk.h")]
1800 public static uint threads_add_idle (GLib.SourceFunc function, void* data);
1801 [CCode (cheader_filename = "gdk/gdk.h")]
1802 public static uint threads_add_idle_full (int priority, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
1803 [CCode (cheader_filename = "gdk/gdk.h")]
1804 public static uint threads_add_timeout (uint interval, GLib.SourceFunc function, void* data);
1805 [CCode (cheader_filename = "gdk/gdk.h")]
1806 public static uint threads_add_timeout_full (int priority, uint interval, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
1807 [CCode (cheader_filename = "gdk/gdk.h")]
1808 public static void threads_enter ();
1809 [CCode (cheader_filename = "gdk/gdk.h")]
1810 public static void threads_init ();
1811 [CCode (cheader_filename = "gdk/gdk.h")]
1812 public static void threads_leave ();
1813 [CCode (cheader_filename = "gdk/gdk.h")]
1814 public static void threads_set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn);
1815 [CCode (cheader_filename = "gdk/gdk.h")]
1816 public static uint unicode_to_keyval (uint wc);
1817 [CCode (cheader_filename = "gdk/gdk.h")]
1818 public static bool utf8_to_compound_text (string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1819 [CCode (cheader_filename = "gdk/gdk.h")]
1820 public static bool utf8_to_compound_text_for_display (Gdk.Display display, string str, Gdk.Atom encoding, int format, uchar[] ctext, int length);
1821 [CCode (cheader_filename = "gdk/gdk.h")]
1822 public static weak string utf8_to_string_target (string str);