mirror of
https://github.com/tauri-apps/gir-files.git
synced 2026-01-31 00:45:15 +01:00
618 lines
36 KiB
XML
618 lines
36 KiB
XML
<?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-wayland"/>
|
|
<c:include name="gdk/wayland/gdkwayland.h"/>
|
|
<namespace name="GdkWayland" version="4.0" shared-library="libgtk-4.so.1" c:identifier-prefixes="Gdk" c:symbol-prefixes="gdk">
|
|
<function-macro name="IS_WAYLAND_DEVICE" c:identifier="GDK_IS_WAYLAND_DEVICE" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="o">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_DEVICE_CLASS" c:identifier="GDK_IS_WAYLAND_DEVICE_CLASS" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="c">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_DISPLAY" c:identifier="GDK_IS_WAYLAND_DISPLAY" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_DISPLAY_CLASS" c:identifier="GDK_IS_WAYLAND_DISPLAY_CLASS" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_MONITOR" c:identifier="GDK_IS_WAYLAND_MONITOR" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_POPUP" c:identifier="GDK_IS_WAYLAND_POPUP" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="51"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_SEAT" c:identifier="GDK_IS_WAYLAND_SEAT" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="o">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_SURFACE" c:identifier="GDK_IS_WAYLAND_SURFACE" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="IS_WAYLAND_TOPLEVEL" c:identifier="GDK_IS_WAYLAND_TOPLEVEL" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="47"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_DEVICE" c:identifier="GDK_WAYLAND_DEVICE" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="o">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_DEVICE_CLASS" c:identifier="GDK_WAYLAND_DEVICE_CLASS" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="41"/>
|
|
<parameters>
|
|
<parameter name="c">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_DEVICE_GET_CLASS" c:identifier="GDK_WAYLAND_DEVICE_GET_CLASS" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="44"/>
|
|
<parameters>
|
|
<parameter name="o">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_DISPLAY" c:identifier="GDK_WAYLAND_DISPLAY" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="39"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_DISPLAY_CLASS" c:identifier="GDK_WAYLAND_DISPLAY_CLASS" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="klass">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_DISPLAY_GET_CLASS" c:identifier="GDK_WAYLAND_DISPLAY_GET_CLASS" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="43"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_GL_CONTEXT" c:identifier="GDK_WAYLAND_GL_CONTEXT" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_IS_GL_CONTEXT" c:identifier="GDK_WAYLAND_IS_GL_CONTEXT" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="35"/>
|
|
<parameters>
|
|
<parameter name="obj">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_MONITOR" c:identifier="GDK_WAYLAND_MONITOR" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="34"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_POPUP" c:identifier="GDK_WAYLAND_POPUP" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="50"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_SEAT" c:identifier="GDK_WAYLAND_SEAT" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="40"/>
|
|
<parameters>
|
|
<parameter name="o">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_SURFACE" c:identifier="GDK_WAYLAND_SURFACE" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="42"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<function-macro name="WAYLAND_TOPLEVEL" c:identifier="GDK_WAYLAND_TOPLEVEL" introspectable="0">
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="46"/>
|
|
<parameters>
|
|
<parameter name="object">
|
|
</parameter>
|
|
</parameters>
|
|
</function-macro>
|
|
<class name="WaylandDevice" c:symbol-prefix="wayland_device" c:type="GdkWaylandDevice" parent="Gdk.Device" glib:type-name="GdkWaylandDevice" glib:get-type="gdk_wayland_device_get_type" glib:type-struct="WaylandDeviceClass">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="57">The Wayland implementation of `GdkDevice`.
|
|
|
|
Beyond the regular [class@Gdk.Device] API, the Wayland implementation
|
|
provides access to Wayland objects such as the `wl_seat` with
|
|
[method@GdkWayland.WaylandDevice.get_wl_seat], the `wl_keyboard` with
|
|
[method@GdkWayland.WaylandDevice.get_wl_keyboard] and the `wl_pointer` with
|
|
[method@GdkWayland.WaylandDevice.get_wl_pointer].</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="37"/>
|
|
<method name="get_node_path" c:identifier="gdk_wayland_device_get_node_path">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5240">Returns the `/dev/input/event*` path of this device.
|
|
|
|
For `GdkDevice`s that possibly coalesce multiple hardware
|
|
devices (eg. mouse, keyboard, touch,...), this function
|
|
will return %NULL.
|
|
|
|
This is most notably implemented for devices of type
|
|
%GDK_SOURCE_PEN, %GDK_SOURCE_TABLET_PAD.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="59"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5253">the `/dev/input/event*`
|
|
path of this device</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5242">a `GdkDevice`</doc>
|
|
<type name="WaylandDevice" c:type="GdkDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_wl_keyboard" c:identifier="gdk_wayland_device_get_wl_keyboard" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1023">Returns the Wayland `wl_keyboard` of a `GdkDevice`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="54"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1029">a Wayland `wl_keyboard`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1025">a `GdkDevice`</doc>
|
|
<type name="WaylandDevice" c:type="GdkDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_wl_pointer" c:identifier="gdk_wayland_device_get_wl_pointer" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1004">Returns the Wayland `wl_pointer` of a `GdkDevice`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="52"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1010">a Wayland `wl_pointer`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1006">a `GdkDevice`</doc>
|
|
<type name="WaylandDevice" c:type="GdkDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_wl_seat" c:identifier="gdk_wayland_device_get_wl_seat" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="985">Returns the Wayland `wl_seat` of a `GdkDevice`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="50"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="991">a Wayland `wl_seat`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="987">a `GdkDevice`</doc>
|
|
<type name="WaylandDevice" c:type="GdkDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_xkb_keymap" c:identifier="gdk_wayland_device_get_xkb_keymap" version="4.4">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1042">Returns the `xkb_keymap` of a `GdkDevice`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="56"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1048">a `struct xkb_keymap`</doc>
|
|
<type name="gpointer" c:type="xkb_keymap*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="device" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="1044">a `GdkDevice`</doc>
|
|
<type name="WaylandDevice" c:type="GdkDevice*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="WaylandDeviceClass" c:type="GdkWaylandDeviceClass" disguised="1" glib:is-gtype-struct-for="WaylandDevice">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddevice.h" line="37"/>
|
|
</record>
|
|
<class name="WaylandDisplay" c:symbol-prefix="wayland_display" c:type="GdkWaylandDisplay" parent="Gdk.Display" glib:type-name="GdkWaylandDisplay" glib:get-type="gdk_wayland_display_get_type" glib:type-struct="WaylandDisplayClass">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="74">The Wayland implementation of `GdkDisplay`.
|
|
|
|
Beyond the regular [class@Gdk.Display] API, the Wayland implementation
|
|
provides access to Wayland objects such as the `wl_display` with
|
|
[method@GdkWayland.WaylandDisplay.get_wl_display], the `wl_compositor` with
|
|
[method@GdkWayland.WaylandDisplay.get_wl_compositor].
|
|
|
|
You can find out what Wayland globals are supported by a display
|
|
with [method@GdkWayland.WaylandDisplay.query_registry].</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="36"/>
|
|
<method name="get_egl_display" c:identifier="gdk_wayland_display_get_egl_display" version="4.4">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="367">Retrieves the EGL display connection object for the given GDK display.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="67"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="373">the EGL display</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="display" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="369">a Wayland display</doc>
|
|
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_startup_notification_id" c:identifier="gdk_wayland_display_get_startup_notification_id">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="814">Gets the startup notification ID for a Wayland display, or %NULL
|
|
if no ID has been defined.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="57"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="821">the startup notification ID for @display</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="display" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="816">a `GdkDisplay`</doc>
|
|
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_wl_compositor" c:identifier="gdk_wayland_display_get_wl_compositor" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1156">Returns the Wayland `wl_compositor` of a `GdkDisplay`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="51"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1162">a Wayland `wl_compositor`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="display" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1158">a `GdkDisplay`</doc>
|
|
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="get_wl_display" c:identifier="gdk_wayland_display_get_wl_display" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1140">Returns the Wayland `wl_display` of a `GdkDisplay`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="49"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1146">a Wayland `wl_display`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="display" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1142">a `GdkDisplay`</doc>
|
|
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="query_registry" c:identifier="gdk_wayland_display_query_registry">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2622">Returns %TRUE if the the interface was found in the display
|
|
`wl_registry.global` handler.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="63"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2630">%TRUE if the global is offered by the compositor</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="display" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2624">a `GdkDisplay`</doc>
|
|
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
|
|
</instance-parameter>
|
|
<parameter name="global" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="2625">global interface to query in the registry</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_cursor_theme" c:identifier="gdk_wayland_display_set_cursor_theme">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1043">Sets the cursor theme for the given @display.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="53"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="display" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1045">a `GdkDisplay`</doc>
|
|
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
|
|
</instance-parameter>
|
|
<parameter name="name" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1046">the new cursor theme</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="size" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="1047">the size to use for cursors</doc>
|
|
<type name="gint" c:type="int"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_startup_notification_id" c:identifier="gdk_wayland_display_set_startup_notification_id">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="829">Sets the startup notification ID for a display.
|
|
|
|
This is usually taken from the value of the `DESKTOP_STARTUP_ID`
|
|
environment variable, but in some cases (such as the application not
|
|
being launched using exec()) it can come from other sources.
|
|
|
|
The startup ID is also what is used to signal that the startup is
|
|
complete (for example, when opening a window or when calling
|
|
[method@Gdk.Display.notify_startup_complete]).</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="59"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="display" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="831">a `GdkDisplay`</doc>
|
|
<type name="WaylandDisplay" c:type="GdkDisplay*"/>
|
|
</instance-parameter>
|
|
<parameter name="startup_id" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdisplay-wayland.c" line="832">the startup notification ID (must be valid utf8)</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="WaylandDisplayClass" c:type="GdkWaylandDisplayClass" disguised="1" glib:is-gtype-struct-for="WaylandDisplay">
|
|
<source-position filename="../gdk/wayland/gdkwaylanddisplay.h" line="36"/>
|
|
</record>
|
|
<class name="WaylandGLContext" c:symbol-prefix="wayland_gl_context" c:type="GdkWaylandGLContext" parent="Gdk.GLContext" glib:type-name="GdkWaylandGLContext" glib:get-type="gdk_wayland_gl_context_get_type" glib:type-struct="WaylandGLContextClass">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkglcontext-wayland.c" line="40">The Wayland implementation of `GdkGLContext`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="38"/>
|
|
</class>
|
|
<record name="WaylandGLContextClass" c:type="GdkWaylandGLContextClass" disguised="1" glib:is-gtype-struct-for="WaylandGLContext">
|
|
<source-position filename="../gdk/wayland/gdkwaylandglcontext.h" line="38"/>
|
|
</record>
|
|
<class name="WaylandMonitor" c:symbol-prefix="wayland_monitor" c:type="GdkWaylandMonitor" parent="Gdk.Monitor" glib:type-name="GdkWaylandMonitor" glib:get-type="gdk_wayland_monitor_get_type" glib:type-struct="WaylandMonitorClass">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="26">The Wayland implementation of `GdkMonitor`.
|
|
|
|
Beyond the [class@Gdk.Monitor] API, the Wayland implementation
|
|
offers access to the Wayland `wl_output` object with
|
|
[method@GdkWayland.WaylandMonitor.get_wl_output].</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="38"/>
|
|
<method name="get_wl_output" c:identifier="gdk_wayland_monitor_get_wl_output" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="61">Returns the Wayland `wl_output` of a `GdkMonitor`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="44"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="67">a Wayland `wl_output`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="monitor" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkmonitor-wayland.c" line="63">a `GdkMonitor`</doc>
|
|
<type name="WaylandMonitor" c:type="GdkMonitor*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="WaylandMonitorClass" c:type="GdkWaylandMonitorClass" disguised="1" glib:is-gtype-struct-for="WaylandMonitor">
|
|
<source-position filename="../gdk/wayland/gdkwaylandmonitor.h" line="38"/>
|
|
</record>
|
|
<class name="WaylandPopup" c:symbol-prefix="wayland_popup" c:type="GdkWaylandPopup" parent="WaylandSurface" glib:type-name="GdkWaylandPopup" glib:get-type="gdk_wayland_popup_get_type">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="67">The Wayland implementation of `GdkPopup`.</doc>
|
|
<implements name="Gdk.Popup"/>
|
|
</class>
|
|
<class name="WaylandSeat" c:symbol-prefix="wayland_seat" c:type="GdkWaylandSeat" parent="Gdk.Seat" glib:type-name="GdkWaylandSeat" glib:get-type="gdk_wayland_seat_get_type" glib:type-struct="WaylandSeatClass">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="69">The Wayland implementation of `GdkSeat`.
|
|
|
|
Beyond the regular [class@Gdk.Seat] API, the Wayland implementation
|
|
provides access to the Wayland `wl_seat` object with
|
|
[method@GdkWayland.WaylandSeat.get_wl_seat].</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="37"/>
|
|
<method name="get_wl_seat" c:identifier="gdk_wayland_seat_get_wl_seat" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5224">Returns the Wayland `wl_seat` of a `GdkSeat`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="47"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5230">a Wayland `wl_seat`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="seat" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdkdevice-wayland.c" line="5226">a `GdkSeat`</doc>
|
|
<type name="WaylandSeat" c:type="GdkSeat*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<record name="WaylandSeatClass" c:type="GdkWaylandSeatClass" disguised="1" glib:is-gtype-struct-for="WaylandSeat">
|
|
<source-position filename="../gdk/wayland/gdkwaylandseat.h" line="37"/>
|
|
</record>
|
|
<class name="WaylandSurface" c:symbol-prefix="wayland_surface" c:type="GdkWaylandSurface" parent="Gdk.Surface" glib:type-name="GdkWaylandSurface" glib:get-type="gdk_wayland_surface_get_type">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="46">The Wayland implementation of `GdkSurface`.
|
|
|
|
Beyond the [class@Gdk.Surface] API, the Wayland implementation offers
|
|
access to the Wayland `wl_surface` object with
|
|
[method@GdkWayland.WaylandSurface.get_wl_surface].</doc>
|
|
<method name="get_wl_surface" c:identifier="gdk_wayland_surface_get_wl_surface" introspectable="0">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4302">Returns the Wayland `wl_surface` of a `GdkSurface`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="63"/>
|
|
<return-value transfer-ownership="none" nullable="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4308">a Wayland `wl_surface`</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="surface" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4304">a `GdkSurface`</doc>
|
|
<type name="WaylandSurface" c:type="GdkSurface*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<class name="WaylandToplevel" c:symbol-prefix="wayland_toplevel" c:type="GdkWaylandToplevel" parent="WaylandSurface" glib:type-name="GdkWaylandToplevel" glib:get-type="gdk_wayland_toplevel_get_type">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="56">The Wayland implementation of `GdkToplevel`.
|
|
|
|
Beyond the [iface@Gdk.Toplevel] API, the Wayland implementation
|
|
has API to set up cross-process parent-child relationships between
|
|
surfaces with [method@GdkWayland.WaylandToplevel.export_handle] and
|
|
[method@GdkWayland.WaylandToplevel.set_transient_for_exported].</doc>
|
|
<implements name="Gdk.Toplevel"/>
|
|
<method name="export_handle" c:identifier="gdk_wayland_toplevel_export_handle">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4490">Asynchronously obtains a handle for a surface that can be passed
|
|
to other processes.
|
|
|
|
When the handle has been obtained, @callback will be called.
|
|
|
|
It is an error to call this function on a surface that is already
|
|
exported.
|
|
|
|
When the handle is no longer needed, [method@GdkWayland.WaylandToplevel.unexport_handle]
|
|
should be called to clean up resources.
|
|
|
|
The main purpose for obtaining a handle is to mark a surface
|
|
from another surface as transient for this one, see
|
|
[method@GdkWayland.WaylandToplevel.set_transient_for_exported].
|
|
|
|
Note that this API depends on an unstable Wayland protocol,
|
|
and thus may require changes in the future.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="70"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4515">%TRUE if the handle has been requested, %FALSE if
|
|
an error occurred.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toplevel" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4492">the `GdkToplevel` to obtain a handle for</doc>
|
|
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
|
|
</instance-parameter>
|
|
<parameter name="callback" transfer-ownership="none" scope="notified" closure="1" destroy="2">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4493">callback to call with the handle</doc>
|
|
<type name="WaylandToplevelExported" c:type="GdkWaylandToplevelExported"/>
|
|
</parameter>
|
|
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4494">user data for @callback</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
<parameter name="destroy_func" transfer-ownership="none" scope="async">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4495">destroy notify for @user_data</doc>
|
|
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_application_id" c:identifier="gdk_wayland_toplevel_set_application_id">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="1904">Sets the application id on a `GdkToplevel`.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="83"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toplevel" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="1906">a `GdkToplevel`</doc>
|
|
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
|
|
</instance-parameter>
|
|
<parameter name="application_id" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="1907">the application id for the @toplevel</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="set_transient_for_exported" c:identifier="gdk_wayland_toplevel_set_transient_for_exported">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4609">Marks @toplevel as transient for the surface to which the given
|
|
@parent_handle_str refers.
|
|
|
|
Typically, the handle will originate from a
|
|
[method@GdkWayland.WaylandToplevel.export_handle] call in another process.
|
|
|
|
Note that this API depends on an unstable Wayland protocol,
|
|
and thus may require changes in the future.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="79"/>
|
|
<return-value transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4623">%TRUE if the surface has been marked as transient,
|
|
%FALSE if an error occurred.</doc>
|
|
<type name="gboolean" c:type="gboolean"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toplevel" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4611">the `GdkToplevel` to make as transient</doc>
|
|
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
|
|
</instance-parameter>
|
|
<parameter name="parent_handle_str" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4612">an exported handle for a surface</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
</parameters>
|
|
</method>
|
|
<method name="unexport_handle" c:identifier="gdk_wayland_toplevel_unexport_handle">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4555">Destroys the handle that was obtained with
|
|
gdk_wayland_toplevel_export_handle().
|
|
|
|
It is an error to call this function on a surface that
|
|
does not have a handle.
|
|
|
|
Note that this API depends on an unstable Wayland protocol,
|
|
and thus may require changes in the future.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="76"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<instance-parameter name="toplevel" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4557">the `GdkToplevel` to unexport</doc>
|
|
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
|
|
</instance-parameter>
|
|
</parameters>
|
|
</method>
|
|
</class>
|
|
<callback name="WaylandToplevelExported" c:type="GdkWaylandToplevelExported">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4469">Callback that gets called when the handle for a surface has been
|
|
obtained from the Wayland compositor.
|
|
|
|
This callback is used in [method@GdkWayland.WaylandToplevel.export_handle].
|
|
|
|
The @handle can be passed to other processes, for the purpose of
|
|
marking surfaces as transient for out-of-process surfaces.</doc>
|
|
<source-position filename="../gdk/wayland/gdkwaylandsurface.h" line="65"/>
|
|
<return-value transfer-ownership="none">
|
|
<type name="none" c:type="void"/>
|
|
</return-value>
|
|
<parameters>
|
|
<parameter name="toplevel" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4471">the `GdkToplevel` that is exported</doc>
|
|
<type name="WaylandToplevel" c:type="GdkToplevel*"/>
|
|
</parameter>
|
|
<parameter name="handle" transfer-ownership="none">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4472">the handle</doc>
|
|
<type name="utf8" c:type="const char*"/>
|
|
</parameter>
|
|
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="2">
|
|
<doc xml:space="preserve" filename="../gdk/wayland/gdksurface-wayland.c" line="4473">user data that was passed to [method@GdkWayland.WaylandToplevel.export_handle]</doc>
|
|
<type name="gpointer" c:type="gpointer"/>
|
|
</parameter>
|
|
</parameters>
|
|
</callback>
|
|
</namespace>
|
|
</repository>
|