Reformat all .gir files

This commit is contained in:
Evgenii Pashkin
2018-05-09 17:27:09 +03:00
parent 774df3181a
commit 8296c92b5c
27 changed files with 13978 additions and 49585 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,28 +1,17 @@
<?xml version="1.0"?>
<repository version="1.2"
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"
c:identifier-prefixes="DBus"
c:symbol-prefixes="DBus">
<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" c:identifier-prefixes="DBus" c:symbol-prefixes="DBus">
<package name="dbus-1"/>
<namespace name="DBus"
version="1.0"
c:prefix="DBus">
<namespace name="DBus" version="1.0" c:prefix="DBus">
<enumeration name="BusType" c:type="DBusBusType">
<member name="session" value="0" c:identifier="DBUS_BUS_SESSION"/>
<member name="system" value="1" c:identifier="DBUS_BUS_SYSTEM"/>
<member name="starter" value="2" c:identifier="DBUS_BUS_STARTER"/>
</enumeration>
<record name="Connection"
c:type="DBusConnection"
glib:type-name="DBusConnection"
glib:get-type="dbus_connection_get_type">
<record name="Connection" c:type="DBusConnection" glib:type-name="DBusConnection" glib:get-type="dbus_connection_get_type">
</record>
<record name="Error" c:type="DBusError">
</record>
<record name="Message"
c:type="DBusMessage">
<record name="Message" c:type="DBusMessage">
</record>
<record name="MessageIter" c:type="DBusMessageIter">
</record>

View File

@@ -1,17 +1,11 @@
<?xml version="1.0"?>
<repository version="1.2"
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"
c:identifier-prefixes="DBus"
c:symbol-prefixes="DBus">
<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" c:identifier-prefixes="DBus" c:symbol-prefixes="DBus">
<include name="GObject" version="2.0"/>
<package name="dbus-glib-1"/>
<namespace name="DBusGLib" version="1.0" c:prefix="DBusG">
<record name="Connection" c:type="DBusGConnection"/>
<record name="MethodInvocation" c:type="DBusGMethodInvocation"/>
<class name="Proxy" c:type="DBusGProxy" parent="GObject.Object"
glib:type-name="DBusGProxy" glib:get-type="dbus_g_proxy_get_type">
<class name="Proxy" c:type="DBusGProxy" parent="GObject.Object" glib:type-name="DBusGProxy" glib:get-type="dbus_g_proxy_get_type">
</class>
<record name="ProxyClass" c:type="DBusGProxyClass"/>
</namespace>

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="GL" version="1.0"
c:identifier-prefixes="GL"
c:symbol-prefixes="gl">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="GL" version="1.0" c:identifier-prefixes="GL" c:symbol-prefixes="gl">
<record name="bitfield" c:type="GLbitfield"/>
<record name="charARB" c:type="GLcharARB"/>
<record name="clampf" c:type="GLclampf"/>

View File

@@ -2,18 +2,11 @@
<!-- 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 version="1.2"
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">
<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="GLib" version="2.0"/>
<package name="gmodule-2.0"/>
<c:include name="gmodule.h"/>
<namespace name="GModule"
version="2.0"
shared-library="libgmodule-2.0.so.0"
c:identifier-prefixes="G"
c:symbol-prefixes="g">
<namespace name="GModule" version="2.0" shared-library="libgmodule-2.0.so.0" c:identifier-prefixes="G" c:symbol-prefixes="g">
<record name="Module" c:type="GModule" disguised="1">
<doc xml:space="preserve">The #GModule struct is an opaque data structure to represent a
[dynamically-loaded module][glib-Dynamic-Loading-of-Modules].
@@ -75,11 +68,7 @@ by #G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc>
<doc xml:space="preserve">the name of the symbol to find</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="symbol"
direction="out"
caller-allocates="0"
transfer-ownership="full"
nullable="1">
<parameter name="symbol" direction="out" caller-allocates="0" transfer-ownership="full" nullable="1">
<doc xml:space="preserve">returns the pointer to the symbol value</doc>
<type name="gpointer" c:type="gpointer*"/>
</parameter>
@@ -105,10 +94,7 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="directory"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="directory" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the directory where the module is. This can be
%NULL or the empty string to indicate that the standard platform-specific
directories will be used, though that is not recommended</doc>
@@ -145,10 +131,7 @@ returned.</doc>
<type name="Module" c:type="GModule*"/>
</return-value>
<parameters>
<parameter name="file_name"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="file_name" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the name of the file containing the module, or %NULL
to obtain a #GModule representing the main program itself</doc>
<type name="utf8" c:type="const gchar*"/>
@@ -218,9 +201,7 @@ It is passed the #GModule structure.</doc>
</parameter>
</parameters>
</callback>
<function name="module_build_path"
c:identifier="g_module_build_path"
moved-to="Module.build_path">
<function name="module_build_path" c:identifier="g_module_build_path" moved-to="Module.build_path">
<doc xml:space="preserve">A portable way to build the filename of a module. The platform-specific
prefix and suffix are added to the filename, if needed, and the result
is added to the directory, using the correct separator character.
@@ -240,10 +221,7 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="directory"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="directory" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the directory where the module is. This can be
%NULL or the empty string to indicate that the standard platform-specific
directories will be used, though that is not recommended</doc>
@@ -255,18 +233,14 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
</parameter>
</parameters>
</function>
<function name="module_error"
c:identifier="g_module_error"
moved-to="Module.error">
<function name="module_error" c:identifier="g_module_error" moved-to="Module.error">
<doc xml:space="preserve">Gets a string describing the last module error.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a string describing the last module error</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
</function>
<function name="module_supported"
c:identifier="g_module_supported"
moved-to="Module.supported">
<function name="module_supported" c:identifier="g_module_supported" moved-to="Module.supported">
<doc xml:space="preserve">Checks if modules are supported on the current platform.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if modules are supported</doc>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,10 +2,7 @@
<!-- 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 version="1.2"
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">
<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="3.0"/>
<include name="GdkPixbuf" version="2.0"/>
<include name="Gio" version="2.0"/>
@@ -13,31 +10,12 @@ and/or use gtk-doc annotations. -->
<include name="xlib" version="2.0"/>
<package name="gdk-x11-3.0"/>
<c:include name="gdk/gdkx.h"/>
<namespace name="GdkX11"
version="3.0"
shared-library="libgdk-3.so.0"
c:identifier-prefixes="Gdk"
c:symbol-prefixes="gdk">
<class name="X11AppLaunchContext"
c:symbol-prefix="x11_app_launch_context"
c:type="GdkX11AppLaunchContext"
parent="Gdk.AppLaunchContext"
glib:type-name="GdkX11AppLaunchContext"
glib:get-type="gdk_x11_app_launch_context_get_type"
glib:type-struct="X11AppLaunchContextClass">
<namespace name="GdkX11" version="3.0" shared-library="libgdk-3.so.0" c:identifier-prefixes="Gdk" c:symbol-prefixes="gdk">
<class name="X11AppLaunchContext" c:symbol-prefix="x11_app_launch_context" c:type="GdkX11AppLaunchContext" parent="Gdk.AppLaunchContext" glib:type-name="GdkX11AppLaunchContext" glib:get-type="gdk_x11_app_launch_context_get_type" glib:type-struct="X11AppLaunchContextClass">
</class>
<record name="X11AppLaunchContextClass"
c:type="GdkX11AppLaunchContextClass"
disguised="1"
glib:is-gtype-struct-for="X11AppLaunchContext">
<record name="X11AppLaunchContextClass" c:type="GdkX11AppLaunchContextClass" disguised="1" glib:is-gtype-struct-for="X11AppLaunchContext">
</record>
<class name="X11Cursor"
c:symbol-prefix="x11_cursor"
c:type="GdkX11Cursor"
parent="Gdk.Cursor"
glib:type-name="GdkX11Cursor"
glib:get-type="gdk_x11_cursor_get_type"
glib:type-struct="X11CursorClass">
<class name="X11Cursor" c:symbol-prefix="x11_cursor" c:type="GdkX11Cursor" parent="Gdk.Cursor" glib:type-name="GdkX11Cursor" glib:get-type="gdk_x11_cursor_get_type" glib:type-struct="X11CursorClass">
<method name="get_xcursor" c:identifier="gdk_x11_cursor_get_xcursor">
<doc xml:space="preserve">Returns the X cursor belonging to a #GdkCursor.</doc>
<return-value transfer-ownership="none">
@@ -65,98 +43,38 @@ and/or use gtk-doc annotations. -->
</parameters>
</method>
</class>
<record name="X11CursorClass"
c:type="GdkX11CursorClass"
disguised="1"
glib:is-gtype-struct-for="X11Cursor">
<record name="X11CursorClass" c:type="GdkX11CursorClass" disguised="1" glib:is-gtype-struct-for="X11Cursor">
</record>
<class name="X11DeviceCore"
c:symbol-prefix="x11_device_core"
c:type="GdkX11DeviceCore"
parent="Gdk.Device"
glib:type-name="GdkX11DeviceCore"
glib:get-type="gdk_x11_device_core_get_type"
glib:type-struct="X11DeviceCoreClass">
<class name="X11DeviceCore" c:symbol-prefix="x11_device_core" c:type="GdkX11DeviceCore" parent="Gdk.Device" glib:type-name="GdkX11DeviceCore" glib:get-type="gdk_x11_device_core_get_type" glib:type-struct="X11DeviceCoreClass">
</class>
<record name="X11DeviceCoreClass"
c:type="GdkX11DeviceCoreClass"
disguised="1"
glib:is-gtype-struct-for="X11DeviceCore">
<record name="X11DeviceCoreClass" c:type="GdkX11DeviceCoreClass" disguised="1" glib:is-gtype-struct-for="X11DeviceCore">
</record>
<class name="X11DeviceManagerCore"
c:symbol-prefix="x11_device_manager_core"
c:type="GdkX11DeviceManagerCore"
parent="Gdk.DeviceManager"
glib:type-name="GdkX11DeviceManagerCore"
glib:get-type="gdk_x11_device_manager_core_get_type"
glib:type-struct="X11DeviceManagerCoreClass">
<class name="X11DeviceManagerCore" c:symbol-prefix="x11_device_manager_core" c:type="GdkX11DeviceManagerCore" parent="Gdk.DeviceManager" glib:type-name="GdkX11DeviceManagerCore" glib:get-type="gdk_x11_device_manager_core_get_type" glib:type-struct="X11DeviceManagerCoreClass">
</class>
<record name="X11DeviceManagerCoreClass"
c:type="GdkX11DeviceManagerCoreClass"
disguised="1"
glib:is-gtype-struct-for="X11DeviceManagerCore">
<record name="X11DeviceManagerCoreClass" c:type="GdkX11DeviceManagerCoreClass" disguised="1" glib:is-gtype-struct-for="X11DeviceManagerCore">
</record>
<class name="X11DeviceManagerXI2"
c:symbol-prefix="x11_device_manager_xi2"
c:type="GdkX11DeviceManagerXI2"
parent="X11DeviceManagerCore"
glib:type-name="GdkX11DeviceManagerXI2"
glib:get-type="gdk_x11_device_manager_xi2_get_type"
glib:type-struct="X11DeviceManagerXI2Class">
<property name="major"
writable="1"
construct-only="1"
transfer-ownership="none">
<class name="X11DeviceManagerXI2" c:symbol-prefix="x11_device_manager_xi2" c:type="GdkX11DeviceManagerXI2" parent="X11DeviceManagerCore" glib:type-name="GdkX11DeviceManagerXI2" glib:get-type="gdk_x11_device_manager_xi2_get_type" glib:type-struct="X11DeviceManagerXI2Class">
<property name="major" writable="1" construct-only="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="minor"
writable="1"
construct-only="1"
transfer-ownership="none">
<property name="minor" writable="1" construct-only="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="opcode"
writable="1"
construct-only="1"
transfer-ownership="none">
<property name="opcode" writable="1" construct-only="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
</class>
<record name="X11DeviceManagerXI2Class"
c:type="GdkX11DeviceManagerXI2Class"
disguised="1"
glib:is-gtype-struct-for="X11DeviceManagerXI2">
<record name="X11DeviceManagerXI2Class" c:type="GdkX11DeviceManagerXI2Class" disguised="1" glib:is-gtype-struct-for="X11DeviceManagerXI2">
</record>
<class name="X11DeviceXI2"
c:symbol-prefix="x11_device_xi2"
c:type="GdkX11DeviceXI2"
parent="Gdk.Device"
glib:type-name="GdkX11DeviceXI2"
glib:get-type="gdk_x11_device_xi2_get_type"
glib:type-struct="X11DeviceXI2Class">
<property name="device-id"
writable="1"
construct-only="1"
transfer-ownership="none">
<class name="X11DeviceXI2" c:symbol-prefix="x11_device_xi2" c:type="GdkX11DeviceXI2" parent="Gdk.Device" glib:type-name="GdkX11DeviceXI2" glib:get-type="gdk_x11_device_xi2_get_type" glib:type-struct="X11DeviceXI2Class">
<property name="device-id" writable="1" construct-only="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
</class>
<record name="X11DeviceXI2Class"
c:type="GdkX11DeviceXI2Class"
disguised="1"
glib:is-gtype-struct-for="X11DeviceXI2">
<record name="X11DeviceXI2Class" c:type="GdkX11DeviceXI2Class" disguised="1" glib:is-gtype-struct-for="X11DeviceXI2">
</record>
<class name="X11Display"
c:symbol-prefix="x11_display"
c:type="GdkX11Display"
parent="Gdk.Display"
glib:type-name="GdkX11Display"
glib:get-type="gdk_x11_display_get_type"
glib:type-struct="X11DisplayClass">
<method name="broadcast_startup_message"
c:identifier="gdk_x11_display_broadcast_startup_message"
version="2.12"
introspectable="0">
<class name="X11Display" c:symbol-prefix="x11_display" c:type="GdkX11Display" parent="Gdk.Display" glib:type-name="GdkX11Display" glib:get-type="gdk_x11_display_get_type" glib:type-struct="X11DisplayClass">
<method name="broadcast_startup_message" c:identifier="gdk_x11_display_broadcast_startup_message" version="2.12" introspectable="0">
<doc xml:space="preserve">Sends a startup notification message of type @message_type to
@display.
@@ -186,15 +104,13 @@ skipped in the output.)</doc>
</parameter>
</parameters>
</method>
<method name="error_trap_pop"
c:identifier="gdk_x11_display_error_trap_pop"
version="3.0">
<method name="error_trap_pop" c:identifier="gdk_x11_display_error_trap_pop" version="3.0">
<doc xml:space="preserve">Pops the error trap pushed by gdk_x11_display_error_trap_push().
Will XSync() if necessary and will always block until
the error is known to have occurred or not occurred,
so the error code can be returned.
If you dont need to use the return value,
If you don&#x2019;t need to use the return value,
gdk_x11_display_error_trap_pop_ignored() would be more efficient.
See gdk_error_trap_pop() for the all-displays-at-once
@@ -210,9 +126,7 @@ equivalent.</doc>
</instance-parameter>
</parameters>
</method>
<method name="error_trap_pop_ignored"
c:identifier="gdk_x11_display_error_trap_pop_ignored"
version="3.0">
<method name="error_trap_pop_ignored" c:identifier="gdk_x11_display_error_trap_pop_ignored" version="3.0">
<doc xml:space="preserve">Pops the error trap pushed by gdk_x11_display_error_trap_push().
Does not block to see if an error occurred; merely records the
range of requests to ignore errors for, and ignores those errors
@@ -230,9 +144,7 @@ equivalent.</doc>
</instance-parameter>
</parameters>
</method>
<method name="error_trap_push"
c:identifier="gdk_x11_display_error_trap_push"
version="3.0">
<method name="error_trap_push" c:identifier="gdk_x11_display_error_trap_push" version="3.0">
<doc xml:space="preserve">Begins a range of X requests on @display for which X error events
will be ignored. Unignored errors (when no trap is pushed) will abort
the application. Use gdk_x11_display_error_trap_pop() or
@@ -250,9 +162,7 @@ See also gdk_error_trap_push() to push a trap on all displays.</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_startup_notification_id"
c:identifier="gdk_x11_display_get_startup_notification_id"
version="2.12">
<method name="get_startup_notification_id" c:identifier="gdk_x11_display_get_startup_notification_id" version="2.12">
<doc xml:space="preserve">Gets the startup notification ID for a display.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the startup notification ID for @display</doc>
@@ -265,9 +175,7 @@ See also gdk_error_trap_push() to push a trap on all displays.</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_user_time"
c:identifier="gdk_x11_display_get_user_time"
version="2.8">
<method name="get_user_time" c:identifier="gdk_x11_display_get_user_time" version="2.8">
<doc xml:space="preserve">Returns the timestamp of the last user interaction on
@display. The timestamp is taken from events caused
by user interaction such as key presses or pointer
@@ -283,9 +191,7 @@ movements. See gdk_x11_window_set_user_time().</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_xdisplay"
c:identifier="gdk_x11_display_get_xdisplay"
version="2.2">
<method name="get_xdisplay" c:identifier="gdk_x11_display_get_xdisplay" version="2.2">
<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>
@@ -313,9 +219,7 @@ gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.</doc>
</instance-parameter>
</parameters>
</method>
<method name="set_cursor_theme"
c:identifier="gdk_x11_display_set_cursor_theme"
version="2.8">
<method name="set_cursor_theme" c:identifier="gdk_x11_display_set_cursor_theme" version="2.8">
<doc xml:space="preserve">Sets the cursor theme from which the images for cursor
should be taken.
@@ -346,9 +250,7 @@ for the corresponding #GtkSetting).</doc>
</parameter>
</parameters>
</method>
<method name="set_startup_notification_id"
c:identifier="gdk_x11_display_set_startup_notification_id"
version="3.0">
<method name="set_startup_notification_id" c:identifier="gdk_x11_display_set_startup_notification_id" version="3.0">
<doc xml:space="preserve">Sets the startup notification ID for a display.
This is usually taken from the value of the DESKTOP_STARTUP_ID
@@ -377,9 +279,7 @@ gdk_notify_startup_complete()).</doc>
</parameter>
</parameters>
</method>
<method name="set_window_scale"
c:identifier="gdk_x11_display_set_window_scale"
version="3.10">
<method name="set_window_scale" c:identifier="gdk_x11_display_set_window_scale" version="3.10">
<doc xml:space="preserve">Forces a specific window scale for all windows on this display,
instead of using the default or user configured scale. This
is can be used to disable scaling support by setting @scale to
@@ -401,9 +301,7 @@ to later user configuration changes.</doc>
</parameter>
</parameters>
</method>
<method name="string_to_compound_text"
c:identifier="gdk_x11_display_string_to_compound_text"
version="2.24">
<method name="string_to_compound_text" c:identifier="gdk_x11_display_string_to_compound_text" version="2.24">
<doc xml:space="preserve">Convert a string from the encoding of the current
locale into a form suitable for storing in a window property.</doc>
<return-value transfer-ownership="none">
@@ -419,43 +317,29 @@ locale into a form suitable for storing in a window property.</doc>
<doc xml:space="preserve">a nul-terminated string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="encoding"
direction="out"
caller-allocates="1"
transfer-ownership="none">
<parameter name="encoding" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">location to store the encoding atom
(to be used as the type for the property)</doc>
<type name="Gdk.Atom" c:type="GdkAtom*"/>
</parameter>
<parameter name="format"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<parameter name="format" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">location to store the format of the property</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="ctext"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<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>
<array length="4" zero-terminated="0" c:type="guchar**">
<type name="guint8" c:type="guchar*"/>
</array>
</parameter>
<parameter name="length"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<parameter name="length" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">the length of @ctext, in bytes</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="text_property_to_text_list"
c:identifier="gdk_x11_display_text_property_to_text_list"
version="2.24">
<method name="text_property_to_text_list" c:identifier="gdk_x11_display_text_property_to_text_list" version="2.24">
<doc xml:space="preserve">Convert a text string from the encoding as it is stored
in a property into an array of strings in the encoding of
the current locale. (The elements of the array represent the
@@ -496,9 +380,7 @@ nul-separated elements of the original text string.)</doc>
</parameter>
</parameters>
</method>
<method name="ungrab"
c:identifier="gdk_x11_display_ungrab"
version="2.2">
<method name="ungrab" c:identifier="gdk_x11_display_ungrab" version="2.2">
<doc xml:space="preserve">Ungrab @display after it has been grabbed with
gdk_x11_display_grab().</doc>
<return-value transfer-ownership="none">
@@ -511,9 +393,7 @@ gdk_x11_display_grab().</doc>
</instance-parameter>
</parameters>
</method>
<method name="utf8_to_compound_text"
c:identifier="gdk_x11_display_utf8_to_compound_text"
version="2.24">
<method name="utf8_to_compound_text" c:identifier="gdk_x11_display_utf8_to_compound_text" version="2.24">
<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,
@@ -529,33 +409,21 @@ gdk_x11_display_grab().</doc>
<doc xml:space="preserve">a UTF-8 string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="encoding"
direction="out"
caller-allocates="1"
transfer-ownership="none">
<parameter name="encoding" direction="out" caller-allocates="1" transfer-ownership="none">
<doc xml:space="preserve">location to store resulting encoding</doc>
<type name="Gdk.Atom" c:type="GdkAtom*"/>
</parameter>
<parameter name="format"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<parameter name="format" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">location to store format of the result</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="ctext"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<parameter name="ctext" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">location to store the data of the result</doc>
<array length="4" zero-terminated="0" c:type="guchar**">
<type name="guint8" c:type="guchar*"/>
</array>
</parameter>
<parameter name="length"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<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>
<type name="gint" c:type="gint*"/>
@@ -563,47 +431,18 @@ gdk_x11_display_grab().</doc>
</parameters>
</method>
</class>
<record name="X11DisplayClass"
c:type="GdkX11DisplayClass"
disguised="1"
glib:is-gtype-struct-for="X11Display">
<record name="X11DisplayClass" c:type="GdkX11DisplayClass" disguised="1" glib:is-gtype-struct-for="X11Display">
</record>
<class name="X11DisplayManager"
c:symbol-prefix="x11_display_manager"
c:type="GdkX11DisplayManager"
parent="Gdk.DisplayManager"
glib:type-name="GdkX11DisplayManager"
glib:get-type="gdk_x11_display_manager_get_type"
glib:type-struct="X11DisplayManagerClass">
<class name="X11DisplayManager" c:symbol-prefix="x11_display_manager" c:type="GdkX11DisplayManager" parent="Gdk.DisplayManager" glib:type-name="GdkX11DisplayManager" glib:get-type="gdk_x11_display_manager_get_type" glib:type-struct="X11DisplayManagerClass">
</class>
<record name="X11DisplayManagerClass"
c:type="GdkX11DisplayManagerClass"
disguised="1"
glib:is-gtype-struct-for="X11DisplayManager">
<record name="X11DisplayManagerClass" c:type="GdkX11DisplayManagerClass" disguised="1" glib:is-gtype-struct-for="X11DisplayManager">
</record>
<class name="X11DragContext"
c:symbol-prefix="x11_drag_context"
c:type="GdkX11DragContext"
parent="Gdk.DragContext"
glib:type-name="GdkX11DragContext"
glib:get-type="gdk_x11_drag_context_get_type"
glib:type-struct="X11DragContextClass">
<class name="X11DragContext" c:symbol-prefix="x11_drag_context" c:type="GdkX11DragContext" parent="Gdk.DragContext" glib:type-name="GdkX11DragContext" glib:get-type="gdk_x11_drag_context_get_type" glib:type-struct="X11DragContextClass">
</class>
<record name="X11DragContextClass"
c:type="GdkX11DragContextClass"
disguised="1"
glib:is-gtype-struct-for="X11DragContext">
<record name="X11DragContextClass" c:type="GdkX11DragContextClass" disguised="1" glib:is-gtype-struct-for="X11DragContext">
</record>
<class name="X11Keymap"
c:symbol-prefix="x11_keymap"
c:type="GdkX11Keymap"
parent="Gdk.Keymap"
glib:type-name="GdkX11Keymap"
glib:get-type="gdk_x11_keymap_get_type"
glib:type-struct="X11KeymapClass">
<method name="get_group_for_state"
c:identifier="gdk_x11_keymap_get_group_for_state"
version="3.6">
<class name="X11Keymap" c:symbol-prefix="x11_keymap" c:type="GdkX11Keymap" parent="Gdk.Keymap" glib:type-name="GdkX11Keymap" glib:get-type="gdk_x11_keymap_get_type" glib:type-struct="X11KeymapClass">
<method name="get_group_for_state" c:identifier="gdk_x11_keymap_get_group_for_state" version="3.6">
<doc xml:space="preserve">Extracts the group from the state field sent in an X Key event.
This is only needed for code processing raw X events, since #GdkEventKey
directly includes an is_modifier field.</doc>
@@ -622,11 +461,9 @@ directly includes an is_modifier field.</doc>
</parameter>
</parameters>
</method>
<method name="key_is_modifier"
c:identifier="gdk_x11_keymap_key_is_modifier"
version="3.6">
<method name="key_is_modifier" c:identifier="gdk_x11_keymap_key_is_modifier" version="3.6">
<doc xml:space="preserve">Determines whether a particular key code represents a key that
is a modifier. That is, its a key that normally just affects
is a modifier. That is, it&#x2019;s a key that normally just affects
the keyboard state and the behavior of other keys rather than
producing a direct effect itself. This is only needed for code
processing raw X events, since #GdkEventKey directly includes
@@ -647,21 +484,10 @@ an is_modifier field.</doc>
</parameters>
</method>
</class>
<record name="X11KeymapClass"
c:type="GdkX11KeymapClass"
disguised="1"
glib:is-gtype-struct-for="X11Keymap">
<record name="X11KeymapClass" c:type="GdkX11KeymapClass" disguised="1" glib:is-gtype-struct-for="X11Keymap">
</record>
<class name="X11Screen"
c:symbol-prefix="x11_screen"
c:type="GdkX11Screen"
parent="Gdk.Screen"
glib:type-name="GdkX11Screen"
glib:get-type="gdk_x11_screen_get_type"
glib:type-struct="X11ScreenClass">
<method name="get_current_desktop"
c:identifier="gdk_x11_screen_get_current_desktop"
version="3.10">
<class name="X11Screen" c:symbol-prefix="x11_screen" c:type="GdkX11Screen" parent="Gdk.Screen" glib:type-name="GdkX11Screen" glib:get-type="gdk_x11_screen_get_type" glib:type-struct="X11ScreenClass">
<method name="get_current_desktop" c:identifier="gdk_x11_screen_get_current_desktop" version="3.10">
<doc xml:space="preserve">Returns the current workspace for @screen when running under a
window manager that supports multiple workspaces, as described
in the
@@ -677,9 +503,7 @@ in the
</instance-parameter>
</parameters>
</method>
<method name="get_monitor_output"
c:identifier="gdk_x11_screen_get_monitor_output"
version="2.14">
<method name="get_monitor_output" c:identifier="gdk_x11_screen_get_monitor_output" version="2.14">
<doc xml:space="preserve">Gets the XID of the specified output/monitor.
If the X server does not support version 1.2 of the RANDR
extension, 0 is returned.</doc>
@@ -698,9 +522,7 @@ extension, 0 is returned.</doc>
</parameter>
</parameters>
</method>
<method name="get_number_of_desktops"
c:identifier="gdk_x11_screen_get_number_of_desktops"
version="3.10">
<method name="get_number_of_desktops" c:identifier="gdk_x11_screen_get_number_of_desktops" version="3.10">
<doc xml:space="preserve">Returns the number of workspaces for @screen when running under a
window manager that supports multiple workspaces, as described
in the
@@ -716,9 +538,7 @@ in the
</instance-parameter>
</parameters>
</method>
<method name="get_screen_number"
c:identifier="gdk_x11_screen_get_screen_number"
version="2.2">
<method name="get_screen_number" c:identifier="gdk_x11_screen_get_screen_number" version="2.2">
<doc xml:space="preserve">Returns the index of a #GdkScreen.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the position of @screen among the screens
@@ -732,9 +552,7 @@ in the
</instance-parameter>
</parameters>
</method>
<method name="get_window_manager_name"
c:identifier="gdk_x11_screen_get_window_manager_name"
version="2.2">
<method name="get_window_manager_name" c:identifier="gdk_x11_screen_get_window_manager_name" version="2.2">
<doc xml:space="preserve">Returns the name of the window manager for @screen.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the name of the window manager screen @screen, or
@@ -749,9 +567,7 @@ and should not be freed.</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_xscreen"
c:identifier="gdk_x11_screen_get_xscreen"
version="2.2">
<method name="get_xscreen" c:identifier="gdk_x11_screen_get_xscreen" version="2.2">
<doc xml:space="preserve">Returns the screen of a #GdkScreen.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">an Xlib Screen*</doc>
@@ -764,13 +580,11 @@ and should not be freed.</doc>
</instance-parameter>
</parameters>
</method>
<method name="lookup_visual"
c:identifier="gdk_x11_screen_lookup_visual"
version="2.2">
<method name="lookup_visual" c:identifier="gdk_x11_screen_lookup_visual" version="2.2">
<doc xml:space="preserve">Looks up the #GdkVisual for a particular screen and X Visual ID.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GdkVisual (owned by the screen
object), or %NULL if the visual ID wasnt found.</doc>
object), or %NULL if the visual ID wasn&#x2019;t found.</doc>
<type name="X11Visual" c:type="GdkVisual*"/>
</return-value>
<parameters>
@@ -784,15 +598,13 @@ and should not be freed.</doc>
</parameter>
</parameters>
</method>
<method name="supports_net_wm_hint"
c:identifier="gdk_x11_screen_supports_net_wm_hint"
version="2.2">
<method name="supports_net_wm_hint" c:identifier="gdk_x11_screen_supports_net_wm_hint" version="2.2">
<doc xml:space="preserve">This function is specific to the X11 backend of GDK, and indicates
whether the window manager supports a certain hint from the
[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
When using this function, keep in mind that the window manager
can change over time; so you shouldnt use this function in
can change over time; so you shouldn&#x2019;t use this function in
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
@@ -820,18 +632,9 @@ a window manager change.</doc>
</return-value>
</glib:signal>
</class>
<record name="X11ScreenClass"
c:type="GdkX11ScreenClass"
disguised="1"
glib:is-gtype-struct-for="X11Screen">
<record name="X11ScreenClass" c:type="GdkX11ScreenClass" disguised="1" glib:is-gtype-struct-for="X11Screen">
</record>
<class name="X11Visual"
c:symbol-prefix="x11_visual"
c:type="GdkX11Visual"
parent="Gdk.Visual"
glib:type-name="GdkX11Visual"
glib:get-type="gdk_x11_visual_get_type"
glib:type-struct="X11VisualClass">
<class name="X11Visual" c:symbol-prefix="x11_visual" c:type="GdkX11Visual" parent="Gdk.Visual" glib:type-name="GdkX11Visual" glib:get-type="gdk_x11_visual_get_type" glib:type-struct="X11VisualClass">
<method name="get_xvisual" c:identifier="gdk_x11_visual_get_xvisual">
<doc xml:space="preserve">Returns the X visual belonging to a #GdkVisual.</doc>
<return-value transfer-ownership="none">
@@ -846,21 +649,10 @@ a window manager change.</doc>
</parameters>
</method>
</class>
<record name="X11VisualClass"
c:type="GdkX11VisualClass"
disguised="1"
glib:is-gtype-struct-for="X11Visual">
<record name="X11VisualClass" c:type="GdkX11VisualClass" disguised="1" glib:is-gtype-struct-for="X11Visual">
</record>
<class name="X11Window"
c:symbol-prefix="x11_window"
c:type="GdkX11Window"
parent="Gdk.Window"
glib:type-name="GdkX11Window"
glib:get-type="gdk_x11_window_get_type"
glib:type-struct="X11WindowClass">
<constructor name="foreign_new_for_display"
c:identifier="gdk_x11_window_foreign_new_for_display"
version="2.24">
<class name="X11Window" c:symbol-prefix="x11_window" c:type="GdkX11Window" parent="Gdk.Window" glib:type-name="GdkX11Window" glib:get-type="gdk_x11_window_get_type" glib:type-struct="X11WindowClass">
<constructor name="foreign_new_for_display" c:identifier="gdk_x11_window_foreign_new_for_display" version="2.24">
<doc xml:space="preserve">Wraps a native window in a #GdkWindow. The function will try to
look up the window using gdk_x11_window_lookup_for_display() first.
If it does not find it there, it will create a new window.
@@ -871,7 +663,7 @@ was already known to GDK, a new reference to the existing
<return-value transfer-ownership="full">
<doc xml:space="preserve">a #GdkWindow wrapper for the native
window, or %NULL if the window has been destroyed. The wrapper
will be newly created, if one doesnt exist already.</doc>
will be newly created, if one doesn&#x2019;t exist already.</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</return-value>
<parameters>
@@ -885,9 +677,7 @@ was already known to GDK, a new reference to the existing
</parameter>
</parameters>
</constructor>
<function name="lookup_for_display"
c:identifier="gdk_x11_window_lookup_for_display"
version="2.24">
<function name="lookup_for_display" c:identifier="gdk_x11_window_lookup_for_display" version="2.24">
<doc xml:space="preserve">Looks up the #GdkWindow that wraps the given native window handle.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GdkWindow wrapper for the native
@@ -906,9 +696,7 @@ was already known to GDK, a new reference to the existing
</parameter>
</parameters>
</function>
<method name="get_desktop"
c:identifier="gdk_x11_window_get_desktop"
version="3.10">
<method name="get_desktop" c:identifier="gdk_x11_window_get_desktop" version="3.10">
<doc xml:space="preserve">Gets the number of the workspace @window is on.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the current workspace of @window</doc>
@@ -924,7 +712,7 @@ was already known to GDK, a new reference to the existing
<method name="get_xid" c:identifier="gdk_x11_window_get_xid">
<doc xml:space="preserve">Returns the X resource (window) belonging to a #GdkWindow.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the ID of @drawables X resource.</doc>
<doc xml:space="preserve">the ID of @drawable&#x2019;s X resource.</doc>
<type name="xlib.Window" c:type="Window"/>
</return-value>
<parameters>
@@ -934,9 +722,7 @@ was already known to GDK, a new reference to the existing
</instance-parameter>
</parameters>
</method>
<method name="move_to_current_desktop"
c:identifier="gdk_x11_window_move_to_current_desktop"
version="2.8">
<method name="move_to_current_desktop" c:identifier="gdk_x11_window_move_to_current_desktop" version="2.8">
<doc xml:space="preserve">Moves the window to the correct workspace when running under a
window manager that supports multiple workspaces, as described
in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
@@ -951,9 +737,7 @@ Will not do anything if the window is already on all workspaces.</doc>
</instance-parameter>
</parameters>
</method>
<method name="move_to_desktop"
c:identifier="gdk_x11_window_move_to_desktop"
version="3.10">
<method name="move_to_desktop" c:identifier="gdk_x11_window_move_to_desktop" version="3.10">
<doc xml:space="preserve">Moves the window to the given workspace when running unde a
window manager that supports multiple workspaces, as described
in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.</doc>
@@ -971,11 +755,7 @@ in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-s
</parameter>
</parameters>
</method>
<method name="set_frame_extents"
c:identifier="gdk_x11_window_set_frame_extents"
version="3.10"
deprecated="1"
deprecated-version="3.12">
<method name="set_frame_extents" c:identifier="gdk_x11_window_set_frame_extents" version="3.10" deprecated="1" deprecated-version="3.12">
<doc xml:space="preserve">This is the same as gdk_window_set_shadow_width() but it only works
on GdkX11Window.</doc>
<doc-deprecated xml:space="preserve">Use gdk_window_set_shadow_width() instead.</doc-deprecated>
@@ -1005,9 +785,7 @@ on GdkX11Window.</doc>
</parameter>
</parameters>
</method>
<method name="set_frame_sync_enabled"
c:identifier="gdk_x11_window_set_frame_sync_enabled"
version="3.8">
<method name="set_frame_sync_enabled" c:identifier="gdk_x11_window_set_frame_sync_enabled" version="3.8">
<doc xml:space="preserve">This function can be used to disable frame synchronization for a window.
Normally frame synchronziation will be enabled or disabled based on whether
the system has a compositor that supports frame synchronization, but if
@@ -1028,9 +806,7 @@ embedded via the XEMBED protocol.</doc>
</parameter>
</parameters>
</method>
<method name="set_hide_titlebar_when_maximized"
c:identifier="gdk_x11_window_set_hide_titlebar_when_maximized"
version="3.4">
<method name="set_hide_titlebar_when_maximized" c:identifier="gdk_x11_window_set_hide_titlebar_when_maximized" version="3.4">
<doc xml:space="preserve">Set a hint for the window manager, requesting that the titlebar
should be hidden when the window is maximized.
@@ -1045,17 +821,14 @@ to create toplevel windows.</doc>
<doc xml:space="preserve">a #GdkWindow</doc>
<type name="X11Window" c:type="GdkWindow*"/>
</instance-parameter>
<parameter name="hide_titlebar_when_maximized"
transfer-ownership="none">
<parameter name="hide_titlebar_when_maximized" transfer-ownership="none">
<doc xml:space="preserve">whether to hide the titlebar when
maximized</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_theme_variant"
c:identifier="gdk_x11_window_set_theme_variant"
version="3.2">
<method name="set_theme_variant" c:identifier="gdk_x11_window_set_theme_variant" version="3.2">
<doc xml:space="preserve">GTK+ applications can request a dark theme variant. In order to
make other applications - namely window managers using GTK+ for
themeing - aware of this choice, GTK+ uses this function to
@@ -1079,9 +852,7 @@ to create toplevel windows.</doc>
</parameter>
</parameters>
</method>
<method name="set_user_time"
c:identifier="gdk_x11_window_set_user_time"
version="2.6">
<method name="set_user_time" c:identifier="gdk_x11_window_set_user_time" version="2.6">
<doc xml:space="preserve">The application can use this call to update the _NET_WM_USER_TIME
property on a toplevel window. This property stores an Xserver
time which represents the time of the last user input event
@@ -1108,9 +879,7 @@ events bypassing GDK.</doc>
</parameter>
</parameters>
</method>
<method name="set_utf8_property"
c:identifier="gdk_x11_window_set_utf8_property"
version="3.4">
<method name="set_utf8_property" c:identifier="gdk_x11_window_set_utf8_property" version="3.4">
<doc xml:space="preserve">This function modifies or removes an arbitrary X11 window
property of type UTF8_STRING. If the given @window is
not a toplevel window, it is ignored.</doc>
@@ -1126,20 +895,14 @@ not a toplevel window, it is ignored.</doc>
<doc xml:space="preserve">Property name, will be interned as an X atom</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="value" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">Property value, or %NULL to delete</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
</class>
<record name="X11WindowClass"
c:type="GdkX11WindowClass"
disguised="1"
glib:is-gtype-struct-for="X11Window">
<record name="X11WindowClass" c:type="GdkX11WindowClass" disguised="1" glib:is-gtype-struct-for="X11Window">
</record>
<function name="x11_atom_to_xatom" c:identifier="gdk_x11_atom_to_xatom">
<doc xml:space="preserve">Converts from a #GdkAtom to the X atom for the default GDK display
@@ -1155,9 +918,7 @@ with the same string value.</doc>
</parameter>
</parameters>
</function>
<function name="x11_atom_to_xatom_for_display"
c:identifier="gdk_x11_atom_to_xatom_for_display"
version="2.2">
<function name="x11_atom_to_xatom_for_display" c:identifier="gdk_x11_atom_to_xatom_for_display" version="2.2">
<doc xml:space="preserve">Converts from a #GdkAtom to the X atom for a #GdkDisplay
with the same string value. The special value %GDK_NONE
is converted to %None.</doc>
@@ -1176,9 +937,7 @@ is converted to %None.</doc>
</parameter>
</parameters>
</function>
<function name="x11_device_get_id"
c:identifier="gdk_x11_device_get_id"
version="3.2">
<function name="x11_device_get_id" c:identifier="gdk_x11_device_get_id" version="3.2">
<doc xml:space="preserve">Returns the device ID as seen by XInput2.
&gt; If gdk_disable_multidevice() has been called, this function
@@ -1197,13 +956,11 @@ is converted to %None.</doc>
</parameter>
</parameters>
</function>
<function name="x11_device_manager_lookup"
c:identifier="gdk_x11_device_manager_lookup"
version="3.2">
<function name="x11_device_manager_lookup" c:identifier="gdk_x11_device_manager_lookup" version="3.2">
<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 doesnt currently represent a device.</doc>
or %NULL if the given ID doesn&#x2019;t currently represent a device.</doc>
<type name="X11DeviceCore" c:type="GdkDevice*"/>
</return-value>
<parameters>
@@ -1217,9 +974,7 @@ is converted to %None.</doc>
</parameter>
</parameters>
</function>
<function name="x11_free_compound_text"
c:identifier="gdk_x11_free_compound_text"
version="2.24">
<function name="x11_free_compound_text" c:identifier="gdk_x11_free_compound_text" version="2.24">
<doc xml:space="preserve">Frees the data returned from gdk_x11_display_string_to_compound_text().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
@@ -1232,9 +987,7 @@ is converted to %None.</doc>
</parameter>
</parameters>
</function>
<function name="x11_free_text_list"
c:identifier="gdk_x11_free_text_list"
version="2.24">
<function name="x11_free_text_list" c:identifier="gdk_x11_free_text_list" version="2.24">
<doc xml:space="preserve">Frees the array of strings created by
gdk_x11_display_text_property_to_text_list().</doc>
<return-value transfer-ownership="none">
@@ -1248,8 +1001,7 @@ gdk_x11_display_text_property_to_text_list().</doc>
</parameter>
</parameters>
</function>
<function name="x11_get_default_root_xwindow"
c:identifier="gdk_x11_get_default_root_xwindow">
<function name="x11_get_default_root_xwindow" c:identifier="gdk_x11_get_default_root_xwindow">
<doc xml:space="preserve">Gets the root window of the default screen
(see gdk_x11_get_default_screen()).</doc>
<return-value transfer-ownership="none">
@@ -1257,8 +1009,7 @@ gdk_x11_display_text_property_to_text_list().</doc>
<type name="xlib.Window" c:type="Window"/>
</return-value>
</function>
<function name="x11_get_default_screen"
c:identifier="gdk_x11_get_default_screen">
<function name="x11_get_default_screen" c:identifier="gdk_x11_get_default_screen">
<doc xml:space="preserve">Gets the default GTK+ screen number.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">returns the screen number specified by
@@ -1267,8 +1018,7 @@ gdk_x11_display_text_property_to_text_list().</doc>
<type name="gint" c:type="gint"/>
</return-value>
</function>
<function name="x11_get_default_xdisplay"
c:identifier="gdk_x11_get_default_xdisplay">
<function name="x11_get_default_xdisplay" c:identifier="gdk_x11_get_default_xdisplay">
<doc xml:space="preserve">Gets the default GTK+ display.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the Xlib Display* for
@@ -1277,8 +1027,7 @@ line option or the `DISPLAY` environment variable.</doc>
<type name="xlib.Display" c:type="Display*"/>
</return-value>
</function>
<function name="x11_get_server_time"
c:identifier="gdk_x11_get_server_time">
<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>
@@ -1294,13 +1043,12 @@ line option or the `DISPLAY` environment variable.</doc>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_by_name"
c:identifier="gdk_x11_get_xatom_by_name">
<doc xml:space="preserve">Returns the X atom for GDKs default display corresponding to @atom_name.
<function name="x11_get_xatom_by_name" c:identifier="gdk_x11_get_xatom_by_name">
<doc xml:space="preserve">Returns the X atom for GDK&#x2019;s default display 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 GDKs default display.</doc>
<doc xml:space="preserve">a X atom for GDK&#x2019;s default display.</doc>
<type name="xlib.Atom" c:type="Atom"/>
</return-value>
<parameters>
@@ -1310,9 +1058,7 @@ faster than XInternAtom(), which is a round trip to the server each time.</doc>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_by_name_for_display"
c:identifier="gdk_x11_get_xatom_by_name_for_display"
version="2.2">
<function name="x11_get_xatom_by_name_for_display" c:identifier="gdk_x11_get_xatom_by_name_for_display" version="2.2">
<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>
@@ -1332,33 +1078,31 @@ faster than XInternAtom(), which is a round trip to the server each time.</doc>
</parameters>
</function>
<function name="x11_get_xatom_name" c:identifier="gdk_x11_get_xatom_name">
<doc xml:space="preserve">Returns the name of an X atom for GDKs default display. This
<doc xml:space="preserve">Returns the name of an X atom for GDK&#x2019;s default display. This
function is meant mainly for debugging, so for convenience, unlike
XAtomName() and gdk_atom_name(), the result
doesnt need to be freed. Also, this function will never return %NULL,
doesn&#x2019;t need to be freed. Also, this function will never return %NULL,
even if @xatom is invalid.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">name of the X atom; this string is owned by GTK+,
so it shouldnt be modifed or freed.</doc>
so it shouldn&#x2019;t be modifed or freed.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="xatom" transfer-ownership="none">
<doc xml:space="preserve">an X atom for GDKs default display</doc>
<doc xml:space="preserve">an X atom for GDK&#x2019;s default display</doc>
<type name="xlib.Atom" c:type="Atom"/>
</parameter>
</parameters>
</function>
<function name="x11_get_xatom_name_for_display"
c:identifier="gdk_x11_get_xatom_name_for_display"
version="2.2">
<function name="x11_get_xatom_name_for_display" c:identifier="gdk_x11_get_xatom_name_for_display" version="2.2">
<doc xml:space="preserve">Returns the name of an X atom for its display. This
function is meant mainly for debugging, so for convenience, unlike
XAtomName() and gdk_atom_name(), the result doesnt need to
XAtomName() and gdk_atom_name(), the result doesn&#x2019;t need to
be freed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">name of the X atom; this string is owned by GDK,
so it shouldnt be modifed or freed.</doc>
so it shouldn&#x2019;t be modifed or freed.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
@@ -1381,9 +1125,7 @@ gdk_x11_grab_server()/gdk_x11_ungrab_server() calls can be nested.</doc>
<type name="none" c:type="void"/>
</return-value>
</function>
<function name="x11_lookup_xdisplay"
c:identifier="gdk_x11_lookup_xdisplay"
version="2.2">
<function name="x11_lookup_xdisplay" c:identifier="gdk_x11_lookup_xdisplay" version="2.2">
<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>
@@ -1396,9 +1138,7 @@ gdk_x11_grab_server()/gdk_x11_ungrab_server() calls can be nested.</doc>
</parameter>
</parameters>
</function>
<function name="x11_register_standard_event_type"
c:identifier="gdk_x11_register_standard_event_type"
version="2.4">
<function name="x11_register_standard_event_type" c:identifier="gdk_x11_register_standard_event_type" version="2.4">
<doc xml:space="preserve">Registers interest in receiving extension events with type codes
between @event_base and `event_base + n_events - 1`.
The registered events must have the window field in the same place
@@ -1429,11 +1169,9 @@ when filtering XInput extension events on the root window.</doc>
</parameter>
</parameters>
</function>
<function name="x11_set_sm_client_id"
c:identifier="gdk_x11_set_sm_client_id"
version="2.24">
<doc xml:space="preserve">Sets the `SM_CLIENT_ID` property on the applications leader window so that
the window manager can save the applications state using the X11R6 ICCCM
<function name="x11_set_sm_client_id" c:identifier="gdk_x11_set_sm_client_id" version="2.24">
<doc xml:space="preserve">Sets the `SM_CLIENT_ID` property on the application&#x2019;s leader window so that
the window manager can save the application&#x2019;s state using the X11R6 ICCCM
session management protocol.
See the X Session Management Library documentation for more information on
@@ -1470,9 +1208,7 @@ gdk_x11_grab_server().</doc>
</parameter>
</parameters>
</function>
<function name="x11_xatom_to_atom_for_display"
c:identifier="gdk_x11_xatom_to_atom_for_display"
version="2.2">
<function name="x11_xatom_to_atom_for_display" c:identifier="gdk_x11_xatom_to_atom_for_display" version="2.2">
<doc xml:space="preserve">Convert from an X atom for a #GdkDisplay to the corresponding
#GdkAtom.</doc>
<return-value transfer-ownership="none">

24464
Gio-2.0.gir

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="JavaScriptCore" version="4.0"
shared-library="javascriptcoregtk-4.0"
c:identifier-prefixes="JS"
c:symbol-prefixes="JS">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="JavaScriptCore" version="4.0" shared-library="javascriptcoregtk-4.0" c:identifier-prefixes="JS" c:symbol-prefixes="JS">
<record name="GlobalContext" c:type="JSGlobalContextRef" foreign="1"/>
<record name="Value" c:type="JSValueRef" foreign="1"/>
</namespace>

File diff suppressed because it is too large Load Diff

View File

@@ -2,10 +2,7 @@
<!-- 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 version="1.2"
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">
<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="GObject" version="2.0"/>
<include name="Pango" version="1.0"/>
<include name="cairo" version="1.0"/>
@@ -13,32 +10,19 @@ and/or use gtk-doc annotations. -->
<include name="freetype2" version="2.0"/>
<package name="pangoft2"/>
<c:include name="pango/pangoft2.h"/>
<namespace name="PangoFT2"
version="1.0"
shared-library="libpango-1.0.so.0,libpangoft2-1.0.so.0"
c:identifier-prefixes="PangoFT2"
c:symbol-prefixes="pango_ft2">
<class name="FontMap"
c:symbol-prefix="font_map"
c:type="PangoFT2FontMap"
parent="Pango.FontMap"
glib:type-name="PangoFT2FontMap"
glib:get-type="pango_ft2_font_map_get_type">
<namespace name="PangoFT2" version="1.0" shared-library="libpango-1.0.so.0,libpangoft2-1.0.so.0" c:identifier-prefixes="PangoFT2" c:symbol-prefixes="pango_ft2">
<class name="FontMap" c:symbol-prefix="font_map" c:type="PangoFT2FontMap" parent="Pango.FontMap" glib:type-name="PangoFT2FontMap" glib:get-type="pango_ft2_font_map_get_type">
<constructor name="new" c:identifier="pango_ft2_font_map_new">
<return-value transfer-ownership="full">
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
</return-value>
</constructor>
<function name="for_display"
c:identifier="pango_ft2_font_map_for_display"
introspectable="0">
<function name="for_display" c:identifier="pango_ft2_font_map_for_display" introspectable="0">
<return-value>
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
</return-value>
</function>
<method name="create_context"
c:identifier="pango_ft2_font_map_create_context"
introspectable="0">
<method name="create_context" c:identifier="pango_ft2_font_map_create_context" introspectable="0">
<return-value>
<type name="Pango.Context" c:type="PangoContext*"/>
</return-value>
@@ -48,8 +32,7 @@ and/or use gtk-doc annotations. -->
</instance-parameter>
</parameters>
</method>
<method name="set_default_substitute"
c:identifier="pango_ft2_font_map_set_default_substitute">
<method name="set_default_substitute" c:identifier="pango_ft2_font_map_set_default_substitute">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -57,17 +40,10 @@ and/or use gtk-doc annotations. -->
<instance-parameter name="fontmap" transfer-ownership="none">
<type name="FontMap" c:type="PangoFT2FontMap*"/>
</instance-parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="1"
destroy="2">
<parameter name="func" transfer-ownership="none" scope="notified" closure="1" destroy="2">
<type name="SubstituteFunc" c:type="PangoFT2SubstituteFunc"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="notify" transfer-ownership="none" scope="async">
@@ -75,8 +51,7 @@ and/or use gtk-doc annotations. -->
</parameter>
</parameters>
</method>
<method name="set_resolution"
c:identifier="pango_ft2_font_map_set_resolution">
<method name="set_resolution" c:identifier="pango_ft2_font_map_set_resolution">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -92,8 +67,7 @@ and/or use gtk-doc annotations. -->
</parameter>
</parameters>
</method>
<method name="substitute_changed"
c:identifier="pango_ft2_font_map_substitute_changed">
<method name="substitute_changed" c:identifier="pango_ft2_font_map_substitute_changed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -114,18 +88,13 @@ and/or use gtk-doc annotations. -->
<doc xml:space="preserve">the &lt;type&gt;FcPattern&lt;/type&gt; to tweak.</doc>
<type name="fontconfig.Pattern" c:type="FcPattern*"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">user data.</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<function name="font_get_coverage"
c:identifier="pango_ft2_font_get_coverage"
introspectable="0">
<function name="font_get_coverage" c:identifier="pango_ft2_font_get_coverage" introspectable="0">
<doc xml:space="preserve">Gets the #PangoCoverage for a &lt;type&gt;PangoFT2Font&lt;/type&gt;. Use
pango_font_get_coverage() instead.</doc>
<return-value>
@@ -143,9 +112,7 @@ pango_font_get_coverage() instead.</doc>
</parameter>
</parameters>
</function>
<function name="font_get_face"
c:identifier="pango_ft2_font_get_face"
introspectable="0">
<function name="font_get_face" c:identifier="pango_ft2_font_get_face" introspectable="0">
<doc xml:space="preserve">Returns the native FreeType2 &lt;type&gt;FT_Face&lt;/type&gt; structure used for this #PangoFont.
This may be useful if you want to use FreeType2 functions directly.
@@ -165,8 +132,7 @@ pango_fc_font_unlock_face().</doc>
</parameter>
</parameters>
</function>
<function name="font_get_kerning"
c:identifier="pango_ft2_font_get_kerning">
<function name="font_get_kerning" c:identifier="pango_ft2_font_get_kerning">
<doc xml:space="preserve">Retrieves kerning information for a combination of two glyphs.
Use pango_fc_font_kern_glyphs() instead.</doc>
@@ -190,9 +156,7 @@ the given combination of glyphs.</doc>
</parameter>
</parameters>
</function>
<function name="get_context"
c:identifier="pango_ft2_get_context"
introspectable="0">
<function name="get_context" c:identifier="pango_ft2_get_context" introspectable="0">
<return-value>
<type name="Pango.Context" c:type="PangoContext*"/>
</return-value>
@@ -205,8 +169,7 @@ the given combination of glyphs.</doc>
</parameter>
</parameters>
</function>
<function name="get_unknown_glyph"
c:identifier="pango_ft2_get_unknown_glyph">
<function name="get_unknown_glyph" c:identifier="pango_ft2_get_unknown_glyph">
<doc xml:space="preserve">Return the index of a glyph suitable for drawing unknown characters with
@font, or %PANGO_GLYPH_EMPTY if no suitable glyph found.
@@ -265,8 +228,7 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
</parameter>
</parameters>
</function>
<function name="render_layout_line"
c:identifier="pango_ft2_render_layout_line">
<function name="render_layout_line" c:identifier="pango_ft2_render_layout_line">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -285,8 +247,7 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
</parameter>
</parameters>
</function>
<function name="render_layout_line_subpixel"
c:identifier="pango_ft2_render_layout_line_subpixel">
<function name="render_layout_line_subpixel" c:identifier="pango_ft2_render_layout_line_subpixel">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -305,8 +266,7 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
</parameter>
</parameters>
</function>
<function name="render_layout_subpixel"
c:identifier="pango_ft2_render_layout_subpixel">
<function name="render_layout_subpixel" c:identifier="pango_ft2_render_layout_subpixel">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -325,8 +285,7 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
</parameter>
</parameters>
</function>
<function name="render_transformed"
c:identifier="pango_ft2_render_transformed">
<function name="render_transformed" c:identifier="pango_ft2_render_transformed">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -351,8 +310,7 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
</parameter>
</parameters>
</function>
<function name="shutdown_display"
c:identifier="pango_ft2_shutdown_display">
<function name="shutdown_display" c:identifier="pango_ft2_shutdown_display">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>

View File

@@ -2,10 +2,7 @@
<!-- 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 version="1.2"
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">
<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="GObject" version="2.0"/>
<include name="Pango" version="1.0"/>
<include name="PangoFT2" version="1.0"/>
@@ -13,22 +10,11 @@ and/or use gtk-doc annotations. -->
<include name="xlib" version="2.0"/>
<package name="pangoxft"/>
<c:include name="pango/pangoxft.h"/>
<namespace name="PangoXft"
version="1.0"
shared-library="libpango-1.0.so.0,libpangoft2-1.0.so.0,libpangoxft-1.0.so.0"
c:identifier-prefixes="PangoXft"
c:symbol-prefixes="pango_xft">
<class name="Font"
c:symbol-prefix="font"
c:type="PangoXftFont"
parent="Pango.Font"
glib:type-name="PangoXftFont"
glib:get-type="pango_xft_font_get_type">
<namespace name="PangoXft" version="1.0" shared-library="libpango-1.0.so.0,libpangoft2-1.0.so.0,libpangoxft-1.0.so.0" c:identifier-prefixes="PangoXft" c:symbol-prefixes="pango_xft">
<class name="Font" c:symbol-prefix="font" c:type="PangoXftFont" parent="Pango.Font" glib:type-name="PangoXftFont" glib:get-type="pango_xft_font_get_type">
<doc xml:space="preserve">#PangoXftFont is an implementation of #PangoFcFont using the Xft
library for rendering. It is used in conjunction with #PangoXftFontMap.</doc>
<function name="get_display"
c:identifier="pango_xft_font_get_display"
introspectable="0">
<function name="get_display" c:identifier="pango_xft_font_get_display" introspectable="0">
<doc xml:space="preserve">Returns the X display of the XftFont of a font.</doc>
<return-value>
<doc xml:space="preserve">the X display of the XftFont associated to @font.</doc>
@@ -41,9 +27,7 @@ library for rendering. It is used in conjunction with #PangoXftFontMap.</doc>
</parameter>
</parameters>
</function>
<function name="get_font"
c:identifier="pango_xft_font_get_font"
introspectable="0">
<function name="get_font" c:identifier="pango_xft_font_get_font" introspectable="0">
<doc xml:space="preserve">Returns the XftFont of a font.</doc>
<return-value nullable="1">
<doc xml:space="preserve">the XftFont associated to @font, or %NULL
@@ -51,18 +35,13 @@ if @font is %NULL.</doc>
<type name="xft.Font" c:type="XftFont*"/>
</return-value>
<parameters>
<parameter name="font"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="font" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #PangoFont.</doc>
<type name="Pango.Font" c:type="PangoFont*"/>
</parameter>
</parameters>
</function>
<function name="get_glyph"
c:identifier="pango_xft_font_get_glyph"
version="1.2">
<function name="get_glyph" c:identifier="pango_xft_font_get_glyph" version="1.2">
<doc xml:space="preserve">Gets the glyph index for a given Unicode character
for @font. If you only want to determine
whether the font has the glyph, use pango_xft_font_has_char().
@@ -84,8 +63,7 @@ Use pango_fc_font_get_glyph() instead.</doc>
</parameter>
</parameters>
</function>
<function name="get_unknown_glyph"
c:identifier="pango_xft_font_get_unknown_glyph">
<function name="get_unknown_glyph" c:identifier="pango_xft_font_get_unknown_glyph">
<doc xml:space="preserve">Returns the index of a glyph suitable for drawing @wc as an
unknown character.
@@ -105,9 +83,7 @@ Use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
</parameter>
</parameters>
</function>
<function name="has_char"
c:identifier="pango_xft_font_has_char"
version="1.2">
<function name="has_char" c:identifier="pango_xft_font_has_char" version="1.2">
<doc xml:space="preserve">Determines whether @font has a glyph for the codepoint @wc.
Use pango_fc_font_has_char() instead.</doc>
@@ -126,10 +102,7 @@ Use pango_fc_font_has_char() instead.</doc>
</parameter>
</parameters>
</function>
<function name="lock_face"
c:identifier="pango_xft_font_lock_face"
version="1.2"
introspectable="0">
<function name="lock_face" c:identifier="pango_xft_font_lock_face" version="1.2" introspectable="0">
<doc xml:space="preserve">Gets the FreeType &lt;type&gt;FT_Face&lt;/type&gt; associated with a font,
This face will be kept around until you call
pango_xft_font_unlock_face().
@@ -146,9 +119,7 @@ Use pango_fc_font_lock_face() instead.</doc>
</parameter>
</parameters>
</function>
<function name="unlock_face"
c:identifier="pango_xft_font_unlock_face"
version="1.2">
<function name="unlock_face" c:identifier="pango_xft_font_unlock_face" version="1.2">
<doc xml:space="preserve">Releases a font previously obtained with
pango_xft_font_lock_face().
@@ -164,31 +135,17 @@ Use pango_fc_font_unlock_face() instead.</doc>
</parameters>
</function>
</class>
<class name="FontMap"
c:symbol-prefix="font_map"
c:type="PangoXftFontMap"
parent="Pango.FontMap"
glib:type-name="PangoXftFontMap"
glib:get-type="pango_xft_font_map_get_type">
<class name="FontMap" c:symbol-prefix="font_map" c:type="PangoXftFontMap" parent="Pango.FontMap" glib:type-name="PangoXftFontMap" glib:get-type="pango_xft_font_map_get_type">
<doc xml:space="preserve">#PangoXftFontMap is an implementation of #PangoFcFontMap suitable for
the Xft library as the renderer. It is used in to create fonts of
type #PangoXftFont.</doc>
</class>
<class name="Renderer"
c:symbol-prefix="renderer"
c:type="PangoXftRenderer"
version="1.8"
parent="Pango.Renderer"
glib:type-name="PangoXftRenderer"
glib:get-type="pango_xft_renderer_get_type"
glib:type-struct="RendererClass">
<class name="Renderer" c:symbol-prefix="renderer" c:type="PangoXftRenderer" version="1.8" parent="Pango.Renderer" glib:type-name="PangoXftRenderer" glib:get-type="pango_xft_renderer_get_type" glib:type-struct="RendererClass">
<doc xml:space="preserve">#PangoXftRenderer is a subclass of #PangoRenderer used for rendering
with Pango's Xft backend. It can be used directly, or it can be
further subclassed to modify exactly how drawing of individual
elements occurs.</doc>
<constructor name="new"
c:identifier="pango_xft_renderer_new"
version="1.8">
<constructor name="new" c:identifier="pango_xft_renderer_new" version="1.8">
<doc xml:space="preserve">Create a new #PangoXftRenderer to allow rendering Pango objects
with the Xft library. You must call pango_xft_renderer_set_draw() before
using the renderer.</doc>
@@ -246,9 +203,7 @@ using the renderer.</doc>
</parameter>
</parameters>
</virtual-method>
<method name="set_default_color"
c:identifier="pango_xft_renderer_set_default_color"
version="1.8">
<method name="set_default_color" c:identifier="pango_xft_renderer_set_default_color" version="1.8">
<doc xml:space="preserve">Sets the default foreground color for a #XftRenderer.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
@@ -264,9 +219,7 @@ using the renderer.</doc>
</parameter>
</parameters>
</method>
<method name="set_draw"
c:identifier="pango_xft_renderer_set_draw"
version="1.8">
<method name="set_draw" c:identifier="pango_xft_renderer_set_draw" version="1.8">
<doc xml:space="preserve">Sets the #XftDraw object that the renderer is drawing to.
The renderer must not be currently active.</doc>
<return-value transfer-ownership="none">
@@ -283,18 +236,10 @@ The renderer must not be currently active.</doc>
</parameter>
</parameters>
</method>
<property name="display"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<property name="display" readable="0" writable="1" construct-only="1" transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</property>
<property name="screen"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<property name="screen" readable="0" writable="1" construct-only="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<field name="parent_instance" readable="0" private="1">
@@ -313,10 +258,7 @@ The renderer must not be currently active.</doc>
<type name="RendererPrivate" c:type="PangoXftRendererPrivate*"/>
</field>
</class>
<record name="RendererClass"
c:type="PangoXftRendererClass"
glib:is-gtype-struct-for="Renderer"
version="1.8">
<record name="RendererClass" c:type="PangoXftRendererClass" glib:is-gtype-struct-for="Renderer" version="1.8">
<doc xml:space="preserve">The class structure for #PangoXftRenderer</doc>
<field name="parent_class" readable="0" private="1">
<type name="Pango.RendererClass" c:type="PangoRendererClass"/>
@@ -364,9 +306,7 @@ The renderer must not be currently active.</doc>
</callback>
</field>
</record>
<record name="RendererPrivate"
c:type="PangoXftRendererPrivate"
disguised="1">
<record name="RendererPrivate" c:type="PangoXftRendererPrivate" disguised="1">
</record>
<callback name="SubstituteFunc" c:type="PangoXftSubstituteFunc">
<doc xml:space="preserve">Function type for doing final config tweaking on prepared FcPatterns.</doc>
@@ -378,20 +318,13 @@ The renderer must not be currently active.</doc>
<doc xml:space="preserve">the FcPattern to tweak.</doc>
<type name="fontconfig.Pattern" c:type="FcPattern*"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">user data.</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<function name="get_context"
c:identifier="pango_xft_get_context"
introspectable="0"
deprecated="1"
deprecated-version="1.22">
<function name="get_context" c:identifier="pango_xft_get_context" introspectable="0" deprecated="1" deprecated-version="1.22">
<doc xml:space="preserve">Retrieves a #PangoContext appropriate for rendering with
Xft fonts on the given screen of the given display.</doc>
<doc-deprecated xml:space="preserve">Use pango_xft_get_font_map() followed by
@@ -411,9 +344,7 @@ pango_font_map_create_context() instead.</doc-deprecated>
</parameter>
</parameters>
</function>
<function name="get_font_map"
c:identifier="pango_xft_get_font_map"
version="1.2">
<function name="get_font_map" c:identifier="pango_xft_get_font_map" version="1.2">
<doc xml:space="preserve">Returns the #PangoXftFontMap for the given display and screen.
The fontmap is owned by Pango and will be valid until
the display is closed.</doc>
@@ -500,9 +431,7 @@ the display is closed.</doc>
</parameter>
</parameters>
</function>
<function name="render_layout"
c:identifier="pango_xft_render_layout"
version="1.8">
<function name="render_layout" c:identifier="pango_xft_render_layout" version="1.8">
<doc xml:space="preserve">Render a #PangoLayout onto a #XftDraw</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
@@ -531,9 +460,7 @@ the display is closed.</doc>
</parameter>
</parameters>
</function>
<function name="render_layout_line"
c:identifier="pango_xft_render_layout_line"
version="1.8">
<function name="render_layout_line" c:identifier="pango_xft_render_layout_line" version="1.8">
<doc xml:space="preserve">Render a #PangoLayoutLine onto a #XftDraw</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
@@ -562,9 +489,7 @@ the display is closed.</doc>
</parameter>
</parameters>
</function>
<function name="render_transformed"
c:identifier="pango_xft_render_transformed"
version="1.8">
<function name="render_transformed" c:identifier="pango_xft_render_transformed" version="1.8">
<doc xml:space="preserve">Renders a #PangoGlyphString onto a #XftDraw, possibly
transforming the layed-out coordinates through a transformation
matrix. Note that the transformation matrix for @font is not
@@ -583,10 +508,7 @@ transformation matrix to that passed in to this function.</doc>
<doc xml:space="preserve">the color in which to draw the glyphs</doc>
<type name="xft.Color" c:type="XftColor*"/>
</parameter>
<parameter name="matrix"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="matrix" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a #PangoMatrix, or %NULL to use an identity
transformation</doc>
<type name="Pango.Matrix" c:type="PangoMatrix*"/>
@@ -611,9 +533,7 @@ transformation matrix to that passed in to this function.</doc>
</parameter>
</parameters>
</function>
<function name="set_default_substitute"
c:identifier="pango_xft_set_default_substitute"
version="1.2">
<function name="set_default_substitute" c:identifier="pango_xft_set_default_substitute" version="1.2">
<doc xml:space="preserve">Sets a function that will be called to do final configuration
substitution on a #FcPattern before it is used to load
the font. This function can be used to do things like set
@@ -630,19 +550,12 @@ hinting and antialiasing options.</doc>
<doc xml:space="preserve">the screen number of a screen within @display</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="3"
destroy="4">
<parameter name="func" transfer-ownership="none" scope="notified" closure="3" destroy="4">
<doc xml:space="preserve">function to call to to do final config tweaking
on #FcPattern objects.</doc>
<type name="SubstituteFunc" c:type="PangoXftSubstituteFunc"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<parameter name="data" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">data to pass to @func</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
@@ -652,9 +565,7 @@ hinting and antialiasing options.</doc>
</parameter>
</parameters>
</function>
<function name="shutdown_display"
c:identifier="pango_xft_shutdown_display"
version="1.2">
<function name="shutdown_display" c:identifier="pango_xft_shutdown_display" version="1.2">
<doc xml:space="preserve">Release any resources that have been cached for the
combination of @display and @screen. Note that when the
X display is closed, resources are released automatically,
@@ -673,9 +584,7 @@ without needing to call this function.</doc>
</parameter>
</parameters>
</function>
<function name="substitute_changed"
c:identifier="pango_xft_substitute_changed"
version="1.2">
<function name="substitute_changed" c:identifier="pango_xft_substitute_changed" version="1.2">
<doc xml:space="preserve">Call this function any time the results of the
default substitution function set with
pango_xft_set_default_substitute() change.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="fontconfig" version="2.0"
c:identifier-prefixes="Fc"
c:symbol-prefixes="fc">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="fontconfig" version="2.0" c:identifier-prefixes="Fc" c:symbol-prefixes="fc">
<record name="Pattern" c:type="FcPattern"/>
<record name="CharSet" c:type="FcCharSet"/>
<function name="init" c:identifier="FcInit">

View File

@@ -1,11 +1,7 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<package name="libxml-2.0"/>
<namespace name="libxml2" version="2.0"
c:identifier-prefixes="xml"
c:symbol-prefixes="xml">
<namespace name="libxml2" version="2.0" c:identifier-prefixes="xml" c:symbol-prefixes="xml">
<record name="Node" c:type="xmlNode"/>
<record name="NodePtr" c:type="xmlNodePtr"/>
<record name="Doc" c:type="xmlDoc"/>

View File

@@ -1,10 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="win32" version="1.0"
c:identifier-prefixes=""
c:symbol-prefixes="Win32">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="win32" version="1.0" c:identifier-prefixes="" c:symbol-prefixes="Win32">
<alias name="HWND" c:type="HWND">
<type name="guint" c:type="guint"/>
</alias>
@@ -16,4 +12,3 @@
</alias>
</namespace>
</repository>

View File

@@ -1,10 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="xfixes" version="4.0"
c:identifier-prefixes="X"
c:symbol-prefixes="X">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="xfixes" version="4.0" c:identifier-prefixes="X" c:symbol-prefixes="X">
<record name="XserverRegion" c:type="XserverRegion"/>
</namespace>
</repository>

View File

@@ -1,11 +1,7 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<include name="xlib" version="2.0"/>
<namespace name="xft" version="2.0"
c:identifier-prefixes="Xft"
c:symbol-prefixes="Xft">
<namespace name="xft" version="2.0" c:identifier-prefixes="Xft" c:symbol-prefixes="Xft">
<record name="Color" c:type="XftColor"/>
<record name="Draw" c:type="XftDraw"/>
<record name="Font" c:type="XftFont"/>

View File

@@ -1,10 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="xlib" version="2.0"
c:identifier-prefixes=""
c:symbol-prefixes="X">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="xlib" version="2.0" c:identifier-prefixes="" c:symbol-prefixes="X">
<alias name="Atom" c:type="Atom">
<type name="gulong" c:type="gulong"/>
</alias>

View File

@@ -1,10 +1,6 @@
<?xml version="1.0"?>
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
<namespace name="xrandr" version="1.3"
c:identifier-prefixes="XRR"
c:symbol-prefixes="XRR">
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" version="1.2">
<namespace name="xrandr" version="1.3" c:identifier-prefixes="XRR" c:symbol-prefixes="XRR">
<record name="ScreenSize" c:type="XRRScreenSize"/>
<record name="ScreenChangeNotifyEvent" c:type="XRRScreenChangeNotifyEvent"/>
<record name="NotifyEvent" c:type="XRRNotifyEvent"/>