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