Skip to content

Commit 07aa7d1

Browse files
authored
Merge pull request #236 from gtk-rs/create-pull-request/patch
Update GIR files (2025-03-02)
2 parents 545a989 + 10c26ba commit 07aa7d1

File tree

4 files changed

+181
-27
lines changed

4 files changed

+181
-27
lines changed

Atk-1.0.gir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ A string name/value pair representing a generic attribute.</doc>
553553
</parameters>
554554
</function>
555555
</record>
556-
<constant name="BINARY_AGE" value="25512" c:type="ATK_BINARY_AGE" version="2.7.4">
556+
<constant name="BINARY_AGE" value="25600" c:type="ATK_BINARY_AGE" version="2.7.4">
557557
<doc xml:space="preserve">Like atk_get_binary_age(), but from the headers used at
558558
application compile time, rather than from the library linked
559559
against at application run time.</doc>
@@ -4721,7 +4721,7 @@ application compile time, rather than from the library linked
47214721
against at application run time.</doc>
47224722
<type name="gint" c:type="gint"/>
47234723
</constant>
4724-
<constant name="MICRO_VERSION" value="2" c:type="ATK_MICRO_VERSION" version="2.7.4">
4724+
<constant name="MICRO_VERSION" value="90" c:type="ATK_MICRO_VERSION" version="2.7.4">
47254725
<doc xml:space="preserve">Like atk_get_micro_version(), but from the headers used at
47264726
application compile time, rather than from the library linked
47274727
against at application run time.</doc>

GLib-2.0.gir

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11161,7 +11161,10 @@ input character set, but which have no representation in the output character
1116111161
set, is implementation defined. This function may return success (with a
1116211162
positive number of non-reversible conversions as replacement characters were
1116311163
used), or it may return -1 and set an error such as %EILSEQ, in such a
11164-
situation.</doc>
11164+
situation.
11165+
11166+
See [`iconv(3posix)`](man:iconv(3posix)) and [`iconv(3)`](man:iconv(3)) for more details about behavior when an
11167+
error occurs.</doc>
1116511168
<return-value transfer-ownership="none">
1116611169
<doc xml:space="preserve">count of non-reversible conversions, or -1 on error</doc>
1116711170
<type name="gsize" c:type="gsize"/>
@@ -15308,7 +15311,7 @@ linked against at application run time.</doc>
1530815311
<constant name="MAXUINT8" value="255" c:type="G_MAXUINT8">
1530915312
<type name="guint8" c:type="guint8"/>
1531015313
</constant>
15311-
<constant name="MICRO_VERSION" value="4" c:type="GLIB_MICRO_VERSION">
15314+
<constant name="MICRO_VERSION" value="5" c:type="GLIB_MICRO_VERSION">
1531215315
<doc xml:space="preserve">The micro version number of the GLib library.
1531315316

1531415317
Like #gtk_micro_version, but from the headers used at
@@ -48515,7 +48518,10 @@ input character set, but which have no representation in the output character
4851548518
set, is implementation defined. This function may return success (with a
4851648519
positive number of non-reversible conversions as replacement characters were
4851748520
used), or it may return -1 and set an error such as %EILSEQ, in such a
48518-
situation.</doc>
48521+
situation.
48522+
48523+
See [`iconv(3posix)`](man:iconv(3posix)) and [`iconv(3)`](man:iconv(3)) for more details about behavior when an
48524+
error occurs.</doc>
4851948525
<return-value transfer-ownership="none">
4852048526
<doc xml:space="preserve">count of non-reversible conversions, or -1 on error</doc>
4852148527
<type name="gsize" c:type="gsize"/>

Gdk-4.0.gir

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ left button in a left-handed setup.</doc>
374374
`GdkCairoContext`s are created for a surface using
375375
[[email protected]_cairo_context], and the context
376376
can then be used to draw on that surface.</doc>
377-
<method name="cairo_create" c:identifier="gdk_cairo_context_cairo_create">
377+
<method name="cairo_create" c:identifier="gdk_cairo_context_cairo_create" deprecated="1" deprecated-version="4.18">
378378
<doc xml:space="preserve">Retrieves a Cairo context to be used to draw on the `GdkSurface`
379379
of @context.
380380

@@ -383,6 +383,8 @@ A call to [[email protected]_frame] with this
383383

384384
The returned context is guaranteed to be valid until
385385
[[email protected]_frame] is called.</doc>
386+
<doc-deprecated xml:space="preserve">Drawing content with Cairo should be done via
387+
Cairo rendernodes, not by using renderers.</doc-deprecated>
386388
<return-value transfer-ownership="full" nullable="1">
387389
<doc xml:space="preserve">a Cairo context
388390
to draw on `GdkSurface</doc>
@@ -2870,17 +2872,45 @@ theme.
28702872
A recommended set of cursor names that will work across different
28712873
platforms can be found in the CSS specification:
28722874

2873-
| | | | |
2874-
| --- | --- | ---- | --- |
2875-
| "none" | ![](default_cursor.png) "default" | ![](help_cursor.png) "help" | ![](pointer_cursor.png) "pointer" |
2876-
| ![](context_menu_cursor.png) "context-menu" | ![](progress_cursor.png) "progress" | ![](wait_cursor.png) "wait" | ![](cell_cursor.png) "cell" |
2877-
| ![](crosshair_cursor.png) "crosshair" | ![](text_cursor.png) "text" | ![](vertical_text_cursor.png) "vertical-text" | ![](alias_cursor.png) "alias" |
2878-
| ![](copy_cursor.png) "copy" | ![](no_drop_cursor.png) "no-drop" | ![](move_cursor.png) "move" | ![](not_allowed_cursor.png) "not-allowed" |
2879-
| ![](grab_cursor.png) "grab" | ![](grabbing_cursor.png) "grabbing" | ![](all_scroll_cursor.png) "all-scroll" | ![](col_resize_cursor.png) "col-resize" |
2880-
| ![](row_resize_cursor.png) "row-resize" | ![](n_resize_cursor.png) "n-resize" | ![](e_resize_cursor.png) "e-resize" | ![](s_resize_cursor.png) "s-resize" |
2881-
| ![](w_resize_cursor.png) "w-resize" | ![](ne_resize_cursor.png) "ne-resize" | ![](nw_resize_cursor.png) "nw-resize" | ![](sw_resize_cursor.png) "sw-resize" |
2882-
| ![](se_resize_cursor.png) "se-resize" | ![](ew_resize_cursor.png) "ew-resize" | ![](ns_resize_cursor.png) "ns-resize" | ![](nesw_resize_cursor.png) "nesw-resize" |
2883-
| ![](nwse_resize_cursor.png) "nwse-resize" | ![](zoom_in_cursor.png) "zoom-in" | ![](zoom_out_cursor.png) "zoom-out" | |</doc>
2875+
| | | |
2876+
| --- | --- | --- |
2877+
| | "none" | No cursor |
2878+
| ![](default_cursor.png) | "default" | The default cursor |
2879+
| ![](help_cursor.png) | "help" | Help is available |
2880+
| ![](pointer_cursor.png) | "pointer" | Indicates a link or interactive element |
2881+
| ![](context_menu_cursor.png) |"context-menu" | A context menu is available |
2882+
| ![](progress_cursor.png) | "progress" | Progress indicator |
2883+
| ![](wait_cursor.png) | "wait" | Busy cursor |
2884+
| ![](cell_cursor.png) | "cell" | Cell(s) may be selected |
2885+
| ![](crosshair_cursor.png) | "crosshair" | Simple crosshair |
2886+
| ![](text_cursor.png) | "text" | Text may be selected |
2887+
| ![](vertical_text_cursor.png) | "vertical-text" | Vertical text may be selected |
2888+
| ![](alias_cursor.png) | "alias" | DND: Something will be linked |
2889+
| ![](copy_cursor.png) | "copy" | DND: Something will be copied |
2890+
| ![](move_cursor.png) | "move" | DND: Something will be moved |
2891+
| ![](dnd_ask_cursor.png) | "dnd-ask" | DND: User can choose action to be carried out |
2892+
| ![](no_drop_cursor.png) | "no-drop" | DND: Can't drop here |
2893+
| ![](not_allowed_cursor.png) | "not-allowed" | DND: Action will not be carried out |
2894+
| ![](grab_cursor.png) | "grab" | DND: Something can be grabbed |
2895+
| ![](grabbing_cursor.png) | "grabbing" | DND: Something is being grabbed |
2896+
| ![](n_resize_cursor.png) | "n-resize" | Resizing: Move north border |
2897+
| ![](e_resize_cursor.png) | "e-resize" | Resizing: Move east border |
2898+
| ![](s_resize_cursor.png) | "s-resize" | Resizing: Move south border |
2899+
| ![](w_resize_cursor.png) | "w-resize" | Resizing: Move west border |
2900+
| ![](ne_resize_cursor.png) | "ne-resize" | Resizing: Move north-east corner |
2901+
| ![](nw_resize_cursor.png) | "nw-resize" | Resizing: Move north-west corner |
2902+
| ![](sw_resize_cursor.png) | "sw-resize" | Resizing: Move south-west corner |
2903+
| ![](se_resize_cursor.png) | "se-resize" | Resizing: Move south-east corner |
2904+
| ![](col_resize_cursor.png) | "col-resize" | Resizing: Move an item or border horizontally |
2905+
| ![](row_resize_cursor.png) | "row-resize" | Resizing: Move an item or border vertically |
2906+
| ![](ew_resize_cursor.png) | "ew-resize" | Moving: Something can be moved horizontally |
2907+
| ![](ns_resize_cursor.png) | "ns-resize" | Moving: Something can be moved vertically |
2908+
| ![](nesw_resize_cursor.png) | "nesw-resize" | Moving: Something can be moved diagonally, north-east to south-west |
2909+
| ![](nwse_resize_cursor.png) | "nwse-resize" | Moving: something can be moved diagonally, north-west to south-east |
2910+
| ![](all_resize_cursor.png) | "all-resize" | Moving: Something can be moved in any direction |
2911+
| ![](all_scroll_cursor.png) | "all-scroll" | Can scroll in any direction |
2912+
| ![](zoom_in_cursor.png) | "zoom-in" | Zoom in |
2913+
| ![](zoom_out_cursor.png) | "zoom-out" | Zoom out |</doc>
28842914
<return-value transfer-ownership="full" nullable="1">
28852915
<doc xml:space="preserve">a new `GdkCursor`, or %NULL if there is no
28862916
cursor with the given name</doc>

0 commit comments

Comments
 (0)