@girs/glib-2.0 2.80.2-4.0.0-beta.9 → 2.80.2-4.0.0-beta.10
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/glib-2.0.d.ts +414 -132
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.10.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/glib-2.0.d.ts
CHANGED
|
@@ -64,9 +64,13 @@ export namespace GLib {
|
|
|
64
64
|
_init(...args: any[]): void;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
/**
|
|
68
|
+
* The hashing algorithm to be used by #GChecksum when performing the
|
|
69
|
+
* digest of some data.
|
|
70
|
+
*
|
|
71
|
+
* Note that the #GChecksumType enumeration may be extended at a later
|
|
72
|
+
* date to include new hashing algorithm types.
|
|
73
|
+
*/
|
|
70
74
|
|
|
71
75
|
/**
|
|
72
76
|
* The hashing algorithm to be used by #GChecksum when performing the
|
|
@@ -75,6 +79,10 @@ export namespace GLib {
|
|
|
75
79
|
* Note that the #GChecksumType enumeration may be extended at a later
|
|
76
80
|
* date to include new hashing algorithm types.
|
|
77
81
|
*/
|
|
82
|
+
export namespace ChecksumType {
|
|
83
|
+
export const $gtype: GObject.GType<ChecksumType>;
|
|
84
|
+
}
|
|
85
|
+
|
|
78
86
|
enum ChecksumType {
|
|
79
87
|
/**
|
|
80
88
|
* Use the MD5 hashing algorithm
|
|
@@ -149,14 +157,19 @@ export namespace GLib {
|
|
|
149
157
|
_init(...args: any[]): void;
|
|
150
158
|
}
|
|
151
159
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
160
|
+
/**
|
|
161
|
+
* This enumeration isn't used in the API, but may be useful if you need
|
|
162
|
+
* to mark a number as a day, month, or year.
|
|
163
|
+
*/
|
|
155
164
|
|
|
156
165
|
/**
|
|
157
166
|
* This enumeration isn't used in the API, but may be useful if you need
|
|
158
167
|
* to mark a number as a day, month, or year.
|
|
159
168
|
*/
|
|
169
|
+
export namespace DateDMY {
|
|
170
|
+
export const $gtype: GObject.GType<DateDMY>;
|
|
171
|
+
}
|
|
172
|
+
|
|
160
173
|
enum DateDMY {
|
|
161
174
|
/**
|
|
162
175
|
* a day
|
|
@@ -171,14 +184,19 @@ export namespace GLib {
|
|
|
171
184
|
*/
|
|
172
185
|
YEAR,
|
|
173
186
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
187
|
+
/**
|
|
188
|
+
* Enumeration representing a month; values are %G_DATE_JANUARY,
|
|
189
|
+
* %G_DATE_FEBRUARY, etc. %G_DATE_BAD_MONTH is the invalid value.
|
|
190
|
+
*/
|
|
177
191
|
|
|
178
192
|
/**
|
|
179
193
|
* Enumeration representing a month; values are %G_DATE_JANUARY,
|
|
180
194
|
* %G_DATE_FEBRUARY, etc. %G_DATE_BAD_MONTH is the invalid value.
|
|
181
195
|
*/
|
|
196
|
+
export namespace DateMonth {
|
|
197
|
+
export const $gtype: GObject.GType<DateMonth>;
|
|
198
|
+
}
|
|
199
|
+
|
|
182
200
|
enum DateMonth {
|
|
183
201
|
/**
|
|
184
202
|
* invalid value
|
|
@@ -233,14 +251,19 @@ export namespace GLib {
|
|
|
233
251
|
*/
|
|
234
252
|
DECEMBER,
|
|
235
253
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
254
|
+
/**
|
|
255
|
+
* Enumeration representing a day of the week; %G_DATE_MONDAY,
|
|
256
|
+
* %G_DATE_TUESDAY, etc. %G_DATE_BAD_WEEKDAY is an invalid weekday.
|
|
257
|
+
*/
|
|
239
258
|
|
|
240
259
|
/**
|
|
241
260
|
* Enumeration representing a day of the week; %G_DATE_MONDAY,
|
|
242
261
|
* %G_DATE_TUESDAY, etc. %G_DATE_BAD_WEEKDAY is an invalid weekday.
|
|
243
262
|
*/
|
|
263
|
+
export namespace DateWeekday {
|
|
264
|
+
export const $gtype: GObject.GType<DateWeekday>;
|
|
265
|
+
}
|
|
266
|
+
|
|
244
267
|
enum DateWeekday {
|
|
245
268
|
/**
|
|
246
269
|
* invalid value
|
|
@@ -275,14 +298,19 @@ export namespace GLib {
|
|
|
275
298
|
*/
|
|
276
299
|
SUNDAY,
|
|
277
300
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
301
|
+
/**
|
|
302
|
+
* The possible errors, used in the `v_error` field
|
|
303
|
+
* of #GTokenValue, when the token is a %G_TOKEN_ERROR.
|
|
304
|
+
*/
|
|
281
305
|
|
|
282
306
|
/**
|
|
283
307
|
* The possible errors, used in the `v_error` field
|
|
284
308
|
* of #GTokenValue, when the token is a %G_TOKEN_ERROR.
|
|
285
309
|
*/
|
|
310
|
+
export namespace ErrorType {
|
|
311
|
+
export const $gtype: GObject.GType<ErrorType>;
|
|
312
|
+
}
|
|
313
|
+
|
|
286
314
|
enum ErrorType {
|
|
287
315
|
/**
|
|
288
316
|
* unknown error
|
|
@@ -536,14 +564,19 @@ export namespace GLib {
|
|
|
536
564
|
_init(...args: any[]): void;
|
|
537
565
|
}
|
|
538
566
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
567
|
+
/**
|
|
568
|
+
* #GIOError is only used by the deprecated functions
|
|
569
|
+
* g_io_channel_read(), g_io_channel_write(), and g_io_channel_seek().
|
|
570
|
+
*/
|
|
542
571
|
|
|
543
572
|
/**
|
|
544
573
|
* #GIOError is only used by the deprecated functions
|
|
545
574
|
* g_io_channel_read(), g_io_channel_write(), and g_io_channel_seek().
|
|
546
575
|
*/
|
|
576
|
+
export namespace IOError {
|
|
577
|
+
export const $gtype: GObject.GType<IOError>;
|
|
578
|
+
}
|
|
579
|
+
|
|
547
580
|
enum IOError {
|
|
548
581
|
/**
|
|
549
582
|
* no error
|
|
@@ -562,13 +595,17 @@ export namespace GLib {
|
|
|
562
595
|
*/
|
|
563
596
|
UNKNOWN,
|
|
564
597
|
}
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
598
|
+
/**
|
|
599
|
+
* Statuses returned by most of the #GIOFuncs functions.
|
|
600
|
+
*/
|
|
568
601
|
|
|
569
602
|
/**
|
|
570
603
|
* Statuses returned by most of the #GIOFuncs functions.
|
|
571
604
|
*/
|
|
605
|
+
export namespace IOStatus {
|
|
606
|
+
export const $gtype: GObject.GType<IOStatus>;
|
|
607
|
+
}
|
|
608
|
+
|
|
572
609
|
enum IOStatus {
|
|
573
610
|
/**
|
|
574
611
|
* An error occurred.
|
|
@@ -627,9 +664,14 @@ export namespace GLib {
|
|
|
627
664
|
_init(...args: any[]): void;
|
|
628
665
|
}
|
|
629
666
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
667
|
+
/**
|
|
668
|
+
* Return values from #GLogWriterFuncs to indicate whether the given log entry
|
|
669
|
+
* was successfully handled by the writer, or whether there was an error in
|
|
670
|
+
* handling it (and hence a fallback writer should be used).
|
|
671
|
+
*
|
|
672
|
+
* If a #GLogWriterFunc ignores a log entry, it should return
|
|
673
|
+
* %G_LOG_WRITER_HANDLED.
|
|
674
|
+
*/
|
|
633
675
|
|
|
634
676
|
/**
|
|
635
677
|
* Return values from #GLogWriterFuncs to indicate whether the given log entry
|
|
@@ -639,6 +681,10 @@ export namespace GLib {
|
|
|
639
681
|
* If a #GLogWriterFunc ignores a log entry, it should return
|
|
640
682
|
* %G_LOG_WRITER_HANDLED.
|
|
641
683
|
*/
|
|
684
|
+
export namespace LogWriterOutput {
|
|
685
|
+
export const $gtype: GObject.GType<LogWriterOutput>;
|
|
686
|
+
}
|
|
687
|
+
|
|
642
688
|
enum LogWriterOutput {
|
|
643
689
|
/**
|
|
644
690
|
* Log writer has handled the log entry.
|
|
@@ -696,9 +742,13 @@ export namespace GLib {
|
|
|
696
742
|
_init(...args: any[]): void;
|
|
697
743
|
}
|
|
698
744
|
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
745
|
+
/**
|
|
746
|
+
* Defines how a Unicode string is transformed in a canonical
|
|
747
|
+
* form, standardizing such issues as whether a character with
|
|
748
|
+
* an accent is represented as a base character and combining
|
|
749
|
+
* accent or as a single precomposed character. Unicode strings
|
|
750
|
+
* should generally be normalized before comparing them.
|
|
751
|
+
*/
|
|
702
752
|
|
|
703
753
|
/**
|
|
704
754
|
* Defines how a Unicode string is transformed in a canonical
|
|
@@ -707,6 +757,10 @@ export namespace GLib {
|
|
|
707
757
|
* accent or as a single precomposed character. Unicode strings
|
|
708
758
|
* should generally be normalized before comparing them.
|
|
709
759
|
*/
|
|
760
|
+
export namespace NormalizeMode {
|
|
761
|
+
export const $gtype: GObject.GType<NormalizeMode>;
|
|
762
|
+
}
|
|
763
|
+
|
|
710
764
|
enum NormalizeMode {
|
|
711
765
|
/**
|
|
712
766
|
* standardize differences that do not affect the
|
|
@@ -771,14 +825,19 @@ export namespace GLib {
|
|
|
771
825
|
_init(...args: any[]): void;
|
|
772
826
|
}
|
|
773
827
|
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
828
|
+
/**
|
|
829
|
+
* The possible statuses of a one-time initialization function
|
|
830
|
+
* controlled by a #GOnce struct.
|
|
831
|
+
*/
|
|
777
832
|
|
|
778
833
|
/**
|
|
779
834
|
* The possible statuses of a one-time initialization function
|
|
780
835
|
* controlled by a #GOnce struct.
|
|
781
836
|
*/
|
|
837
|
+
export namespace OnceStatus {
|
|
838
|
+
export const $gtype: GObject.GType<OnceStatus>;
|
|
839
|
+
}
|
|
840
|
+
|
|
782
841
|
enum OnceStatus {
|
|
783
842
|
/**
|
|
784
843
|
* the function has not been called yet.
|
|
@@ -793,9 +852,12 @@ export namespace GLib {
|
|
|
793
852
|
*/
|
|
794
853
|
READY,
|
|
795
854
|
}
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
855
|
+
/**
|
|
856
|
+
* The #GOptionArg enum values determine which type of extra argument the
|
|
857
|
+
* options expect to find. If an option expects an extra argument, it can
|
|
858
|
+
* be specified in several ways; with a short option: `-x arg`, with a long
|
|
859
|
+
* option: `--name arg` or combined in a single argument: `--name=arg`.
|
|
860
|
+
*/
|
|
799
861
|
|
|
800
862
|
/**
|
|
801
863
|
* The #GOptionArg enum values determine which type of extra argument the
|
|
@@ -803,6 +865,10 @@ export namespace GLib {
|
|
|
803
865
|
* be specified in several ways; with a short option: `-x arg`, with a long
|
|
804
866
|
* option: `--name arg` or combined in a single argument: `--name=arg`.
|
|
805
867
|
*/
|
|
868
|
+
export namespace OptionArg {
|
|
869
|
+
export const $gtype: GObject.GType<OptionArg>;
|
|
870
|
+
}
|
|
871
|
+
|
|
806
872
|
enum OptionArg {
|
|
807
873
|
/**
|
|
808
874
|
* No extra argument. This is useful for simple flags or booleans.
|
|
@@ -1165,14 +1231,19 @@ export namespace GLib {
|
|
|
1165
1231
|
_init(...args: any[]): void;
|
|
1166
1232
|
}
|
|
1167
1233
|
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1234
|
+
/**
|
|
1235
|
+
* An enumeration specifying the base position for a
|
|
1236
|
+
* g_io_channel_seek_position() operation.
|
|
1237
|
+
*/
|
|
1171
1238
|
|
|
1172
1239
|
/**
|
|
1173
1240
|
* An enumeration specifying the base position for a
|
|
1174
1241
|
* g_io_channel_seek_position() operation.
|
|
1175
1242
|
*/
|
|
1243
|
+
export namespace SeekType {
|
|
1244
|
+
export const $gtype: GObject.GType<SeekType>;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1176
1247
|
enum SeekType {
|
|
1177
1248
|
/**
|
|
1178
1249
|
* the current position in the file.
|
|
@@ -1326,9 +1397,24 @@ export namespace GLib {
|
|
|
1326
1397
|
_init(...args: any[]): void;
|
|
1327
1398
|
}
|
|
1328
1399
|
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1400
|
+
/**
|
|
1401
|
+
* The type of file to return the filename for, when used with
|
|
1402
|
+
* g_test_build_filename().
|
|
1403
|
+
*
|
|
1404
|
+
* These two options correspond rather directly to the 'dist' and
|
|
1405
|
+
* 'built' terminology that automake uses and are explicitly used to
|
|
1406
|
+
* distinguish between the 'srcdir' and 'builddir' being separate. All
|
|
1407
|
+
* files in your project should either be dist (in the
|
|
1408
|
+
* `EXTRA_DIST` or `dist_schema_DATA`
|
|
1409
|
+
* sense, in which case they will always be in the srcdir) or built (in
|
|
1410
|
+
* the `BUILT_SOURCES` sense, in which case they will
|
|
1411
|
+
* always be in the builddir).
|
|
1412
|
+
*
|
|
1413
|
+
* Note: as a general rule of automake, files that are generated only as
|
|
1414
|
+
* part of the build-from-git process (but then are distributed with the
|
|
1415
|
+
* tarball) always go in srcdir (even if doing a srcdir != builddir
|
|
1416
|
+
* build from git) and are considered as distributed files.
|
|
1417
|
+
*/
|
|
1332
1418
|
|
|
1333
1419
|
/**
|
|
1334
1420
|
* The type of file to return the filename for, when used with
|
|
@@ -1348,6 +1434,10 @@ export namespace GLib {
|
|
|
1348
1434
|
* tarball) always go in srcdir (even if doing a srcdir != builddir
|
|
1349
1435
|
* build from git) and are considered as distributed files.
|
|
1350
1436
|
*/
|
|
1437
|
+
export namespace TestFileType {
|
|
1438
|
+
export const $gtype: GObject.GType<TestFileType>;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1351
1441
|
enum TestFileType {
|
|
1352
1442
|
/**
|
|
1353
1443
|
* a file that was included in the distribution tarball
|
|
@@ -1358,6 +1448,7 @@ export namespace GLib {
|
|
|
1358
1448
|
*/
|
|
1359
1449
|
BUILT,
|
|
1360
1450
|
}
|
|
1451
|
+
|
|
1361
1452
|
export namespace TestLogType {
|
|
1362
1453
|
export const $gtype: GObject.GType<TestLogType>;
|
|
1363
1454
|
}
|
|
@@ -1376,6 +1467,7 @@ export namespace GLib {
|
|
|
1376
1467
|
START_SUITE,
|
|
1377
1468
|
STOP_SUITE,
|
|
1378
1469
|
}
|
|
1470
|
+
|
|
1379
1471
|
export namespace TestResult {
|
|
1380
1472
|
export const $gtype: GObject.GType<TestResult>;
|
|
1381
1473
|
}
|
|
@@ -1406,13 +1498,17 @@ export namespace GLib {
|
|
|
1406
1498
|
_init(...args: any[]): void;
|
|
1407
1499
|
}
|
|
1408
1500
|
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1501
|
+
/**
|
|
1502
|
+
* Thread priorities.
|
|
1503
|
+
*/
|
|
1412
1504
|
|
|
1413
1505
|
/**
|
|
1414
1506
|
* Thread priorities.
|
|
1415
1507
|
*/
|
|
1508
|
+
export namespace ThreadPriority {
|
|
1509
|
+
export const $gtype: GObject.GType<ThreadPriority>;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1416
1512
|
enum ThreadPriority {
|
|
1417
1513
|
/**
|
|
1418
1514
|
* a priority lower than normal
|
|
@@ -1431,9 +1527,16 @@ export namespace GLib {
|
|
|
1431
1527
|
*/
|
|
1432
1528
|
URGENT,
|
|
1433
1529
|
}
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1530
|
+
/**
|
|
1531
|
+
* Disambiguates a given time in two ways.
|
|
1532
|
+
*
|
|
1533
|
+
* First, specifies if the given time is in universal or local time.
|
|
1534
|
+
*
|
|
1535
|
+
* Second, if the time is in local time, specifies if it is local
|
|
1536
|
+
* standard time or local daylight time. This is important for the case
|
|
1537
|
+
* where the same local time occurs twice (during daylight savings time
|
|
1538
|
+
* transitions, for example).
|
|
1539
|
+
*/
|
|
1437
1540
|
|
|
1438
1541
|
/**
|
|
1439
1542
|
* Disambiguates a given time in two ways.
|
|
@@ -1445,6 +1548,10 @@ export namespace GLib {
|
|
|
1445
1548
|
* where the same local time occurs twice (during daylight savings time
|
|
1446
1549
|
* transitions, for example).
|
|
1447
1550
|
*/
|
|
1551
|
+
export namespace TimeType {
|
|
1552
|
+
export const $gtype: GObject.GType<TimeType>;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1448
1555
|
enum TimeType {
|
|
1449
1556
|
/**
|
|
1450
1557
|
* the time is in local standard time
|
|
@@ -1459,14 +1566,19 @@ export namespace GLib {
|
|
|
1459
1566
|
*/
|
|
1460
1567
|
UNIVERSAL,
|
|
1461
1568
|
}
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1569
|
+
/**
|
|
1570
|
+
* The possible types of token returned from each
|
|
1571
|
+
* g_scanner_get_next_token() call.
|
|
1572
|
+
*/
|
|
1465
1573
|
|
|
1466
1574
|
/**
|
|
1467
1575
|
* The possible types of token returned from each
|
|
1468
1576
|
* g_scanner_get_next_token() call.
|
|
1469
1577
|
*/
|
|
1578
|
+
export namespace TokenType {
|
|
1579
|
+
export const $gtype: GObject.GType<TokenType>;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1470
1582
|
enum TokenType {
|
|
1471
1583
|
/**
|
|
1472
1584
|
* the end of the file
|
|
@@ -1561,9 +1673,19 @@ export namespace GLib {
|
|
|
1561
1673
|
*/
|
|
1562
1674
|
COMMENT_MULTI,
|
|
1563
1675
|
}
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1676
|
+
/**
|
|
1677
|
+
* Specifies the type of traversal performed by g_tree_traverse(),
|
|
1678
|
+
* g_node_traverse() and g_node_find(). The different orders are
|
|
1679
|
+
* illustrated here:
|
|
1680
|
+
* - In order: A, B, C, D, E, F, G, H, I
|
|
1681
|
+
* 
|
|
1682
|
+
* - Pre order: F, B, A, D, C, E, G, I, H
|
|
1683
|
+
* 
|
|
1684
|
+
* - Post order: A, C, E, D, B, H, I, G, F
|
|
1685
|
+
* 
|
|
1686
|
+
* - Level order: F, B, G, A, D, I, C, E, H
|
|
1687
|
+
* 
|
|
1688
|
+
*/
|
|
1567
1689
|
|
|
1568
1690
|
/**
|
|
1569
1691
|
* Specifies the type of traversal performed by g_tree_traverse(),
|
|
@@ -1578,6 +1700,10 @@ export namespace GLib {
|
|
|
1578
1700
|
* - Level order: F, B, G, A, D, I, C, E, H
|
|
1579
1701
|
* 
|
|
1580
1702
|
*/
|
|
1703
|
+
export namespace TraverseType {
|
|
1704
|
+
export const $gtype: GObject.GType<TraverseType>;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1581
1707
|
enum TraverseType {
|
|
1582
1708
|
/**
|
|
1583
1709
|
* vists a node's left child first, then the node itself,
|
|
@@ -1604,9 +1730,14 @@ export namespace GLib {
|
|
|
1604
1730
|
*/
|
|
1605
1731
|
LEVEL_ORDER,
|
|
1606
1732
|
}
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1733
|
+
/**
|
|
1734
|
+
* These are the possible line break classifications.
|
|
1735
|
+
*
|
|
1736
|
+
* Since new Unicode versions may add new types here, applications should be ready
|
|
1737
|
+
* to handle unknown values. They may be regarded as %G_UNICODE_BREAK_UNKNOWN.
|
|
1738
|
+
*
|
|
1739
|
+
* See [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).
|
|
1740
|
+
*/
|
|
1610
1741
|
|
|
1611
1742
|
/**
|
|
1612
1743
|
* These are the possible line break classifications.
|
|
@@ -1616,6 +1747,10 @@ export namespace GLib {
|
|
|
1616
1747
|
*
|
|
1617
1748
|
* See [Unicode Line Breaking Algorithm](https://www.unicode.org/reports/tr14/).
|
|
1618
1749
|
*/
|
|
1750
|
+
export namespace UnicodeBreakType {
|
|
1751
|
+
export const $gtype: GObject.GType<UnicodeBreakType>;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1619
1754
|
enum UnicodeBreakType {
|
|
1620
1755
|
/**
|
|
1621
1756
|
* Mandatory Break (BK)
|
|
@@ -1806,9 +1941,16 @@ export namespace GLib {
|
|
|
1806
1941
|
VIRAMA_FINAL,
|
|
1807
1942
|
VIRAMA,
|
|
1808
1943
|
}
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1944
|
+
/**
|
|
1945
|
+
* The #GUnicodeScript enumeration identifies different writing
|
|
1946
|
+
* systems. The values correspond to the names as defined in the
|
|
1947
|
+
* Unicode standard. The enumeration has been added in GLib 2.14,
|
|
1948
|
+
* and is interchangeable with #PangoScript.
|
|
1949
|
+
*
|
|
1950
|
+
* Note that new types may be added in the future. Applications
|
|
1951
|
+
* should be ready to handle unknown values.
|
|
1952
|
+
* See [Unicode Standard Annex #24: Script names](http://www.unicode.org/reports/tr24/).
|
|
1953
|
+
*/
|
|
1812
1954
|
|
|
1813
1955
|
/**
|
|
1814
1956
|
* The #GUnicodeScript enumeration identifies different writing
|
|
@@ -1820,6 +1962,10 @@ export namespace GLib {
|
|
|
1820
1962
|
* should be ready to handle unknown values.
|
|
1821
1963
|
* See [Unicode Standard Annex #24: Script names](http://www.unicode.org/reports/tr24/).
|
|
1822
1964
|
*/
|
|
1965
|
+
export namespace UnicodeScript {
|
|
1966
|
+
export const $gtype: GObject.GType<UnicodeScript>;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1823
1969
|
enum UnicodeScript {
|
|
1824
1970
|
/**
|
|
1825
1971
|
* a value never returned from g_unichar_get_script()
|
|
@@ -2487,15 +2633,21 @@ export namespace GLib {
|
|
|
2487
2633
|
*/
|
|
2488
2634
|
NAG_MUNDARI,
|
|
2489
2635
|
}
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2636
|
+
/**
|
|
2637
|
+
* These are the possible character classifications from the
|
|
2638
|
+
* Unicode specification.
|
|
2639
|
+
* See [Unicode Character Database](http://www.unicode.org/reports/tr44/#General_Category_Values).
|
|
2640
|
+
*/
|
|
2493
2641
|
|
|
2494
2642
|
/**
|
|
2495
2643
|
* These are the possible character classifications from the
|
|
2496
2644
|
* Unicode specification.
|
|
2497
2645
|
* See [Unicode Character Database](http://www.unicode.org/reports/tr44/#General_Category_Values).
|
|
2498
2646
|
*/
|
|
2647
|
+
export namespace UnicodeType {
|
|
2648
|
+
export const $gtype: GObject.GType<UnicodeType>;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2499
2651
|
enum UnicodeType {
|
|
2500
2652
|
/**
|
|
2501
2653
|
* General category "Other, Control" (Cc)
|
|
@@ -2618,13 +2770,17 @@ export namespace GLib {
|
|
|
2618
2770
|
*/
|
|
2619
2771
|
SPACE_SEPARATOR,
|
|
2620
2772
|
}
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2773
|
+
/**
|
|
2774
|
+
* Mnemonic constants for the ends of a Unix pipe.
|
|
2775
|
+
*/
|
|
2624
2776
|
|
|
2625
2777
|
/**
|
|
2626
2778
|
* Mnemonic constants for the ends of a Unix pipe.
|
|
2627
2779
|
*/
|
|
2780
|
+
export namespace UnixPipeEnd {
|
|
2781
|
+
export const $gtype: GObject.GType<UnixPipeEnd>;
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2628
2784
|
enum UnixPipeEnd {
|
|
2629
2785
|
/**
|
|
2630
2786
|
* The readable file descriptor 0
|
|
@@ -2691,9 +2847,15 @@ export namespace GLib {
|
|
|
2691
2847
|
_init(...args: any[]): void;
|
|
2692
2848
|
}
|
|
2693
2849
|
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2850
|
+
/**
|
|
2851
|
+
* These are logical ids for special directories which are defined
|
|
2852
|
+
* depending on the platform used. You should use g_get_user_special_dir()
|
|
2853
|
+
* to retrieve the full path associated to the logical id.
|
|
2854
|
+
*
|
|
2855
|
+
* The #GUserDirectory enumeration can be extended at later date. Not
|
|
2856
|
+
* every platform has a directory for every logical id in this
|
|
2857
|
+
* enumeration.
|
|
2858
|
+
*/
|
|
2697
2859
|
|
|
2698
2860
|
/**
|
|
2699
2861
|
* These are logical ids for special directories which are defined
|
|
@@ -2704,6 +2866,10 @@ export namespace GLib {
|
|
|
2704
2866
|
* every platform has a directory for every logical id in this
|
|
2705
2867
|
* enumeration.
|
|
2706
2868
|
*/
|
|
2869
|
+
export namespace UserDirectory {
|
|
2870
|
+
export const $gtype: GObject.GType<UserDirectory>;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2707
2873
|
enum UserDirectory {
|
|
2708
2874
|
/**
|
|
2709
2875
|
* the user's Desktop directory
|
|
@@ -2742,13 +2908,17 @@ export namespace GLib {
|
|
|
2742
2908
|
*/
|
|
2743
2909
|
N_DIRECTORIES,
|
|
2744
2910
|
}
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2911
|
+
/**
|
|
2912
|
+
* The range of possible top-level types of #GVariant instances.
|
|
2913
|
+
*/
|
|
2748
2914
|
|
|
2749
2915
|
/**
|
|
2750
2916
|
* The range of possible top-level types of #GVariant instances.
|
|
2751
2917
|
*/
|
|
2918
|
+
export namespace VariantClass {
|
|
2919
|
+
export const $gtype: GObject.GType<VariantClass>;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2752
2922
|
enum VariantClass {
|
|
2753
2923
|
/**
|
|
2754
2924
|
* The #GVariant is a boolean.
|
|
@@ -12472,6 +12642,7 @@ export namespace GLib {
|
|
|
12472
12642
|
interface VoidFunc {
|
|
12473
12643
|
(): void;
|
|
12474
12644
|
}
|
|
12645
|
+
|
|
12475
12646
|
export namespace AsciiType {
|
|
12476
12647
|
export const $gtype: GObject.GType<AsciiType>;
|
|
12477
12648
|
}
|
|
@@ -12489,14 +12660,19 @@ export namespace GLib {
|
|
|
12489
12660
|
UPPER,
|
|
12490
12661
|
XDIGIT,
|
|
12491
12662
|
}
|
|
12492
|
-
|
|
12493
|
-
|
|
12494
|
-
|
|
12663
|
+
/**
|
|
12664
|
+
* Flags to pass to g_file_set_contents_full() to affect its safety and
|
|
12665
|
+
* performance.
|
|
12666
|
+
*/
|
|
12495
12667
|
|
|
12496
12668
|
/**
|
|
12497
12669
|
* Flags to pass to g_file_set_contents_full() to affect its safety and
|
|
12498
12670
|
* performance.
|
|
12499
12671
|
*/
|
|
12672
|
+
export namespace FileSetContentsFlags {
|
|
12673
|
+
export const $gtype: GObject.GType<FileSetContentsFlags>;
|
|
12674
|
+
}
|
|
12675
|
+
|
|
12500
12676
|
enum FileSetContentsFlags {
|
|
12501
12677
|
/**
|
|
12502
12678
|
* No guarantees about file consistency or durability.
|
|
@@ -12527,13 +12703,17 @@ export namespace GLib {
|
|
|
12527
12703
|
*/
|
|
12528
12704
|
ONLY_EXISTING,
|
|
12529
12705
|
}
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
|
|
12706
|
+
/**
|
|
12707
|
+
* A test to perform on a file using g_file_test().
|
|
12708
|
+
*/
|
|
12533
12709
|
|
|
12534
12710
|
/**
|
|
12535
12711
|
* A test to perform on a file using g_file_test().
|
|
12536
12712
|
*/
|
|
12713
|
+
export namespace FileTest {
|
|
12714
|
+
export const $gtype: GObject.GType<FileTest>;
|
|
12715
|
+
}
|
|
12716
|
+
|
|
12537
12717
|
enum FileTest {
|
|
12538
12718
|
/**
|
|
12539
12719
|
* %TRUE if the file is a regular file
|
|
@@ -12559,13 +12739,17 @@ export namespace GLib {
|
|
|
12559
12739
|
*/
|
|
12560
12740
|
EXISTS,
|
|
12561
12741
|
}
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12742
|
+
/**
|
|
12743
|
+
* Flags to modify the format of the string returned by g_format_size_full().
|
|
12744
|
+
*/
|
|
12565
12745
|
|
|
12566
12746
|
/**
|
|
12567
12747
|
* Flags to modify the format of the string returned by g_format_size_full().
|
|
12568
12748
|
*/
|
|
12749
|
+
export namespace FormatSizeFlags {
|
|
12750
|
+
export const $gtype: GObject.GType<FormatSizeFlags>;
|
|
12751
|
+
}
|
|
12752
|
+
|
|
12569
12753
|
enum FormatSizeFlags {
|
|
12570
12754
|
/**
|
|
12571
12755
|
* behave the same as g_format_size()
|
|
@@ -12601,13 +12785,17 @@ export namespace GLib {
|
|
|
12601
12785
|
*/
|
|
12602
12786
|
ONLY_UNIT,
|
|
12603
12787
|
}
|
|
12604
|
-
|
|
12605
|
-
|
|
12606
|
-
|
|
12788
|
+
/**
|
|
12789
|
+
* Flags used internally in the #GHook implementation.
|
|
12790
|
+
*/
|
|
12607
12791
|
|
|
12608
12792
|
/**
|
|
12609
12793
|
* Flags used internally in the #GHook implementation.
|
|
12610
12794
|
*/
|
|
12795
|
+
export namespace HookFlagMask {
|
|
12796
|
+
export const $gtype: GObject.GType<HookFlagMask>;
|
|
12797
|
+
}
|
|
12798
|
+
|
|
12611
12799
|
enum HookFlagMask {
|
|
12612
12800
|
/**
|
|
12613
12801
|
* set if the hook has not been destroyed
|
|
@@ -12623,14 +12811,19 @@ export namespace GLib {
|
|
|
12623
12811
|
*/
|
|
12624
12812
|
MASK,
|
|
12625
12813
|
}
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12814
|
+
/**
|
|
12815
|
+
* A bitwise combination representing a condition to watch for on an
|
|
12816
|
+
* event source.
|
|
12817
|
+
*/
|
|
12629
12818
|
|
|
12630
12819
|
/**
|
|
12631
12820
|
* A bitwise combination representing a condition to watch for on an
|
|
12632
12821
|
* event source.
|
|
12633
12822
|
*/
|
|
12823
|
+
export namespace IOCondition {
|
|
12824
|
+
export const $gtype: GObject.GType<IOCondition>;
|
|
12825
|
+
}
|
|
12826
|
+
|
|
12634
12827
|
enum IOCondition {
|
|
12635
12828
|
/**
|
|
12636
12829
|
* There is data to read.
|
|
@@ -12658,15 +12851,21 @@ export namespace GLib {
|
|
|
12658
12851
|
*/
|
|
12659
12852
|
NVAL,
|
|
12660
12853
|
}
|
|
12661
|
-
|
|
12662
|
-
|
|
12663
|
-
|
|
12854
|
+
/**
|
|
12855
|
+
* Specifies properties of a #GIOChannel. Some of the flags can only be
|
|
12856
|
+
* read with g_io_channel_get_flags(), but not changed with
|
|
12857
|
+
* g_io_channel_set_flags().
|
|
12858
|
+
*/
|
|
12664
12859
|
|
|
12665
12860
|
/**
|
|
12666
12861
|
* Specifies properties of a #GIOChannel. Some of the flags can only be
|
|
12667
12862
|
* read with g_io_channel_get_flags(), but not changed with
|
|
12668
12863
|
* g_io_channel_set_flags().
|
|
12669
12864
|
*/
|
|
12865
|
+
export namespace IOFlags {
|
|
12866
|
+
export const $gtype: GObject.GType<IOFlags>;
|
|
12867
|
+
}
|
|
12868
|
+
|
|
12670
12869
|
enum IOFlags {
|
|
12671
12870
|
/**
|
|
12672
12871
|
* no special flags set. Since: 2.74
|
|
@@ -12720,13 +12919,17 @@ export namespace GLib {
|
|
|
12720
12919
|
*/
|
|
12721
12920
|
SET_MASK,
|
|
12722
12921
|
}
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
12922
|
+
/**
|
|
12923
|
+
* Flags which influence the parsing.
|
|
12924
|
+
*/
|
|
12726
12925
|
|
|
12727
12926
|
/**
|
|
12728
12927
|
* Flags which influence the parsing.
|
|
12729
12928
|
*/
|
|
12929
|
+
export namespace KeyFileFlags {
|
|
12930
|
+
export const $gtype: GObject.GType<KeyFileFlags>;
|
|
12931
|
+
}
|
|
12932
|
+
|
|
12730
12933
|
enum KeyFileFlags {
|
|
12731
12934
|
/**
|
|
12732
12935
|
* No flags, default behaviour
|
|
@@ -12747,9 +12950,12 @@ export namespace GLib {
|
|
|
12747
12950
|
*/
|
|
12748
12951
|
KEEP_TRANSLATIONS,
|
|
12749
12952
|
}
|
|
12750
|
-
|
|
12751
|
-
|
|
12752
|
-
|
|
12953
|
+
/**
|
|
12954
|
+
* Flags specifying the level of log messages.
|
|
12955
|
+
*
|
|
12956
|
+
* It is possible to change how GLib treats messages of the various
|
|
12957
|
+
* levels using [func`GLib`.log_set_handler] and [func`GLib`.log_set_fatal_mask].
|
|
12958
|
+
*/
|
|
12753
12959
|
|
|
12754
12960
|
/**
|
|
12755
12961
|
* Flags specifying the level of log messages.
|
|
@@ -12757,6 +12963,10 @@ export namespace GLib {
|
|
|
12757
12963
|
* It is possible to change how GLib treats messages of the various
|
|
12758
12964
|
* levels using [func`GLib`.log_set_handler] and [func`GLib`.log_set_fatal_mask].
|
|
12759
12965
|
*/
|
|
12966
|
+
export namespace LogLevelFlags {
|
|
12967
|
+
export const $gtype: GObject.GType<LogLevelFlags>;
|
|
12968
|
+
}
|
|
12969
|
+
|
|
12760
12970
|
enum LogLevelFlags {
|
|
12761
12971
|
/**
|
|
12762
12972
|
* internal flag
|
|
@@ -12798,14 +13008,19 @@ export namespace GLib {
|
|
|
12798
13008
|
*/
|
|
12799
13009
|
LEVEL_MASK,
|
|
12800
13010
|
}
|
|
12801
|
-
|
|
12802
|
-
|
|
12803
|
-
|
|
13011
|
+
/**
|
|
13012
|
+
* Flags to pass to g_main_context_new_with_flags() which affect the behaviour
|
|
13013
|
+
* of a #GMainContext.
|
|
13014
|
+
*/
|
|
12804
13015
|
|
|
12805
13016
|
/**
|
|
12806
13017
|
* Flags to pass to g_main_context_new_with_flags() which affect the behaviour
|
|
12807
13018
|
* of a #GMainContext.
|
|
12808
13019
|
*/
|
|
13020
|
+
export namespace MainContextFlags {
|
|
13021
|
+
export const $gtype: GObject.GType<MainContextFlags>;
|
|
13022
|
+
}
|
|
13023
|
+
|
|
12809
13024
|
enum MainContextFlags {
|
|
12810
13025
|
/**
|
|
12811
13026
|
* Default behaviour.
|
|
@@ -12819,9 +13034,14 @@ export namespace GLib {
|
|
|
12819
13034
|
*/
|
|
12820
13035
|
OWNERLESS_POLLING,
|
|
12821
13036
|
}
|
|
12822
|
-
|
|
12823
|
-
|
|
12824
|
-
|
|
13037
|
+
/**
|
|
13038
|
+
* A mixed enumerated type and flags field. You must specify one type
|
|
13039
|
+
* (string, strdup, boolean, tristate). Additionally, you may optionally
|
|
13040
|
+
* bitwise OR the type with the flag %G_MARKUP_COLLECT_OPTIONAL.
|
|
13041
|
+
*
|
|
13042
|
+
* It is likely that this enum will be extended in the future to
|
|
13043
|
+
* support other types.
|
|
13044
|
+
*/
|
|
12825
13045
|
|
|
12826
13046
|
/**
|
|
12827
13047
|
* A mixed enumerated type and flags field. You must specify one type
|
|
@@ -12831,6 +13051,10 @@ export namespace GLib {
|
|
|
12831
13051
|
* It is likely that this enum will be extended in the future to
|
|
12832
13052
|
* support other types.
|
|
12833
13053
|
*/
|
|
13054
|
+
export namespace MarkupCollectType {
|
|
13055
|
+
export const $gtype: GObject.GType<MarkupCollectType>;
|
|
13056
|
+
}
|
|
13057
|
+
|
|
12834
13058
|
enum MarkupCollectType {
|
|
12835
13059
|
/**
|
|
12836
13060
|
* used to terminate the list of attributes
|
|
@@ -12872,13 +13096,17 @@ export namespace GLib {
|
|
|
12872
13096
|
*/
|
|
12873
13097
|
OPTIONAL,
|
|
12874
13098
|
}
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
13099
|
+
/**
|
|
13100
|
+
* Flags that affect the behaviour of the parser.
|
|
13101
|
+
*/
|
|
12878
13102
|
|
|
12879
13103
|
/**
|
|
12880
13104
|
* Flags that affect the behaviour of the parser.
|
|
12881
13105
|
*/
|
|
13106
|
+
export namespace MarkupParseFlags {
|
|
13107
|
+
export const $gtype: GObject.GType<MarkupParseFlags>;
|
|
13108
|
+
}
|
|
13109
|
+
|
|
12882
13110
|
enum MarkupParseFlags {
|
|
12883
13111
|
/**
|
|
12884
13112
|
* No special behaviour. Since: 2.74
|
|
@@ -12912,13 +13140,17 @@ export namespace GLib {
|
|
|
12912
13140
|
*/
|
|
12913
13141
|
IGNORE_QUALIFIED,
|
|
12914
13142
|
}
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
13143
|
+
/**
|
|
13144
|
+
* Flags which modify individual options.
|
|
13145
|
+
*/
|
|
12918
13146
|
|
|
12919
13147
|
/**
|
|
12920
13148
|
* Flags which modify individual options.
|
|
12921
13149
|
*/
|
|
13150
|
+
export namespace OptionFlags {
|
|
13151
|
+
export const $gtype: GObject.GType<OptionFlags>;
|
|
13152
|
+
}
|
|
13153
|
+
|
|
12922
13154
|
enum OptionFlags {
|
|
12923
13155
|
/**
|
|
12924
13156
|
* No flags. Since: 2.42.
|
|
@@ -12968,13 +13200,17 @@ export namespace GLib {
|
|
|
12968
13200
|
*/
|
|
12969
13201
|
NOALIAS,
|
|
12970
13202
|
}
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
13203
|
+
/**
|
|
13204
|
+
* Flags specifying compile-time options.
|
|
13205
|
+
*/
|
|
12974
13206
|
|
|
12975
13207
|
/**
|
|
12976
13208
|
* Flags specifying compile-time options.
|
|
12977
13209
|
*/
|
|
13210
|
+
export namespace RegexCompileFlags {
|
|
13211
|
+
export const $gtype: GObject.GType<RegexCompileFlags>;
|
|
13212
|
+
}
|
|
13213
|
+
|
|
12978
13214
|
enum RegexCompileFlags {
|
|
12979
13215
|
/**
|
|
12980
13216
|
* No special options set. Since: 2.74
|
|
@@ -13109,13 +13345,17 @@ export namespace GLib {
|
|
|
13109
13345
|
*/
|
|
13110
13346
|
JAVASCRIPT_COMPAT,
|
|
13111
13347
|
}
|
|
13112
|
-
|
|
13113
|
-
|
|
13114
|
-
|
|
13348
|
+
/**
|
|
13349
|
+
* Flags specifying match-time options.
|
|
13350
|
+
*/
|
|
13115
13351
|
|
|
13116
13352
|
/**
|
|
13117
13353
|
* Flags specifying match-time options.
|
|
13118
13354
|
*/
|
|
13355
|
+
export namespace RegexMatchFlags {
|
|
13356
|
+
export const $gtype: GObject.GType<RegexMatchFlags>;
|
|
13357
|
+
}
|
|
13358
|
+
|
|
13119
13359
|
enum RegexMatchFlags {
|
|
13120
13360
|
/**
|
|
13121
13361
|
* No special options set. Since: 2.74
|
|
@@ -13226,13 +13466,17 @@ export namespace GLib {
|
|
|
13226
13466
|
*/
|
|
13227
13467
|
NOTEMPTY_ATSTART,
|
|
13228
13468
|
}
|
|
13229
|
-
|
|
13230
|
-
|
|
13231
|
-
|
|
13469
|
+
/**
|
|
13470
|
+
* Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().
|
|
13471
|
+
*/
|
|
13232
13472
|
|
|
13233
13473
|
/**
|
|
13234
13474
|
* Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().
|
|
13235
13475
|
*/
|
|
13476
|
+
export namespace SpawnFlags {
|
|
13477
|
+
export const $gtype: GObject.GType<SpawnFlags>;
|
|
13478
|
+
}
|
|
13479
|
+
|
|
13236
13480
|
enum SpawnFlags {
|
|
13237
13481
|
/**
|
|
13238
13482
|
* no flags, default behaviour
|
|
@@ -13300,9 +13544,12 @@ export namespace GLib {
|
|
|
13300
13544
|
*/
|
|
13301
13545
|
STDIN_FROM_DEV_NULL,
|
|
13302
13546
|
}
|
|
13303
|
-
|
|
13304
|
-
|
|
13305
|
-
|
|
13547
|
+
/**
|
|
13548
|
+
* Flags to pass to g_test_trap_subprocess() to control input and output.
|
|
13549
|
+
*
|
|
13550
|
+
* Note that in contrast with g_test_trap_fork(), the default is to
|
|
13551
|
+
* not show stdout and stderr.
|
|
13552
|
+
*/
|
|
13306
13553
|
|
|
13307
13554
|
/**
|
|
13308
13555
|
* Flags to pass to g_test_trap_subprocess() to control input and output.
|
|
@@ -13310,6 +13557,10 @@ export namespace GLib {
|
|
|
13310
13557
|
* Note that in contrast with g_test_trap_fork(), the default is to
|
|
13311
13558
|
* not show stdout and stderr.
|
|
13312
13559
|
*/
|
|
13560
|
+
export namespace TestSubprocessFlags {
|
|
13561
|
+
export const $gtype: GObject.GType<TestSubprocessFlags>;
|
|
13562
|
+
}
|
|
13563
|
+
|
|
13313
13564
|
enum TestSubprocessFlags {
|
|
13314
13565
|
/**
|
|
13315
13566
|
* Default behaviour. Since: 2.74
|
|
@@ -13336,14 +13587,19 @@ export namespace GLib {
|
|
|
13336
13587
|
*/
|
|
13337
13588
|
INHERIT_STDERR,
|
|
13338
13589
|
}
|
|
13339
|
-
|
|
13340
|
-
|
|
13341
|
-
|
|
13590
|
+
/**
|
|
13591
|
+
* Test traps are guards around forked tests.
|
|
13592
|
+
* These flags determine what traps to set.
|
|
13593
|
+
*/
|
|
13342
13594
|
|
|
13343
13595
|
/**
|
|
13344
13596
|
* Test traps are guards around forked tests.
|
|
13345
13597
|
* These flags determine what traps to set.
|
|
13346
13598
|
*/
|
|
13599
|
+
export namespace TestTrapFlags {
|
|
13600
|
+
export const $gtype: GObject.GType<TestTrapFlags>;
|
|
13601
|
+
}
|
|
13602
|
+
|
|
13347
13603
|
enum TestTrapFlags {
|
|
13348
13604
|
/**
|
|
13349
13605
|
* Default behaviour. Since: 2.74
|
|
@@ -13370,14 +13626,19 @@ export namespace GLib {
|
|
|
13370
13626
|
*/
|
|
13371
13627
|
INHERIT_STDIN,
|
|
13372
13628
|
}
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13629
|
+
/**
|
|
13630
|
+
* Specifies which nodes are visited during several of the tree
|
|
13631
|
+
* functions, including g_node_traverse() and g_node_find().
|
|
13632
|
+
*/
|
|
13376
13633
|
|
|
13377
13634
|
/**
|
|
13378
13635
|
* Specifies which nodes are visited during several of the tree
|
|
13379
13636
|
* functions, including g_node_traverse() and g_node_find().
|
|
13380
13637
|
*/
|
|
13638
|
+
export namespace TraverseFlags {
|
|
13639
|
+
export const $gtype: GObject.GType<TraverseFlags>;
|
|
13640
|
+
}
|
|
13641
|
+
|
|
13381
13642
|
enum TraverseFlags {
|
|
13382
13643
|
/**
|
|
13383
13644
|
* only leaf nodes should be visited. This name has
|
|
@@ -13408,9 +13669,14 @@ export namespace GLib {
|
|
|
13408
13669
|
*/
|
|
13409
13670
|
NON_LEAFS,
|
|
13410
13671
|
}
|
|
13411
|
-
|
|
13412
|
-
|
|
13413
|
-
|
|
13672
|
+
/**
|
|
13673
|
+
* Flags that describe a URI.
|
|
13674
|
+
*
|
|
13675
|
+
* When parsing a URI, if you need to choose different flags based on
|
|
13676
|
+
* the type of URI, you can use g_uri_peek_scheme() on the URI string
|
|
13677
|
+
* to check the scheme first, and use that to decide what flags to
|
|
13678
|
+
* parse it with.
|
|
13679
|
+
*/
|
|
13414
13680
|
|
|
13415
13681
|
/**
|
|
13416
13682
|
* Flags that describe a URI.
|
|
@@ -13420,6 +13686,10 @@ export namespace GLib {
|
|
|
13420
13686
|
* to check the scheme first, and use that to decide what flags to
|
|
13421
13687
|
* parse it with.
|
|
13422
13688
|
*/
|
|
13689
|
+
export namespace UriFlags {
|
|
13690
|
+
export const $gtype: GObject.GType<UriFlags>;
|
|
13691
|
+
}
|
|
13692
|
+
|
|
13423
13693
|
enum UriFlags {
|
|
13424
13694
|
/**
|
|
13425
13695
|
* No flags set.
|
|
@@ -13481,9 +13751,12 @@ export namespace GLib {
|
|
|
13481
13751
|
*/
|
|
13482
13752
|
SCHEME_NORMALIZE,
|
|
13483
13753
|
}
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
|
|
13754
|
+
/**
|
|
13755
|
+
* Flags describing what parts of the URI to hide in
|
|
13756
|
+
* g_uri_to_string_partial(). Note that %G_URI_HIDE_PASSWORD and
|
|
13757
|
+
* %G_URI_HIDE_AUTH_PARAMS will only work if the #GUri was parsed with
|
|
13758
|
+
* the corresponding flags.
|
|
13759
|
+
*/
|
|
13487
13760
|
|
|
13488
13761
|
/**
|
|
13489
13762
|
* Flags describing what parts of the URI to hide in
|
|
@@ -13491,6 +13764,10 @@ export namespace GLib {
|
|
|
13491
13764
|
* %G_URI_HIDE_AUTH_PARAMS will only work if the #GUri was parsed with
|
|
13492
13765
|
* the corresponding flags.
|
|
13493
13766
|
*/
|
|
13767
|
+
export namespace UriHideFlags {
|
|
13768
|
+
export const $gtype: GObject.GType<UriHideFlags>;
|
|
13769
|
+
}
|
|
13770
|
+
|
|
13494
13771
|
enum UriHideFlags {
|
|
13495
13772
|
/**
|
|
13496
13773
|
* No flags set.
|
|
@@ -13517,14 +13794,19 @@ export namespace GLib {
|
|
|
13517
13794
|
*/
|
|
13518
13795
|
FRAGMENT,
|
|
13519
13796
|
}
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13797
|
+
/**
|
|
13798
|
+
* Flags modifying the way parameters are handled by g_uri_parse_params() and
|
|
13799
|
+
* #GUriParamsIter.
|
|
13800
|
+
*/
|
|
13523
13801
|
|
|
13524
13802
|
/**
|
|
13525
13803
|
* Flags modifying the way parameters are handled by g_uri_parse_params() and
|
|
13526
13804
|
* #GUriParamsIter.
|
|
13527
13805
|
*/
|
|
13806
|
+
export namespace UriParamsFlags {
|
|
13807
|
+
export const $gtype: GObject.GType<UriParamsFlags>;
|
|
13808
|
+
}
|
|
13809
|
+
|
|
13528
13810
|
enum UriParamsFlags {
|
|
13529
13811
|
/**
|
|
13530
13812
|
* No flags set.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/glib-2.0",
|
|
3
|
-
"version": "2.80.2-4.0.0-beta.
|
|
3
|
+
"version": "2.80.2-4.0.0-beta.10",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GLib-2.0, generated from library version 2.80.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "glib-2.0.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
35
|
-
"@girs/gobject-2.0": "^2.80.2-4.0.0-beta.
|
|
34
|
+
"@girs/gjs": "^4.0.0-beta.10",
|
|
35
|
+
"@girs/gobject-2.0": "^2.80.2-4.0.0-beta.10"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "*"
|