@girs/tepl-4 4.0.0-3.2.7 → 4.0.0-3.2.8
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/package.json +26 -20
- package/tepl-4-ambient.js +2 -0
- package/tepl-4-import.js +3 -0
- package/tepl-4.d.cts +2 -147
- package/tepl-4.d.ts +2 -147
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Tepl-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Tepl-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/tepl-4",
|
|
3
|
-
"version": "4.0.0-3.2.
|
|
3
|
+
"version": "4.0.0-3.2.8",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Tepl-4, generated from library version 4.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "tepl-4.js",
|
|
7
7
|
"main": "tepl-4.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./tepl-4-ambient.d.ts",
|
|
11
|
+
"default": "./tepl-4-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./tepl-4-import.d.ts",
|
|
15
|
+
"default": "./tepl-4-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./tepl-4.d.ts",
|
|
@@ -25,22 +31,22 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit tepl-4.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/amtk-5": "^5.0.0-3.2.
|
|
29
|
-
"@girs/atk-1.0": "^2.
|
|
30
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
31
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
32
|
-
"@girs/gdk-3.0": "^3.24.
|
|
33
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
34
|
-
"@girs/gio-2.0": "^2.
|
|
35
|
-
"@girs/gjs": "^3.2.
|
|
36
|
-
"@girs/glib-2.0": "^2.
|
|
37
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
38
|
-
"@girs/gobject-2.0": "^2.
|
|
39
|
-
"@girs/gtk-3.0": "^3.24.
|
|
40
|
-
"@girs/gtksource-4": "^4.0.0-3.2.
|
|
41
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
42
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
43
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
34
|
+
"@girs/amtk-5": "^5.0.0-3.2.8",
|
|
35
|
+
"@girs/atk-1.0": "^2.45.1-3.2.8",
|
|
36
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.8",
|
|
37
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.8",
|
|
38
|
+
"@girs/gdk-3.0": "^3.24.39-3.2.8",
|
|
39
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
40
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
41
|
+
"@girs/gjs": "^3.2.8",
|
|
42
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
43
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
44
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
45
|
+
"@girs/gtk-3.0": "^3.24.39-3.2.8",
|
|
46
|
+
"@girs/gtksource-4": "^4.0.0-3.2.8",
|
|
47
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
48
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8",
|
|
49
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.8"
|
|
44
50
|
},
|
|
45
51
|
"devDependencies": {
|
|
46
52
|
"typescript": "*"
|
|
@@ -57,7 +63,7 @@
|
|
|
57
63
|
"license": "MIT",
|
|
58
64
|
"repository": {
|
|
59
65
|
"type": "git",
|
|
60
|
-
"url": "git+https://github.com/gjsify/
|
|
66
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
61
67
|
},
|
|
62
68
|
"bugs": {
|
|
63
69
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|
package/tepl-4-import.js
ADDED
package/tepl-4.d.cts
CHANGED
|
@@ -361,10 +361,6 @@ export module TabGroup {
|
|
|
361
361
|
|
|
362
362
|
// Own constructor properties of Tepl-4.Tepl.TabGroup
|
|
363
363
|
|
|
364
|
-
/**
|
|
365
|
-
* The #TeplTab currently shown.
|
|
366
|
-
*/
|
|
367
|
-
active_tab?: Tab | null
|
|
368
364
|
/**
|
|
369
365
|
* The #TeplTab currently shown.
|
|
370
366
|
*/
|
|
@@ -377,26 +373,14 @@ export interface TabGroup {
|
|
|
377
373
|
|
|
378
374
|
// Own properties of Tepl-4.Tepl.TabGroup
|
|
379
375
|
|
|
380
|
-
/**
|
|
381
|
-
* The #TeplBuffer of the active tab.
|
|
382
|
-
*/
|
|
383
|
-
readonly active_buffer: Buffer
|
|
384
376
|
/**
|
|
385
377
|
* The #TeplBuffer of the active tab.
|
|
386
378
|
*/
|
|
387
379
|
readonly activeBuffer: Buffer
|
|
388
|
-
/**
|
|
389
|
-
* The #TeplTab currently shown.
|
|
390
|
-
*/
|
|
391
|
-
active_tab: Tab
|
|
392
380
|
/**
|
|
393
381
|
* The #TeplTab currently shown.
|
|
394
382
|
*/
|
|
395
383
|
activeTab: Tab
|
|
396
|
-
/**
|
|
397
|
-
* The #TeplView of the active tab.
|
|
398
|
-
*/
|
|
399
|
-
readonly active_view: View
|
|
400
384
|
/**
|
|
401
385
|
* The #TeplView of the active tab.
|
|
402
386
|
*/
|
|
@@ -782,25 +766,6 @@ export module ApplicationWindow {
|
|
|
782
766
|
|
|
783
767
|
// Own constructor properties of Tepl-4.Tepl.ApplicationWindow
|
|
784
768
|
|
|
785
|
-
/**
|
|
786
|
-
* The #GtkApplicationWindow.
|
|
787
|
-
*/
|
|
788
|
-
application_window?: Gtk.ApplicationWindow | null
|
|
789
|
-
/**
|
|
790
|
-
* Whether to handle the #GtkWindow:title. The title is probably not
|
|
791
|
-
* appropriate if a #GtkHeaderBar is used, the title is meant to be used
|
|
792
|
-
* only for applications with a traditional UI.
|
|
793
|
-
*
|
|
794
|
-
* If %TRUE, the title will contain:
|
|
795
|
-
* - the #TeplBuffer:tepl-full-title of the active buffer.
|
|
796
|
-
* - if the active view is not #GtkTextView:editable, the
|
|
797
|
-
* `"[Read-Only]"` string.
|
|
798
|
-
* - the application name as returned by g_get_application_name().
|
|
799
|
-
*
|
|
800
|
-
* If the active view is %NULL, the title contains only the application
|
|
801
|
-
* name.
|
|
802
|
-
*/
|
|
803
|
-
handle_title?: boolean | null
|
|
804
769
|
/**
|
|
805
770
|
* The #GtkApplicationWindow.
|
|
806
771
|
*/
|
|
@@ -828,29 +793,10 @@ export interface ApplicationWindow extends TabGroup {
|
|
|
828
793
|
|
|
829
794
|
// Own properties of Tepl-4.Tepl.ApplicationWindow
|
|
830
795
|
|
|
831
|
-
/**
|
|
832
|
-
* The #GtkApplicationWindow.
|
|
833
|
-
*/
|
|
834
|
-
readonly application_window: Gtk.ApplicationWindow
|
|
835
796
|
/**
|
|
836
797
|
* The #GtkApplicationWindow.
|
|
837
798
|
*/
|
|
838
799
|
readonly applicationWindow: Gtk.ApplicationWindow
|
|
839
|
-
/**
|
|
840
|
-
* Whether to handle the #GtkWindow:title. The title is probably not
|
|
841
|
-
* appropriate if a #GtkHeaderBar is used, the title is meant to be used
|
|
842
|
-
* only for applications with a traditional UI.
|
|
843
|
-
*
|
|
844
|
-
* If %TRUE, the title will contain:
|
|
845
|
-
* - the #TeplBuffer:tepl-full-title of the active buffer.
|
|
846
|
-
* - if the active view is not #GtkTextView:editable, the
|
|
847
|
-
* `"[Read-Only]"` string.
|
|
848
|
-
* - the application name as returned by g_get_application_name().
|
|
849
|
-
*
|
|
850
|
-
* If the active view is %NULL, the title contains only the application
|
|
851
|
-
* name.
|
|
852
|
-
*/
|
|
853
|
-
handle_title: boolean
|
|
854
800
|
/**
|
|
855
801
|
* Whether to handle the #GtkWindow:title. The title is probably not
|
|
856
802
|
* appropriate if a #GtkHeaderBar is used, the title is meant to be used
|
|
@@ -983,14 +929,6 @@ export module Buffer {
|
|
|
983
929
|
|
|
984
930
|
// Own constructor properties of Tepl-4.Tepl.Buffer
|
|
985
931
|
|
|
986
|
-
/**
|
|
987
|
-
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
988
|
-
* useful for binding it to a #GSettings key.
|
|
989
|
-
*
|
|
990
|
-
* When the #GtkSourceBuffer:style-scheme is %NULL,
|
|
991
|
-
* #TeplBuffer:tepl-style-scheme-id contains the empty string.
|
|
992
|
-
*/
|
|
993
|
-
tepl_style_scheme_id?: string | null
|
|
994
932
|
/**
|
|
995
933
|
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
996
934
|
* useful for binding it to a #GSettings key.
|
|
@@ -1007,30 +945,14 @@ export interface Buffer {
|
|
|
1007
945
|
|
|
1008
946
|
// Own properties of Tepl-4.Tepl.Buffer
|
|
1009
947
|
|
|
1010
|
-
/**
|
|
1011
|
-
* The full title. See tepl_buffer_get_full_title().
|
|
1012
|
-
*/
|
|
1013
|
-
readonly tepl_full_title: string | null
|
|
1014
948
|
/**
|
|
1015
949
|
* The full title. See tepl_buffer_get_full_title().
|
|
1016
950
|
*/
|
|
1017
951
|
readonly teplFullTitle: string | null
|
|
1018
|
-
/**
|
|
1019
|
-
* The short title. See tepl_buffer_get_short_title().
|
|
1020
|
-
*/
|
|
1021
|
-
readonly tepl_short_title: string | null
|
|
1022
952
|
/**
|
|
1023
953
|
* The short title. See tepl_buffer_get_short_title().
|
|
1024
954
|
*/
|
|
1025
955
|
readonly teplShortTitle: string | null
|
|
1026
|
-
/**
|
|
1027
|
-
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
1028
|
-
* useful for binding it to a #GSettings key.
|
|
1029
|
-
*
|
|
1030
|
-
* When the #GtkSourceBuffer:style-scheme is %NULL,
|
|
1031
|
-
* #TeplBuffer:tepl-style-scheme-id contains the empty string.
|
|
1032
|
-
*/
|
|
1033
|
-
tepl_style_scheme_id: string | null
|
|
1034
956
|
/**
|
|
1035
957
|
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
1036
958
|
* useful for binding it to a #GSettings key.
|
|
@@ -1221,10 +1143,6 @@ export interface File {
|
|
|
1221
1143
|
|
|
1222
1144
|
// Own properties of Tepl-4.Tepl.File
|
|
1223
1145
|
|
|
1224
|
-
/**
|
|
1225
|
-
* The compression type.
|
|
1226
|
-
*/
|
|
1227
|
-
readonly compression_type: CompressionType
|
|
1228
1146
|
/**
|
|
1229
1147
|
* The compression type.
|
|
1230
1148
|
*/
|
|
@@ -1238,28 +1156,15 @@ export interface File {
|
|
|
1238
1156
|
* The location.
|
|
1239
1157
|
*/
|
|
1240
1158
|
location: Gio.File
|
|
1241
|
-
/**
|
|
1242
|
-
* The line ending type.
|
|
1243
|
-
*/
|
|
1244
|
-
readonly newline_type: NewlineType
|
|
1245
1159
|
/**
|
|
1246
1160
|
* The line ending type.
|
|
1247
1161
|
*/
|
|
1248
1162
|
readonly newlineType: NewlineType
|
|
1249
|
-
/**
|
|
1250
|
-
* Whether the file is read-only or not. The value of this property is
|
|
1251
|
-
* not updated automatically (there is no file monitors).
|
|
1252
|
-
*/
|
|
1253
|
-
readonly read_only: boolean
|
|
1254
1163
|
/**
|
|
1255
1164
|
* Whether the file is read-only or not. The value of this property is
|
|
1256
1165
|
* not updated automatically (there is no file monitors).
|
|
1257
1166
|
*/
|
|
1258
1167
|
readonly readOnly: boolean
|
|
1259
|
-
/**
|
|
1260
|
-
* The file short name. See tepl_file_get_short_name().
|
|
1261
|
-
*/
|
|
1262
|
-
readonly short_name: string | null
|
|
1263
1168
|
/**
|
|
1264
1169
|
* The file short name. See tepl_file_get_short_name().
|
|
1265
1170
|
*/
|
|
@@ -1408,7 +1313,7 @@ export module FileLoader {
|
|
|
1408
1313
|
* A small chunk size is better when loading a remote file with a slow
|
|
1409
1314
|
* connection. For local files, the chunk size can be larger.
|
|
1410
1315
|
*/
|
|
1411
|
-
|
|
1316
|
+
chunkSize?: number | null
|
|
1412
1317
|
/**
|
|
1413
1318
|
* The #TeplFile. The #TeplFileLoader object has a weak
|
|
1414
1319
|
* reference to the file.
|
|
@@ -1419,23 +1324,6 @@ export module FileLoader {
|
|
|
1419
1324
|
* #TeplFile at construction time.
|
|
1420
1325
|
*/
|
|
1421
1326
|
location?: Gio.File | null
|
|
1422
|
-
/**
|
|
1423
|
-
* The maximum content size, in bytes. Keep in mind that all the
|
|
1424
|
-
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
1425
|
-
* it takes more memory than just the content size.
|
|
1426
|
-
*
|
|
1427
|
-
* Set to -1 for unlimited size.
|
|
1428
|
-
*/
|
|
1429
|
-
max_size?: number | null
|
|
1430
|
-
/**
|
|
1431
|
-
* The chunk size, in bytes. The content is loaded chunk by chunk. It
|
|
1432
|
-
* permits to avoid allocating a too big contiguous memory area, as well
|
|
1433
|
-
* as reporting progress information after each chunk read.
|
|
1434
|
-
*
|
|
1435
|
-
* A small chunk size is better when loading a remote file with a slow
|
|
1436
|
-
* connection. For local files, the chunk size can be larger.
|
|
1437
|
-
*/
|
|
1438
|
-
chunkSize?: number | null
|
|
1439
1327
|
/**
|
|
1440
1328
|
* The maximum content size, in bytes. Keep in mind that all the
|
|
1441
1329
|
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
@@ -1457,15 +1345,6 @@ export interface FileLoader {
|
|
|
1457
1345
|
* has a weak reference to the buffer.
|
|
1458
1346
|
*/
|
|
1459
1347
|
readonly buffer: Buffer
|
|
1460
|
-
/**
|
|
1461
|
-
* The chunk size, in bytes. The content is loaded chunk by chunk. It
|
|
1462
|
-
* permits to avoid allocating a too big contiguous memory area, as well
|
|
1463
|
-
* as reporting progress information after each chunk read.
|
|
1464
|
-
*
|
|
1465
|
-
* A small chunk size is better when loading a remote file with a slow
|
|
1466
|
-
* connection. For local files, the chunk size can be larger.
|
|
1467
|
-
*/
|
|
1468
|
-
chunk_size: number
|
|
1469
1348
|
/**
|
|
1470
1349
|
* The chunk size, in bytes. The content is loaded chunk by chunk. It
|
|
1471
1350
|
* permits to avoid allocating a too big contiguous memory area, as well
|
|
@@ -1485,14 +1364,6 @@ export interface FileLoader {
|
|
|
1485
1364
|
* #TeplFile at construction time.
|
|
1486
1365
|
*/
|
|
1487
1366
|
readonly location: Gio.File
|
|
1488
|
-
/**
|
|
1489
|
-
* The maximum content size, in bytes. Keep in mind that all the
|
|
1490
|
-
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
1491
|
-
* it takes more memory than just the content size.
|
|
1492
|
-
*
|
|
1493
|
-
* Set to -1 for unlimited size.
|
|
1494
|
-
*/
|
|
1495
|
-
max_size: number
|
|
1496
1367
|
/**
|
|
1497
1368
|
* The maximum content size, in bytes. Keep in mind that all the
|
|
1498
1369
|
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
@@ -1804,7 +1675,7 @@ export module FileSaver {
|
|
|
1804
1675
|
/**
|
|
1805
1676
|
* The compression type.
|
|
1806
1677
|
*/
|
|
1807
|
-
|
|
1678
|
+
compressionType?: GtkSource.CompressionType | null
|
|
1808
1679
|
/**
|
|
1809
1680
|
* The file's encoding.
|
|
1810
1681
|
*/
|
|
@@ -1823,14 +1694,6 @@ export module FileSaver {
|
|
|
1823
1694
|
* from the #TeplFile at construction time.
|
|
1824
1695
|
*/
|
|
1825
1696
|
location?: Gio.File | null
|
|
1826
|
-
/**
|
|
1827
|
-
* The newline type.
|
|
1828
|
-
*/
|
|
1829
|
-
newline_type?: GtkSource.NewlineType | null
|
|
1830
|
-
/**
|
|
1831
|
-
* The compression type.
|
|
1832
|
-
*/
|
|
1833
|
-
compressionType?: GtkSource.CompressionType | null
|
|
1834
1697
|
/**
|
|
1835
1698
|
* The newline type.
|
|
1836
1699
|
*/
|
|
@@ -1848,10 +1711,6 @@ export interface FileSaver {
|
|
|
1848
1711
|
* reference to the buffer.
|
|
1849
1712
|
*/
|
|
1850
1713
|
readonly buffer: GtkSource.Buffer
|
|
1851
|
-
/**
|
|
1852
|
-
* The compression type.
|
|
1853
|
-
*/
|
|
1854
|
-
compression_type: GtkSource.CompressionType
|
|
1855
1714
|
/**
|
|
1856
1715
|
* The compression type.
|
|
1857
1716
|
*/
|
|
@@ -1874,10 +1733,6 @@ export interface FileSaver {
|
|
|
1874
1733
|
* from the #TeplFile at construction time.
|
|
1875
1734
|
*/
|
|
1876
1735
|
readonly location: Gio.File
|
|
1877
|
-
/**
|
|
1878
|
-
* The newline type.
|
|
1879
|
-
*/
|
|
1880
|
-
newline_type: GtkSource.NewlineType
|
|
1881
1736
|
/**
|
|
1882
1737
|
* The newline type.
|
|
1883
1738
|
*/
|
package/tepl-4.d.ts
CHANGED
|
@@ -363,10 +363,6 @@ module TabGroup {
|
|
|
363
363
|
|
|
364
364
|
// Own constructor properties of Tepl-4.Tepl.TabGroup
|
|
365
365
|
|
|
366
|
-
/**
|
|
367
|
-
* The #TeplTab currently shown.
|
|
368
|
-
*/
|
|
369
|
-
active_tab?: Tab | null
|
|
370
366
|
/**
|
|
371
367
|
* The #TeplTab currently shown.
|
|
372
368
|
*/
|
|
@@ -379,26 +375,14 @@ interface TabGroup {
|
|
|
379
375
|
|
|
380
376
|
// Own properties of Tepl-4.Tepl.TabGroup
|
|
381
377
|
|
|
382
|
-
/**
|
|
383
|
-
* The #TeplBuffer of the active tab.
|
|
384
|
-
*/
|
|
385
|
-
readonly active_buffer: Buffer
|
|
386
378
|
/**
|
|
387
379
|
* The #TeplBuffer of the active tab.
|
|
388
380
|
*/
|
|
389
381
|
readonly activeBuffer: Buffer
|
|
390
|
-
/**
|
|
391
|
-
* The #TeplTab currently shown.
|
|
392
|
-
*/
|
|
393
|
-
active_tab: Tab
|
|
394
382
|
/**
|
|
395
383
|
* The #TeplTab currently shown.
|
|
396
384
|
*/
|
|
397
385
|
activeTab: Tab
|
|
398
|
-
/**
|
|
399
|
-
* The #TeplView of the active tab.
|
|
400
|
-
*/
|
|
401
|
-
readonly active_view: View
|
|
402
386
|
/**
|
|
403
387
|
* The #TeplView of the active tab.
|
|
404
388
|
*/
|
|
@@ -784,25 +768,6 @@ module ApplicationWindow {
|
|
|
784
768
|
|
|
785
769
|
// Own constructor properties of Tepl-4.Tepl.ApplicationWindow
|
|
786
770
|
|
|
787
|
-
/**
|
|
788
|
-
* The #GtkApplicationWindow.
|
|
789
|
-
*/
|
|
790
|
-
application_window?: Gtk.ApplicationWindow | null
|
|
791
|
-
/**
|
|
792
|
-
* Whether to handle the #GtkWindow:title. The title is probably not
|
|
793
|
-
* appropriate if a #GtkHeaderBar is used, the title is meant to be used
|
|
794
|
-
* only for applications with a traditional UI.
|
|
795
|
-
*
|
|
796
|
-
* If %TRUE, the title will contain:
|
|
797
|
-
* - the #TeplBuffer:tepl-full-title of the active buffer.
|
|
798
|
-
* - if the active view is not #GtkTextView:editable, the
|
|
799
|
-
* `"[Read-Only]"` string.
|
|
800
|
-
* - the application name as returned by g_get_application_name().
|
|
801
|
-
*
|
|
802
|
-
* If the active view is %NULL, the title contains only the application
|
|
803
|
-
* name.
|
|
804
|
-
*/
|
|
805
|
-
handle_title?: boolean | null
|
|
806
771
|
/**
|
|
807
772
|
* The #GtkApplicationWindow.
|
|
808
773
|
*/
|
|
@@ -830,29 +795,10 @@ interface ApplicationWindow extends TabGroup {
|
|
|
830
795
|
|
|
831
796
|
// Own properties of Tepl-4.Tepl.ApplicationWindow
|
|
832
797
|
|
|
833
|
-
/**
|
|
834
|
-
* The #GtkApplicationWindow.
|
|
835
|
-
*/
|
|
836
|
-
readonly application_window: Gtk.ApplicationWindow
|
|
837
798
|
/**
|
|
838
799
|
* The #GtkApplicationWindow.
|
|
839
800
|
*/
|
|
840
801
|
readonly applicationWindow: Gtk.ApplicationWindow
|
|
841
|
-
/**
|
|
842
|
-
* Whether to handle the #GtkWindow:title. The title is probably not
|
|
843
|
-
* appropriate if a #GtkHeaderBar is used, the title is meant to be used
|
|
844
|
-
* only for applications with a traditional UI.
|
|
845
|
-
*
|
|
846
|
-
* If %TRUE, the title will contain:
|
|
847
|
-
* - the #TeplBuffer:tepl-full-title of the active buffer.
|
|
848
|
-
* - if the active view is not #GtkTextView:editable, the
|
|
849
|
-
* `"[Read-Only]"` string.
|
|
850
|
-
* - the application name as returned by g_get_application_name().
|
|
851
|
-
*
|
|
852
|
-
* If the active view is %NULL, the title contains only the application
|
|
853
|
-
* name.
|
|
854
|
-
*/
|
|
855
|
-
handle_title: boolean
|
|
856
802
|
/**
|
|
857
803
|
* Whether to handle the #GtkWindow:title. The title is probably not
|
|
858
804
|
* appropriate if a #GtkHeaderBar is used, the title is meant to be used
|
|
@@ -985,14 +931,6 @@ module Buffer {
|
|
|
985
931
|
|
|
986
932
|
// Own constructor properties of Tepl-4.Tepl.Buffer
|
|
987
933
|
|
|
988
|
-
/**
|
|
989
|
-
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
990
|
-
* useful for binding it to a #GSettings key.
|
|
991
|
-
*
|
|
992
|
-
* When the #GtkSourceBuffer:style-scheme is %NULL,
|
|
993
|
-
* #TeplBuffer:tepl-style-scheme-id contains the empty string.
|
|
994
|
-
*/
|
|
995
|
-
tepl_style_scheme_id?: string | null
|
|
996
934
|
/**
|
|
997
935
|
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
998
936
|
* useful for binding it to a #GSettings key.
|
|
@@ -1009,30 +947,14 @@ interface Buffer {
|
|
|
1009
947
|
|
|
1010
948
|
// Own properties of Tepl-4.Tepl.Buffer
|
|
1011
949
|
|
|
1012
|
-
/**
|
|
1013
|
-
* The full title. See tepl_buffer_get_full_title().
|
|
1014
|
-
*/
|
|
1015
|
-
readonly tepl_full_title: string | null
|
|
1016
950
|
/**
|
|
1017
951
|
* The full title. See tepl_buffer_get_full_title().
|
|
1018
952
|
*/
|
|
1019
953
|
readonly teplFullTitle: string | null
|
|
1020
|
-
/**
|
|
1021
|
-
* The short title. See tepl_buffer_get_short_title().
|
|
1022
|
-
*/
|
|
1023
|
-
readonly tepl_short_title: string | null
|
|
1024
954
|
/**
|
|
1025
955
|
* The short title. See tepl_buffer_get_short_title().
|
|
1026
956
|
*/
|
|
1027
957
|
readonly teplShortTitle: string | null
|
|
1028
|
-
/**
|
|
1029
|
-
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
1030
|
-
* useful for binding it to a #GSettings key.
|
|
1031
|
-
*
|
|
1032
|
-
* When the #GtkSourceBuffer:style-scheme is %NULL,
|
|
1033
|
-
* #TeplBuffer:tepl-style-scheme-id contains the empty string.
|
|
1034
|
-
*/
|
|
1035
|
-
tepl_style_scheme_id: string | null
|
|
1036
958
|
/**
|
|
1037
959
|
* The #GtkSourceBuffer:style-scheme ID, as a string. This property is
|
|
1038
960
|
* useful for binding it to a #GSettings key.
|
|
@@ -1223,10 +1145,6 @@ interface File {
|
|
|
1223
1145
|
|
|
1224
1146
|
// Own properties of Tepl-4.Tepl.File
|
|
1225
1147
|
|
|
1226
|
-
/**
|
|
1227
|
-
* The compression type.
|
|
1228
|
-
*/
|
|
1229
|
-
readonly compression_type: CompressionType
|
|
1230
1148
|
/**
|
|
1231
1149
|
* The compression type.
|
|
1232
1150
|
*/
|
|
@@ -1240,28 +1158,15 @@ interface File {
|
|
|
1240
1158
|
* The location.
|
|
1241
1159
|
*/
|
|
1242
1160
|
location: Gio.File
|
|
1243
|
-
/**
|
|
1244
|
-
* The line ending type.
|
|
1245
|
-
*/
|
|
1246
|
-
readonly newline_type: NewlineType
|
|
1247
1161
|
/**
|
|
1248
1162
|
* The line ending type.
|
|
1249
1163
|
*/
|
|
1250
1164
|
readonly newlineType: NewlineType
|
|
1251
|
-
/**
|
|
1252
|
-
* Whether the file is read-only or not. The value of this property is
|
|
1253
|
-
* not updated automatically (there is no file monitors).
|
|
1254
|
-
*/
|
|
1255
|
-
readonly read_only: boolean
|
|
1256
1165
|
/**
|
|
1257
1166
|
* Whether the file is read-only or not. The value of this property is
|
|
1258
1167
|
* not updated automatically (there is no file monitors).
|
|
1259
1168
|
*/
|
|
1260
1169
|
readonly readOnly: boolean
|
|
1261
|
-
/**
|
|
1262
|
-
* The file short name. See tepl_file_get_short_name().
|
|
1263
|
-
*/
|
|
1264
|
-
readonly short_name: string | null
|
|
1265
1170
|
/**
|
|
1266
1171
|
* The file short name. See tepl_file_get_short_name().
|
|
1267
1172
|
*/
|
|
@@ -1410,7 +1315,7 @@ module FileLoader {
|
|
|
1410
1315
|
* A small chunk size is better when loading a remote file with a slow
|
|
1411
1316
|
* connection. For local files, the chunk size can be larger.
|
|
1412
1317
|
*/
|
|
1413
|
-
|
|
1318
|
+
chunkSize?: number | null
|
|
1414
1319
|
/**
|
|
1415
1320
|
* The #TeplFile. The #TeplFileLoader object has a weak
|
|
1416
1321
|
* reference to the file.
|
|
@@ -1421,23 +1326,6 @@ module FileLoader {
|
|
|
1421
1326
|
* #TeplFile at construction time.
|
|
1422
1327
|
*/
|
|
1423
1328
|
location?: Gio.File | null
|
|
1424
|
-
/**
|
|
1425
|
-
* The maximum content size, in bytes. Keep in mind that all the
|
|
1426
|
-
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
1427
|
-
* it takes more memory than just the content size.
|
|
1428
|
-
*
|
|
1429
|
-
* Set to -1 for unlimited size.
|
|
1430
|
-
*/
|
|
1431
|
-
max_size?: number | null
|
|
1432
|
-
/**
|
|
1433
|
-
* The chunk size, in bytes. The content is loaded chunk by chunk. It
|
|
1434
|
-
* permits to avoid allocating a too big contiguous memory area, as well
|
|
1435
|
-
* as reporting progress information after each chunk read.
|
|
1436
|
-
*
|
|
1437
|
-
* A small chunk size is better when loading a remote file with a slow
|
|
1438
|
-
* connection. For local files, the chunk size can be larger.
|
|
1439
|
-
*/
|
|
1440
|
-
chunkSize?: number | null
|
|
1441
1329
|
/**
|
|
1442
1330
|
* The maximum content size, in bytes. Keep in mind that all the
|
|
1443
1331
|
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
@@ -1459,15 +1347,6 @@ interface FileLoader {
|
|
|
1459
1347
|
* has a weak reference to the buffer.
|
|
1460
1348
|
*/
|
|
1461
1349
|
readonly buffer: Buffer
|
|
1462
|
-
/**
|
|
1463
|
-
* The chunk size, in bytes. The content is loaded chunk by chunk. It
|
|
1464
|
-
* permits to avoid allocating a too big contiguous memory area, as well
|
|
1465
|
-
* as reporting progress information after each chunk read.
|
|
1466
|
-
*
|
|
1467
|
-
* A small chunk size is better when loading a remote file with a slow
|
|
1468
|
-
* connection. For local files, the chunk size can be larger.
|
|
1469
|
-
*/
|
|
1470
|
-
chunk_size: number
|
|
1471
1350
|
/**
|
|
1472
1351
|
* The chunk size, in bytes. The content is loaded chunk by chunk. It
|
|
1473
1352
|
* permits to avoid allocating a too big contiguous memory area, as well
|
|
@@ -1487,14 +1366,6 @@ interface FileLoader {
|
|
|
1487
1366
|
* #TeplFile at construction time.
|
|
1488
1367
|
*/
|
|
1489
1368
|
readonly location: Gio.File
|
|
1490
|
-
/**
|
|
1491
|
-
* The maximum content size, in bytes. Keep in mind that all the
|
|
1492
|
-
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
1493
|
-
* it takes more memory than just the content size.
|
|
1494
|
-
*
|
|
1495
|
-
* Set to -1 for unlimited size.
|
|
1496
|
-
*/
|
|
1497
|
-
max_size: number
|
|
1498
1369
|
/**
|
|
1499
1370
|
* The maximum content size, in bytes. Keep in mind that all the
|
|
1500
1371
|
* content is loaded in memory, and when loaded into a #GtkTextBuffer
|
|
@@ -1806,7 +1677,7 @@ module FileSaver {
|
|
|
1806
1677
|
/**
|
|
1807
1678
|
* The compression type.
|
|
1808
1679
|
*/
|
|
1809
|
-
|
|
1680
|
+
compressionType?: GtkSource.CompressionType | null
|
|
1810
1681
|
/**
|
|
1811
1682
|
* The file's encoding.
|
|
1812
1683
|
*/
|
|
@@ -1825,14 +1696,6 @@ module FileSaver {
|
|
|
1825
1696
|
* from the #TeplFile at construction time.
|
|
1826
1697
|
*/
|
|
1827
1698
|
location?: Gio.File | null
|
|
1828
|
-
/**
|
|
1829
|
-
* The newline type.
|
|
1830
|
-
*/
|
|
1831
|
-
newline_type?: GtkSource.NewlineType | null
|
|
1832
|
-
/**
|
|
1833
|
-
* The compression type.
|
|
1834
|
-
*/
|
|
1835
|
-
compressionType?: GtkSource.CompressionType | null
|
|
1836
1699
|
/**
|
|
1837
1700
|
* The newline type.
|
|
1838
1701
|
*/
|
|
@@ -1850,10 +1713,6 @@ interface FileSaver {
|
|
|
1850
1713
|
* reference to the buffer.
|
|
1851
1714
|
*/
|
|
1852
1715
|
readonly buffer: GtkSource.Buffer
|
|
1853
|
-
/**
|
|
1854
|
-
* The compression type.
|
|
1855
|
-
*/
|
|
1856
|
-
compression_type: GtkSource.CompressionType
|
|
1857
1716
|
/**
|
|
1858
1717
|
* The compression type.
|
|
1859
1718
|
*/
|
|
@@ -1876,10 +1735,6 @@ interface FileSaver {
|
|
|
1876
1735
|
* from the #TeplFile at construction time.
|
|
1877
1736
|
*/
|
|
1878
1737
|
readonly location: Gio.File
|
|
1879
|
-
/**
|
|
1880
|
-
* The newline type.
|
|
1881
|
-
*/
|
|
1882
|
-
newline_type: GtkSource.NewlineType
|
|
1883
1738
|
/**
|
|
1884
1739
|
* The newline type.
|
|
1885
1740
|
*/
|