Update gir files.

This commit is contained in:
Tomasz Miąsko
2018-04-28 00:00:00 +00:00
parent 3fde76b3eb
commit 4c5893b879
12 changed files with 3406 additions and 1026 deletions

View File

@@ -543,7 +543,7 @@ A string name/value pair representing a generic attribute.</doc>
</function>
</record>
<constant name="BINARY_AGE"
value="22611"
value="22811"
c:type="ATK_BINARY_AGE"
version="2.7.4">
<doc xml:space="preserve">Like atk_get_binary_age(), but from the headers used at
@@ -4155,7 +4155,7 @@ against at application run time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION"
value="26"
value="28"
c:type="ATK_MINOR_VERSION"
version="2.7.4">
<doc xml:space="preserve">Like atk_get_minor_version(), but from the headers used at
@@ -7671,19 +7671,15 @@ more than one group with the same term name. @Since: ATK-2.12</doc>
value="115"
c:identifier="ATK_ROLE_DESCRIPTION_TERM"
glib:nick="description-term">
<doc xml:space="preserve">An object that represents the term, or
name, part of a term-description group in a description
list. @Since: ATK-2.12</doc>
<doc xml:space="preserve">An object that represents a term or phrase
with a corresponding definition. @Since: ATK-2.12</doc>
</member>
<member name="description_value"
value="116"
c:identifier="ATK_ROLE_DESCRIPTION_VALUE"
glib:nick="description-value">
<doc xml:space="preserve">An object that represents the
description, definition or value of a term-description group in a
description list. The values within a group are alternatives,
meaning that you can have several ATK_ROLE_DESCRIPTION_VALUE for a
given ATK_ROLE_DESCRIPTION_TERM. @Since: ATK-2.12</doc>
description, definition or value of a term. @Since: ATK-2.12</doc>
</member>
<member name="static"
value="117"

View File

@@ -674,7 +674,18 @@ drops to 0, the info is freed.</doc>
glib:get-type="g_irepository_get_type"
glib:type-struct="RepositoryClass">
<doc xml:space="preserve">#GIRepository is used to manage repositories of namespaces. Namespaces
are represented on disk by type libraries (.typelib files).</doc>
are represented on disk by type libraries (.typelib files).
### Discovery of type libraries
#GIRepository will typically look for a `girepository-1.0` directory
under the library directory used when compiling gobject-introspection.
It is possible to control the search paths programmatically, using
g_irepository_prepend_search_path(). It is also possible to modify
the search paths by using the `GI_TYPELIB_PATH` environment variable.
The environment variable takes precedence over the default search path
and the g_irepository_prepend_search_path() calls.</doc>
<function name="dump" c:identifier="g_irepository_dump" throws="1">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
@@ -707,8 +718,7 @@ convenient for C.</doc>
</return-value>
</function>
<function name="get_option_group"
c:identifier="g_irepository_get_option_group"
introspectable="0">
c:identifier="g_irepository_get_option_group">
<doc xml:space="preserve">Obtain the option group for girepository, it's used
by the dumper and for programs that wants to provide
introspection information</doc>
@@ -743,7 +753,8 @@ be freed, nor should its string elements.</doc>
<function name="prepend_search_path"
c:identifier="g_irepository_prepend_search_path">
<doc xml:space="preserve">Prepends @directory to the typelib search path.
See g_irepository_get_search_path().</doc>
See also: g_irepository_get_search_path().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -751,7 +762,7 @@ See g_irepository_get_search_path().</doc>
<parameter name="directory" transfer-ownership="none">
<doc xml:space="preserve">directory name to prepend to the typelib
search path</doc>
<type name="filename" c:type="char*"/>
<type name="filename" c:type="const char*"/>
</parameter>
</parameters>
</function>

File diff suppressed because it is too large Load Diff

View File

@@ -2633,8 +2633,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc>
<function name="new" c:identifier="g_cclosure_new" introspectable="0">
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
the last parameter.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GCClosure</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
<type name="Closure" c:type="GClosure*"/>
</return-value>
<parameters>
@@ -2711,8 +2711,8 @@ after the object is is freed.</doc>
introspectable="0">
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
the first parameter.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GCClosure</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
<type name="Closure" c:type="GClosure*"/>
</return-value>
<parameters>
@@ -2903,8 +2903,8 @@ In the case of C programs, a closure usually just holds a pointer
to a function and maybe a data argument, and the marshaller
converts between #GValue and native C types. The GObject
library provides the #GCClosure type for this purpose. Bindings for
other languages need marshallers which convert between #GValue&lt;!--
--&gt;s and suitable representations in the runtime of the language in
other languages need marshallers which convert between #GValues
and suitable representations in the runtime of the language in
order to use functions written in that languages as callbacks.
Within GObject, closures play an important role in the
@@ -3059,8 +3059,8 @@ MyClosure *my_closure_new (gpointer data)
return my_closure;
}
]|</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly allocated #GClosure</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a floating reference to a new #GClosure</doc>
<type name="Closure" c:type="GClosure*"/>
</return-value>
<parameters>
@@ -4084,7 +4084,9 @@ interface property.
This function is meant to be called from the interface's default
vtable initialization function (the @class_init member of
#GTypeInfo.) It must not be called after after @class_init has
been called for any object types implementing this interface.</doc>
been called for any object types implementing this interface.
If @pspec is a floating reference, it will be consumed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4462,9 +4464,13 @@ g_object_bind_property_with_closures() instead.</doc>
or %NULL</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="notify" transfer-ownership="none" scope="async">
<doc xml:space="preserve">function to be called when disposing the binding, to free the
resources used by the transformation functions</doc>
<parameter name="notify"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async">
<doc xml:space="preserve">a function to call when disposing the binding, to free
resources used by the transformation functions, or %NULL if not required</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
@@ -4781,7 +4787,8 @@ of three properties: an integer, a string and an object:
<method name="get_data" c:identifier="g_object_get_data">
<doc xml:space="preserve">Gets a named field from the objects table of associations (see g_object_set_data()).</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the data if found, or %NULL if no such data exists.</doc>
<doc xml:space="preserve">the data if found,
or %NULL if no such data exists.</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
@@ -4997,7 +5004,12 @@ and then notify a change on the "foo" property with:
</parameters>
</method>
<method name="ref" c:identifier="g_object_ref">
<doc xml:space="preserve">Increases the reference count of @object.</doc>
<doc xml:space="preserve">Increases the reference count of @object.
Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
of @object will be propagated to the return type (using the GCC typeof()
extension), so any casting the caller needs to do on the return type must be
explicit.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the same @object</doc>
<type name="Object" c:type="gpointer"/>
@@ -5017,7 +5029,10 @@ In other words, if the object is floating, then this call "assumes
ownership" of the floating reference, converting it to a normal
reference by clearing the floating flag while leaving the reference
count unchanged. If the object is not floating, then this call
adds a new normal reference increasing the reference count by one.</doc>
adds a new normal reference increasing the reference count by one.
Since GLib 2.56, the type of @object will be propagated to the return type
under the same conditions as for g_object_ref().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">@object</doc>
<type name="Object" c:type="gpointer"/>
@@ -5084,7 +5099,8 @@ to match the one used with g_object_add_weak_pointer().</doc>
</method>
<method name="replace_data"
c:identifier="g_object_replace_data"
version="2.34">
version="2.34"
introspectable="0">
<doc xml:space="preserve">Compares the user data for the key @key on @object with
@oldval, and if they are the same, replaces @oldval with
@newval.
@@ -5095,7 +5111,7 @@ operation, for user data on an object.
If the previous value was replaced then ownership of the
old value (@oldval) is passed to the caller, including
the registered destroy notify for it (passed out in @old_destroy).
Its up to the caller to free this as he wishes, which may
Its up to the caller to free this as needed, which may
or may not include using @old_destroy as sometimes replacement
should not destroy the object in the normal way.</doc>
<return-value transfer-ownership="none">
@@ -5135,8 +5151,10 @@ should not destroy the object in the normal way.</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="old_destroy"
direction="out"
caller-allocates="0"
transfer-ownership="none"
nullable="1"
optional="1"
allow-none="1"
scope="async">
<doc xml:space="preserve">destroy notify for the existing value</doc>
@@ -5146,7 +5164,8 @@ should not destroy the object in the normal way.</doc>
</method>
<method name="replace_qdata"
c:identifier="g_object_replace_qdata"
version="2.34">
version="2.34"
introspectable="0">
<doc xml:space="preserve">Compares the user data for the key @quark on @object with
@oldval, and if they are the same, replaces @oldval with
@newval.
@@ -5157,7 +5176,7 @@ operation, for user data on an object.
If the previous value was replaced then ownership of the
old value (@oldval) is passed to the caller, including
the registered destroy notify for it (passed out in @old_destroy).
Its up to the caller to free this as he wishes, which may
Its up to the caller to free this as needed, which may
or may not include using @old_destroy as sometimes replacement
should not destroy the object in the normal way.</doc>
<return-value transfer-ownership="none">
@@ -5197,8 +5216,10 @@ should not destroy the object in the normal way.</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="old_destroy"
direction="out"
caller-allocates="0"
transfer-ownership="none"
nullable="1"
optional="1"
allow-none="1"
scope="async">
<doc xml:space="preserve">destroy notify for the existing value</doc>
@@ -5300,7 +5321,11 @@ Note that the @destroy callback is not called if @data is %NULL.</doc>
<doc xml:space="preserve">data to associate with that key</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<parameter name="destroy"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async">
<doc xml:space="preserve">function to call when the association is destroyed</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
@@ -5385,7 +5410,11 @@ with the same @quark.</doc>
<doc xml:space="preserve">An opaque user data pointer</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<parameter name="destroy"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async">
<doc xml:space="preserve">Function to invoke with @data as argument, when @data
needs to be freed</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
@@ -5453,7 +5482,8 @@ properties are passed in.</doc>
<doc xml:space="preserve">Remove a specified datum from the object's data associations,
without invoking the association's destroy handler.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">the data if found, or %NULL if no such data exists.</doc>
<doc xml:space="preserve">the data if found, or %NULL
if no such data exists.</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
@@ -5687,9 +5717,8 @@ detail strings for the notify signal.</doc>
glib:is-gtype-struct-for="Object">
<doc xml:space="preserve">The class structure for the GObject type.
&lt;example&gt;
&lt;title&gt;Implementing singletons using a constructor&lt;/title&gt;
&lt;programlisting&gt;
|[&lt;!-- language="C" --&gt;
// Example of implementing a singleton using a constructor.
static MySingleton *the_singleton = NULL;
static GObject*
@@ -5711,7 +5740,7 @@ my_singleton_constructor (GType type,
return object;
}
&lt;/programlisting&gt;&lt;/example&gt;</doc>
]|</doc>
<field name="g_type_class">
<doc xml:space="preserve">the parent class</doc>
<type name="TypeClass" c:type="GTypeClass"/>
@@ -6136,7 +6165,7 @@ a #GObjectClass.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="PARAM_STATIC_STRINGS"
value="0"
value="224"
c:type="G_PARAM_STATIC_STRINGS">
<doc xml:space="preserve">#GParamFlags value alias for %G_PARAM_STATIC_NAME | %G_PARAM_STATIC_NICK | %G_PARAM_STATIC_BLURB.
@@ -6353,7 +6382,7 @@ e.g. a tooltip. The @nick and @blurb should ideally be localized.</doc>
version="2.38">
<doc xml:space="preserve">Gets the default value of @pspec as a pointer to a #GValue.
The #GValue will remain value for the life of @pspec.</doc>
The #GValue will remain valid for the life of @pspec.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a pointer to a #GValue which must not be modified</doc>
<type name="Value" c:type="const GValue*"/>
@@ -8413,12 +8442,18 @@ in the given type plugin. If the interface was already registered
for the type in this plugin, nothing will be done.
As long as any instances of the type exist, the type plugin will
not be unloaded.</doc>
not be unloaded.
Since 2.56 if @module is %NULL this will call g_type_add_interface_static()
instead. This can be used when making a static build of the module.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<instance-parameter name="module"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GTypeModule</doc>
<type name="TypeModule" c:type="GTypeModule*"/>
</instance-parameter>
@@ -8445,13 +8480,19 @@ the #GType identifier for the type is returned, otherwise the type
is newly registered, and the resulting #GType identifier returned.
As long as any instances of the type exist, the type plugin will
not be unloaded.</doc>
not be unloaded.
Since 2.56 if @module is %NULL this will call g_type_register_static()
instead. This can be used when making a static build of the module.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the new or existing type ID</doc>
<type name="GType" c:type="GType"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<instance-parameter name="module"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GTypeModule</doc>
<type name="TypeModule" c:type="GTypeModule*"/>
</instance-parameter>
@@ -8477,13 +8518,19 @@ the #GType identifier for the type is returned, otherwise the type
is newly registered, and the resulting #GType identifier returned.
As long as any instances of the type exist, the type plugin will
not be unloaded.</doc>
not be unloaded.
Since 2.56 if @module is %NULL this will call g_type_register_static()
instead. This can be used when making a static build of the module.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the new or existing type ID</doc>
<type name="GType" c:type="GType"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<instance-parameter name="module"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GTypeModule</doc>
<type name="TypeModule" c:type="GTypeModule*"/>
</instance-parameter>
@@ -8511,13 +8558,19 @@ then reloaded, and reinitialized), @module and @parent_type must
be the same as they were previously.
As long as any instances of the type exist, the type plugin will
not be unloaded.</doc>
not be unloaded.
Since 2.56 if @module is %NULL this will call g_type_register_static()
instead. This can be used when making a static build of the module.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the new or existing type ID</doc>
<type name="GType" c:type="GType"/>
</return-value>
<parameters>
<instance-parameter name="module" transfer-ownership="none">
<instance-parameter name="module"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GTypeModule</doc>
<type name="TypeModule" c:type="GTypeModule*"/>
</instance-parameter>
@@ -9243,10 +9296,11 @@ reference count.</doc>
<method name="dup_variant"
c:identifier="g_value_dup_variant"
version="2.26">
<doc xml:space="preserve">Get the contents of a variant #GValue, increasing its refcount.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">variant contents of @value, should be unrefed using
g_variant_unref() when no longer needed</doc>
<doc xml:space="preserve">Get the contents of a variant #GValue, increasing its refcount. The returned
#GVariant is never floating.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">variant contents of @value (may be %NULL);
should be unreffed using g_variant_unref() when no longer needed</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
@@ -9541,8 +9595,8 @@ Get the contents of a %G_TYPE_CHAR #GValue.</doc>
c:identifier="g_value_get_variant"
version="2.26">
<doc xml:space="preserve">Get the contents of a variant #GValue.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">variant contents of @value</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">variant contents of @value (may be %NULL)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
@@ -10463,6 +10517,7 @@ contents.</doc>
</method>
<method name="free"
c:identifier="g_value_array_free"
introspectable="0"
deprecated="1"
deprecated-version="2.32">
<doc xml:space="preserve">Free a #GValueArray including its contents.</doc>
@@ -10641,7 +10696,9 @@ C qsort() function.</doc>
</record>
<callback name="ValueTransform" c:type="GValueTransform">
<doc xml:space="preserve">The type of value transformation functions which can be registered with
g_value_register_transform_func().</doc>
g_value_register_transform_func().
@dest_value will be initialized to the correct destination type.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -11980,8 +12037,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc>
introspectable="0">
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
the last parameter.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GCClosure</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
<type name="Closure" c:type="GClosure*"/>
</return-value>
<parameters>
@@ -12061,8 +12118,8 @@ after the object is is freed.</doc>
introspectable="0">
<doc xml:space="preserve">Creates a new closure which invokes @callback_func with @user_data as
the first parameter.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GCClosure</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
<type name="Closure" c:type="GClosure*"/>
</return-value>
<parameters>
@@ -14785,8 +14842,8 @@ signal id for you.</doc>
<doc xml:space="preserve">Creates a new closure which invokes the function found at the offset
@struct_offset in the class structure of the interface or classed type
identified by @itype.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GCClosure</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a floating reference to a new #GCClosure</doc>
<type name="Closure" c:type="GClosure*"/>
</return-value>
<parameters>
@@ -15110,7 +15167,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<type name="Value" c:type="GValue*"/>
<type name="Value" c:type="const GValue*"/>
</parameter>
</parameters>
</function>
@@ -15121,7 +15178,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<type name="Value" c:type="GValue*"/>
<type name="Value" c:type="const GValue*"/>
</parameter>
<parameter name="type" transfer-ownership="none">
<type name="GType" c:type="GType"/>

View File

@@ -2108,7 +2108,7 @@ and there aren&#x2019;t other means to get a meaningful #GdkDevice to operate on
<doc xml:space="preserve">Gets the #GdkDisplay associated to @device_manager.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">the #GdkDisplay to which
@device_manager is associated to, or #NULL. This memory is
@device_manager is associated to, or %NULL. This memory is
owned by GDK and must not be freed or unreferenced.</doc>
<type name="Display" c:type="GdkDisplay*"/>
</return-value>
@@ -5223,7 +5223,7 @@ events, so different sequences may be distinguished.</doc>
<member name="tablet_pad_mask" value="33554432" c:identifier="GDK_TABLET_PAD_MASK" glib:nick="tablet-pad-mask">
<doc xml:space="preserve">receive tablet pad events. Since 3.22</doc>
</member>
<member name="all_events_mask" value="16777214" c:identifier="GDK_ALL_EVENTS_MASK" glib:nick="all-events-mask">
<member name="all_events_mask" value="67108862" c:identifier="GDK_ALL_EVENTS_MASK" glib:nick="all-events-mask">
<doc xml:space="preserve">the combination of all the above event masks.</doc>
</member>
</bitfield>
@@ -5707,7 +5707,7 @@ gdk_event_get_source_device() to get the slave device.</doc>
</field>
<field name="phase" writable="1">
<doc xml:space="preserve">the current phase of the gesture</doc>
<type name="TouchpadGesturePhase" c:type="gint8"/>
<type name="gint8" c:type="gint8"/>
</field>
<field name="n_fingers" writable="1">
<doc xml:space="preserve">The number of fingers triggering the pinch</doc>
@@ -5776,7 +5776,7 @@ gdk_event_get_source_device() to get the slave device.</doc>
</field>
<field name="phase" writable="1">
<doc xml:space="preserve">the current phase of the gesture</doc>
<type name="TouchpadGesturePhase" c:type="gint8"/>
<type name="gint8" c:type="gint8"/>
</field>
<field name="n_fingers" writable="1">
<doc xml:space="preserve">The number of fingers triggering the swipe</doc>
@@ -6170,7 +6170,7 @@ gdk_frame_clock_begin_updating().</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">the #GdkFrameTimings for the frame currently
being processed, or even no frame is being processed, for the
previous frame. Before any frames have been procesed, returns
previous frame. Before any frames have been processed, returns
%NULL.</doc>
<type name="FrameTimings" c:type="GdkFrameTimings*"/>
</return-value>
@@ -6254,13 +6254,13 @@ interval after the last presentation time, and later than @base_time.</doc>
<doc xml:space="preserve">base time for determining a presentaton time</doc>
<type name="gint64" c:type="gint64"/>
</parameter>
<parameter name="refresh_interval_return" transfer-ownership="none">
<doc xml:space="preserve">a location to store the determined refresh
interval, or %NULL. A default refresh interval of 1/60th of
a second will be stored if no history is present.</doc>
<parameter name="refresh_interval_return" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve">a location to store the
determined refresh interval, or %NULL. A default refresh interval of
1/60th of a second will be stored if no history is present.</doc>
<type name="gint64" c:type="gint64*"/>
</parameter>
<parameter name="presentation_time_return" transfer-ownership="none">
<parameter name="presentation_time_return" direction="out" caller-allocates="0" transfer-ownership="full">
<doc xml:space="preserve">a location to store the next
candidate presentation time after the given base time.
0 will be will be stored if no history is present.</doc>
@@ -6908,7 +6908,7 @@ OpenGL ES API, extensions, or shaders.</doc>
<type name="Display"/>
</property>
<property name="shared-context" version="3.16" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The #GdkGLContext that this context is sharing data with, or #NULL</doc>
<doc xml:space="preserve">The #GdkGLContext that this context is sharing data with, or %NULL</doc>
<type name="GLContext"/>
</property>
<property name="window" version="3.16" writable="1" construct-only="1" transfer-ownership="none">
@@ -13984,8 +13984,9 @@ to a keyval. This translation has two phases. The first phase is
to determine the effective keyboard group and level for the keyboard
state; the second phase is to look up the keycode/group/level triplet
in the keymap and see what keyval it corresponds to.</doc>
<function name="get_default" c:identifier="gdk_keymap_get_default">
<function name="get_default" c:identifier="gdk_keymap_get_default" deprecated="1" deprecated-version="3.22">
<doc xml:space="preserve">Returns the #GdkKeymap attached to the default display.</doc>
<doc-deprecated xml:space="preserve">Use gdk_keymap_get_for_display() instead</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the #GdkKeymap attached to the default display.</doc>
<type name="Keymap" c:type="GdkKeymap*"/>
@@ -14567,8 +14568,8 @@ be set.</doc>
<class name="Monitor" c:symbol-prefix="monitor" c:type="GdkMonitor" parent="GObject.Object" glib:type-name="GdkMonitor" glib:get-type="gdk_monitor_get_type" glib:type-struct="MonitorClass">
<doc xml:space="preserve">GdkMonitor objects represent the individual outputs that are
associated with a #GdkDisplay. GdkDisplay has APIs to enumerate
monitors with gdk_display_get_monitors() and to find particular
monitors with gdk_display_get_primary_monitor() or
monitors with gdk_display_get_n_monitors() and gdk_display_get_monitor(), and
to find particular monitors with gdk_display_get_primary_monitor() or
gdk_display_get_monitor_at_window().
GdkMonitor was introduced in GTK+ 3.22 and supersedes earlier
@@ -14874,7 +14875,7 @@ using gdk_property_change().</doc>
</enumeration>
<record name="RGBA" c:type="GdkRGBA" glib:type-name="GdkRGBA" glib:get-type="gdk_rgba_get_type" c:symbol-prefix="rgba">
<doc xml:space="preserve">A #GdkRGBA is used to represent a (possibly translucent)
color, in a way that is compatible with cairos notion of color.</doc>
color, in a way that is compatible with cairo&#x2019;s notion of color.</doc>
<field name="red" writable="1">
<doc xml:space="preserve">The intensity of the red channel from 0.0 to 1.0 inclusive</doc>
<type name="gdouble" c:type="gdouble"/>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -884,7 +884,7 @@ secret_collection_search() and secret_collection_search_finish() functions.</doc
DBus object paths. The @attributes should be a table of string keys and
string values.
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.
DBus object paths of the items will be returned. If you would to have
@@ -942,7 +942,7 @@ search and be returned. If the unlock fails, the search does not fail.
If %SECRET_SEARCH_LOAD_SECRETS is set in @flags, then the items will have
their secret values loaded and available via secret_item_get_secret().
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">
@@ -1048,7 +1048,7 @@ This function returns immediately and completes asynchronously.</doc>
throws="1">
<doc xml:space="preserve">Set the label of this collection.
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the change was successful or not</doc>
@@ -1194,7 +1194,7 @@ uses to interact with the actual D-Bus Secret Service.</doc>
introspectable="0"
stability="Unstable"
throws="1">
<doc xml:space="preserve">Finish asynchronous operation to get a new item proxy for an secret
<doc xml:space="preserve">Finish asynchronous operation to get a new item proxy for a secret
item in the secret service.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new item, which should be unreferenced
@@ -1393,7 +1393,7 @@ will be used to handle any prompts that are required.</doc>
</parameters>
</function>
<function name="load_secrets" c:identifier="secret_item_load_secrets">
<doc xml:space="preserve">Load the secret values for an secret items stored in the service.
<doc xml:space="preserve">Load the secret values for a secret item stored in the service.
The @items must all have the same SecretItem::service property.
@@ -1454,7 +1454,7 @@ Items that are locked will not have their secrets loaded.</doc>
<function name="load_secrets_sync"
c:identifier="secret_item_load_secrets_sync"
throws="1">
<doc xml:space="preserve">Load the secret values for an secret items stored in the service.
<doc xml:space="preserve">Load the secret values for a secret item stored in the service.
The @items must all have the same SecretItem::service property.
@@ -1836,7 +1836,7 @@ secret_item_get_secret().</doc>
Each item has a single secret which might be a password or some
other secret binary value.
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the secret item successfully loaded or not</doc>
@@ -1955,7 +1955,7 @@ The @attributes are a mapping of string keys to string values.
Attributes are used to search for items. Attributes are not stored
or transferred securely by the secret service.
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the change was successful or not</doc>
@@ -2054,7 +2054,7 @@ This function returns immediately and completes asynchronously.</doc>
throws="1">
<doc xml:space="preserve">Set the label of this item.
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the change was successful or not</doc>
@@ -2149,7 +2149,7 @@ This function returns immediately and completes asynchronously.</doc>
Each item has a single secret which might be a password or some
other secret binary value.
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the change was successful or not</doc>
@@ -2717,6 +2717,19 @@ to store integer and boolean values as strings.</doc>
removing passwords</doc>
</member>
</bitfield>
<enumeration name="SchemaType" version="0.18.6" c:type="SecretSchemaType">
<doc xml:space="preserve">Different types of schemas for storing secrets, intended for use with
secret_get_schema().</doc>
<member name="note" value="0" c:identifier="SECRET_SCHEMA_TYPE_NOTE">
<doc xml:space="preserve">Personal passwords; see %SECRET_SCHEMA_NOTE</doc>
</member>
<member name="compat_network"
value="1"
c:identifier="SECRET_SCHEMA_TYPE_COMPAT_NETWORK">
<doc xml:space="preserve">Network passwords from older
libgnome-keyring storage; see %SECRET_SCHEMA_COMPAT_NETWORK</doc>
</member>
</enumeration>
<bitfield name="SearchFlags" c:type="SecretSearchFlags">
<doc xml:space="preserve">Various flags to be used with secret_service_search() and secret_service_search_sync().</doc>
<member name="none" value="0" c:identifier="SECRET_SEARCH_NONE">
@@ -3876,7 +3889,7 @@ This will always be either #SecretItem or derived from it.</doc>
c:identifier="secret_service_get_secret_for_dbus_path"
introspectable="0"
stability="Unstable">
<doc xml:space="preserve">Get the secret value for an secret item stored in the service.
<doc xml:space="preserve">Get the secret value for a secret item stored in the service.
The item is represented by its D-Bus object path. If you already have a
#SecretItem proxy object, use use secret_item_get_secret() to more simply
@@ -3950,7 +3963,7 @@ Will return %NULL if the item is locked.</doc>
introspectable="0"
stability="Unstable"
throws="1">
<doc xml:space="preserve">Get the secret value for an secret item stored in the service.
<doc xml:space="preserve">Get the secret value for a secret item stored in the service.
The item is represented by its D-Bus object path. If you already have a
#SecretItem proxy object, use use secret_item_load_secret_sync() to more simply
@@ -3987,7 +4000,7 @@ Will return %NULL if the item is locked.</doc>
c:identifier="secret_service_get_secrets_for_dbus_paths"
introspectable="0"
stability="Unstable">
<doc xml:space="preserve">Get the secret values for an secret items stored in the service.
<doc xml:space="preserve">Get the secret values for a secret item stored in the service.
The items are represented by their D-Bus object paths. If you already have
#SecretItem proxy objects, use use secret_item_load_secrets() to more simply
@@ -4065,7 +4078,7 @@ Items that are locked will not be included the results.</doc>
introspectable="0"
stability="Unstable"
throws="1">
<doc xml:space="preserve">Get the secret values for an secret items stored in the service.
<doc xml:space="preserve">Get the secret values for a secret item stored in the service.
The items are represented by their D-Bus object paths. If you already have
#SecretItem proxy objects, use use secret_item_load_secrets_sync() to more
@@ -5229,7 +5242,7 @@ secret_service_search_finish() functions.</doc>
paths. All collections are searched. The @attributes should be a table of
string keys and string values.
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.
Matching items that are locked or unlocked, have their D-Bus paths placed
@@ -5318,7 +5331,7 @@ values will be loaded for any unlocked items. Loaded item secret values
are available via secret_item_get_secret(). If the load of a secret values
fail, then the
This function may block indefinetely. Use the asynchronous version
This function may block indefinitely. Use the asynchronous version
in user interface threads.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">
@@ -6379,10 +6392,7 @@ the value will be freed.</doc>
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<instance-parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">value to unreference</doc>
<type name="Value" c:type="gpointer"/>
</instance-parameter>
@@ -6450,6 +6460,24 @@ string, an int number, or a gboolean value, as defined in the password
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="get_schema"
c:identifier="secret_get_schema"
version="0.18.6">
<doc xml:space="preserve">Get a secret storage schema of the given @type.
C code may access the schemas (such as %SECRET_SCHEMA_NOTE) directly, but
language bindings cannot, and must use this accessor.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">schema type</doc>
<type name="Schema" c:type="const SecretSchema*"/>
</return-value>
<parameters>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve">type of schema to get</doc>
<type name="SchemaType" c:type="SecretSchemaType"/>
</parameter>
</parameters>
</function>
<function name="password_clear"
c:identifier="secret_password_clear"
shadowed-by="password_clearv"

View File

@@ -6065,7 +6065,7 @@ verification errors on #SoupMessage:tls-certificate.)</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MICRO_VERSION"
value="3"
value="1"
c:type="SOUP_MICRO_VERSION"
version="2.42">
<doc xml:space="preserve">Like soup_get_micro_version(), but from the headers used at
@@ -6074,7 +6074,7 @@ against at application run time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION"
value="60"
value="62"
c:type="SOUP_MINOR_VERSION"
version="2.42">
<doc xml:space="preserve">Like soup_get_minor_version(), but from the headers used at
@@ -12778,6 +12778,80 @@ returning to the main loop.</doc>
</parameter>
</parameters>
</method>
<method name="connect_async"
c:identifier="soup_session_connect_async"
version="2.62">
<doc xml:space="preserve">Start a connection to @uri. The operation can be monitored by providing a @progress_callback
and finishes when the connection is done or an error ocurred.
Call soup_session_connect_finish() to get the #GIOStream to communicate with the server.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="session" transfer-ownership="none">
<doc xml:space="preserve">a #SoupSession</doc>
<type name="Session" c:type="SoupSession*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">a #SoupURI to connect to</doc>
<type name="URI" c:type="SoupURI*"/>
</parameter>
<parameter name="cancellable"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="progress_callback"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async">
<doc xml:space="preserve">a #SoupSessionConnectProgressCallback which
will be called for every network event that occurs during the connection.</doc>
<type name="SessionConnectProgressCallback"
c:type="SoupSessionConnectProgressCallback"/>
</parameter>
<parameter name="callback"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async"
closure="4">
<doc xml:space="preserve">the callback to invoke when the operation finishes</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">data for @progress_callback and @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="connect_finish"
c:identifier="soup_session_connect_finish"
version="2.62"
throws="1">
<doc xml:space="preserve">Gets the #GIOStream created for the connection to communicate with the server.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GIOStream, or %NULL on error.</doc>
<type name="Gio.IOStream" c:type="GIOStream*"/>
</return-value>
<parameters>
<instance-parameter name="session" transfer-ownership="none">
<doc xml:space="preserve">a #SoupSession</doc>
<type name="Session" c:type="SoupSession*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">the #GAsyncResult passed to your callback</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_async_context"
c:identifier="soup_session_get_async_context">
<doc xml:space="preserve">Gets @session's #SoupSession:async-context. This does not add a ref
@@ -14352,6 +14426,36 @@ be called after the message completes or when an unrecoverable error occurs.</do
</callback>
</field>
</record>
<callback name="SessionConnectProgressCallback"
c:type="SoupSessionConnectProgressCallback"
version="2.62">
<doc xml:space="preserve">Prototype for the progress callback passed to soup_session_connect_async().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="session" transfer-ownership="none">
<doc xml:space="preserve">the #SoupSession</doc>
<type name="Session" c:type="SoupSession*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<doc xml:space="preserve">a #GSocketClientEvent</doc>
<type name="Gio.SocketClientEvent" c:type="GSocketClientEvent"/>
</parameter>
<parameter name="connection" transfer-ownership="none">
<doc xml:space="preserve">the current state of the network connection</doc>
<type name="Gio.IOStream" c:type="GIOStream*"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1"
closure="3">
<doc xml:space="preserve">the data passed to soup_session_connect_async().</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<interface name="SessionFeature"
c:symbol-prefix="session_feature"
c:type="SoupSessionFeature"
@@ -18965,8 +19069,7 @@ suffix (.org, .com, .co.uk, etc) or not.
Prior to libsoup 2.46, this function required that @domain be in
UTF-8 if it was an IDN. From 2.46 on, the name can be in either
UTF-8 or ASCII format (and the return value will be in the same
format).</doc>
UTF-8 or ASCII format.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if it is a public domain, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>

View File

@@ -150,12 +150,12 @@ should be copied to the clipboard in.</doc>
(e.g. in version 3.1.4 this is 3).</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MICRO_VERSION" value="2" c:type="VTE_MICRO_VERSION">
<constant name="MICRO_VERSION" value="1" c:type="VTE_MICRO_VERSION">
<doc xml:space="preserve">The micro version number of the VTE library
(e.g. in version 3.1.4 this is 4).</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION" value="50" c:type="VTE_MINOR_VERSION">
<constant name="MINOR_VERSION" value="52" c:type="VTE_MINOR_VERSION">
<doc xml:space="preserve">The minor version number of the VTE library
(e.g. in version 3.1.4 this is 1).</doc>
<type name="gint" c:type="gint"/>
@@ -1274,8 +1274,9 @@ at the keyboard.</doc>
</parameters>
</method>
<method name="get_allow_bold" c:identifier="vte_terminal_get_allow_bold">
<doc xml:space="preserve">Checks whether or not the terminal will attempt to draw bold text by
repainting text with a one-pixel offset.</doc>
<doc xml:space="preserve">Checks whether or not the terminal will attempt to draw bold text,
either by using a bold font variant or by repainting text with a different
offset.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if bolding is enabled, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
@@ -1317,10 +1318,58 @@ repainting text with a one-pixel offset.</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_bold_is_bright"
c:identifier="vte_terminal_get_bold_is_bright"
version="0.52">
<doc xml:space="preserve">Checks whether the SGR 1 attribute also switches to the bright counterpart
of the first 8 palette colors, in addition to making them bold (legacy behavior)
or if SGR 1 only enables bold and leaves the color intact.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if bold also enables bright, %FALSE if not</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cell_height_scale"
c:identifier="vte_terminal_get_cell_height_scale"
version="0.52">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the terminal's cell height scale</doc>
<type name="gdouble" c:type="double"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_cell_width_scale"
c:identifier="vte_terminal_get_cell_width_scale"
version="0.52">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the terminal's cell width scale</doc>
<type name="gdouble" c:type="double"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_char_height"
c:identifier="vte_terminal_get_char_height">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the height of a character cell</doc>
<doc xml:space="preserve">the height of a character cell
Note that this method should rather be called vte_terminal_get_cell_height,
because the return value takes cell-height-scale into account.</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
@@ -1332,7 +1381,10 @@ repainting text with a one-pixel offset.</doc>
</method>
<method name="get_char_width" c:identifier="vte_terminal_get_char_width">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the width of a character cell</doc>
<doc xml:space="preserve">the width of a character cell
Note that this method should rather be called vte_terminal_get_cell_width,
because the return value takes cell-width-scale into account.</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
@@ -1504,7 +1556,9 @@ terminal uses to render text at the default font scale of 1.0.</doc>
</parameters>
</method>
<method name="get_geometry_hints"
c:identifier="vte_terminal_get_geometry_hints">
c:identifier="vte_terminal_get_geometry_hints"
deprecated="1"
deprecated-version="0.52">
<doc xml:space="preserve">Fills in some @hints from @terminal's geometry. The hints
filled are those covered by the %GDK_HINT_RESIZE_INC,
%GDK_HINT_MIN_SIZE and %GDK_HINT_BASE_SIZE flags.
@@ -1634,6 +1688,52 @@ using vte_terminal_set_mouse_autohide().</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_scroll_on_keystroke"
c:identifier="vte_terminal_get_scroll_on_keystroke"
version="0.52">
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether or not the terminal will forcibly scroll to the bottom of
the viewable history when the user presses a key. Modifier keys do not
trigger this behavior.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scroll_on_output"
c:identifier="vte_terminal_get_scroll_on_output"
version="0.52">
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether or not the terminal will forcibly scroll to the bottom of
the viewable history when the new data is received from the child.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_scrollback_lines"
c:identifier="vte_terminal_get_scrollback_lines"
version="0.52">
<return-value transfer-ownership="none">
<doc xml:space="preserve">length of the scrollback buffer used by the terminal.
A negative value means "infinite scrollback".</doc>
<type name="glong" c:type="glong"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_text" c:identifier="vte_terminal_get_text">
<doc xml:space="preserve">Extracts a view of the visible part of the terminal. If @is_selected is not
%NULL, characters will only be read if @is_selected returns %TRUE after being
@@ -1676,6 +1776,21 @@ the character's position, colors, and other characteristics.</doc>
</parameter>
</parameters>
</method>
<method name="get_text_blink_mode"
c:identifier="vte_terminal_get_text_blink_mode"
version="0.52">
<doc xml:space="preserve">Checks whether or not the terminal will allow blinking text.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the blinking setting</doc>
<type name="TextBlinkMode" c:type="VteTextBlinkMode"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_text_include_trailing_spaces"
c:identifier="vte_terminal_get_text_include_trailing_spaces">
<doc xml:space="preserve">Extracts a view of the visible part of the terminal. If @is_selected is not
@@ -2384,6 +2499,68 @@ presses the backspace key.</doc>
</parameter>
</parameters>
</method>
<method name="set_bold_is_bright"
c:identifier="vte_terminal_set_bold_is_bright"
version="0.52">
<doc xml:space="preserve">Sets whether the SGR 1 attribute also switches to the bright counterpart
of the first 8 palette colors, in addition to making them bold (legacy behavior)
or if SGR 1 only enables bold and leaves the color intact.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="bold_is_bright" transfer-ownership="none">
<doc xml:space="preserve">%TRUE if bold should also enable bright</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_cell_height_scale"
c:identifier="vte_terminal_set_cell_height_scale"
version="0.52">
<doc xml:space="preserve">Sets the terminal's cell height scale to @scale.
This can be used to increase the line spacing. (The font's height is not affected.)
Valid values go from 1.0 (default) to 2.0 ("double spacing").</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="scale" transfer-ownership="none">
<doc xml:space="preserve">the cell height scale</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_cell_width_scale"
c:identifier="vte_terminal_set_cell_width_scale"
version="0.52">
<doc xml:space="preserve">Sets the terminal's cell width scale to @scale.
This can be used to increase the letter spacing. (The font's width is not affected.)
Valid values go from 1.0 (default) to 2.0.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="scale" transfer-ownership="none">
<doc xml:space="preserve">the cell width scale</doc>
<type name="gdouble" c:type="double"/>
</parameter>
</parameters>
</method>
<method name="set_cjk_ambiguous_width"
c:identifier="vte_terminal_set_cjk_ambiguous_width">
<doc xml:space="preserve">This setting controls whether ambiguous-width characters are narrow or wide
@@ -2403,6 +2580,27 @@ the width of ambiguous-width characters is fixed.</doc>
</parameter>
</parameters>
</method>
<method name="set_clear_background"
c:identifier="vte_terminal_set_clear_background"
version="0.52">
<doc xml:space="preserve">Sets whether to paint the background with the background colour.
The default is %TRUE.
This function is rarely useful. One use for it is to add a background
image to the terminal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="setting" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_color_background"
c:identifier="vte_terminal_set_color_background">
<doc xml:space="preserve">Sets the background color for text which does not have a specific background
@@ -2730,7 +2928,9 @@ and columns. The font scale is applied to the specified font.</doc>
</parameters>
</method>
<method name="set_geometry_hints_for_window"
c:identifier="vte_terminal_set_geometry_hints_for_window">
c:identifier="vte_terminal_set_geometry_hints_for_window"
deprecated="1"
deprecated-version="0.52">
<doc xml:space="preserve">Sets @terminal as @window's geometry widget. See
gtk_window_set_geometry_hints() for more information.
@@ -2909,6 +3109,24 @@ the attempt succeeds, the widget will resize itself to the proper size.</doc>
</parameter>
</parameters>
</method>
<method name="set_text_blink_mode"
c:identifier="vte_terminal_set_text_blink_mode"
version="0.52">
<doc xml:space="preserve">Controls whether or not the terminal will allow blinking text.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="terminal" transfer-ownership="none">
<doc xml:space="preserve">a #VteTerminal</doc>
<type name="Terminal" c:type="VteTerminal*"/>
</instance-parameter>
<parameter name="text_blink_mode" transfer-ownership="none">
<doc xml:space="preserve">the #VteTextBlinkMode to use</doc>
<type name="TextBlinkMode" c:type="VteTextBlinkMode"/>
</parameter>
</parameters>
</method>
<method name="set_word_char_exceptions"
c:identifier="vte_terminal_set_word_char_exceptions"
version="0.40">
@@ -2956,7 +3174,11 @@ Note that if @terminal has been destroyed before the operation is called,
in the callback besides freeing any resources associated with @user_data,
but taking care not to access the now-destroyed #VteTerminal. Note that
in this case, if spawning was successful, the child process will be aborted
automatically.</doc>
automatically.
Beginning with 0.52, sets PWD to @working_directory in order to preserve symlink components.
The caller should also make sure that symlinks were preserved while constructing the value of @working_directory,
e.g. by using vte_terminal_get_current_directory_uri(), g_get_current_dir() or get_current_dir_name().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -3067,7 +3289,11 @@ to keep some file descriptor open for use in the child process, you need to
use a child setup function that unsets the FD_CLOEXEC flag on that file
descriptor.
See vte_pty_new(), g_spawn_async() and vte_terminal_watch_child() for more information.</doc>
See vte_pty_new(), g_spawn_async() and vte_terminal_watch_child() for more information.
Beginning with 0.52, sets PWD to @working_directory in order to preserve symlink components.
The caller should also make sure that symlinks were preserved while constructing the value of @working_directory,
e.g. by using vte_terminal_get_current_directory_uri(), g_get_current_dir() or get_current_dir_name().</doc>
<doc-deprecated xml:space="preserve">Use vte_terminal_spawn_async() instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE on success, or %FALSE on error with @error filled in</doc>
@@ -3249,6 +3475,29 @@ repainting text with a different offset.</doc>
when the user presses the backspace key.</doc>
<type name="EraseBinding"/>
</property>
<property name="bold-is-bright"
version="0.52"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve">Whether the SGR 1 attribute also switches to the bright counterpart
of the first 8 palette colors, in addition to making them bold (legacy behavior)
or if SGR 1 only enables bold and leaves the color intact.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="cell-height-scale"
version="0.52"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve">Scale factor for the cell height, to increase line spacing. (The font's height is not affected.)</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="cell-width-scale"
version="0.52"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve">Scale factor for the cell width, to increase letter spacing. (The font's width is not affected.)</doc>
<type name="gdouble" c:type="gdouble"/>
</property>
<property name="cjk-ambiguous-width"
writable="1"
transfer-ownership="none">
@@ -3356,6 +3605,13 @@ For terminal types which have an alternate screen buffer, no scrollback is
allowed on the alternate screen buffer.</doc>
<type name="guint" c:type="guint"/>
</property>
<property name="text-blink-mode"
version="0.52"
writable="1"
transfer-ownership="none">
<doc xml:space="preserve">Controls whether or not the terminal will allow blinking text.</doc>
<type name="TextBlinkMode"/>
</property>
<property name="window-title" transfer-ownership="none">
<doc xml:space="preserve">The terminal's title.</doc>
<type name="utf8" c:type="gchar*"/>
@@ -3386,8 +3642,10 @@ terminal.</doc>
</return-value>
</glib:signal>
<glib:signal name="char-size-changed" when="last">
<doc xml:space="preserve">Emitted whenever selection of a new font causes the values of the
%char_width or %char_height fields to change.</doc>
<doc xml:space="preserve">Emitted whenever the cell size changes, e.g. due to a change in
font, font-scale or cell-width/height-scale.
Note that this signal should rather be called "cell-size-changed".</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@@ -4076,6 +4334,38 @@ On failure, @pid is -1 and @error contains the error information.</doc>
</parameter>
</parameters>
</callback>
<enumeration name="TextBlinkMode"
version="0.52"
glib:type-name="VteTextBlinkMode"
glib:get-type="vte_text_blink_mode_get_type"
c:type="VteTextBlinkMode">
<doc xml:space="preserve">An enumerated type which can be used to indicate whether the terminal allows
the text contents to be blinked.</doc>
<member name="never"
value="0"
c:identifier="VTE_TEXT_BLINK_NEVER"
glib:nick="never">
<doc xml:space="preserve">Do not blink the text.</doc>
</member>
<member name="focused"
value="1"
c:identifier="VTE_TEXT_BLINK_FOCUSED"
glib:nick="focused">
<doc xml:space="preserve">Allow blinking text only if the terminal is focused.</doc>
</member>
<member name="unfocused"
value="2"
c:identifier="VTE_TEXT_BLINK_UNFOCUSED"
glib:nick="unfocused">
<doc xml:space="preserve">Allow blinking text only if the terminal is unfocused.</doc>
</member>
<member name="always"
value="3"
c:identifier="VTE_TEXT_BLINK_ALWAYS"
glib:nick="always">
<doc xml:space="preserve">Allow blinking text. This is the default.</doc>
</member>
</enumeration>
<enumeration name="WriteFlags"
glib:type-name="VteWriteFlags"
glib:get-type="vte_write_flags_get_type"

View File

@@ -1990,6 +1990,70 @@ submenu of @item is removed.</doc>
glib:type-name="WebKitCookieManager"
glib:get-type="webkit_cookie_manager_get_type"
glib:type-struct="CookieManagerClass">
<method name="add_cookie"
c:identifier="webkit_cookie_manager_add_cookie"
version="2.20">
<doc xml:space="preserve">Asynchronously add a #SoupCookie to the underlying storage.
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_add_cookie_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="cookie" transfer-ownership="none">
<doc xml:space="preserve">the #SoupCookie to be added</doc>
<type name="Soup.Cookie" c:type="SoupCookie*"/>
</parameter>
<parameter name="cancellable"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async"
closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="add_cookie_finish"
c:identifier="webkit_cookie_manager_add_cookie_finish"
version="2.20"
throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_add_cookie().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the cookie was added or %FALSE in case of error.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="delete_all_cookies"
c:identifier="webkit_cookie_manager_delete_all_cookies"
deprecated="1"
@@ -2006,6 +2070,70 @@ submenu of @item is removed.</doc>
</instance-parameter>
</parameters>
</method>
<method name="delete_cookie"
c:identifier="webkit_cookie_manager_delete_cookie"
version="2.20">
<doc xml:space="preserve">Asynchronously delete a #SoupCookie from the current session.
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_delete_cookie_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="cookie" transfer-ownership="none">
<doc xml:space="preserve">the #SoupCookie to be deleted</doc>
<type name="Soup.Cookie" c:type="SoupCookie*"/>
</parameter>
<parameter name="cancellable"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async"
closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="delete_cookie_finish"
c:identifier="webkit_cookie_manager_delete_cookie_finish"
version="2.20"
throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_delete_cookie().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the cookie was deleted or %FALSE in case of error.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="delete_cookies_for_domain"
c:identifier="webkit_cookie_manager_delete_cookies_for_domain"
deprecated="1"
@@ -2084,6 +2212,75 @@ webkit_cookie_manager_get_accept_policy_finish() to get the result of the operat
</parameter>
</parameters>
</method>
<method name="get_cookies"
c:identifier="webkit_cookie_manager_get_cookies"
version="2.20">
<doc xml:space="preserve">Asynchronously get a list of #SoupCookie from @cookie_manager associated with @uri, which
must be either an HTTP or an HTTPS URL.
When the operation is finished, @callback will be called. You can then call
webkit_cookie_manager_get_cookies_finish() to get the result of the operation.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the URI associated to the cookies to be retrieved</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a #GCancellable or %NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
transfer-ownership="none"
nullable="1"
allow-none="1"
scope="async"
closure="3">
<doc xml:space="preserve">a #GAsyncReadyCallback to call when the request is satisfied</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the data to pass to callback function</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="get_cookies_finish"
c:identifier="webkit_cookie_manager_get_cookies_finish"
version="2.20"
throws="1">
<doc xml:space="preserve">Finish an asynchronous operation started with webkit_cookie_manager_get_cookies().
The return value is a #GSList of #SoupCookie instances which should be released
with g_list_free_full() and soup_cookie_free().</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #GList of #SoupCookie instances.</doc>
<type name="GLib.List" c:type="GList*">
<type name="Soup.Cookie"/>
</type>
</return-value>
<parameters>
<instance-parameter name="cookie_manager" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitCookieManager</doc>
<type name="CookieManager" c:type="WebKitCookieManager*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="get_domains_with_cookies"
c:identifier="webkit_cookie_manager_get_domains_with_cookies"
deprecated="1"
@@ -2919,6 +3116,81 @@ present throughout the selection.</doc>
</instance-parameter>
</parameters>
</method>
<method name="is_copy_available"
c:identifier="webkit_editor_state_is_copy_available"
version="2.20">
<doc xml:space="preserve">Gets whether a copy command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if copy is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_cut_available"
c:identifier="webkit_editor_state_is_cut_available"
version="2.20">
<doc xml:space="preserve">Gets whether a cut command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if cut is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_paste_available"
c:identifier="webkit_editor_state_is_paste_available"
version="2.20">
<doc xml:space="preserve">Gets whether a paste command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if paste is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_redo_available"
c:identifier="webkit_editor_state_is_redo_available"
version="2.20">
<doc xml:space="preserve">Gets whether a redo command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if redo is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_undo_available"
c:identifier="webkit_editor_state_is_undo_available"
version="2.20">
<doc xml:space="preserve">Gets whether an undo command can be issued.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if undo is currently available</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="editor_state" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitEditorState</doc>
<type name="EditorState" c:type="WebKitEditorState*"/>
</instance-parameter>
</parameters>
</method>
<property name="typing-attributes"
version="2.10"
transfer-ownership="none">
@@ -3790,12 +4062,17 @@ webkit_find_controller_search_previous().</doc>
glib:get-type="webkit_form_submission_request_get_type"
glib:type-struct="FormSubmissionRequestClass">
<method name="get_text_fields"
c:identifier="webkit_form_submission_request_get_text_fields">
c:identifier="webkit_form_submission_request_get_text_fields"
deprecated="1"
deprecated-version="2.20.">
<doc xml:space="preserve">Get a #GHashTable with the values of the text fields contained in the form
associated to @request.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GHashTable with the form text fields, or %NULL if the
form doesn't contain text fields.</doc>
associated to @request. Note that fields will be missing if the form
contains multiple text input elements with the same name, so this
function does not reliably return all text fields.</doc>
<doc-deprecated xml:space="preserve">Use webkit_form_submission_request_list_text_fields() instead.</doc-deprecated>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a #GHashTable with the form
text fields, or %NULL if the form doesn't contain text fields.</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer"/>
@@ -3809,6 +4086,51 @@ associated to @request.</doc>
</instance-parameter>
</parameters>
</method>
<method name="list_text_fields"
c:identifier="webkit_form_submission_request_list_text_fields"
version="2.20">
<doc xml:space="preserve">Get lists with the names and values of the text fields contained in
the form associated to @request. Note that names and values may be
%NULL.
If this function returns %FALSE, then both @field_names and
@field_values will be empty.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the form contains text fields, or %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="request" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFormSubmissionRequest</doc>
<type name="FormSubmissionRequest"
c:type="WebKitFormSubmissionRequest*"/>
</instance-parameter>
<parameter name="field_names"
direction="out"
caller-allocates="0"
transfer-ownership="none"
optional="1"
allow-none="1">
<doc xml:space="preserve">
names of the text fields in the form</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="utf8"/>
</array>
</parameter>
<parameter name="field_values"
direction="out"
caller-allocates="0"
transfer-ownership="none"
optional="1"
allow-none="1">
<doc xml:space="preserve">
values of the text fields in the form</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="utf8"/>
</array>
</parameter>
</parameters>
</method>
<method name="submit"
c:identifier="webkit_form_submission_request_submit">
<doc xml:space="preserve">Continue the form submission.</doc>
@@ -4511,13 +4833,13 @@ 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="4" c:type="WEBKIT_MICRO_VERSION">
<constant name="MICRO_VERSION" value="1" c:type="WEBKIT_MICRO_VERSION">
<doc xml:space="preserve">Like webkit_get_micro_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="MINOR_VERSION" value="18" c:type="WEBKIT_MINOR_VERSION">
<constant name="MINOR_VERSION" value="20" c:type="WEBKIT_MINOR_VERSION">
<doc xml:space="preserve">Like webkit_get_minor_version(), but from the headers used at
application compile time, rather than from the library linked
against at application run time.</doc>
@@ -4698,6 +5020,21 @@ the navigation was not started by a mouse event.</doc>
</instance-parameter>
</parameters>
</method>
<method name="is_redirect"
c:identifier="webkit_navigation_action_is_redirect"
version="2.20">
<doc xml:space="preserve">Returns whether the @navigation was redirected.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the original navigation was redirected, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="navigation" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitNavigationAction</doc>
<type name="NavigationAction" c:type="WebKitNavigationAction*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_user_gesture"
c:identifier="webkit_navigation_action_is_user_gesture"
version="2.6">
@@ -7354,6 +7691,42 @@ be manually attached to a #WebKitWebView.</doc>
</parameter>
</parameters>
</constructor>
<function name="font_size_to_pixels"
c:identifier="webkit_settings_font_size_to_pixels"
version="2.20">
<doc xml:space="preserve">Convert @points to the equivalent value in pixels, based on the current
screen DPI. Applications can use this function to convert font size values
in points to font size values in pixels when setting the font size properties
of #WebKitSettings.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the equivalent font size in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="points" transfer-ownership="none">
<doc xml:space="preserve">the font size in points to convert to pixels</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<function name="font_size_to_points"
c:identifier="webkit_settings_font_size_to_points"
version="2.20">
<doc xml:space="preserve">Convert @pixels to the equivalent value in points, based on the current
screen DPI. Applications can use this function to convert font size values
in pixels to font size values in points when getting the font size properties
of #WebKitSettings.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the equivalent font size in points.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="pixels" transfer-ownership="none">
<doc xml:space="preserve">the font size in pixels to convert to points</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<method name="get_allow_file_access_from_file_urls"
c:identifier="webkit_settings_get_allow_file_access_from_file_urls"
version="2.10">
@@ -7455,7 +7828,7 @@ be manually attached to a #WebKitWebView.</doc>
c:identifier="webkit_settings_get_default_font_size">
<doc xml:space="preserve">Gets the #WebKitSettings:default-font-size property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The default font size.</doc>
<doc xml:space="preserve">The default font size, in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
@@ -7469,7 +7842,7 @@ be manually attached to a #WebKitWebView.</doc>
c:identifier="webkit_settings_get_default_monospace_font_size">
<doc xml:space="preserve">Gets the #WebKitSettings:default-monospace-font-size property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Default monospace font size.</doc>
<doc xml:space="preserve">Default monospace font size, in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
@@ -7550,6 +7923,21 @@ be manually attached to a #WebKitWebView.</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_encrypted_media"
c:identifier="webkit_settings_get_enable_encrypted_media"
version="2.20">
<doc xml:space="preserve">Get the #WebKitSettings:enable-encrypted-media property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if EncryptedMedia support is enabled or %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_enable_frame_flattening"
c:identifier="webkit_settings_get_enable_frame_flattening">
<doc xml:space="preserve">Get the #WebKitSettings:enable-frame-flattening property.</doc>
@@ -7972,7 +8360,7 @@ otherwise.</doc>
c:identifier="webkit_settings_get_minimum_font_size">
<doc xml:space="preserve">Gets the #WebKitSettings:minimum-font-size property.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Minimum font size.</doc>
<doc xml:space="preserve">Minimum font size, in pixels.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
@@ -8322,6 +8710,24 @@ otherwise.</doc>
</parameter>
</parameters>
</method>
<method name="set_enable_encrypted_media"
c:identifier="webkit_settings_set_enable_encrypted_media"
version="2.20">
<doc xml:space="preserve">Set the #WebKitSettings:enable-encrypted-media property.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="settings" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitSettings</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">Value to be set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_enable_frame_flattening"
c:identifier="webkit_settings_set_enable_frame_flattening">
<doc xml:space="preserve">Set the #WebKitSettings:enable-frame-flattening property.</doc>
@@ -8836,7 +9242,7 @@ otherwise.</doc>
<type name="Settings" c:type="WebKitSettings*"/>
</instance-parameter>
<parameter name="font_size" transfer-ownership="none">
<doc xml:space="preserve">minimum font size to be set in points</doc>
<doc xml:space="preserve">minimum font size to be set in pixels</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
@@ -9117,6 +9523,19 @@ using hardware accelerated drawing operations.</doc>
to resolve domain names before a user tries to follow a link.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-encrypted-media"
version="2.20"
writable="1"
construct="1"
transfer-ownership="none">
<doc xml:space="preserve">Enable or disable support for Encrypted Media API on pages.
EncryptedMedia is an experimental JavaScript API for playing encrypted media in HTML.
This property will only work as intended if the EncryptedMedia feature is enabled at build time
with the ENABLE_ENCRYPTED_MEDIA flag.
See https://www.w3.org/TR/encrypted-media/</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="enable-frame-flattening"
writable="1"
construct="1"
@@ -9413,7 +9832,7 @@ load the media.</doc>
writable="1"
construct="1"
transfer-ownership="none">
<doc xml:space="preserve">The minimum font size in points used to display text. This setting
<doc xml:space="preserve">The minimum font size in pixels used to display text. This setting
controls the absolute smallest size. Values other than 0 can
potentially break page layouts.</doc>
<type name="guint" c:type="guint"/>
@@ -11963,6 +12382,25 @@ signal and simply return %TRUE</doc>
c:type="WebKitWebInspectorPrivate"
disguised="1">
</record>
<enumeration name="WebProcessTerminationReason"
version="2.20"
glib:type-name="WebKitWebProcessTerminationReason"
glib:get-type="webkit_web_process_termination_reason_get_type"
c:type="WebKitWebProcessTerminationReason">
<doc xml:space="preserve">Enum values used to specify the reason why the web process terminated abnormally.</doc>
<member name="crashed"
value="0"
c:identifier="WEBKIT_WEB_PROCESS_CRASHED"
glib:nick="crashed">
<doc xml:space="preserve">the web process crashed.</doc>
</member>
<member name="exceeded_memory_limit"
value="1"
c:identifier="WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT"
glib:nick="exceeded-memory-limit">
<doc xml:space="preserve">the web process exceeded the memory limit.</doc>
</member>
</enumeration>
<class name="WebResource"
c:symbol-prefix="web_resource"
c:type="WebKitWebResource"
@@ -12658,6 +13096,20 @@ in the view by the user content manager.</doc>
</instance-parameter>
</parameters>
</virtual-method>
<virtual-method name="web_process_terminated">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</instance-parameter>
<parameter name="reason" transfer-ownership="none">
<type name="WebProcessTerminationReason"
c:type="WebKitWebProcessTerminationReason"/>
</parameter>
</parameters>
</virtual-method>
<method name="can_execute_editing_command"
c:identifier="webkit_web_view_can_execute_editing_command">
<doc xml:space="preserve">Asynchronously check if it is possible to execute the given editing command.
@@ -14904,14 +15356,31 @@ form has not been submitted, webkit_form_submission_request_submit() will be cal
</parameter>
</parameters>
</glib:signal>
<glib:signal name="web-process-crashed" when="last">
<glib:signal name="web-process-crashed"
when="last"
deprecated="1"
deprecated-version="2.20">
<doc xml:space="preserve">This signal is emitted when the web process crashes.</doc>
<doc-deprecated xml:space="preserve">Use WebKitWebView::web-process-terminated instead.</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE to stop other handlers from being invoked for the event.
%FALSE to propagate the event further.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</glib:signal>
<glib:signal name="web-process-terminated" when="last" version="2.20">
<doc xml:space="preserve">This signal is emitted when the web process terminates abnormally due
to @reason.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="reason" transfer-ownership="none">
<doc xml:space="preserve">the a #WebKitWebProcessTerminationReason</doc>
<type name="WebProcessTerminationReason"/>
</parameter>
</parameters>
</glib:signal>
</class>
<class name="WebViewBase"
c:symbol-prefix="web_view_base"
@@ -15366,6 +15835,22 @@ form has not been submitted, webkit_form_submission_request_submit() will be cal
</parameters>
</callback>
</field>
<field name="web_process_terminated">
<callback name="web_process_terminated">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="web_view" transfer-ownership="none">
<type name="WebView" c:type="WebKitWebView*"/>
</parameter>
<parameter name="reason" transfer-ownership="none">
<type name="WebProcessTerminationReason"
c:type="WebKitWebProcessTerminationReason"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_webkit_reserved0" introspectable="0">
<callback name="_webkit_reserved0">
<return-value transfer-ownership="none">
@@ -15380,13 +15865,6 @@ form has not been submitted, webkit_form_submission_request_submit() will be cal
</return-value>
</callback>
</field>
<field name="_webkit_reserved2" introspectable="0">
<callback name="_webkit_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="WebViewPrivate" c:type="WebKitWebViewPrivate" disguised="1">
</record>

View File

@@ -130,61 +130,75 @@ and/or use gtk-doc annotations. -->
</record>
<enumeration name="ConsoleMessageLevel"
version="2.12"
glib:type-name="WebKitConsoleMessageLevel"
glib:get-type="webkit_console_message_level_get_type"
c:type="WebKitConsoleMessageLevel">
<doc xml:space="preserve">Enum values used to denote the various levels of console messages.</doc>
<member name="info"
value="0"
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_INFO">
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_INFO"
glib:nick="info">
<doc xml:space="preserve">Information message.</doc>
</member>
<member name="log"
value="1"
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_LOG">
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_LOG"
glib:nick="log">
<doc xml:space="preserve">Log message.</doc>
</member>
<member name="warning"
value="2"
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_WARNING">
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_WARNING"
glib:nick="warning">
<doc xml:space="preserve">Warning message.</doc>
</member>
<member name="error"
value="3"
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_ERROR">
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_ERROR"
glib:nick="error">
<doc xml:space="preserve">Error message.</doc>
</member>
<member name="debug"
value="4"
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_DEBUG">
c:identifier="WEBKIT_CONSOLE_MESSAGE_LEVEL_DEBUG"
glib:nick="debug">
<doc xml:space="preserve">Debug message.</doc>
</member>
</enumeration>
<enumeration name="ConsoleMessageSource"
version="2.12"
glib:type-name="WebKitConsoleMessageSource"
glib:get-type="webkit_console_message_source_get_type"
c:type="WebKitConsoleMessageSource">
<doc xml:space="preserve">Enum values used to denote the various sources of console messages.</doc>
<member name="javascript"
value="0"
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_JAVASCRIPT">
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_JAVASCRIPT"
glib:nick="javascript">
<doc xml:space="preserve">Message produced by JavaScript.</doc>
</member>
<member name="network"
value="1"
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_NETWORK">
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_NETWORK"
glib:nick="network">
<doc xml:space="preserve">Network messages.</doc>
</member>
<member name="console_api"
value="2"
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_CONSOLE_API">
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_CONSOLE_API"
glib:nick="console-api">
<doc xml:space="preserve">Messages produced by console API.</doc>
</member>
<member name="security"
value="3"
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_SECURITY">
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_SECURITY"
glib:nick="security">
<doc xml:space="preserve">Security messages.</doc>
</member>
<member name="other"
value="4"
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_OTHER">
c:identifier="WEBKIT_CONSOLE_MESSAGE_SOURCE_OTHER"
glib:nick="other">
<doc xml:space="preserve">Other messages.</doc>
</member>
</enumeration>
@@ -2089,7 +2103,7 @@ submenu of @item is removed.</doc>
c:identifier="webkit_dom_client_rect_list_item"
version="2.18">
<doc xml:space="preserve">Returns the #WebKitDOMClientRect object that @self contains at @index.</doc>
<return-value transfer-ownership="none">
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #WebKitDOMClientRect</doc>
<type name="DOMClientRect" c:type="WebKitDOMClientRect*"/>
</return-value>
@@ -6686,9 +6700,11 @@ the size and position of a CSS border box relative to the viewport.</doc>
</method>
<method name="get_webkit_region_overset"
c:identifier="webkit_dom_element_get_webkit_region_overset"
version="2.16">
deprecated="1"
deprecated-version="2.20">
<doc xml:space="preserve">CSS Regions support has been removed. This function does nothing.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #gchar</doc>
<doc xml:space="preserve">%NULL</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
@@ -24403,6 +24419,28 @@ not be skipped.</doc>
c:type="WEBKIT_DOM_XPATH_RESULT_UNORDERED_NODE_SNAPSHOT_TYPE">
<type name="gint" c:type="gint"/>
</constant>
<enumeration name="FormSubmissionStep"
version="2.20"
glib:type-name="WebKitFormSubmissionStep"
glib:get-type="webkit_form_submission_step_get_type"
c:type="WebKitFormSubmissionStep">
<doc xml:space="preserve">Used to indicate a particular stage in form submission. See
#WebKitWebPage::will-submit-form.</doc>
<member name="send_dom_event"
value="0"
c:identifier="WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT"
glib:nick="send-dom-event">
<doc xml:space="preserve">indicates the form's
DOM submit event is about to be emitted.</doc>
</member>
<member name="complete"
value="1"
c:identifier="WEBKIT_FORM_SUBMISSION_WILL_COMPLETE"
glib:nick="complete">
<doc xml:space="preserve">indicates the form is about
to be submitted.</doc>
</member>
</enumeration>
<class name="Frame"
c:symbol-prefix="frame"
c:type="WebKitFrame"
@@ -25624,6 +25662,73 @@ received by the server for the initial request.</doc>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="will-submit-form" when="last" version="2.20">
<doc xml:space="preserve">This signal is emitted to indicate various points during form
submission. @step indicates the current stage of form submission.
If this signal is emitted with %WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT,
then the DOM submit event is about to be emitted. JavaScript code
may rely on the submit event to detect that the user has clicked
on a submit button, and to possibly cancel the form submission
before %WEBKIT_FORM_SUBMISSION_WILL_COMPLETE. However, beware
that, for historical reasons, the submit event is not emitted at
all if the form submission is triggered by JavaScript. For these
reasons, %WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT may not
be used to reliably detect whether a form will be submitted.
Instead, use it to detect if a user has clicked on a form's
submit button even if JavaScript later cancels the form
submission, or to read the values of the form's fields even if
JavaScript later clears certain fields before submitting. This
may be needed, for example, to implement a robust browser
password manager, as some misguided websites may use such
techniques to attempt to thwart password managers.
If this signal is emitted with %WEBKIT_FORM_SUBMISSION_WILL_COMPLETE,
the form will imminently be submitted. It can no longer be
cancelled. This event always occurs immediately before a form is
submitted to its target, so use this event to reliably detect
when a form is submitted. This event occurs after
%WEBKIT_FORM_SUBMISSION_WILL_SEND_DOM_EVENT if that event is
emitted.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="form" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitDOMElement to be submitted, which will always correspond to an HTMLFormElement</doc>
<type name="DOMElement"/>
</parameter>
<parameter name="step" transfer-ownership="none">
<doc xml:space="preserve">a #WebKitFormSubmissionEventType indicating the current
stage of form submission</doc>
<type name="FormSubmissionStep"/>
</parameter>
<parameter name="source_frame" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFrame containing the form to be
submitted</doc>
<type name="Frame"/>
</parameter>
<parameter name="target_frame" transfer-ownership="none">
<doc xml:space="preserve">the #WebKitFrame containing the form's target,
which may be the same as @source_frame if no target was specified</doc>
<type name="Frame"/>
</parameter>
<parameter name="text_field_names" transfer-ownership="none">
<doc xml:space="preserve">names of
the form's text fields</doc>
<array name="GLib.PtrArray">
<type name="utf8"/>
</array>
</parameter>
<parameter name="text_field_values" transfer-ownership="none">
<doc xml:space="preserve">values
of the form's text fields</doc>
<array name="GLib.PtrArray">
<type name="utf8"/>
</array>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="WebPageClass"
c:type="WebKitWebPageClass"