Skip to content

Commit 5c1e490

Browse files
Update GIR files
1 parent 4453f29 commit 5c1e490

File tree

3 files changed

+184
-13
lines changed

3 files changed

+184
-13
lines changed

Gio-2.0.gir

Lines changed: 92 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4998,7 +4998,7 @@ The application must be registered before calling this function.</doc>
49984998
</virtual-method>
49994999
<virtual-method name="add_platform_data">
50005000
<doc xml:space="preserve">invoked (locally) to add 'platform data' to be sent to
5001-
the primary instance when activating, opening or invoking actions</doc>
5001+
the primary instance when activating, opening or invoking actions. Must chain up</doc>
50025002
<return-value transfer-ownership="none">
50035003
<type name="none" c:type="void"/>
50045004
</return-value>
@@ -5014,7 +5014,7 @@ The application must be registered before calling this function.</doc>
50145014
<virtual-method name="after_emit">
50155015
<doc xml:space="preserve">invoked on the primary instance after 'activate', 'open',
50165016
'command-line' or any action invocation, gets the 'platform data' from
5017-
the calling instance</doc>
5017+
the calling instance. Must chain up</doc>
50185018
<return-value transfer-ownership="none">
50195019
<type name="none" c:type="void"/>
50205020
</return-value>
@@ -5030,7 +5030,7 @@ The application must be registered before calling this function.</doc>
50305030
<virtual-method name="before_emit">
50315031
<doc xml:space="preserve">invoked on the primary instance before 'activate', 'open',
50325032
'command-line' or any action invocation, gets the 'platform data' from
5033-
the calling instance</doc>
5033+
the calling instance. Must chain up</doc>
50345034
<return-value transfer-ownership="none">
50355035
<type name="none" c:type="void"/>
50365036
</return-value>
@@ -6525,7 +6525,7 @@ after registration. See g_application_register().</doc>
65256525
<field name="before_emit">
65266526
<doc xml:space="preserve">invoked on the primary instance before 'activate', 'open',
65276527
'command-line' or any action invocation, gets the 'platform data' from
6528-
the calling instance</doc>
6528+
the calling instance. Must chain up</doc>
65296529
<callback name="before_emit">
65306530
<return-value transfer-ownership="none">
65316531
<type name="none" c:type="void"/>
@@ -6543,7 +6543,7 @@ after registration. See g_application_register().</doc>
65436543
<field name="after_emit">
65446544
<doc xml:space="preserve">invoked on the primary instance after 'activate', 'open',
65456545
'command-line' or any action invocation, gets the 'platform data' from
6546-
the calling instance</doc>
6546+
the calling instance. Must chain up</doc>
65476547
<callback name="after_emit">
65486548
<return-value transfer-ownership="none">
65496549
<type name="none" c:type="void"/>
@@ -6560,7 +6560,7 @@ after registration. See g_application_register().</doc>
65606560
</field>
65616561
<field name="add_platform_data">
65626562
<doc xml:space="preserve">invoked (locally) to add 'platform data' to be sent to
6563-
the primary instance when activating, opening or invoking actions</doc>
6563+
the primary instance when activating, opening or invoking actions. Must chain up</doc>
65646564
<callback name="add_platform_data">
65656565
<return-value transfer-ownership="none">
65666566
<type name="none" c:type="void"/>
@@ -46894,8 +46894,43 @@ for @family.
4689446894
</parameter>
4689546895
</parameters>
4689646896
</constructor>
46897+
<constructor name="new_from_bytes_with_ipv6_info" c:identifier="g_inet_address_new_from_bytes_with_ipv6_info" version="2.86">
46898+
<doc xml:space="preserve">Creates a new [[email protected]] from the given @family, @bytes
46899+
and @scope_id.
46900+
46901+
@bytes must be 4 bytes for [[email protected]] and 16 bytes for
46902+
46903+
<return-value transfer-ownership="full">
46904+
<doc xml:space="preserve">a new internet address corresponding to
46905+
@family, @bytes and @scope_id</doc>
46906+
<type name="InetAddress" c:type="GInetAddress*"/>
46907+
</return-value>
46908+
<parameters>
46909+
<parameter name="bytes" transfer-ownership="none">
46910+
<doc xml:space="preserve">raw address data</doc>
46911+
<array zero-terminated="0" c:type="const guint8*">
46912+
<type name="guint8"/>
46913+
</array>
46914+
</parameter>
46915+
<parameter name="family" transfer-ownership="none">
46916+
<doc xml:space="preserve">the address family of @bytes</doc>
46917+
<type name="SocketFamily" c:type="GSocketFamily"/>
46918+
</parameter>
46919+
<parameter name="flowinfo" transfer-ownership="none">
46920+
<type name="guint32" c:type="guint32"/>
46921+
</parameter>
46922+
<parameter name="scope_id" transfer-ownership="none">
46923+
<doc xml:space="preserve">the scope-id of the address</doc>
46924+
<type name="guint32" c:type="guint32"/>
46925+
</parameter>
46926+
</parameters>
46927+
</constructor>
4689746928
<constructor name="new_from_string" c:identifier="g_inet_address_new_from_string" version="2.22">
46898-
<doc xml:space="preserve">Parses @string as an IP address and creates a new #GInetAddress.</doc>
46929+
<doc xml:space="preserve">Parses @string as an IP address and creates a new #GInetAddress.
46930+
46931+
If @address is an IPv6 address, it can also contain a scope ID
46932+
(separated from the address by a `%`). Note that currently this
46933+
behavior is platform specific. This may change in a future release.</doc>
4689946934
<return-value transfer-ownership="full" nullable="1">
4690046935
<doc xml:space="preserve">a new #GInetAddress corresponding
4690146936
to @string, or %NULL if @string could not be parsed.
@@ -46983,6 +47018,19 @@ freed after use.</doc>
4698347018
</instance-parameter>
4698447019
</parameters>
4698547020
</method>
47021+
<method name="get_flowinfo" c:identifier="g_inet_address_get_flowinfo" glib:get-property="flowinfo" version="2.86">
47022+
<doc xml:space="preserve">Gets the value of [[email protected]:flowinfo].</doc>
47023+
<return-value transfer-ownership="none">
47024+
<doc xml:space="preserve">The flowinfo for the address, `0` if unset or not IPv6 address.</doc>
47025+
<type name="guint32" c:type="guint32"/>
47026+
</return-value>
47027+
<parameters>
47028+
<instance-parameter name="address" transfer-ownership="none">
47029+
<doc xml:space="preserve">a #GInetAddress</doc>
47030+
<type name="InetAddress" c:type="GInetAddress*"/>
47031+
</instance-parameter>
47032+
</parameters>
47033+
</method>
4698647034
<method name="get_is_any" c:identifier="g_inet_address_get_is_any" glib:get-property="is-any" version="2.22">
4698747035
<doc xml:space="preserve">Tests whether @address is the "any" address for its family.</doc>
4698847036
<return-value transfer-ownership="none">
@@ -47132,6 +47180,19 @@ is the size of the data that you get from g_inet_address_to_bytes().</doc>
4713247180
</instance-parameter>
4713347181
</parameters>
4713447182
</method>
47183+
<method name="get_scope_id" c:identifier="g_inet_address_get_scope_id" glib:get-property="scope-id" version="2.86">
47184+
<doc xml:space="preserve">Gets the value of [[email protected]:scope-id].</doc>
47185+
<return-value transfer-ownership="none">
47186+
<doc xml:space="preserve">The scope-id for the address, `0` if unset or not IPv6 address.</doc>
47187+
<type name="guint32" c:type="guint32"/>
47188+
</return-value>
47189+
<parameters>
47190+
<instance-parameter name="address" transfer-ownership="none">
47191+
<doc xml:space="preserve">a #GInetAddress</doc>
47192+
<type name="InetAddress" c:type="GInetAddress*"/>
47193+
</instance-parameter>
47194+
</parameters>
47195+
</method>
4713547196
<method name="to_bytes" c:identifier="g_inet_address_to_bytes" version="2.22" introspectable="0">
4713647197
<doc xml:space="preserve">Gets the raw binary address data from @address.</doc>
4713747198
<return-value transfer-ownership="none">
@@ -47169,6 +47230,11 @@ freed after use.</doc>
4716947230
<doc xml:space="preserve">The address family (IPv4 or IPv6).</doc>
4717047231
<type name="SocketFamily"/>
4717147232
</property>
47233+
<property name="flowinfo" version="2.86" writable="1" construct-only="1" transfer-ownership="none" getter="get_flowinfo" default-value="0">
47234+
<doc xml:space="preserve">The flowinfo for an IPv6 address.
47235+
See [[email protected]_flowinfo].</doc>
47236+
<type name="guint" c:type="guint"/>
47237+
</property>
4717247238
<property name="is-any" version="2.22" transfer-ownership="none" getter="get_is_any" default-value="FALSE">
4717347239
<doc xml:space="preserve">Whether this is the "any" address for its family.
4717447240
See g_inet_address_get_is_any().</doc>
@@ -47219,6 +47285,11 @@ See g_inet_address_get_is_multicast().</doc>
4721947285
See g_inet_address_get_is_loopback().</doc>
4722047286
<type name="gboolean" c:type="gboolean"/>
4722147287
</property>
47288+
<property name="scope-id" version="2.86" writable="1" construct-only="1" transfer-ownership="none" getter="get_scope_id" default-value="0">
47289+
<doc xml:space="preserve">The scope-id for an IPv6 address.
47290+
See [[email protected]_scope_id].</doc>
47291+
<type name="guint" c:type="guint"/>
47292+
</property>
4722247293
<field name="parent_instance">
4722347294
<type name="GObject.Object" c:type="GObject"/>
4722447295
</field>
@@ -47444,7 +47515,8 @@ In UNIX terms, `GInetSocketAddress` corresponds to a
4744447515
<doc xml:space="preserve">Creates a new #GInetSocketAddress for @address and @port.
4744547516

4744647517
If @address is an IPv6 address, it can also contain a scope ID
47447-
(separated from the address by a `%`).</doc>
47518+
(separated from the address by a `%`). Note that currently this
47519+
behavior is platform specific. This may change in a future release.</doc>
4744847520
<return-value transfer-ownership="full" nullable="1">
4744947521
<doc xml:space="preserve">a new #GInetSocketAddress,
4745047522
or %NULL if @address cannot be parsed.</doc>
@@ -47477,7 +47549,9 @@ g_object_ref()'d if it will be stored</doc>
4747747549
</method>
4747847550
<method name="get_flowinfo" c:identifier="g_inet_socket_address_get_flowinfo" glib:get-property="flowinfo" version="2.32">
4747947551
<doc xml:space="preserve">Gets the `sin6_flowinfo` field from @address,
47480-
which must be an IPv6 address.</doc>
47552+
which must be an IPv6 address.
47553+
47554+
If not overridden this value will be inherited from [[email protected]:address].</doc>
4748147555
<return-value transfer-ownership="none">
4748247556
<doc xml:space="preserve">the flowinfo field</doc>
4748347557
<type name="guint32" c:type="guint32"/>
@@ -47504,7 +47578,9 @@ which must be an IPv6 address.</doc>
4750447578
</method>
4750547579
<method name="get_scope_id" c:identifier="g_inet_socket_address_get_scope_id" glib:get-property="scope-id" version="2.32">
4750647580
<doc xml:space="preserve">Gets the `sin6_scope_id` field from @address,
47507-
which must be an IPv6 address.</doc>
47581+
which must be an IPv6 address.
47582+
47583+
If not overridden this value will be inherited from [[email protected]:address].</doc>
4750847584
<return-value transfer-ownership="none">
4750947585
<doc xml:space="preserve">the scope id field</doc>
4751047586
<type name="guint32" c:type="guint32"/>
@@ -47521,15 +47597,19 @@ which must be an IPv6 address.</doc>
4752147597
<type name="InetAddress"/>
4752247598
</property>
4752347599
<property name="flowinfo" version="2.32" writable="1" construct-only="1" transfer-ownership="none" getter="get_flowinfo" default-value="0">
47524-
<doc xml:space="preserve">The `sin6_flowinfo` field, for IPv6 addresses.</doc>
47600+
<doc xml:space="preserve">The `sin6_flowinfo` field, for IPv6 addresses.
47601+
47602+
If unset this property is inherited from [[email protected]:address].</doc>
4752547603
<type name="guint" c:type="guint"/>
4752647604
</property>
4752747605
<property name="port" version="2.22" writable="1" construct-only="1" transfer-ownership="none" getter="get_port" default-value="0">
4752847606
<doc xml:space="preserve">The port.</doc>
4752947607
<type name="guint" c:type="guint"/>
4753047608
</property>
4753147609
<property name="scope-id" version="2.32" writable="1" construct-only="1" transfer-ownership="none" getter="get_scope_id" default-value="0">
47532-
<doc xml:space="preserve">The `sin6_scope_id` field, for IPv6 addresses.</doc>
47610+
<doc xml:space="preserve">The `sin6_scope_id` field, for IPv6 addresses.
47611+
47612+
If unset this property is inherited from [[email protected]:address].</doc>
4753347613
<type name="guint" c:type="guint"/>
4753447614
</property>
4753547615
<field name="parent_instance">

Gsk-4.0.gir

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2438,6 +2438,45 @@ This function serves two purposes:
24382438
</parameter>
24392439
</parameters>
24402440
</method>
2441+
<method name="foreach_intersection" c:identifier="gsk_path_foreach_intersection" version="4.20">
2442+
<doc xml:space="preserve">Finds intersections between two paths.
2443+
2444+
This function finds intersections between @path1 and @path2,
2445+
and calls @func for each of them, in increasing order for @path1.
2446+
2447+
If @path2 is not provided or equal to @path1, the function finds
2448+
non-trivial self-intersections of @path1.
2449+
2450+
When segments of the paths coincide, the callback is called once
2451+
for the start of the segment, with @GSK_PATH_INTERSECTION_START, and
2452+
once for the end of the segment, with @GSK_PATH_INTERSECTION_END.
2453+
Note that other intersections may occur between the start and end
2454+
of such a segment.
2455+
2456+
If @func returns `FALSE`, the iteration is stopped.</doc>
2457+
<return-value transfer-ownership="none">
2458+
<doc xml:space="preserve">`FALSE` if @func returned FALSE`, `TRUE` otherwise.</doc>
2459+
<type name="gboolean" c:type="gboolean"/>
2460+
</return-value>
2461+
<parameters>
2462+
<instance-parameter name="path1" transfer-ownership="none">
2463+
<doc xml:space="preserve">the first path</doc>
2464+
<type name="Path" c:type="GskPath*"/>
2465+
</instance-parameter>
2466+
<parameter name="path2" transfer-ownership="none" nullable="1" allow-none="1">
2467+
<doc xml:space="preserve">the second path</doc>
2468+
<type name="Path" c:type="GskPath*"/>
2469+
</parameter>
2470+
<parameter name="func" transfer-ownership="none" scope="call" closure="2">
2471+
<doc xml:space="preserve">the function to call for intersections</doc>
2472+
<type name="PathIntersectionFunc" c:type="GskPathIntersectionFunc"/>
2473+
</parameter>
2474+
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1">
2475+
<doc xml:space="preserve">user data passed to @func</doc>
2476+
<type name="gpointer" c:type="gpointer"/>
2477+
</parameter>
2478+
</parameters>
2479+
</method>
24412480
<method name="get_bounds" c:identifier="gsk_path_get_bounds" version="4.14">
24422481
<doc xml:space="preserve">Computes the bounds of the given path.
24432482

@@ -3726,6 +3765,58 @@ Closed contours end with a @GSK_PATH_CLOSE operation.</doc>
37263765
</parameter>
37273766
</parameters>
37283767
</callback>
3768+
<enumeration name="PathIntersection" version="4.20" glib:type-name="GskPathIntersection" glib:get-type="gsk_path_intersection_get_type" c:type="GskPathIntersection">
3769+
<doc xml:space="preserve">The values of this enumeration classify intersections
3770+
between paths.</doc>
3771+
<member name="none" value="0" c:identifier="GSK_PATH_INTERSECTION_NONE" glib:nick="none" glib:name="GSK_PATH_INTERSECTION_NONE">
3772+
<doc xml:space="preserve">No intersection</doc>
3773+
</member>
3774+
<member name="normal" value="1" c:identifier="GSK_PATH_INTERSECTION_NORMAL" glib:nick="normal" glib:name="GSK_PATH_INTERSECTION_NORMAL">
3775+
<doc xml:space="preserve">A normal intersection, where the two paths
3776+
cross each other</doc>
3777+
</member>
3778+
<member name="start" value="2" c:identifier="GSK_PATH_INTERSECTION_START" glib:nick="start" glib:name="GSK_PATH_INTERSECTION_START">
3779+
<doc xml:space="preserve">The start of a segment where the two paths coincide</doc>
3780+
</member>
3781+
<member name="end" value="3" c:identifier="GSK_PATH_INTERSECTION_END" glib:nick="end" glib:name="GSK_PATH_INTERSECTION_END">
3782+
<doc xml:space="preserve">The end of a segment where the two paths coincide</doc>
3783+
</member>
3784+
</enumeration>
3785+
<callback name="PathIntersectionFunc" c:type="GskPathIntersectionFunc" version="4.20">
3786+
<doc xml:space="preserve">Prototype of the callback to iterate through the
3787+
intersections of two paths.</doc>
3788+
<return-value transfer-ownership="none">
3789+
<doc xml:space="preserve">true to continue iterating, false to
3790+
stop the iteration and not call the function again</doc>
3791+
<type name="gboolean" c:type="gboolean"/>
3792+
</return-value>
3793+
<parameters>
3794+
<parameter name="path1" transfer-ownership="none">
3795+
<doc xml:space="preserve">the first path</doc>
3796+
<type name="Path" c:type="GskPath*"/>
3797+
</parameter>
3798+
<parameter name="point1" transfer-ownership="none">
3799+
<doc xml:space="preserve">the intersection as point on @path1</doc>
3800+
<type name="PathPoint" c:type="const GskPathPoint*"/>
3801+
</parameter>
3802+
<parameter name="path2" transfer-ownership="none">
3803+
<doc xml:space="preserve">the second path</doc>
3804+
<type name="Path" c:type="GskPath*"/>
3805+
</parameter>
3806+
<parameter name="point2" transfer-ownership="none">
3807+
<doc xml:space="preserve">the intersection as point on @path2</doc>
3808+
<type name="PathPoint" c:type="const GskPathPoint*"/>
3809+
</parameter>
3810+
<parameter name="kind" transfer-ownership="none">
3811+
<doc xml:space="preserve">the nature of the intersection</doc>
3812+
<type name="PathIntersection" c:type="GskPathIntersection"/>
3813+
</parameter>
3814+
<parameter name="user_data" transfer-ownership="none" nullable="1" allow-none="1" closure="5">
3815+
<doc xml:space="preserve">user data</doc>
3816+
<type name="gpointer" c:type="gpointer"/>
3817+
</parameter>
3818+
</parameters>
3819+
</callback>
37293820
<record name="PathMeasure" c:type="GskPathMeasure" opaque="1" version="4.14" glib:type-name="GskPathMeasure" glib:get-type="gsk_path_measure_get_type" c:symbol-prefix="path_measure">
37303821
<doc xml:space="preserve">Performs measurements on paths such as determining the length of the path.
37313822

Gtk-4.0.gir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35981,7 +35981,7 @@ There are various cases in which you may need to use a `GtkFileChooserDialog`:
3598135981
- To save a file under a different name, use %GTK_FILE_CHOOSER_ACTION_SAVE,
3598235982
and set the existing file with [[email protected]_file].
3598335983

35984-
- To choose a folder instead of a filem use %GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER.
35984+
- To choose a folder instead of a file, use %GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER.
3598535985

3598635986
In general, you should only cause the file chooser to show a specific
3598735987
folder when it is appropriate to use [[email protected]_file],

0 commit comments

Comments
 (0)