@girs/gdkwayland-4.0 4.0.0-3.2.2 → 4.0.0-3.2.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
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gdkwayland-4.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GdkWayland-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.2.
8
+ GJS TypeScript type definitions for GdkWayland-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.3.
9
9
 
10
10
  Wayland backend-specific API for gdk4.
11
11
 
@@ -14,12 +14,12 @@ import './gdkwayland-4.0-import.d.ts';
14
14
 
15
15
  import type Gdk from '@girs/gdk-4.0';
16
16
  import type cairo from '@girs/cairo-1.0';
17
- import type GObject from '@girs/gobject-2.0';
18
- import type GLib from '@girs/glib-2.0';
19
17
  import type PangoCairo from '@girs/pangocairo-1.0';
20
18
  import type Pango from '@girs/pango-1.0';
21
19
  import type HarfBuzz from '@girs/harfbuzz-0.0';
22
20
  import type freetype2 from '@girs/freetype2-2.0';
21
+ import type GObject from '@girs/gobject-2.0';
22
+ import type GLib from '@girs/glib-2.0';
23
23
  import type Gio from '@girs/gio-2.0';
24
24
  import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
25
25
  import type GModule from '@girs/gmodule-2.0';
@@ -397,9 +397,6 @@ export interface WaylandPopup extends Gdk.Popup {
397
397
  connect(sigName: "notify::mapped", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
398
398
  connect_after(sigName: "notify::mapped", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
399
399
  emit(sigName: "notify::mapped", ...args: any[]): void
400
- connect(sigName: "notify::scale", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
401
- connect_after(sigName: "notify::scale", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
402
- emit(sigName: "notify::scale", ...args: any[]): void
403
400
  connect(sigName: "notify::scale-factor", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
404
401
  connect_after(sigName: "notify::scale-factor", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
405
402
  emit(sigName: "notify::scale-factor", ...args: any[]): void
@@ -506,9 +503,6 @@ export interface WaylandSurface {
506
503
  connect(sigName: "notify::mapped", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
507
504
  connect_after(sigName: "notify::mapped", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
508
505
  emit(sigName: "notify::mapped", ...args: any[]): void
509
- connect(sigName: "notify::scale", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
510
- connect_after(sigName: "notify::scale", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
511
- emit(sigName: "notify::scale", ...args: any[]): void
512
506
  connect(sigName: "notify::scale-factor", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
513
507
  connect_after(sigName: "notify::scale-factor", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
514
508
  emit(sigName: "notify::scale-factor", ...args: any[]): void
@@ -555,14 +549,6 @@ export interface WaylandToplevel extends Gdk.Toplevel {
555
549
 
556
550
  // Owm methods of GdkWayland-4.0.GdkWayland.WaylandToplevel
557
551
 
558
- /**
559
- * Destroy a handle that was obtained with gdk_wayland_toplevel_export_handle().
560
- *
561
- * Note that this API depends on an unstable Wayland protocol,
562
- * and thus may require changes in the future.
563
- * @param handle the handle to drop
564
- */
565
- drop_exported_handle(handle: string | null): void
566
552
  /**
567
553
  * Asynchronously obtains a handle for a surface that can be passed
568
554
  * to other processes.
@@ -579,12 +565,6 @@ export interface WaylandToplevel extends Gdk.Toplevel {
579
565
  * from another surface as transient for this one, see
580
566
  * [method`GdkWayland`.WaylandToplevel.set_transient_for_exported].
581
567
  *
582
- * Before 4.12, this API could not safely be used multiple times,
583
- * since there was no reference counting for handles. Starting with
584
- * 4.12, every call to this function obtains a new handle, and every
585
- * call to [method`GdkWayland`.WaylandToplevel.drop_exported_handle] drops
586
- * just the handle that it is given.
587
- *
588
568
  * Note that this API depends on an unstable Wayland protocol,
589
569
  * and thus may require changes in the future.
590
570
  * @param callback callback to call with the handle
@@ -616,10 +596,6 @@ export interface WaylandToplevel extends Gdk.Toplevel {
616
596
  * It is an error to call this function on a surface that
617
597
  * does not have a handle.
618
598
  *
619
- * Since 4.12, this function does nothing. Use
620
- * [method`GdkWayland`.WaylandToplevel.drop_exported_handle] instead to drop a
621
- * handle that was obtained with [method`GdkWayland`.WaylandToplevel.export_handle].
622
- *
623
599
  * Note that this API depends on an unstable Wayland protocol,
624
600
  * and thus may require changes in the future.
625
601
  */
@@ -642,9 +618,6 @@ export interface WaylandToplevel extends Gdk.Toplevel {
642
618
  connect(sigName: "notify::mapped", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
643
619
  connect_after(sigName: "notify::mapped", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
644
620
  emit(sigName: "notify::mapped", ...args: any[]): void
645
- connect(sigName: "notify::scale", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
646
- connect_after(sigName: "notify::scale", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
647
- emit(sigName: "notify::scale", ...args: any[]): void
648
621
  connect(sigName: "notify::scale-factor", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
649
622
  connect_after(sigName: "notify::scale-factor", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
650
623
  emit(sigName: "notify::scale-factor", ...args: any[]): void
@@ -14,12 +14,12 @@ import './gdkwayland-4.0-import.d.ts';
14
14
 
15
15
  import type Gdk from '@girs/gdk-4.0';
16
16
  import type cairo from '@girs/cairo-1.0';
17
- import type GObject from '@girs/gobject-2.0';
18
- import type GLib from '@girs/glib-2.0';
19
17
  import type PangoCairo from '@girs/pangocairo-1.0';
20
18
  import type Pango from '@girs/pango-1.0';
21
19
  import type HarfBuzz from '@girs/harfbuzz-0.0';
22
20
  import type freetype2 from '@girs/freetype2-2.0';
21
+ import type GObject from '@girs/gobject-2.0';
22
+ import type GLib from '@girs/glib-2.0';
23
23
  import type Gio from '@girs/gio-2.0';
24
24
  import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
25
25
  import type GModule from '@girs/gmodule-2.0';
@@ -399,9 +399,6 @@ interface WaylandPopup extends Gdk.Popup {
399
399
  connect(sigName: "notify::mapped", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
400
400
  connect_after(sigName: "notify::mapped", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
401
401
  emit(sigName: "notify::mapped", ...args: any[]): void
402
- connect(sigName: "notify::scale", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
403
- connect_after(sigName: "notify::scale", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
404
- emit(sigName: "notify::scale", ...args: any[]): void
405
402
  connect(sigName: "notify::scale-factor", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
406
403
  connect_after(sigName: "notify::scale-factor", callback: (($obj: WaylandPopup, pspec: GObject.ParamSpec) => void)): number
407
404
  emit(sigName: "notify::scale-factor", ...args: any[]): void
@@ -508,9 +505,6 @@ interface WaylandSurface {
508
505
  connect(sigName: "notify::mapped", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
509
506
  connect_after(sigName: "notify::mapped", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
510
507
  emit(sigName: "notify::mapped", ...args: any[]): void
511
- connect(sigName: "notify::scale", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
512
- connect_after(sigName: "notify::scale", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
513
- emit(sigName: "notify::scale", ...args: any[]): void
514
508
  connect(sigName: "notify::scale-factor", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
515
509
  connect_after(sigName: "notify::scale-factor", callback: (($obj: WaylandSurface, pspec: GObject.ParamSpec) => void)): number
516
510
  emit(sigName: "notify::scale-factor", ...args: any[]): void
@@ -557,14 +551,6 @@ interface WaylandToplevel extends Gdk.Toplevel {
557
551
 
558
552
  // Owm methods of GdkWayland-4.0.GdkWayland.WaylandToplevel
559
553
 
560
- /**
561
- * Destroy a handle that was obtained with gdk_wayland_toplevel_export_handle().
562
- *
563
- * Note that this API depends on an unstable Wayland protocol,
564
- * and thus may require changes in the future.
565
- * @param handle the handle to drop
566
- */
567
- drop_exported_handle(handle: string | null): void
568
554
  /**
569
555
  * Asynchronously obtains a handle for a surface that can be passed
570
556
  * to other processes.
@@ -581,12 +567,6 @@ interface WaylandToplevel extends Gdk.Toplevel {
581
567
  * from another surface as transient for this one, see
582
568
  * [method`GdkWayland`.WaylandToplevel.set_transient_for_exported].
583
569
  *
584
- * Before 4.12, this API could not safely be used multiple times,
585
- * since there was no reference counting for handles. Starting with
586
- * 4.12, every call to this function obtains a new handle, and every
587
- * call to [method`GdkWayland`.WaylandToplevel.drop_exported_handle] drops
588
- * just the handle that it is given.
589
- *
590
570
  * Note that this API depends on an unstable Wayland protocol,
591
571
  * and thus may require changes in the future.
592
572
  * @param callback callback to call with the handle
@@ -618,10 +598,6 @@ interface WaylandToplevel extends Gdk.Toplevel {
618
598
  * It is an error to call this function on a surface that
619
599
  * does not have a handle.
620
600
  *
621
- * Since 4.12, this function does nothing. Use
622
- * [method`GdkWayland`.WaylandToplevel.drop_exported_handle] instead to drop a
623
- * handle that was obtained with [method`GdkWayland`.WaylandToplevel.export_handle].
624
- *
625
601
  * Note that this API depends on an unstable Wayland protocol,
626
602
  * and thus may require changes in the future.
627
603
  */
@@ -644,9 +620,6 @@ interface WaylandToplevel extends Gdk.Toplevel {
644
620
  connect(sigName: "notify::mapped", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
645
621
  connect_after(sigName: "notify::mapped", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
646
622
  emit(sigName: "notify::mapped", ...args: any[]): void
647
- connect(sigName: "notify::scale", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
648
- connect_after(sigName: "notify::scale", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
649
- emit(sigName: "notify::scale", ...args: any[]): void
650
623
  connect(sigName: "notify::scale-factor", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
651
624
  connect_after(sigName: "notify::scale-factor", callback: (($obj: WaylandToplevel, pspec: GObject.ParamSpec) => void)): number
652
625
  emit(sigName: "notify::scale-factor", ...args: any[]): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gdkwayland-4.0",
3
- "version": "4.0.0-3.2.2",
3
+ "version": "4.0.0-3.2.3",
4
4
  "description": "GJS TypeScript type definitions for GdkWayland-4.0, generated from library version 4.0.0",
5
5
  "type": "module",
6
6
  "module": "gdkwayland-4.0.js",
@@ -25,18 +25,18 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gdkwayland-4.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/cairo-1.0": "^1.0.0-3.2.2",
29
- "@girs/freetype2-2.0": "^2.0.0-3.2.2",
30
- "@girs/gdk-4.0": "^4.0.0-3.2.2",
31
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.2",
32
- "@girs/gio-2.0": "^2.77.0-3.2.2",
33
- "@girs/gjs": "^3.2.2",
34
- "@girs/glib-2.0": "^2.77.0-3.2.2",
35
- "@girs/gmodule-2.0": "^2.0.0-3.2.2",
36
- "@girs/gobject-2.0": "^2.77.0-3.2.2",
37
- "@girs/harfbuzz-0.0": "^7.1.0-3.2.2",
38
- "@girs/pango-1.0": "^1.51.0-3.2.2",
39
- "@girs/pangocairo-1.0": "^1.0.0-3.2.2"
28
+ "@girs/cairo-1.0": "^1.0.0-3.2.3",
29
+ "@girs/freetype2-2.0": "^2.0.0-3.2.3",
30
+ "@girs/gdk-4.0": "^4.0.0-3.2.3",
31
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.3",
32
+ "@girs/gio-2.0": "^2.76.1-3.2.3",
33
+ "@girs/gjs": "^3.2.3",
34
+ "@girs/glib-2.0": "^2.76.1-3.2.3",
35
+ "@girs/gmodule-2.0": "^2.0.0-3.2.3",
36
+ "@girs/gobject-2.0": "^2.76.1-3.2.3",
37
+ "@girs/harfbuzz-0.0": "^7.1.0-3.2.3",
38
+ "@girs/pango-1.0": "^1.50.14-3.2.3",
39
+ "@girs/pangocairo-1.0": "^1.0.0-3.2.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "typescript": "*"