mirror of
https://github.com/tauri-apps/gir-files.git
synced 2026-01-31 00:45:15 +01:00
Merge pull request #74 from MarijnS95/drop-whitespace
Obliterate unnecessary (trailing) whitespace
This commit is contained in:
845
Atk-1.0.gir
845
Atk-1.0.gir
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,6 @@
|
||||
<record name="sizeiptr" c:type="GLsizeiptr"/>
|
||||
<record name="uint" c:type="GLuint"/>
|
||||
<record name="void" c:type="GLvoid"/>
|
||||
|
||||
<function name="InitNames" c:identifier="glInitNames">
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
@@ -22,6 +21,5 @@
|
||||
<parameters>
|
||||
</parameters>
|
||||
</function>
|
||||
|
||||
</namespace>
|
||||
</repository>
|
||||
|
||||
2863
GLib-2.0.gir
2863
GLib-2.0.gir
File diff suppressed because it is too large
Load Diff
@@ -11,10 +11,8 @@ and/or use gtk-doc annotations. -->
|
||||
<doc xml:space="preserve">The #GModule struct is an opaque data structure to represent a
|
||||
[dynamically-loaded module][glib-Dynamic-Loading-of-Modules].
|
||||
It should only be accessed via the following functions.</doc>
|
||||
|
||||
<method name="close" c:identifier="g_module_close">
|
||||
<doc xml:space="preserve">Closes a module.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE on success</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -29,7 +27,6 @@ It should only be accessed via the following functions.</doc>
|
||||
<method name="make_resident" c:identifier="g_module_make_resident">
|
||||
<doc xml:space="preserve">Ensures that a module will never be unloaded.
|
||||
Any future g_module_close() calls on the module will be ignored.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -44,7 +41,6 @@ Any future g_module_close() calls on the module will be ignored.</doc>
|
||||
<doc xml:space="preserve">Returns the filename that the module was opened with.
|
||||
|
||||
If @module refers to the application itself, "main" is returned.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the filename of the module</doc>
|
||||
<type name="utf8" c:type="const gchar*"/>
|
||||
@@ -59,7 +55,6 @@ If @module refers to the application itself, "main" is returned.</doc>
|
||||
<method name="symbol" c:identifier="g_module_symbol">
|
||||
<doc xml:space="preserve">Gets a symbol pointer from a module, such as one exported
|
||||
by #G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE on success</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -93,7 +88,6 @@ For example, calling g_module_build_path() on a Linux system with a
|
||||
@directory of `/lib` and a @module_name of "mylibrary" will return
|
||||
`/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the
|
||||
directory it will return `\Windows\mylibrary.dll`.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the complete path of the module, including the standard library
|
||||
prefix and suffix. This should be freed when no longer needed</doc>
|
||||
@@ -114,7 +108,6 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
|
||||
</function>
|
||||
<function name="error" c:identifier="g_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*"/>
|
||||
@@ -133,7 +126,6 @@ module will be opened. If that fails and @file_name doesn't have the
|
||||
".la"-suffix, this suffix is appended and g_module_open() tries to open
|
||||
the corresponding module. If eventually that fails as well, %NULL is
|
||||
returned.</doc>
|
||||
|
||||
<return-value>
|
||||
<doc xml:space="preserve">a #GModule on success, or %NULL on failure</doc>
|
||||
<type name="Module" c:type="GModule*"/>
|
||||
@@ -153,7 +145,6 @@ returned.</doc>
|
||||
</function>
|
||||
<function name="supported" c:identifier="g_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>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -166,7 +157,6 @@ If a module contains a function named g_module_check_init() it is called
|
||||
automatically when the module is loaded. It is passed the #GModule structure
|
||||
and should return %NULL on success or a string describing the initialization
|
||||
error.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%NULL on success, or a string describing the initialization error</doc>
|
||||
<type name="utf8" c:type="const gchar*"/>
|
||||
@@ -181,7 +171,6 @@ error.</doc>
|
||||
<bitfield name="ModuleFlags" c:type="GModuleFlags">
|
||||
<doc xml:space="preserve">Flags passed to g_module_open().
|
||||
Note that these flags are not supported on all platforms.</doc>
|
||||
|
||||
<member name="lazy" value="1" c:identifier="G_MODULE_BIND_LAZY">
|
||||
<doc xml:space="preserve">specifies that symbols are only resolved when
|
||||
needed. The default action is to bind all symbols when the module
|
||||
@@ -202,7 +191,6 @@ Note that these flags are not supported on all platforms.</doc>
|
||||
If a module contains a function named g_module_unload() it is called
|
||||
automatically when the module is unloaded.
|
||||
It is passed the #GModule structure.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -227,7 +215,6 @@ For example, calling g_module_build_path() on a Linux system with a
|
||||
@directory of `/lib` and a @module_name of "mylibrary" will return
|
||||
`/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the
|
||||
directory it will return `\Windows\mylibrary.dll`.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the complete path of the module, including the standard library
|
||||
prefix and suffix. This should be freed when no longer needed</doc>
|
||||
@@ -248,7 +235,6 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
|
||||
</function>
|
||||
<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*"/>
|
||||
@@ -256,7 +242,6 @@ directory it will return `\Windows\mylibrary.dll`.</doc>
|
||||
</function>
|
||||
<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>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
|
||||
772
GObject-2.0.gir
772
GObject-2.0.gir
File diff suppressed because it is too large
Load Diff
3021
Gdk-3.0.gir
3021
Gdk-3.0.gir
File diff suppressed because it is too large
Load Diff
2914
Gdk-4.0.gir
2914
Gdk-4.0.gir
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
4728
GdkPixdata-2.0.gir
4728
GdkPixdata-2.0.gir
File diff suppressed because it is too large
Load Diff
@@ -8,161 +8,138 @@ and/or use gtk-doc annotations. -->
|
||||
<c:include name="gdk/wayland/gdkwayland.h"/>
|
||||
<namespace name="GdkWayland" version="4.0" shared-library="libgtk-4.so.1" c:identifier-prefixes="Gdk" c:symbol-prefixes="gdk">
|
||||
<function-macro name="IS_WAYLAND_DEVICE" c:identifier="GDK_IS_WAYLAND_DEVICE" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_DEVICE_CLASS" c:identifier="GDK_IS_WAYLAND_DEVICE_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="c">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_DISPLAY" c:identifier="GDK_IS_WAYLAND_DISPLAY" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_DISPLAY_CLASS" c:identifier="GDK_IS_WAYLAND_DISPLAY_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_MONITOR" c:identifier="GDK_IS_WAYLAND_MONITOR" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_POPUP" c:identifier="GDK_IS_WAYLAND_POPUP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_SEAT" c:identifier="GDK_IS_WAYLAND_SEAT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_SURFACE" c:identifier="GDK_IS_WAYLAND_SURFACE" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_WAYLAND_TOPLEVEL" c:identifier="GDK_IS_WAYLAND_TOPLEVEL" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_DEVICE" c:identifier="GDK_WAYLAND_DEVICE" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_DEVICE_CLASS" c:identifier="GDK_WAYLAND_DEVICE_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="c">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_DEVICE_GET_CLASS" c:identifier="GDK_WAYLAND_DEVICE_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_DISPLAY" c:identifier="GDK_WAYLAND_DISPLAY" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_DISPLAY_CLASS" c:identifier="GDK_WAYLAND_DISPLAY_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_DISPLAY_GET_CLASS" c:identifier="GDK_WAYLAND_DISPLAY_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_GL_CONTEXT" c:identifier="GDK_WAYLAND_GL_CONTEXT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_IS_GL_CONTEXT" c:identifier="GDK_WAYLAND_IS_GL_CONTEXT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_MONITOR" c:identifier="GDK_WAYLAND_MONITOR" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_POPUP" c:identifier="GDK_WAYLAND_POPUP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_SEAT" c:identifier="GDK_WAYLAND_SEAT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_SURFACE" c:identifier="GDK_WAYLAND_SURFACE" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="WAYLAND_TOPLEVEL" c:identifier="GDK_WAYLAND_TOPLEVEL" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<class name="WaylandDevice" c:symbol-prefix="wayland_device" c:type="GdkWaylandDevice" parent="Gdk.Device" glib:type-name="GdkWaylandDevice" glib:get-type="gdk_wayland_device_get_type" glib:type-struct="WaylandDeviceClass">
|
||||
|
||||
<method name="get_node_path" c:identifier="gdk_wayland_device_get_node_path">
|
||||
<doc xml:space="preserve">Returns the `/dev/input/event*` path of this device.
|
||||
|
||||
@@ -172,7 +149,6 @@ will return %NULL.
|
||||
|
||||
This is most notably implemented for devices of type
|
||||
%GDK_SOURCE_PEN, %GDK_SOURCE_TABLET_PAD.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">the `/dev/input/event*` path of this device</doc>
|
||||
<type name="utf8" c:type="const char*"/>
|
||||
@@ -186,7 +162,6 @@ This is most notably implemented for devices of type
|
||||
</method>
|
||||
<method name="get_wl_keyboard" c:identifier="gdk_wayland_device_get_wl_keyboard" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland wl_keyboard of a #GdkDevice.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland wl_keyboard</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -200,7 +175,6 @@ This is most notably implemented for devices of type
|
||||
</method>
|
||||
<method name="get_wl_pointer" c:identifier="gdk_wayland_device_get_wl_pointer" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland wl_pointer of a #GdkDevice.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland wl_pointer</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -214,7 +188,6 @@ This is most notably implemented for devices of type
|
||||
</method>
|
||||
<method name="get_wl_seat" c:identifier="gdk_wayland_device_get_wl_seat" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland wl_seat of a #GdkDevice.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland wl_seat</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -227,15 +200,11 @@ This is most notably implemented for devices of type
|
||||
</parameters>
|
||||
</method>
|
||||
</class>
|
||||
<record name="WaylandDeviceClass" c:type="GdkWaylandDeviceClass" disguised="1" glib:is-gtype-struct-for="WaylandDevice">
|
||||
|
||||
</record>
|
||||
<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">
|
||||
|
||||
<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>
|
||||
<type name="utf8" c:type="const char*"/>
|
||||
@@ -249,7 +218,6 @@ if no ID has been defined.</doc>
|
||||
</method>
|
||||
<method name="get_wl_compositor" c:identifier="gdk_wayland_display_get_wl_compositor" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland global singleton compositor of a #GdkDisplay.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland wl_compositor</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -263,7 +231,6 @@ if no ID has been defined.</doc>
|
||||
</method>
|
||||
<method name="get_wl_display" c:identifier="gdk_wayland_display_get_wl_display" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland wl_display of a #GdkDisplay.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland wl_display</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -278,7 +245,6 @@ if no ID has been defined.</doc>
|
||||
<method name="query_registry" c:identifier="gdk_wayland_display_query_registry">
|
||||
<doc xml:space="preserve">Returns %TRUE if the the interface was found in the display
|
||||
`wl_registry.global` handler.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the global is offered by the compositor</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -296,7 +262,6 @@ if no ID has been defined.</doc>
|
||||
</method>
|
||||
<method name="set_cursor_theme" c:identifier="gdk_wayland_display_set_cursor_theme">
|
||||
<doc xml:space="preserve">Sets the cursor theme for the given @display.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -325,7 +290,6 @@ being launched using exec()) it can come from other sources.
|
||||
The startup ID is also what is used to signal that the startup is
|
||||
complete (for example, when opening a window or when calling
|
||||
gdk_display_notify_startup_complete()).</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -341,20 +305,12 @@ gdk_display_notify_startup_complete()).</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
</class>
|
||||
<record name="WaylandDisplayClass" c:type="GdkWaylandDisplayClass" disguised="1" glib:is-gtype-struct-for="WaylandDisplay">
|
||||
|
||||
</record>
|
||||
<class name="WaylandGLContext" c:symbol-prefix="wayland_gl_context" c:type="GdkWaylandGLContext" parent="Gdk.GLContext" glib:type-name="GdkWaylandGLContext" glib:get-type="gdk_wayland_gl_context_get_type" glib:type-struct="WaylandGLContextClass">
|
||||
|
||||
</class>
|
||||
<record name="WaylandGLContextClass" c:type="GdkWaylandGLContextClass" disguised="1" glib:is-gtype-struct-for="WaylandGLContext">
|
||||
|
||||
</record>
|
||||
<record name="WaylandDisplayClass" c:type="GdkWaylandDisplayClass" disguised="1" glib:is-gtype-struct-for="WaylandDisplay"/>
|
||||
<class name="WaylandGLContext" c:symbol-prefix="wayland_gl_context" c:type="GdkWaylandGLContext" parent="Gdk.GLContext" glib:type-name="GdkWaylandGLContext" glib:get-type="gdk_wayland_gl_context_get_type" glib:type-struct="WaylandGLContextClass"/>
|
||||
<record name="WaylandGLContextClass" c:type="GdkWaylandGLContextClass" disguised="1" glib:is-gtype-struct-for="WaylandGLContext"/>
|
||||
<class name="WaylandMonitor" c:symbol-prefix="wayland_monitor" c:type="GdkWaylandMonitor" parent="Gdk.Monitor" glib:type-name="GdkWaylandMonitor" glib:get-type="gdk_wayland_monitor_get_type" glib:type-struct="WaylandMonitorClass">
|
||||
|
||||
<method name="get_wl_output" c:identifier="gdk_wayland_monitor_get_wl_output" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland wl_output of a #GdkMonitor.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland wl_output</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -367,17 +323,13 @@ gdk_display_notify_startup_complete()).</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
</class>
|
||||
<record name="WaylandMonitorClass" c:type="GdkWaylandMonitorClass" disguised="1" glib:is-gtype-struct-for="WaylandMonitor">
|
||||
|
||||
</record>
|
||||
<record name="WaylandMonitorClass" c:type="GdkWaylandMonitorClass" disguised="1" glib:is-gtype-struct-for="WaylandMonitor"/>
|
||||
<class name="WaylandPopup" c:symbol-prefix="wayland_popup" c:type="GdkWaylandPopup" parent="WaylandSurface" glib:type-name="GdkWaylandPopup" glib:get-type="gdk_wayland_popup_get_type">
|
||||
<implements name="Gdk.Popup"/>
|
||||
</class>
|
||||
<class name="WaylandSeat" c:symbol-prefix="wayland_seat" c:type="GdkWaylandSeat" parent="Gdk.Seat" glib:type-name="GdkWaylandSeat" glib:get-type="gdk_wayland_seat_get_type" glib:type-struct="WaylandSeatClass">
|
||||
|
||||
<method name="get_wl_seat" c:identifier="gdk_wayland_seat_get_wl_seat" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland `wl_seat` of a #GdkSeat.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland `wl_seat`</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -390,13 +342,10 @@ gdk_display_notify_startup_complete()).</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
</class>
|
||||
<record name="WaylandSeatClass" c:type="GdkWaylandSeatClass" disguised="1" glib:is-gtype-struct-for="WaylandSeat">
|
||||
|
||||
</record>
|
||||
<record name="WaylandSeatClass" c:type="GdkWaylandSeatClass" disguised="1" glib:is-gtype-struct-for="WaylandSeat"/>
|
||||
<class name="WaylandSurface" c:symbol-prefix="wayland_surface" c:type="GdkWaylandSurface" parent="Gdk.Surface" glib:type-name="GdkWaylandSurface" glib:get-type="gdk_wayland_surface_get_type">
|
||||
<method name="get_wl_surface" c:identifier="gdk_wayland_surface_get_wl_surface" introspectable="0">
|
||||
<doc xml:space="preserve">Returns the Wayland surface of a #GdkSurface.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">a Wayland wl_surface</doc>
|
||||
<type name="gpointer" c:type="gpointer"/>
|
||||
@@ -428,7 +377,6 @@ gdk_wayland_toplevel_set_transient_for_exported().
|
||||
|
||||
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>
|
||||
@@ -455,7 +403,6 @@ and thus may require changes in the future.</doc>
|
||||
</method>
|
||||
<method name="set_application_id" c:identifier="gdk_wayland_toplevel_set_application_id">
|
||||
<doc xml:space="preserve">Sets the application id on a #GdkToplevel.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -477,7 +424,6 @@ from a gdk_wayland_toplevel_export_handle() call in another process.
|
||||
|
||||
Note that this API depends on an unstable Wayland protocol,
|
||||
and thus may require changes in the future.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the surface has been marked as transient,
|
||||
%FALSE if an error occurred.</doc>
|
||||
@@ -503,7 +449,6 @@ does not have a handle.
|
||||
|
||||
Note that this API depends on an unstable Wayland protocol,
|
||||
and thus may require changes in the future.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -520,7 +465,6 @@ and thus may require changes in the future.</doc>
|
||||
obtained from the Wayland compositor. The @handle can be passed
|
||||
to other processes, for the purpose of marking surfaces as transient
|
||||
for out-of-process surfaces.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
|
||||
237
GdkX11-3.0.gir
237
GdkX11-3.0.gir
File diff suppressed because it is too large
Load Diff
155
GdkX11-4.0.gir
155
GdkX11-4.0.gir
@@ -10,7 +10,6 @@ and/or use gtk-doc annotations. -->
|
||||
<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>
|
||||
|
||||
<parameters>
|
||||
<parameter name="display">
|
||||
<doc xml:space="preserve">a #GdkDisplay</doc>
|
||||
@@ -18,105 +17,90 @@ and/or use gtk-doc annotations. -->
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_APP_LAUNCH_CONTEXT" c:identifier="GDK_IS_X11_APP_LAUNCH_CONTEXT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_APP_LAUNCH_CONTEXT_CLASS" c:identifier="GDK_IS_X11_APP_LAUNCH_CONTEXT_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DEVICE_MANAGER_XI2" c:identifier="GDK_IS_X11_DEVICE_MANAGER_XI2" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DEVICE_MANAGER_XI2_CLASS" c:identifier="GDK_IS_X11_DEVICE_MANAGER_XI2_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="c">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DEVICE_XI2" c:identifier="GDK_IS_X11_DEVICE_XI2" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DEVICE_XI2_CLASS" c:identifier="GDK_IS_X11_DEVICE_XI2_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="c">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DISPLAY" c:identifier="GDK_IS_X11_DISPLAY" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DISPLAY_CLASS" c:identifier="GDK_IS_X11_DISPLAY_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DRAG" c:identifier="GDK_IS_X11_DRAG" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_DRAG_CLASS" c:identifier="GDK_IS_X11_DRAG_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_MONITOR" c:identifier="GDK_IS_X11_MONITOR" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_SCREEN" c:identifier="GDK_IS_X11_SCREEN" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_SCREEN_CLASS" c:identifier="GDK_IS_X11_SCREEN_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_SURFACE" c:identifier="GDK_IS_X11_SURFACE" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_X11_SURFACE_CLASS" c:identifier="GDK_IS_X11_SURFACE_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
@@ -125,7 +109,6 @@ and/or use gtk-doc annotations. -->
|
||||
<function-macro name="POINTER_TO_XID" c:identifier="GDK_POINTER_TO_XID" introspectable="0">
|
||||
<doc xml:space="preserve">Converts a @gpointer back to an XID that was previously converted
|
||||
using GDK_XID_TO_POINTER().</doc>
|
||||
|
||||
<parameters>
|
||||
<parameter name="pointer">
|
||||
<doc xml:space="preserve">pointer to extract an XID from</doc>
|
||||
@@ -134,7 +117,6 @@ using GDK_XID_TO_POINTER().</doc>
|
||||
</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>
|
||||
|
||||
<parameters>
|
||||
<parameter name="win">
|
||||
<doc xml:space="preserve">a #GdkSurface.</doc>
|
||||
@@ -143,21 +125,15 @@ using GDK_XID_TO_POINTER().</doc>
|
||||
</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>
|
||||
|
||||
<parameters>
|
||||
<parameter name="win">
|
||||
<doc xml:space="preserve">a #GdkSurface.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<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>
|
||||
<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"/>
|
||||
<record name="X11AppLaunchContextClass" c:type="GdkX11AppLaunchContextClass" disguised="1" glib:is-gtype-struct-for="X11AppLaunchContext"/>
|
||||
<class name="X11DeviceManagerXI2" c:symbol-prefix="x11_device_manager_xi2" c:type="GdkX11DeviceManagerXI2" parent="GObject.Object" glib:type-name="GdkX11DeviceManagerXI2" glib:get-type="gdk_x11_device_manager_xi2_get_type" glib:type-struct="X11DeviceManagerXI2Class">
|
||||
|
||||
<property name="display" writable="1" construct-only="1" transfer-ownership="none">
|
||||
<type name="Gdk.Display"/>
|
||||
</property>
|
||||
@@ -171,11 +147,8 @@ using GDK_XID_TO_POINTER().</doc>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</property>
|
||||
</class>
|
||||
<record name="X11DeviceManagerXI2Class" c:type="GdkX11DeviceManagerXI2Class" disguised="1" glib:is-gtype-struct-for="X11DeviceManagerXI2">
|
||||
|
||||
</record>
|
||||
<record name="X11DeviceManagerXI2Class" c:type="GdkX11DeviceManagerXI2Class" disguised="1" glib:is-gtype-struct-for="X11DeviceManagerXI2"/>
|
||||
<enumeration name="X11DeviceType" c:type="GdkX11DeviceType">
|
||||
|
||||
<member name="logical" value="0" c:identifier="GDK_X11_DEVICE_TYPE_LOGICAL">
|
||||
</member>
|
||||
<member name="physical" value="1" c:identifier="GDK_X11_DEVICE_TYPE_PHYSICAL">
|
||||
@@ -184,21 +157,16 @@ using GDK_XID_TO_POINTER().</doc>
|
||||
</member>
|
||||
</enumeration>
|
||||
<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>
|
||||
<record name="X11DeviceXI2Class" c:type="GdkX11DeviceXI2Class" disguised="1" glib:is-gtype-struct-for="X11DeviceXI2"/>
|
||||
<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">
|
||||
|
||||
<function name="open" c:identifier="gdk_x11_display_open">
|
||||
<doc xml:space="preserve">Tries to open a new display to the X server given by
|
||||
@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>
|
||||
@@ -217,7 +185,6 @@ returned.</doc>
|
||||
|
||||
The X11 backend uses the program class to set the class name part
|
||||
of the `WM_CLASS` property on toplevel windows; see the ICCCM.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -241,7 +208,6 @@ freedesktop startup notification specification. Applications should
|
||||
not normally need to call it directly. See the
|
||||
[Startup Notification Protocol specification](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt)
|
||||
for definitions of the message types and keys that can be used.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -271,7 +237,6 @@ so the error code can be returned.
|
||||
|
||||
If you don’t need to use the return value,
|
||||
gdk_x11_display_error_trap_pop_ignored() would be more efficient.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">X error code or 0 on success</doc>
|
||||
<type name="gint" c:type="int"/>
|
||||
@@ -288,7 +253,6 @@ gdk_x11_display_error_trap_pop_ignored() would be more efficient.</doc>
|
||||
Does not block to see if an error occurred; merely records the
|
||||
range of requests to ignore errors for, and ignores those errors
|
||||
if they arrive asynchronously.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -305,7 +269,6 @@ will be ignored. Unignored errors (when no trap is pushed) will abort
|
||||
the application. Use gdk_x11_display_error_trap_pop() or
|
||||
gdk_x11_display_error_trap_pop_ignored()to lift a trap pushed
|
||||
with this function.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -320,7 +283,6 @@ with this function.</doc>
|
||||
<doc xml:space="preserve">Returns the default group leader surface for all toplevel surfaces
|
||||
on @display. This surface is implicitly created by GDK.
|
||||
See gdk_x11_surface_set_group().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">The default group leader surface
|
||||
for @display</doc>
|
||||
@@ -335,7 +297,6 @@ for @display</doc>
|
||||
</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">
|
||||
<doc xml:space="preserve">%TRUE if GLX is available</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -365,7 +326,6 @@ such as panels should place themselves on the primary monitor.
|
||||
|
||||
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>
|
||||
@@ -380,7 +340,6 @@ If no monitor is the designated primary monitor, any monitor
|
||||
</method>
|
||||
<method name="get_screen" c:identifier="gdk_x11_display_get_screen">
|
||||
<doc xml:space="preserve">Retrieves the #GdkX11Screen of the @display.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #GdkX11Screen</doc>
|
||||
<type name="X11Screen" c:type="GdkX11Screen*"/>
|
||||
@@ -394,7 +353,6 @@ If no monitor is the designated primary monitor, any monitor
|
||||
</method>
|
||||
<method name="get_startup_notification_id" c:identifier="gdk_x11_display_get_startup_notification_id">
|
||||
<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>
|
||||
<type name="utf8" c:type="const char*"/>
|
||||
@@ -411,7 +369,6 @@ If no monitor is the designated primary monitor, any monitor
|
||||
@display. The timestamp is taken from events caused
|
||||
by user interaction such as key presses or pointer
|
||||
movements. See gdk_x11_surface_set_user_time().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the timestamp of the last user interaction</doc>
|
||||
<type name="guint32" c:type="guint32"/>
|
||||
@@ -431,7 +388,6 @@ Be aware that the returned cursor may not be unique to @cursor.
|
||||
It may for example be shared with its fallback cursor. On old
|
||||
X servers that don't support the XCursor extension, all cursors
|
||||
may even fall back to a few default cursors.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">an Xlib Cursor.</doc>
|
||||
<type name="xlib.Cursor" c:type="Cursor"/>
|
||||
@@ -449,7 +405,6 @@ may even fall back to a few default cursors.</doc>
|
||||
</method>
|
||||
<method name="get_xdisplay" c:identifier="gdk_x11_display_get_xdisplay">
|
||||
<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*"/>
|
||||
@@ -463,7 +418,6 @@ may even fall back to a few default cursors.</doc>
|
||||
</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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">an X Window</doc>
|
||||
<type name="xlib.Window" c:type="Window"/>
|
||||
@@ -477,7 +431,6 @@ may even fall back to a few default cursors.</doc>
|
||||
</method>
|
||||
<method name="get_xscreen" c:identifier="gdk_x11_display_get_xscreen">
|
||||
<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*"/>
|
||||
@@ -494,7 +447,6 @@ may even fall back to a few default cursors.</doc>
|
||||
To ungrab the display again, use gdk_x11_display_ungrab().
|
||||
|
||||
gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -515,7 +467,6 @@ change. Custom cursors constructed with 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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -550,7 +501,6 @@ accordingly.
|
||||
The startup ID is also what is used to signal that the startup is
|
||||
complete (for example, when opening a window or when calling
|
||||
gdk_display_notify_startup_complete()).</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -573,7 +523,6 @@ is can be used to disable scaling support by setting @scale to
|
||||
|
||||
Once the scale is set by this call it will not change in response
|
||||
to later user configuration changes.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -591,7 +540,6 @@ to later user configuration changes.</doc>
|
||||
<method name="string_to_compound_text" c:identifier="gdk_x11_display_string_to_compound_text">
|
||||
<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">
|
||||
<doc xml:space="preserve">0 upon success, non-zero upon failure</doc>
|
||||
<type name="gint" c:type="int"/>
|
||||
@@ -632,7 +580,6 @@ locale into a form suitable for storing in a window property.</doc>
|
||||
in a property into an array of strings in the encoding of
|
||||
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>
|
||||
@@ -672,7 +619,6 @@ nul-separated elements of the original text string.)</doc>
|
||||
<method name="ungrab" c:identifier="gdk_x11_display_ungrab">
|
||||
<doc xml:space="preserve">Ungrab @display after it has been grabbed with
|
||||
gdk_x11_display_grab().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -685,7 +631,6 @@ gdk_x11_display_grab().</doc>
|
||||
</method>
|
||||
<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>
|
||||
@@ -750,26 +695,14 @@ XFreeEventData() will be called afterwards.</doc>
|
||||
</parameters>
|
||||
</glib:signal>
|
||||
</class>
|
||||
<record name="X11DisplayClass" c:type="GdkX11DisplayClass" disguised="1" glib:is-gtype-struct-for="X11Display">
|
||||
|
||||
</record>
|
||||
<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">
|
||||
|
||||
</class>
|
||||
<record name="X11DragClass" c:type="GdkX11DragClass" disguised="1" glib:is-gtype-struct-for="X11Drag">
|
||||
|
||||
</record>
|
||||
<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>
|
||||
<record name="X11GLContextClass" c:type="GdkX11GLContextClass" disguised="1" glib:is-gtype-struct-for="X11GLContext">
|
||||
|
||||
</record>
|
||||
<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"/>
|
||||
<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">
|
||||
<doc xml:space="preserve">Returns the XID of the Output corresponding to @monitor.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the XID of @monitor</doc>
|
||||
<type name="xlib.XID" c:type="XID"/>
|
||||
@@ -786,7 +719,6 @@ XFreeEventData() will be called afterwards.</doc>
|
||||
within the display coordinate space. The returned geometry is in
|
||||
”application pixels”, not in ”device pixels” (see
|
||||
gdk_monitor_get_scale_factor()).</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -803,17 +735,13 @@ gdk_monitor_get_scale_factor()).</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
</class>
|
||||
<record name="X11MonitorClass" c:type="GdkX11MonitorClass" disguised="1" glib:is-gtype-struct-for="X11Monitor">
|
||||
|
||||
</record>
|
||||
<record name="X11MonitorClass" c:type="GdkX11MonitorClass" disguised="1" glib:is-gtype-struct-for="X11Monitor"/>
|
||||
<class name="X11Screen" c:symbol-prefix="x11_screen" c:type="GdkX11Screen" parent="GObject.Object" 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">
|
||||
<doc xml:space="preserve">Returns the current workspace for @screen 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.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the current workspace, or 0 if workspaces are not supported</doc>
|
||||
<type name="guint32" c:type="guint32"/>
|
||||
@@ -829,7 +757,6 @@ in the
|
||||
<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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the XID of the monitor</doc>
|
||||
<type name="xlib.XID" c:type="XID"/>
|
||||
@@ -850,7 +777,6 @@ extension, 0 is returned.</doc>
|
||||
window manager that supports multiple workspaces, as described
|
||||
in the
|
||||
[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the number of workspaces, or 0 if workspaces are not supported</doc>
|
||||
<type name="guint32" c:type="guint32"/>
|
||||
@@ -864,7 +790,6 @@ in the
|
||||
</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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the position of @screen among the screens
|
||||
of its display</doc>
|
||||
@@ -879,7 +804,6 @@ in the
|
||||
</method>
|
||||
<method name="get_window_manager_name" c:identifier="gdk_x11_screen_get_window_manager_name">
|
||||
<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
|
||||
"unknown" if the window manager is unknown. The string is owned by GDK
|
||||
@@ -895,7 +819,6 @@ and should not be freed.</doc>
|
||||
</method>
|
||||
<method name="get_xscreen" c:identifier="gdk_x11_screen_get_xscreen">
|
||||
<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*"/>
|
||||
@@ -920,7 +843,6 @@ 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
|
||||
a window manager change.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the window manager supports @property</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -942,14 +864,10 @@ 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>
|
||||
<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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #GdkSurface wrapper for the native
|
||||
window, or %NULL if there is none.</doc>
|
||||
@@ -969,7 +887,6 @@ a window manager change.</doc>
|
||||
</function>
|
||||
<method name="get_desktop" c:identifier="gdk_x11_surface_get_desktop">
|
||||
<doc xml:space="preserve">Gets the number of the workspace @surface is on.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the current workspace of @surface</doc>
|
||||
<type name="guint32" c:type="guint32"/>
|
||||
@@ -983,7 +900,6 @@ a window manager change.</doc>
|
||||
</method>
|
||||
<method name="get_group" c:identifier="gdk_x11_surface_get_group">
|
||||
<doc xml:space="preserve">Returns the group this surface belongs to.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">The group of this surface;</doc>
|
||||
<type name="Gdk.Surface" c:type="GdkSurface*"/>
|
||||
@@ -997,7 +913,6 @@ a window manager change.</doc>
|
||||
</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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the ID of @drawable’s X resource.</doc>
|
||||
<type name="xlib.Window" c:type="Window"/>
|
||||
@@ -1014,7 +929,6 @@ a window manager change.</doc>
|
||||
window manager that supports multiple workspaces, as described
|
||||
in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
|
||||
Will not do anything if the surface is already on all workspaces.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1029,7 +943,6 @@ Will not do anything if the surface is already on all workspaces.</doc>
|
||||
<doc xml:space="preserve">Moves the surface 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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1051,7 +964,6 @@ the system has a compositor that supports frame synchronization, but if
|
||||
the surface is not directly managed by the window manager, then frame
|
||||
synchronziation may need to be disabled. This is the case for a surface
|
||||
embedded via the XEMBED protocol.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1069,7 +981,6 @@ embedded via the XEMBED protocol.</doc>
|
||||
<method name="set_group" c:identifier="gdk_x11_surface_set_group">
|
||||
<doc xml:space="preserve">Sets the group leader of @surface to be @leader.
|
||||
See the ICCCM for details.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1087,7 +998,6 @@ See the ICCCM for details.</doc>
|
||||
<method name="set_skip_pager_hint" c:identifier="gdk_x11_surface_set_skip_pager_hint">
|
||||
<doc xml:space="preserve">Sets a hint on @surface that pagers should not
|
||||
display it. See the EWMH for details.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1105,7 +1015,6 @@ display it. See the EWMH for details.</doc>
|
||||
<method name="set_skip_taskbar_hint" c:identifier="gdk_x11_surface_set_skip_taskbar_hint">
|
||||
<doc xml:space="preserve">Sets a hint on @surface that taskbars should not
|
||||
display it. See the EWMH for details.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1130,7 +1039,6 @@ on toplevel surfaces.
|
||||
Note that this property is automatically updated by GTK, so this
|
||||
function should only be used by applications which do not use GTK
|
||||
to create toplevel surfaces.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1148,7 +1056,6 @@ to create toplevel surfaces.</doc>
|
||||
<method name="set_urgency_hint" c:identifier="gdk_x11_surface_set_urgency_hint">
|
||||
<doc xml:space="preserve">Sets a hint on @surface that it needs user attention.
|
||||
See the ICCCM for details.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1176,7 +1083,6 @@ timer or some other event.
|
||||
Note that this property is automatically updated by GDK, so this
|
||||
function should only be used by applications which handle input
|
||||
events bypassing GDK.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1195,7 +1101,6 @@ events bypassing GDK.</doc>
|
||||
<doc xml:space="preserve">This function modifies or removes an arbitrary X11 window
|
||||
property of type UTF8_STRING. If the given @surface is
|
||||
not a toplevel surface, it is ignored.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1215,172 +1120,146 @@ not a toplevel surface, it is ignored.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
</class>
|
||||
<record name="X11SurfaceClass" c:type="GdkX11SurfaceClass" disguised="1" glib:is-gtype-struct-for="X11Surface">
|
||||
|
||||
</record>
|
||||
<record name="X11SurfaceClass" c:type="GdkX11SurfaceClass" disguised="1" glib:is-gtype-struct-for="X11Surface"/>
|
||||
<function-macro name="X11_APP_LAUNCH_CONTEXT" c:identifier="GDK_X11_APP_LAUNCH_CONTEXT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_APP_LAUNCH_CONTEXT_CLASS" c:identifier="GDK_X11_APP_LAUNCH_CONTEXT_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_APP_LAUNCH_CONTEXT_GET_CLASS" c:identifier="GDK_X11_APP_LAUNCH_CONTEXT_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DEVICE_MANAGER_XI2" c:identifier="GDK_X11_DEVICE_MANAGER_XI2" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DEVICE_MANAGER_XI2_CLASS" c:identifier="GDK_X11_DEVICE_MANAGER_XI2_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="c">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DEVICE_MANAGER_XI2_GET_CLASS" c:identifier="GDK_X11_DEVICE_MANAGER_XI2_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DEVICE_XI2" c:identifier="GDK_X11_DEVICE_XI2" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DEVICE_XI2_CLASS" c:identifier="GDK_X11_DEVICE_XI2_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="c">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DEVICE_XI2_GET_CLASS" c:identifier="GDK_X11_DEVICE_XI2_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="o">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DISPLAY" c:identifier="GDK_X11_DISPLAY" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DISPLAY_CLASS" c:identifier="GDK_X11_DISPLAY_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DISPLAY_GET_CLASS" c:identifier="GDK_X11_DISPLAY_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DRAG" c:identifier="GDK_X11_DRAG" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DRAG_CLASS" c:identifier="GDK_X11_DRAG_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_DRAG_GET_CLASS" c:identifier="GDK_X11_DRAG_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_GL_CONTEXT" c:identifier="GDK_X11_GL_CONTEXT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_IS_GL_CONTEXT" c:identifier="GDK_X11_IS_GL_CONTEXT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_MONITOR" c:identifier="GDK_X11_MONITOR" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_SCREEN" c:identifier="GDK_X11_SCREEN" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_SCREEN_CLASS" c:identifier="GDK_X11_SCREEN_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_SCREEN_GET_CLASS" c:identifier="GDK_X11_SCREEN_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_SURFACE" c:identifier="GDK_X11_SURFACE" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_SURFACE_CLASS" c:identifier="GDK_X11_SURFACE_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="X11_SURFACE_GET_CLASS" c:identifier="GDK_X11_SURFACE_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
@@ -1390,7 +1269,6 @@ not a toplevel surface, it is ignored.</doc>
|
||||
<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()
|
||||
to convert the argument back to an XID.</doc>
|
||||
|
||||
<parameters>
|
||||
<parameter name="xid">
|
||||
<doc xml:space="preserve">XID to stuff into the pointer</doc>
|
||||
@@ -1399,7 +1277,6 @@ to convert the argument back to an XID.</doc>
|
||||
</function-macro>
|
||||
<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>
|
||||
<type name="gint" c:type="int"/>
|
||||
@@ -1413,7 +1290,6 @@ to convert the argument back to an XID.</doc>
|
||||
</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>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">The #GdkDevice wrapping the device ID,
|
||||
or %NULL if the given ID doesn’t currently represent a device.</doc>
|
||||
@@ -1432,7 +1308,6 @@ to convert the argument back to an XID.</doc>
|
||||
</function>
|
||||
<function name="x11_free_compound_text" c:identifier="gdk_x11_free_compound_text">
|
||||
<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"/>
|
||||
</return-value>
|
||||
@@ -1447,7 +1322,6 @@ to convert the argument back to an XID.</doc>
|
||||
<function name="x11_free_text_list" c:identifier="gdk_x11_free_text_list">
|
||||
<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">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -1461,7 +1335,6 @@ gdk_x11_display_text_property_to_text_list().</doc>
|
||||
</function>
|
||||
<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>
|
||||
<type name="guint32" c:type="guint32"/>
|
||||
@@ -1480,7 +1353,6 @@ gdk_x11_display_text_property_to_text_list().</doc>
|
||||
<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>
|
||||
<type name="xlib.Atom" c:type="Atom"/>
|
||||
@@ -1501,7 +1373,6 @@ faster than XInternAtom(), which is a round trip to the server each time.</doc>
|
||||
function is meant mainly for debugging, so for convenience, unlike
|
||||
XAtomName() and the result doesn’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 shouldn’t be modified or freed.</doc>
|
||||
@@ -1520,7 +1391,6 @@ be freed.</doc>
|
||||
</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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #GdkDisplay, if found, otherwise %NULL.</doc>
|
||||
<type name="X11Display" c:type="GdkDisplay*"/>
|
||||
@@ -1539,7 +1409,6 @@ session management protocol.
|
||||
|
||||
See the X Session Management Library documentation for more information on
|
||||
session management and the Inter-Client Communication Conventions Manual</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
|
||||
4425
Gio-2.0.gir
4425
Gio-2.0.gir
File diff suppressed because it is too large
Load Diff
455
Graphene-1.0.gir
455
Graphene-1.0.gir
File diff suppressed because it is too large
Load Diff
246
Gsk-4.0.gir
246
Gsk-4.0.gir
File diff suppressed because it is too large
Load Diff
9046
Gtk-3.0.gir
9046
Gtk-3.0.gir
File diff suppressed because it is too large
Load Diff
5546
Gtk-4.0.gir
5546
Gtk-4.0.gir
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
475
HarfBuzz-0.0.gir
475
HarfBuzz-0.0.gir
File diff suppressed because it is too large
Load Diff
@@ -783,9 +783,7 @@ with jsc_value_new_object() that receives the copy as the instance parameter.</d
|
||||
<type name="Class"/>
|
||||
</property>
|
||||
</class>
|
||||
<record name="ClassClass" c:type="JSCClassClass" disguised="1" glib:is-gtype-struct-for="Class">
|
||||
|
||||
</record>
|
||||
<record name="ClassClass" c:type="JSCClassClass" disguised="1" glib:is-gtype-struct-for="Class"/>
|
||||
<callback name="ClassDeletePropertyFunction" c:type="JSCClassDeletePropertyFunction">
|
||||
<doc xml:space="preserve">The type of delete_property in #JSCClassVTable. This is only required when you need to handle
|
||||
external properties not added to the prototype.</doc>
|
||||
@@ -1453,9 +1451,7 @@ The created #JSCException can be retrieved with jsc_context_get_exception().</do
|
||||
</callback>
|
||||
</field>
|
||||
</record>
|
||||
<record name="ContextPrivate" c:type="JSCContextPrivate" disguised="1">
|
||||
|
||||
</record>
|
||||
<record name="ContextPrivate" c:type="JSCContextPrivate" disguised="1"/>
|
||||
<function-macro name="DEPRECATED_FOR" c:identifier="JSC_DEPRECATED_FOR" introspectable="0">
|
||||
<parameters>
|
||||
<parameter name="f">
|
||||
@@ -1782,9 +1778,7 @@ source URI, line, column and backtrace, and formatted to be printed.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</callback>
|
||||
<record name="ExceptionPrivate" c:type="JSCExceptionPrivate" disguised="1">
|
||||
|
||||
</record>
|
||||
<record name="ExceptionPrivate" c:type="JSCExceptionPrivate" disguised="1"/>
|
||||
<function-macro name="IS_CLASS" c:identifier="JSC_IS_CLASS" introspectable="0">
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
@@ -1851,13 +1845,71 @@ source URI, line, column and backtrace, and formatted to be printed.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<docsection name="JSCClass">
|
||||
<doc xml:space="preserve">A JSSClass represents a custom JavaScript class registered by the user in a #JSCContext.
|
||||
It allows to create new JavaScripts objects whose instances are created by the user using
|
||||
this API.
|
||||
It's possible to add constructors, properties and methods for a JSSClass by providing
|
||||
#GCallback<!-- -->s to implement them.</doc>
|
||||
</docsection>
|
||||
<docsection name="JSCContext">
|
||||
<doc xml:space="preserve">JSCContext represents a JavaScript execution context, where all operations
|
||||
take place and where the values will be associated.
|
||||
|
||||
When a new context is created, a global object is allocated and the built-in JavaScript
|
||||
objects (Object, Function, String, Array) are populated. You can execute JavaScript in
|
||||
the context by using jsc_context_evaluate() or jsc_context_evaluate_with_source_uri().
|
||||
It's also possible to register custom objects in the context with jsc_context_register_class().</doc>
|
||||
</docsection>
|
||||
<docsection name="JSCException">
|
||||
<doc xml:space="preserve">JSCException represents a JavaScript exception.</doc>
|
||||
</docsection>
|
||||
<docsection name="JSCOptions">
|
||||
<doc xml:space="preserve">JavaScript options allow changing the behavior of the JavaScript engine.
|
||||
They affect the way the engine works, so the options must be set
|
||||
at the very beginning of the program execution, before any other JavaScript
|
||||
API call. Most of the options are only useful for testing and debugging.
|
||||
Only a few of them are documented; you can use the undocumented options at
|
||||
your own risk. (You can find the list of options in the WebKit source code).
|
||||
|
||||
The API allows to set and get any option using the types defined in #JSCOptionType.
|
||||
You can also iterate all the available options using jsc_options_foreach() and
|
||||
passing a #JSCOptionsFunc callback. If your application uses #GOptionContext to handle
|
||||
command line arguments, you can easily integrate the JSCOptions by adding the
|
||||
#GOptionGroup returned by jsc_options_get_option_group().</doc>
|
||||
</docsection>
|
||||
<docsection name="JSCValue">
|
||||
<doc xml:space="preserve">JSCValue represents a reference to a value in a #JSCContext. The JSCValue
|
||||
protects the referenced value from being garbage collected.</doc>
|
||||
</docsection>
|
||||
<docsection name="JSCVersion">
|
||||
<doc xml:space="preserve">Provides convenience functions returning JavaScriptCore's major, minor and
|
||||
micro versions of the JavaScriptCore library your code is running
|
||||
against. This is not necessarily the same as the
|
||||
#JSC_MAJOR_VERSION, #JSC_MINOR_VERSION or
|
||||
#JSC_MICRO_VERSION, which represent the version of the JavaScriptCore
|
||||
headers included when compiling the code.</doc>
|
||||
</docsection>
|
||||
<docsection name="JSCVirtualMachine">
|
||||
<doc xml:space="preserve">JSCVirtualMachine represents a group of JSCContext<!-- -->s. It allows
|
||||
concurrent JavaScript execution by creating a different instance of
|
||||
JSCVirtualMachine in each thread.
|
||||
|
||||
To create a group of JSCContext<!-- -->s pass the same JSCVirtualMachine
|
||||
instance to every JSCContext constructor.</doc>
|
||||
</docsection>
|
||||
<docsection name="JSCWeakValue">
|
||||
<doc xml:space="preserve">JSCWeakValue represents a weak reference to a value in a #JSCContext. It can be used
|
||||
to keep a reference to a JavaScript value without protecting it from being garbage
|
||||
collected and without referencing the #JSCContext either.</doc>
|
||||
</docsection>
|
||||
<constant name="MAJOR_VERSION" value="2" c:type="JSC_MAJOR_VERSION">
|
||||
<doc xml:space="preserve">Like jsc_get_major_version(), but from the headers used at
|
||||
application compile time, rather than from the library linked
|
||||
against at application run time.</doc>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</constant>
|
||||
<constant name="MICRO_VERSION" value="1" c:type="JSC_MICRO_VERSION">
|
||||
<constant name="MICRO_VERSION" value="3" c:type="JSC_MICRO_VERSION">
|
||||
<doc xml:space="preserve">Like jsc_get_micro_version(), but from the headers used at
|
||||
application compile time, rather than from the library linked
|
||||
against at application run time.</doc>
|
||||
@@ -2960,9 +3012,7 @@ to handle strings with null characters.</doc>
|
||||
</callback>
|
||||
</field>
|
||||
</record>
|
||||
<record name="ValuePrivate" c:type="JSCValuePrivate" disguised="1">
|
||||
|
||||
</record>
|
||||
<record name="ValuePrivate" c:type="JSCValuePrivate" disguised="1"/>
|
||||
<bitfield name="ValuePropertyFlags" c:type="JSCValuePropertyFlags">
|
||||
<doc xml:space="preserve">Flags used when defining properties with jsc_value_object_define_property_data() and
|
||||
jsc_value_object_define_property_accessor().</doc>
|
||||
@@ -3027,9 +3077,7 @@ jsc_value_object_define_property_accessor().</doc>
|
||||
</callback>
|
||||
</field>
|
||||
</record>
|
||||
<record name="VirtualMachinePrivate" c:type="JSCVirtualMachinePrivate" disguised="1">
|
||||
|
||||
</record>
|
||||
<record name="VirtualMachinePrivate" c:type="JSCVirtualMachinePrivate" disguised="1"/>
|
||||
<function-macro name="WEAK_VALUE" c:identifier="JSC_WEAK_VALUE" introspectable="0">
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
@@ -3125,9 +3173,7 @@ jsc_value_object_define_property_accessor().</doc>
|
||||
</callback>
|
||||
</field>
|
||||
</record>
|
||||
<record name="WeakValuePrivate" c:type="JSCWeakValuePrivate" disguised="1">
|
||||
|
||||
</record>
|
||||
<record name="WeakValuePrivate" c:type="JSCWeakValuePrivate" disguised="1"/>
|
||||
<function name="get_major_version" c:identifier="jsc_get_major_version">
|
||||
<doc xml:space="preserve">Returns the major version number of the JavaScriptCore library.
|
||||
(e.g. in JavaScriptCore version 1.8.3 this is 1.)
|
||||
|
||||
1062
Pango-1.0.gir
1062
Pango-1.0.gir
File diff suppressed because it is too large
Load Diff
@@ -10,14 +10,12 @@ and/or use gtk-doc annotations. -->
|
||||
<c:include name="pango/pangocairo.h"/>
|
||||
<namespace name="PangoCairo" version="1.0" shared-library="libpangocairo-1.0.so.0" c:identifier-prefixes="PangoCairo" c:symbol-prefixes="pango_cairo">
|
||||
<function-macro name="FONT" c:identifier="PANGO_CAIRO_FONT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="FONT_MAP" c:identifier="PANGO_CAIRO_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
@@ -32,7 +30,6 @@ on the particular font technology Cairo was compiled to use.</doc>
|
||||
<doc xml:space="preserve">Gets the #cairo_scaled_font_t used by @font.
|
||||
The scaled font can be referenced and kept using
|
||||
cairo_scaled_font_reference().</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">the #cairo_scaled_font_t used by @font,
|
||||
or %NULL if @font is %NULL.</doc>
|
||||
@@ -67,7 +64,6 @@ uses for example.
|
||||
Note that since Pango 1.32.6, the default fontmap is per-thread.
|
||||
Each thread gets its own default fontmap. In this way,
|
||||
PangoCairo can be used safely from multiple threads.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the default PangoCairo fontmap
|
||||
for the current thread. This object is owned by Pango and must not be freed.</doc>
|
||||
@@ -92,7 +88,6 @@ based on your build, are fc (fontconfig), win32, and coretext.
|
||||
If requested type is not available, NULL is returned. Ie.
|
||||
this is only useful for testing, when at least two backends
|
||||
are compiled in.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly allocated #PangoFontMap,
|
||||
which should be freed with g_object_unref().</doc>
|
||||
@@ -106,7 +101,6 @@ to be used with cairo font backend of type @fonttype.
|
||||
In most cases one should simply use @pango_cairo_font_map_new(),
|
||||
or in fact in most of those cases, just use
|
||||
@pango_cairo_font_map_get_default().</doc>
|
||||
|
||||
<return-value transfer-ownership="full" nullable="1">
|
||||
<doc xml:space="preserve">the newly allocated
|
||||
#PangoFontMap of suitable type which should be freed
|
||||
@@ -124,7 +118,6 @@ or in fact in most of those cases, just use
|
||||
<method name="create_context" c:identifier="pango_cairo_font_map_create_context" version="1.10" introspectable="0" deprecated="1" deprecated-version="1.22">
|
||||
<doc xml:space="preserve">Create a #PangoContext for the given fontmap.</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_font_map_create_context() instead.</doc-deprecated>
|
||||
|
||||
<return-value>
|
||||
<doc xml:space="preserve">the newly created context; free with g_object_unref().</doc>
|
||||
<type name="Pango.Context" c:type="PangoContext*"/>
|
||||
@@ -138,7 +131,6 @@ or in fact in most of those cases, just use
|
||||
</method>
|
||||
<method name="get_font_type" c:identifier="pango_cairo_font_map_get_font_type" version="1.18">
|
||||
<doc xml:space="preserve">Gets the type of Cairo font backend that @fontmap uses.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #cairo_font_type_t cairo font backend type</doc>
|
||||
<type name="cairo.FontType" c:type="cairo_font_type_t"/>
|
||||
@@ -152,7 +144,6 @@ or in fact in most of those cases, just use
|
||||
</method>
|
||||
<method name="get_resolution" c:identifier="pango_cairo_font_map_get_resolution" version="1.10">
|
||||
<doc xml:space="preserve">Gets the resolution for the fontmap. See pango_cairo_font_map_set_resolution()</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the resolution in "dots per inch"</doc>
|
||||
<type name="gdouble" c:type="double"/>
|
||||
@@ -173,14 +164,13 @@ is unreffed and the new font map referenced.
|
||||
|
||||
Note that since Pango 1.32.6, the default fontmap is per-thread.
|
||||
This function only changes the default fontmap for
|
||||
the current thread. Default fontmaps of exisiting threads
|
||||
are not changed. Default fontmaps of any new threads will
|
||||
the current thread. Default fontmaps of existing threads
|
||||
are not changed. Default fontmaps of any new threads will
|
||||
still be created using pango_cairo_font_map_new().
|
||||
|
||||
A value of %NULL for @fontmap will cause the current default
|
||||
font map to be released and a new default font
|
||||
map to be created on demand, using pango_cairo_font_map_new().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -196,7 +186,6 @@ map to be created on demand, using pango_cairo_font_map_new().</doc>
|
||||
points specified in a #PangoFontDescription and Cairo units. The
|
||||
default value is 96, meaning that a 10 point font will be 13
|
||||
units high. (10 * 96. / 72. = 13.3).</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -214,14 +203,12 @@ units high. (10 * 96. / 72. = 13.3).</doc>
|
||||
</method>
|
||||
</interface>
|
||||
<function-macro name="IS_FONT" c:identifier="PANGO_CAIRO_IS_FONT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_FONT_MAP" c:identifier="PANGO_CAIRO_IS_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
@@ -230,7 +217,6 @@ units high. (10 * 96. / 72. = 13.3).</doc>
|
||||
<callback name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc">
|
||||
<doc xml:space="preserve">Function type for rendering attributes of type %PANGO_ATTR_SHAPE
|
||||
with Pango's Cairo renderer.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -261,7 +247,6 @@ pango_cairo_layout_line_path() rendering functions.</doc>
|
||||
<doc xml:space="preserve">Retrieves any font rendering options previously set with
|
||||
pango_cairo_context_set_font_options(). This function does not report options
|
||||
that are derived from the target surface by pango_cairo_update_context()</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">the font options previously set on the
|
||||
context, or %NULL if no options have been set. This value is
|
||||
@@ -277,7 +262,6 @@ that are derived from the target surface by pango_cairo_update_context()</doc>
|
||||
</function>
|
||||
<function name="context_get_resolution" c:identifier="pango_cairo_context_get_resolution" version="1.10">
|
||||
<doc xml:space="preserve">Gets the resolution for the context. See pango_cairo_context_set_resolution()</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the resolution in "dots per inch". A negative value will
|
||||
be returned if no resolution has previously been set.</doc>
|
||||
@@ -298,7 +282,6 @@ details.
|
||||
Retrieves callback function and associated user data for rendering
|
||||
attributes of type %PANGO_ATTR_SHAPE as set by
|
||||
pango_cairo_context_set_shape_renderer(), if any.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">the shape rendering callback previously
|
||||
set on the context, or %NULL if no shape rendering callback have
|
||||
@@ -320,7 +303,6 @@ pango_cairo_context_set_shape_renderer(), if any.</doc>
|
||||
<doc xml:space="preserve">Sets the font options used when rendering text with this context.
|
||||
These options override any options that pango_cairo_update_context()
|
||||
derives from the target surface.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -341,7 +323,6 @@ derives from the target surface.</doc>
|
||||
points specified in a #PangoFontDescription and Cairo units. The
|
||||
default value is 96, meaning that a 10 point font will be 13
|
||||
units high. (10 * 96. / 72. = 13.3).</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -362,7 +343,6 @@ units high. (10 * 96. / 72. = 13.3).</doc>
|
||||
<doc xml:space="preserve">Sets callback function for context to use for rendering attributes
|
||||
of type %PANGO_ATTR_SHAPE. See #PangoCairoShapeRendererFunc for
|
||||
details.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -396,7 +376,6 @@ This function is a convenience function that creates a context using
|
||||
the default font map, then updates it to @cr. If you just need to
|
||||
create a layout for use with @cr and do not need to access #PangoContext
|
||||
directly, you can use pango_cairo_create_layout() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly created #PangoContext. Free with
|
||||
g_object_unref().</doc>
|
||||
@@ -421,7 +400,6 @@ This function is the most convenient way to use Cairo with Pango,
|
||||
however it is slightly inefficient since it creates a separate
|
||||
#PangoContext object for each layout. This might matter in an
|
||||
application that was laying out large amounts of text.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly created #PangoLayout. Free with
|
||||
g_object_unref().</doc>
|
||||
@@ -440,7 +418,6 @@ approximately covers the given rectangle in the style of an underline used
|
||||
to indicate a spelling error. (The width of the underline is rounded to an
|
||||
integer number of up/down segments and the resulting rectangle is centered
|
||||
in the original rectangle)</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -483,7 +460,6 @@ uses for example.
|
||||
Note that since Pango 1.32.6, the default fontmap is per-thread.
|
||||
Each thread gets its own default fontmap. In this way,
|
||||
PangoCairo can be used safely from multiple threads.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the default PangoCairo fontmap
|
||||
for the current thread. This object is owned by Pango and must not be freed.</doc>
|
||||
@@ -508,7 +484,6 @@ based on your build, are fc (fontconfig), win32, and coretext.
|
||||
If requested type is not available, NULL is returned. Ie.
|
||||
this is only useful for testing, when at least two backends
|
||||
are compiled in.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly allocated #PangoFontMap,
|
||||
which should be freed with g_object_unref().</doc>
|
||||
@@ -522,7 +497,6 @@ to be used with cairo font backend of type @fonttype.
|
||||
In most cases one should simply use @pango_cairo_font_map_new(),
|
||||
or in fact in most of those cases, just use
|
||||
@pango_cairo_font_map_get_default().</doc>
|
||||
|
||||
<return-value transfer-ownership="full" nullable="1">
|
||||
<doc xml:space="preserve">the newly allocated
|
||||
#PangoFontMap of suitable type which should be freed
|
||||
@@ -541,7 +515,6 @@ or in fact in most of those cases, just use
|
||||
<doc xml:space="preserve">Adds the glyphs in @glyphs to the current path in the specified
|
||||
cairo context. The origin of the glyphs (the left edge of the baseline)
|
||||
will be at the current point of the cairo context.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -564,7 +537,6 @@ will be at the current point of the cairo context.</doc>
|
||||
<doc xml:space="preserve">Adds the text in #PangoLayoutLine to the current path in the
|
||||
specified cairo context. The origin of the glyphs (the left edge
|
||||
of the line) will be at the current point of the cairo context.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -583,7 +555,6 @@ of the line) will be at the current point of the cairo context.</doc>
|
||||
<doc xml:space="preserve">Adds the text in a #PangoLayout to the current path in the
|
||||
specified cairo context. The top-left corner of the #PangoLayout
|
||||
will be at the current point of the cairo context.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -598,13 +569,141 @@ will be at the current point of the cairo context.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function>
|
||||
<docsection name="pangocairo">
|
||||
<doc xml:space="preserve">The <ulink url="http://cairographics.org">Cairo library</ulink> is a
|
||||
vector graphics library with a powerful rendering model. It has such
|
||||
features as anti-aliased primitives, alpha-compositing, and
|
||||
gradients. Multiple backends for Cairo are available, to allow
|
||||
rendering to images, to PDF files, and to the screen on X and on other
|
||||
windowing systems. The functions in this section allow using Pango
|
||||
to render to Cairo surfaces.
|
||||
|
||||
Using Pango with Cairo is straightforward. A #PangoContext created
|
||||
with pango_cairo_font_map_create_context() can be used on any
|
||||
Cairo context (cairo_t), but needs to be updated to match the
|
||||
current transformation matrix and target surface of the Cairo context
|
||||
using pango_cairo_update_context(). The convenience functions
|
||||
pango_cairo_create_layout() and pango_cairo_update_layout() handle
|
||||
the common case where the program doesn't need to manipulate the
|
||||
properties of the #PangoContext.
|
||||
|
||||
When you get the metrics of a layout or of a piece of a layout using
|
||||
functions such as pango_layout_get_extents(), the reported metrics
|
||||
are in user-space coordinates. If a piece of text is 10 units long,
|
||||
and you call cairo_scale (cr, 2.0), it still is more-or-less 10
|
||||
units long. However, the results will be affected by hinting
|
||||
(that is, the process of adjusting the text to look good on the
|
||||
pixel grid), so you shouldn't assume they are completely independent
|
||||
of the current transformation matrix. Note that the basic metrics
|
||||
functions in Pango report results in integer Pango units. To get
|
||||
to the floating point units used in Cairo divide by %PANGO_SCALE.
|
||||
|
||||
## Using Pango with Cairo ## {#rotated-example}
|
||||
|
||||
|[<!-- language="C" -->
|
||||
#include <math.h>
|
||||
#include <pango/pangocairo.h>
|
||||
|
||||
static void
|
||||
draw_text (cairo_t *cr)
|
||||
{
|
||||
#define RADIUS 150
|
||||
#define N_WORDS 10
|
||||
#define FONT "Sans Bold 27"
|
||||
|
||||
PangoLayout *layout;
|
||||
PangoFontDescription *desc;
|
||||
int i;
|
||||
|
||||
/&ast; Center coordinates on the middle of the region we are drawing
|
||||
&ast;/
|
||||
cairo_translate (cr, RADIUS, RADIUS);
|
||||
|
||||
/&ast; Create a PangoLayout, set the font and text &ast;/
|
||||
layout = pango_cairo_create_layout (cr);
|
||||
|
||||
pango_layout_set_text (layout, "Text", -1);
|
||||
desc = pango_font_description_from_string (FONT);
|
||||
pango_layout_set_font_description (layout, desc);
|
||||
pango_font_description_free (desc);
|
||||
|
||||
/&ast; Draw the layout N_WORDS times in a circle &ast;/
|
||||
for (i = 0; i &lt; N_WORDS; i++)
|
||||
{
|
||||
int width, height;
|
||||
double angle = (360. * i) / N_WORDS;
|
||||
double red;
|
||||
|
||||
cairo_save (cr);
|
||||
|
||||
/&ast; Gradient from red at angle == 60 to blue at angle == 240 &ast;/
|
||||
red = (1 + cos ((angle - 60) * G_PI / 180.)) / 2;
|
||||
cairo_set_source_rgb (cr, red, 0, 1.0 - red);
|
||||
|
||||
cairo_rotate (cr, angle * G_PI / 180.);
|
||||
|
||||
/&ast; Inform Pango to re-layout the text with the new transformation &ast;/
|
||||
pango_cairo_update_layout (cr, layout);
|
||||
|
||||
pango_layout_get_size (layout, &amp;width, &amp;height);
|
||||
cairo_move_to (cr, - ((double)width / PANGO_SCALE) / 2, - RADIUS);
|
||||
pango_cairo_show_layout (cr, layout);
|
||||
|
||||
cairo_restore (cr);
|
||||
}
|
||||
|
||||
/&ast; free the layout object &ast;/
|
||||
g_object_unref (layout);
|
||||
}
|
||||
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
cairo_t *cr;
|
||||
char *filename;
|
||||
cairo_status_t status;
|
||||
cairo_surface_t *surface;
|
||||
|
||||
if (argc != 2)
|
||||
{
|
||||
g_printerr ("Usage: cairosimple OUTPUT_FILENAME\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
filename = argv[1];
|
||||
|
||||
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
|
||||
2 * RADIUS, 2 * RADIUS);
|
||||
cr = cairo_create (surface);
|
||||
|
||||
cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
|
||||
cairo_paint (cr);
|
||||
draw_text (cr);
|
||||
cairo_destroy (cr);
|
||||
|
||||
status = cairo_surface_write_to_png (surface, filename);
|
||||
cairo_surface_destroy (surface);
|
||||
|
||||
if (status != CAIRO_STATUS_SUCCESS)
|
||||
{
|
||||
g_printerr ("Could not save png to '%s'\n", filename);
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
]|
|
||||
|
||||
Once you build and run the example code above, you should see the
|
||||
following result:
|
||||
|
||||
</doc>
|
||||
</docsection>
|
||||
<function name="show_error_underline" c:identifier="pango_cairo_show_error_underline" version="1.14">
|
||||
<doc xml:space="preserve">Draw a squiggly line in the specified cairo context that approximately
|
||||
covers the given rectangle in the style of an underline used to indicate a
|
||||
spelling error. (The width of the underline is rounded to an integer
|
||||
number of up/down segments and the resulting rectangle is centered in the
|
||||
original rectangle)</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -642,7 +741,6 @@ be drawn at the current point of the cairo context.
|
||||
|
||||
Note that @text is the start of the text for layout, which is then
|
||||
indexed by <literal>@glyph_item->item->offset</literal>.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -665,7 +763,6 @@ indexed by <literal>@glyph_item->item->offset</literal>.</doc>
|
||||
<doc xml:space="preserve">Draws the glyphs in @glyphs in the specified cairo context.
|
||||
The origin of the glyphs (the left edge of the baseline) will
|
||||
be drawn at the current point of the cairo context.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -688,7 +785,6 @@ be drawn at the current point of the cairo context.</doc>
|
||||
<doc xml:space="preserve">Draws a #PangoLayout in the specified cairo context.
|
||||
The top-left corner of the #PangoLayout will be drawn
|
||||
at the current point of the cairo context.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -707,7 +803,6 @@ at the current point of the cairo context.</doc>
|
||||
<doc xml:space="preserve">Draws a #PangoLayoutLine in the specified cairo context.
|
||||
The origin of the glyphs (the left edge of the line) will
|
||||
be drawn at the current point of the cairo context.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -728,7 +823,6 @@ match the current transformation and target surface of a Cairo
|
||||
context. If any layouts have been created for the context,
|
||||
it's necessary to call pango_layout_context_changed() on those
|
||||
layouts.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -747,7 +841,6 @@ layouts.</doc>
|
||||
<doc xml:space="preserve">Updates the private #PangoContext of a #PangoLayout created with
|
||||
pango_cairo_create_layout() to match the current transformation
|
||||
and target surface of a Cairo context.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
|
||||
@@ -9,7 +9,6 @@ and/or use gtk-doc annotations. -->
|
||||
<c:include name="pango/pangoft2.h"/>
|
||||
<namespace name="PangoFT2" version="1.0" shared-library="libpangoft2-1.0.so.0" c:identifier-prefixes="PangoFT2" c:symbol-prefixes="pango_ft2">
|
||||
<function-macro name="FONT_MAP" c:identifier="PANGO_FT2_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
@@ -23,7 +22,6 @@ to cache information about available fonts, and holds
|
||||
certain global parameters such as the resolution and
|
||||
the default substitute function (see
|
||||
pango_ft2_font_map_set_default_substitute()).</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly created fontmap object. Unref
|
||||
with g_object_unref() when you are finished with it.</doc>
|
||||
@@ -36,7 +34,6 @@ not be freed. If the font map is no longer needed, it can
|
||||
be released with pango_ft2_shutdown_display(). Use of the
|
||||
global PangoFT2 fontmap is deprecated; use pango_ft2_font_map_new()
|
||||
instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #PangoFT2FontMap.</doc>
|
||||
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
||||
@@ -45,7 +42,6 @@ instead.</doc>
|
||||
<method name="create_context" c:identifier="pango_ft2_font_map_create_context" version="1.2" introspectable="0" deprecated="1" deprecated-version="1.22">
|
||||
<doc xml:space="preserve">Create a #PangoContext for the given fontmap.</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_font_map_create_context() instead.</doc-deprecated>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly created context; free with
|
||||
g_object_unref().</doc>
|
||||
@@ -63,7 +59,6 @@ instead.</doc>
|
||||
substitution on a #FcPattern before it is used to load
|
||||
the font. This function can be used to do things like set
|
||||
hinting and antialiasing options.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -89,7 +84,6 @@ hinting and antialiasing options.</doc>
|
||||
</method>
|
||||
<method name="set_resolution" c:identifier="pango_ft2_font_map_set_resolution" version="1.2">
|
||||
<doc xml:space="preserve">Sets the horizontal and vertical resolutions for the fontmap.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -114,7 +108,6 @@ default substitution function set with
|
||||
pango_ft2_font_map_set_default_substitute() change.
|
||||
That is, if your substitution function will return different
|
||||
results for the same input pattern, you must call this function.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -127,7 +120,6 @@ results for the same input pattern, you must call this function.</doc>
|
||||
</method>
|
||||
</class>
|
||||
<function-macro name="IS_FONT_MAP" c:identifier="PANGO_FT2_IS_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
@@ -135,7 +127,6 @@ results for the same input pattern, you must call this function.</doc>
|
||||
</function-macro>
|
||||
<callback name="SubstituteFunc" c:type="PangoFT2SubstituteFunc">
|
||||
<doc xml:space="preserve">Function type for doing final config tweaking on prepared FcPatterns.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -153,7 +144,6 @@ results for the same input pattern, you must call this function.</doc>
|
||||
<function name="font_get_coverage" c:identifier="pango_ft2_font_get_coverage">
|
||||
<doc xml:space="preserve">Gets the #PangoCoverage for a `PangoFT2Font`. Use
|
||||
pango_font_get_coverage() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">a #PangoCoverage.</doc>
|
||||
<type name="Pango.Coverage" c:type="PangoCoverage*"/>
|
||||
@@ -176,7 +166,6 @@ This may be useful if you want to use FreeType2 functions directly.
|
||||
Use pango_fc_font_lock_face() instead; when you are done with a
|
||||
face from pango_fc_font_lock_face() you must call
|
||||
pango_fc_font_unlock_face().</doc>
|
||||
|
||||
<return-value nullable="1">
|
||||
<doc xml:space="preserve">a pointer to a `FT_Face` structure, with the
|
||||
size set correctly, or %NULL if @font is %NULL.</doc>
|
||||
@@ -193,7 +182,6 @@ pango_fc_font_unlock_face().</doc>
|
||||
<doc xml:space="preserve">Retrieves kerning information for a combination of two glyphs.
|
||||
|
||||
Use pango_fc_font_kern_glyphs() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">The amount of kerning (in Pango units) to apply for
|
||||
the given combination of glyphs.</doc>
|
||||
@@ -214,12 +202,15 @@ the given combination of glyphs.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function>
|
||||
<docsection name="freetypefonts">
|
||||
<doc xml:space="preserve">The macros and functions in this section are used to access fonts and render
|
||||
text to bitmaps using the FreeType 2 library.</doc>
|
||||
</docsection>
|
||||
<function name="get_context" c:identifier="pango_ft2_get_context" introspectable="0" deprecated="1" deprecated-version="1.22">
|
||||
<doc xml:space="preserve">Retrieves a #PangoContext for the default PangoFT2 fontmap
|
||||
(see pango_ft2_font_map_for_display()) and sets the resolution
|
||||
for the default fontmap to @dpi_x by @dpi_y.</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_font_map_create_context() instead.</doc-deprecated>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the new #PangoContext</doc>
|
||||
<type name="Pango.Context" c:type="PangoContext*"/>
|
||||
@@ -242,7 +233,6 @@ for the default fontmap to @dpi_x by @dpi_y.</doc>
|
||||
If you want to draw an unknown-box for a character that is not covered
|
||||
by the font,
|
||||
use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a glyph index into @font, or %PANGO_GLYPH_EMPTY</doc>
|
||||
<type name="Pango.Glyph" c:type="PangoGlyph"/>
|
||||
@@ -254,9 +244,15 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function>
|
||||
<docsection name="pangorenderer">
|
||||
<doc xml:space="preserve">#PangoRenderer is a base class that contains the necessary logic for
|
||||
rendering a #PangoLayout or #PangoLayoutLine. By subclassing
|
||||
#PangoRenderer and overriding operations such as @draw_glyphs and
|
||||
@draw_rectangle, renderers for particular font backends and
|
||||
destinations can be created.</doc>
|
||||
</docsection>
|
||||
<function name="render" c:identifier="pango_ft2_render">
|
||||
<doc xml:space="preserve">Renders a #PangoGlyphString onto a FreeType2 bitmap.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -285,7 +281,6 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
</function>
|
||||
<function name="render_layout" c:identifier="pango_ft2_render_layout">
|
||||
<doc xml:space="preserve">Render a #PangoLayout onto a FreeType2 bitmap</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -310,7 +305,6 @@ use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
</function>
|
||||
<function name="render_layout_line" c:identifier="pango_ft2_render_layout_line">
|
||||
<doc xml:space="preserve">Render a #PangoLayoutLine onto a FreeType2 bitmap</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -339,7 +333,6 @@ location specified in fixed-point Pango units rather than
|
||||
pixels. (Using this will avoid extra inaccuracies from
|
||||
rounding to integer pixels multiple times, even if the
|
||||
final glyph positions are integers.)</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -368,7 +361,6 @@ location specified in fixed-point Pango units rather than
|
||||
pixels. (Using this will avoid extra inaccuracies from
|
||||
rounding to integer pixels multiple times, even if the
|
||||
final glyph positions are integers.)</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -398,7 +390,6 @@ matrix. Note that the transformation matrix for @font is not
|
||||
changed, so to produce correct rendering results, the @font
|
||||
must have been loaded using a #PangoContext with an identical
|
||||
transformation matrix to that passed in to this function.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -435,7 +426,6 @@ transformation matrix to that passed in to this function.</doc>
|
||||
<function name="shutdown_display" c:identifier="pango_ft2_shutdown_display">
|
||||
<doc xml:space="preserve">Free the global fontmap. (See pango_ft2_font_map_for_display())
|
||||
Use of the global PangoFT2 fontmap is deprecated.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
|
||||
@@ -9,43 +9,31 @@ and/or use gtk-doc annotations. -->
|
||||
<c:include name="pango/pangofc-fontmap.h"/>
|
||||
<namespace name="PangoFc" version="1.0" shared-library="libpangoft2-1.0.so.0" c:identifier-prefixes="PangoFc" c:symbol-prefixes="pango_fc">
|
||||
<function-macro name="DECODER" c:identifier="PANGO_FC_DECODER" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="DECODER_CLASS" c:identifier="PANGO_FC_DECODER_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="DECODER_GET_CLASS" c:identifier="PANGO_FC_DECODER_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<class name="Decoder" c:symbol-prefix="decoder" c:type="PangoFcDecoder" version="1.6" parent="GObject.Object" abstract="1" glib:type-name="PangoFcDecoder" glib:get-type="pango_fc_decoder_get_type" glib:type-struct="DecoderClass">
|
||||
<doc xml:space="preserve">#PangoFcDecoder is a virtual base class that implementations will
|
||||
inherit from. It's the interface that is used to define a custom
|
||||
encoding for a font. These objects are created in your code from a
|
||||
function callback that was originally registered with
|
||||
pango_fc_font_map_add_decoder_find_func(). Pango requires
|
||||
information about the supported charset for a font as well as the
|
||||
individual character to glyph conversions. Pango gets that
|
||||
information via the #get_charset and #get_glyph callbacks into your
|
||||
object implementation.</doc>
|
||||
|
||||
<doc xml:space="preserve">PangoFcDecoder represents a decoder that an application provides
|
||||
for handling a font that is encoded in a custom way.</doc>
|
||||
<virtual-method name="get_charset" invoker="get_charset" version="1.6">
|
||||
<doc xml:space="preserve">Generates an #FcCharSet of supported characters for the fcfont
|
||||
given. The returned #FcCharSet will be a reference to an
|
||||
internal value stored by the #PangoFcDecoder and must not
|
||||
be modified or freed.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #FcCharset for @fcfont; must not
|
||||
be modified or freed.</doc>
|
||||
@@ -68,7 +56,6 @@ custom decoder. For complex scripts where there can be multiple
|
||||
glyphs for a single character, the decoder will return whatever
|
||||
glyph is most convenient for it. (Usually whatever glyph is directly
|
||||
in the fonts character map table.)</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the glyph index, or 0 if the glyph isn't
|
||||
covered by the font.</doc>
|
||||
@@ -94,7 +81,6 @@ covered by the font.</doc>
|
||||
given. The returned #FcCharSet will be a reference to an
|
||||
internal value stored by the #PangoFcDecoder and must not
|
||||
be modified or freed.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #FcCharset for @fcfont; must not
|
||||
be modified or freed.</doc>
|
||||
@@ -117,7 +103,6 @@ custom decoder. For complex scripts where there can be multiple
|
||||
glyphs for a single character, the decoder will return whatever
|
||||
glyph is most convenient for it. (Usually whatever glyph is directly
|
||||
in the fonts character map table.)</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the glyph index, or 0 if the glyph isn't
|
||||
covered by the font.</doc>
|
||||
@@ -144,13 +129,11 @@ covered by the font.</doc>
|
||||
</class>
|
||||
<record name="DecoderClass" c:type="PangoFcDecoderClass" glib:is-gtype-struct-for="Decoder" version="1.6">
|
||||
<doc xml:space="preserve">Class structure for #PangoFcDecoder.</doc>
|
||||
|
||||
<field name="parent_class" readable="0" private="1">
|
||||
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
||||
</field>
|
||||
<field name="get_charset">
|
||||
<callback name="get_charset">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #FcCharset for @fcfont; must not
|
||||
be modified or freed.</doc>
|
||||
@@ -170,7 +153,6 @@ covered by the font.</doc>
|
||||
</field>
|
||||
<field name="get_glyph">
|
||||
<callback name="get_glyph">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the glyph index, or 0 if the glyph isn't
|
||||
covered by the font.</doc>
|
||||
@@ -194,7 +176,6 @@ covered by the font.</doc>
|
||||
</field>
|
||||
<field name="_pango_reserved1" introspectable="0">
|
||||
<callback name="_pango_reserved1">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -202,7 +183,6 @@ covered by the font.</doc>
|
||||
</field>
|
||||
<field name="_pango_reserved2" introspectable="0">
|
||||
<callback name="_pango_reserved2">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -210,7 +190,6 @@ covered by the font.</doc>
|
||||
</field>
|
||||
<field name="_pango_reserved3" introspectable="0">
|
||||
<callback name="_pango_reserved3">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -218,7 +197,6 @@ covered by the font.</doc>
|
||||
</field>
|
||||
<field name="_pango_reserved4" introspectable="0">
|
||||
<callback name="_pango_reserved4">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -227,7 +205,6 @@ covered by the font.</doc>
|
||||
</record>
|
||||
<callback name="DecoderFindFunc" c:type="PangoFcDecoderFindFunc" introspectable="0">
|
||||
<doc xml:space="preserve">Callback function passed to pango_fc_font_map_add_decoder_find_func().</doc>
|
||||
|
||||
<return-value>
|
||||
<doc xml:space="preserve">a new reference to a custom decoder for this pattern,
|
||||
or %NULL if the default decoder handling should be used.</doc>
|
||||
@@ -245,7 +222,6 @@ covered by the font.</doc>
|
||||
</parameters>
|
||||
</callback>
|
||||
<function-macro name="FONT" c:identifier="PANGO_FC_FONT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
@@ -260,11 +236,9 @@ The property will have a number of string elements, each of which is the
|
||||
OpenType feature tag of one feature to enable.
|
||||
|
||||
This is equivalent to FC_FONT_FEATURES in versions of fontconfig that have that.</doc>
|
||||
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</constant>
|
||||
<function-macro name="FONT_MAP" c:identifier="PANGO_FC_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
@@ -276,23 +250,22 @@ patterns to populate list of OpenType font variations to be used for a font.
|
||||
|
||||
The property will have a string elements, each of which a comma-separated
|
||||
list of OpenType axis setting of the form AXIS=VALUE.</doc>
|
||||
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</constant>
|
||||
<class name="Font" c:symbol-prefix="font" c:type="PangoFcFont" parent="Pango.Font" abstract="1" glib:type-name="PangoFcFont" glib:get-type="pango_fc_font_get_type" glib:type-struct="FontClass">
|
||||
<doc xml:space="preserve">#PangoFcFont is a base class for font implementations
|
||||
using the Fontconfig and FreeType libraries and is used in
|
||||
conjunction with #PangoFcFontMap. When deriving from this
|
||||
class, you need to implement all of its virtual functions
|
||||
other than shutdown() along with the get_glyph_extents()
|
||||
virtual function from #PangoFont.</doc>
|
||||
|
||||
<doc xml:space="preserve">#PangoFcFont is a base class for font implementation using the
|
||||
Fontconfig and FreeType libraries. It is used in the
|
||||
<link linkend="pango-Xft-Fonts-and-Rendering">Xft</link> and
|
||||
<link linkend="pango-FreeType-Fonts-and-Rendering">FreeType</link>
|
||||
backends shipped with Pango, but can also be used when creating
|
||||
new backends. Any backend deriving from this base class will
|
||||
take advantage of the wide range of shapers implemented using
|
||||
FreeType that come with Pango.</doc>
|
||||
<function name="description_from_pattern" c:identifier="pango_fc_font_description_from_pattern" version="1.4">
|
||||
<doc xml:space="preserve">Creates a #PangoFontDescription that matches the specified
|
||||
Fontconfig pattern as closely as possible. Many possible Fontconfig
|
||||
pattern values, such as %FC_RASTERIZER or %FC_DPI, don't make sense in
|
||||
the context of #PangoFontDescription, so will be ignored.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">a new #PangoFontDescription. Free with
|
||||
pango_font_description_free().</doc>
|
||||
@@ -315,7 +288,6 @@ the context of #PangoFontDescription, so will be ignored.</doc>
|
||||
<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_fc_font_has_char().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the glyph index, or 0, if the Unicode
|
||||
character doesn't exist in the font.</doc>
|
||||
@@ -337,7 +309,6 @@ whether the font has the glyph, use pango_fc_font_has_char().</doc>
|
||||
unknown character.
|
||||
|
||||
Use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a glyph index into @font.</doc>
|
||||
<type name="Pango.Glyph" c:type="PangoGlyph"/>
|
||||
@@ -356,7 +327,6 @@ Use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
<method name="has_char" c:identifier="pango_fc_font_has_char" version="1.4" deprecated="1" deprecated-version="1.44">
|
||||
<doc xml:space="preserve">Determines whether @font has a glyph for the codepoint @wc.</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_font_has_char()</doc-deprecated>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if @font has the requested codepoint.</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -377,7 +347,6 @@ Use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
in @glyphs according to kerning information in @font.
|
||||
|
||||
Since 1.44, it does nothing.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -397,7 +366,6 @@ Since 1.44, it does nothing.</doc>
|
||||
This face will be kept around until you call
|
||||
pango_fc_font_unlock_face().</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_font_get_hb_font() instead</doc-deprecated>
|
||||
|
||||
<return-value>
|
||||
<doc xml:space="preserve">the FreeType `FT_Face` associated with @font.</doc>
|
||||
<type c:type="FT_Face"/>
|
||||
@@ -413,7 +381,6 @@ pango_fc_font_unlock_face().</doc>
|
||||
<doc xml:space="preserve">Releases a font previously obtained with
|
||||
pango_fc_font_lock_face().</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_font_get_hb_font() instead</doc-deprecated>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -460,11 +427,16 @@ pango_fc_font_lock_face().</doc>
|
||||
<type name="guint" c:type="guint"/>
|
||||
</field>
|
||||
</class>
|
||||
<record name="FontClass" c:type="PangoFcFontClass" disguised="1" glib:is-gtype-struct-for="Font">
|
||||
|
||||
</record>
|
||||
<record name="FontClass" c:type="PangoFcFontClass" disguised="1" glib:is-gtype-struct-for="Font"/>
|
||||
<class name="FontMap" c:symbol-prefix="font_map" c:type="PangoFcFontMap" parent="Pango.FontMap" abstract="1" glib:type-name="PangoFcFontMap" glib:get-type="pango_fc_font_map_get_type" glib:type-struct="FontMapClass">
|
||||
|
||||
<doc xml:space="preserve">PangoFcFontMap is a base class for font map implementations using the
|
||||
Fontconfig and FreeType libraries. It is used in the
|
||||
<link linkend="pango-Xft-Fonts-and-Rendering">Xft</link> and
|
||||
<link linkend="pango-FreeType-Fonts-and-Rendering">FreeType</link>
|
||||
backends shipped with Pango, but can also be used when creating
|
||||
new backends. Any backend deriving from this base class will
|
||||
take advantage of the wide range of shapers implemented using
|
||||
FreeType that come with Pango.</doc>
|
||||
<method name="add_decoder_find_func" c:identifier="pango_fc_font_map_add_decoder_find_func" version="1.6" introspectable="0">
|
||||
<doc xml:space="preserve">This function saves a callback method in the #PangoFcFontMap that
|
||||
will be called whenever new fonts are created. If the
|
||||
@@ -472,7 +444,6 @@ function returns a #PangoFcDecoder, that decoder will be used to
|
||||
determine both coverage via a #FcCharSet and a one-to-one mapping of
|
||||
characters to glyphs. This will allow applications to have
|
||||
application-specific encodings for various fonts.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -502,7 +473,6 @@ this should be called whenever there is a change in the
|
||||
output of the default_substitute() virtual function of the
|
||||
font map, or if fontconfig has been reinitialized to new
|
||||
configuration.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -518,7 +488,6 @@ configuration.</doc>
|
||||
used by this font map has changed. This currently calls
|
||||
pango_fc_font_map_cache_clear() which ensures that list of fonts, etc
|
||||
will be regenerated using the updated configuration.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -536,7 +505,6 @@ it is possible that a backend will store additional information
|
||||
needed for correct operation on the #PangoContext after calling
|
||||
this function.</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_font_map_create_context() instead.</doc-deprecated>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">a new #PangoContext</doc>
|
||||
<type name="Pango.Context" c:type="PangoContext*"/>
|
||||
@@ -551,7 +519,6 @@ this function.</doc>
|
||||
<method name="find_decoder" c:identifier="pango_fc_font_map_find_decoder" version="1.26">
|
||||
<doc xml:space="preserve">Finds the decoder to use for @pattern. Decoders can be added to
|
||||
a font map using pango_fc_font_map_add_decoder_find_func().</doc>
|
||||
|
||||
<return-value transfer-ownership="full" nullable="1">
|
||||
<doc xml:space="preserve">a newly created #PangoFcDecoder
|
||||
object or %NULL if no decoder is set for @pattern.</doc>
|
||||
@@ -572,7 +539,6 @@ a font map using pango_fc_font_map_add_decoder_find_func().</doc>
|
||||
<doc xml:space="preserve">Fetches the `FcConfig` attached to a font map.
|
||||
|
||||
See also: pango_fc_font_map_set_config()</doc>
|
||||
|
||||
<return-value nullable="1">
|
||||
<doc xml:space="preserve">the `FcConfig` object attached to @fcfontmap, which
|
||||
might be %NULL.</doc>
|
||||
@@ -587,7 +553,6 @@ See also: pango_fc_font_map_set_config()</doc>
|
||||
</method>
|
||||
<method name="get_hb_face" c:identifier="pango_fc_font_map_get_hb_face" version="1.44" introspectable="0">
|
||||
<doc xml:space="preserve">Retrieves the `hb_face_t` for the given #PangoFcFont.</doc>
|
||||
|
||||
<return-value transfer-ownership="none" nullable="1">
|
||||
<doc xml:space="preserve">the `hb_face_t` for the given Pango font</doc>
|
||||
<type name="HarfBuzz.face_t" c:type="hb_face_t*"/>
|
||||
@@ -618,7 +583,6 @@ pango_fc_font_map_config_changed() is called.
|
||||
|
||||
This function acquires a reference to the FcConfig object; the caller
|
||||
does NOT need to retain a reference.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -640,7 +604,6 @@ virtual function of #PangoFcFont.) This function might be used
|
||||
by a backend when the underlying windowing system for the font
|
||||
map exits. This function is only intended to be called
|
||||
only for backend implementations deriving from #PangoFcFontMap.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -652,12 +615,8 @@ only for backend implementations deriving from #PangoFcFontMap.</doc>
|
||||
</parameters>
|
||||
</method>
|
||||
</class>
|
||||
<record name="FontMapClass" c:type="PangoFcFontMapClass" disguised="1" glib:is-gtype-struct-for="FontMap">
|
||||
|
||||
</record>
|
||||
<record name="FontMapPrivate" c:type="PangoFcFontMapPrivate" disguised="1">
|
||||
|
||||
</record>
|
||||
<record name="FontMapClass" c:type="PangoFcFontMapClass" disguised="1" glib:is-gtype-struct-for="FontMap"/>
|
||||
<record name="FontMapPrivate" c:type="PangoFcFontMapPrivate" disguised="1"/>
|
||||
<constant name="GRAVITY" value="pangogravity" c:type="PANGO_FC_GRAVITY" version="1.20">
|
||||
<doc xml:space="preserve">String representing a fontconfig property name that Pango sets on any
|
||||
fontconfig pattern it passes to fontconfig if a #PangoGravity other
|
||||
@@ -666,32 +625,27 @@ than %PANGO_GRAVITY_SOUTH is desired.
|
||||
The property will have a #PangoGravity value as a string, like "east".
|
||||
This can be used to write fontconfig configuration rules to choose
|
||||
different fonts for horizontal and vertical writing directions.</doc>
|
||||
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</constant>
|
||||
<function-macro name="IS_DECODER" c:identifier="PANGO_FC_IS_DECODER" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_DECODER_CLASS" c:identifier="PANGO_FC_IS_DECODER_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_FONT" c:identifier="PANGO_FC_IS_FONT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_FONT_MAP" c:identifier="PANGO_FC_IS_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
@@ -707,7 +661,6 @@ This can be used to write fontconfig configuration rules that only affect
|
||||
certain applications.
|
||||
|
||||
This is equivalent to FC_PRGNAME in versions of fontconfig that have that.</doc>
|
||||
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</constant>
|
||||
<constant name="VERSION" value="pangoversion" c:type="PANGO_FC_VERSION" version="1.20">
|
||||
@@ -719,7 +672,6 @@ pango_version() returns.
|
||||
This can be used to write fontconfig configuration rules that only affect
|
||||
certain pango versions (or only pango-using applications, or only
|
||||
non-pango-using applications).</doc>
|
||||
|
||||
<type name="utf8" c:type="gchar*"/>
|
||||
</constant>
|
||||
</namespace>
|
||||
|
||||
@@ -12,20 +12,16 @@ and/or use gtk-doc annotations. -->
|
||||
<doc xml:space="preserve">The #PangoOTTag typedef is used to represent TrueType and OpenType
|
||||
four letter tags inside Pango. Use PANGO_OT_TAG_MAKE()
|
||||
or PANGO_OT_TAG_MAKE_FROM_STRING() macros to create <type>PangoOTTag</type>s manually.</doc>
|
||||
|
||||
<type name="guint32" c:type="guint32"/>
|
||||
</alias>
|
||||
<constant name="ALL_GLYPHS" value="65535" c:type="PANGO_OT_ALL_GLYPHS" version="1.16">
|
||||
<doc xml:space="preserve">This is used as the property bit in pango_ot_ruleset_add_feature() when a
|
||||
feature should be applied to all glyphs.</doc>
|
||||
|
||||
<type name="guint" c:type="guint"/>
|
||||
</constant>
|
||||
<record name="Buffer" c:type="PangoOTBuffer" glib:type-name="PangoOTBuffer" glib:get-type="pango_ot_buffer_get_type" c:symbol-prefix="buffer">
|
||||
|
||||
<constructor name="new" c:identifier="pango_ot_buffer_new" version="1.4">
|
||||
<doc xml:space="preserve">Creates a new #PangoOTBuffer for the given OpenType font.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly allocated #PangoOTBuffer, which should
|
||||
be freed with pango_ot_buffer_destroy().</doc>
|
||||
@@ -41,7 +37,6 @@ feature should be applied to all glyphs.</doc>
|
||||
<method name="add_glyph" c:identifier="pango_ot_buffer_add_glyph" version="1.4">
|
||||
<doc xml:space="preserve">Appends a glyph to a #PangoOTBuffer, with @properties identifying which
|
||||
features should be applied on this glyph. See pango_ot_ruleset_add_feature().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -66,7 +61,6 @@ features should be applied on this glyph. See pango_ot_ruleset_add_feature().</
|
||||
</method>
|
||||
<method name="clear" c:identifier="pango_ot_buffer_clear" version="1.4">
|
||||
<doc xml:space="preserve">Empties a #PangoOTBuffer, make it ready to add glyphs to.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -79,7 +73,6 @@ features should be applied on this glyph. See pango_ot_ruleset_add_feature().</
|
||||
</method>
|
||||
<method name="destroy" c:identifier="pango_ot_buffer_destroy" version="1.4">
|
||||
<doc xml:space="preserve">Destroys a #PangoOTBuffer and free all associated memory.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -94,7 +87,6 @@ features should be applied on this glyph. See pango_ot_ruleset_add_feature().</
|
||||
<doc xml:space="preserve">Gets the glyph array contained in a #PangoOTBuffer. The glyphs are
|
||||
owned by the buffer and should not be freed, and are only valid as long
|
||||
as buffer is not modified.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -121,7 +113,6 @@ as buffer is not modified.</doc>
|
||||
<doc xml:space="preserve">Exports the glyphs in a #PangoOTBuffer into a #PangoGlyphString. This is
|
||||
typically used after the OpenType layout processing is over, to convert the
|
||||
resulting glyphs into a generic Pango glyph string.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -139,7 +130,6 @@ resulting glyphs into a generic Pango glyph string.</doc>
|
||||
<method name="set_rtl" c:identifier="pango_ot_buffer_set_rtl" version="1.4">
|
||||
<doc xml:space="preserve">Sets whether glyphs will be rendered right-to-left. This setting
|
||||
is needed for proper horizontal positioning of right-to-left scripts.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -159,7 +149,6 @@ is needed for proper horizontal positioning of right-to-left scripts.</doc>
|
||||
This setting is needed for proper positioning of Arabic accents,
|
||||
but will produce incorrect results with standard OpenType Indic
|
||||
fonts.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -186,14 +175,12 @@ The end result is that one can always call pango_ot_tag_from_language()
|
||||
followed by pango_ot_info_find_language() and pass the result to
|
||||
pango_ot_info_find_feature() without having to worry about falling back to
|
||||
default language system explicitly.</doc>
|
||||
|
||||
<type name="guint" c:type="guint"/>
|
||||
</constant>
|
||||
<record name="FeatureMap" c:type="PangoOTFeatureMap" version="1.18">
|
||||
<doc xml:space="preserve">The #PangoOTFeatureMap typedef is used to represent an OpenType
|
||||
feature with the property bit associated with it. The feature tag is
|
||||
represented as a char array instead of a #PangoOTTag for convenience.</doc>
|
||||
|
||||
<field name="feature_name" writable="1">
|
||||
<doc xml:space="preserve">feature tag in represented as four-letter ASCII string.</doc>
|
||||
<array zero-terminated="0" fixed-size="5">
|
||||
@@ -210,7 +197,6 @@ pango_ot_ruleset_add_feature() for details.</doc>
|
||||
<doc xml:space="preserve">The #PangoOTGlyph structure represents a single glyph together with
|
||||
information used for OpenType layout processing of the glyph.
|
||||
It contains the following fields.</doc>
|
||||
|
||||
<field name="glyph" writable="1">
|
||||
<doc xml:space="preserve">the glyph itself.</doc>
|
||||
<type name="guint32" c:type="guint32"/>
|
||||
@@ -238,21 +224,18 @@ applied on this glyph. See pango_ot_ruleset_add_feature().</doc>
|
||||
</field>
|
||||
</record>
|
||||
<function-macro name="INFO" c:identifier="PANGO_OT_INFO" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_INFO" c:identifier="PANGO_OT_IS_INFO" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_RULESET" c:identifier="PANGO_OT_IS_RULESET" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
@@ -261,7 +244,6 @@ applied on this glyph. See pango_ot_ruleset_add_feature().</doc>
|
||||
<class name="Info" c:symbol-prefix="info" c:type="PangoOTInfo" parent="GObject.Object" glib:type-name="PangoOTInfo" glib:get-type="pango_ot_info_get_type">
|
||||
<function name="get" c:identifier="pango_ot_info_get" version="1.2">
|
||||
<doc xml:space="preserve">Returns the #PangoOTInfo structure for the given FreeType font face.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #PangoOTInfo for @face. This object
|
||||
will have the same lifetime as @face.</doc>
|
||||
@@ -284,7 +266,6 @@ in pango_ot_ruleset_add_feature() will ask Pango to synthesize the
|
||||
requested feature based on Unicode properties and data. However, this
|
||||
function will still return %FALSE in those cases. So, users may want to
|
||||
ignore the return value of this function in certain cases.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the feature was found.</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -327,7 +308,6 @@ some fonts, also searches the language system tag 'dflt' before falling
|
||||
back to the default language system, but that is transparent to the user.
|
||||
The user can simply ignore the return value of this function to
|
||||
automatically fall back to the default language system.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the language was found.</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -371,7 +351,6 @@ All other functions taking an input script_index parameter know
|
||||
how to handle %PANGO_OT_NO_SCRIPT, so one can ignore the return
|
||||
value of this function completely and proceed, to enjoy the automatic
|
||||
fallback to the 'DFLT'/'dflt' script.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the script was found.</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -398,7 +377,6 @@ fallback to the 'DFLT'/'dflt' script.</doc>
|
||||
</method>
|
||||
<method name="list_features" c:identifier="pango_ot_info_list_features">
|
||||
<doc xml:space="preserve">Obtains the list of features for the given language of the given script.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a newly-allocated zero-terminated array containing the tags of the
|
||||
available features. Should be freed using g_free().</doc>
|
||||
@@ -431,7 +409,6 @@ available features. Should be freed using g_free().</doc>
|
||||
</method>
|
||||
<method name="list_languages" c:identifier="pango_ot_info_list_languages">
|
||||
<doc xml:space="preserve">Obtains the list of available languages for a given script.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a newly-allocated zero-terminated array containing the tags of the
|
||||
available languages. Should be freed using g_free().</doc>
|
||||
@@ -458,7 +435,6 @@ available features. Should be freed using g_free().</doc>
|
||||
</method>
|
||||
<method name="list_scripts" c:identifier="pango_ot_info_list_scripts">
|
||||
<doc xml:space="preserve">Obtains the list of available scripts.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a newly-allocated zero-terminated array containing the tags of the
|
||||
available scripts. Should be freed using g_free().</doc>
|
||||
@@ -481,7 +457,6 @@ available features. Should be freed using g_free().</doc>
|
||||
skipped. It may be returned as feature index by pango_ot_info_find_feature()
|
||||
if the feature is not found, and pango_ot_ruleset_add_feature() function
|
||||
automatically skips this value, so no special handling is required by the user.</doc>
|
||||
|
||||
<type name="guint" c:type="guint"/>
|
||||
</constant>
|
||||
<constant name="NO_SCRIPT" value="65535" c:type="PANGO_OT_NO_SCRIPT" version="1.18">
|
||||
@@ -491,11 +466,9 @@ either. It may be returned as script index by pango_ot_info_find_script()
|
||||
if the script or a default script are not found, all other functions
|
||||
taking a script index essentially return if the input script index is
|
||||
this value, so no special handling is required by the user.</doc>
|
||||
|
||||
<type name="guint" c:type="guint"/>
|
||||
</constant>
|
||||
<function-macro name="RULESET" c:identifier="PANGO_OT_RULESET" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
@@ -512,7 +485,6 @@ to it with pango_ot_ruleset_add_feature(), then it is
|
||||
applied to a #PangoGlyphString with pango_ot_ruleset_shape().</doc>
|
||||
<constructor name="new" c:identifier="pango_ot_ruleset_new">
|
||||
<doc xml:space="preserve">Creates a new #PangoOTRuleset for the given OpenType info.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly allocated #PangoOTRuleset, which
|
||||
should be freed with g_object_unref().</doc>
|
||||
@@ -564,7 +536,6 @@ In excess to what pango_ot_ruleset_new() does, this function will:
|
||||
Because of the way return values of pango_ot_info_find_script() and
|
||||
pango_ot_info_find_language() are ignored, this function automatically
|
||||
finds and uses the 'DFLT' script and the default language-system.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly allocated #PangoOTRuleset, which
|
||||
should be freed with g_object_unref().</doc>
|
||||
@@ -595,7 +566,6 @@ adding other features to both GSUB and GPOS.
|
||||
|
||||
The static feature map members of @desc should be alive as
|
||||
long as @info is.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly allocated #PangoOTRuleset, which
|
||||
should be freed with g_object_unref().</doc>
|
||||
@@ -620,7 +590,6 @@ The returned ruleset should not be modified or destroyed.
|
||||
|
||||
The static feature map members of @desc should be alive as
|
||||
long as @info is.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the #PangoOTRuleset for @desc. This object will have
|
||||
the same lifetime as @info.</doc>
|
||||
@@ -639,7 +608,6 @@ the same lifetime as @info.</doc>
|
||||
</function>
|
||||
<method name="add_feature" c:identifier="pango_ot_ruleset_add_feature">
|
||||
<doc xml:space="preserve">Adds a feature to the ruleset.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -666,7 +634,6 @@ the same lifetime as @info.</doc>
|
||||
</method>
|
||||
<method name="get_feature_count" c:identifier="pango_ot_ruleset_get_feature_count" version="1.18">
|
||||
<doc xml:space="preserve">Gets the number of GSUB and GPOS features in the ruleset.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">Total number of features in the @ruleset.</doc>
|
||||
<type name="guint" c:type="guint"/>
|
||||
@@ -696,7 +663,6 @@ and if the feature is found, adds it to the ruleset.
|
||||
|
||||
If @ruleset was not created using pango_ot_ruleset_new_for(), this function
|
||||
does nothing.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if the feature was found and added to ruleset,
|
||||
%FALSE otherwise.</doc>
|
||||
@@ -728,7 +694,6 @@ does nothing.</doc>
|
||||
for each feature in the feature map array @features
|
||||
converts the feature name to a #PangoOTTag feature tag using PANGO_OT_TAG_MAKE()
|
||||
and calls pango_ot_ruleset_maybe_add_feature() on it.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">The number of features in @features that were found
|
||||
and added to @ruleset.</doc>
|
||||
@@ -756,7 +721,6 @@ and calls pango_ot_ruleset_maybe_add_feature() on it.</doc>
|
||||
<method name="position" c:identifier="pango_ot_ruleset_position" version="1.4">
|
||||
<doc xml:space="preserve">Performs the OpenType GPOS positioning on @buffer using the features
|
||||
in @ruleset</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -774,7 +738,6 @@ in @ruleset</doc>
|
||||
<method name="substitute" c:identifier="pango_ot_ruleset_substitute" version="1.4">
|
||||
<doc xml:space="preserve">Performs the OpenType GSUB substitution on @buffer using the features
|
||||
in @ruleset</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -797,7 +760,6 @@ The main use of this struct is to act as the key for a per-font
|
||||
hash of rulesets. The user populates a ruleset description and
|
||||
gets the ruleset using pango_ot_ruleset_get_for_description()
|
||||
or create a new one using pango_ot_ruleset_new_from_description().</doc>
|
||||
|
||||
<field name="script" writable="1">
|
||||
<doc xml:space="preserve">a #PangoScript.</doc>
|
||||
<type name="Pango.Script" c:type="PangoScript"/>
|
||||
@@ -840,7 +802,6 @@ struct.</doc>
|
||||
pango_ot_ruleset_description_free(). Primarily used internally
|
||||
by pango_ot_ruleset_get_for_description() to cache rulesets for
|
||||
ruleset descriptions.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly allocated #PangoOTRulesetDescription, which
|
||||
should be freed with pango_ot_ruleset_description_free().</doc>
|
||||
@@ -862,7 +823,6 @@ sets, the array addresses are compared directly, while for other
|
||||
features, the list of features is compared one by one.
|
||||
(Two ruleset descriptions may result in identical rulesets
|
||||
being created, but still compare %FALSE.)</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if two ruleset descriptions are identical,
|
||||
%FALSE otherwise.</doc>
|
||||
@@ -882,7 +842,6 @@ being created, but still compare %FALSE.)</doc>
|
||||
<method name="free" c:identifier="pango_ot_ruleset_description_free" version="1.18">
|
||||
<doc xml:space="preserve">Frees a ruleset description allocated by
|
||||
pango_ot_ruleset_description_copy().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -896,7 +855,6 @@ pango_ot_ruleset_description_copy().</doc>
|
||||
<method name="hash" c:identifier="pango_ot_ruleset_description_hash" version="1.18">
|
||||
<doc xml:space="preserve">Computes a hash of a #PangoOTRulesetDescription structure suitable
|
||||
to be used, for example, as an argument to g_hash_table_new().</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the hash value.</doc>
|
||||
<type name="guint" c:type="guint"/>
|
||||
@@ -912,7 +870,6 @@ to be used, for example, as an argument to g_hash_table_new().</doc>
|
||||
<function-macro name="TAG_MAKE" c:identifier="PANGO_OT_TAG_MAKE" introspectable="0">
|
||||
<doc xml:space="preserve">Creates a #PangoOTTag from four characters. This is similar and
|
||||
compatible with the <function>FT_MAKE_TAG()</function> macro from FreeType.</doc>
|
||||
|
||||
<parameters>
|
||||
<parameter name="c1">
|
||||
<doc xml:space="preserve">First character.</doc>
|
||||
@@ -934,7 +891,6 @@ four characters long (pad with space characters if needed), and need
|
||||
not be nul-terminated. This is a convenience wrapper around
|
||||
PANGO_OT_TAG_MAKE(), but cannot be used in certain situations, for
|
||||
example, as a switch expression, as it dereferences pointers.</doc>
|
||||
|
||||
<parameters>
|
||||
<parameter name="s">
|
||||
<doc xml:space="preserve">The string representation of the tag.</doc>
|
||||
@@ -945,7 +901,6 @@ example, as a switch expression, as it dereferences pointers.</doc>
|
||||
<doc xml:space="preserve">The <type>PangoOTTableType</type> enumeration values are used to
|
||||
identify the various OpenType tables in the
|
||||
<function>pango_ot_info_*</function> functions.</doc>
|
||||
|
||||
<member name="gsub" value="0" c:identifier="PANGO_OT_TABLE_GSUB">
|
||||
<doc xml:space="preserve">The GSUB table.</doc>
|
||||
</member>
|
||||
@@ -953,9 +908,15 @@ identify the various OpenType tables in the
|
||||
<doc xml:space="preserve">The GPOS table.</doc>
|
||||
</member>
|
||||
</enumeration>
|
||||
<docsection name="opentype">
|
||||
<doc xml:space="preserve">Functions and macros in this section are used to implement
|
||||
the OpenType Layout features and algorithms.
|
||||
|
||||
They have been superseded by the harfbuzz library, and should
|
||||
not be used anymore.</doc>
|
||||
</docsection>
|
||||
<function name="tag_from_language" c:identifier="pango_ot_tag_from_language" version="1.18">
|
||||
<doc xml:space="preserve">Finds the OpenType language-system tag best describing @language.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">#PangoOTTag best matching @language or
|
||||
%PANGO_OT_TAG_DEFAULT_LANGUAGE if none found or if @language
|
||||
@@ -980,7 +941,6 @@ The %PANGO_SCRIPT_COMMON, %PANGO_SCRIPT_INHERITED, and
|
||||
Note that multiple #PangoScript values may map to the same
|
||||
OpenType script tag. In particular, %PANGO_SCRIPT_HIRAGANA
|
||||
and %PANGO_SCRIPT_KATAKANA both map to the OT tag 'kana'.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">#PangoOTTag corresponding to @script or
|
||||
%PANGO_OT_TAG_DEFAULT_SCRIPT if none found.</doc>
|
||||
@@ -995,7 +955,6 @@ and %PANGO_SCRIPT_KATAKANA both map to the OT tag 'kana'.</doc>
|
||||
</function>
|
||||
<function name="tag_to_language" c:identifier="pango_ot_tag_to_language" version="1.18">
|
||||
<doc xml:space="preserve">Finds a #PangoLanguage corresponding to @language_tag.</doc>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">#PangoLanguage best matching @language_tag or
|
||||
#PangoLanguage corresponding to the string "xx" if none found.</doc>
|
||||
@@ -1020,7 +979,6 @@ In particular, %PANGO_SCRIPT_HIRAGANA
|
||||
and %PANGO_SCRIPT_KATAKANA both map to the OT tag 'kana'.
|
||||
This function will return %PANGO_SCRIPT_HIRAGANA for
|
||||
'kana'.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">#PangoScript corresponding to @script_tag or
|
||||
%PANGO_SCRIPT_UNKNOWN if none found.</doc>
|
||||
|
||||
@@ -13,14 +13,12 @@ and/or use gtk-doc annotations. -->
|
||||
<c:include name="pango/pangoxft.h"/>
|
||||
<namespace name="PangoXft" version="1.0" shared-library="libpangoxft-1.0.so.0" c:identifier-prefixes="PangoXft" c:symbol-prefixes="pango_xft">
|
||||
<function-macro name="FONT" c:identifier="PANGO_XFT_FONT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="FONT_MAP" c:identifier="PANGO_XFT_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
@@ -31,7 +29,6 @@ and/or use gtk-doc annotations. -->
|
||||
library for rendering. It is used in conjunction with #PangoXftFontMap.</doc>
|
||||
<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 if @font is %NULL.</doc>
|
||||
@@ -46,7 +43,6 @@ library for rendering. It is used in conjunction with #PangoXftFontMap.</doc>
|
||||
</function>
|
||||
<method 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 transfer-ownership="none">
|
||||
<doc xml:space="preserve">the X display of the XftFont associated to @font.</doc>
|
||||
<type name="xlib.Display" c:type="Display*"/>
|
||||
@@ -64,7 +60,6 @@ for @font. If you only want to determine
|
||||
whether the font has the glyph, use pango_xft_font_has_char().
|
||||
|
||||
Use pango_fc_font_get_glyph() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">the glyph index, or 0, if the Unicode
|
||||
character does not exist in the font.</doc>
|
||||
@@ -86,7 +81,6 @@ Use pango_fc_font_get_glyph() instead.</doc>
|
||||
unknown character.
|
||||
|
||||
Use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a glyph index into @font.</doc>
|
||||
<type name="Pango.Glyph" c:type="PangoGlyph"/>
|
||||
@@ -106,7 +100,6 @@ Use PANGO_GET_UNKNOWN_GLYPH() instead.</doc>
|
||||
<doc xml:space="preserve">Determines whether @font has a glyph for the codepoint @wc.
|
||||
|
||||
Use pango_fc_font_has_char() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">%TRUE if @font has the requested codepoint.</doc>
|
||||
<type name="gboolean" c:type="gboolean"/>
|
||||
@@ -128,7 +121,6 @@ Use pango_fc_font_has_char() instead.</doc>
|
||||
This face will be kept around until you call pango_xft_font_unlock_face().
|
||||
|
||||
Use pango_fc_font_lock_face() instead.</doc>
|
||||
|
||||
<return-value>
|
||||
<doc xml:space="preserve">the FreeType `FT_Face` associated with @font.</doc>
|
||||
<type name="freetype2.Face" c:type="FT_Face"/>
|
||||
@@ -145,7 +137,6 @@ Use pango_fc_font_lock_face() instead.</doc>
|
||||
pango_xft_font_lock_face().
|
||||
|
||||
Use pango_fc_font_unlock_face() instead.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -163,49 +154,42 @@ the Xft library as the renderer. It is used in to create fonts of
|
||||
type #PangoXftFont.</doc>
|
||||
</class>
|
||||
<function-macro name="IS_FONT" c:identifier="PANGO_XFT_IS_FONT" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_FONT_MAP" c:identifier="PANGO_XFT_IS_FONT_MAP" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_RENDERER" c:identifier="PANGO_XFT_IS_RENDERER" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="IS_RENDERER_CLASS" c:identifier="PANGO_XFT_IS_RENDERER_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="RENDERER" c:identifier="PANGO_XFT_RENDERER" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="object">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="RENDERER_CLASS" c:identifier="PANGO_XFT_RENDERER_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="klass">
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function-macro>
|
||||
<function-macro name="RENDERER_GET_CLASS" c:identifier="PANGO_XFT_RENDERER_GET_CLASS" introspectable="0">
|
||||
|
||||
<parameters>
|
||||
<parameter name="obj">
|
||||
</parameter>
|
||||
@@ -216,12 +200,10 @@ type #PangoXftFont.</doc>
|
||||
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">
|
||||
<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>
|
||||
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve">the newly created #PangoXftRenderer, which should
|
||||
be freed with g_object_unref().</doc>
|
||||
@@ -239,7 +221,6 @@ using the renderer.</doc>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<virtual-method name="composite_glyphs">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -259,7 +240,6 @@ using the renderer.</doc>
|
||||
</parameters>
|
||||
</virtual-method>
|
||||
<virtual-method name="composite_trapezoids">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -280,7 +260,6 @@ using the renderer.</doc>
|
||||
</virtual-method>
|
||||
<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"/>
|
||||
</return-value>
|
||||
@@ -298,7 +277,6 @@ using the renderer.</doc>
|
||||
<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">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -337,13 +315,11 @@ The renderer must not be currently active.</doc>
|
||||
</class>
|
||||
<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"/>
|
||||
</field>
|
||||
<field name="composite_trapezoids">
|
||||
<callback name="composite_trapezoids">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -365,7 +341,6 @@ The renderer must not be currently active.</doc>
|
||||
</field>
|
||||
<field name="composite_glyphs">
|
||||
<callback name="composite_glyphs">
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -386,12 +361,9 @@ The renderer must not be currently active.</doc>
|
||||
</callback>
|
||||
</field>
|
||||
</record>
|
||||
<record name="RendererPrivate" c:type="PangoXftRendererPrivate" disguised="1">
|
||||
|
||||
</record>
|
||||
<record name="RendererPrivate" c:type="PangoXftRendererPrivate" disguised="1"/>
|
||||
<callback name="SubstituteFunc" c:type="PangoXftSubstituteFunc">
|
||||
<doc xml:space="preserve">Function type for doing final config tweaking on prepared FcPatterns.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -411,7 +383,6 @@ The renderer must not be currently active.</doc>
|
||||
Xft fonts on the given screen of the given display.</doc>
|
||||
<doc-deprecated xml:space="preserve">Use pango_xft_get_font_map() followed by
|
||||
pango_font_map_create_context() instead.</doc-deprecated>
|
||||
|
||||
<return-value>
|
||||
<doc xml:space="preserve">the new #PangoContext.</doc>
|
||||
<type name="Pango.Context" c:type="PangoContext*"/>
|
||||
@@ -431,7 +402,6 @@ pango_font_map_create_context() instead.</doc-deprecated>
|
||||
<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>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<doc xml:space="preserve">a #PangoFontMap object, owned by Pango.</doc>
|
||||
<type name="Pango.FontMap" c:type="PangoFontMap*"/>
|
||||
@@ -449,7 +419,6 @@ the display is closed.</doc>
|
||||
</function>
|
||||
<function name="picture_render" c:identifier="pango_xft_picture_render">
|
||||
<doc xml:space="preserve">Renders a #PangoGlyphString onto an Xrender <type>Picture</type> object.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -486,7 +455,6 @@ the display is closed.</doc>
|
||||
</function>
|
||||
<function name="render" c:identifier="pango_xft_render">
|
||||
<doc xml:space="preserve">Renders a #PangoGlyphString onto an <type>XftDraw</type> object wrapping an X drawable.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -519,7 +487,6 @@ the display is closed.</doc>
|
||||
</function>
|
||||
<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"/>
|
||||
</return-value>
|
||||
@@ -549,7 +516,6 @@ the display is closed.</doc>
|
||||
</function>
|
||||
<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"/>
|
||||
</return-value>
|
||||
@@ -584,7 +550,6 @@ matrix. Note that the transformation matrix for @font is not
|
||||
changed, so to produce correct rendering results, the @font
|
||||
must have been loaded using a #PangoContext with an identical
|
||||
transformation matrix to that passed in to this function.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -627,7 +592,6 @@ transformation matrix to that passed in to this function.</doc>
|
||||
substitution on a #FcPattern before it is used to load
|
||||
the font. This function can be used to do things like set
|
||||
hinting and antialiasing options.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -660,7 +624,6 @@ hinting and antialiasing options.</doc>
|
||||
combination of @display and @screen. Note that when the
|
||||
X display is closed, resources are released automatically,
|
||||
without needing to call this function.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -681,7 +644,6 @@ default substitution function set with
|
||||
pango_xft_set_default_substitute() change.
|
||||
That is, if your substitution function will return different
|
||||
results for the same input pattern, you must call this function.</doc>
|
||||
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
@@ -696,5 +658,31 @@ results for the same input pattern, you must call this function.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</function>
|
||||
<docsection name="xftfonts">
|
||||
<doc xml:space="preserve">The Xft library is a library for displaying fonts on the X window
|
||||
system; internally it uses the fontconfig library to locate font
|
||||
files, and the FreeType library to load and render fonts. The
|
||||
Xft backend is the recommended Pango font backend for screen
|
||||
display with X. (The <link linkend="pango-Cairo-Rendering">Cairo back end</link> is another possibility.)
|
||||
|
||||
Using the Xft backend is generally straightforward;
|
||||
pango_xft_get_context() creates a context for a specified display
|
||||
and screen. You can then create a #PangoLayout with that context
|
||||
and render it with pango_xft_render_layout(). At a more advanced
|
||||
level, the low-level fontconfig options used for rendering fonts
|
||||
can be affected using pango_xft_set_default_substitute(), and
|
||||
pango_xft_substitute_changed().
|
||||
|
||||
A range of functions for drawing pieces of a layout, such as
|
||||
individual layout lines and glyphs strings are provided. You can also
|
||||
directly create a #PangoXftRenderer. Finally, in some advanced cases, it
|
||||
is useful to derive from #PangoXftRenderer. Deriving from
|
||||
#PangoXftRenderer is useful for two reasons. One reason is be to
|
||||
support custom attributes by overriding #PangoRendererClass virtual
|
||||
functions like 'prepare_run' or 'draw_shape'. The reason is to
|
||||
customize exactly how the final bits are drawn to the destination by
|
||||
overriding the #PangoXftRendererClass virtual functions
|
||||
'composite_glyphs' and 'composite_trapezoids'.</doc>
|
||||
</docsection>
|
||||
</namespace>
|
||||
</repository>
|
||||
|
||||
300
Secret-1.gir
300
Secret-1.gir
File diff suppressed because it is too large
Load Diff
1263
Soup-2.4.gir
1263
Soup-2.4.gir
File diff suppressed because it is too large
Load Diff
234
Vte-2.91.gir
234
Vte-2.91.gir
File diff suppressed because it is too large
Load Diff
1579
Vulkan-1.0.gir
1579
Vulkan-1.0.gir
File diff suppressed because it is too large
Load Diff
2104
WebKit2-4.0.gir
2104
WebKit2-4.0.gir
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -247,21 +247,21 @@
|
||||
</record>
|
||||
<record name="RectangleInt" c:type="cairo_rectangle_int_t" glib:type-name="CairoRectangleInt" glib:get-type="cairo_gobject_rectangle_int_get_type">
|
||||
<field name="x" writable="1">
|
||||
<type name="gint" c:type="gint"/>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</field>
|
||||
<field name="y" writable="1">
|
||||
<type name="gint" c:type="gint"/>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</field>
|
||||
<field name="width" writable="1">
|
||||
<type name="gint" c:type="gint"/>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</field>
|
||||
<field name="height" writable="1">
|
||||
<type name="gint" c:type="gint"/>
|
||||
<type name="gint" c:type="gint"/>
|
||||
</field>
|
||||
</record>
|
||||
<function name="image_surface_create" c:identifier="cairo_image_surface_create">
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
<type name="none" c:type="void"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
</parameters>
|
||||
|
||||
36
fix.sh
36
fix.sh
@@ -2,37 +2,37 @@
|
||||
set -x -e
|
||||
|
||||
# Remove Int32 alias because it misses c:type, it not like anyone actually cares about it.
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-d '///_:alias[@name="Int32"]' \
|
||||
freetype2-2.0.gir
|
||||
|
||||
# gir uses error domain to find quark function corresponding to given error enum,
|
||||
# but in this case it happens to be named differently, i.e., as g_option_error_quark.
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//*[@glib:error-domain="g-option-context-error-quark"]/@glib:error-domain' -v g-option-error-quark \
|
||||
GLib-2.0.gir
|
||||
|
||||
# GtkEntry icon signals incorrect assume GdkEventButton when other variants may be passed
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:class[@name="Entry"]/glib:signal[@name="icon-press"]//_:parameter[@name="event"]/_:type[@name="Gdk.EventButton"]/@name' -v "Gdk.Event" \
|
||||
-u '//_:class[@name="Entry"]/glib:signal[@name="icon-release"]//_:parameter[@name="event"]/_:type[@name="Gdk.EventButton"]/@name' -v "Gdk.Event" \
|
||||
Gtk-3.0.gir
|
||||
|
||||
# GtkIconSize usage
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:type[@c:type="GtkIconSize"]/@name' -v "IconSize" \
|
||||
-u '//_:type[@c:type="GtkIconSize*"]/@name' -v "IconSize" \
|
||||
Gtk-3.0.gir
|
||||
|
||||
# incorrect GIR due to gobject-introspection GitLab issue #189
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:class[@name="IconTheme"]/_:method//_:parameter[@name="icon_names"]/_:array/@c:type' -v "const gchar**" \
|
||||
-u '//_:class[@name="IconTheme"]/_:method[@name="get_search_path"]//_:parameter[@name="path"]/_:array/@c:type' -v "gchar***" \
|
||||
-u '//_:class[@name="IconTheme"]/_:method[@name="set_search_path"]//_:parameter[@name="path"]/_:array/@c:type' -v "const gchar**" \
|
||||
Gtk-3.0.gir
|
||||
|
||||
# incorrect GIR due to gobject-introspection GitLab issue #189
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:record[@name="KeyFile"]/_:method[@name="set_boolean_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gboolean*" \
|
||||
-u '//_:record[@name="KeyFile"]/_:method[@name="set_double_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gdouble*" \
|
||||
-u '//_:record[@name="KeyFile"]/_:method[@name="set_integer_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gint*" \
|
||||
@@ -41,7 +41,7 @@ xmlstarlet ed -P -L \
|
||||
GLib-2.0.gir
|
||||
|
||||
# incorrect GIR due to gobject-introspection GitLab issue #189
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:class[@name="Object"]/_:method[@name="getv"]//_:parameter[@name="names"]/_:array/@c:type' -v "const gchar**" \
|
||||
-u '//_:class[@name="Object"]/_:method[@name="getv"]//_:parameter[@name="values"]/_:array/@c:type' -v "GValue*" \
|
||||
-u '//_:class[@name="Object"]/_:method[@name="setv"]//_:parameter[@name="names"]/_:array/@c:type' -v "const gchar**" \
|
||||
@@ -51,30 +51,30 @@ xmlstarlet ed -P -L \
|
||||
GObject-2.0.gir
|
||||
|
||||
# fix wrong "full" transfer ownership
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:method[@c:identifier="gdk_frame_clock_get_current_timings"]/_:return-value/@transfer-ownership' -v "none" \
|
||||
-u '//_:method[@c:identifier="gdk_frame_clock_get_timings"]/_:return-value/@transfer-ownership' -v "none" \
|
||||
Gdk-3.0.gir
|
||||
|
||||
# replace gmodule with gpointer
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:record[@name="PixbufModule"]/_:field[@name="module"]/_:type/@name' -v "gpointer" \
|
||||
-u '//_:record[@name="PixbufModule"]/_:field[@name="module"]/_:type/@c:type' -v "gpointer" \
|
||||
GdkPixbuf-2.0.gir
|
||||
|
||||
# replace "gint" response_id parameters with "ResponseType"
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:parameter[@name="response_id"]/_:type[@name="gint"]/@c:type' -v "GtkResponseType" \
|
||||
-u '//_:parameter[@name="response_id"]/_:type[@name="gint"]/@name' -v "ResponseType" \
|
||||
Gtk-3.0.gir Gtk-4.0.gir
|
||||
|
||||
# fix wrong "full" transfer ownership
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:constructor[@c:identifier="gtk_shortcut_label_new"]/_:return-value/@transfer-ownership' -v "none" \
|
||||
Gtk-3.0.gir Gtk-4.0.gir
|
||||
|
||||
# add out annotation for functions returning GValue
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-a '//_:method[@c:identifier="gtk_style_context_get_style_property"]//_:parameter[@name="value" and not(@direction)]' -type attr -n "direction" -v "out" \
|
||||
-a '//_:method[@c:identifier="gtk_style_context_get_style_property"]//_:parameter[@name="value" and not(@caller-allocates)]' -type attr -n "caller-allocates" -v "1" \
|
||||
-a '//_:method[@c:identifier="gtk_cell_area_cell_get_property"]//_:parameter[@name="value" and not(@direction)]' -type attr -n "direction" -v "out" \
|
||||
@@ -89,19 +89,19 @@ xmlstarlet tr JavaScriptCore-4.0.xsl JavaScriptCore-4.0.gir | xmlstarlet fo > Ja
|
||||
mv JavaScriptCore-4.0.gir.tmp JavaScriptCore-4.0.gir
|
||||
|
||||
# fill in types from JavaScriptCore
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-i '///_:type[not(@name) and @c:type="JSGlobalContextRef"]' -t 'attr' -n 'name' -v "JavaScriptCore.GlobalContextRef" \
|
||||
-i '///_:type[not(@name) and @c:type="JSValueRef"]' -t 'attr' -n 'name' -v "JavaScriptCore.ValueRef" \
|
||||
WebKit2WebExtension-4.0.gir WebKit2-4.0.gir
|
||||
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:constant[@name="DOM_NODE_FILTER_SHOW_ALL"]/_:type/@name' -v "guint" \
|
||||
-u '//_:constant[@name="DOM_NODE_FILTER_SHOW_ALL"]/_:type/@c:type' -v "guint" \
|
||||
WebKit2WebExtension-4.0.gir
|
||||
|
||||
|
||||
# remove freetype and graphite methods; GitHub issue #2557
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-d '///_:function[@c:identifier="hb_graphite2_face_get_gr_face"]' \
|
||||
-d '///_:function[@c:identifier="hb_graphite2_font_get_gr_font"]' \
|
||||
-d '///_:function[@c:identifier="hb_ft_face_create"]' \
|
||||
@@ -115,7 +115,7 @@ xmlstarlet ed -P -L \
|
||||
HarfBuzz-0.0.gir
|
||||
|
||||
# fix harfbuzz types on Pango
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-i '///_:type[not(@name) and @c:type="hb_font_t*"]' -t 'attr' -n 'name' -v "gconstpointer" \
|
||||
-u '//_:type[@c:type="hb_font_t*"]/@c:type' -v "gconstpointer" \
|
||||
-i '///_:array[not(@name) and @c:type="hb_feature_t*"]' -t 'attr' -n 'name' -v "gconstpointer" \
|
||||
@@ -127,12 +127,12 @@ xmlstarlet ed -P -L \
|
||||
Pango-1.0.gir
|
||||
|
||||
# Remove unstable method from focal release
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-d '///_:method[@c:identifier="atk_plug_set_child"]' \
|
||||
Atk-1.0.gir
|
||||
|
||||
# fix non-existant c-types
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-u '//_:class[@name="WaylandDevice"]/_:method[@name="get_wl_keyboard"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
|
||||
-u '//_:class[@name="WaylandDevice"]/_:method[@name="get_wl_pointer"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
|
||||
-u '//_:class[@name="WaylandDevice"]/_:method[@name="get_wl_seat"]//_:type[@name="gpointer"]/@c:type' -v "gpointer" \
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
<record name="Bitmap" c:type="FT_Bitmap"/>
|
||||
<record name="Face" c:type="FT_Face"/>
|
||||
<record name="Library" c:type="FT_Library"/>
|
||||
|
||||
<function name="library_version" c:identifier="FT_Library_Version">
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
|
||||
@@ -3,7 +3,7 @@ set -x -e
|
||||
|
||||
# `///` used as `//` not works in Windows in this case
|
||||
for file in *.gir; do
|
||||
xmlstarlet ed -P -L \
|
||||
xmlstarlet ed -L \
|
||||
-d '//_:doc/@line' \
|
||||
-d '//_:doc/@filename' \
|
||||
-d '///_:source-position' \
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
<record name="Draw" c:type="XftDraw"/>
|
||||
<record name="Font" c:type="XftFont"/>
|
||||
<record name="GlyphSpec" c:type="XftGlyphSpec"/>
|
||||
|
||||
<function name="init" c:identifier="XftInit">
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
@@ -14,6 +13,5 @@
|
||||
<parameters>
|
||||
</parameters>
|
||||
</function>
|
||||
|
||||
</namespace>
|
||||
</repository>
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
<record name="XTrapezoid" c:type="XTrapezoid"/>
|
||||
<record name="XVisualInfo" c:type="XVisualInfo"/>
|
||||
<record name="XWindowAttributes" c:type="XWindowAttributes"/>
|
||||
|
||||
<function name="open_display" c:identifier="XOpenDisplay">
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
@@ -58,6 +57,5 @@
|
||||
<parameters>
|
||||
</parameters>
|
||||
</function>
|
||||
|
||||
</namespace>
|
||||
</repository>
|
||||
|
||||
Reference in New Issue
Block a user