@girs/gdk-4.0 4.0.0-3.0.0 → 4.0.0-3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,11 @@
1
1
 
2
2
  # Gdk-4.0
3
3
 
4
- GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.0.0.
4
+ ![version](https://img.shields.io/npm/v/@girs/gdk-4.0)
5
+ ![downloads/week](https://img.shields.io/npm/dw/@girs/gdk-4.0)
6
+
7
+
8
+ GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.0.3.
5
9
 
6
10
 
7
11
  ## Install
package/gdk-4.0.d.cts CHANGED
@@ -1080,13 +1080,13 @@ export enum ModifierType {
1080
1080
  export enum PaintableFlags {
1081
1081
  /**
1082
1082
  * The size is immutable.
1083
- * The [signal`GdkPaintable:`:invalidate-size] signal will never be
1083
+ * The [signal`Gdk`.Paintable::invalidate-size] signal will never be
1084
1084
  * emitted.
1085
1085
  */
1086
1086
  SIZE,
1087
1087
  /**
1088
1088
  * The content is immutable.
1089
- * The [signal`GdkPaintable:`:invalidate-contents] signal will never be
1089
+ * The [signal`Gdk`.Paintable::invalidate-contents] signal will never be
1090
1090
  * emitted.
1091
1091
  */
1092
1092
  CONTENTS,
@@ -4409,7 +4409,7 @@ export interface Paintable {
4409
4409
  * to do, it is suggested that you scale your paintable ignoring any potential
4410
4410
  * aspect ratio.
4411
4411
  *
4412
- * The contents that a `GdkPaintable` produces may depend on the [class`GdkSnapshot]`
4412
+ * The contents that a `GdkPaintable` produces may depend on the [class`Gdk`.Snapshot]
4413
4413
  * passed to it. For example, paintables may decide to use more detailed images
4414
4414
  * on higher resolution screens or when OpenGL is available. A `GdkPaintable`
4415
4415
  * will however always produce the same output for the same snapshot.
@@ -4417,7 +4417,7 @@ export interface Paintable {
4417
4417
  * A `GdkPaintable` may change its contents, meaning that it will now produce
4418
4418
  * a different output with the same snapshot. Once that happens, it will call
4419
4419
  * [method`Gdk`.Paintable.invalidate_contents] which will emit the
4420
- * [signal`GdkPaintable:`:invalidate-contents] signal. If a paintable is known
4420
+ * [signal`Gdk`.Paintable::invalidate-contents] signal. If a paintable is known
4421
4421
  * to never change its contents, it will set the %GDK_PAINTABLE_STATIC_CONTENTS
4422
4422
  * flag. If a consumer cannot deal with changing contents, it may call
4423
4423
  * [method`Gdk`.Paintable.get_current_image] which will return a static
@@ -4428,7 +4428,7 @@ export interface Paintable {
4428
4428
  * can use this information to layout thepaintable appropriately. Just like the
4429
4429
  * contents, the size of a paintable can change. A paintable will indicate this
4430
4430
  * by calling [method`Gdk`.Paintable.invalidate_size] which will emit the
4431
- * [signal`GdkPaintable:`:invalidate-size] signal. And just like for contents,
4431
+ * [signal`Gdk`.Paintable::invalidate-size] signal. And just like for contents,
4432
4432
  * if a paintable is known to never change its size, it will set the
4433
4433
  * %GDK_PAINTABLE_STATIC_SIZE flag.
4434
4434
  *
@@ -4542,7 +4542,7 @@ export interface Popup extends Surface {
4542
4542
  * otherwise it will change position according to `layout`.
4543
4543
  *
4544
4544
  * After calling this function, the result should be handled in response
4545
- * to the [signal`GdkSurface:`:layout] signal being emitted. The resulting
4545
+ * to the [signal`Gdk`.Surface::layout] signal being emitted. The resulting
4546
4546
  * popup position can be queried using [method`Gdk`.Popup.get_position_x],
4547
4547
  * [method`Gdk`.Popup.get_position_y], and the resulting size will be sent as
4548
4548
  * parameters in the layout signal. Use [method`Gdk`.Popup.get_rect_anchor]
@@ -4599,7 +4599,7 @@ export interface Popup extends Surface {
4599
4599
  * The `GdkPopup` is positioned relative to its parent surface.
4600
4600
  *
4601
4601
  * `GdkPopup`s are typically used to implement menus and similar popups.
4602
- * They can be modal, which is indicated by the [property`GdkPopup:`autohide]
4602
+ * They can be modal, which is indicated by the [property`Gdk`.Popup:autohide]
4603
4603
  * property.
4604
4604
  * @interface
4605
4605
  */
@@ -4624,7 +4624,7 @@ export module Toplevel {
4624
4624
  * Signal callback interface for `compute-size`
4625
4625
  */
4626
4626
  export interface ComputeSizeSignalCallback {
4627
- ($obj: Toplevel): void
4627
+ ($obj: Toplevel, size: ToplevelSize): void
4628
4628
  }
4629
4629
 
4630
4630
 
@@ -4917,7 +4917,7 @@ export interface Toplevel extends Surface {
4917
4917
 
4918
4918
  connect(sigName: "compute-size", callback: Toplevel.ComputeSizeSignalCallback): number
4919
4919
  connect_after(sigName: "compute-size", callback: Toplevel.ComputeSizeSignalCallback): number
4920
- emit(sigName: "compute-size", ...args: any[]): void
4920
+ emit(sigName: "compute-size", size: ToplevelSize, ...args: any[]): void
4921
4921
 
4922
4922
  // Class property signals of Gdk-4.0.Gdk.Toplevel
4923
4923
 
@@ -8546,7 +8546,7 @@ export interface FrameClock {
8546
8546
  * for the synchronization being implemented, the clock will process a frame and
8547
8547
  * emit signals for each phase that has been requested. (See the signals of the
8548
8548
  * `GdkFrameClock` class for documentation of the phases.
8549
- * %GDK_FRAME_CLOCK_PHASE_UPDATE and the [signal`GdkFrameClock:`:update] signal
8549
+ * %GDK_FRAME_CLOCK_PHASE_UPDATE and the [signal`Gdk`.FrameClock::update] signal
8550
8550
  * are most interesting for application writers, and are used to update the
8551
8551
  * animations, using the frame time given by [method`Gdk`.FrameClock.get_frame_time].
8552
8552
  *
@@ -8558,7 +8558,7 @@ export interface FrameClock {
8558
8558
  * are called at a “similar” time get the same value. This means that
8559
8559
  * if different animations are timed by looking at the difference in
8560
8560
  * time between an initial value from [method`Gdk`.FrameClock.get_frame_time]
8561
- * and the value inside the [signal`GdkFrameClock:`:update] signal of the clock,
8561
+ * and the value inside the [signal`Gdk`.FrameClock::update] signal of the clock,
8562
8562
  * they will stay exactly synchronized.
8563
8563
  * @class
8564
8564
  */
package/gdk-4.0.d.ts CHANGED
@@ -1082,13 +1082,13 @@ enum ModifierType {
1082
1082
  enum PaintableFlags {
1083
1083
  /**
1084
1084
  * The size is immutable.
1085
- * The [signal`GdkPaintable:`:invalidate-size] signal will never be
1085
+ * The [signal`Gdk`.Paintable::invalidate-size] signal will never be
1086
1086
  * emitted.
1087
1087
  */
1088
1088
  SIZE,
1089
1089
  /**
1090
1090
  * The content is immutable.
1091
- * The [signal`GdkPaintable:`:invalidate-contents] signal will never be
1091
+ * The [signal`Gdk`.Paintable::invalidate-contents] signal will never be
1092
1092
  * emitted.
1093
1093
  */
1094
1094
  CONTENTS,
@@ -4411,7 +4411,7 @@ interface Paintable {
4411
4411
  * to do, it is suggested that you scale your paintable ignoring any potential
4412
4412
  * aspect ratio.
4413
4413
  *
4414
- * The contents that a `GdkPaintable` produces may depend on the [class`GdkSnapshot]`
4414
+ * The contents that a `GdkPaintable` produces may depend on the [class`Gdk`.Snapshot]
4415
4415
  * passed to it. For example, paintables may decide to use more detailed images
4416
4416
  * on higher resolution screens or when OpenGL is available. A `GdkPaintable`
4417
4417
  * will however always produce the same output for the same snapshot.
@@ -4419,7 +4419,7 @@ interface Paintable {
4419
4419
  * A `GdkPaintable` may change its contents, meaning that it will now produce
4420
4420
  * a different output with the same snapshot. Once that happens, it will call
4421
4421
  * [method`Gdk`.Paintable.invalidate_contents] which will emit the
4422
- * [signal`GdkPaintable:`:invalidate-contents] signal. If a paintable is known
4422
+ * [signal`Gdk`.Paintable::invalidate-contents] signal. If a paintable is known
4423
4423
  * to never change its contents, it will set the %GDK_PAINTABLE_STATIC_CONTENTS
4424
4424
  * flag. If a consumer cannot deal with changing contents, it may call
4425
4425
  * [method`Gdk`.Paintable.get_current_image] which will return a static
@@ -4430,7 +4430,7 @@ interface Paintable {
4430
4430
  * can use this information to layout thepaintable appropriately. Just like the
4431
4431
  * contents, the size of a paintable can change. A paintable will indicate this
4432
4432
  * by calling [method`Gdk`.Paintable.invalidate_size] which will emit the
4433
- * [signal`GdkPaintable:`:invalidate-size] signal. And just like for contents,
4433
+ * [signal`Gdk`.Paintable::invalidate-size] signal. And just like for contents,
4434
4434
  * if a paintable is known to never change its size, it will set the
4435
4435
  * %GDK_PAINTABLE_STATIC_SIZE flag.
4436
4436
  *
@@ -4544,7 +4544,7 @@ interface Popup extends Surface {
4544
4544
  * otherwise it will change position according to `layout`.
4545
4545
  *
4546
4546
  * After calling this function, the result should be handled in response
4547
- * to the [signal`GdkSurface:`:layout] signal being emitted. The resulting
4547
+ * to the [signal`Gdk`.Surface::layout] signal being emitted. The resulting
4548
4548
  * popup position can be queried using [method`Gdk`.Popup.get_position_x],
4549
4549
  * [method`Gdk`.Popup.get_position_y], and the resulting size will be sent as
4550
4550
  * parameters in the layout signal. Use [method`Gdk`.Popup.get_rect_anchor]
@@ -4601,7 +4601,7 @@ interface Popup extends Surface {
4601
4601
  * The `GdkPopup` is positioned relative to its parent surface.
4602
4602
  *
4603
4603
  * `GdkPopup`s are typically used to implement menus and similar popups.
4604
- * They can be modal, which is indicated by the [property`GdkPopup:`autohide]
4604
+ * They can be modal, which is indicated by the [property`Gdk`.Popup:autohide]
4605
4605
  * property.
4606
4606
  * @interface
4607
4607
  */
@@ -4626,7 +4626,7 @@ module Toplevel {
4626
4626
  * Signal callback interface for `compute-size`
4627
4627
  */
4628
4628
  interface ComputeSizeSignalCallback {
4629
- ($obj: Toplevel): void
4629
+ ($obj: Toplevel, size: ToplevelSize): void
4630
4630
  }
4631
4631
 
4632
4632
 
@@ -4919,7 +4919,7 @@ interface Toplevel extends Surface {
4919
4919
 
4920
4920
  connect(sigName: "compute-size", callback: Toplevel.ComputeSizeSignalCallback): number
4921
4921
  connect_after(sigName: "compute-size", callback: Toplevel.ComputeSizeSignalCallback): number
4922
- emit(sigName: "compute-size", ...args: any[]): void
4922
+ emit(sigName: "compute-size", size: ToplevelSize, ...args: any[]): void
4923
4923
 
4924
4924
  // Class property signals of Gdk-4.0.Gdk.Toplevel
4925
4925
 
@@ -8548,7 +8548,7 @@ interface FrameClock {
8548
8548
  * for the synchronization being implemented, the clock will process a frame and
8549
8549
  * emit signals for each phase that has been requested. (See the signals of the
8550
8550
  * `GdkFrameClock` class for documentation of the phases.
8551
- * %GDK_FRAME_CLOCK_PHASE_UPDATE and the [signal`GdkFrameClock:`:update] signal
8551
+ * %GDK_FRAME_CLOCK_PHASE_UPDATE and the [signal`Gdk`.FrameClock::update] signal
8552
8552
  * are most interesting for application writers, and are used to update the
8553
8553
  * animations, using the frame time given by [method`Gdk`.FrameClock.get_frame_time].
8554
8554
  *
@@ -8560,7 +8560,7 @@ interface FrameClock {
8560
8560
  * are called at a “similar” time get the same value. This means that
8561
8561
  * if different animations are timed by looking at the difference in
8562
8562
  * time between an initial value from [method`Gdk`.FrameClock.get_frame_time]
8563
- * and the value inside the [signal`GdkFrameClock:`:update] signal of the clock,
8563
+ * and the value inside the [signal`Gdk`.FrameClock::update] signal of the clock,
8564
8564
  * they will stay exactly synchronized.
8565
8565
  * @class
8566
8566
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gdk-4.0",
3
- "version": "4.0.0-3.0.0",
3
+ "version": "4.0.0-3.0.3",
4
4
  "description": "GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0",
5
5
  "type": "module",
6
6
  "module": "gdk-4.0.js",
@@ -31,20 +31,20 @@
31
31
  "test:cjs": "tsc --noEmit gdk-4.0.d.cts"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^3.0.0",
35
- "@girs/cairo-1.0": "^1.0.0-3.0.0",
36
- "@girs/pangocairo-1.0": "^1.0.0-3.0.0",
37
- "@girs/pango-1.0": "^1.50.13-3.0.0",
38
- "@girs/harfbuzz-0.0": "^6.0.0-3.0.0",
39
- "@girs/freetype2-2.0": "^2.0.0-3.0.0",
40
- "@girs/gobject-2.0": "^2.76.1-3.0.0",
41
- "@girs/glib-2.0": "^2.76.1-3.0.0",
42
- "@girs/gio-2.0": "^2.76.1-3.0.0",
43
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.0.0",
44
- "@girs/gmodule-2.0": "^2.0.0-3.0.0"
34
+ "@girs/cairo-1.0": "^1.0.0-3.0.3",
35
+ "@girs/freetype2-2.0": "^2.0.0-3.0.3",
36
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.0.3",
37
+ "@girs/gio-2.0": "^2.76.1-3.0.3",
38
+ "@girs/gjs": "^3.0.3",
39
+ "@girs/glib-2.0": "^2.76.1-3.0.3",
40
+ "@girs/gmodule-2.0": "^2.0.0-3.0.3",
41
+ "@girs/gobject-2.0": "^2.76.1-3.0.3",
42
+ "@girs/harfbuzz-0.0": "^7.1.0-3.0.3",
43
+ "@girs/pango-1.0": "^1.50.14-3.0.3",
44
+ "@girs/pangocairo-1.0": "^1.0.0-3.0.3"
45
45
  },
46
46
  "devDependencies": {
47
- "typescript": "^5.0.4"
47
+ "typescript": "*"
48
48
  },
49
49
  "keywords": [
50
50
  "Gir",