summaryrefslogtreecommitdiff
path: root/vapi/gtk4-wayland.vapi
blob: 5c2eefe270e126b1504eb17148ef17491ad15eac (plain)
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
/* gtk4-wayland.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Gdk", gir_namespace = "GdkWayland", gir_version = "4.0", lower_case_cprefix = "gdk_")]
namespace Gdk {
	namespace Wayland {
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_device_get_type ()")]
		[GIR (name = "WaylandDevice")]
		public class Device : Gdk.Device {
			[CCode (has_construct_function = false)]
			protected Device ();
			public unowned string? get_node_path ();
			[Version (since = "4.4")]
			public void* get_xkb_keymap ();
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_display_get_type ()")]
		[GIR (name = "WaylandDisplay")]
		public class Display : Gdk.Display {
			[CCode (has_construct_function = false)]
			protected Display ();
			[Version (since = "4.4")]
			public void* get_egl_display ();
			[Version (deprecated = true, deprecated_since = "4.10.")]
			public unowned string? get_startup_notification_id ();
			public bool query_registry (string global);
			public void set_cursor_theme (string name, int size);
			[Version (deprecated = true, deprecated_since = "4.10.")]
			public void set_startup_notification_id (string startup_id);
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_gl_context_get_type ()")]
		[GIR (name = "WaylandGLContext")]
		public class GLContext : Gdk.GLContext {
			[CCode (has_construct_function = false)]
			protected GLContext ();
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_monitor_get_type ()")]
		[GIR (name = "WaylandMonitor")]
		public class Monitor : Gdk.Monitor {
			[CCode (has_construct_function = false)]
			protected Monitor ();
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_popup_get_type ()")]
		[GIR (name = "WaylandPopup")]
		public class Popup : Gdk.Wayland.Surface, Gdk.Popup {
			[CCode (has_construct_function = false)]
			protected Popup ();
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_seat_get_type ()")]
		[GIR (name = "WaylandSeat")]
		public class Seat : Gdk.Seat {
			[CCode (has_construct_function = false)]
			protected Seat ();
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_surface_get_type ()")]
		[GIR (name = "WaylandSurface")]
		public class Surface : Gdk.Surface {
			[CCode (has_construct_function = false)]
			protected Surface ();
			public Wl.Surface get_wl_surface ();
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", type_id = "gdk_wayland_toplevel_get_type ()")]
		[GIR (name = "WaylandToplevel")]
		public class Toplevel : Gdk.Wayland.Surface, Gdk.Toplevel {
			[CCode (has_construct_function = false)]
			protected Toplevel ();
			public bool export_handle (owned Gdk.Wayland.ToplevelExported callback);
			public void set_application_id (string application_id);
			public bool set_transient_for_exported (string parent_handle_str);
			public void unexport_handle ();
		}
		[CCode (cheader_filename = "gdk/wayland/gdkwayland.h", instance_pos = 2.9)]
		public delegate void ToplevelExported (Gdk.Wayland.Toplevel toplevel, string handle);
	}
}