@girs/gtef-2 2.0.0-4.0.0-beta.18 → 2.0.0-4.0.0-beta.20
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 +1 -1
- package/gtef-2.d.ts +27 -27
- package/package.json +16 -16
- package/tsconfig.json +3 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
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.
|
|
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.20.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gtef-2.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ import type Pango from '@girs/pango-1.0';
|
|
|
19
19
|
import type HarfBuzz from '@girs/harfbuzz-0.0';
|
|
20
20
|
import type freetype2 from '@girs/freetype2-2.0';
|
|
21
21
|
import type Gio from '@girs/gio-2.0';
|
|
22
|
-
import type GModule from '@girs/gmodule-2.0';
|
|
23
22
|
import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
|
|
23
|
+
import type GModule from '@girs/gmodule-2.0';
|
|
24
24
|
import type Atk from '@girs/atk-1.0';
|
|
25
25
|
|
|
26
26
|
export namespace Gtef {
|
|
@@ -312,7 +312,7 @@ export namespace Gtef {
|
|
|
312
312
|
*/
|
|
313
313
|
END,
|
|
314
314
|
}
|
|
315
|
-
|
|
315
|
+
namespace ActionInfoCentralStore {
|
|
316
316
|
// Constructor properties interface
|
|
317
317
|
|
|
318
318
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -336,7 +336,7 @@ export namespace Gtef {
|
|
|
336
336
|
lookup(action_name: string): ActionInfo;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
|
|
339
|
+
namespace ActionInfoStore {
|
|
340
340
|
// Constructor properties interface
|
|
341
341
|
|
|
342
342
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -416,7 +416,7 @@ export namespace Gtef {
|
|
|
416
416
|
lookup(action_name: string): ActionInfo;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
|
|
419
|
+
namespace Application {
|
|
420
420
|
// Constructor properties interface
|
|
421
421
|
|
|
422
422
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -473,7 +473,7 @@ export namespace Gtef {
|
|
|
473
473
|
open_simple(file: Gio.File): void;
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
|
|
476
|
+
namespace ApplicationWindow {
|
|
477
477
|
// Constructor properties interface
|
|
478
478
|
|
|
479
479
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -570,7 +570,7 @@ export namespace Gtef {
|
|
|
570
570
|
set_statusbar(statusbar?: Gtk.Statusbar | null): void;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
|
-
|
|
573
|
+
namespace Buffer {
|
|
574
574
|
// Signal callback interfaces
|
|
575
575
|
|
|
576
576
|
interface GtefCursorMoved {
|
|
@@ -682,7 +682,7 @@ export namespace Gtef {
|
|
|
682
682
|
set_style_scheme_id(style_scheme_id: string): void;
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
-
|
|
685
|
+
namespace File {
|
|
686
686
|
// Constructor properties interface
|
|
687
687
|
|
|
688
688
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -830,7 +830,7 @@ export namespace Gtef {
|
|
|
830
830
|
set_location(location?: Gio.File | null): void;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
-
|
|
833
|
+
namespace FileLoader {
|
|
834
834
|
// Constructor properties interface
|
|
835
835
|
|
|
836
836
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -979,7 +979,7 @@ export namespace Gtef {
|
|
|
979
979
|
set_max_size(max_size: number): void;
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
-
|
|
982
|
+
namespace FileMetadata {
|
|
983
983
|
// Constructor properties interface
|
|
984
984
|
|
|
985
985
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -1155,7 +1155,7 @@ export namespace Gtef {
|
|
|
1155
1155
|
set(...args: never[]): any;
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
|
-
|
|
1158
|
+
namespace FileSaver {
|
|
1159
1159
|
// Constructor properties interface
|
|
1160
1160
|
|
|
1161
1161
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -1309,23 +1309,23 @@ export namespace Gtef {
|
|
|
1309
1309
|
* #GtefFile.
|
|
1310
1310
|
* @param compression_type the new compression type.
|
|
1311
1311
|
*/
|
|
1312
|
-
set_compression_type(compression_type: CompressionType): void;
|
|
1312
|
+
set_compression_type(compression_type: CompressionType | null): void;
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Sets the encoding. If `encoding` is %NULL, the UTF-8 encoding will be set.
|
|
1315
1315
|
* By default the encoding is taken from the #GtefFile.
|
|
1316
1316
|
* @param encoding the new encoding, or %NULL for UTF-8.
|
|
1317
1317
|
*/
|
|
1318
1318
|
set_encoding(encoding?: Encoding | null): void;
|
|
1319
|
-
set_flags(flags: FileSaverFlags): void;
|
|
1319
|
+
set_flags(flags: FileSaverFlags | null): void;
|
|
1320
1320
|
/**
|
|
1321
1321
|
* Sets the newline type. By default the newline type is taken from the
|
|
1322
1322
|
* #GtefFile.
|
|
1323
1323
|
* @param newline_type the new newline type.
|
|
1324
1324
|
*/
|
|
1325
|
-
set_newline_type(newline_type: NewlineType): void;
|
|
1325
|
+
set_newline_type(newline_type: NewlineType | null): void;
|
|
1326
1326
|
}
|
|
1327
1327
|
|
|
1328
|
-
|
|
1328
|
+
namespace FoldRegion {
|
|
1329
1329
|
// Constructor properties interface
|
|
1330
1330
|
|
|
1331
1331
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -1380,7 +1380,7 @@ export namespace Gtef {
|
|
|
1380
1380
|
set_folded(folded: boolean): void;
|
|
1381
1381
|
}
|
|
1382
1382
|
|
|
1383
|
-
|
|
1383
|
+
namespace GutterRendererFolds {
|
|
1384
1384
|
// Constructor properties interface
|
|
1385
1385
|
|
|
1386
1386
|
interface ConstructorProps extends GtkSource.GutterRenderer.ConstructorProps {}
|
|
@@ -1406,10 +1406,10 @@ export namespace Gtef {
|
|
|
1406
1406
|
* chaining-up to its parent's draw method.
|
|
1407
1407
|
* @param state a #GtefGutterRendererFoldsState.
|
|
1408
1408
|
*/
|
|
1409
|
-
set_state(state: GutterRendererFoldsState): void;
|
|
1409
|
+
set_state(state: GutterRendererFoldsState | null): void;
|
|
1410
1410
|
}
|
|
1411
1411
|
|
|
1412
|
-
|
|
1412
|
+
namespace InfoBar {
|
|
1413
1413
|
// Constructor properties interface
|
|
1414
1414
|
|
|
1415
1415
|
interface ConstructorProps
|
|
@@ -1524,7 +1524,7 @@ export namespace Gtef {
|
|
|
1524
1524
|
source_property: string,
|
|
1525
1525
|
target: GObject.Object,
|
|
1526
1526
|
target_property: string,
|
|
1527
|
-
flags: GObject.BindingFlags,
|
|
1527
|
+
flags: GObject.BindingFlags | null,
|
|
1528
1528
|
): GObject.Binding;
|
|
1529
1529
|
/**
|
|
1530
1530
|
* Complete version of g_object_bind_property().
|
|
@@ -1565,7 +1565,7 @@ export namespace Gtef {
|
|
|
1565
1565
|
source_property: string,
|
|
1566
1566
|
target: GObject.Object,
|
|
1567
1567
|
target_property: string,
|
|
1568
|
-
flags: GObject.BindingFlags,
|
|
1568
|
+
flags: GObject.BindingFlags | null,
|
|
1569
1569
|
transform_to?: GObject.BindingTransformFunc | null,
|
|
1570
1570
|
transform_from?: GObject.BindingTransformFunc | null,
|
|
1571
1571
|
notify?: GLib.DestroyNotify | null,
|
|
@@ -1882,7 +1882,7 @@ export namespace Gtef {
|
|
|
1882
1882
|
stop_emission_by_name(detailedName: string): any;
|
|
1883
1883
|
}
|
|
1884
1884
|
|
|
1885
|
-
|
|
1885
|
+
namespace MenuShell {
|
|
1886
1886
|
// Signal callback interfaces
|
|
1887
1887
|
|
|
1888
1888
|
interface MenuItemDeselected {
|
|
@@ -1955,7 +1955,7 @@ export namespace Gtef {
|
|
|
1955
1955
|
get_menu_shell(): Gtk.MenuShell;
|
|
1956
1956
|
}
|
|
1957
1957
|
|
|
1958
|
-
|
|
1958
|
+
namespace Tab {
|
|
1959
1959
|
// Constructor properties interface
|
|
1960
1960
|
|
|
1961
1961
|
interface ConstructorProps
|
|
@@ -2008,7 +2008,7 @@ export namespace Gtef {
|
|
|
2008
2008
|
* Sets the orientation of the `orientable`.
|
|
2009
2009
|
* @param orientation the orientable’s new orientation.
|
|
2010
2010
|
*/
|
|
2011
|
-
set_orientation(orientation: Gtk.Orientation): void;
|
|
2011
|
+
set_orientation(orientation: Gtk.Orientation | null): void;
|
|
2012
2012
|
/**
|
|
2013
2013
|
* Creates a binding between `source_property` on `source` and `target_property`
|
|
2014
2014
|
* on `target`.
|
|
@@ -2053,7 +2053,7 @@ export namespace Gtef {
|
|
|
2053
2053
|
source_property: string,
|
|
2054
2054
|
target: GObject.Object,
|
|
2055
2055
|
target_property: string,
|
|
2056
|
-
flags: GObject.BindingFlags,
|
|
2056
|
+
flags: GObject.BindingFlags | null,
|
|
2057
2057
|
): GObject.Binding;
|
|
2058
2058
|
/**
|
|
2059
2059
|
* Complete version of g_object_bind_property().
|
|
@@ -2094,7 +2094,7 @@ export namespace Gtef {
|
|
|
2094
2094
|
source_property: string,
|
|
2095
2095
|
target: GObject.Object,
|
|
2096
2096
|
target_property: string,
|
|
2097
|
-
flags: GObject.BindingFlags,
|
|
2097
|
+
flags: GObject.BindingFlags | null,
|
|
2098
2098
|
transform_to?: GObject.BindingTransformFunc | null,
|
|
2099
2099
|
transform_from?: GObject.BindingTransformFunc | null,
|
|
2100
2100
|
notify?: GLib.DestroyNotify | null,
|
|
@@ -2411,7 +2411,7 @@ export namespace Gtef {
|
|
|
2411
2411
|
stop_emission_by_name(detailedName: string): any;
|
|
2412
2412
|
}
|
|
2413
2413
|
|
|
2414
|
-
|
|
2414
|
+
namespace View {
|
|
2415
2415
|
// Constructor properties interface
|
|
2416
2416
|
|
|
2417
2417
|
interface ConstructorProps
|
|
@@ -2530,7 +2530,7 @@ export namespace Gtef {
|
|
|
2530
2530
|
source_property: string,
|
|
2531
2531
|
target: GObject.Object,
|
|
2532
2532
|
target_property: string,
|
|
2533
|
-
flags: GObject.BindingFlags,
|
|
2533
|
+
flags: GObject.BindingFlags | null,
|
|
2534
2534
|
): GObject.Binding;
|
|
2535
2535
|
/**
|
|
2536
2536
|
* Complete version of g_object_bind_property().
|
|
@@ -2571,7 +2571,7 @@ export namespace Gtef {
|
|
|
2571
2571
|
source_property: string,
|
|
2572
2572
|
target: GObject.Object,
|
|
2573
2573
|
target_property: string,
|
|
2574
|
-
flags: GObject.BindingFlags,
|
|
2574
|
+
flags: GObject.BindingFlags | null,
|
|
2575
2575
|
transform_to?: GObject.BindingTransformFunc | null,
|
|
2576
2576
|
transform_from?: GObject.BindingTransformFunc | null,
|
|
2577
2577
|
notify?: GLib.DestroyNotify | null,
|
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.
|
|
3
|
+
"version": "2.0.0-4.0.0-beta.20",
|
|
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/atk-1.0": "^2.54.0-4.0.0-beta.
|
|
35
|
-
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.
|
|
36
|
-
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.
|
|
37
|
-
"@girs/gdk-3.0": "^3.24.
|
|
38
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.
|
|
39
|
-
"@girs/gio-2.0": "^2.82.
|
|
40
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
41
|
-
"@girs/glib-2.0": "^2.82.
|
|
42
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
43
|
-
"@girs/gobject-2.0": "^2.82.
|
|
44
|
-
"@girs/gtk-3.0": "^3.24.
|
|
45
|
-
"@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.
|
|
46
|
-
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.
|
|
47
|
-
"@girs/pango-1.0": "^1.54.0-4.0.0-beta.
|
|
48
|
-
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.
|
|
34
|
+
"@girs/atk-1.0": "^2.54.0-4.0.0-beta.20",
|
|
35
|
+
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.20",
|
|
36
|
+
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.20",
|
|
37
|
+
"@girs/gdk-3.0": "^3.24.48-4.0.0-beta.20",
|
|
38
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.20",
|
|
39
|
+
"@girs/gio-2.0": "^2.82.4-4.0.0-beta.20",
|
|
40
|
+
"@girs/gjs": "^4.0.0-beta.20",
|
|
41
|
+
"@girs/glib-2.0": "^2.82.4-4.0.0-beta.20",
|
|
42
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.20",
|
|
43
|
+
"@girs/gobject-2.0": "^2.82.4-4.0.0-beta.20",
|
|
44
|
+
"@girs/gtk-3.0": "^3.24.48-4.0.0-beta.20",
|
|
45
|
+
"@girs/gtksource-3.0": "^3.0.0-4.0.0-beta.20",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.20",
|
|
47
|
+
"@girs/pango-1.0": "^1.54.0-4.0.0-beta.20",
|
|
48
|
+
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.20"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"typescript": "*"
|