@girs/gtef-2 2.0.0-4.0.0-beta.4 → 2.0.0-4.0.0-beta.6

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/gtef-2.d.ts +136 -1
  3. package/package.json +17 -17
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gtef-2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.3.
8
+ GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.6.
9
9
 
10
10
 
11
11
  ## Install
package/gtef-2.d.ts CHANGED
@@ -22,8 +22,8 @@ import type Pango from '@girs/pango-1.0';
22
22
  import type HarfBuzz from '@girs/harfbuzz-0.0';
23
23
  import type freetype2 from '@girs/freetype2-2.0';
24
24
  import type Gio from '@girs/gio-2.0';
25
- import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
26
25
  import type GModule from '@girs/gmodule-2.0';
26
+ import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
27
27
  import type Atk from '@girs/atk-1.0';
28
28
 
29
29
  export namespace Gtef {
@@ -1658,10 +1658,45 @@ export namespace Gtef {
1658
1658
  * @param closure #GClosure to watch
1659
1659
  */
1660
1660
  watch_closure(closure: GObject.Closure): void;
1661
+ /**
1662
+ * the `constructed` function is called by g_object_new() as the
1663
+ * final step of the object creation process. At the point of the call, all
1664
+ * construction properties have been set on the object. The purpose of this
1665
+ * call is to allow for object initialisation steps that can only be performed
1666
+ * after construction properties have been set. `constructed` implementors
1667
+ * should chain up to the `constructed` call of their parent class to allow it
1668
+ * to complete its initialisation.
1669
+ */
1661
1670
  vfunc_constructed(): void;
1671
+ /**
1672
+ * emits property change notification for a bunch
1673
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
1674
+ * needed.
1675
+ * @param n_pspecs
1676
+ * @param pspecs
1677
+ */
1662
1678
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
1679
+ /**
1680
+ * the `dispose` function is supposed to drop all references to other
1681
+ * objects, but keep the instance otherwise intact, so that client method
1682
+ * invocations still work. It may be run multiple times (due to reference
1683
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
1684
+ * of the parent class.
1685
+ */
1663
1686
  vfunc_dispose(): void;
1687
+ /**
1688
+ * instance finalization function, should finish the finalization of
1689
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
1690
+ * parent class.
1691
+ */
1664
1692
  vfunc_finalize(): void;
1693
+ /**
1694
+ * the generic getter for all properties of this type. Should be
1695
+ * overridden for every type with properties.
1696
+ * @param property_id
1697
+ * @param value
1698
+ * @param pspec
1699
+ */
1665
1700
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1666
1701
  /**
1667
1702
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -1677,6 +1712,16 @@ export namespace Gtef {
1677
1712
  * @param pspec
1678
1713
  */
1679
1714
  vfunc_notify(pspec: GObject.ParamSpec): void;
1715
+ /**
1716
+ * the generic setter for all properties of this type. Should be
1717
+ * overridden for every type with properties. If implementations of
1718
+ * `set_property` don't emit property change notification explicitly, this will
1719
+ * be done implicitly by the type system. However, if the notify signal is
1720
+ * emitted explicitly, the type system will not emit it a second time.
1721
+ * @param property_id
1722
+ * @param value
1723
+ * @param pspec
1724
+ */
1680
1725
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1681
1726
  disconnect(id: number): void;
1682
1727
  set(properties: { [key: string]: any }): void;
@@ -2142,10 +2187,45 @@ export namespace Gtef {
2142
2187
  * @param closure #GClosure to watch
2143
2188
  */
2144
2189
  watch_closure(closure: GObject.Closure): void;
2190
+ /**
2191
+ * the `constructed` function is called by g_object_new() as the
2192
+ * final step of the object creation process. At the point of the call, all
2193
+ * construction properties have been set on the object. The purpose of this
2194
+ * call is to allow for object initialisation steps that can only be performed
2195
+ * after construction properties have been set. `constructed` implementors
2196
+ * should chain up to the `constructed` call of their parent class to allow it
2197
+ * to complete its initialisation.
2198
+ */
2145
2199
  vfunc_constructed(): void;
2200
+ /**
2201
+ * emits property change notification for a bunch
2202
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
2203
+ * needed.
2204
+ * @param n_pspecs
2205
+ * @param pspecs
2206
+ */
2146
2207
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
2208
+ /**
2209
+ * the `dispose` function is supposed to drop all references to other
2210
+ * objects, but keep the instance otherwise intact, so that client method
2211
+ * invocations still work. It may be run multiple times (due to reference
2212
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
2213
+ * of the parent class.
2214
+ */
2147
2215
  vfunc_dispose(): void;
2216
+ /**
2217
+ * instance finalization function, should finish the finalization of
2218
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
2219
+ * parent class.
2220
+ */
2148
2221
  vfunc_finalize(): void;
2222
+ /**
2223
+ * the generic getter for all properties of this type. Should be
2224
+ * overridden for every type with properties.
2225
+ * @param property_id
2226
+ * @param value
2227
+ * @param pspec
2228
+ */
2149
2229
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2150
2230
  /**
2151
2231
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -2161,6 +2241,16 @@ export namespace Gtef {
2161
2241
  * @param pspec
2162
2242
  */
2163
2243
  vfunc_notify(pspec: GObject.ParamSpec): void;
2244
+ /**
2245
+ * the generic setter for all properties of this type. Should be
2246
+ * overridden for every type with properties. If implementations of
2247
+ * `set_property` don't emit property change notification explicitly, this will
2248
+ * be done implicitly by the type system. However, if the notify signal is
2249
+ * emitted explicitly, the type system will not emit it a second time.
2250
+ * @param property_id
2251
+ * @param value
2252
+ * @param pspec
2253
+ */
2164
2254
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2165
2255
  disconnect(id: number): void;
2166
2256
  set(properties: { [key: string]: any }): void;
@@ -2574,10 +2664,45 @@ export namespace Gtef {
2574
2664
  * @param closure #GClosure to watch
2575
2665
  */
2576
2666
  watch_closure(closure: GObject.Closure): void;
2667
+ /**
2668
+ * the `constructed` function is called by g_object_new() as the
2669
+ * final step of the object creation process. At the point of the call, all
2670
+ * construction properties have been set on the object. The purpose of this
2671
+ * call is to allow for object initialisation steps that can only be performed
2672
+ * after construction properties have been set. `constructed` implementors
2673
+ * should chain up to the `constructed` call of their parent class to allow it
2674
+ * to complete its initialisation.
2675
+ */
2577
2676
  vfunc_constructed(): void;
2677
+ /**
2678
+ * emits property change notification for a bunch
2679
+ * of properties. Overriding `dispatch_properties_changed` should be rarely
2680
+ * needed.
2681
+ * @param n_pspecs
2682
+ * @param pspecs
2683
+ */
2578
2684
  vfunc_dispatch_properties_changed(n_pspecs: number, pspecs: GObject.ParamSpec): void;
2685
+ /**
2686
+ * the `dispose` function is supposed to drop all references to other
2687
+ * objects, but keep the instance otherwise intact, so that client method
2688
+ * invocations still work. It may be run multiple times (due to reference
2689
+ * loops). Before returning, `dispose` should chain up to the `dispose` method
2690
+ * of the parent class.
2691
+ */
2579
2692
  vfunc_dispose(): void;
2693
+ /**
2694
+ * instance finalization function, should finish the finalization of
2695
+ * the instance begun in `dispose` and chain up to the `finalize` method of the
2696
+ * parent class.
2697
+ */
2580
2698
  vfunc_finalize(): void;
2699
+ /**
2700
+ * the generic getter for all properties of this type. Should be
2701
+ * overridden for every type with properties.
2702
+ * @param property_id
2703
+ * @param value
2704
+ * @param pspec
2705
+ */
2581
2706
  vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2582
2707
  /**
2583
2708
  * Emits a "notify" signal for the property `property_name` on `object`.
@@ -2593,6 +2718,16 @@ export namespace Gtef {
2593
2718
  * @param pspec
2594
2719
  */
2595
2720
  vfunc_notify(pspec: GObject.ParamSpec): void;
2721
+ /**
2722
+ * the generic setter for all properties of this type. Should be
2723
+ * overridden for every type with properties. If implementations of
2724
+ * `set_property` don't emit property change notification explicitly, this will
2725
+ * be done implicitly by the type system. However, if the notify signal is
2726
+ * emitted explicitly, the type system will not emit it a second time.
2727
+ * @param property_id
2728
+ * @param value
2729
+ * @param pspec
2730
+ */
2596
2731
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2597
2732
  disconnect(id: number): void;
2598
2733
  set(properties: { [key: string]: any }): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtef-2",
3
- "version": "2.0.0-4.0.0-beta.4",
3
+ "version": "2.0.0-4.0.0-beta.6",
4
4
  "description": "GJS TypeScript type definitions for Gtef-2, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "gtef-2.js",
@@ -23,24 +23,24 @@
23
23
  }
24
24
  },
25
25
  "scripts": {
26
- "test": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gtef-2.d.ts"
26
+ "test": "tsc --project tsconfig.json"
27
27
  },
28
28
  "dependencies": {
29
- "@girs/atk-1.0": "^2.52.0-4.0.0-beta.4",
30
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.4",
31
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.4",
32
- "@girs/gdk-3.0": "^3.24.41-4.0.0-beta.4",
33
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.4",
34
- "@girs/gio-2.0": "^2.80.0-4.0.0-beta.4",
35
- "@girs/gjs": "^4.0.0-beta.4",
36
- "@girs/glib-2.0": "^2.80.0-4.0.0-beta.4",
37
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.4",
38
- "@girs/gobject-2.0": "^2.80.0-4.0.0-beta.4",
39
- "@girs/gtk-3.0": "^3.24.41-4.0.0-beta.4",
40
- "@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.4",
41
- "@girs/harfbuzz-0.0": "^8.3.1-4.0.0-beta.4",
42
- "@girs/pango-1.0": "^1.52.2-4.0.0-beta.4",
43
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.4"
29
+ "@girs/atk-1.0": "^2.52.0-4.0.0-beta.6",
30
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.6",
31
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.6",
32
+ "@girs/gdk-3.0": "^3.24.42-4.0.0-beta.6",
33
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.6",
34
+ "@girs/gio-2.0": "^2.80.3-4.0.0-beta.6",
35
+ "@girs/gjs": "^4.0.0-beta.6",
36
+ "@girs/glib-2.0": "^2.80.3-4.0.0-beta.6",
37
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.6",
38
+ "@girs/gobject-2.0": "^2.80.3-4.0.0-beta.6",
39
+ "@girs/gtk-3.0": "^3.24.42-4.0.0-beta.6",
40
+ "@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.6",
41
+ "@girs/harfbuzz-0.0": "^8.4.0-4.0.0-beta.6",
42
+ "@girs/pango-1.0": "^1.54.0-4.0.0-beta.6",
43
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.6"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "*"