From f4a7b950ef3ee3d434341f0c5de6e8195414ab20 Mon Sep 17 00:00:00 2001 From: sdroege Date: Sun, 4 Feb 2024 01:12:06 +0000 Subject: [PATCH] Update GIR files --- Atk-1.0.gir | 37 +++++++++++++++++++++++++++++++++++++ Gdk-4.0.gir | 31 +++++++++++++++++++++++++++++-- 2 files changed, 66 insertions(+), 2 deletions(-) diff --git a/Atk-1.0.gir b/Atk-1.0.gir index a9ccfea3..e6de003d 100644 --- a/Atk-1.0.gir +++ b/Atk-1.0.gir @@ -2256,6 +2256,25 @@ ask for the document type if it applies. + + The "document-attribute-changed" signal should be emitted when there is a +change to one of the document attributes returned by +atk_document_get_attributes. + + + + + + the name of the attribute being modified, or %NULL if not + available. + + + + the attribute's new value, or %null if not available. + + + + The 'load-complete' signal is emitted when a pending load of a static document has completed. This signal is to be @@ -5911,6 +5930,24 @@ Depcrecated (2.50): Use AtkObject::notification instead. + + The "attribute-changed" signal should be emitted when one of an object's +attributes changes. + + + + + + the name of the attribute being modified, or %NULL if not + available. + + + + the attribute's new value, or %null if not available. + + + + The signal "children-changed" is emitted when a child is added or removed from an object. It supports two details: "add" and diff --git a/Gdk-4.0.gir b/Gdk-4.0.gir index 09797837..e7d85587 100644 --- a/Gdk-4.0.gir +++ b/Gdk-4.0.gir @@ -15593,7 +15593,7 @@ This can be used to identify a monitor in the UI. display coordinate space. The returned geometry is in ”application pixels”, not in -”device pixels” (see [method@Gdk.Monitor.get_scale_factor]). +”device pixels” (see [method@Gdk.Monitor.get_scale]). @@ -15673,6 +15673,25 @@ is returned as 60000. + + + Gets the internal scale factor that maps from monitor coordinates +to device pixels. + +This can be used if you want to create pixel based data for a +particular monitor, but most of the time you’re drawing to a surface +where it is better to use [method@Gdk.Surface.get_scale] instead. + + the scale + + + + + a `GdkMonitor` + + + + Gets the internal scale factor that maps from monitor coordinates @@ -15782,9 +15801,17 @@ is unplugged or removed. The refresh rate, in milli-Hertz. + + + The scale of the monitor. + + - The scale factor. + The scale factor. + +The scale factor is the next larger integer, +compared to [property@Gdk.Surface:scale].