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
|
namespace Gdk {
public class Screen : GLib.Object {
public void get_monitor_geometry (int monitor_num, out Gdk.Rectangle dest);
}
public class Window : GLib.Object {
public void get_frame_extents (out Gdk.Rectangle rect);
}
[SimpleType]
public struct Atom : uint {
[CCode (cname = "GDK_NONE")]
public static Gdk.Atom NONE;
}
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
public class Event {
public Gdk.EventAny any { [CCode (cname = "(GdkEventAny *)")] get; }
public Gdk.EventButton button { [CCode (cname = "(GdkEventButton *)")] get; }
public Gdk.EventConfigure configure { [CCode (cname = "(GdkEventConfigure *)")] get; }
public Gdk.EventCrossing crossing { [CCode (cname = "(GdkEventCrossing *)")] get; }
public Gdk.EventDND dnd { [CCode (cname = "(GdkEventDND *)")] get; }
public Gdk.EventExpose expose { [CCode (cname = "(GdkEventExpose *)")] get; }
public Gdk.EventFocus focus_change { [CCode (cname = "(GdkEventFocus *)")] get; }
public Gdk.EventGrabBroken grab_broken { [CCode (cname = "(GdkEventGrabBroken *)")] get; }
public Gdk.EventKey key { [CCode (cname = "(GdkEventKey *)")] get; }
public Gdk.EventMotion motion { [CCode (cname = "(GdkEventMotion *)")] get; }
public Gdk.EventOwnerChange owner_change { [CCode (cname = "(GdkEventOwnerChange *)")] get; }
public Gdk.EventProperty property { [CCode (cname = "(GdkEventProperty *)")] get; }
public Gdk.EventProximity proximity { [CCode (cname = "(GdkEventProximity *)")] get; }
public Gdk.EventScroll scroll { [CCode (cname = "(GdkEventScroll *)")] get; }
public Gdk.EventSelection selection { [CCode (cname = "(GdkEventSelection *)")] get; }
public Gdk.EventSetting setting { [CCode (cname = "(GdkEventSetting *)")] get; }
public Gdk.EventTouch touch { [CCode (cname = "(GdkEventTouch *)")] get; }
public Gdk.EventTouchpadPinch touchpad_pinch { [CCode (cname = "(GdkEventTouchpadPinch *)")] get; }
public Gdk.EventTouchpadSwipe touchpad_swipe { [CCode (cname = "(GdkEventTouchpadSwipe *)")] get; }
public Gdk.EventVisibility visibility { [CCode (cname = "(GdkEventVisibility *)")] get; }
public Gdk.EventWindowState window_state { [CCode (cname = "(GdkEventWindowState *)")] get; }
}
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
public class EventKey : Event {
[CCode (cname = "string")]
public string str;
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_rgba_get_type ()")]
public struct RGBA {
[Version (since = "3.0")]
public bool parse (string spec);
}
[CCode (cheader_filename = "gdk/gdk.h")]
public struct Rectangle : Cairo.RectangleInt {
public bool intersect (Gdk.Rectangle src2, out Gdk.Rectangle dest);
public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
}
[CCode (ref_function = "", unref_function = "")]
[Compact]
public class XEvent {
}
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")]
[Version (replacement = "Selection.convert", deprecated_since = "vala-0.12")]
public static void selection_convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint32 time_);
[Version (replacement = "Selection.owner_get", deprecated_since = "vala-0.12")]
public static unowned Gdk.Window selection_owner_get (Gdk.Atom selection);
[CCode (cheader_filename = "gdk/gdk.h")]
[Version (replacement = "Selection.owner_get_for_display", deprecated_since = "vala-0.12")]
public static unowned Gdk.Window selection_owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
[Version (replacement = "Selection.owner_set", deprecated_since = "vala-0.12")]
public static bool selection_owner_set (Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
[Version (replacement = "Selection.owner_set_for_display", deprecated_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);
[Version (replacement = "Selection.property_get", deprecated_since = "vala-0.12")]
public static int selection_property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
[Version (replacement = "Selection.send_notify", deprecated_since = "vala-0.12")]
public static void selection_send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[Version (replacement = "Selection.send_notify_for_display", deprecated_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_);
}
|