-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
GdkMacos-4.0.gir
164 lines (162 loc) · 8.54 KB
/
GdkMacos-4.0.gir
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
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="Gdk" version="4.0"/>
<package name="gtk4-macos"/>
<c:include name="gdk/macos/gdkmacos.h"/>
<namespace name="GdkMacos" version="4.0" shared-library="libgtk-4.1.dylib" c:identifier-prefixes="Gdk" c:symbol-prefixes="gdk">
<function-macro name="IS_MACOS_DEVICE" c:identifier="GDK_IS_MACOS_DEVICE" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MACOS_DISPLAY" c:identifier="GDK_IS_MACOS_DISPLAY" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MACOS_GL_CONTEXT" c:identifier="GDK_IS_MACOS_GL_CONTEXT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MACOS_KEYMAP" c:identifier="GDK_IS_MACOS_KEYMAP" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MACOS_MONITOR" c:identifier="GDK_IS_MACOS_MONITOR" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MACOS_SEAT" c:identifier="GDK_IS_MACOS_SEAT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_MACOS_SURFACE" c:identifier="GDK_IS_MACOS_SURFACE" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="MACOS_DEVICE" c:identifier="GDK_MACOS_DEVICE" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="MACOS_DISPLAY" c:identifier="GDK_MACOS_DISPLAY" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="MACOS_GL_CONTEXT" c:identifier="GDK_MACOS_GL_CONTEXT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="MACOS_KEYMAP" c:identifier="GDK_MACOS_KEYMAP" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="MACOS_MONITOR" c:identifier="GDK_MACOS_MONITOR" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="MACOS_SEAT" c:identifier="GDK_MACOS_SEAT" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="MACOS_SURFACE" c:identifier="GDK_MACOS_SURFACE" introspectable="0">
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<class name="MacosDevice" c:symbol-prefix="macos_device" c:type="GdkMacosDevice" parent="Gdk.Device" glib:type-name="GdkMacosDevice" glib:get-type="gdk_macos_device_get_type" glib:type-struct="MacosDeviceClass"/>
<record name="MacosDeviceClass" c:type="GdkMacosDeviceClass" disguised="1" opaque="1" glib:is-gtype-struct-for="MacosDevice"/>
<class name="MacosDisplay" c:symbol-prefix="macos_display" c:type="GdkMacosDisplay" parent="Gdk.Display" glib:type-name="GdkMacosDisplay" glib:get-type="gdk_macos_display_get_type" glib:type-struct="MacosDisplayClass"/>
<record name="MacosDisplayClass" c:type="GdkMacosDisplayClass" disguised="1" opaque="1" glib:is-gtype-struct-for="MacosDisplay"/>
<class name="MacosGLContext" c:symbol-prefix="macos_gl_context" c:type="GdkMacosGLContext" parent="Gdk.GLContext" glib:type-name="GdkMacosGLContext" glib:get-type="gdk_macos_gl_context_get_type" glib:type-struct="MacosGLContextClass"/>
<record name="MacosGLContextClass" c:type="GdkMacosGLContextClass" disguised="1" opaque="1" glib:is-gtype-struct-for="MacosGLContext"/>
<class name="MacosKeymap" c:symbol-prefix="macos_keymap" c:type="GdkMacosKeymap" parent="GObject.Object" glib:type-name="GdkMacosKeymap" glib:get-type="gdk_macos_keymap_get_type" glib:type-struct="MacosKeymapClass"/>
<record name="MacosKeymapClass" c:type="GdkMacosKeymapClass" disguised="1" opaque="1" glib:is-gtype-struct-for="MacosKeymap"/>
<class name="MacosMonitor" c:symbol-prefix="macos_monitor" c:type="GdkMacosMonitor" parent="Gdk.Monitor" glib:type-name="GdkMacosMonitor" glib:get-type="gdk_macos_monitor_get_type" glib:type-struct="MacosMonitorClass">
<function name="get_geometry" c:identifier="gdk_macos_monitor_get_geometry">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="Gdk.Monitor" c:type="GdkMonitor*"/>
</parameter>
<parameter name="geometry" transfer-ownership="none">
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
</function>
<function name="get_workarea" c:identifier="gdk_macos_monitor_get_workarea">
<doc xml:space="preserve">Retrieves the size and position of the “work area” on a monitor
within the display coordinate space.
The returned geometry is in ”application pixels”, not in ”device pixels”
(see [method@Gdk.Monitor.get_scale_factor]).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="monitor" transfer-ownership="none">
<doc xml:space="preserve">a `GdkMonitor`</doc>
<type name="Gdk.Monitor" c:type="GdkMonitor*"/>
</parameter>
<parameter name="geometry" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">a `GdkRectangle` to be filled with the monitor geometry</doc>
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
</function>
</class>
<record name="MacosMonitorClass" c:type="GdkMacosMonitorClass" disguised="1" opaque="1" glib:is-gtype-struct-for="MacosMonitor"/>
<class name="MacosSeat" c:symbol-prefix="macos_seat" c:type="GdkMacosSeat" parent="Gdk.Seat" glib:type-name="GdkMacosSeat" glib:get-type="gdk_macos_seat_get_type" glib:type-struct="MacosSeatClass"/>
<record name="MacosSeatClass" c:type="GdkMacosSeatClass" disguised="1" opaque="1" glib:is-gtype-struct-for="MacosSeat"/>
<class name="MacosSurface" c:symbol-prefix="macos_surface" c:type="GdkMacosSurface" parent="Gdk.Surface" abstract="1" glib:type-name="GdkMacosSurface" glib:get-type="gdk_macos_surface_get_type" glib:type-struct="MacosSurfaceClass">
<method name="get_native_window" c:identifier="gdk_macos_surface_get_native_window" version="4.8">
<doc xml:space="preserve">Gets the underlying NSWindow used by the surface.
The NSWindow's contentView is an implementation detail and may change
between releases of GTK.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a #NSWindow or %NULL</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">a #GdkMacosSurface</doc>
<type name="MacosSurface" c:type="GdkMacosSurface*"/>
</instance-parameter>
</parameters>
</method>
<property name="native" transfer-ownership="none">
<doc xml:space="preserve">The "native" property contains the underlying NSWindow.</doc>
<type name="gpointer" c:type="gpointer"/>
</property>
</class>
<record name="MacosSurfaceClass" c:type="GdkMacosSurfaceClass" disguised="1" opaque="1" glib:is-gtype-struct-for="MacosSurface"/>
</namespace>
</repository>