@girs/gtef-2 2.0.0-4.0.0-beta.38 → 2.0.0-4.0.0-beta.40

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 +18 -52
  3. package/package.json +16 -16
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.38.
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.40.
9
9
 
10
10
  ## Install
11
11
 
package/gtef-2.d.ts CHANGED
@@ -44,11 +44,12 @@ export namespace Gtef {
44
44
  */
45
45
  GZIP,
46
46
  }
47
+
47
48
  /**
48
49
  * An error code used with the %GTEF_FILE_LOADER_ERROR domain.
49
50
  */
50
51
  class FileLoaderError extends GLib.Error {
51
- static $gtype: GObject.GType<FileLoaderError>;
52
+ static $gtype: GObject.GType<GLib.Error>;
52
53
 
53
54
  // Static fields
54
55
 
@@ -65,7 +66,6 @@ export namespace Gtef {
65
66
  // Constructors
66
67
 
67
68
  constructor(options: { message: string; code: number });
68
- _init(...args: any[]): void;
69
69
 
70
70
  // Static methods
71
71
 
@@ -76,7 +76,7 @@ export namespace Gtef {
76
76
  * An error code used with the %GTEF_FILE_SAVER_ERROR domain.
77
77
  */
78
78
  class FileSaverError extends GLib.Error {
79
- static $gtype: GObject.GType<FileSaverError>;
79
+ static $gtype: GObject.GType<GLib.Error>;
80
80
 
81
81
  // Static fields
82
82
 
@@ -94,7 +94,6 @@ export namespace Gtef {
94
94
  // Constructors
95
95
 
96
96
  constructor(options: { message: string; code: number });
97
- _init(...args: any[]): void;
98
97
 
99
98
  // Static methods
100
99
 
@@ -140,6 +139,7 @@ export namespace Gtef {
140
139
  */
141
140
  MULTIPLE_LINES,
142
141
  }
142
+
143
143
  /**
144
144
  * A wrapper function for g_action_map_add_action_entries() that checks
145
145
  * duplicates.
@@ -242,17 +242,13 @@ export namespace Gtef {
242
242
  * @returns the URI of @item. Free with g_free() when no longer needed.
243
243
  */
244
244
  function utils_recent_chooser_menu_get_item_uri(menu: Gtk.RecentChooserMenu, item: Gtk.MenuItem): string;
245
- /**
246
- * Flags to define the behavior of a #GtefFileSaver.
247
- */
248
-
249
- /**
250
- * Flags to define the behavior of a #GtefFileSaver.
251
- */
252
245
  export namespace FileSaverFlags {
253
246
  export const $gtype: GObject.GType<FileSaverFlags>;
254
247
  }
255
248
 
249
+ /**
250
+ * Flags to define the behavior of a #GtefFileSaver.
251
+ */
256
252
  enum FileSaverFlags {
257
253
  /**
258
254
  * No flags.
@@ -271,13 +267,10 @@ export namespace Gtef {
271
267
  */
272
268
  CREATE_BACKUP,
273
269
  }
274
- /**
275
- * The folding state at a certain line in the #GtkTextBuffer.
276
- *
277
- * Since #GtefGutterRendererFolds has a flat view of the folding tree, some
278
- * states can be combined; for example, %GTEF_GUTTER_RENDERER_FOLDS_STATE_END
279
- * and %GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE.
280
- */
270
+
271
+ export namespace GutterRendererFoldsState {
272
+ export const $gtype: GObject.GType<GutterRendererFoldsState>;
273
+ }
281
274
 
282
275
  /**
283
276
  * The folding state at a certain line in the #GtkTextBuffer.
@@ -286,10 +279,6 @@ export namespace Gtef {
286
279
  * states can be combined; for example, %GTEF_GUTTER_RENDERER_FOLDS_STATE_END
287
280
  * and %GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE.
288
281
  */
289
- export namespace GutterRendererFoldsState {
290
- export const $gtype: GObject.GType<GutterRendererFoldsState>;
291
- }
292
-
293
282
  enum GutterRendererFoldsState {
294
283
  /**
295
284
  * No code folding here.
@@ -314,6 +303,7 @@ export namespace Gtef {
314
303
  */
315
304
  END,
316
305
  }
306
+
317
307
  namespace ActionInfoCentralStore {
318
308
  // Signal signatures
319
309
  interface SignalSignatures extends GObject.Object.SignalSignatures {}
@@ -1850,7 +1840,8 @@ export namespace Gtef {
1850
1840
  // Constructor properties interface
1851
1841
 
1852
1842
  interface ConstructorProps
1853
- extends Gtk.InfoBar.ConstructorProps,
1843
+ extends
1844
+ Gtk.InfoBar.ConstructorProps,
1854
1845
  Atk.ImplementorIface.ConstructorProps,
1855
1846
  Gtk.Buildable.ConstructorProps,
1856
1847
  Gtk.Orientable.ConstructorProps {}
@@ -2523,7 +2514,8 @@ export namespace Gtef {
2523
2514
  // Constructor properties interface
2524
2515
 
2525
2516
  interface ConstructorProps
2526
- extends Gtk.Grid.ConstructorProps,
2517
+ extends
2518
+ Gtk.Grid.ConstructorProps,
2527
2519
  Atk.ImplementorIface.ConstructorProps,
2528
2520
  Gtk.Buildable.ConstructorProps,
2529
2521
  Gtk.Orientable.ConstructorProps {}
@@ -3128,7 +3120,8 @@ export namespace Gtef {
3128
3120
  // Constructor properties interface
3129
3121
 
3130
3122
  interface ConstructorProps
3131
- extends GtkSource.View.ConstructorProps,
3123
+ extends
3124
+ GtkSource.View.ConstructorProps,
3132
3125
  Atk.ImplementorIface.ConstructorProps,
3133
3126
  Gtk.Buildable.ConstructorProps,
3134
3127
  Gtk.Scrollable.ConstructorProps {}
@@ -3673,7 +3666,6 @@ export namespace Gtef {
3673
3666
  // Constructors
3674
3667
 
3675
3668
  constructor(properties?: Partial<{}>);
3676
- _init(...args: any[]): void;
3677
3669
 
3678
3670
  static ['new'](): ActionInfo;
3679
3671
 
@@ -3724,10 +3716,6 @@ export namespace Gtef {
3724
3716
  type ActionInfoCentralStoreClass = typeof ActionInfoCentralStore;
3725
3717
  abstract class ActionInfoCentralStorePrivate {
3726
3718
  static $gtype: GObject.GType<ActionInfoCentralStorePrivate>;
3727
-
3728
- // Constructors
3729
-
3730
- _init(...args: any[]): void;
3731
3719
  }
3732
3720
 
3733
3721
  /**
@@ -3760,34 +3748,21 @@ export namespace Gtef {
3760
3748
  tooltip: string;
3761
3749
  }>,
3762
3750
  );
3763
- _init(...args: any[]): void;
3764
3751
  }
3765
3752
 
3766
3753
  type ActionInfoStoreClass = typeof ActionInfoStore;
3767
3754
  abstract class ActionInfoStorePrivate {
3768
3755
  static $gtype: GObject.GType<ActionInfoStorePrivate>;
3769
-
3770
- // Constructors
3771
-
3772
- _init(...args: any[]): void;
3773
3756
  }
3774
3757
 
3775
3758
  type ApplicationClass = typeof Application;
3776
3759
  abstract class ApplicationPrivate {
3777
3760
  static $gtype: GObject.GType<ApplicationPrivate>;
3778
-
3779
- // Constructors
3780
-
3781
- _init(...args: any[]): void;
3782
3761
  }
3783
3762
 
3784
3763
  type ApplicationWindowClass = typeof ApplicationWindow;
3785
3764
  abstract class ApplicationWindowPrivate {
3786
3765
  static $gtype: GObject.GType<ApplicationWindowPrivate>;
3787
-
3788
- // Constructors
3789
-
3790
- _init(...args: any[]): void;
3791
3766
  }
3792
3767
 
3793
3768
  type BufferClass = typeof Buffer;
@@ -3797,7 +3772,6 @@ export namespace Gtef {
3797
3772
  // Constructors
3798
3773
 
3799
3774
  constructor(properties?: Partial<{}>);
3800
- _init(...args: any[]): void;
3801
3775
 
3802
3776
  static ['new'](charset: string): Encoding;
3803
3777
 
@@ -3851,10 +3825,6 @@ export namespace Gtef {
3851
3825
  type FileSaverClass = typeof FileSaver;
3852
3826
  abstract class FileSaverPrivate {
3853
3827
  static $gtype: GObject.GType<FileSaverPrivate>;
3854
-
3855
- // Constructors
3856
-
3857
- _init(...args: any[]): void;
3858
3828
  }
3859
3829
 
3860
3830
  type FoldRegionClass = typeof FoldRegion;
@@ -3863,10 +3833,6 @@ export namespace Gtef {
3863
3833
  type MenuShellClass = typeof MenuShell;
3864
3834
  abstract class MenuShellPrivate {
3865
3835
  static $gtype: GObject.GType<MenuShellPrivate>;
3866
-
3867
- // Constructors
3868
-
3869
- _init(...args: any[]): void;
3870
3836
  }
3871
3837
 
3872
3838
  type TabClass = typeof Tab;
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.38",
3
+ "version": "2.0.0-4.0.0-beta.40",
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",
@@ -31,21 +31,21 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "4.0.0-beta.38",
35
- "@girs/gtksource-3.0": "3.0.0-4.0.0-beta.38",
36
- "@girs/gtk-3.0": "3.24.50-4.0.0-beta.38",
37
- "@girs/xlib-2.0": "2.0.0-4.0.0-beta.38",
38
- "@girs/gdk-3.0": "3.24.50-4.0.0-beta.38",
39
- "@girs/cairo-1.0": "1.0.0-4.0.0-beta.38",
40
- "@girs/gobject-2.0": "2.86.0-4.0.0-beta.38",
41
- "@girs/glib-2.0": "2.86.0-4.0.0-beta.38",
42
- "@girs/pango-1.0": "1.57.0-4.0.0-beta.38",
43
- "@girs/harfbuzz-0.0": "11.5.0-4.0.0-beta.38",
44
- "@girs/freetype2-2.0": "2.0.0-4.0.0-beta.38",
45
- "@girs/gio-2.0": "2.86.0-4.0.0-beta.38",
46
- "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.38",
47
- "@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.38",
48
- "@girs/atk-1.0": "2.58.0-4.0.0-beta.38" },
34
+ "@girs/gjs": "4.0.0-beta.40",
35
+ "@girs/gtksource-3.0": "3.0.0-4.0.0-beta.40",
36
+ "@girs/gtk-3.0": "3.24.51-4.0.0-beta.40",
37
+ "@girs/xlib-2.0": "2.0.0-4.0.0-beta.40",
38
+ "@girs/gdk-3.0": "3.24.51-4.0.0-beta.40",
39
+ "@girs/cairo-1.0": "1.0.0-4.0.0-beta.40",
40
+ "@girs/gobject-2.0": "2.86.4-4.0.0-beta.40",
41
+ "@girs/glib-2.0": "2.86.4-4.0.0-beta.40",
42
+ "@girs/pango-1.0": "1.57.0-4.0.0-beta.40",
43
+ "@girs/harfbuzz-0.0": "11.5.1-4.0.0-beta.40",
44
+ "@girs/freetype2-2.0": "2.0.0-4.0.0-beta.40",
45
+ "@girs/gio-2.0": "2.86.4-4.0.0-beta.40",
46
+ "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.40",
47
+ "@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.40",
48
+ "@girs/atk-1.0": "2.58.3-4.0.0-beta.40" },
49
49
  "devDependencies": {
50
50
  "typescript": "*"
51
51
  },