summaryrefslogtreecommitdiff
path: root/vapi/gdk-wayland-3.0.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/gdk-wayland-3.0.vapi')
-rw-r--r--vapi/gdk-wayland-3.0.vapi10
1 files changed, 10 insertions, 0 deletions
diff --git a/vapi/gdk-wayland-3.0.vapi b/vapi/gdk-wayland-3.0.vapi
new file mode 100644
index 0000000..81e0a25
--- /dev/null
+++ b/vapi/gdk-wayland-3.0.vapi
@@ -0,0 +1,10 @@
+[CCode (cheader_filename = "gdk/gdkwayland.h")]
+namespace Gdk.Wayland {
+ [CCode (type_id = "GDK_TYPE_WAYLAND_WINDOW", type_check_function = "GDK_IS_WAYLAND_WINDOW")]
+ public class Window : Gdk.Window {
+ public bool export_handle (owned WindowExported callback);
+ }
+
+ [CCode (instance_pos = 2.9)]
+ public delegate void WindowExported (Gdk.Window window, string handle);
+}