@girs/goocanvas-2.0 2.0.0-3.2.6 → 2.0.0-3.2.7

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/goocanvas-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GooCanvas-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for GooCanvas-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
  GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for drawing.
11
11
 
@@ -367,7 +367,7 @@ export function cairo_matrix_free(matrix: cairo.Matrix): void
367
367
  * @param property_name the name of the child property to find
368
368
  * @returns the #GParamSpec of the child property or %NULL if @class has no child property with that name.
369
369
  */
370
- export function canvas_item_class_find_child_property(iclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
370
+ export function canvas_item_class_find_child_property(iclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
371
371
  /**
372
372
  * This function is only intended to be used when implementing new canvas
373
373
  * items, specifically layout container items such as #GooCanvasTable.
@@ -397,7 +397,7 @@ export function canvas_item_class_list_child_properties(iclass: GObject.ObjectCl
397
397
  * @param property_name the name of the child property to find
398
398
  * @returns The #GParamSpec of the child property or %NULL if @class has no child property with that name.
399
399
  */
400
- export function canvas_item_model_class_find_child_property(mclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
400
+ export function canvas_item_model_class_find_child_property(mclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
401
401
  /**
402
402
  * This function is only intended to be used when implementing new canvas
403
403
  * item models, specifically layout container item models such as
@@ -654,7 +654,7 @@ export interface CanvasItem {
654
654
  * @param property_name the name of the child property to get.
655
655
  * @param value a location to return the value.
656
656
  */
657
- get_child_property(child: CanvasItem, property_name: string | null, value: any): void
657
+ get_child_property(child: CanvasItem, property_name: string, value: any): void
658
658
  /**
659
659
  * Returns %TRUE if the item is static. Static items do not move or change
660
660
  * size when the canvas is scrolled or the scale changes.
@@ -846,7 +846,7 @@ export interface CanvasItem {
846
846
  * @param property_name the name of the child property to set.
847
847
  * @param value the value to set the property to.
848
848
  */
849
- set_child_property(child: CanvasItem, property_name: string | null, value: any): void
849
+ set_child_property(child: CanvasItem, property_name: string, value: any): void
850
850
  /**
851
851
  * Notifies the item that it is static. Static items do not move or change
852
852
  * size when the canvas is scrolled or the scale changes.
@@ -1315,7 +1315,7 @@ export class CanvasItem extends GObject.Object {
1315
1315
  * @param property_name the name of the child property to find
1316
1316
  * @returns the #GParamSpec of the child property or %NULL if @class has no child property with that name.
1317
1317
  */
1318
- static class_find_child_property(iclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
1318
+ static class_find_child_property(iclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
1319
1319
  /**
1320
1320
  * This function is only intended to be used when implementing new canvas
1321
1321
  * items, specifically layout container items such as #GooCanvasTable.
@@ -1462,7 +1462,7 @@ export interface CanvasItemModel {
1462
1462
  * @param property_name the name of the child property to get.
1463
1463
  * @param value a location to return the value.
1464
1464
  */
1465
- get_child_property(child: CanvasItemModel, property_name: string | null, value: any): void
1465
+ get_child_property(child: CanvasItemModel, property_name: string, value: any): void
1466
1466
  /**
1467
1467
  * Gets the number of children of the container.
1468
1468
  * @returns the number of children.
@@ -1551,7 +1551,7 @@ export interface CanvasItemModel {
1551
1551
  * @param property_name the name of the child property to set.
1552
1552
  * @param value the value to set the property to.
1553
1553
  */
1554
- set_child_property(child: CanvasItemModel, property_name: string | null, value: any): void
1554
+ set_child_property(child: CanvasItemModel, property_name: string, value: any): void
1555
1555
  /**
1556
1556
  * This function is only intended to be used when implementing new canvas
1557
1557
  * item models (specifically container models such as #GooCanvasGroupModel).
@@ -1788,7 +1788,7 @@ export class CanvasItemModel extends GObject.Object {
1788
1788
  * @param property_name the name of the child property to find
1789
1789
  * @returns The #GParamSpec of the child property or %NULL if @class has no child property with that name.
1790
1790
  */
1791
- static class_find_child_property(mclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
1791
+ static class_find_child_property(mclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
1792
1792
  /**
1793
1793
  * This function is only intended to be used when implementing new canvas
1794
1794
  * item models, specifically layout container item models such as
@@ -2365,7 +2365,7 @@ export interface Canvas extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrolla
2365
2365
  * @param child the child widget
2366
2366
  * @param child_property the name of a child property installed on the class of `container`
2367
2367
  */
2368
- child_notify(child: Gtk.Widget, child_property: string | null): void
2368
+ child_notify(child: Gtk.Widget, child_property: string): void
2369
2369
 
2370
2370
  // Overloads of child_notify
2371
2371
 
@@ -2379,7 +2379,7 @@ export interface Canvas extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrolla
2379
2379
  * Also see gtk_container_child_notify().
2380
2380
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2381
2381
  */
2382
- child_notify(child_property: string | null): void
2382
+ child_notify(child_property: string): void
2383
2383
  /**
2384
2384
  * Emits a #GtkWidget::child-notify signal for the
2385
2385
  * [child property][child-properties] `child_property`
@@ -2390,7 +2390,7 @@ export interface Canvas extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrolla
2390
2390
  * Also see gtk_container_child_notify().
2391
2391
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2392
2392
  */
2393
- child_notify(child_property: string | null): void
2393
+ child_notify(child_property: string): void
2394
2394
 
2395
2395
  // Own virtual methods of GooCanvas-2.0.GooCanvas.Canvas
2396
2396
 
@@ -2755,7 +2755,7 @@ export class Canvas extends Gtk.Container {
2755
2755
  * @param path_data the sequence of path commands, specified as a string using the same syntax as in the <ulink url="http://www.w3.org/Graphics/SVG/">Scalable Vector Graphics (SVG)</ulink> path element.
2756
2756
  * @returns a #GArray of #GooCanvasPathCommand elements.
2757
2757
  */
2758
- static parse_path_data(path_data: string | null): CanvasPathCommand[]
2758
+ static parse_path_data(path_data: string): CanvasPathCommand[]
2759
2759
  }
2760
2760
 
2761
2761
  export module CanvasAccessibleFactory {
@@ -6796,7 +6796,7 @@ export interface CanvasStyle {
6796
6796
  * @param property_name the name of the property to get
6797
6797
  * @param value return location for the property value
6798
6798
  */
6799
- get_property(property_name: string | null, value: any): void
6799
+ get_property(property_name: string, value: any): void
6800
6800
  /**
6801
6801
  * Sets the standard cairo fill options using the given style.
6802
6802
  * @param cr a cairo context.
@@ -6825,7 +6825,7 @@ export interface CanvasStyle {
6825
6825
  * @param property_name the name of the property to set
6826
6826
  * @param value the value
6827
6827
  */
6828
- set_property(property_name: string | null, value: any): void
6828
+ set_property(property_name: string, value: any): void
6829
6829
  /**
6830
6830
  * Sets the standard cairo stroke options using the given style.
6831
6831
  * @param cr a cairo context.
@@ -369,7 +369,7 @@ function cairo_matrix_free(matrix: cairo.Matrix): void
369
369
  * @param property_name the name of the child property to find
370
370
  * @returns the #GParamSpec of the child property or %NULL if @class has no child property with that name.
371
371
  */
372
- function canvas_item_class_find_child_property(iclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
372
+ function canvas_item_class_find_child_property(iclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
373
373
  /**
374
374
  * This function is only intended to be used when implementing new canvas
375
375
  * items, specifically layout container items such as #GooCanvasTable.
@@ -399,7 +399,7 @@ function canvas_item_class_list_child_properties(iclass: GObject.ObjectClass): G
399
399
  * @param property_name the name of the child property to find
400
400
  * @returns The #GParamSpec of the child property or %NULL if @class has no child property with that name.
401
401
  */
402
- function canvas_item_model_class_find_child_property(mclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
402
+ function canvas_item_model_class_find_child_property(mclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
403
403
  /**
404
404
  * This function is only intended to be used when implementing new canvas
405
405
  * item models, specifically layout container item models such as
@@ -656,7 +656,7 @@ interface CanvasItem {
656
656
  * @param property_name the name of the child property to get.
657
657
  * @param value a location to return the value.
658
658
  */
659
- get_child_property(child: CanvasItem, property_name: string | null, value: any): void
659
+ get_child_property(child: CanvasItem, property_name: string, value: any): void
660
660
  /**
661
661
  * Returns %TRUE if the item is static. Static items do not move or change
662
662
  * size when the canvas is scrolled or the scale changes.
@@ -848,7 +848,7 @@ interface CanvasItem {
848
848
  * @param property_name the name of the child property to set.
849
849
  * @param value the value to set the property to.
850
850
  */
851
- set_child_property(child: CanvasItem, property_name: string | null, value: any): void
851
+ set_child_property(child: CanvasItem, property_name: string, value: any): void
852
852
  /**
853
853
  * Notifies the item that it is static. Static items do not move or change
854
854
  * size when the canvas is scrolled or the scale changes.
@@ -1317,7 +1317,7 @@ class CanvasItem extends GObject.Object {
1317
1317
  * @param property_name the name of the child property to find
1318
1318
  * @returns the #GParamSpec of the child property or %NULL if @class has no child property with that name.
1319
1319
  */
1320
- static class_find_child_property(iclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
1320
+ static class_find_child_property(iclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
1321
1321
  /**
1322
1322
  * This function is only intended to be used when implementing new canvas
1323
1323
  * items, specifically layout container items such as #GooCanvasTable.
@@ -1464,7 +1464,7 @@ interface CanvasItemModel {
1464
1464
  * @param property_name the name of the child property to get.
1465
1465
  * @param value a location to return the value.
1466
1466
  */
1467
- get_child_property(child: CanvasItemModel, property_name: string | null, value: any): void
1467
+ get_child_property(child: CanvasItemModel, property_name: string, value: any): void
1468
1468
  /**
1469
1469
  * Gets the number of children of the container.
1470
1470
  * @returns the number of children.
@@ -1553,7 +1553,7 @@ interface CanvasItemModel {
1553
1553
  * @param property_name the name of the child property to set.
1554
1554
  * @param value the value to set the property to.
1555
1555
  */
1556
- set_child_property(child: CanvasItemModel, property_name: string | null, value: any): void
1556
+ set_child_property(child: CanvasItemModel, property_name: string, value: any): void
1557
1557
  /**
1558
1558
  * This function is only intended to be used when implementing new canvas
1559
1559
  * item models (specifically container models such as #GooCanvasGroupModel).
@@ -1790,7 +1790,7 @@ class CanvasItemModel extends GObject.Object {
1790
1790
  * @param property_name the name of the child property to find
1791
1791
  * @returns The #GParamSpec of the child property or %NULL if @class has no child property with that name.
1792
1792
  */
1793
- static class_find_child_property(mclass: GObject.ObjectClass, property_name: string | null): GObject.ParamSpec
1793
+ static class_find_child_property(mclass: GObject.ObjectClass, property_name: string): GObject.ParamSpec
1794
1794
  /**
1795
1795
  * This function is only intended to be used when implementing new canvas
1796
1796
  * item models, specifically layout container item models such as
@@ -2367,7 +2367,7 @@ interface Canvas extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
2367
2367
  * @param child the child widget
2368
2368
  * @param child_property the name of a child property installed on the class of `container`
2369
2369
  */
2370
- child_notify(child: Gtk.Widget, child_property: string | null): void
2370
+ child_notify(child: Gtk.Widget, child_property: string): void
2371
2371
 
2372
2372
  // Overloads of child_notify
2373
2373
 
@@ -2381,7 +2381,7 @@ interface Canvas extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
2381
2381
  * Also see gtk_container_child_notify().
2382
2382
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2383
2383
  */
2384
- child_notify(child_property: string | null): void
2384
+ child_notify(child_property: string): void
2385
2385
  /**
2386
2386
  * Emits a #GtkWidget::child-notify signal for the
2387
2387
  * [child property][child-properties] `child_property`
@@ -2392,7 +2392,7 @@ interface Canvas extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable {
2392
2392
  * Also see gtk_container_child_notify().
2393
2393
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2394
2394
  */
2395
- child_notify(child_property: string | null): void
2395
+ child_notify(child_property: string): void
2396
2396
 
2397
2397
  // Own virtual methods of GooCanvas-2.0.GooCanvas.Canvas
2398
2398
 
@@ -2757,7 +2757,7 @@ class Canvas extends Gtk.Container {
2757
2757
  * @param path_data the sequence of path commands, specified as a string using the same syntax as in the <ulink url="http://www.w3.org/Graphics/SVG/">Scalable Vector Graphics (SVG)</ulink> path element.
2758
2758
  * @returns a #GArray of #GooCanvasPathCommand elements.
2759
2759
  */
2760
- static parse_path_data(path_data: string | null): CanvasPathCommand[]
2760
+ static parse_path_data(path_data: string): CanvasPathCommand[]
2761
2761
  }
2762
2762
 
2763
2763
  module CanvasAccessibleFactory {
@@ -6798,7 +6798,7 @@ interface CanvasStyle {
6798
6798
  * @param property_name the name of the property to get
6799
6799
  * @param value return location for the property value
6800
6800
  */
6801
- get_property(property_name: string | null, value: any): void
6801
+ get_property(property_name: string, value: any): void
6802
6802
  /**
6803
6803
  * Sets the standard cairo fill options using the given style.
6804
6804
  * @param cr a cairo context.
@@ -6827,7 +6827,7 @@ interface CanvasStyle {
6827
6827
  * @param property_name the name of the property to set
6828
6828
  * @param value the value
6829
6829
  */
6830
- set_property(property_name: string | null, value: any): void
6830
+ set_property(property_name: string, value: any): void
6831
6831
  /**
6832
6832
  * Sets the standard cairo stroke options using the given style.
6833
6833
  * @param cr a cairo context.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/goocanvas-2.0",
3
- "version": "2.0.0-3.2.6",
3
+ "version": "2.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for GooCanvas-2.0, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "goocanvas-2.0.js",
@@ -25,20 +25,20 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit goocanvas-2.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.6",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.6",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.6",
31
- "@girs/gdk-3.0": "^3.24.38-3.2.6",
32
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.6",
33
- "@girs/gio-2.0": "^2.78.0-3.2.6",
34
- "@girs/gjs": "^3.2.6",
35
- "@girs/glib-2.0": "^2.78.0-3.2.6",
36
- "@girs/gmodule-2.0": "^2.0.0-3.2.6",
37
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
38
- "@girs/gtk-3.0": "^3.24.38-3.2.6",
39
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
40
- "@girs/pango-1.0": "^1.51.0-3.2.6",
41
- "@girs/xlib-2.0": "^2.0.0-3.2.6"
28
+ "@girs/atk-1.0": "^2.50.0-3.2.7",
29
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
+ "@girs/freetype2-2.0": "^2.0.0-3.2.7",
31
+ "@girs/gdk-3.0": "^3.24.38-3.2.7",
32
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
33
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
34
+ "@girs/gjs": "^3.2.7",
35
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
36
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
37
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
38
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
39
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
40
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
41
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "*"