Update to gtk 4.3.2, from gnome nightly SDK

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau
2021-07-26 19:24:38 +04:00
parent 7d95377690
commit e0cb2da07e
5 changed files with 5446 additions and 4975 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -207,6 +207,19 @@ This is most notably implemented for devices of type
</instance-parameter>
</parameters>
</method>
<method name="get_xkb_keymap" c:identifier="gdk_wayland_device_get_xkb_keymap" version="4.4">
<doc xml:space="preserve">Returns the `xkb_keymap` of a `GdkDevice`.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">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">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"/>
<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">
@@ -219,11 +232,24 @@ provides access to Wayland objects such as the `wl_display` with
You can find out what Wayland globals are supported by a display
with [method@GdkWayland.WaylandDisplay.query_registry].</doc>
<method name="get_egl_display" c:identifier="gdk_wayland_display_get_egl_display" version="4.4">
<doc xml:space="preserve">Retrieves the EGL display connection object for the given GDK display.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the EGL display</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">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">Gets the startup notification ID for a Wayland display, or %NULL
if no ID has been defined.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the startup notification ID for @display, or %NULL</doc>
<doc xml:space="preserve">the startup notification ID for @display</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
@@ -396,7 +422,7 @@ access to the Wayland `wl_surface` object with
<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">The Wayland implementation of `GdkToplevel`.
Beyond the [interface@Gdk.Toplevel] API, the Wayland implementation
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>
@@ -421,7 +447,7 @@ Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the handle has been requested, %FALSE if
an error occurred.</doc>
an error occurred.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@@ -470,7 +496,7 @@ Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the surface has been marked as transient,
%FALSE if an error occurred.</doc>
%FALSE if an error occurred.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>

View File

@@ -9,10 +9,10 @@ and/or use gtk-doc annotations. -->
<c:include name="gdk/x11/gdkx.h"/>
<namespace name="GdkX11" version="4.0" shared-library="libgtk-4.so.1" c:identifier-prefixes="Gdk" c:symbol-prefixes="gdk">
<function-macro name="DISPLAY_XDISPLAY" c:identifier="GDK_DISPLAY_XDISPLAY" introspectable="0">
<doc xml:space="preserve">Returns the display of a #GdkDisplay.</doc>
<doc xml:space="preserve">Returns the display of a `GdkDisplay`.</doc>
<parameters>
<parameter name="display">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
</parameter>
</parameters>
</function-macro>
@@ -116,18 +116,18 @@ using GDK_XID_TO_POINTER().</doc>
</parameters>
</function-macro>
<function-macro name="SURFACE_XDISPLAY" c:identifier="GDK_SURFACE_XDISPLAY" introspectable="0">
<doc xml:space="preserve">Returns the display of a #GdkSurface.</doc>
<doc xml:space="preserve">Returns the display of a `GdkSurface`.</doc>
<parameters>
<parameter name="win">
<doc xml:space="preserve">a #GdkSurface.</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
</parameter>
</parameters>
</function-macro>
<function-macro name="SURFACE_XID" c:identifier="GDK_SURFACE_XID" introspectable="0">
<doc xml:space="preserve">Returns the X window belonging to a #GdkSurface.</doc>
<doc xml:space="preserve">Returns the X window belonging to a `GdkSurface`.</doc>
<parameters>
<parameter name="win">
<doc xml:space="preserve">a #GdkSurface.</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
</parameter>
</parameters>
</function-macro>
@@ -168,14 +168,13 @@ using GDK_XID_TO_POINTER().</doc>
@display_name. If opening the display fails, %NULL is
returned.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The new display or
%NULL on error.</doc>
<doc xml:space="preserve">The new display</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</return-value>
<parameters>
<parameter name="display_name" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">name of the X display.
See the XOpenDisplay() for details.</doc>
See the XOpenDisplay() for details.</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
@@ -190,7 +189,7 @@ of the `WM_CLASS` property on toplevel windows; see the ICCCM.</doc>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="Gdk.Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="program_class" transfer-ownership="none">
@@ -213,7 +212,7 @@ for definitions of the message types and keys that can be used.</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="message_type" transfer-ownership="none">
@@ -274,7 +273,7 @@ with this function.</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
@@ -290,11 +289,47 @@ for @display</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_egl_display" c:identifier="gdk_x11_display_get_egl_display" version="4.4">
<doc xml:space="preserve">Retrieves the EGL display connection object for the given GDK display.
This function returns `NULL` if GDK is using GLX.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the EGL display object</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">an X11 display</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_egl_version" c:identifier="gdk_x11_display_get_egl_version" version="4.4">
<doc xml:space="preserve">Retrieves the version of the EGL implementation.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if EGL is available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="major" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the EGL major version</doc>
<type name="gint" c:type="int*"/>
</parameter>
<parameter name="minor" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the EGL minor version</doc>
<type name="gint" c:type="int*"/>
</parameter>
</parameters>
</method>
<method name="get_glx_version" c:identifier="gdk_x11_display_get_glx_version">
<doc xml:space="preserve">Retrieves the version of the GLX implementation.</doc>
<return-value transfer-ownership="none">
@@ -303,7 +338,7 @@ for @display</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="major" direction="out" caller-allocates="0" transfer-ownership="full">
@@ -328,25 +363,25 @@ If no monitor is the designated primary monitor, any monitor
(usually the first) may be returned.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the primary monitor, or any monitor if no
primary monitor is configured by the user</doc>
primary monitor is configured by the user</doc>
<type name="Gdk.Monitor" c:type="GdkMonitor*"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_screen" c:identifier="gdk_x11_display_get_screen">
<doc xml:space="preserve">Retrieves the #GdkX11Screen of the @display.</doc>
<doc xml:space="preserve">Retrieves the `GdkX11Screen` of the @display.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GdkX11Screen</doc>
<doc xml:space="preserve">the `GdkX11Screen`</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkX11Display</doc>
<doc xml:space="preserve">a `GdkX11Display`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
@@ -359,7 +394,7 @@ If no monitor is the designated primary monitor, any monitor
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
@@ -375,13 +410,13 @@ movements. See gdk_x11_surface_set_user_time().</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_xcursor" c:identifier="gdk_x11_display_get_xcursor">
<doc xml:space="preserve">Returns the X cursor belonging to a #GdkCursor, potentially
<doc xml:space="preserve">Returns the X cursor belonging to a `GdkCursor`, potentially
creating the cursor.
Be aware that the returned cursor may not be unique to @cursor.
@@ -394,50 +429,50 @@ may even fall back to a few default cursors.</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="cursor" transfer-ownership="none">
<doc xml:space="preserve">a #GdkCursor.</doc>
<doc xml:space="preserve">a `GdkCursor`</doc>
<type name="Gdk.Cursor" c:type="GdkCursor*"/>
</parameter>
</parameters>
</method>
<method name="get_xdisplay" c:identifier="gdk_x11_display_get_xdisplay">
<doc xml:space="preserve">Returns the X display of a #GdkDisplay.</doc>
<doc xml:space="preserve">Returns the X display of a `GdkDisplay`.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an X display</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_xrootwindow" c:identifier="gdk_x11_display_get_xrootwindow">
<doc xml:space="preserve">Returns the root X window used by #GdkDisplay.</doc>
<doc xml:space="preserve">Returns the root X window used by `GdkDisplay`.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an X Window</doc>
<type name="xlib.Window" c:type="Window"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_xscreen" c:identifier="gdk_x11_display_get_xscreen">
<doc xml:space="preserve">Returns the X Screen used by #GdkDisplay.</doc>
<doc xml:space="preserve">Returns the X Screen used by `GdkDisplay`.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an X Screen</doc>
<type name="xlib.Screen" c:type="Screen*"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
@@ -452,7 +487,7 @@ gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
@@ -462,22 +497,22 @@ gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.</doc>
should be taken.
If the windowing system supports it, existing cursors created
with gdk_cursor_new_from_name() are updated to reflect the theme
change. Custom cursors constructed with gdk_cursor_new_from_texture()
with [ctor@Gdk.Cursor.new_from_name] are updated to reflect the theme
change. Custom cursors constructed with [ctor@Gdk.Cursor.new_from_texture]
will have to be handled by the application (GTK applications can learn
about cursor theme changes by listening for change notification
for the corresponding #GtkSetting).</doc>
for the corresponding `GtkSetting`).</doc>
<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">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="theme" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the name of the cursor theme to use, or %NULL to unset
a previously set value</doc>
<doc xml:space="preserve">the name of the cursor theme to use, or %NULL
to unset a previously set value</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="size" transfer-ownership="none">
@@ -506,7 +541,7 @@ gdk_display_notify_startup_complete()).</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="startup_id" transfer-ownership="none">
@@ -546,7 +581,7 @@ locale into a form suitable for storing in a window property.</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">the #GdkDisplay where the encoding is defined</doc>
<doc xml:space="preserve">the `GdkDisplay` where the encoding is defined</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="str" transfer-ownership="none">
@@ -555,7 +590,7 @@ locale into a form suitable for storing in a window property.</doc>
</parameter>
<parameter name="encoding" direction="out" caller-allocates="0" transfer-ownership="none">
<doc xml:space="preserve">location to store the encoding
(to be used as the type for the property)</doc>
(to be used as the type for the property)</doc>
<type name="utf8" c:type="const char**"/>
</parameter>
<parameter name="format" direction="out" caller-allocates="0" transfer-ownership="full">
@@ -564,7 +599,7 @@ locale into a form suitable for storing in a window property.</doc>
</parameter>
<parameter name="ctext" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">location to store newly
allocated data for the property</doc>
allocated data for the property</doc>
<array length="4" zero-terminated="0" c:type="guchar**">
<type name="guint8" c:type="guchar*"/>
</array>
@@ -582,18 +617,18 @@ the current locale. (The elements of the array represent the
nul-separated elements of the original text string.)</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the number of strings stored in list, or 0,
if the conversion failed</doc>
if the conversion failed</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">The #GdkDisplay where the encoding is defined</doc>
<doc xml:space="preserve">The `GdkDisplay` where the encoding is defined</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="encoding" transfer-ownership="none">
<doc xml:space="preserve">a string representing the encoding. The most
common values for this are "STRING", or "COMPOUND_TEXT".
This is value used as the type for the property</doc>
common values for this are "STRING", or "COMPOUND_TEXT".
This is value used as the type for the property</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="format" transfer-ownership="none">
@@ -610,8 +645,8 @@ nul-separated elements of the original text string.)</doc>
</parameter>
<parameter name="list" transfer-ownership="none">
<doc xml:space="preserve">location to store an array of strings in
the encoding of the current locale. This array should be
freed using gdk_x11_free_text_list().</doc>
the encoding of the current locale. This array should be
freed using gdk_x11_free_text_list().</doc>
<type name="utf8" c:type="char***"/>
</parameter>
</parameters>
@@ -624,7 +659,7 @@ gdk_x11_display_grab().</doc>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
</parameters>
@@ -632,13 +667,12 @@ gdk_x11_display_grab().</doc>
<method name="utf8_to_compound_text" c:identifier="gdk_x11_display_utf8_to_compound_text">
<doc xml:space="preserve">Converts from UTF-8 to compound text.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the conversion succeeded,
otherwise %FALSE</doc>
<doc xml:space="preserve">%TRUE if the conversion succeeded, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</instance-parameter>
<parameter name="str" transfer-ownership="none">
@@ -660,8 +694,7 @@ gdk_x11_display_grab().</doc>
</array>
</parameter>
<parameter name="length" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">location to store the length of the data
stored in @ctext</doc>
<doc xml:space="preserve">location to store the length of the data stored in @ctext</doc>
<type name="gint" c:type="int*"/>
</parameter>
</parameters>
@@ -676,7 +709,7 @@ GDK's own event handling mechanism, so by returning %TRUE for an event
that GDK expects to translate, you may break GDK and/or GTK+ in
interesting ways. You have been warned.
If you want this signal handler to queue a #GdkEvent, you can use
If you want this signal handler to queue a `GdkEvent`, you can use
gdk_display_put_event().
If you are interested in X GenericEvents, bear in mind that
@@ -698,7 +731,7 @@ XFreeEventData() will be called afterwards.</doc>
<record name="X11DisplayClass" c:type="GdkX11DisplayClass" disguised="1" glib:is-gtype-struct-for="X11Display"/>
<class name="X11Drag" c:symbol-prefix="x11_drag" c:type="GdkX11Drag" parent="Gdk.Drag" glib:type-name="GdkX11Drag" glib:get-type="gdk_x11_drag_get_type" glib:type-struct="X11DragClass"/>
<record name="X11DragClass" c:type="GdkX11DragClass" disguised="1" glib:is-gtype-struct-for="X11Drag"/>
<class name="X11GLContext" c:symbol-prefix="x11_gl_context" c:type="GdkX11GLContext" parent="Gdk.GLContext" glib:type-name="GdkX11GLContext" glib:get-type="gdk_x11_gl_context_get_type" glib:type-struct="X11GLContextClass"/>
<class name="X11GLContext" c:symbol-prefix="x11_gl_context" c:type="GdkX11GLContext" parent="Gdk.GLContext" abstract="1" glib:type-name="GdkX11GLContext" glib:get-type="gdk_x11_gl_context_get_type" glib:type-struct="X11GLContextClass"/>
<record name="X11GLContextClass" c:type="GdkX11GLContextClass" disguised="1" glib:is-gtype-struct-for="X11GLContext"/>
<class name="X11Monitor" c:symbol-prefix="x11_monitor" c:type="GdkX11Monitor" parent="Gdk.Monitor" glib:type-name="GdkX11Monitor" glib:get-type="gdk_x11_monitor_get_type" glib:type-struct="X11MonitorClass">
<method name="get_output" c:identifier="gdk_x11_monitor_get_output">
@@ -709,27 +742,27 @@ XFreeEventData() will be called afterwards.</doc>
</return-value>
<parameters>
<instance-parameter name="monitor" transfer-ownership="none">
<doc xml:space="preserve">a #GdkMonitor</doc>
<doc xml:space="preserve">a `GdkMonitor`</doc>
<type name="X11Monitor" c:type="GdkMonitor*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_workarea" c:identifier="gdk_x11_monitor_get_workarea">
<doc xml:space="preserve">Retrieves the size and position of the &#x201C;work area&#x201D; on a monitor
within the display coordinate space. The returned geometry is in
&#x201D;application pixels&#x201D;, not in &#x201D;device pixels&#x201D; (see
gdk_monitor_get_scale_factor()).</doc>
within the display coordinate space.
The returned geometry is in &#x201D;application pixels&#x201D;, not in &#x201D;device pixels&#x201D;
(see [method@Gdk.Monitor.get_scale_factor]).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="monitor" transfer-ownership="none">
<doc xml:space="preserve">a #GdkMonitor</doc>
<doc xml:space="preserve">a `GdkMonitor`</doc>
<type name="X11Monitor" c:type="GdkMonitor*"/>
</instance-parameter>
<parameter name="workarea" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">a #GdkRectangle to be filled with
the monitor workarea</doc>
<doc xml:space="preserve">a `GdkRectangle` to be filled with the monitor workarea</doc>
<type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
</parameter>
</parameters>
@@ -748,7 +781,7 @@ in the
</return-value>
<parameters>
<instance-parameter name="screen" transfer-ownership="none">
<doc xml:space="preserve">a #GdkX11Screen</doc>
<doc xml:space="preserve">a `GdkX11Screen`</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</instance-parameter>
</parameters>
@@ -763,7 +796,7 @@ extension, 0 is returned.</doc>
</return-value>
<parameters>
<instance-parameter name="screen" transfer-ownership="none">
<doc xml:space="preserve">a #GdkX11Screen</doc>
<doc xml:space="preserve">a `GdkX11Screen`</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</instance-parameter>
<parameter name="monitor_num" transfer-ownership="none">
@@ -783,21 +816,21 @@ in the
</return-value>
<parameters>
<instance-parameter name="screen" transfer-ownership="none">
<doc xml:space="preserve">a #GdkX11Screen</doc>
<doc xml:space="preserve">a `GdkX11Screen`</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_screen_number" c:identifier="gdk_x11_screen_get_screen_number">
<doc xml:space="preserve">Returns the index of a #GdkX11Screen.</doc>
<doc xml:space="preserve">Returns the index of a `GdkX11Screen`.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the position of @screen among the screens
of its display</doc>
of its display</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="screen" transfer-ownership="none">
<doc xml:space="preserve">a #GdkX11Screen</doc>
<doc xml:space="preserve">a `GdkX11Screen`</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</instance-parameter>
</parameters>
@@ -812,20 +845,20 @@ and should not be freed.</doc>
</return-value>
<parameters>
<instance-parameter name="screen" transfer-ownership="none">
<doc xml:space="preserve">a #GdkX11Screen</doc>
<doc xml:space="preserve">a `GdkX11Screen`</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_xscreen" c:identifier="gdk_x11_screen_get_xscreen">
<doc xml:space="preserve">Returns the screen of a #GdkX11Screen.</doc>
<doc xml:space="preserve">Returns the screen of a `GdkX11Screen`.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an Xlib Screen*</doc>
<type name="xlib.Screen" c:type="Screen*"/>
</return-value>
<parameters>
<instance-parameter name="screen" transfer-ownership="none">
<doc xml:space="preserve">a #GdkX11Screen</doc>
<doc xml:space="preserve">a `GdkX11Screen`</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</instance-parameter>
</parameters>
@@ -841,7 +874,7 @@ a way that impacts persistent application state. A common bug
is that your application can start up before the window manager
does when the user logs in, and before the window manager starts
gdk_x11_screen_supports_net_wm_hint() will return %FALSE for every property.
You can monitor the window_manager_changed signal on #GdkX11Screen to detect
You can monitor the window_manager_changed signal on `GdkX11Screen` to detect
a window manager change.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the window manager supports @property</doc>
@@ -849,7 +882,7 @@ a window manager change.</doc>
</return-value>
<parameters>
<instance-parameter name="screen" transfer-ownership="none">
<doc xml:space="preserve">the relevant #GdkX11Screen.</doc>
<doc xml:space="preserve">the relevant `GdkX11Screen`.</doc>
<type name="X11Screen" c:type="GdkX11Screen*"/>
</instance-parameter>
<parameter name="property_name" transfer-ownership="none">
@@ -867,16 +900,16 @@ a window manager change.</doc>
<record name="X11ScreenClass" c:type="GdkX11ScreenClass" disguised="1" glib:is-gtype-struct-for="X11Screen"/>
<class name="X11Surface" c:symbol-prefix="x11_surface" c:type="GdkX11Surface" parent="Gdk.Surface" glib:type-name="GdkX11Surface" glib:get-type="gdk_x11_surface_get_type" glib:type-struct="X11SurfaceClass">
<function name="lookup_for_display" c:identifier="gdk_x11_surface_lookup_for_display">
<doc xml:space="preserve">Looks up the #GdkSurface that wraps the given native window handle.</doc>
<doc xml:space="preserve">Looks up the `GdkSurface` that wraps the given native window handle.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GdkSurface wrapper for the native
window, or %NULL if there is none.</doc>
<doc xml:space="preserve">the `GdkSurface` wrapper
for the native window</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">the #GdkDisplay corresponding to the
window handle</doc>
<doc xml:space="preserve">the `GdkDisplay` corresponding to the
window handle</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="window" transfer-ownership="none">
@@ -893,7 +926,7 @@ a window manager change.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
</parameters>
@@ -906,20 +939,20 @@ a window manager change.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">The #GdkSurface</doc>
<doc xml:space="preserve">The `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_xid" c:identifier="gdk_x11_surface_get_xid">
<doc xml:space="preserve">Returns the X resource (surface) belonging to a #GdkSurface.</doc>
<doc xml:space="preserve">Returns the X resource (surface) belonging to a `GdkSurface`.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the ID of @drawable&#x2019;s X resource.</doc>
<type name="xlib.Window" c:type="Window"/>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a native #GdkSurface.</doc>
<doc xml:space="preserve">a native `GdkSurface`.</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
</parameters>
@@ -934,7 +967,7 @@ Will not do anything if the surface is already on all workspaces.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
</parameters>
@@ -948,7 +981,7 @@ in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-s
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="desktop" transfer-ownership="none">
@@ -969,7 +1002,7 @@ embedded via the XEMBED protocol.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a native #GdkSurface</doc>
<doc xml:space="preserve">a native `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="frame_sync_enabled" transfer-ownership="none">
@@ -986,11 +1019,11 @@ See the ICCCM for details.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a native #GdkSurface</doc>
<doc xml:space="preserve">a native `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="leader" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
<type name="Gdk.Surface" c:type="GdkSurface*"/>
</parameter>
</parameters>
@@ -1003,7 +1036,7 @@ display it. See the EWMH for details.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="skips_pager" transfer-ownership="none">
@@ -1020,7 +1053,7 @@ display it. See the EWMH for details.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a native #GdkSurface</doc>
<doc xml:space="preserve">a native `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="skips_taskbar" transfer-ownership="none">
@@ -1044,7 +1077,7 @@ to create toplevel surfaces.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="variant" transfer-ownership="none">
@@ -1061,7 +1094,7 @@ See the ICCCM for details.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a native #GdkSurface</doc>
<doc xml:space="preserve">a native `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="urgent" transfer-ownership="none">
@@ -1088,7 +1121,7 @@ events bypassing GDK.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">A toplevel #GdkSurface</doc>
<doc xml:space="preserve">A toplevel `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="timestamp" transfer-ownership="none">
@@ -1106,7 +1139,7 @@ not a toplevel surface, it is ignored.</doc>
</return-value>
<parameters>
<instance-parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface</doc>
<doc xml:space="preserve">a `GdkSurface`</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
@@ -1267,7 +1300,7 @@ not a toplevel surface, it is ignored.</doc>
</function-macro>
<function-macro name="XID_TO_POINTER" c:identifier="GDK_XID_TO_POINTER" introspectable="0">
<doc xml:space="preserve">Converts an XID into a @gpointer. This is useful with data structures
that use pointer arguments such as #GHashTable. Use GDK_POINTER_TO_XID()
that use pointer arguments such as `GHashTable`. Use GDK_POINTER_TO_XID()
to convert the argument back to an XID.</doc>
<parameters>
<parameter name="xid">
@@ -1278,26 +1311,27 @@ to convert the argument back to an XID.</doc>
<function name="x11_device_get_id" c:identifier="gdk_x11_device_get_id">
<doc xml:space="preserve">Returns the device ID as seen by XInput2.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the XInput2 device ID.</doc>
<doc xml:space="preserve">the XInput2 device ID</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<parameter name="device" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDevice</doc>
<doc xml:space="preserve">a `GdkDevice`</doc>
<type name="X11DeviceXI2" c:type="GdkDevice*"/>
</parameter>
</parameters>
</function>
<function name="x11_device_manager_lookup" c:identifier="gdk_x11_device_manager_lookup">
<doc xml:space="preserve">Returns the #GdkDevice that wraps the given device ID.</doc>
<doc xml:space="preserve">Returns the `GdkDevice` that wraps the given device ID.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The #GdkDevice wrapping the device ID,
or %NULL if the given ID doesn&#x2019;t currently represent a device.</doc>
<doc xml:space="preserve">The
`GdkDevice` wrapping the device ID, or %NULL if the given ID
doesn&#x2019;t currently represent a device.</doc>
<type name="X11DeviceXI2" c:type="GdkDevice*"/>
</return-value>
<parameters>
<parameter name="device_manager" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDeviceManager</doc>
<doc xml:space="preserve">a `GdkDeviceManager`</doc>
<type name="X11DeviceManagerXI2" c:type="GdkX11DeviceManagerXI2*"/>
</parameter>
<parameter name="device_id" transfer-ownership="none">
@@ -1336,30 +1370,29 @@ gdk_x11_display_text_property_to_text_list().</doc>
<function name="x11_get_server_time" c:identifier="gdk_x11_get_server_time">
<doc xml:space="preserve">Routine to get the current X server time stamp.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the time stamp.</doc>
<doc xml:space="preserve">the time stamp</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="surface" transfer-ownership="none">
<doc xml:space="preserve">a #GdkSurface, used for communication
with the server. The surface must have
GDK_PROPERTY_CHANGE_MASK in its events mask or a hang will
result.</doc>
<doc xml:space="preserve">a `GdkSurface`, used for communication
with the server. The surface must have `GDK_PROPERTY_CHANGE_MASK` in
its events mask or a hang will result.</doc>
<type name="X11Surface" c:type="GdkSurface*"/>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_by_name_for_display" c:identifier="gdk_x11_get_xatom_by_name_for_display">
<doc xml:space="preserve">Returns the X atom for a #GdkDisplay corresponding to @atom_name.
<doc xml:space="preserve">Returns the X atom for a `GdkDisplay` corresponding to @atom_name.
This function caches the result, so if called repeatedly it is much
faster than XInternAtom(), which is a round trip to the server each time.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a X atom for a #GdkDisplay</doc>
<doc xml:space="preserve">a X atom for a `GdkDisplay`</doc>
<type name="xlib.Atom" c:type="Atom"/>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">a #GdkDisplay</doc>
<doc xml:space="preserve">a `GdkDisplay`</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="atom_name" transfer-ownership="none">
@@ -1380,7 +1413,7 @@ be freed.</doc>
</return-value>
<parameters>
<parameter name="display" transfer-ownership="none">
<doc xml:space="preserve">the #GdkDisplay where @xatom is defined</doc>
<doc xml:space="preserve">the `GdkDisplay` where @xatom is defined</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</parameter>
<parameter name="xatom" transfer-ownership="none">
@@ -1390,9 +1423,9 @@ be freed.</doc>
</parameters>
</function>
<function name="x11_lookup_xdisplay" c:identifier="gdk_x11_lookup_xdisplay">
<doc xml:space="preserve">Find the #GdkDisplay corresponding to @xdisplay, if any exists.</doc>
<doc xml:space="preserve">Find the `GdkDisplay` corresponding to @xdisplay, if any exists.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GdkDisplay, if found, otherwise %NULL.</doc>
<doc xml:space="preserve">the `GdkDisplay`, if found, otherwise %NULL.</doc>
<type name="X11Display" c:type="GdkDisplay*"/>
</return-value>
<parameters>

View File

@@ -32,57 +32,57 @@ and/or use gtk-doc annotations. -->
The implementation of each blend mode is deferred to the
rendering pipeline.
See https://www.w3.org/TR/compositing-1/#blending for more information
See &lt;https://www.w3.org/TR/compositing-1/#blending&gt; for more information
on blending and blend modes.</doc>
<member name="default" value="0" c:identifier="GSK_BLEND_MODE_DEFAULT" glib:nick="default">
<member name="default" value="0" c:identifier="GSK_BLEND_MODE_DEFAULT" glib:nick="default" glib:name="GSK_BLEND_MODE_DEFAULT">
<doc xml:space="preserve">The default blend mode, which specifies no blending</doc>
</member>
<member name="multiply" value="1" c:identifier="GSK_BLEND_MODE_MULTIPLY" glib:nick="multiply">
<member name="multiply" value="1" c:identifier="GSK_BLEND_MODE_MULTIPLY" glib:nick="multiply" glib:name="GSK_BLEND_MODE_MULTIPLY">
<doc xml:space="preserve">The source color is multiplied by the destination
and replaces the destination</doc>
</member>
<member name="screen" value="2" c:identifier="GSK_BLEND_MODE_SCREEN" glib:nick="screen">
<member name="screen" value="2" c:identifier="GSK_BLEND_MODE_SCREEN" glib:nick="screen" glib:name="GSK_BLEND_MODE_SCREEN">
<doc xml:space="preserve">Multiplies the complements of the destination and source
color values, then complements the result.</doc>
</member>
<member name="overlay" value="3" c:identifier="GSK_BLEND_MODE_OVERLAY" glib:nick="overlay">
<member name="overlay" value="3" c:identifier="GSK_BLEND_MODE_OVERLAY" glib:nick="overlay" glib:name="GSK_BLEND_MODE_OVERLAY">
<doc xml:space="preserve">Multiplies or screens the colors, depending on the
destination color value. This is the inverse of hard-list</doc>
</member>
<member name="darken" value="4" c:identifier="GSK_BLEND_MODE_DARKEN" glib:nick="darken">
<member name="darken" value="4" c:identifier="GSK_BLEND_MODE_DARKEN" glib:nick="darken" glib:name="GSK_BLEND_MODE_DARKEN">
<doc xml:space="preserve">Selects the darker of the destination and source colors</doc>
</member>
<member name="lighten" value="5" c:identifier="GSK_BLEND_MODE_LIGHTEN" glib:nick="lighten">
<member name="lighten" value="5" c:identifier="GSK_BLEND_MODE_LIGHTEN" glib:nick="lighten" glib:name="GSK_BLEND_MODE_LIGHTEN">
<doc xml:space="preserve">Selects the lighter of the destination and source colors</doc>
</member>
<member name="color_dodge" value="6" c:identifier="GSK_BLEND_MODE_COLOR_DODGE" glib:nick="color-dodge">
<member name="color_dodge" value="6" c:identifier="GSK_BLEND_MODE_COLOR_DODGE" glib:nick="color-dodge" glib:name="GSK_BLEND_MODE_COLOR_DODGE">
<doc xml:space="preserve">Brightens the destination color to reflect the source color</doc>
</member>
<member name="color_burn" value="7" c:identifier="GSK_BLEND_MODE_COLOR_BURN" glib:nick="color-burn">
<member name="color_burn" value="7" c:identifier="GSK_BLEND_MODE_COLOR_BURN" glib:nick="color-burn" glib:name="GSK_BLEND_MODE_COLOR_BURN">
<doc xml:space="preserve">Darkens the destination color to reflect the source color</doc>
</member>
<member name="hard_light" value="8" c:identifier="GSK_BLEND_MODE_HARD_LIGHT" glib:nick="hard-light">
<member name="hard_light" value="8" c:identifier="GSK_BLEND_MODE_HARD_LIGHT" glib:nick="hard-light" glib:name="GSK_BLEND_MODE_HARD_LIGHT">
<doc xml:space="preserve">Multiplies or screens the colors, depending on the source color value</doc>
</member>
<member name="soft_light" value="9" c:identifier="GSK_BLEND_MODE_SOFT_LIGHT" glib:nick="soft-light">
<member name="soft_light" value="9" c:identifier="GSK_BLEND_MODE_SOFT_LIGHT" glib:nick="soft-light" glib:name="GSK_BLEND_MODE_SOFT_LIGHT">
<doc xml:space="preserve">Darkens or lightens the colors, depending on the source color value</doc>
</member>
<member name="difference" value="10" c:identifier="GSK_BLEND_MODE_DIFFERENCE" glib:nick="difference">
<member name="difference" value="10" c:identifier="GSK_BLEND_MODE_DIFFERENCE" glib:nick="difference" glib:name="GSK_BLEND_MODE_DIFFERENCE">
<doc xml:space="preserve">Subtracts the darker of the two constituent colors from the lighter color</doc>
</member>
<member name="exclusion" value="11" c:identifier="GSK_BLEND_MODE_EXCLUSION" glib:nick="exclusion">
<member name="exclusion" value="11" c:identifier="GSK_BLEND_MODE_EXCLUSION" glib:nick="exclusion" glib:name="GSK_BLEND_MODE_EXCLUSION">
<doc xml:space="preserve">Produces an effect similar to that of the difference mode but lower in contrast</doc>
</member>
<member name="color" value="12" c:identifier="GSK_BLEND_MODE_COLOR" glib:nick="color">
<member name="color" value="12" c:identifier="GSK_BLEND_MODE_COLOR" glib:nick="color" glib:name="GSK_BLEND_MODE_COLOR">
<doc xml:space="preserve">Creates a color with the hue and saturation of the source color and the luminosity of the destination color</doc>
</member>
<member name="hue" value="13" c:identifier="GSK_BLEND_MODE_HUE" glib:nick="hue">
<member name="hue" value="13" c:identifier="GSK_BLEND_MODE_HUE" glib:nick="hue" glib:name="GSK_BLEND_MODE_HUE">
<doc xml:space="preserve">Creates a color with the hue of the source color and the saturation and luminosity of the destination color</doc>
</member>
<member name="saturation" value="14" c:identifier="GSK_BLEND_MODE_SATURATION" glib:nick="saturation">
<member name="saturation" value="14" c:identifier="GSK_BLEND_MODE_SATURATION" glib:nick="saturation" glib:name="GSK_BLEND_MODE_SATURATION">
<doc xml:space="preserve">Creates a color with the saturation of the source color and the hue and luminosity of the destination color</doc>
</member>
<member name="luminosity" value="15" c:identifier="GSK_BLEND_MODE_LUMINOSITY" glib:nick="luminosity">
<member name="luminosity" value="15" c:identifier="GSK_BLEND_MODE_LUMINOSITY" glib:nick="luminosity" glib:name="GSK_BLEND_MODE_LUMINOSITY">
<doc xml:space="preserve">Creates a color with the luminosity of the source color and the hue and saturation of the destination color</doc>
</member>
</enumeration>
@@ -209,7 +209,7 @@ The 4 sides of the border can have different widths and colors.</doc>
</return-value>
<parameters>
<parameter name="outline" transfer-ownership="none">
<doc xml:space="preserve">a #GskRoundedRect describing the outline of the border</doc>
<doc xml:space="preserve">a `GskRoundedRect` describing the outline of the border</doc>
<type name="RoundedRect" c:type="const GskRoundedRect*"/>
</parameter>
<parameter name="border_width" transfer-ownership="none">
@@ -231,7 +231,7 @@ The 4 sides of the border can have different widths and colors.</doc>
<method name="get_colors" c:identifier="gsk_border_node_get_colors">
<doc xml:space="preserve">Retrieves the colors of the border.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an array of 4 #GdkRGBA structs
<doc xml:space="preserve">an array of 4 `GdkRGBA` structs
for the top, right, bottom and left color of the border</doc>
<type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
</return-value>
@@ -420,7 +420,7 @@ given by @clip.</doc>
</return-value>
<parameters>
<instance-parameter name="node" transfer-ownership="none">
<doc xml:space="preserve">a #GskClipNode</doc>
<doc xml:space="preserve">a `GskClipNode`</doc>
<type name="ClipNode" c:type="const GskRenderNode*"/>
</instance-parameter>
</parameters>
@@ -713,17 +713,17 @@ The new node will acquire a reference to each of the children.</doc>
</method>
</class>
<enumeration name="Corner" glib:type-name="GskCorner" glib:get-type="gsk_corner_get_type" c:type="GskCorner">
<doc xml:space="preserve">The corner indices used by #GskRoundedRect.</doc>
<member name="top_left" value="0" c:identifier="GSK_CORNER_TOP_LEFT" glib:nick="top-left">
<doc xml:space="preserve">The corner indices used by `GskRoundedRect`.</doc>
<member name="top_left" value="0" c:identifier="GSK_CORNER_TOP_LEFT" glib:nick="top-left" glib:name="GSK_CORNER_TOP_LEFT">
<doc xml:space="preserve">The top left corner</doc>
</member>
<member name="top_right" value="1" c:identifier="GSK_CORNER_TOP_RIGHT" glib:nick="top-right">
<member name="top_right" value="1" c:identifier="GSK_CORNER_TOP_RIGHT" glib:nick="top-right" glib:name="GSK_CORNER_TOP_RIGHT">
<doc xml:space="preserve">The top right corner</doc>
</member>
<member name="bottom_right" value="2" c:identifier="GSK_CORNER_BOTTOM_RIGHT" glib:nick="bottom-right">
<member name="bottom_right" value="2" c:identifier="GSK_CORNER_BOTTOM_RIGHT" glib:nick="bottom-right" glib:name="GSK_CORNER_BOTTOM_RIGHT">
<doc xml:space="preserve">The bottom right corner</doc>
</member>
<member name="bottom_left" value="3" c:identifier="GSK_CORNER_BOTTOM_LEFT" glib:nick="bottom-left">
<member name="bottom_left" value="3" c:identifier="GSK_CORNER_BOTTOM_LEFT" glib:nick="bottom-left" glib:name="GSK_CORNER_BOTTOM_LEFT">
<doc xml:space="preserve">The bottom left corner</doc>
</member>
</enumeration>
@@ -844,8 +844,7 @@ Adding this node has no visual effect.</doc>
<class name="GLRenderer" c:symbol-prefix="gl_renderer" c:type="GskGLRenderer" parent="Renderer" glib:type-name="GskGLRenderer" glib:get-type="gsk_gl_renderer_get_type" glib:type-struct="GLRendererClass">
<doc xml:space="preserve">A GSK renderer that is using OpenGL.</doc>
<constructor name="new" c:identifier="gsk_gl_renderer_new">
<doc xml:space="preserve">Creates a new #GskRenderer using OpenGL. This is the default renderer
used by GTK.</doc>
<doc xml:space="preserve">Creates a new `GskRenderer` using OpenGL.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new GL renderer</doc>
<type name="Renderer" c:type="GskRenderer*"/>
@@ -1313,9 +1312,8 @@ u_textureN value that the shader defines.</doc>
<attribute name="org.gtk.Method.get_property" value="resource"/>
<doc xml:space="preserve">Gets the resource path for the GLSL sourcecode being used
to render this shader.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The resource path for the shader,
or %NULL if none.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The resource path for the shader</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
@@ -1433,7 +1431,7 @@ renderer before using it.</doc>
</return-value>
<parameters>
<parameter name="shader" transfer-ownership="none">
<doc xml:space="preserve">the #GskGLShader</doc>
<doc xml:space="preserve">the `GskGLShader`</doc>
<type name="GLShader" c:type="GskGLShader*"/>
</parameter>
<parameter name="bounds" transfer-ownership="none">
@@ -1461,7 +1459,7 @@ renderer before using it.</doc>
<method name="get_args" c:identifier="gsk_gl_shader_node_get_args">
<doc xml:space="preserve">Gets args for the node.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A #GBytes with the uniform arguments</doc>
<doc xml:space="preserve">A `GBytes` with the uniform arguments</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</return-value>
<parameters>
@@ -1504,7 +1502,7 @@ renderer before using it.</doc>
<method name="get_shader" c:identifier="gsk_gl_shader_node_get_shader">
<doc xml:space="preserve">Gets shader code for the node.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GskGLShader shader</doc>
<doc xml:space="preserve">the `GskGLShader` shader</doc>
<type name="GLShader" c:type="GskGLShader*"/>
</return-value>
<parameters>
@@ -1521,28 +1519,28 @@ declare.
It defines both what the type is called in the GLSL shader
code, and what the corresponding C type is on the Gtk side.</doc>
<member name="none" value="0" c:identifier="GSK_GL_UNIFORM_TYPE_NONE" glib:nick="none">
<member name="none" value="0" c:identifier="GSK_GL_UNIFORM_TYPE_NONE" glib:nick="none" glib:name="GSK_GL_UNIFORM_TYPE_NONE">
<doc xml:space="preserve">No type, used for uninitialized or unspecified values.</doc>
</member>
<member name="float" value="1" c:identifier="GSK_GL_UNIFORM_TYPE_FLOAT" glib:nick="float">
<member name="float" value="1" c:identifier="GSK_GL_UNIFORM_TYPE_FLOAT" glib:nick="float" glib:name="GSK_GL_UNIFORM_TYPE_FLOAT">
<doc xml:space="preserve">A float uniform</doc>
</member>
<member name="int" value="2" c:identifier="GSK_GL_UNIFORM_TYPE_INT" glib:nick="int">
<member name="int" value="2" c:identifier="GSK_GL_UNIFORM_TYPE_INT" glib:nick="int" glib:name="GSK_GL_UNIFORM_TYPE_INT">
<doc xml:space="preserve">A GLSL int / gint32 uniform</doc>
</member>
<member name="uint" value="3" c:identifier="GSK_GL_UNIFORM_TYPE_UINT" glib:nick="uint">
<member name="uint" value="3" c:identifier="GSK_GL_UNIFORM_TYPE_UINT" glib:nick="uint" glib:name="GSK_GL_UNIFORM_TYPE_UINT">
<doc xml:space="preserve">A GLSL uint / guint32 uniform</doc>
</member>
<member name="bool" value="4" c:identifier="GSK_GL_UNIFORM_TYPE_BOOL" glib:nick="bool">
<member name="bool" value="4" c:identifier="GSK_GL_UNIFORM_TYPE_BOOL" glib:nick="bool" glib:name="GSK_GL_UNIFORM_TYPE_BOOL">
<doc xml:space="preserve">A GLSL bool / gboolean uniform</doc>
</member>
<member name="vec2" value="5" c:identifier="GSK_GL_UNIFORM_TYPE_VEC2" glib:nick="vec2">
<member name="vec2" value="5" c:identifier="GSK_GL_UNIFORM_TYPE_VEC2" glib:nick="vec2" glib:name="GSK_GL_UNIFORM_TYPE_VEC2">
<doc xml:space="preserve">A GLSL vec2 / graphene_vec2_t uniform</doc>
</member>
<member name="vec3" value="6" c:identifier="GSK_GL_UNIFORM_TYPE_VEC3" glib:nick="vec3">
<member name="vec3" value="6" c:identifier="GSK_GL_UNIFORM_TYPE_VEC3" glib:nick="vec3" glib:name="GSK_GL_UNIFORM_TYPE_VEC3">
<doc xml:space="preserve">A GLSL vec3 / graphene_vec3_t uniform</doc>
</member>
<member name="vec4" value="7" c:identifier="GSK_GL_UNIFORM_TYPE_VEC4" glib:nick="vec4">
<member name="vec4" value="7" c:identifier="GSK_GL_UNIFORM_TYPE_VEC4" glib:nick="vec4" glib:name="GSK_GL_UNIFORM_TYPE_VEC4">
<doc xml:space="preserve">A GLSL vec4 / graphene_vec4_t uniform</doc>
</member>
</enumeration>
@@ -1624,18 +1622,6 @@ code, and what the corresponding C type is on the Gtk side.</doc>
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_VULKAN_RENDERER" c:identifier="GSK_IS_VULKAN_RENDERER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_VULKAN_RENDERER_CLASS" c:identifier="GSK_IS_VULKAN_RENDERER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<class name="InsetShadowNode" c:symbol-prefix="inset_shadow_node" c:type="GskInsetShadowNode" parent="RenderNode" glib:type-name="GskInsetShadowNode" glib:get-type="gsk_inset_shadow_node_get_type" glib:fundamental="1">
<doc xml:space="preserve">A render node for an inset shadow.</doc>
<constructor name="new" c:identifier="gsk_inset_shadow_node_new">
@@ -1867,7 +1853,7 @@ points and color stops, and render that into the area given by @bounds.</doc>
</function-macro>
<class name="NglRenderer" c:symbol-prefix="ngl_renderer" c:type="GskNglRenderer" parent="Renderer" glib:type-name="GskNglRenderer" glib:get-type="gsk_ngl_renderer_get_type" glib:type-struct="NglRendererClass">
<constructor name="new" c:identifier="gsk_ngl_renderer_new" version="4.2">
<doc xml:space="preserve">Creates a new #GskRenderer using the new OpenGL renderer.</doc>
<doc xml:space="preserve">Creates a new `GskRenderer` using the new OpenGL renderer.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new NGL renderer</doc>
<type name="Renderer" c:type="GskRenderer*"/>
@@ -2092,7 +2078,7 @@ during node deserialization.</doc>
</parameters>
</function-macro>
<function-macro name="ROUNDED_RECT_INIT" c:identifier="GSK_ROUNDED_RECT_INIT" introspectable="0">
<doc xml:space="preserve">Initializes a #GskRoundedRect when declaring it.
<doc xml:space="preserve">Initializes a `GskRoundedRect` when declaring it.
All corner sizes will be initialized to 0.</doc>
<parameters>
<parameter name="_x">
@@ -2278,8 +2264,7 @@ properties during construction.</doc>
For a discussion of the supported format, see that function.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">a new `GskRenderNode` or %NULL on
error.</doc>
<doc xml:space="preserve">a new `GskRenderNode`</doc>
<type name="RenderNode" c:type="GskRenderNode*"/>
</return-value>
<parameters>
@@ -2288,7 +2273,7 @@ For a discussion of the supported format, see that function.</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="error_func" transfer-ownership="none" nullable="1" allow-none="1" scope="call" closure="2">
<doc xml:space="preserve">Callback on parsing errors or %NULL</doc>
<doc xml:space="preserve">Callback on parsing errors</doc>
<type name="ParseErrorFunc" c:type="GskParseErrorFunc"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="1">
@@ -2375,12 +2360,12 @@ that were created with previous versions of GTK.
The intended use of this functions is testing, benchmarking and debugging.
The format is not meant as a permanent storage format.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #GBytes representing the node.</doc>
<doc xml:space="preserve">a `GBytes` representing the node.</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</return-value>
<parameters>
<instance-parameter name="node" transfer-ownership="none">
<doc xml:space="preserve">a #GskRenderNode</doc>
<doc xml:space="preserve">a `GskRenderNode`</doc>
<type name="RenderNode" c:type="GskRenderNode*"/>
</instance-parameter>
</parameters>
@@ -2419,89 +2404,89 @@ node to a file for later inspection.</doc>
</instance-parameter>
<parameter name="filename" transfer-ownership="none">
<doc xml:space="preserve">the file to save it to.</doc>
<type name="utf8" c:type="const char*"/>
<type name="filename" c:type="const char*"/>
</parameter>
</parameters>
</method>
</class>
<enumeration name="RenderNodeType" glib:type-name="GskRenderNodeType" glib:get-type="gsk_render_node_type_get_type" c:type="GskRenderNodeType">
<doc xml:space="preserve">The type of a node determines what the node is rendering.</doc>
<member name="not_a_render_node" value="0" c:identifier="GSK_NOT_A_RENDER_NODE" glib:nick="not-a-render-node">
<member name="not_a_render_node" value="0" c:identifier="GSK_NOT_A_RENDER_NODE" glib:nick="not-a-render-node" glib:name="GSK_NOT_A_RENDER_NODE">
<doc xml:space="preserve">Error type. No node will ever have this type.</doc>
</member>
<member name="container_node" value="1" c:identifier="GSK_CONTAINER_NODE" glib:nick="container-node">
<member name="container_node" value="1" c:identifier="GSK_CONTAINER_NODE" glib:nick="container-node" glib:name="GSK_CONTAINER_NODE">
<doc xml:space="preserve">A node containing a stack of children</doc>
</member>
<member name="cairo_node" value="2" c:identifier="GSK_CAIRO_NODE" glib:nick="cairo-node">
<doc xml:space="preserve">A node drawing a #cairo_surface_t</doc>
<member name="cairo_node" value="2" c:identifier="GSK_CAIRO_NODE" glib:nick="cairo-node" glib:name="GSK_CAIRO_NODE">
<doc xml:space="preserve">A node drawing a `cairo_surface_t`</doc>
</member>
<member name="color_node" value="3" c:identifier="GSK_COLOR_NODE" glib:nick="color-node">
<member name="color_node" value="3" c:identifier="GSK_COLOR_NODE" glib:nick="color-node" glib:name="GSK_COLOR_NODE">
<doc xml:space="preserve">A node drawing a single color rectangle</doc>
</member>
<member name="linear_gradient_node" value="4" c:identifier="GSK_LINEAR_GRADIENT_NODE" glib:nick="linear-gradient-node">
<member name="linear_gradient_node" value="4" c:identifier="GSK_LINEAR_GRADIENT_NODE" glib:nick="linear-gradient-node" glib:name="GSK_LINEAR_GRADIENT_NODE">
<doc xml:space="preserve">A node drawing a linear gradient</doc>
</member>
<member name="repeating_linear_gradient_node" value="5" c:identifier="GSK_REPEATING_LINEAR_GRADIENT_NODE" glib:nick="repeating-linear-gradient-node">
<member name="repeating_linear_gradient_node" value="5" c:identifier="GSK_REPEATING_LINEAR_GRADIENT_NODE" glib:nick="repeating-linear-gradient-node" glib:name="GSK_REPEATING_LINEAR_GRADIENT_NODE">
<doc xml:space="preserve">A node drawing a repeating linear gradient</doc>
</member>
<member name="radial_gradient_node" value="6" c:identifier="GSK_RADIAL_GRADIENT_NODE" glib:nick="radial-gradient-node">
<member name="radial_gradient_node" value="6" c:identifier="GSK_RADIAL_GRADIENT_NODE" glib:nick="radial-gradient-node" glib:name="GSK_RADIAL_GRADIENT_NODE">
<doc xml:space="preserve">A node drawing a radial gradient</doc>
</member>
<member name="repeating_radial_gradient_node" value="7" c:identifier="GSK_REPEATING_RADIAL_GRADIENT_NODE" glib:nick="repeating-radial-gradient-node">
<member name="repeating_radial_gradient_node" value="7" c:identifier="GSK_REPEATING_RADIAL_GRADIENT_NODE" glib:nick="repeating-radial-gradient-node" glib:name="GSK_REPEATING_RADIAL_GRADIENT_NODE">
<doc xml:space="preserve">A node drawing a repeating radial gradient</doc>
</member>
<member name="conic_gradient_node" value="8" c:identifier="GSK_CONIC_GRADIENT_NODE" glib:nick="conic-gradient-node">
<member name="conic_gradient_node" value="8" c:identifier="GSK_CONIC_GRADIENT_NODE" glib:nick="conic-gradient-node" glib:name="GSK_CONIC_GRADIENT_NODE">
<doc xml:space="preserve">A node drawing a conic gradient</doc>
</member>
<member name="border_node" value="9" c:identifier="GSK_BORDER_NODE" glib:nick="border-node">
<member name="border_node" value="9" c:identifier="GSK_BORDER_NODE" glib:nick="border-node" glib:name="GSK_BORDER_NODE">
<doc xml:space="preserve">A node stroking a border around an area</doc>
</member>
<member name="texture_node" value="10" c:identifier="GSK_TEXTURE_NODE" glib:nick="texture-node">
<doc xml:space="preserve">A node drawing a #GdkTexture</doc>
<member name="texture_node" value="10" c:identifier="GSK_TEXTURE_NODE" glib:nick="texture-node" glib:name="GSK_TEXTURE_NODE">
<doc xml:space="preserve">A node drawing a `GdkTexture`</doc>
</member>
<member name="inset_shadow_node" value="11" c:identifier="GSK_INSET_SHADOW_NODE" glib:nick="inset-shadow-node">
<member name="inset_shadow_node" value="11" c:identifier="GSK_INSET_SHADOW_NODE" glib:nick="inset-shadow-node" glib:name="GSK_INSET_SHADOW_NODE">
<doc xml:space="preserve">A node drawing an inset shadow</doc>
</member>
<member name="outset_shadow_node" value="12" c:identifier="GSK_OUTSET_SHADOW_NODE" glib:nick="outset-shadow-node">
<member name="outset_shadow_node" value="12" c:identifier="GSK_OUTSET_SHADOW_NODE" glib:nick="outset-shadow-node" glib:name="GSK_OUTSET_SHADOW_NODE">
<doc xml:space="preserve">A node drawing an outset shadow</doc>
</member>
<member name="transform_node" value="13" c:identifier="GSK_TRANSFORM_NODE" glib:nick="transform-node">
<member name="transform_node" value="13" c:identifier="GSK_TRANSFORM_NODE" glib:nick="transform-node" glib:name="GSK_TRANSFORM_NODE">
<doc xml:space="preserve">A node that renders its child after applying a matrix transform</doc>
</member>
<member name="opacity_node" value="14" c:identifier="GSK_OPACITY_NODE" glib:nick="opacity-node">
<member name="opacity_node" value="14" c:identifier="GSK_OPACITY_NODE" glib:nick="opacity-node" glib:name="GSK_OPACITY_NODE">
<doc xml:space="preserve">A node that changes the opacity of its child</doc>
</member>
<member name="color_matrix_node" value="15" c:identifier="GSK_COLOR_MATRIX_NODE" glib:nick="color-matrix-node">
<member name="color_matrix_node" value="15" c:identifier="GSK_COLOR_MATRIX_NODE" glib:nick="color-matrix-node" glib:name="GSK_COLOR_MATRIX_NODE">
<doc xml:space="preserve">A node that applies a color matrix to every pixel</doc>
</member>
<member name="repeat_node" value="16" c:identifier="GSK_REPEAT_NODE" glib:nick="repeat-node">
<member name="repeat_node" value="16" c:identifier="GSK_REPEAT_NODE" glib:nick="repeat-node" glib:name="GSK_REPEAT_NODE">
<doc xml:space="preserve">A node that repeats the child's contents</doc>
</member>
<member name="clip_node" value="17" c:identifier="GSK_CLIP_NODE" glib:nick="clip-node">
<member name="clip_node" value="17" c:identifier="GSK_CLIP_NODE" glib:nick="clip-node" glib:name="GSK_CLIP_NODE">
<doc xml:space="preserve">A node that clips its child to a rectangular area</doc>
</member>
<member name="rounded_clip_node" value="18" c:identifier="GSK_ROUNDED_CLIP_NODE" glib:nick="rounded-clip-node">
<member name="rounded_clip_node" value="18" c:identifier="GSK_ROUNDED_CLIP_NODE" glib:nick="rounded-clip-node" glib:name="GSK_ROUNDED_CLIP_NODE">
<doc xml:space="preserve">A node that clips its child to a rounded rectangle</doc>
</member>
<member name="shadow_node" value="19" c:identifier="GSK_SHADOW_NODE" glib:nick="shadow-node">
<member name="shadow_node" value="19" c:identifier="GSK_SHADOW_NODE" glib:nick="shadow-node" glib:name="GSK_SHADOW_NODE">
<doc xml:space="preserve">A node that draws a shadow below its child</doc>
</member>
<member name="blend_node" value="20" c:identifier="GSK_BLEND_NODE" glib:nick="blend-node">
<member name="blend_node" value="20" c:identifier="GSK_BLEND_NODE" glib:nick="blend-node" glib:name="GSK_BLEND_NODE">
<doc xml:space="preserve">A node that blends two children together</doc>
</member>
<member name="cross_fade_node" value="21" c:identifier="GSK_CROSS_FADE_NODE" glib:nick="cross-fade-node">
<member name="cross_fade_node" value="21" c:identifier="GSK_CROSS_FADE_NODE" glib:nick="cross-fade-node" glib:name="GSK_CROSS_FADE_NODE">
<doc xml:space="preserve">A node that cross-fades between two children</doc>
</member>
<member name="text_node" value="22" c:identifier="GSK_TEXT_NODE" glib:nick="text-node">
<member name="text_node" value="22" c:identifier="GSK_TEXT_NODE" glib:nick="text-node" glib:name="GSK_TEXT_NODE">
<doc xml:space="preserve">A node containing a glyph string</doc>
</member>
<member name="blur_node" value="23" c:identifier="GSK_BLUR_NODE" glib:nick="blur-node">
<member name="blur_node" value="23" c:identifier="GSK_BLUR_NODE" glib:nick="blur-node" glib:name="GSK_BLUR_NODE">
<doc xml:space="preserve">A node that applies a blur</doc>
</member>
<member name="debug_node" value="24" c:identifier="GSK_DEBUG_NODE" glib:nick="debug-node">
<member name="debug_node" value="24" c:identifier="GSK_DEBUG_NODE" glib:nick="debug-node" glib:name="GSK_DEBUG_NODE">
<doc xml:space="preserve">Debug information that does not affect the rendering</doc>
</member>
<member name="gl_shader_node" value="25" c:identifier="GSK_GL_SHADER_NODE" glib:nick="gl-shader-node">
<member name="gl_shader_node" value="25" c:identifier="GSK_GL_SHADER_NODE" glib:nick="gl-shader-node" glib:name="GSK_GL_SHADER_NODE">
<doc xml:space="preserve">A node that uses OpenGL fragment shaders to render</doc>
</member>
</enumeration>
@@ -2608,7 +2593,7 @@ the rendering is in progress.</doc>
</parameter>
<parameter name="region" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the `cairo_region_t` that must be redrawn or %NULL
for the whole window</doc>
for the whole window</doc>
<type name="cairo.Region" c:type="const cairo_region_t*"/>
</parameter>
</parameters>
@@ -3108,13 +3093,13 @@ negative values for the @top, @right, @bottom or @left.</doc>
The actual implementation of each filter is deferred to the
rendering pipeline.</doc>
<member name="linear" value="0" c:identifier="GSK_SCALING_FILTER_LINEAR" glib:nick="linear">
<member name="linear" value="0" c:identifier="GSK_SCALING_FILTER_LINEAR" glib:nick="linear" glib:name="GSK_SCALING_FILTER_LINEAR">
<doc xml:space="preserve">linear interpolation filter</doc>
</member>
<member name="nearest" value="1" c:identifier="GSK_SCALING_FILTER_NEAREST" glib:nick="nearest">
<member name="nearest" value="1" c:identifier="GSK_SCALING_FILTER_NEAREST" glib:nick="nearest" glib:name="GSK_SCALING_FILTER_NEAREST">
<doc xml:space="preserve">nearest neighbor interpolation filter</doc>
</member>
<member name="trilinear" value="2" c:identifier="GSK_SCALING_FILTER_TRILINEAR" glib:nick="trilinear">
<member name="trilinear" value="2" c:identifier="GSK_SCALING_FILTER_TRILINEAR" glib:nick="trilinear" glib:name="GSK_SCALING_FILTER_TRILINEAR">
<doc xml:space="preserve">linear interpolation along each axis,
plus mipmap generation, with linear interpolation along the mipmap
levels</doc>
@@ -3122,17 +3107,16 @@ rendering pipeline.</doc>
</enumeration>
<enumeration name="SerializationError" glib:type-name="GskSerializationError" glib:get-type="gsk_serialization_error_get_type" c:type="GskSerializationError" glib:error-domain="gsk-serialization-error-quark">
<doc xml:space="preserve">Errors that can happen during (de)serialization.</doc>
<member name="unsupported_format" value="0" c:identifier="GSK_SERIALIZATION_UNSUPPORTED_FORMAT" glib:nick="unsupported-format">
<doc xml:space="preserve">The format can not be
identified</doc>
<member name="unsupported_format" value="0" c:identifier="GSK_SERIALIZATION_UNSUPPORTED_FORMAT" glib:nick="unsupported-format" glib:name="GSK_SERIALIZATION_UNSUPPORTED_FORMAT">
<doc xml:space="preserve">The format can not be identified</doc>
</member>
<member name="unsupported_version" value="1" c:identifier="GSK_SERIALIZATION_UNSUPPORTED_VERSION" glib:nick="unsupported-version">
<doc xml:space="preserve">The version of the data
is not understood</doc>
<member name="unsupported_version" value="1" c:identifier="GSK_SERIALIZATION_UNSUPPORTED_VERSION" glib:nick="unsupported-version" glib:name="GSK_SERIALIZATION_UNSUPPORTED_VERSION">
<doc xml:space="preserve">The version of the data is not
understood</doc>
</member>
<member name="invalid_data" value="2" c:identifier="GSK_SERIALIZATION_INVALID_DATA" glib:nick="invalid-data">
<member name="invalid_data" value="2" c:identifier="GSK_SERIALIZATION_INVALID_DATA" glib:nick="invalid-data" glib:name="GSK_SERIALIZATION_INVALID_DATA">
<doc xml:space="preserve">The given data may not exist in
a proper serialization</doc>
a proper serialization</doc>
</member>
<function name="quark" c:identifier="gsk_serialization_error_quark">
<return-value transfer-ownership="none">
@@ -3141,7 +3125,7 @@ rendering pipeline.</doc>
</function>
</enumeration>
<record name="ShaderArgsBuilder" c:type="GskShaderArgsBuilder" glib:type-name="GskShaderArgsBuilder" glib:get-type="gsk_shader_args_builder_get_type" c:symbol-prefix="shader_args_builder">
<doc xml:space="preserve">An object to build the uniforms data for a #GskGLShader.</doc>
<doc xml:space="preserve">An object to build the uniforms data for a `GskGLShader`.</doc>
<constructor name="new" c:identifier="gsk_shader_args_builder_new">
<doc xml:space="preserve">Allocates a builder that can be used to construct a new uniform data
chunk.</doc>
@@ -3162,7 +3146,7 @@ chunk.</doc>
</parameters>
</constructor>
<method name="free_to_args" c:identifier="gsk_shader_args_builder_free_to_args" introspectable="0">
<doc xml:space="preserve">Creates a new #GBytes args from the current state of the
<doc xml:space="preserve">Creates a new `GBytes` args from the current state of the
given @builder, and frees the @builder instance.
Any uniforms of the shader that have not been explicitly set
@@ -3487,11 +3471,11 @@ color glyphs.</doc>
</return-value>
<parameters>
<parameter name="font" transfer-ownership="none">
<doc xml:space="preserve">the #PangoFont containing the glyphs</doc>
<doc xml:space="preserve">the `PangoFont` containing the glyphs</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
<parameter name="glyphs" transfer-ownership="none">
<doc xml:space="preserve">the #PangoGlyphString to render</doc>
<doc xml:space="preserve">the `PangoGlyphString` to render</doc>
<type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
</parameter>
<parameter name="color" transfer-ownership="none">
@@ -3590,7 +3574,7 @@ color glyphs.</doc>
</method>
</class>
<class name="TextureNode" c:symbol-prefix="texture_node" c:type="GskTextureNode" parent="RenderNode" glib:type-name="GskTextureNode" glib:get-type="gsk_texture_node_get_type" glib:fundamental="1">
<doc xml:space="preserve">A render node for a #GdkTexture.</doc>
<doc xml:space="preserve">A render node for a `GdkTexture`.</doc>
<constructor name="new" c:identifier="gsk_texture_node_new">
<doc xml:space="preserve">Creates a `GskRenderNode` that will render the given
@texture into the area given by @bounds.</doc>
@@ -3641,7 +3625,7 @@ having to worry about others changing them.</doc>
<method name="equal" c:identifier="gsk_transform_equal">
<doc xml:space="preserve">Checks two transforms for equality.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the two transforms perform the same operation.</doc>
<doc xml:space="preserve">%TRUE if the two transforms perform the same operation</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@@ -3663,7 +3647,7 @@ having to worry about others changing them.</doc>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">A #GskTransform</doc>
<doc xml:space="preserve">A `GskTransform`</doc>
<type name="Transform" c:type="GskTransform*"/>
</instance-parameter>
</parameters>
@@ -3677,8 +3661,7 @@ the correct inverse of %NULL. If you need to differentiate
between those cases, you should check @self is not %NULL
before calling this function.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">The inverted transform or %NULL if the transform
cannot be inverted.</doc>
<doc xml:space="preserve">The inverted transform</doc>
<type name="Transform" c:type="GskTransform*"/>
</return-value>
<parameters>
@@ -3723,8 +3706,8 @@ on the z=0 plane are unchanged.</doc>
</instance-parameter>
<parameter name="depth" transfer-ownership="none">
<doc xml:space="preserve">distance of the z=0 plane. Lower values give a more
flattened pyramid and therefore a more pronounced
perspective effect.</doc>
flattened pyramid and therefore a more pronounced
perspective effect.</doc>
<type name="gfloat" c:type="float"/>
</parameter>
</parameters>
@@ -3873,7 +3856,7 @@ Cairo.</doc>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">a 2D #GskTransform</doc>
<doc xml:space="preserve">a 2D `GskTransform`</doc>
<type name="Transform" c:type="GskTransform*"/>
</instance-parameter>
<parameter name="out_xx" direction="out" caller-allocates="0" transfer-ownership="full">
@@ -3906,8 +3889,11 @@ Cairo.</doc>
<doc xml:space="preserve">Converts a `GskTransform` to 2D affine transformation factors.
@self must be a 2D transformation. If you are not
sure, use gsk_transform_get_category() &gt;=
%GSK_TRANSFORM_CATEGORY_2D_AFFINE to check.</doc>
sure, use
gsk_transform_get_category() &gt;= %GSK_TRANSFORM_CATEGORY_2D_AFFINE
to check.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3918,22 +3904,22 @@ sure, use gsk_transform_get_category() &gt;=
</instance-parameter>
<parameter name="out_scale_x" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the scale
factor in the x direction</doc>
factor in the x direction</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
<parameter name="out_scale_y" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the scale
factor in the y direction</doc>
factor in the y direction</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
<parameter name="out_dx" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the translation
in the x direction</doc>
in the x direction</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
<parameter name="out_dy" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the translation
in the y direction</doc>
in the y direction</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
</parameters>
@@ -3968,7 +3954,7 @@ This is a wrapper around [method@Gsk.Transform.print].</doc>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #GskTransform</doc>
<doc xml:space="preserve">a `GskTransform`</doc>
<type name="Transform" c:type="GskTransform*"/>
</instance-parameter>
</parameters>
@@ -3977,8 +3963,11 @@ This is a wrapper around [method@Gsk.Transform.print].</doc>
<doc xml:space="preserve">Converts a `GskTransform` to a translation operation.
@self must be a 2D transformation. If you are not
sure, use gsk_transform_get_category() &gt;=
%GSK_TRANSFORM_CATEGORY_2D_TRANSLATE to check.</doc>
sure, use
gsk_transform_get_category() &gt;= %GSK_TRANSFORM_CATEGORY_2D_TRANSLATE
to check.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3989,12 +3978,12 @@ sure, use gsk_transform_get_category() &gt;=
</instance-parameter>
<parameter name="out_dx" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the translation
in the x direction</doc>
in the x direction</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
<parameter name="out_dy" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">return location for the translation
in the y direction</doc>
in the y direction</doc>
<type name="gfloat" c:type="float*"/>
</parameter>
</parameters>
@@ -4143,34 +4132,34 @@ So if you want to for example check if a matrix is a 2D matrix,
Also keep in mind that rounding errors may cause matrices to not
conform to their categories. Otherwise, matrix operations done via
mutliplication will not worsen categories. So for the matrix
multiplication will not worsen categories. So for the matrix
multiplication `C = A * B`, `category(C) = MIN (category(A), category(B))`.</doc>
<member name="unknown" value="0" c:identifier="GSK_TRANSFORM_CATEGORY_UNKNOWN" glib:nick="unknown">
<member name="unknown" value="0" c:identifier="GSK_TRANSFORM_CATEGORY_UNKNOWN" glib:nick="unknown" glib:name="GSK_TRANSFORM_CATEGORY_UNKNOWN">
<doc xml:space="preserve">The category of the matrix has not been
determined.</doc>
determined.</doc>
</member>
<member name="any" value="1" c:identifier="GSK_TRANSFORM_CATEGORY_ANY" glib:nick="any">
<member name="any" value="1" c:identifier="GSK_TRANSFORM_CATEGORY_ANY" glib:nick="any" glib:name="GSK_TRANSFORM_CATEGORY_ANY">
<doc xml:space="preserve">Analyzing the matrix concluded that it does
not fit in any other category.</doc>
not fit in any other category.</doc>
</member>
<member name="3d" value="2" c:identifier="GSK_TRANSFORM_CATEGORY_3D" glib:nick="3d">
<member name="3d" value="2" c:identifier="GSK_TRANSFORM_CATEGORY_3D" glib:nick="3d" glib:name="GSK_TRANSFORM_CATEGORY_3D">
<doc xml:space="preserve">The matrix is a 3D matrix. This means that
the w column (the last column) has the values (0, 0, 0, 1).</doc>
the w column (the last column) has the values (0, 0, 0, 1).</doc>
</member>
<member name="2d" value="3" c:identifier="GSK_TRANSFORM_CATEGORY_2D" glib:nick="2d">
<member name="2d" value="3" c:identifier="GSK_TRANSFORM_CATEGORY_2D" glib:nick="2d" glib:name="GSK_TRANSFORM_CATEGORY_2D">
<doc xml:space="preserve">The matrix is a 2D matrix. This is equivalent
to graphene_matrix_is_2d() returning %TRUE. In particular, this
means that Cairo can deal with the matrix.</doc>
to graphene_matrix_is_2d() returning %TRUE. In particular, this
means that Cairo can deal with the matrix.</doc>
</member>
<member name="2d_affine" value="4" c:identifier="GSK_TRANSFORM_CATEGORY_2D_AFFINE" glib:nick="2d-affine">
<member name="2d_affine" value="4" c:identifier="GSK_TRANSFORM_CATEGORY_2D_AFFINE" glib:nick="2d-affine" glib:name="GSK_TRANSFORM_CATEGORY_2D_AFFINE">
<doc xml:space="preserve">The matrix is a combination of 2D scale
and 2D translation operations. In particular, this means that any
rectangle can be transformed exactly using this matrix.</doc>
and 2D translation operations. In particular, this means that any
rectangle can be transformed exactly using this matrix.</doc>
</member>
<member name="2d_translate" value="5" c:identifier="GSK_TRANSFORM_CATEGORY_2D_TRANSLATE" glib:nick="2d-translate">
<member name="2d_translate" value="5" c:identifier="GSK_TRANSFORM_CATEGORY_2D_TRANSLATE" glib:nick="2d-translate" glib:name="GSK_TRANSFORM_CATEGORY_2D_TRANSLATE">
<doc xml:space="preserve">The matrix is a 2D translation.</doc>
</member>
<member name="identity" value="6" c:identifier="GSK_TRANSFORM_CATEGORY_IDENTITY" glib:nick="identity">
<member name="identity" value="6" c:identifier="GSK_TRANSFORM_CATEGORY_IDENTITY" glib:nick="identity" glib:name="GSK_TRANSFORM_CATEGORY_IDENTITY">
<doc xml:space="preserve">The matrix is the identity matrix.</doc>
</member>
</enumeration>
@@ -4221,33 +4210,6 @@ with the given @transform.</doc>
</parameters>
</method>
</class>
<function-macro name="VULKAN_RENDERER" c:identifier="GSK_VULKAN_RENDERER" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="VULKAN_RENDERER_CLASS" c:identifier="GSK_VULKAN_RENDERER_CLASS" introspectable="0">
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="VULKAN_RENDERER_GET_CLASS" c:identifier="GSK_VULKAN_RENDERER_GET_CLASS" introspectable="0">
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<class name="VulkanRenderer" c:symbol-prefix="vulkan_renderer" c:type="GskVulkanRenderer" parent="Renderer" glib:type-name="GskVulkanRenderer" glib:get-type="gsk_vulkan_renderer_get_type" glib:type-struct="VulkanRendererClass">
<doc xml:space="preserve">A GSK renderer that is using Vulkan.</doc>
<constructor name="new" c:identifier="gsk_vulkan_renderer_new">
<return-value transfer-ownership="full">
<type name="Renderer" c:type="GskRenderer*"/>
</return-value>
</constructor>
</class>
<record name="VulkanRendererClass" c:type="GskVulkanRendererClass" disguised="1" glib:is-gtype-struct-for="VulkanRenderer"/>
<function name="serialization_error_quark" c:identifier="gsk_serialization_error_quark" moved-to="SerializationError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>

File diff suppressed because it is too large Load Diff