@girs/gtef-2 2.0.0-3.2.5 → 2.0.0-3.2.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.
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) v3.2.5.
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) v3.2.6.
9
9
 
10
10
 
11
11
  ## Install
package/gtef-2.d.cts CHANGED
@@ -515,6 +515,10 @@ export module ApplicationWindow {
515
515
  * The #GtkStatusbar. %NULL by default.
516
516
  */
517
517
  statusbar?: Gtk.Statusbar | null
518
+ /**
519
+ * The #GtkApplicationWindow.
520
+ */
521
+ applicationWindow?: Gtk.ApplicationWindow | null
518
522
  }
519
523
 
520
524
  }
@@ -527,6 +531,10 @@ export interface ApplicationWindow {
527
531
  * The #GtkApplicationWindow.
528
532
  */
529
533
  readonly application_window: Gtk.ApplicationWindow
534
+ /**
535
+ * The #GtkApplicationWindow.
536
+ */
537
+ readonly applicationWindow: Gtk.ApplicationWindow
530
538
  /**
531
539
  * The #GtkStatusbar. %NULL by default.
532
540
  */
@@ -649,6 +657,14 @@ export module Buffer {
649
657
  * #GtefBuffer:gtef-style-scheme-id contains the empty string.
650
658
  */
651
659
  gtef_style_scheme_id?: string | null
660
+ /**
661
+ * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
662
+ * useful for binding it to a #GSettings key.
663
+ *
664
+ * When the #GtkSourceBuffer:style-scheme is %NULL,
665
+ * #GtefBuffer:gtef-style-scheme-id contains the empty string.
666
+ */
667
+ gtefStyleSchemeId?: string | null
652
668
  }
653
669
 
654
670
  }
@@ -665,10 +681,22 @@ export interface Buffer {
665
681
  * #GtefBuffer:gtef-style-scheme-id contains the empty string.
666
682
  */
667
683
  gtef_style_scheme_id: string | null
684
+ /**
685
+ * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
686
+ * useful for binding it to a #GSettings key.
687
+ *
688
+ * When the #GtkSourceBuffer:style-scheme is %NULL,
689
+ * #GtefBuffer:gtef-style-scheme-id contains the empty string.
690
+ */
691
+ gtefStyleSchemeId: string | null
668
692
  /**
669
693
  * The buffer title. See gtef_buffer_get_title().
670
694
  */
671
695
  readonly gtef_title: string | null
696
+ /**
697
+ * The buffer title. See gtef_buffer_get_title().
698
+ */
699
+ readonly gtefTitle: string | null
672
700
 
673
701
  // Conflicting properties
674
702
 
@@ -844,6 +872,10 @@ export interface File {
844
872
  * The compression type.
845
873
  */
846
874
  readonly compression_type: CompressionType
875
+ /**
876
+ * The compression type.
877
+ */
878
+ readonly compressionType: CompressionType
847
879
  /**
848
880
  * The character encoding, initially %NULL. After a successful file
849
881
  * loading or saving operation, the encoding is non-%NULL.
@@ -857,15 +889,28 @@ export interface File {
857
889
  * The line ending type.
858
890
  */
859
891
  readonly newline_type: NewlineType
892
+ /**
893
+ * The line ending type.
894
+ */
895
+ readonly newlineType: NewlineType
860
896
  /**
861
897
  * Whether the file is read-only or not. The value of this property is
862
898
  * not updated automatically (there is no file monitors).
863
899
  */
864
900
  readonly read_only: boolean
901
+ /**
902
+ * Whether the file is read-only or not. The value of this property is
903
+ * not updated automatically (there is no file monitors).
904
+ */
905
+ readonly readOnly: boolean
865
906
  /**
866
907
  * The file short name. See gtef_file_get_short_name().
867
908
  */
868
909
  readonly short_name: string | null
910
+ /**
911
+ * The file short name. See gtef_file_get_short_name().
912
+ */
913
+ readonly shortName: string | null
869
914
 
870
915
  // Own fields of Gtef-2.Gtef.File
871
916
 
@@ -1024,6 +1069,23 @@ export module FileLoader {
1024
1069
  * Set to -1 for unlimited size.
1025
1070
  */
1026
1071
  max_size?: number | null
1072
+ /**
1073
+ * The chunk size, in bytes. The content is loaded chunk by chunk. It
1074
+ * permits to avoid allocating a too big contiguous memory area, as well
1075
+ * as reporting progress information after each chunk read.
1076
+ *
1077
+ * A small chunk size is better when loading a remote file with a slow
1078
+ * connection. For local files, the chunk size can be larger.
1079
+ */
1080
+ chunkSize?: number | null
1081
+ /**
1082
+ * The maximum content size, in bytes. Keep in mind that all the
1083
+ * content is loaded in memory, and when loaded into a #GtkTextBuffer
1084
+ * it takes more memory than just the content size.
1085
+ *
1086
+ * Set to -1 for unlimited size.
1087
+ */
1088
+ maxSize?: number | null
1027
1089
  }
1028
1090
 
1029
1091
  }
@@ -1046,6 +1108,15 @@ export interface FileLoader {
1046
1108
  * connection. For local files, the chunk size can be larger.
1047
1109
  */
1048
1110
  chunk_size: number
1111
+ /**
1112
+ * The chunk size, in bytes. The content is loaded chunk by chunk. It
1113
+ * permits to avoid allocating a too big contiguous memory area, as well
1114
+ * as reporting progress information after each chunk read.
1115
+ *
1116
+ * A small chunk size is better when loading a remote file with a slow
1117
+ * connection. For local files, the chunk size can be larger.
1118
+ */
1119
+ chunkSize: number
1049
1120
  /**
1050
1121
  * The #GtefFile. The #GtefFileLoader object has a weak
1051
1122
  * reference to the file.
@@ -1064,6 +1135,14 @@ export interface FileLoader {
1064
1135
  * Set to -1 for unlimited size.
1065
1136
  */
1066
1137
  max_size: number
1138
+ /**
1139
+ * The maximum content size, in bytes. Keep in mind that all the
1140
+ * content is loaded in memory, and when loaded into a #GtkTextBuffer
1141
+ * it takes more memory than just the content size.
1142
+ *
1143
+ * Set to -1 for unlimited size.
1144
+ */
1145
+ maxSize: number
1067
1146
 
1068
1147
  // Own fields of Gtef-2.Gtef.FileLoader
1069
1148
 
@@ -1390,6 +1469,14 @@ export module FileSaver {
1390
1469
  * The newline type.
1391
1470
  */
1392
1471
  newline_type?: GtkSource.NewlineType | null
1472
+ /**
1473
+ * The compression type.
1474
+ */
1475
+ compressionType?: GtkSource.CompressionType | null
1476
+ /**
1477
+ * The newline type.
1478
+ */
1479
+ newlineType?: GtkSource.NewlineType | null
1393
1480
  }
1394
1481
 
1395
1482
  }
@@ -1407,6 +1494,10 @@ export interface FileSaver {
1407
1494
  * The compression type.
1408
1495
  */
1409
1496
  compression_type: GtkSource.CompressionType
1497
+ /**
1498
+ * The compression type.
1499
+ */
1500
+ compressionType: GtkSource.CompressionType
1410
1501
  /**
1411
1502
  * The file's encoding.
1412
1503
  */
@@ -1429,6 +1520,10 @@ export interface FileSaver {
1429
1520
  * The newline type.
1430
1521
  */
1431
1522
  newline_type: GtkSource.NewlineType
1523
+ /**
1524
+ * The newline type.
1525
+ */
1526
+ newlineType: GtkSource.NewlineType
1432
1527
 
1433
1528
  // Own fields of Gtef-2.Gtef.FileSaver
1434
1529
 
@@ -2085,6 +2180,10 @@ export module MenuShell {
2085
2180
  * The #GtkMenuShell.
2086
2181
  */
2087
2182
  menu_shell?: Gtk.MenuShell | null
2183
+ /**
2184
+ * The #GtkMenuShell.
2185
+ */
2186
+ menuShell?: Gtk.MenuShell | null
2088
2187
  }
2089
2188
 
2090
2189
  }
@@ -2097,6 +2196,10 @@ export interface MenuShell {
2097
2196
  * The #GtkMenuShell.
2098
2197
  */
2099
2198
  readonly menu_shell: Gtk.MenuShell
2199
+ /**
2200
+ * The #GtkMenuShell.
2201
+ */
2202
+ readonly menuShell: Gtk.MenuShell
2100
2203
 
2101
2204
  // Own fields of Gtef-2.Gtef.MenuShell
2102
2205
 
package/gtef-2.d.ts CHANGED
@@ -517,6 +517,10 @@ module ApplicationWindow {
517
517
  * The #GtkStatusbar. %NULL by default.
518
518
  */
519
519
  statusbar?: Gtk.Statusbar | null
520
+ /**
521
+ * The #GtkApplicationWindow.
522
+ */
523
+ applicationWindow?: Gtk.ApplicationWindow | null
520
524
  }
521
525
 
522
526
  }
@@ -529,6 +533,10 @@ interface ApplicationWindow {
529
533
  * The #GtkApplicationWindow.
530
534
  */
531
535
  readonly application_window: Gtk.ApplicationWindow
536
+ /**
537
+ * The #GtkApplicationWindow.
538
+ */
539
+ readonly applicationWindow: Gtk.ApplicationWindow
532
540
  /**
533
541
  * The #GtkStatusbar. %NULL by default.
534
542
  */
@@ -651,6 +659,14 @@ module Buffer {
651
659
  * #GtefBuffer:gtef-style-scheme-id contains the empty string.
652
660
  */
653
661
  gtef_style_scheme_id?: string | null
662
+ /**
663
+ * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
664
+ * useful for binding it to a #GSettings key.
665
+ *
666
+ * When the #GtkSourceBuffer:style-scheme is %NULL,
667
+ * #GtefBuffer:gtef-style-scheme-id contains the empty string.
668
+ */
669
+ gtefStyleSchemeId?: string | null
654
670
  }
655
671
 
656
672
  }
@@ -667,10 +683,22 @@ interface Buffer {
667
683
  * #GtefBuffer:gtef-style-scheme-id contains the empty string.
668
684
  */
669
685
  gtef_style_scheme_id: string | null
686
+ /**
687
+ * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
688
+ * useful for binding it to a #GSettings key.
689
+ *
690
+ * When the #GtkSourceBuffer:style-scheme is %NULL,
691
+ * #GtefBuffer:gtef-style-scheme-id contains the empty string.
692
+ */
693
+ gtefStyleSchemeId: string | null
670
694
  /**
671
695
  * The buffer title. See gtef_buffer_get_title().
672
696
  */
673
697
  readonly gtef_title: string | null
698
+ /**
699
+ * The buffer title. See gtef_buffer_get_title().
700
+ */
701
+ readonly gtefTitle: string | null
674
702
 
675
703
  // Conflicting properties
676
704
 
@@ -846,6 +874,10 @@ interface File {
846
874
  * The compression type.
847
875
  */
848
876
  readonly compression_type: CompressionType
877
+ /**
878
+ * The compression type.
879
+ */
880
+ readonly compressionType: CompressionType
849
881
  /**
850
882
  * The character encoding, initially %NULL. After a successful file
851
883
  * loading or saving operation, the encoding is non-%NULL.
@@ -859,15 +891,28 @@ interface File {
859
891
  * The line ending type.
860
892
  */
861
893
  readonly newline_type: NewlineType
894
+ /**
895
+ * The line ending type.
896
+ */
897
+ readonly newlineType: NewlineType
862
898
  /**
863
899
  * Whether the file is read-only or not. The value of this property is
864
900
  * not updated automatically (there is no file monitors).
865
901
  */
866
902
  readonly read_only: boolean
903
+ /**
904
+ * Whether the file is read-only or not. The value of this property is
905
+ * not updated automatically (there is no file monitors).
906
+ */
907
+ readonly readOnly: boolean
867
908
  /**
868
909
  * The file short name. See gtef_file_get_short_name().
869
910
  */
870
911
  readonly short_name: string | null
912
+ /**
913
+ * The file short name. See gtef_file_get_short_name().
914
+ */
915
+ readonly shortName: string | null
871
916
 
872
917
  // Own fields of Gtef-2.Gtef.File
873
918
 
@@ -1026,6 +1071,23 @@ module FileLoader {
1026
1071
  * Set to -1 for unlimited size.
1027
1072
  */
1028
1073
  max_size?: number | null
1074
+ /**
1075
+ * The chunk size, in bytes. The content is loaded chunk by chunk. It
1076
+ * permits to avoid allocating a too big contiguous memory area, as well
1077
+ * as reporting progress information after each chunk read.
1078
+ *
1079
+ * A small chunk size is better when loading a remote file with a slow
1080
+ * connection. For local files, the chunk size can be larger.
1081
+ */
1082
+ chunkSize?: number | null
1083
+ /**
1084
+ * The maximum content size, in bytes. Keep in mind that all the
1085
+ * content is loaded in memory, and when loaded into a #GtkTextBuffer
1086
+ * it takes more memory than just the content size.
1087
+ *
1088
+ * Set to -1 for unlimited size.
1089
+ */
1090
+ maxSize?: number | null
1029
1091
  }
1030
1092
 
1031
1093
  }
@@ -1048,6 +1110,15 @@ interface FileLoader {
1048
1110
  * connection. For local files, the chunk size can be larger.
1049
1111
  */
1050
1112
  chunk_size: number
1113
+ /**
1114
+ * The chunk size, in bytes. The content is loaded chunk by chunk. It
1115
+ * permits to avoid allocating a too big contiguous memory area, as well
1116
+ * as reporting progress information after each chunk read.
1117
+ *
1118
+ * A small chunk size is better when loading a remote file with a slow
1119
+ * connection. For local files, the chunk size can be larger.
1120
+ */
1121
+ chunkSize: number
1051
1122
  /**
1052
1123
  * The #GtefFile. The #GtefFileLoader object has a weak
1053
1124
  * reference to the file.
@@ -1066,6 +1137,14 @@ interface FileLoader {
1066
1137
  * Set to -1 for unlimited size.
1067
1138
  */
1068
1139
  max_size: number
1140
+ /**
1141
+ * The maximum content size, in bytes. Keep in mind that all the
1142
+ * content is loaded in memory, and when loaded into a #GtkTextBuffer
1143
+ * it takes more memory than just the content size.
1144
+ *
1145
+ * Set to -1 for unlimited size.
1146
+ */
1147
+ maxSize: number
1069
1148
 
1070
1149
  // Own fields of Gtef-2.Gtef.FileLoader
1071
1150
 
@@ -1392,6 +1471,14 @@ module FileSaver {
1392
1471
  * The newline type.
1393
1472
  */
1394
1473
  newline_type?: GtkSource.NewlineType | null
1474
+ /**
1475
+ * The compression type.
1476
+ */
1477
+ compressionType?: GtkSource.CompressionType | null
1478
+ /**
1479
+ * The newline type.
1480
+ */
1481
+ newlineType?: GtkSource.NewlineType | null
1395
1482
  }
1396
1483
 
1397
1484
  }
@@ -1409,6 +1496,10 @@ interface FileSaver {
1409
1496
  * The compression type.
1410
1497
  */
1411
1498
  compression_type: GtkSource.CompressionType
1499
+ /**
1500
+ * The compression type.
1501
+ */
1502
+ compressionType: GtkSource.CompressionType
1412
1503
  /**
1413
1504
  * The file's encoding.
1414
1505
  */
@@ -1431,6 +1522,10 @@ interface FileSaver {
1431
1522
  * The newline type.
1432
1523
  */
1433
1524
  newline_type: GtkSource.NewlineType
1525
+ /**
1526
+ * The newline type.
1527
+ */
1528
+ newlineType: GtkSource.NewlineType
1434
1529
 
1435
1530
  // Own fields of Gtef-2.Gtef.FileSaver
1436
1531
 
@@ -2087,6 +2182,10 @@ module MenuShell {
2087
2182
  * The #GtkMenuShell.
2088
2183
  */
2089
2184
  menu_shell?: Gtk.MenuShell | null
2185
+ /**
2186
+ * The #GtkMenuShell.
2187
+ */
2188
+ menuShell?: Gtk.MenuShell | null
2090
2189
  }
2091
2190
 
2092
2191
  }
@@ -2099,6 +2198,10 @@ interface MenuShell {
2099
2198
  * The #GtkMenuShell.
2100
2199
  */
2101
2200
  readonly menu_shell: Gtk.MenuShell
2201
+ /**
2202
+ * The #GtkMenuShell.
2203
+ */
2204
+ readonly menuShell: Gtk.MenuShell
2102
2205
 
2103
2206
  // Own fields of Gtef-2.Gtef.MenuShell
2104
2207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtef-2",
3
- "version": "2.0.0-3.2.5",
3
+ "version": "2.0.0-3.2.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",
@@ -25,21 +25,21 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gtef-2.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.5",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.5",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.5",
31
- "@girs/gdk-3.0": "^3.24.38-3.2.5",
32
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.5",
33
- "@girs/gio-2.0": "^2.78.0-3.2.5",
34
- "@girs/gjs": "^3.2.5",
35
- "@girs/glib-2.0": "^2.78.0-3.2.5",
36
- "@girs/gmodule-2.0": "^2.0.0-3.2.5",
37
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
38
- "@girs/gtk-3.0": "^3.24.38-3.2.5",
39
- "@girs/gtksource-3.0": "^3.0.0-3.2.5",
40
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.5",
41
- "@girs/pango-1.0": "^1.51.0-3.2.5",
42
- "@girs/xlib-2.0": "^2.0.0-3.2.5"
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/gtksource-3.0": "^3.0.0-3.2.6",
40
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
41
+ "@girs/pango-1.0": "^1.51.0-3.2.6",
42
+ "@girs/xlib-2.0": "^2.0.0-3.2.6"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "*"