@girs/gio-2.0 2.77.0-3.2.2 → 2.78.0-3.2.4

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/gio-2.0.d.ts CHANGED
@@ -11133,7 +11133,7 @@ interface File {
11133
11133
  * @param flags a set of #GFileCreateFlags
11134
11134
  * @param io_priority the [I/O priority][io-priority] of the request
11135
11135
  * @param cancellable optional #GCancellable object, %NULL to ignore
11136
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11136
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11137
11137
  */
11138
11138
  append_to_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11139
11139
 
@@ -11241,8 +11241,34 @@ interface File {
11241
11241
  * @param flags set of #GFileCopyFlags
11242
11242
  * @param io_priority the [I/O priority][io-priority] of the request
11243
11243
  * @param cancellable optional #GCancellable object, %NULL to ignore
11244
+ * @param progress_callback function to callback with progress information, or %NULL if progress information is not needed
11245
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11244
11246
  */
11245
- copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null): void
11247
+ copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
11248
+
11249
+ // Overloads of copy_async
11250
+
11251
+ /**
11252
+ * Promisified version of {@link copy_async}
11253
+ *
11254
+ * Copies the file `source` to the location specified by `destination`
11255
+ * asynchronously. For details of the behaviour, see g_file_copy().
11256
+ *
11257
+ * If `progress_callback` is not %NULL, then that function that will be called
11258
+ * just like in g_file_copy(). The callback will run in the default main context
11259
+ * of the thread calling g_file_copy_async() — the same context as `callback` is
11260
+ * run in.
11261
+ *
11262
+ * When the operation is finished, `callback` will be called. You can then call
11263
+ * g_file_copy_finish() to get the result of the operation.
11264
+ * @param destination destination #GFile
11265
+ * @param flags set of #GFileCopyFlags
11266
+ * @param io_priority the [I/O priority][io-priority] of the request
11267
+ * @param cancellable optional #GCancellable object, %NULL to ignore
11268
+ * @param progress_callback function to callback with progress information, or %NULL if progress information is not needed
11269
+ * @returns A Promise of: a %TRUE on success, %FALSE on error.
11270
+ */
11271
+ copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null): globalThis.Promise<boolean>
11246
11272
  /**
11247
11273
  * Copies the file attributes from `source` to `destination`.
11248
11274
  *
@@ -11302,7 +11328,7 @@ interface File {
11302
11328
  * @param flags a set of #GFileCreateFlags
11303
11329
  * @param io_priority the [I/O priority][io-priority] of the request
11304
11330
  * @param cancellable optional #GCancellable object, %NULL to ignore
11305
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11331
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11306
11332
  */
11307
11333
  create_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11308
11334
 
@@ -11375,7 +11401,7 @@ interface File {
11375
11401
  * @param flags a set of #GFileCreateFlags
11376
11402
  * @param io_priority the [I/O priority][io-priority] of the request
11377
11403
  * @param cancellable optional #GCancellable object, %NULL to ignore
11378
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11404
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11379
11405
  */
11380
11406
  create_readwrite_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11381
11407
 
@@ -11488,7 +11514,7 @@ interface File {
11488
11514
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
11489
11515
  * @param flags flags affecting the operation
11490
11516
  * @param cancellable optional #GCancellable object, %NULL to ignore
11491
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
11517
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11492
11518
  */
11493
11519
  eject_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11494
11520
  /**
@@ -11510,7 +11536,7 @@ interface File {
11510
11536
  * @param flags flags affecting the operation
11511
11537
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
11512
11538
  * @param cancellable optional #GCancellable object, %NULL to ignore
11513
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
11539
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11514
11540
  */
11515
11541
  eject_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11516
11542
  /**
@@ -11567,7 +11593,7 @@ interface File {
11567
11593
  * @param flags a set of #GFileQueryInfoFlags
11568
11594
  * @param io_priority the [I/O priority][io-priority] of the request
11569
11595
  * @param cancellable optional #GCancellable object, %NULL to ignore
11570
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11596
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11571
11597
  */
11572
11598
  enumerate_children_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11573
11599
 
@@ -11637,7 +11663,7 @@ interface File {
11637
11663
  * get the result of the operation.
11638
11664
  * @param io_priority the [I/O priority][io-priority] of the request
11639
11665
  * @param cancellable optional #GCancellable object, %NULL to ignore
11640
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11666
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11641
11667
  */
11642
11668
  find_enclosing_mount_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11643
11669
 
@@ -11862,7 +11888,7 @@ interface File {
11862
11888
  *
11863
11889
  * See g_file_load_bytes() for more information.
11864
11890
  * @param cancellable a #GCancellable or %NULL
11865
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11891
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11866
11892
  */
11867
11893
  load_bytes_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11868
11894
 
@@ -12174,7 +12200,7 @@ interface File {
12174
12200
  * @param flags flags affecting the operation
12175
12201
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
12176
12202
  * @param cancellable optional #GCancellable object, %NULL to ignore
12177
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
12203
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12178
12204
  */
12179
12205
  mount_mountable(flags: MountMountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12180
12206
  /**
@@ -12241,8 +12267,8 @@ interface File {
12241
12267
  * @param flags set of #GFileCopyFlags
12242
12268
  * @param io_priority the [I/O priority][io-priority] of the request
12243
12269
  * @param cancellable optional #GCancellable object, %NULL to ignore
12244
- * @param progress_callback #GFileProgressCallback function for updates
12245
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12270
+ * @param progress_callback #GFileProgressCallback function for updates
12271
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12246
12272
  */
12247
12273
  move_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
12248
12274
 
@@ -12264,7 +12290,7 @@ interface File {
12264
12290
  * @param flags set of #GFileCopyFlags
12265
12291
  * @param io_priority the [I/O priority][io-priority] of the request
12266
12292
  * @param cancellable optional #GCancellable object, %NULL to ignore
12267
- * @param progress_callback #GFileProgressCallback function for updates
12293
+ * @param progress_callback #GFileProgressCallback function for updates
12268
12294
  * @returns A Promise of: %TRUE on successful file move, %FALSE otherwise.
12269
12295
  */
12270
12296
  move_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null): globalThis.Promise<boolean>
@@ -12307,7 +12333,7 @@ interface File {
12307
12333
  * the result of the operation.
12308
12334
  * @param io_priority the [I/O priority][io-priority] of the request
12309
12335
  * @param cancellable optional #GCancellable object, %NULL to ignore
12310
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12336
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12311
12337
  */
12312
12338
  open_readwrite_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12313
12339
 
@@ -12490,7 +12516,7 @@ interface File {
12490
12516
  * @param attributes an attribute query string
12491
12517
  * @param io_priority the [I/O priority][io-priority] of the request
12492
12518
  * @param cancellable optional #GCancellable object, %NULL to ignore
12493
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12519
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12494
12520
  */
12495
12521
  query_filesystem_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12496
12522
 
@@ -12574,7 +12600,7 @@ interface File {
12574
12600
  * @param flags a set of #GFileQueryInfoFlags
12575
12601
  * @param io_priority the [I/O priority][io-priority] of the request
12576
12602
  * @param cancellable optional #GCancellable object, %NULL to ignore
12577
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12603
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12578
12604
  */
12579
12605
  query_info_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12580
12606
 
@@ -12660,7 +12686,7 @@ interface File {
12660
12686
  * of the operation.
12661
12687
  * @param io_priority the [I/O priority][io-priority] of the request
12662
12688
  * @param cancellable optional #GCancellable object, %NULL to ignore
12663
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12689
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12664
12690
  */
12665
12691
  read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12666
12692
 
@@ -12753,7 +12779,7 @@ interface File {
12753
12779
  * @param flags a set of #GFileCreateFlags
12754
12780
  * @param io_priority the [I/O priority][io-priority] of the request
12755
12781
  * @param cancellable optional #GCancellable object, %NULL to ignore
12756
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12782
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12757
12783
  */
12758
12784
  replace_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12759
12785
 
@@ -12904,7 +12930,7 @@ interface File {
12904
12930
  * @param flags a set of #GFileCreateFlags
12905
12931
  * @param io_priority the [I/O priority][io-priority] of the request
12906
12932
  * @param cancellable optional #GCancellable object, %NULL to ignore
12907
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12933
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12908
12934
  */
12909
12935
  replace_readwrite_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12910
12936
 
@@ -13064,7 +13090,7 @@ interface File {
13064
13090
  * @param flags a #GFileQueryInfoFlags
13065
13091
  * @param io_priority the [I/O priority][io-priority] of the request
13066
13092
  * @param cancellable optional #GCancellable object, %NULL to ignore
13067
- * @param callback a #GAsyncReadyCallback
13093
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13068
13094
  */
13069
13095
  set_attributes_async(info: FileInfo, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13070
13096
 
@@ -13146,7 +13172,7 @@ interface File {
13146
13172
  * @param display_name a string
13147
13173
  * @param io_priority the [I/O priority][io-priority] of the request
13148
13174
  * @param cancellable optional #GCancellable object, %NULL to ignore
13149
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13175
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13150
13176
  */
13151
13177
  set_display_name_async(display_name: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13152
13178
 
@@ -13289,7 +13315,7 @@ interface File {
13289
13315
  * the result of the operation.
13290
13316
  * @param flags flags affecting the operation
13291
13317
  * @param cancellable optional #GCancellable object, %NULL to ignore
13292
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13318
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13293
13319
  */
13294
13320
  unmount_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13295
13321
  /**
@@ -13314,7 +13340,7 @@ interface File {
13314
13340
  * @param flags flags affecting the operation
13315
13341
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
13316
13342
  * @param cancellable optional #GCancellable object, %NULL to ignore
13317
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13343
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13318
13344
  */
13319
13345
  unmount_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13320
13346
  /**
@@ -13395,7 +13421,7 @@ interface File {
13395
13421
  * @param flags a set of #GFileCreateFlags
13396
13422
  * @param io_priority the [I/O priority][io-priority] of the request
13397
13423
  * @param cancellable optional #GCancellable object, %NULL to ignore
13398
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13424
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13399
13425
  */
13400
13426
  vfunc_append_to_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13401
13427
  /**
@@ -13471,8 +13497,10 @@ interface File {
13471
13497
  * @param flags set of #GFileCopyFlags
13472
13498
  * @param io_priority the [I/O priority][io-priority] of the request
13473
13499
  * @param cancellable optional #GCancellable object, %NULL to ignore
13500
+ * @param progress_callback function to callback with progress information, or %NULL if progress information is not needed
13501
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13474
13502
  */
13475
- vfunc_copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null): void
13503
+ vfunc_copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
13476
13504
  /**
13477
13505
  * Finishes copying the file started with g_file_copy_async().
13478
13506
  * @virtual
@@ -13520,7 +13548,7 @@ interface File {
13520
13548
  * @param flags a set of #GFileCreateFlags
13521
13549
  * @param io_priority the [I/O priority][io-priority] of the request
13522
13550
  * @param cancellable optional #GCancellable object, %NULL to ignore
13523
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13551
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13524
13552
  */
13525
13553
  vfunc_create_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13526
13554
  /**
@@ -13575,7 +13603,7 @@ interface File {
13575
13603
  * @param flags a set of #GFileCreateFlags
13576
13604
  * @param io_priority the [I/O priority][io-priority] of the request
13577
13605
  * @param cancellable optional #GCancellable object, %NULL to ignore
13578
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13606
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13579
13607
  */
13580
13608
  vfunc_create_readwrite_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13581
13609
  /**
@@ -13659,7 +13687,7 @@ interface File {
13659
13687
  * @virtual
13660
13688
  * @param flags flags affecting the operation
13661
13689
  * @param cancellable optional #GCancellable object, %NULL to ignore
13662
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13690
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13663
13691
  */
13664
13692
  vfunc_eject_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13665
13693
  /**
@@ -13683,7 +13711,7 @@ interface File {
13683
13711
  * @param flags flags affecting the operation
13684
13712
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
13685
13713
  * @param cancellable optional #GCancellable object, %NULL to ignore
13686
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13714
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13687
13715
  */
13688
13716
  vfunc_eject_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13689
13717
  /**
@@ -13743,7 +13771,7 @@ interface File {
13743
13771
  * @param flags a set of #GFileQueryInfoFlags
13744
13772
  * @param io_priority the [I/O priority][io-priority] of the request
13745
13773
  * @param cancellable optional #GCancellable object, %NULL to ignore
13746
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13774
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13747
13775
  */
13748
13776
  vfunc_enumerate_children_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13749
13777
  /**
@@ -13794,7 +13822,7 @@ interface File {
13794
13822
  * @virtual
13795
13823
  * @param io_priority the [I/O priority][io-priority] of the request
13796
13824
  * @param cancellable optional #GCancellable object, %NULL to ignore
13797
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13825
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13798
13826
  */
13799
13827
  vfunc_find_enclosing_mount_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13800
13828
  /**
@@ -14100,7 +14128,7 @@ interface File {
14100
14128
  * @param flags flags affecting the operation
14101
14129
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
14102
14130
  * @param cancellable optional #GCancellable object, %NULL to ignore
14103
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
14131
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14104
14132
  */
14105
14133
  vfunc_mount_mountable(flags: MountMountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14106
14134
  /**
@@ -14170,8 +14198,8 @@ interface File {
14170
14198
  * @param flags set of #GFileCopyFlags
14171
14199
  * @param io_priority the [I/O priority][io-priority] of the request
14172
14200
  * @param cancellable optional #GCancellable object, %NULL to ignore
14173
- * @param progress_callback #GFileProgressCallback function for updates
14174
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14201
+ * @param progress_callback #GFileProgressCallback function for updates
14202
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14175
14203
  */
14176
14204
  vfunc_move_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
14177
14205
  /**
@@ -14216,7 +14244,7 @@ interface File {
14216
14244
  * @virtual
14217
14245
  * @param io_priority the [I/O priority][io-priority] of the request
14218
14246
  * @param cancellable optional #GCancellable object, %NULL to ignore
14219
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14247
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14220
14248
  */
14221
14249
  vfunc_open_readwrite_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14222
14250
  /**
@@ -14320,7 +14348,7 @@ interface File {
14320
14348
  * @param attributes an attribute query string
14321
14349
  * @param io_priority the [I/O priority][io-priority] of the request
14322
14350
  * @param cancellable optional #GCancellable object, %NULL to ignore
14323
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14351
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14324
14352
  */
14325
14353
  vfunc_query_filesystem_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14326
14354
  /**
@@ -14384,7 +14412,7 @@ interface File {
14384
14412
  * @param flags a set of #GFileQueryInfoFlags
14385
14413
  * @param io_priority the [I/O priority][io-priority] of the request
14386
14414
  * @param cancellable optional #GCancellable object, %NULL to ignore
14387
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14415
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14388
14416
  */
14389
14417
  vfunc_query_info_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14390
14418
  /**
@@ -14436,7 +14464,7 @@ interface File {
14436
14464
  * @virtual
14437
14465
  * @param io_priority the [I/O priority][io-priority] of the request
14438
14466
  * @param cancellable optional #GCancellable object, %NULL to ignore
14439
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14467
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14440
14468
  */
14441
14469
  vfunc_read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14442
14470
  /**
@@ -14530,7 +14558,7 @@ interface File {
14530
14558
  * @param flags a set of #GFileCreateFlags
14531
14559
  * @param io_priority the [I/O priority][io-priority] of the request
14532
14560
  * @param cancellable optional #GCancellable object, %NULL to ignore
14533
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14561
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14534
14562
  */
14535
14563
  vfunc_replace_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14536
14564
  /**
@@ -14577,7 +14605,7 @@ interface File {
14577
14605
  * @param flags a set of #GFileCreateFlags
14578
14606
  * @param io_priority the [I/O priority][io-priority] of the request
14579
14607
  * @param cancellable optional #GCancellable object, %NULL to ignore
14580
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14608
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14581
14609
  */
14582
14610
  vfunc_replace_readwrite_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14583
14611
  /**
@@ -14632,7 +14660,7 @@ interface File {
14632
14660
  * @param flags a #GFileQueryInfoFlags
14633
14661
  * @param io_priority the [I/O priority][io-priority] of the request
14634
14662
  * @param cancellable optional #GCancellable object, %NULL to ignore
14635
- * @param callback a #GAsyncReadyCallback
14663
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14636
14664
  */
14637
14665
  vfunc_set_attributes_async(info: FileInfo, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14638
14666
  /**
@@ -14697,7 +14725,7 @@ interface File {
14697
14725
  * @param display_name a string
14698
14726
  * @param io_priority the [I/O priority][io-priority] of the request
14699
14727
  * @param cancellable optional #GCancellable object, %NULL to ignore
14700
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14728
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14701
14729
  */
14702
14730
  vfunc_set_display_name_async(display_name: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14703
14731
  /**
@@ -14809,7 +14837,7 @@ interface File {
14809
14837
  * @virtual
14810
14838
  * @param flags flags affecting the operation
14811
14839
  * @param cancellable optional #GCancellable object, %NULL to ignore
14812
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
14840
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14813
14841
  */
14814
14842
  vfunc_unmount_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14815
14843
  /**
@@ -14836,7 +14864,7 @@ interface File {
14836
14864
  * @param flags flags affecting the operation
14837
14865
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
14838
14866
  * @param cancellable optional #GCancellable object, %NULL to ignore
14839
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
14867
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14840
14868
  */
14841
14869
  vfunc_unmount_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14842
14870
  /**
@@ -15561,6 +15589,8 @@ interface ListModel {
15561
15589
  *
15562
15590
  * %NULL is never returned for an index that is smaller than the length
15563
15591
  * of the list. See g_list_model_get_n_items().
15592
+ *
15593
+ * The same #GObject instance may not appear more than once in a #GListModel.
15564
15594
  * @virtual
15565
15595
  * @param position the position of the item to fetch
15566
15596
  * @returns the object at @position.
@@ -15711,7 +15741,7 @@ interface LoadableIcon extends Icon {
15711
15741
  * version of this function, see g_loadable_icon_load().
15712
15742
  * @param size an integer.
15713
15743
  * @param cancellable optional #GCancellable object, %NULL to ignore.
15714
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15744
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15715
15745
  */
15716
15746
  load_async(size: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
15717
15747
 
@@ -15753,7 +15783,7 @@ interface LoadableIcon extends Icon {
15753
15783
  * @virtual
15754
15784
  * @param size an integer.
15755
15785
  * @param cancellable optional #GCancellable object, %NULL to ignore.
15756
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15786
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15757
15787
  */
15758
15788
  vfunc_load_async(size: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
15759
15789
  /**
@@ -16500,14 +16530,18 @@ interface NetworkMonitor extends Initable {
16500
16530
  */
16501
16531
  readonly network_available: boolean
16502
16532
  /**
16503
- * Whether the network is considered metered. That is, whether the
16533
+ * Whether the network is considered metered.
16534
+ *
16535
+ * That is, whether the
16504
16536
  * system has traffic flowing through the default connection that is
16505
16537
  * subject to limitations set by service providers. For example, traffic
16506
16538
  * might be billed by the amount of data transmitted, or there might be a
16507
16539
  * quota on the amount of traffic per month. This is typical with tethered
16508
16540
  * connections (3G and 4G) and in such situations, bandwidth intensive
16509
16541
  * applications may wish to avoid network activity where possible if it will
16510
- * cost the user money or use up their limited quota.
16542
+ * cost the user money or use up their limited quota. Anything more than a
16543
+ * few hundreds of kilobytes of data usage per hour should be avoided without
16544
+ * asking permission from the user.
16511
16545
  *
16512
16546
  * If more information is required about specific devices then the
16513
16547
  * system network management API should be used instead (for example,
@@ -16557,7 +16591,7 @@ interface NetworkMonitor extends Initable {
16557
16591
  * to get the result of the operation.
16558
16592
  * @param connectable a #GSocketConnectable
16559
16593
  * @param cancellable a #GCancellable, or %NULL
16560
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16594
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16561
16595
  */
16562
16596
  can_reach_async(connectable: SocketConnectable, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
16563
16597
 
@@ -16664,7 +16698,7 @@ interface NetworkMonitor extends Initable {
16664
16698
  * @virtual
16665
16699
  * @param connectable a #GSocketConnectable
16666
16700
  * @param cancellable a #GCancellable, or %NULL
16667
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16701
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16668
16702
  */
16669
16703
  vfunc_can_reach_async(connectable: SocketConnectable, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
16670
16704
  /**
@@ -19330,7 +19364,7 @@ interface AppLaunchContext {
19330
19364
  *
19331
19365
  * Support for the XDG Activation Protocol was added in GLib 2.76.
19332
19366
  * @param info a #GAppInfo
19333
- * @param files a #GList of of #GFile objects
19367
+ * @param files a #GList of #GFile objects
19334
19368
  * @returns a startup notification ID for the application, or %NULL if not supported.
19335
19369
  */
19336
19370
  get_startup_notify_id(info: AppInfo, files: File[]): string | null
@@ -19382,7 +19416,7 @@ interface AppLaunchContext {
19382
19416
  * Support for the XDG Activation Protocol was added in GLib 2.76.
19383
19417
  * @virtual
19384
19418
  * @param info a #GAppInfo
19385
- * @param files a #GList of of #GFile objects
19419
+ * @param files a #GList of #GFile objects
19386
19420
  * @returns a startup notification ID for the application, or %NULL if not supported.
19387
19421
  */
19388
19422
  vfunc_get_startup_notify_id(info: AppInfo, files: File[]): string | null
@@ -20274,8 +20308,8 @@ interface Application extends ActionGroup, ActionMap {
20274
20308
  * instance and g_application_run() promptly returns. See the code
20275
20309
  * examples below.
20276
20310
  *
20277
- * If used, the expected form of an application identifier is the same as
20278
- * that of of a
20311
+ * If used, the expected form of an application identifier is the
20312
+ * same as that of a
20279
20313
  * [D-Bus well-known bus name](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus).
20280
20314
  * Examples include: `com.example.MyApp`, `org.example.internal_apps.Calculator`,
20281
20315
  * `org._7_zip.Archiver`.
@@ -23432,6 +23466,13 @@ interface DBusInterfaceSkeleton extends DBusInterface {
23432
23466
  * @returns A #GVariant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with g_variant_unref().
23433
23467
  */
23434
23468
  get_properties(): GLib.Variant
23469
+ /**
23470
+ * Gets the interface vtable for the D-Bus interface implemented by
23471
+ * `interface_`. The returned function pointers should expect `interface_`
23472
+ * itself to be passed as `user_data`.
23473
+ * @returns the vtable of the D-Bus interface implemented by the skeleton
23474
+ */
23475
+ get_vtable(): DBusInterfaceVTable
23435
23476
  /**
23436
23477
  * Checks if `interface_` is exported on `connection`.
23437
23478
  * @param connection A #GDBusConnection.
@@ -23487,6 +23528,14 @@ interface DBusInterfaceSkeleton extends DBusInterface {
23487
23528
  * @returns A #GVariant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with g_variant_unref().
23488
23529
  */
23489
23530
  vfunc_get_properties(): GLib.Variant
23531
+ /**
23532
+ * Gets the interface vtable for the D-Bus interface implemented by
23533
+ * `interface_`. The returned function pointers should expect `interface_`
23534
+ * itself to be passed as `user_data`.
23535
+ * @virtual
23536
+ * @returns the vtable of the D-Bus interface implemented by the skeleton
23537
+ */
23538
+ vfunc_get_vtable(): DBusInterfaceVTable
23490
23539
 
23491
23540
  // Own signals of Gio-2.0.Gio.DBusInterfaceSkeleton
23492
23541
 
@@ -27158,7 +27207,7 @@ interface FileEnumerator {
27158
27207
  * g_file_enumerator_close_finish().
27159
27208
  * @param io_priority the [I/O priority][io-priority] of the request
27160
27209
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27161
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27210
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27162
27211
  */
27163
27212
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27164
27213
 
@@ -27358,7 +27407,7 @@ interface FileEnumerator {
27358
27407
  * @param num_files the number of file info objects to request
27359
27408
  * @param io_priority the [I/O priority][io-priority] of the request
27360
27409
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27361
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27410
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27362
27411
  */
27363
27412
  next_files_async(num_files: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27364
27413
 
@@ -27463,7 +27512,7 @@ interface FileEnumerator {
27463
27512
  * @virtual
27464
27513
  * @param io_priority the [I/O priority][io-priority] of the request
27465
27514
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27466
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27515
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27467
27516
  */
27468
27517
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27469
27518
  /**
@@ -27571,7 +27620,7 @@ interface FileEnumerator {
27571
27620
  * @param num_files the number of file info objects to request
27572
27621
  * @param io_priority the [I/O priority][io-priority] of the request
27573
27622
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27574
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27623
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27575
27624
  */
27576
27625
  vfunc_next_files_async(num_files: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27577
27626
  /**
@@ -27692,7 +27741,7 @@ interface FileIOStream extends Seekable {
27692
27741
  * @param attributes a file attribute query string.
27693
27742
  * @param io_priority the [I/O priority][gio-GIOScheduler] of the request
27694
27743
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27695
- * @param callback callback to call when the request is satisfied
27744
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27696
27745
  */
27697
27746
  query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27698
27747
 
@@ -27768,7 +27817,7 @@ interface FileIOStream extends Seekable {
27768
27817
  * @param attributes a file attribute query string.
27769
27818
  * @param io_priority the [I/O priority][gio-GIOScheduler] of the request
27770
27819
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27771
- * @param callback callback to call when the request is satisfied
27820
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27772
27821
  */
27773
27822
  vfunc_query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27774
27823
  /**
@@ -27982,6 +28031,17 @@ interface FileInfo {
27982
28031
  * @returns %TRUE if @info has an attribute named @attribute, %FALSE otherwise.
27983
28032
  */
27984
28033
  get_attribute_data(attribute: string | null): [ /* returnType */ boolean, /* type */ FileAttributeType, /* value_pp */ any, /* status */ FileAttributeStatus ]
28034
+ /**
28035
+ * Gets the value of a byte string attribute as a file path.
28036
+ *
28037
+ * If the attribute does not contain a byte string, `NULL` will be returned.
28038
+ *
28039
+ * This function is meant to be used by language bindings that have specific
28040
+ * handling for Unix paths.
28041
+ * @param attribute a file attribute key.
28042
+ * @returns the contents of the @attribute value as a file path, or %NULL otherwise.
28043
+ */
28044
+ get_attribute_file_path(attribute: string | null): string | null
27985
28045
  /**
27986
28046
  * Gets a signed 32-bit integer contained within the attribute. If the
27987
28047
  * attribute does not contain a signed 32-bit integer, or is invalid,
@@ -28263,6 +28323,16 @@ interface FileInfo {
28263
28323
  * @param attr_value a byte string.
28264
28324
  */
28265
28325
  set_attribute_byte_string(attribute: string | null, attr_value: string | null): void
28326
+ /**
28327
+ * Sets the `attribute` to contain the given `attr_value,`
28328
+ * if possible.
28329
+ *
28330
+ * This function is meant to be used by language bindings that have specific
28331
+ * handling for Unix paths.
28332
+ * @param attribute a file attribute key.
28333
+ * @param attr_value a file path.
28334
+ */
28335
+ set_attribute_file_path(attribute: string | null, attr_value: string): void
28266
28336
  /**
28267
28337
  * Sets the `attribute` to contain the given `attr_value,`
28268
28338
  * if possible.
@@ -28549,7 +28619,7 @@ interface FileInputStream extends Seekable {
28549
28619
  * @param attributes a file attribute query string.
28550
28620
  * @param io_priority the [I/O priority][io-priority] of the request
28551
28621
  * @param cancellable optional #GCancellable object, %NULL to ignore.
28552
- * @param callback callback to call when the request is satisfied
28622
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
28553
28623
  */
28554
28624
  query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
28555
28625
 
@@ -28613,7 +28683,7 @@ interface FileInputStream extends Seekable {
28613
28683
  * @param attributes a file attribute query string.
28614
28684
  * @param io_priority the [I/O priority][io-priority] of the request
28615
28685
  * @param cancellable optional #GCancellable object, %NULL to ignore.
28616
- * @param callback callback to call when the request is satisfied
28686
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
28617
28687
  */
28618
28688
  vfunc_query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
28619
28689
  /**
@@ -29405,7 +29475,7 @@ interface IOStream {
29405
29475
  * classes. However, if you override one you must override all.
29406
29476
  * @param io_priority the io priority of the request
29407
29477
  * @param cancellable optional cancellable object
29408
- * @param callback callback to call when the request is satisfied
29478
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
29409
29479
  */
29410
29480
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
29411
29481
 
@@ -29476,7 +29546,7 @@ interface IOStream {
29476
29546
  * @param flags a set of #GIOStreamSpliceFlags.
29477
29547
  * @param io_priority the io priority of the request.
29478
29548
  * @param cancellable optional #GCancellable object, %NULL to ignore.
29479
- * @param callback a #GAsyncReadyCallback.
29549
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
29480
29550
  */
29481
29551
  splice_async(stream2: IOStream, flags: IOStreamSpliceFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
29482
29552
 
@@ -29496,7 +29566,7 @@ interface IOStream {
29496
29566
  * @virtual
29497
29567
  * @param io_priority the io priority of the request
29498
29568
  * @param cancellable optional cancellable object
29499
- * @param callback callback to call when the request is satisfied
29569
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
29500
29570
  */
29501
29571
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
29502
29572
  /**
@@ -30189,7 +30259,7 @@ interface InputStream {
30189
30259
  * override one you must override all.
30190
30260
  * @param io_priority the [I/O priority][io-priority] of the request
30191
30261
  * @param cancellable optional cancellable object
30192
- * @param callback callback to call when the request is satisfied
30262
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30193
30263
  */
30194
30264
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30195
30265
 
@@ -30292,7 +30362,7 @@ interface InputStream {
30292
30362
  * priority. Default priority is %G_PRIORITY_DEFAULT.
30293
30363
  * @param io_priority the [I/O priority][io-priority] of the request
30294
30364
  * @param cancellable optional #GCancellable object, %NULL to ignore
30295
- * @param callback callback to call when the request is satisfied
30365
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30296
30366
  */
30297
30367
  read_all_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): /* buffer */ Uint8Array
30298
30368
 
@@ -30356,7 +30426,7 @@ interface InputStream {
30356
30426
  * override one you must override all.
30357
30427
  * @param io_priority the [I/O priority][io-priority] of the request.
30358
30428
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30359
- * @param callback callback to call when the request is satisfied
30429
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30360
30430
  */
30361
30431
  read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): /* buffer */ Uint8Array
30362
30432
 
@@ -30446,7 +30516,7 @@ interface InputStream {
30446
30516
  * @param count the number of bytes that will be read from the stream
30447
30517
  * @param io_priority the [I/O priority][io-priority] of the request
30448
30518
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30449
- * @param callback callback to call when the request is satisfied
30519
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30450
30520
  */
30451
30521
  read_bytes_async(count: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30452
30522
 
@@ -30547,7 +30617,7 @@ interface InputStream {
30547
30617
  * @param count the number of bytes that will be skipped from the stream
30548
30618
  * @param io_priority the [I/O priority][io-priority] of the request
30549
30619
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30550
- * @param callback callback to call when the request is satisfied
30620
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30551
30621
  */
30552
30622
  skip_async(count: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30553
30623
 
@@ -30608,7 +30678,7 @@ interface InputStream {
30608
30678
  * @virtual
30609
30679
  * @param io_priority the [I/O priority][io-priority] of the request
30610
30680
  * @param cancellable optional cancellable object
30611
- * @param callback callback to call when the request is satisfied
30681
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30612
30682
  */
30613
30683
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30614
30684
  /**
@@ -30646,7 +30716,7 @@ interface InputStream {
30646
30716
  * @virtual
30647
30717
  * @param io_priority the [I/O priority][io-priority] of the request.
30648
30718
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30649
- * @param callback callback to call when the request is satisfied
30719
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30650
30720
  */
30651
30721
  vfunc_read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): /* buffer */ Uint8Array | null
30652
30722
  /**
@@ -30706,7 +30776,7 @@ interface InputStream {
30706
30776
  * @param count the number of bytes that will be skipped from the stream
30707
30777
  * @param io_priority the [I/O priority][io-priority] of the request
30708
30778
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30709
- * @param callback callback to call when the request is satisfied
30779
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30710
30780
  */
30711
30781
  vfunc_skip_async(count: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30712
30782
  /**
@@ -30737,7 +30807,7 @@ interface InputStream {
30737
30807
  * streaming APIs.
30738
30808
  *
30739
30809
  * All of these functions have async variants too.
30740
- * @class
30810
+ * @interface
30741
30811
  */
30742
30812
  class InputStream extends GObject.Object {
30743
30813
 
@@ -33328,7 +33398,7 @@ interface OutputStream {
33328
33398
  * classes. However, if you override one you must override all.
33329
33399
  * @param io_priority the io priority of the request.
33330
33400
  * @param cancellable optional cancellable object
33331
- * @param callback callback to call when the request is satisfied
33401
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33332
33402
  */
33333
33403
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33334
33404
 
@@ -33382,7 +33452,7 @@ interface OutputStream {
33382
33452
  * result of the operation.
33383
33453
  * @param io_priority the io priority of the request.
33384
33454
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33385
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33455
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33386
33456
  */
33387
33457
  flush_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33388
33458
 
@@ -33454,7 +33524,7 @@ interface OutputStream {
33454
33524
  * @param flags a set of #GOutputStreamSpliceFlags.
33455
33525
  * @param io_priority the io priority of the request.
33456
33526
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33457
- * @param callback a #GAsyncReadyCallback.
33527
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33458
33528
  */
33459
33529
  splice_async(source: InputStream, flags: OutputStreamSpliceFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33460
33530
 
@@ -33553,7 +33623,7 @@ interface OutputStream {
33553
33623
  * @param buffer the buffer containing the data to write
33554
33624
  * @param io_priority the io priority of the request
33555
33625
  * @param cancellable optional #GCancellable object, %NULL to ignore
33556
- * @param callback callback to call when the request is satisfied
33626
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33557
33627
  */
33558
33628
  write_all_async(buffer: Uint8Array, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33559
33629
 
@@ -33637,7 +33707,7 @@ interface OutputStream {
33637
33707
  * @param buffer the buffer containing the data to write.
33638
33708
  * @param io_priority the io priority of the request.
33639
33709
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33640
- * @param callback callback to call when the request is satisfied
33710
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33641
33711
  */
33642
33712
  write_async(buffer: Uint8Array, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33643
33713
 
@@ -33721,7 +33791,7 @@ interface OutputStream {
33721
33791
  * @param bytes The bytes to write
33722
33792
  * @param io_priority the io priority of the request.
33723
33793
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33724
- * @param callback callback to call when the request is satisfied
33794
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33725
33795
  */
33726
33796
  write_bytes_async(bytes: GLib.Bytes, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33727
33797
 
@@ -33838,7 +33908,7 @@ interface OutputStream {
33838
33908
  * @param vectors the buffer containing the #GOutputVectors to write.
33839
33909
  * @param io_priority the I/O priority of the request
33840
33910
  * @param cancellable optional #GCancellable object, %NULL to ignore
33841
- * @param callback callback to call when the request is satisfied
33911
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33842
33912
  */
33843
33913
  writev_all_async(vectors: OutputVector[], io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33844
33914
 
@@ -33918,7 +33988,7 @@ interface OutputStream {
33918
33988
  * @param vectors the buffer containing the #GOutputVectors to write.
33919
33989
  * @param io_priority the I/O priority of the request.
33920
33990
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33921
- * @param callback callback to call when the request is satisfied
33991
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33922
33992
  */
33923
33993
  writev_async(vectors: OutputVector[], io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33924
33994
 
@@ -33986,7 +34056,7 @@ interface OutputStream {
33986
34056
  * @virtual
33987
34057
  * @param io_priority the io priority of the request.
33988
34058
  * @param cancellable optional cancellable object
33989
- * @param callback callback to call when the request is satisfied
34059
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33990
34060
  */
33991
34061
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33992
34062
  /**
@@ -34023,7 +34093,7 @@ interface OutputStream {
34023
34093
  * @virtual
34024
34094
  * @param io_priority the io priority of the request.
34025
34095
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34026
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34096
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34027
34097
  */
34028
34098
  vfunc_flush_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34029
34099
  /**
@@ -34055,7 +34125,7 @@ interface OutputStream {
34055
34125
  * @param flags a set of #GOutputStreamSpliceFlags.
34056
34126
  * @param io_priority the io priority of the request.
34057
34127
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34058
- * @param callback a #GAsyncReadyCallback.
34128
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34059
34129
  */
34060
34130
  vfunc_splice_async(source: InputStream, flags: OutputStreamSpliceFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34061
34131
  /**
@@ -34105,7 +34175,7 @@ interface OutputStream {
34105
34175
  * @param buffer the buffer containing the data to write.
34106
34176
  * @param io_priority the io priority of the request.
34107
34177
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34108
- * @param callback callback to call when the request is satisfied
34178
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34109
34179
  */
34110
34180
  vfunc_write_async(buffer: Uint8Array | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34111
34181
  /**
@@ -34177,7 +34247,7 @@ interface OutputStream {
34177
34247
  * @param vectors the buffer containing the #GOutputVectors to write.
34178
34248
  * @param io_priority the I/O priority of the request.
34179
34249
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34180
- * @param callback callback to call when the request is satisfied
34250
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34181
34251
  */
34182
34252
  vfunc_writev_async(vectors: OutputVector[], io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34183
34253
  /**
@@ -34238,7 +34308,7 @@ interface OutputStream {
34238
34308
  * streaming APIs.
34239
34309
  *
34240
34310
  * All of these functions have async variants too.
34241
- * @class
34311
+ * @interface
34242
34312
  */
34243
34313
  class OutputStream extends GObject.Object {
34244
34314
 
@@ -39473,7 +39543,7 @@ interface SocketAddressEnumerator {
39473
39543
  *
39474
39544
  * It is an error to call this multiple times before the previous callback has finished.
39475
39545
  * @param cancellable optional #GCancellable object, %NULL to ignore.
39476
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39546
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39477
39547
  */
39478
39548
  next_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
39479
39549
 
@@ -39530,7 +39600,7 @@ interface SocketAddressEnumerator {
39530
39600
  * It is an error to call this multiple times before the previous callback has finished.
39531
39601
  * @virtual
39532
39602
  * @param cancellable optional #GCancellable object, %NULL to ignore.
39533
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39603
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39534
39604
  */
39535
39605
  vfunc_next_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
39536
39606
  /**
@@ -44942,7 +45012,7 @@ interface TlsDatabase {
44942
45012
  * g_tls_database_lookup_certificates_issued_by() for more information.
44943
45013
  *
44944
45014
  * The database may choose to hold a reference to the issuer byte array for the duration
44945
- * of of this asynchronous operation. The byte array should not be modified during
45015
+ * of this asynchronous operation. The byte array should not be modified during
44946
45016
  * this time.
44947
45017
  * @param issuer_raw_dn a #GByteArray which holds the DER encoded issuer DN.
44948
45018
  * @param interaction used to interact with the user if necessary
@@ -44961,7 +45031,7 @@ interface TlsDatabase {
44961
45031
  * g_tls_database_lookup_certificates_issued_by() for more information.
44962
45032
  *
44963
45033
  * The database may choose to hold a reference to the issuer byte array for the duration
44964
- * of of this asynchronous operation. The byte array should not be modified during
45034
+ * of this asynchronous operation. The byte array should not be modified during
44965
45035
  * this time.
44966
45036
  * @param issuer_raw_dn a #GByteArray which holds the DER encoded issuer DN.
44967
45037
  * @param interaction used to interact with the user if necessary
@@ -45220,7 +45290,7 @@ interface TlsDatabase {
45220
45290
  * g_tls_database_lookup_certificates_issued_by() for more information.
45221
45291
  *
45222
45292
  * The database may choose to hold a reference to the issuer byte array for the duration
45223
- * of of this asynchronous operation. The byte array should not be modified during
45293
+ * of this asynchronous operation. The byte array should not be modified during
45224
45294
  * this time.
45225
45295
  * @virtual
45226
45296
  * @param issuer_raw_dn a #GByteArray which holds the DER encoded issuer DN.
@@ -45981,7 +46051,7 @@ interface UnixConnection {
45981
46051
  * When the operation is finished, `callback` will be called. You can then call
45982
46052
  * g_unix_connection_receive_credentials_finish() to get the result of the operation.
45983
46053
  * @param cancellable optional #GCancellable object, %NULL to ignore.
45984
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
46054
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
45985
46055
  */
45986
46056
  receive_credentials_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
45987
46057
 
@@ -46053,7 +46123,7 @@ interface UnixConnection {
46053
46123
  * When the operation is finished, `callback` will be called. You can then call
46054
46124
  * g_unix_connection_send_credentials_finish() to get the result of the operation.
46055
46125
  * @param cancellable optional #GCancellable object, %NULL to ignore.
46056
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
46126
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
46057
46127
  */
46058
46128
  send_credentials_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
46059
46129
 
@@ -48593,6 +48663,7 @@ interface DBusInterfaceSkeletonClass {
48593
48663
  */
48594
48664
  parent_class: GObject.ObjectClass
48595
48665
  get_info: (interface_: DBusInterfaceSkeleton) => DBusInterfaceInfo
48666
+ get_vtable: (interface_: DBusInterfaceSkeleton) => DBusInterfaceVTable
48596
48667
  get_properties: (interface_: DBusInterfaceSkeleton) => GLib.Variant
48597
48668
  flush: (interface_: DBusInterfaceSkeleton) => void
48598
48669
  g_authorize_method: (interface_: DBusInterfaceSkeleton, invocation: DBusMethodInvocation) => boolean
@@ -49917,7 +49988,7 @@ interface FileIface {
49917
49988
  make_symbolic_link_async: (file: File, symlink_value: string, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback | null) => void
49918
49989
  make_symbolic_link_finish: (file: File, result: AsyncResult) => boolean
49919
49990
  copy: (source: File, destination: File, flags: FileCopyFlags, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null) => boolean
49920
- copy_async: (source: File, destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null) => void
49991
+ copy_async: (source: File, destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback | null) => void
49921
49992
  copy_finish: (file: File, res: AsyncResult) => boolean
49922
49993
  move: (source: File, destination: File, flags: FileCopyFlags, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null) => boolean
49923
49994
  move_async: (source: File, destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback | null) => void