diff --git a/windows/Adw-1.gir b/windows/Adw-1.gir
index 43e49f9..85a8d3f 100644
--- a/windows/Adw-1.gir
+++ b/windows/Adw-1.gir
@@ -13985,12 +13985,12 @@ minimum size, and [property@Gtk.Widget:width-request] and
Creates a new `AdwDialog`.
+ line="1296">Creates a new `AdwDialog`.
the new created `AdwDialog`
+ line="1301">the new created `AdwDialog`
@@ -14021,7 +14021,7 @@ minimum size, and [property@Gtk.Widget:width-request] and
version="1.5">
Adds @breakpoint to @self.
+ line="1928">Adds @breakpoint to @self.
@@ -14030,13 +14030,13 @@ minimum size, and [property@Gtk.Widget:width-request] and
a dialog
+ line="1930">a dialog
the breakpoint to add
+ line="1931">the breakpoint to add
@@ -14044,7 +14044,7 @@ minimum size, and [property@Gtk.Widget:width-request] and
Attempts to close @self.
+ line="1855">Attempts to close @self.
If the [property@Dialog:can-close] property is set to `FALSE`, the
[signal@Dialog::close-attempt] signal is emitted.
@@ -14054,14 +14054,14 @@ See also: [method@Dialog.force_close].
whether @self was successfully closed
+ line="1866">whether @self was successfully closed
a dialog
+ line="1857">a dialog
@@ -14071,7 +14071,7 @@ See also: [method@Dialog.force_close].
version="1.5">
Closes @self.
+ line="1894">Closes @self.
Unlike [method@Dialog.close], it succeeds even if [property@Dialog:can-close]
is set to `FALSE`.
@@ -14083,7 +14083,7 @@ is set to `FALSE`.
a dialog
+ line="1896">a dialog
@@ -14094,19 +14094,19 @@ is set to `FALSE`.
version="1.5">
Gets whether @self can be closed.
+ line="1417">Gets whether @self can be closed.
whether the dialog can be closed
+ line="1423">whether the dialog can be closed
a dialog
+ line="1419">a dialog
@@ -14117,19 +14117,19 @@ is set to `FALSE`.
version="1.5">
Gets the child widget of @self.
+ line="1311">Gets the child widget of @self.
the child widget of @self
+ line="1317">the child widget of @self
a dialog
+ line="1313">a dialog
@@ -14140,19 +14140,19 @@ is set to `FALSE`.
version="1.5">
Gets the height of the dialog's contents.
+ line="1529">Gets the height of the dialog's contents.
the content height
+ line="1535">the content height
a dialog
+ line="1531">a dialog
@@ -14163,19 +14163,19 @@ is set to `FALSE`.
version="1.5">
Gets the width of the dialog's contents.
+ line="1479">Gets the width of the dialog's contents.
the content width
+ line="1485">the content width
a dialog
+ line="1481">a dialog
@@ -14186,19 +14186,19 @@ is set to `FALSE`.
version="1.5">
Gets the current breakpoint.
+ line="1953">Gets the current breakpoint.
the current breakpoint
+ line="1959">the current breakpoint
a dialog
+ line="1955">a dialog
@@ -14209,19 +14209,19 @@ is set to `FALSE`.
version="1.5">
Gets the default widget for @self.
+ line="1773">Gets the default widget for @self.
the default widget
+ line="1779">the default widget
a dialog
+ line="1775">a dialog
@@ -14232,19 +14232,19 @@ is set to `FALSE`.
version="1.5">
Gets the focus widget for @self.
+ line="1701">Gets the focus widget for @self.
the focus widget
+ line="1707">the focus widget
a dialog
+ line="1703">a dialog
@@ -14255,19 +14255,19 @@ is set to `FALSE`.
version="1.5">
Gets whether to size content of @self automatically.
+ line="1579">Gets whether to size content of @self automatically.
whether to size content automatically
+ line="1585">whether to size content automatically
a dialog
+ line="1581">a dialog
@@ -14278,12 +14278,12 @@ is set to `FALSE`.
version="1.5">
Gets presentation mode for @self.
+ line="1638">Gets presentation mode for @self.
the presentation mode
+ line="1644">the presentation mode
@@ -14291,7 +14291,7 @@ is set to `FALSE`.
a dialog
+ line="1640">a dialog
@@ -14302,19 +14302,19 @@ is set to `FALSE`.
version="1.5">
Gets the title of @self.
+ line="1366">Gets the title of @self.
the title
+ line="1372">the title
a dialog
+ line="1368">a dialog
@@ -14322,7 +14322,7 @@ is set to `FALSE`.
Presents @self within @parent's window.
+ line="1999">Presents @self within @parent's window.
If @self is already shown, raises it to the top instead.
@@ -14336,7 +14336,7 @@ will be shown within it. Otherwise, it will be a separate window.
a dialog
+ line="2001">a dialog
allow-none="1">
a widget within the toplevel
+ line="2002">a widget within the toplevel
@@ -14356,7 +14356,7 @@ will be shown within it. Otherwise, it will be a separate window.
version="1.5">
Sets whether @self can be closed.
+ line="1439">Sets whether @self can be closed.
If set to `FALSE`, the close button, shortcuts and
[method@Dialog.close] will result in [signal@Dialog::close-attempt] being
@@ -14370,13 +14370,13 @@ emitted instead, and bottom sheet close swipe will be disabled.
a dialog
+ line="1441">a dialog
whether to allow closing
+ line="1442">whether to allow closing
@@ -14387,7 +14387,7 @@ emitted instead, and bottom sheet close swipe will be disabled.
version="1.5">
Sets the child widget of @self.
+ line="1333">Sets the child widget of @self.
@@ -14396,7 +14396,7 @@ emitted instead, and bottom sheet close swipe will be disabled.
a dialog
+ line="1335">a dialog
the child widget
+ line="1336">the child widget
@@ -14416,7 +14416,7 @@ emitted instead, and bottom sheet close swipe will be disabled.
version="1.5">
Sets the height of the dialog's contents.
+ line="1551">Sets the height of the dialog's contents.
Set it to -1 to reset it to the content's natural height.
@@ -14429,13 +14429,13 @@ See also: [property@Gtk.Window:default-height]
a dialog
+ line="1553">a dialog
the content height
+ line="1554">the content height
@@ -14446,7 +14446,7 @@ See also: [property@Gtk.Window:default-height]
version="1.5">
Sets the width of the dialog's contents.
+ line="1501">Sets the width of the dialog's contents.
Set it to -1 to reset it to the content's natural width.
@@ -14459,13 +14459,13 @@ See also: [property@Gtk.Window:default-width]
a dialog
+ line="1503">a dialog
the content width
+ line="1504">the content width
@@ -14476,7 +14476,7 @@ See also: [property@Gtk.Window:default-width]
version="1.5">
Sets the default widget for @self.
+ line="1795">Sets the default widget for @self.
It's activated when the user presses Enter.
@@ -14487,7 +14487,7 @@ It's activated when the user presses Enter.
a dialog
+ line="1797">a dialog
allow-none="1">
the default widget
+ line="1798">the default widget
@@ -14507,7 +14507,7 @@ It's activated when the user presses Enter.
version="1.5">
Sets the focus widget for @self.
+ line="1723">Sets the focus widget for @self.
If @focus is not the current focus widget, and is focusable, sets it as the
focus widget for the dialog.
@@ -14523,7 +14523,7 @@ to a particular widget in the dialog, it is usually more convenient to use
a dialog
+ line="1725">a dialog
the focus widget
+ line="1726">the focus widget
@@ -14543,7 +14543,7 @@ to a particular widget in the dialog, it is usually more convenient to use
version="1.5">
Sets whether to size content of @self automatically.
+ line="1601">Sets whether to size content of @self automatically.
If set to `TRUE`, always use the content's natural size instead of
[property@Dialog:content-width] and [property@Dialog:content-height]. If
@@ -14558,13 +14558,13 @@ See also: [property@Gtk.Window:resizable]
a dialog
+ line="1603">a dialog
whether to size content automatically
+ line="1604">whether to size content automatically
@@ -14575,7 +14575,7 @@ See also: [property@Gtk.Window:resizable]
version="1.5">
Sets presentation mode for @self.
+ line="1660">Sets presentation mode for @self.
When set to `ADW_DIALOG_AUTO`, the dialog appears as a bottom sheet when the
following condition is met: `max-width: 450px or max-height: 360px`, and as a
@@ -14594,13 +14594,13 @@ Presentation mode does nothing for dialogs presented as a window.
a dialog
+ line="1662">a dialog
the new presentation mode
+ line="1663">the new presentation mode
@@ -14612,7 +14612,7 @@ Presentation mode does nothing for dialogs presented as a window.
version="1.5">
Sets the title of @self.
+ line="1388">Sets the title of @self.
@@ -14621,13 +14621,13 @@ Presentation mode does nothing for dialogs presented as a window.
a dialog
+ line="1390">a dialog
the new title
+ line="1391">the new title
@@ -14641,7 +14641,7 @@ Presentation mode does nothing for dialogs presented as a window.
default-value="TRUE">
Whether the dialog can be closed.
+ line="1039">Whether the dialog can be closed.
If set to `FALSE`, the close button, shortcuts and
[method@Dialog.close] will result in [signal@Dialog::close-attempt] being
@@ -14657,7 +14657,7 @@ emitted instead, and bottom sheet close swipe will be disabled.
getter="get_child">
The child widget of the `AdwDialog`.
+ line="1015">The child widget of the `AdwDialog`.
The height of the dialog's contents.
+ line="1072">The height of the dialog's contents.
Set it to -1 to reset it to the content's natural height.
@@ -14685,7 +14685,7 @@ See also: [property@Gtk.Window:default-height]
default-value="-1">
The width of the dialog's contents.
+ line="1056">The width of the dialog's contents.
Set it to -1 to reset it to the content's natural width.
@@ -14698,7 +14698,7 @@ See also: [property@Gtk.Window:default-width]
getter="get_current_breakpoint">
The current breakpoint.
+ line="1155">The current breakpoint.
getter="get_default_widget">
The default widget.
+ line="1141">The default widget.
It's activated when the user presses Enter.
@@ -14722,7 +14722,7 @@ It's activated when the user presses Enter.
getter="get_focus">
The focus widget.
+ line="1129">The focus widget.
default-value="FALSE">
Whether to size content automatically.
+ line="1088">Whether to size content automatically.
If set to `TRUE`, always use the content's natural size instead of
[property@Dialog:content-width] and [property@Dialog:content-height]. If
@@ -14752,7 +14752,7 @@ See also: [property@Gtk.Window:resizable]
default-value="ADW_DIALOG_AUTO">
The dialog's presentation mode.
+ line="1106">The dialog's presentation mode.
When set to `ADW_DIALOG_AUTO`, the dialog appears as a bottom sheet when
the following condition is met: `max-width: 450px or max-height: 360px`,
@@ -14773,7 +14773,7 @@ Presentation mode does nothing for dialogs presented as a window.
getter="get_title">
The title of the dialog.
+ line="1027">The title of the dialog.
@@ -14782,7 +14782,7 @@ Presentation mode does nothing for dialogs presented as a window.
Emitted when the close button or shortcut is used, or
+ line="1169">Emitted when the close button or shortcut is used, or
[method@Dialog.close] is called while [property@Dialog:can-close] is set to
`FALSE`.
@@ -14792,7 +14792,7 @@ Presentation mode does nothing for dialogs presented as a window.
Emitted when the dialog is successfully closed.
+ line="1192">Emitted when the dialog is successfully closed.
@@ -18191,7 +18191,7 @@ headerbar
`AdwHeaderBar`'s CSS node is called `headerbar`. It contains a `windowhandle`
subnode, which contains a `box` subnode, which contains three `widget`
subnodes at the start, center and end of the header bar. The start and end
-subnotes contain a `box` subnode with the `.start` and `.end` style classes
+subnodes contain a `box` subnode with the `.start` and `.end` style classes
respectively, and the center node contains a node that represents the title.
Each of the boxes contains a `windowcontrols` subnode, see
@@ -20697,7 +20697,7 @@ New values may be added to this enumeration over time.
-
+
Adwaita micro version component (e.g. 3 if the version is 1.2.3).
@@ -40970,7 +40970,7 @@ See also [property@ToolbarView:bottom-bar-style].
-
+
Adwaita version, encoded as a string, useful for printing and
diff --git a/windows/Gdk-4.0.gir b/windows/Gdk-4.0.gir
index 684e293..f0e33ea 100644
--- a/windows/Gdk-4.0.gir
+++ b/windows/Gdk-4.0.gir
@@ -34137,7 +34137,7 @@ can fail, returning %NULL context.
Emitted when the images managed by this context have changed.
+ line="845">Emitted when the images managed by this context have changed.
Usually this means that the swapchain had to be recreated,
for example in response to a change of the surface size.
diff --git a/windows/Gtk-4.0.gir b/windows/Gtk-4.0.gir
index 5350f8b..c7afad0 100644
--- a/windows/Gtk-4.0.gir
+++ b/windows/Gtk-4.0.gir
@@ -9608,6 +9608,10 @@ each [class@Gtk.ApplicationWindow] and sets up the keyboard accelerator
displays the shortcuts window, associate the item with the action
`win.show-help-overlay`.
+`GtkApplication` will also automatically set the application id as the
+default window icon. Use [func@Gtk.Window.set_default_icon_name] or
+[property@Gtk.Window:icon-name] to override that behavior.
+
## A simple application
[A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/main/examples/bp/bloatpad.c)
@@ -9636,7 +9640,7 @@ session while inhibitors are present.
Creates a new `GtkApplication` instance.
+ line="663">Creates a new `GtkApplication` instance.
When using `GtkApplication`, it is not necessary to call [func@Gtk.init]
manually. It is called as soon as the application gets registered as
@@ -9658,7 +9662,7 @@ uniqueness) will be disabled.
a new `GtkApplication` instance
+ line="687">a new `GtkApplication` instance
@@ -9668,13 +9672,13 @@ uniqueness) will be disabled.
allow-none="1">
The application ID
+ line="665">The application ID
the application flags
+ line="666">the application flags
@@ -9719,7 +9723,7 @@ uniqueness) will be disabled.
Adds a window to `application`.
+ line="701">Adds a window to `application`.
This call can only happen after the `application` has started;
typically, you should add new application windows in response
@@ -9742,13 +9746,13 @@ any windows.
a `GtkApplication`
+ line="703">a `GtkApplication`
a `GtkWindow`
+ line="704">a `GtkWindow`
@@ -9757,13 +9761,13 @@ any windows.
c:identifier="gtk_application_get_accels_for_action">
Gets the accelerators that are currently associated with
+ line="1100">Gets the accelerators that are currently associated with
the given action.
+ line="1109">
accelerators for `detailed_action_name`
@@ -9773,13 +9777,13 @@ the given action.
a `GtkApplication`
+ line="1102">a `GtkApplication`
a detailed action name, specifying an action
+ line="1103">a detailed action name, specifying an action
and target to obtain accelerators for
@@ -9789,7 +9793,7 @@ the given action.
c:identifier="gtk_application_get_actions_for_accel">
Returns the list of actions (possibly empty) that `accel` maps to.
+ line="1125">Returns the list of actions (possibly empty) that `accel` maps to.
Each item in the list is a detailed action name in the usual form.
@@ -9810,7 +9814,7 @@ If you are unsure, check it with [func@Gtk.accelerator_parse] first.
a %NULL-terminated array of actions for `accel`
+ line="1148">a %NULL-terminated array of actions for `accel`
@@ -9819,13 +9823,13 @@ If you are unsure, check it with [func@Gtk.accelerator_parse] first.
a `GtkApplication`
+ line="1127">a `GtkApplication`
an accelerator that can be parsed by [func@Gtk.accelerator_parse]
+ line="1128">an accelerator that can be parsed by [func@Gtk.accelerator_parse]
@@ -9835,7 +9839,7 @@ If you are unsure, check it with [func@Gtk.accelerator_parse] first.
glib:get-property="active-window">
Gets the “active” window for the application.
+ line="829">Gets the “active” window for the application.
The active window is the one that was most recently focused (within
the application). This window may not have the focus at the moment
@@ -9845,14 +9849,14 @@ recently-focused window within this application.
the active window
+ line="840">the active window
a `GtkApplication`
+ line="831">a `GtkApplication`
@@ -9861,7 +9865,7 @@ recently-focused window within this application.
c:identifier="gtk_application_get_menu_by_id">
Gets a menu from automatically loaded resources.
+ line="1202">Gets a menu from automatically loaded resources.
See [the section on Automatic resources](class.Application.html#automatic-resources)
for more information.
@@ -9869,7 +9873,7 @@ for more information.
Gets the menu with the
+ line="1212">Gets the menu with the
given id from the automatically loaded resources
@@ -9877,13 +9881,13 @@ for more information.
a `GtkApplication`
+ line="1204">a `GtkApplication`
the id of the menu to look up
+ line="1205">the id of the menu to look up
@@ -9893,20 +9897,20 @@ for more information.
glib:get-property="menubar">
Returns the menu model that has been set with
+ line="905">Returns the menu model that has been set with
[method@Gtk.Application.set_menubar].
the menubar for windows of `application`
+ line="912">the menubar for windows of `application`
a `GtkApplication`
+ line="907">a `GtkApplication`
@@ -9915,7 +9919,7 @@ for more information.
c:identifier="gtk_application_get_window_by_id">
Returns the [class@Gtk.ApplicationWindow] with the given ID.
+ line="798">Returns the [class@Gtk.ApplicationWindow] with the given ID.
The ID of a `GtkApplicationWindow` can be retrieved with
[method@Gtk.ApplicationWindow.get_id].
@@ -9923,20 +9927,20 @@ The ID of a `GtkApplicationWindow` can be retrieved with
the window for the given `id`
+ line="808">the window for the given `id`
a `GtkApplication`
+ line="800">a `GtkApplication`
an identifier number
+ line="801">an identifier number
@@ -9944,7 +9948,7 @@ The ID of a `GtkApplicationWindow` can be retrieved with
Gets a list of the [class@Gtk.Window] instances associated with `application`.
+ line="771">Gets a list of the [class@Gtk.Window] instances associated with `application`.
The list is sorted by most recently focused window, such that the first
element is the currently focused window. (Useful for choosing a parent
@@ -9957,7 +9961,7 @@ deletion.
a `GList` of `GtkWindow`
+ line="785">a `GList` of `GtkWindow`
instances
@@ -9967,7 +9971,7 @@ deletion.
a `GtkApplication`
+ line="773">a `GtkApplication`
@@ -9975,7 +9979,7 @@ deletion.
Inform the session manager that certain types of actions should be
+ line="939">Inform the session manager that certain types of actions should be
inhibited.
This is not guaranteed to work on all platforms and for all types of
@@ -10002,7 +10006,7 @@ this window to find out more about why the action is inhibited.
A non-zero cookie that is used to uniquely identify this
+ line="971">A non-zero cookie that is used to uniquely identify this
request. It should be used as an argument to [method@Gtk.Application.uninhibit]
in order to remove the request. If the platform does not support
inhibiting or the request failed for some reason, 0 is returned.
@@ -10012,7 +10016,7 @@ this window to find out more about why the action is inhibited.
the `GtkApplication`
+ line="941">the `GtkApplication`
allow-none="1">
a `GtkWindow`
+ line="942">a `GtkWindow`
what types of actions should be inhibited
+ line="943">what types of actions should be inhibited
@@ -10037,7 +10041,7 @@ this window to find out more about why the action is inhibited.
allow-none="1">
a short, human-readable string that explains
+ line="944">a short, human-readable string that explains
why these operations are inhibited
@@ -10047,14 +10051,14 @@ this window to find out more about why the action is inhibited.
c:identifier="gtk_application_list_action_descriptions">
Lists the detailed action names which have associated accelerators.
+ line="1037">Lists the detailed action names which have associated accelerators.
See [method@Gtk.Application.set_accels_for_action].
the detailed action names
+ line="1045">the detailed action names
@@ -10063,7 +10067,7 @@ See [method@Gtk.Application.set_accels_for_action].
a `GtkApplication`
+ line="1039">a `GtkApplication`
@@ -10072,7 +10076,7 @@ See [method@Gtk.Application.set_accels_for_action].
c:identifier="gtk_application_remove_window">
Remove a window from `application`.
+ line="743">Remove a window from `application`.
If `window` belongs to `application` then this call is equivalent to
setting the [property@Gtk.Window:application] property of `window` to
@@ -10088,13 +10092,13 @@ function, if `window` was the last window of the `application`.
a `GtkApplication`
+ line="745">a `GtkApplication`
a `GtkWindow`
+ line="746">a `GtkWindow`
@@ -10103,7 +10107,7 @@ function, if `window` was the last window of the `application`.
c:identifier="gtk_application_set_accels_for_action">
Sets zero or more keyboard accelerators that will trigger the
+ line="1057">Sets zero or more keyboard accelerators that will trigger the
given action.
The first item in `accels` will be the primary accelerator, which may be
@@ -10122,20 +10126,20 @@ For the `detailed_action_name`, see `g_action_parse_detailed_name()` and
a `GtkApplication`
+ line="1059">a `GtkApplication`
a detailed action name, specifying an action
+ line="1060">a detailed action name, specifying an action
and target to associate accelerators with
a list of accelerators in the format
+ line="1062">a list of accelerators in the format
understood by [func@Gtk.accelerator_parse]
@@ -10148,7 +10152,7 @@ For the `detailed_action_name`, see `g_action_parse_detailed_name()` and
glib:set-property="menubar">
Sets or unsets the menubar for windows of `application`.
+ line="862">Sets or unsets the menubar for windows of `application`.
This is a menubar in the traditional sense.
@@ -10174,7 +10178,7 @@ user selecting these menu items.
a `GtkApplication`
+ line="864">a `GtkApplication`
allow-none="1">
a `GMenuModel`
+ line="865">a `GMenuModel`
@@ -10191,7 +10195,7 @@ user selecting these menu items.
Removes an inhibitor that has been previously established.
+ line="991">Removes an inhibitor that has been previously established.
See [method@Gtk.Application.inhibit].
@@ -10204,13 +10208,13 @@ Inhibitors are also cleared when the application exits.
the `GtkApplication`
+ line="993">the `GtkApplication`
a cookie that was returned by [method@Gtk.Application.inhibit]
+ line="994">a cookie that was returned by [method@Gtk.Application.inhibit]
@@ -10220,7 +10224,7 @@ Inhibitors are also cleared when the application exits.
getter="get_active_window">
The currently focused window of the application.
+ line="650">The currently focused window of the application.
getter="get_menubar">
The `GMenuModel` to be used for the application's menu bar.
+ line="640">The `GMenuModel` to be used for the application's menu bar.
default-value="FALSE">
Set this property to `TRUE` to register with the session manager.
+ line="610">Set this property to `TRUE` to register with the session manager.
This will make GTK track the session state (such as the
[property@Gtk.Application:screensaver-active] property).
@@ -10250,7 +10254,7 @@ This will make GTK track the session state (such as the
default-value="FALSE">
This property is `TRUE` if GTK believes that the screensaver is
+ line="623">This property is `TRUE` if GTK believes that the screensaver is
currently active.
GTK only tracks session state (including this) when
@@ -10266,7 +10270,7 @@ Linux.
Emitted when the session manager is about to end the session.
+ line="592">Emitted when the session manager is about to end the session.
This signal is only emitted if [property@Gtk.Application:register-session]
is `TRUE`. Applications can connect to this signal and call
@@ -10279,7 +10283,7 @@ to delay the end of the session until state has been saved.
Emitted when a [class@Gtk.Window] is added to `application` through
+ line="560">Emitted when a [class@Gtk.Window] is added to `application` through
[method@Gtk.Application.add_window].
@@ -10288,7 +10292,7 @@ to delay the end of the session until state has been saved.
the newly-added [class@Gtk.Window]
+ line="563">the newly-added [class@Gtk.Window]
@@ -10296,7 +10300,7 @@ to delay the end of the session until state has been saved.
Emitted when a [class@Gtk.Window] is removed from `application`.
+ line="575">Emitted when a [class@Gtk.Window] is removed from `application`.
This can happen as a side-effect of the window being destroyed
or explicitly through [method@Gtk.Application.remove_window].
@@ -10307,7 +10311,7 @@ or explicitly through [method@Gtk.Application.remove_window].
the [class@Gtk.Window] that is being removed
+ line="578">the [class@Gtk.Window] that is being removed
@@ -10376,7 +10380,7 @@ or explicitly through [method@Gtk.Application.remove_window].
c:type="GtkApplicationInhibitFlags">
Types of user actions that may be blocked by `GtkApplication`.
+ line="924">Types of user actions that may be blocked by `GtkApplication`.
See [method@Gtk.Application.inhibit].
glib:name="GTK_APPLICATION_INHIBIT_LOGOUT">
Inhibit ending the user session
+ line="926">Inhibit ending the user session
by logging out or by shutting down the computer
glib:name="GTK_APPLICATION_INHIBIT_SWITCH">
Inhibit user switching
+ line="928">Inhibit user switching
glib:name="GTK_APPLICATION_INHIBIT_SUSPEND">
Inhibit suspending the
+ line="929">Inhibit suspending the
session or computer
glib:name="GTK_APPLICATION_INHIBIT_IDLE">
Inhibit the session being
+ line="931">Inhibit the session being
marked as idle (and possibly locked)
@@ -12216,7 +12220,7 @@ See gtk_assistant_commit() for details.
add its own buttons through gtk_assistant_add_action_widget().
-
+
Like [func@get_binary_age], but from the headers used at
@@ -74928,7 +74932,7 @@ See [signal@Gtk.SpinButton::input].
-
+
Like [func@get_interface_age], but from the headers used at
@@ -92576,7 +92580,7 @@ This macro is longer used by GTK.
-
+
Like [func@get_micro_version], but from the headers used at
@@ -127575,7 +127579,7 @@ a color.
Creates render nodes for rendering @layout in the given foregound @color
+ line="493">Creates render nodes for rendering @layout in the given foregound @color
and appends them to the current node of @snapshot without changing the
current node. The current theme's foreground color for a widget can be
obtained with [method@Gtk.Widget.get_color].
@@ -127590,19 +127594,19 @@ may not be added to the @snapshot.
a `GtkSnapshot`
+ line="495">a `GtkSnapshot`
the `PangoLayout` to render
+ line="496">the `PangoLayout` to render
the foreground color to render the layout in
+ line="497">the foreground color to render the layout in
@@ -136535,7 +136539,7 @@ to accessibility.
version="4.4">
Determine the positions of the strong and weak cursors if the
+ line="7425">Determine the positions of the strong and weak cursors if the
insertion point in the layout is at @position.
The position of each cursor is stored as a zero-width rectangle.
@@ -136553,13 +136557,13 @@ The rectangle positions are in widget coordinates.
a `GtkText`
+ line="7427">a `GtkText`
the character position
+ line="7428">the character position
allow-none="1">
location to store the strong cursor position
+ line="7429">location to store the strong cursor position
allow-none="1">
location to store the weak cursor position
+ line="7430">location to store the weak cursor position
@@ -136663,20 +136667,20 @@ this widget.
glib:get-property="enable-emoji-completion">
Returns whether Emoji completion is enabled for this
+ line="7319">Returns whether Emoji completion is enabled for this
`GtkText` widget.
%TRUE if Emoji completion is enabled
+ line="7326">%TRUE if Emoji completion is enabled
a `GtkText`
+ line="7321">a `GtkText`
@@ -136686,21 +136690,21 @@ this widget.
glib:get-property="extra-menu">
Gets the menu model for extra items in the context menu.
+ line="7267">Gets the menu model for extra items in the context menu.
See [method@Gtk.Text.set_extra_menu].
the menu model
+ line="7275">the menu model
a `GtkText`
+ line="7269">a `GtkText`
@@ -136858,20 +136862,20 @@ If no placeholder text has been set, %NULL will be returned.
glib:get-property="propagate-text-width">
Returns whether the `GtkText` will grow and shrink
+ line="7363">Returns whether the `GtkText` will grow and shrink
with the content.
%TRUE if @self will propagate the text width
+ line="7370">%TRUE if @self will propagate the text width
a `GtkText`
+ line="7365">a `GtkText`
@@ -136929,20 +136933,20 @@ and calling [method@Gtk.EntryBuffer.get_length] on it.
glib:get-property="truncate-multiline">
Returns whether the `GtkText` will truncate multi-line text
+ line="7406">Returns whether the `GtkText` will truncate multi-line text
that is pasted into the widget
%TRUE if @self will truncate multi-line text
+ line="7413">%TRUE if @self will truncate multi-line text
a `GtkText`
+ line="7408">a `GtkText`
@@ -137085,7 +137089,7 @@ this widget.
glib:set-property="enable-emoji-completion">
Sets whether Emoji completion is enabled.
+ line="7287">Sets whether Emoji completion is enabled.
If it is, typing ':', followed by a recognized keyword,
will pop up a window with suggested Emojis matching the
@@ -137098,13 +137102,13 @@ keyword.
a `GtkText`
+ line="7289">a `GtkText`
%TRUE to enable Emoji completion
+ line="7290">%TRUE to enable Emoji completion
@@ -137114,7 +137118,7 @@ keyword.
glib:set-property="extra-menu">
Sets a menu model to add when constructing
+ line="7243">Sets a menu model to add when constructing
the context menu for @self.
@@ -137124,7 +137128,7 @@ the context menu for @self.
a `GtkText`
+ line="7245">a `GtkText`
allow-none="1">
a `GMenuModel`
+ line="7246">a `GMenuModel`
@@ -137318,7 +137322,7 @@ contents of the `GtkText`.
glib:set-property="propagate-text-width">
Sets whether the `GtkText` should grow and shrink with the content.
+ line="7338">Sets whether the `GtkText` should grow and shrink with the content.
@@ -137327,13 +137331,13 @@ contents of the `GtkText`.
a `GtkText`
+ line="7340">a `GtkText`
%TRUE to propagate the text width
+ line="7341">%TRUE to propagate the text width
@@ -137371,7 +137375,7 @@ contents of the `GtkText`.
glib:set-property="truncate-multiline">
Sets whether the `GtkText` should truncate multi-line text
+ line="7382">Sets whether the `GtkText` should truncate multi-line text
that is pasted into the widget.
@@ -137381,13 +137385,13 @@ that is pasted into the widget.
a `GtkText`
+ line="7384">a `GtkText`
%TRUE to truncate multi-line text
+ line="7385">%TRUE to truncate multi-line text
@@ -147206,20 +147210,20 @@ Tags in the buffer may override this setting for some ranges of text.
glib:get-property="extra-menu">
Gets the menu model that gets added to the context menu
+ line="10404">Gets the menu model that gets added to the context menu
or %NULL if none has been set.
the menu model
+ line="10411">the menu model
a `GtkTextView`
+ line="10406">a `GtkTextView`
@@ -147619,7 +147623,7 @@ coordinates with [method@Gtk.TextView.buffer_to_window_coords].
version="4.4">
Gets the `PangoContext` that is used for rendering LTR directed
+ line="10475">Gets the `PangoContext` that is used for rendering LTR directed
text layouts.
The context may be replaced when CSS changes occur.
@@ -147627,14 +147631,14 @@ The context may be replaced when CSS changes occur.
a `PangoContext`
+ line="10484">a `PangoContext`
a `GtkTextView`
+ line="10477">a `GtkTextView`
@@ -147785,7 +147789,7 @@ Tags in the buffer may override the default.
version="4.4">
Gets the `PangoContext` that is used for rendering RTL directed
+ line="10498">Gets the `PangoContext` that is used for rendering RTL directed
text layouts.
The context may be replaced when CSS changes occur.
@@ -147793,14 +147797,14 @@ The context may be replaced when CSS changes occur.
a `PangoContext`
+ line="10507">a `PangoContext`
a `GtkTextView`
+ line="10500">a `GtkTextView`
@@ -148470,7 +148474,7 @@ using the “editable” attribute of tags.
glib:set-property="extra-menu">
Sets a menu model to add when constructing the context
+ line="10379">Sets a menu model to add when constructing the context
menu for @text_view.
You can pass %NULL to remove a previously set extra menu.
@@ -148482,7 +148486,7 @@ You can pass %NULL to remove a previously set extra menu.
a `GtkTextView`
+ line="10381">a `GtkTextView`
allow-none="1">
a `GMenuModel`
+ line="10382">a `GMenuModel`
@@ -180876,7 +180880,7 @@ See `g_param_spec_internal()` for details on the property strings.
c:identifier="gtk_print_run_page_setup_dialog">
Runs a page setup dialog, letting the user modify the values from
+ line="2072">Runs a page setup dialog, letting the user modify the values from
@page_setup. If the user cancels the dialog, the returned `GtkPageSetup`
is identical to the passed in @page_setup, otherwise it contains the
modifications done in the dialog.
@@ -180888,7 +180892,7 @@ a problem.
a new `GtkPageSetup`
+ line="2087">a new `GtkPageSetup`
@@ -180898,7 +180902,7 @@ a problem.
allow-none="1">
transient parent
+ line="2074">transient parent
allow-none="1">
an existing `GtkPageSetup`
+ line="2075">an existing `GtkPageSetup`
a `GtkPrintSettings`
+ line="2076">a `GtkPrintSettings`
@@ -180922,7 +180926,7 @@ a problem.
c:identifier="gtk_print_run_page_setup_dialog_async">
Runs a page setup dialog, letting the user modify the values from @page_setup.
+ line="2221">Runs a page setup dialog, letting the user modify the values from @page_setup.
In contrast to gtk_print_run_page_setup_dialog(), this function returns after
showing the page setup dialog on platforms that support this, and calls @done_cb
@@ -180938,7 +180942,7 @@ from a signal handler for the ::response signal of the dialog.
allow-none="1">
transient parent
+ line="2223">transient parent
allow-none="1">
an existing `GtkPageSetup`
+ line="2224">an existing `GtkPageSetup`
a `GtkPrintSettings`
+ line="2225">a `GtkPrintSettings`
closure="4">
a function to call when the user saves
+ line="2226">a function to call when the user saves
the modified page setup
@@ -180972,7 +180976,7 @@ from a signal handler for the ::response signal of the dialog.
allow-none="1">
user data to pass to @done_cb
+ line="2228">user data to pass to @done_cb
diff --git a/windows/GtkSource-5.gir b/windows/GtkSource-5.gir
index 286a57d..9f7d8f6 100644
--- a/windows/GtkSource-5.gir
+++ b/windows/GtkSource-5.gir
@@ -4660,8 +4660,8 @@ called.
destroy="2">
a #GtkSourceMountOperationFactory to call when a
- #GMountOperation is needed.
+ line="398">a
+ #GtkSourceMountOperationFactory to call when a #GMountOperation is needed.
@@ -4873,14 +4873,14 @@ the @buffer is emptied.
the detected compression type.
+ line="1325">the detected compression type.
a #GtkSourceFileLoader.
+ line="1323">a #GtkSourceFileLoader.
@@ -4892,14 +4892,14 @@ the @buffer is emptied.
the detected file encoding.
+ line="1296">the detected file encoding.
a #GtkSourceFileLoader.
+ line="1294">a #GtkSourceFileLoader.
@@ -4973,14 +4973,14 @@ if an input stream is used.
the detected newline type.
+ line="1310">the detected newline type.
a #GtkSourceFileLoader.
+ line="1308">a #GtkSourceFileLoader.
@@ -5031,8 +5031,9 @@ function.
destroy="4">
function to call back with
- progress information, or %NULL if progress information is not needed.
+ line="1069">
+ function to call back with progress information, or %NULL if progress
+ information is not needed.
@@ -5042,7 +5043,7 @@ function.
allow-none="1">
user data to pass to @progress_callback.
+ line="1072">user data to pass to @progress_callback.
scope="async">
function to call on
+ line="1073">function to call on
@progress_callback_data when the @progress_callback is no longer needed, or
%NULL.
@@ -5065,7 +5066,7 @@ function.
closure="6">
a #GAsyncReadyCallback to call when the request is
+ line="1076">a #GAsyncReadyCallback to call when the request is
satisfied.
@@ -5075,7 +5076,7 @@ function.
allow-none="1">
user data to pass to @callback.
+ line="1078">user data to pass to @callback.
@@ -5085,7 +5086,7 @@ function.
throws="1">
Finishes a file loading started with [method@FileLoader.load_async].
+ line="1179">Finishes a file loading started with [method@FileLoader.load_async].
If the contents has been loaded, the following [class@File] properties will
be updated: the location, the encoding, the newline type and the compression
@@ -5095,20 +5096,20 @@ type.
whether the contents has been loaded successfully.
+ line="1191">whether the contents has been loaded successfully.
a #GtkSourceFileLoader.
+ line="1181">a #GtkSourceFileLoader.
a #GAsyncResult.
+ line="1182">a #GAsyncResult.
@@ -5525,8 +5526,9 @@ See the [iface@Gio.AsyncResult] documentation to know how to use this function.<
destroy="4">
function to call back with
- progress information, or %NULL if progress information is not needed.
+ line="1341">
+ function to call back with progress information, or %NULL if progress
+ information is not needed.
@@ -5536,7 +5538,7 @@ See the [iface@Gio.AsyncResult] documentation to know how to use this function.<
allow-none="1">
user data to pass to @progress_callback.
+ line="1344">user data to pass to @progress_callback.
function to call on
+ line="1345">function to call on
@progress_callback_data when the @progress_callback is no longer needed, or
%NULL.
@@ -5559,7 +5561,7 @@ See the [iface@Gio.AsyncResult] documentation to know how to use this function.<
closure="6">
a #GAsyncReadyCallback to call when the request is
+ line="1348">a #GAsyncReadyCallback to call when the request is
satisfied.
@@ -5569,7 +5571,7 @@ See the [iface@Gio.AsyncResult] documentation to know how to use this function.<
allow-none="1">
user data to pass to @callback.
+ line="1350">user data to pass to @callback.
@@ -5579,7 +5581,7 @@ See the [iface@Gio.AsyncResult] documentation to know how to use this function.<
throws="1">
Finishes a file saving started with [method@FileSaver.save_async].
+ line="1424">Finishes a file saving started with [method@FileSaver.save_async].
If the file has been saved successfully, the following [class@File]
properties will be updated: the location, the encoding, the newline type and
@@ -5592,20 +5594,20 @@ if the file has been saved successfully.
whether the file was saved successfully.
+ line="1439">whether the file was saved successfully.
a #GtkSourceFileSaver.
+ line="1426">a #GtkSourceFileSaver.
a #GAsyncResult.
+ line="1427">a #GAsyncResult.
@@ -8770,16 +8772,16 @@ This can be changed by implementing `GtkSourceIndenter` and setting the
[property@View:indenter] property.
Implementors of this interface should implement both
-[vfunc@Indenter.is_trigger] and [vfunc@Indenter.indent].
+[vfunc@GtkSource.Indenter.is_trigger] and [vfunc@GtkSource.Indenter.indent].
-[vfunc@Indenter.is_trigger] is called upon key-press to
+[vfunc@GtkSource.Indenter.is_trigger] is called upon key-press to
determine of the key press should trigger an indentation. The default
implementation of the interface checks to see if the key was
[const@Gdk.KEY_Return] or [const@Gdk.KEY_KP_Enter] without %GDK_SHIFT_MASK set.
-[vfunc@Indenter.indent] is called after text has been
+[vfunc@GtkSource.Indenter.indent] is called after text has been
inserted into [class@Buffer] when
-[vfunc@Indenter.is_trigger] returned %TRUE. The [struct@Gtk.TextIter]
+[vfunc@GtkSource.Indenter.is_trigger] returned %TRUE. The [struct@Gtk.TextIter]
is placed directly after the inserted character or characters.
It may be beneficial to move the insertion mark using
@@ -8801,7 +8803,7 @@ within the view.
is after having just inserted a newline (\n) character but can be other
situations such as a manually requested indentation or reformatting.
-See [iface@Indenter.is_trigger] for how to trigger indentation on
+See [vfunc@GtkSource.Indenter.is_trigger] for how to trigger indentation on
various characters inserted into the buffer.
The implementor of this function is expected to keep @iter valid across
@@ -8904,7 +8906,7 @@ within the view.
is after having just inserted a newline (\n) character but can be other
situations such as a manually requested indentation or reformatting.
-See [iface@Indenter.is_trigger] for how to trigger indentation on
+See [vfunc@GtkSource.Indenter.is_trigger] for how to trigger indentation on
various characters inserted into the buffer.
The implementor of this function is expected to keep @iter valid across
@@ -9776,7 +9778,7 @@ against at application run time.
-
+
Like gtk_source_get_micro_version(), but from the headers used at
@@ -19327,7 +19329,7 @@ This may be executed in relation to the user running the `:write` or `:w` comman
at runtime instead of compile time. This is useful for compiling
against older versions of GtkSourceView, but using features from newer
versions.
-
+
-
+
-
+
-
+