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

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.cts CHANGED
@@ -11131,7 +11131,7 @@ export interface File {
11131
11131
  * @param flags a set of #GFileCreateFlags
11132
11132
  * @param io_priority the [I/O priority][io-priority] of the request
11133
11133
  * @param cancellable optional #GCancellable object, %NULL to ignore
11134
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11134
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11135
11135
  */
11136
11136
  append_to_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11137
11137
 
@@ -11239,8 +11239,34 @@ export interface File {
11239
11239
  * @param flags set of #GFileCopyFlags
11240
11240
  * @param io_priority the [I/O priority][io-priority] of the request
11241
11241
  * @param cancellable optional #GCancellable object, %NULL to ignore
11242
+ * @param progress_callback function to callback with progress information, or %NULL if progress information is not needed
11243
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11242
11244
  */
11243
- copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null): void
11245
+ copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
11246
+
11247
+ // Overloads of copy_async
11248
+
11249
+ /**
11250
+ * Promisified version of {@link copy_async}
11251
+ *
11252
+ * Copies the file `source` to the location specified by `destination`
11253
+ * asynchronously. For details of the behaviour, see g_file_copy().
11254
+ *
11255
+ * If `progress_callback` is not %NULL, then that function that will be called
11256
+ * just like in g_file_copy(). The callback will run in the default main context
11257
+ * of the thread calling g_file_copy_async() — the same context as `callback` is
11258
+ * run in.
11259
+ *
11260
+ * When the operation is finished, `callback` will be called. You can then call
11261
+ * g_file_copy_finish() to get the result of the operation.
11262
+ * @param destination destination #GFile
11263
+ * @param flags set of #GFileCopyFlags
11264
+ * @param io_priority the [I/O priority][io-priority] of the request
11265
+ * @param cancellable optional #GCancellable object, %NULL to ignore
11266
+ * @param progress_callback function to callback with progress information, or %NULL if progress information is not needed
11267
+ * @returns A Promise of: a %TRUE on success, %FALSE on error.
11268
+ */
11269
+ copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null): globalThis.Promise<boolean>
11244
11270
  /**
11245
11271
  * Copies the file attributes from `source` to `destination`.
11246
11272
  *
@@ -11300,7 +11326,7 @@ export interface File {
11300
11326
  * @param flags a set of #GFileCreateFlags
11301
11327
  * @param io_priority the [I/O priority][io-priority] of the request
11302
11328
  * @param cancellable optional #GCancellable object, %NULL to ignore
11303
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11329
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11304
11330
  */
11305
11331
  create_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11306
11332
 
@@ -11373,7 +11399,7 @@ export interface File {
11373
11399
  * @param flags a set of #GFileCreateFlags
11374
11400
  * @param io_priority the [I/O priority][io-priority] of the request
11375
11401
  * @param cancellable optional #GCancellable object, %NULL to ignore
11376
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11402
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11377
11403
  */
11378
11404
  create_readwrite_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11379
11405
 
@@ -11486,7 +11512,7 @@ export interface File {
11486
11512
  * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
11487
11513
  * @param flags flags affecting the operation
11488
11514
  * @param cancellable optional #GCancellable object, %NULL to ignore
11489
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
11515
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11490
11516
  */
11491
11517
  eject_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11492
11518
  /**
@@ -11508,7 +11534,7 @@ export interface File {
11508
11534
  * @param flags flags affecting the operation
11509
11535
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
11510
11536
  * @param cancellable optional #GCancellable object, %NULL to ignore
11511
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
11537
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11512
11538
  */
11513
11539
  eject_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11514
11540
  /**
@@ -11565,7 +11591,7 @@ export interface File {
11565
11591
  * @param flags a set of #GFileQueryInfoFlags
11566
11592
  * @param io_priority the [I/O priority][io-priority] of the request
11567
11593
  * @param cancellable optional #GCancellable object, %NULL to ignore
11568
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11594
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11569
11595
  */
11570
11596
  enumerate_children_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11571
11597
 
@@ -11635,7 +11661,7 @@ export interface File {
11635
11661
  * get the result of the operation.
11636
11662
  * @param io_priority the [I/O priority][io-priority] of the request
11637
11663
  * @param cancellable optional #GCancellable object, %NULL to ignore
11638
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11664
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11639
11665
  */
11640
11666
  find_enclosing_mount_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11641
11667
 
@@ -11860,7 +11886,7 @@ export interface File {
11860
11886
  *
11861
11887
  * See g_file_load_bytes() for more information.
11862
11888
  * @param cancellable a #GCancellable or %NULL
11863
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11889
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
11864
11890
  */
11865
11891
  load_bytes_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
11866
11892
 
@@ -12172,7 +12198,7 @@ export interface File {
12172
12198
  * @param flags flags affecting the operation
12173
12199
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
12174
12200
  * @param cancellable optional #GCancellable object, %NULL to ignore
12175
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
12201
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12176
12202
  */
12177
12203
  mount_mountable(flags: MountMountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12178
12204
  /**
@@ -12239,8 +12265,8 @@ export interface File {
12239
12265
  * @param flags set of #GFileCopyFlags
12240
12266
  * @param io_priority the [I/O priority][io-priority] of the request
12241
12267
  * @param cancellable optional #GCancellable object, %NULL to ignore
12242
- * @param progress_callback #GFileProgressCallback function for updates
12243
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12268
+ * @param progress_callback #GFileProgressCallback function for updates
12269
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12244
12270
  */
12245
12271
  move_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
12246
12272
 
@@ -12262,7 +12288,7 @@ export interface File {
12262
12288
  * @param flags set of #GFileCopyFlags
12263
12289
  * @param io_priority the [I/O priority][io-priority] of the request
12264
12290
  * @param cancellable optional #GCancellable object, %NULL to ignore
12265
- * @param progress_callback #GFileProgressCallback function for updates
12291
+ * @param progress_callback #GFileProgressCallback function for updates
12266
12292
  * @returns A Promise of: %TRUE on successful file move, %FALSE otherwise.
12267
12293
  */
12268
12294
  move_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null): globalThis.Promise<boolean>
@@ -12305,7 +12331,7 @@ export interface File {
12305
12331
  * the result of the operation.
12306
12332
  * @param io_priority the [I/O priority][io-priority] of the request
12307
12333
  * @param cancellable optional #GCancellable object, %NULL to ignore
12308
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12334
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12309
12335
  */
12310
12336
  open_readwrite_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12311
12337
 
@@ -12488,7 +12514,7 @@ export interface File {
12488
12514
  * @param attributes an attribute query string
12489
12515
  * @param io_priority the [I/O priority][io-priority] of the request
12490
12516
  * @param cancellable optional #GCancellable object, %NULL to ignore
12491
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12517
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12492
12518
  */
12493
12519
  query_filesystem_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12494
12520
 
@@ -12572,7 +12598,7 @@ export interface File {
12572
12598
  * @param flags a set of #GFileQueryInfoFlags
12573
12599
  * @param io_priority the [I/O priority][io-priority] of the request
12574
12600
  * @param cancellable optional #GCancellable object, %NULL to ignore
12575
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12601
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12576
12602
  */
12577
12603
  query_info_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12578
12604
 
@@ -12658,7 +12684,7 @@ export interface File {
12658
12684
  * of the operation.
12659
12685
  * @param io_priority the [I/O priority][io-priority] of the request
12660
12686
  * @param cancellable optional #GCancellable object, %NULL to ignore
12661
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12687
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12662
12688
  */
12663
12689
  read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12664
12690
 
@@ -12751,7 +12777,7 @@ export interface File {
12751
12777
  * @param flags a set of #GFileCreateFlags
12752
12778
  * @param io_priority the [I/O priority][io-priority] of the request
12753
12779
  * @param cancellable optional #GCancellable object, %NULL to ignore
12754
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12780
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12755
12781
  */
12756
12782
  replace_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12757
12783
 
@@ -12902,7 +12928,7 @@ export interface File {
12902
12928
  * @param flags a set of #GFileCreateFlags
12903
12929
  * @param io_priority the [I/O priority][io-priority] of the request
12904
12930
  * @param cancellable optional #GCancellable object, %NULL to ignore
12905
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12931
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
12906
12932
  */
12907
12933
  replace_readwrite_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
12908
12934
 
@@ -13062,7 +13088,7 @@ export interface File {
13062
13088
  * @param flags a #GFileQueryInfoFlags
13063
13089
  * @param io_priority the [I/O priority][io-priority] of the request
13064
13090
  * @param cancellable optional #GCancellable object, %NULL to ignore
13065
- * @param callback a #GAsyncReadyCallback
13091
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13066
13092
  */
13067
13093
  set_attributes_async(info: FileInfo, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13068
13094
 
@@ -13144,7 +13170,7 @@ export interface File {
13144
13170
  * @param display_name a string
13145
13171
  * @param io_priority the [I/O priority][io-priority] of the request
13146
13172
  * @param cancellable optional #GCancellable object, %NULL to ignore
13147
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13173
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13148
13174
  */
13149
13175
  set_display_name_async(display_name: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13150
13176
 
@@ -13287,7 +13313,7 @@ export interface File {
13287
13313
  * the result of the operation.
13288
13314
  * @param flags flags affecting the operation
13289
13315
  * @param cancellable optional #GCancellable object, %NULL to ignore
13290
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13316
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13291
13317
  */
13292
13318
  unmount_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13293
13319
  /**
@@ -13312,7 +13338,7 @@ export interface File {
13312
13338
  * @param flags flags affecting the operation
13313
13339
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
13314
13340
  * @param cancellable optional #GCancellable object, %NULL to ignore
13315
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13341
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13316
13342
  */
13317
13343
  unmount_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13318
13344
  /**
@@ -13393,7 +13419,7 @@ export interface File {
13393
13419
  * @param flags a set of #GFileCreateFlags
13394
13420
  * @param io_priority the [I/O priority][io-priority] of the request
13395
13421
  * @param cancellable optional #GCancellable object, %NULL to ignore
13396
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13422
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13397
13423
  */
13398
13424
  vfunc_append_to_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13399
13425
  /**
@@ -13469,8 +13495,10 @@ export interface File {
13469
13495
  * @param flags set of #GFileCopyFlags
13470
13496
  * @param io_priority the [I/O priority][io-priority] of the request
13471
13497
  * @param cancellable optional #GCancellable object, %NULL to ignore
13498
+ * @param progress_callback function to callback with progress information, or %NULL if progress information is not needed
13499
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13472
13500
  */
13473
- vfunc_copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null): void
13501
+ vfunc_copy_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
13474
13502
  /**
13475
13503
  * Finishes copying the file started with g_file_copy_async().
13476
13504
  * @virtual
@@ -13518,7 +13546,7 @@ export interface File {
13518
13546
  * @param flags a set of #GFileCreateFlags
13519
13547
  * @param io_priority the [I/O priority][io-priority] of the request
13520
13548
  * @param cancellable optional #GCancellable object, %NULL to ignore
13521
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13549
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13522
13550
  */
13523
13551
  vfunc_create_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13524
13552
  /**
@@ -13573,7 +13601,7 @@ export interface File {
13573
13601
  * @param flags a set of #GFileCreateFlags
13574
13602
  * @param io_priority the [I/O priority][io-priority] of the request
13575
13603
  * @param cancellable optional #GCancellable object, %NULL to ignore
13576
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13604
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13577
13605
  */
13578
13606
  vfunc_create_readwrite_async(flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13579
13607
  /**
@@ -13657,7 +13685,7 @@ export interface File {
13657
13685
  * @virtual
13658
13686
  * @param flags flags affecting the operation
13659
13687
  * @param cancellable optional #GCancellable object, %NULL to ignore
13660
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13688
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13661
13689
  */
13662
13690
  vfunc_eject_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13663
13691
  /**
@@ -13681,7 +13709,7 @@ export interface File {
13681
13709
  * @param flags flags affecting the operation
13682
13710
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
13683
13711
  * @param cancellable optional #GCancellable object, %NULL to ignore
13684
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
13712
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13685
13713
  */
13686
13714
  vfunc_eject_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13687
13715
  /**
@@ -13741,7 +13769,7 @@ export interface File {
13741
13769
  * @param flags a set of #GFileQueryInfoFlags
13742
13770
  * @param io_priority the [I/O priority][io-priority] of the request
13743
13771
  * @param cancellable optional #GCancellable object, %NULL to ignore
13744
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13772
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13745
13773
  */
13746
13774
  vfunc_enumerate_children_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13747
13775
  /**
@@ -13792,7 +13820,7 @@ export interface File {
13792
13820
  * @virtual
13793
13821
  * @param io_priority the [I/O priority][io-priority] of the request
13794
13822
  * @param cancellable optional #GCancellable object, %NULL to ignore
13795
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13823
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
13796
13824
  */
13797
13825
  vfunc_find_enclosing_mount_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
13798
13826
  /**
@@ -14098,7 +14126,7 @@ export interface File {
14098
14126
  * @param flags flags affecting the operation
14099
14127
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
14100
14128
  * @param cancellable optional #GCancellable object, %NULL to ignore
14101
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
14129
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14102
14130
  */
14103
14131
  vfunc_mount_mountable(flags: MountMountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14104
14132
  /**
@@ -14168,8 +14196,8 @@ export interface File {
14168
14196
  * @param flags set of #GFileCopyFlags
14169
14197
  * @param io_priority the [I/O priority][io-priority] of the request
14170
14198
  * @param cancellable optional #GCancellable object, %NULL to ignore
14171
- * @param progress_callback #GFileProgressCallback function for updates
14172
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14199
+ * @param progress_callback #GFileProgressCallback function for updates
14200
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14173
14201
  */
14174
14202
  vfunc_move_async(destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback<this> | null): void
14175
14203
  /**
@@ -14214,7 +14242,7 @@ export interface File {
14214
14242
  * @virtual
14215
14243
  * @param io_priority the [I/O priority][io-priority] of the request
14216
14244
  * @param cancellable optional #GCancellable object, %NULL to ignore
14217
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14245
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14218
14246
  */
14219
14247
  vfunc_open_readwrite_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14220
14248
  /**
@@ -14318,7 +14346,7 @@ export interface File {
14318
14346
  * @param attributes an attribute query string
14319
14347
  * @param io_priority the [I/O priority][io-priority] of the request
14320
14348
  * @param cancellable optional #GCancellable object, %NULL to ignore
14321
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14349
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14322
14350
  */
14323
14351
  vfunc_query_filesystem_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14324
14352
  /**
@@ -14382,7 +14410,7 @@ export interface File {
14382
14410
  * @param flags a set of #GFileQueryInfoFlags
14383
14411
  * @param io_priority the [I/O priority][io-priority] of the request
14384
14412
  * @param cancellable optional #GCancellable object, %NULL to ignore
14385
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14413
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14386
14414
  */
14387
14415
  vfunc_query_info_async(attributes: string | null, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14388
14416
  /**
@@ -14434,7 +14462,7 @@ export interface File {
14434
14462
  * @virtual
14435
14463
  * @param io_priority the [I/O priority][io-priority] of the request
14436
14464
  * @param cancellable optional #GCancellable object, %NULL to ignore
14437
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14465
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14438
14466
  */
14439
14467
  vfunc_read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14440
14468
  /**
@@ -14528,7 +14556,7 @@ export interface File {
14528
14556
  * @param flags a set of #GFileCreateFlags
14529
14557
  * @param io_priority the [I/O priority][io-priority] of the request
14530
14558
  * @param cancellable optional #GCancellable object, %NULL to ignore
14531
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14559
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14532
14560
  */
14533
14561
  vfunc_replace_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14534
14562
  /**
@@ -14575,7 +14603,7 @@ export interface File {
14575
14603
  * @param flags a set of #GFileCreateFlags
14576
14604
  * @param io_priority the [I/O priority][io-priority] of the request
14577
14605
  * @param cancellable optional #GCancellable object, %NULL to ignore
14578
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14606
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14579
14607
  */
14580
14608
  vfunc_replace_readwrite_async(etag: string | null, make_backup: boolean, flags: FileCreateFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14581
14609
  /**
@@ -14630,7 +14658,7 @@ export interface File {
14630
14658
  * @param flags a #GFileQueryInfoFlags
14631
14659
  * @param io_priority the [I/O priority][io-priority] of the request
14632
14660
  * @param cancellable optional #GCancellable object, %NULL to ignore
14633
- * @param callback a #GAsyncReadyCallback
14661
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14634
14662
  */
14635
14663
  vfunc_set_attributes_async(info: FileInfo, flags: FileQueryInfoFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14636
14664
  /**
@@ -14695,7 +14723,7 @@ export interface File {
14695
14723
  * @param display_name a string
14696
14724
  * @param io_priority the [I/O priority][io-priority] of the request
14697
14725
  * @param cancellable optional #GCancellable object, %NULL to ignore
14698
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14726
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14699
14727
  */
14700
14728
  vfunc_set_display_name_async(display_name: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14701
14729
  /**
@@ -14807,7 +14835,7 @@ export interface File {
14807
14835
  * @virtual
14808
14836
  * @param flags flags affecting the operation
14809
14837
  * @param cancellable optional #GCancellable object, %NULL to ignore
14810
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
14838
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14811
14839
  */
14812
14840
  vfunc_unmount_mountable(flags: MountUnmountFlags, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14813
14841
  /**
@@ -14834,7 +14862,7 @@ export interface File {
14834
14862
  * @param flags flags affecting the operation
14835
14863
  * @param mount_operation a #GMountOperation, or %NULL to avoid user interaction
14836
14864
  * @param cancellable optional #GCancellable object, %NULL to ignore
14837
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied, or %NULL
14865
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
14838
14866
  */
14839
14867
  vfunc_unmount_mountable_with_operation(flags: MountUnmountFlags, mount_operation: MountOperation | null, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
14840
14868
  /**
@@ -15559,6 +15587,8 @@ export interface ListModel {
15559
15587
  *
15560
15588
  * %NULL is never returned for an index that is smaller than the length
15561
15589
  * of the list. See g_list_model_get_n_items().
15590
+ *
15591
+ * The same #GObject instance may not appear more than once in a #GListModel.
15562
15592
  * @virtual
15563
15593
  * @param position the position of the item to fetch
15564
15594
  * @returns the object at @position.
@@ -15709,7 +15739,7 @@ export interface LoadableIcon extends Icon {
15709
15739
  * version of this function, see g_loadable_icon_load().
15710
15740
  * @param size an integer.
15711
15741
  * @param cancellable optional #GCancellable object, %NULL to ignore.
15712
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15742
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15713
15743
  */
15714
15744
  load_async(size: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
15715
15745
 
@@ -15751,7 +15781,7 @@ export interface LoadableIcon extends Icon {
15751
15781
  * @virtual
15752
15782
  * @param size an integer.
15753
15783
  * @param cancellable optional #GCancellable object, %NULL to ignore.
15754
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15784
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
15755
15785
  */
15756
15786
  vfunc_load_async(size: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
15757
15787
  /**
@@ -16498,14 +16528,18 @@ export interface NetworkMonitor extends Initable {
16498
16528
  */
16499
16529
  readonly network_available: boolean
16500
16530
  /**
16501
- * Whether the network is considered metered. That is, whether the
16531
+ * Whether the network is considered metered.
16532
+ *
16533
+ * That is, whether the
16502
16534
  * system has traffic flowing through the default connection that is
16503
16535
  * subject to limitations set by service providers. For example, traffic
16504
16536
  * might be billed by the amount of data transmitted, or there might be a
16505
16537
  * quota on the amount of traffic per month. This is typical with tethered
16506
16538
  * connections (3G and 4G) and in such situations, bandwidth intensive
16507
16539
  * applications may wish to avoid network activity where possible if it will
16508
- * cost the user money or use up their limited quota.
16540
+ * cost the user money or use up their limited quota. Anything more than a
16541
+ * few hundreds of kilobytes of data usage per hour should be avoided without
16542
+ * asking permission from the user.
16509
16543
  *
16510
16544
  * If more information is required about specific devices then the
16511
16545
  * system network management API should be used instead (for example,
@@ -16555,7 +16589,7 @@ export interface NetworkMonitor extends Initable {
16555
16589
  * to get the result of the operation.
16556
16590
  * @param connectable a #GSocketConnectable
16557
16591
  * @param cancellable a #GCancellable, or %NULL
16558
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16592
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16559
16593
  */
16560
16594
  can_reach_async(connectable: SocketConnectable, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
16561
16595
 
@@ -16662,7 +16696,7 @@ export interface NetworkMonitor extends Initable {
16662
16696
  * @virtual
16663
16697
  * @param connectable a #GSocketConnectable
16664
16698
  * @param cancellable a #GCancellable, or %NULL
16665
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16699
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
16666
16700
  */
16667
16701
  vfunc_can_reach_async(connectable: SocketConnectable, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
16668
16702
  /**
@@ -19328,7 +19362,7 @@ export interface AppLaunchContext {
19328
19362
  *
19329
19363
  * Support for the XDG Activation Protocol was added in GLib 2.76.
19330
19364
  * @param info a #GAppInfo
19331
- * @param files a #GList of of #GFile objects
19365
+ * @param files a #GList of #GFile objects
19332
19366
  * @returns a startup notification ID for the application, or %NULL if not supported.
19333
19367
  */
19334
19368
  get_startup_notify_id(info: AppInfo, files: File[]): string | null
@@ -19380,7 +19414,7 @@ export interface AppLaunchContext {
19380
19414
  * Support for the XDG Activation Protocol was added in GLib 2.76.
19381
19415
  * @virtual
19382
19416
  * @param info a #GAppInfo
19383
- * @param files a #GList of of #GFile objects
19417
+ * @param files a #GList of #GFile objects
19384
19418
  * @returns a startup notification ID for the application, or %NULL if not supported.
19385
19419
  */
19386
19420
  vfunc_get_startup_notify_id(info: AppInfo, files: File[]): string | null
@@ -20272,8 +20306,8 @@ export interface Application extends ActionGroup, ActionMap {
20272
20306
  * instance and g_application_run() promptly returns. See the code
20273
20307
  * examples below.
20274
20308
  *
20275
- * If used, the expected form of an application identifier is the same as
20276
- * that of of a
20309
+ * If used, the expected form of an application identifier is the
20310
+ * same as that of a
20277
20311
  * [D-Bus well-known bus name](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus).
20278
20312
  * Examples include: `com.example.MyApp`, `org.example.internal_apps.Calculator`,
20279
20313
  * `org._7_zip.Archiver`.
@@ -23430,6 +23464,13 @@ export interface DBusInterfaceSkeleton extends DBusInterface {
23430
23464
  * @returns A #GVariant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with g_variant_unref().
23431
23465
  */
23432
23466
  get_properties(): GLib.Variant
23467
+ /**
23468
+ * Gets the interface vtable for the D-Bus interface implemented by
23469
+ * `interface_`. The returned function pointers should expect `interface_`
23470
+ * itself to be passed as `user_data`.
23471
+ * @returns the vtable of the D-Bus interface implemented by the skeleton
23472
+ */
23473
+ get_vtable(): DBusInterfaceVTable
23433
23474
  /**
23434
23475
  * Checks if `interface_` is exported on `connection`.
23435
23476
  * @param connection A #GDBusConnection.
@@ -23485,6 +23526,14 @@ export interface DBusInterfaceSkeleton extends DBusInterface {
23485
23526
  * @returns A #GVariant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with g_variant_unref().
23486
23527
  */
23487
23528
  vfunc_get_properties(): GLib.Variant
23529
+ /**
23530
+ * Gets the interface vtable for the D-Bus interface implemented by
23531
+ * `interface_`. The returned function pointers should expect `interface_`
23532
+ * itself to be passed as `user_data`.
23533
+ * @virtual
23534
+ * @returns the vtable of the D-Bus interface implemented by the skeleton
23535
+ */
23536
+ vfunc_get_vtable(): DBusInterfaceVTable
23488
23537
 
23489
23538
  // Own signals of Gio-2.0.Gio.DBusInterfaceSkeleton
23490
23539
 
@@ -27156,7 +27205,7 @@ export interface FileEnumerator {
27156
27205
  * g_file_enumerator_close_finish().
27157
27206
  * @param io_priority the [I/O priority][io-priority] of the request
27158
27207
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27159
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27208
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27160
27209
  */
27161
27210
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27162
27211
 
@@ -27356,7 +27405,7 @@ export interface FileEnumerator {
27356
27405
  * @param num_files the number of file info objects to request
27357
27406
  * @param io_priority the [I/O priority][io-priority] of the request
27358
27407
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27359
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27408
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27360
27409
  */
27361
27410
  next_files_async(num_files: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27362
27411
 
@@ -27461,7 +27510,7 @@ export interface FileEnumerator {
27461
27510
  * @virtual
27462
27511
  * @param io_priority the [I/O priority][io-priority] of the request
27463
27512
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27464
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27513
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27465
27514
  */
27466
27515
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27467
27516
  /**
@@ -27569,7 +27618,7 @@ export interface FileEnumerator {
27569
27618
  * @param num_files the number of file info objects to request
27570
27619
  * @param io_priority the [I/O priority][io-priority] of the request
27571
27620
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27572
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27621
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27573
27622
  */
27574
27623
  vfunc_next_files_async(num_files: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27575
27624
  /**
@@ -27690,7 +27739,7 @@ export interface FileIOStream extends Seekable {
27690
27739
  * @param attributes a file attribute query string.
27691
27740
  * @param io_priority the [I/O priority][gio-GIOScheduler] of the request
27692
27741
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27693
- * @param callback callback to call when the request is satisfied
27742
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27694
27743
  */
27695
27744
  query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27696
27745
 
@@ -27766,7 +27815,7 @@ export interface FileIOStream extends Seekable {
27766
27815
  * @param attributes a file attribute query string.
27767
27816
  * @param io_priority the [I/O priority][gio-GIOScheduler] of the request
27768
27817
  * @param cancellable optional #GCancellable object, %NULL to ignore.
27769
- * @param callback callback to call when the request is satisfied
27818
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
27770
27819
  */
27771
27820
  vfunc_query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
27772
27821
  /**
@@ -27980,6 +28029,17 @@ export interface FileInfo {
27980
28029
  * @returns %TRUE if @info has an attribute named @attribute, %FALSE otherwise.
27981
28030
  */
27982
28031
  get_attribute_data(attribute: string | null): [ /* returnType */ boolean, /* type */ FileAttributeType, /* value_pp */ any, /* status */ FileAttributeStatus ]
28032
+ /**
28033
+ * Gets the value of a byte string attribute as a file path.
28034
+ *
28035
+ * If the attribute does not contain a byte string, `NULL` will be returned.
28036
+ *
28037
+ * This function is meant to be used by language bindings that have specific
28038
+ * handling for Unix paths.
28039
+ * @param attribute a file attribute key.
28040
+ * @returns the contents of the @attribute value as a file path, or %NULL otherwise.
28041
+ */
28042
+ get_attribute_file_path(attribute: string | null): string | null
27983
28043
  /**
27984
28044
  * Gets a signed 32-bit integer contained within the attribute. If the
27985
28045
  * attribute does not contain a signed 32-bit integer, or is invalid,
@@ -28261,6 +28321,16 @@ export interface FileInfo {
28261
28321
  * @param attr_value a byte string.
28262
28322
  */
28263
28323
  set_attribute_byte_string(attribute: string | null, attr_value: string | null): void
28324
+ /**
28325
+ * Sets the `attribute` to contain the given `attr_value,`
28326
+ * if possible.
28327
+ *
28328
+ * This function is meant to be used by language bindings that have specific
28329
+ * handling for Unix paths.
28330
+ * @param attribute a file attribute key.
28331
+ * @param attr_value a file path.
28332
+ */
28333
+ set_attribute_file_path(attribute: string | null, attr_value: string): void
28264
28334
  /**
28265
28335
  * Sets the `attribute` to contain the given `attr_value,`
28266
28336
  * if possible.
@@ -28547,7 +28617,7 @@ export interface FileInputStream extends Seekable {
28547
28617
  * @param attributes a file attribute query string.
28548
28618
  * @param io_priority the [I/O priority][io-priority] of the request
28549
28619
  * @param cancellable optional #GCancellable object, %NULL to ignore.
28550
- * @param callback callback to call when the request is satisfied
28620
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
28551
28621
  */
28552
28622
  query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
28553
28623
 
@@ -28611,7 +28681,7 @@ export interface FileInputStream extends Seekable {
28611
28681
  * @param attributes a file attribute query string.
28612
28682
  * @param io_priority the [I/O priority][io-priority] of the request
28613
28683
  * @param cancellable optional #GCancellable object, %NULL to ignore.
28614
- * @param callback callback to call when the request is satisfied
28684
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
28615
28685
  */
28616
28686
  vfunc_query_info_async(attributes: string | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
28617
28687
  /**
@@ -29403,7 +29473,7 @@ export interface IOStream {
29403
29473
  * classes. However, if you override one you must override all.
29404
29474
  * @param io_priority the io priority of the request
29405
29475
  * @param cancellable optional cancellable object
29406
- * @param callback callback to call when the request is satisfied
29476
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
29407
29477
  */
29408
29478
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
29409
29479
 
@@ -29474,7 +29544,7 @@ export interface IOStream {
29474
29544
  * @param flags a set of #GIOStreamSpliceFlags.
29475
29545
  * @param io_priority the io priority of the request.
29476
29546
  * @param cancellable optional #GCancellable object, %NULL to ignore.
29477
- * @param callback a #GAsyncReadyCallback.
29547
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
29478
29548
  */
29479
29549
  splice_async(stream2: IOStream, flags: IOStreamSpliceFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
29480
29550
 
@@ -29494,7 +29564,7 @@ export interface IOStream {
29494
29564
  * @virtual
29495
29565
  * @param io_priority the io priority of the request
29496
29566
  * @param cancellable optional cancellable object
29497
- * @param callback callback to call when the request is satisfied
29567
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
29498
29568
  */
29499
29569
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
29500
29570
  /**
@@ -30187,7 +30257,7 @@ export interface InputStream {
30187
30257
  * override one you must override all.
30188
30258
  * @param io_priority the [I/O priority][io-priority] of the request
30189
30259
  * @param cancellable optional cancellable object
30190
- * @param callback callback to call when the request is satisfied
30260
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30191
30261
  */
30192
30262
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30193
30263
 
@@ -30290,7 +30360,7 @@ export interface InputStream {
30290
30360
  * priority. Default priority is %G_PRIORITY_DEFAULT.
30291
30361
  * @param io_priority the [I/O priority][io-priority] of the request
30292
30362
  * @param cancellable optional #GCancellable object, %NULL to ignore
30293
- * @param callback callback to call when the request is satisfied
30363
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30294
30364
  */
30295
30365
  read_all_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): /* buffer */ Uint8Array
30296
30366
 
@@ -30354,7 +30424,7 @@ export interface InputStream {
30354
30424
  * override one you must override all.
30355
30425
  * @param io_priority the [I/O priority][io-priority] of the request.
30356
30426
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30357
- * @param callback callback to call when the request is satisfied
30427
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30358
30428
  */
30359
30429
  read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): /* buffer */ Uint8Array
30360
30430
 
@@ -30444,7 +30514,7 @@ export interface InputStream {
30444
30514
  * @param count the number of bytes that will be read from the stream
30445
30515
  * @param io_priority the [I/O priority][io-priority] of the request
30446
30516
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30447
- * @param callback callback to call when the request is satisfied
30517
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30448
30518
  */
30449
30519
  read_bytes_async(count: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30450
30520
 
@@ -30545,7 +30615,7 @@ export interface InputStream {
30545
30615
  * @param count the number of bytes that will be skipped from the stream
30546
30616
  * @param io_priority the [I/O priority][io-priority] of the request
30547
30617
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30548
- * @param callback callback to call when the request is satisfied
30618
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30549
30619
  */
30550
30620
  skip_async(count: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30551
30621
 
@@ -30606,7 +30676,7 @@ export interface InputStream {
30606
30676
  * @virtual
30607
30677
  * @param io_priority the [I/O priority][io-priority] of the request
30608
30678
  * @param cancellable optional cancellable object
30609
- * @param callback callback to call when the request is satisfied
30679
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30610
30680
  */
30611
30681
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30612
30682
  /**
@@ -30644,7 +30714,7 @@ export interface InputStream {
30644
30714
  * @virtual
30645
30715
  * @param io_priority the [I/O priority][io-priority] of the request.
30646
30716
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30647
- * @param callback callback to call when the request is satisfied
30717
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30648
30718
  */
30649
30719
  vfunc_read_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): /* buffer */ Uint8Array | null
30650
30720
  /**
@@ -30704,7 +30774,7 @@ export interface InputStream {
30704
30774
  * @param count the number of bytes that will be skipped from the stream
30705
30775
  * @param io_priority the [I/O priority][io-priority] of the request
30706
30776
  * @param cancellable optional #GCancellable object, %NULL to ignore.
30707
- * @param callback callback to call when the request is satisfied
30777
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
30708
30778
  */
30709
30779
  vfunc_skip_async(count: number, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
30710
30780
  /**
@@ -30735,7 +30805,7 @@ export interface InputStream {
30735
30805
  * streaming APIs.
30736
30806
  *
30737
30807
  * All of these functions have async variants too.
30738
- * @class
30808
+ * @interface
30739
30809
  */
30740
30810
  export class InputStream extends GObject.Object {
30741
30811
 
@@ -33326,7 +33396,7 @@ export interface OutputStream {
33326
33396
  * classes. However, if you override one you must override all.
33327
33397
  * @param io_priority the io priority of the request.
33328
33398
  * @param cancellable optional cancellable object
33329
- * @param callback callback to call when the request is satisfied
33399
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33330
33400
  */
33331
33401
  close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33332
33402
 
@@ -33380,7 +33450,7 @@ export interface OutputStream {
33380
33450
  * result of the operation.
33381
33451
  * @param io_priority the io priority of the request.
33382
33452
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33383
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33453
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33384
33454
  */
33385
33455
  flush_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33386
33456
 
@@ -33452,7 +33522,7 @@ export interface OutputStream {
33452
33522
  * @param flags a set of #GOutputStreamSpliceFlags.
33453
33523
  * @param io_priority the io priority of the request.
33454
33524
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33455
- * @param callback a #GAsyncReadyCallback.
33525
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33456
33526
  */
33457
33527
  splice_async(source: InputStream, flags: OutputStreamSpliceFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33458
33528
 
@@ -33551,7 +33621,7 @@ export interface OutputStream {
33551
33621
  * @param buffer the buffer containing the data to write
33552
33622
  * @param io_priority the io priority of the request
33553
33623
  * @param cancellable optional #GCancellable object, %NULL to ignore
33554
- * @param callback callback to call when the request is satisfied
33624
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33555
33625
  */
33556
33626
  write_all_async(buffer: Uint8Array, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33557
33627
 
@@ -33635,7 +33705,7 @@ export interface OutputStream {
33635
33705
  * @param buffer the buffer containing the data to write.
33636
33706
  * @param io_priority the io priority of the request.
33637
33707
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33638
- * @param callback callback to call when the request is satisfied
33708
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33639
33709
  */
33640
33710
  write_async(buffer: Uint8Array, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33641
33711
 
@@ -33719,7 +33789,7 @@ export interface OutputStream {
33719
33789
  * @param bytes The bytes to write
33720
33790
  * @param io_priority the io priority of the request.
33721
33791
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33722
- * @param callback callback to call when the request is satisfied
33792
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33723
33793
  */
33724
33794
  write_bytes_async(bytes: GLib.Bytes, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33725
33795
 
@@ -33836,7 +33906,7 @@ export interface OutputStream {
33836
33906
  * @param vectors the buffer containing the #GOutputVectors to write.
33837
33907
  * @param io_priority the I/O priority of the request
33838
33908
  * @param cancellable optional #GCancellable object, %NULL to ignore
33839
- * @param callback callback to call when the request is satisfied
33909
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33840
33910
  */
33841
33911
  writev_all_async(vectors: OutputVector[], io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33842
33912
 
@@ -33916,7 +33986,7 @@ export interface OutputStream {
33916
33986
  * @param vectors the buffer containing the #GOutputVectors to write.
33917
33987
  * @param io_priority the I/O priority of the request.
33918
33988
  * @param cancellable optional #GCancellable object, %NULL to ignore.
33919
- * @param callback callback to call when the request is satisfied
33989
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33920
33990
  */
33921
33991
  writev_async(vectors: OutputVector[], io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33922
33992
 
@@ -33984,7 +34054,7 @@ export interface OutputStream {
33984
34054
  * @virtual
33985
34055
  * @param io_priority the io priority of the request.
33986
34056
  * @param cancellable optional cancellable object
33987
- * @param callback callback to call when the request is satisfied
34057
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
33988
34058
  */
33989
34059
  vfunc_close_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
33990
34060
  /**
@@ -34021,7 +34091,7 @@ export interface OutputStream {
34021
34091
  * @virtual
34022
34092
  * @param io_priority the io priority of the request.
34023
34093
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34024
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34094
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34025
34095
  */
34026
34096
  vfunc_flush_async(io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34027
34097
  /**
@@ -34053,7 +34123,7 @@ export interface OutputStream {
34053
34123
  * @param flags a set of #GOutputStreamSpliceFlags.
34054
34124
  * @param io_priority the io priority of the request.
34055
34125
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34056
- * @param callback a #GAsyncReadyCallback.
34126
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34057
34127
  */
34058
34128
  vfunc_splice_async(source: InputStream, flags: OutputStreamSpliceFlags, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34059
34129
  /**
@@ -34103,7 +34173,7 @@ export interface OutputStream {
34103
34173
  * @param buffer the buffer containing the data to write.
34104
34174
  * @param io_priority the io priority of the request.
34105
34175
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34106
- * @param callback callback to call when the request is satisfied
34176
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34107
34177
  */
34108
34178
  vfunc_write_async(buffer: Uint8Array | null, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34109
34179
  /**
@@ -34175,7 +34245,7 @@ export interface OutputStream {
34175
34245
  * @param vectors the buffer containing the #GOutputVectors to write.
34176
34246
  * @param io_priority the I/O priority of the request.
34177
34247
  * @param cancellable optional #GCancellable object, %NULL to ignore.
34178
- * @param callback callback to call when the request is satisfied
34248
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
34179
34249
  */
34180
34250
  vfunc_writev_async(vectors: OutputVector[], io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
34181
34251
  /**
@@ -34236,7 +34306,7 @@ export interface OutputStream {
34236
34306
  * streaming APIs.
34237
34307
  *
34238
34308
  * All of these functions have async variants too.
34239
- * @class
34309
+ * @interface
34240
34310
  */
34241
34311
  export class OutputStream extends GObject.Object {
34242
34312
 
@@ -39471,7 +39541,7 @@ export interface SocketAddressEnumerator {
39471
39541
  *
39472
39542
  * It is an error to call this multiple times before the previous callback has finished.
39473
39543
  * @param cancellable optional #GCancellable object, %NULL to ignore.
39474
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39544
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39475
39545
  */
39476
39546
  next_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
39477
39547
 
@@ -39528,7 +39598,7 @@ export interface SocketAddressEnumerator {
39528
39598
  * It is an error to call this multiple times before the previous callback has finished.
39529
39599
  * @virtual
39530
39600
  * @param cancellable optional #GCancellable object, %NULL to ignore.
39531
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39601
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
39532
39602
  */
39533
39603
  vfunc_next_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
39534
39604
  /**
@@ -44940,7 +45010,7 @@ export interface TlsDatabase {
44940
45010
  * g_tls_database_lookup_certificates_issued_by() for more information.
44941
45011
  *
44942
45012
  * The database may choose to hold a reference to the issuer byte array for the duration
44943
- * of of this asynchronous operation. The byte array should not be modified during
45013
+ * of this asynchronous operation. The byte array should not be modified during
44944
45014
  * this time.
44945
45015
  * @param issuer_raw_dn a #GByteArray which holds the DER encoded issuer DN.
44946
45016
  * @param interaction used to interact with the user if necessary
@@ -44959,7 +45029,7 @@ export interface TlsDatabase {
44959
45029
  * g_tls_database_lookup_certificates_issued_by() for more information.
44960
45030
  *
44961
45031
  * The database may choose to hold a reference to the issuer byte array for the duration
44962
- * of of this asynchronous operation. The byte array should not be modified during
45032
+ * of this asynchronous operation. The byte array should not be modified during
44963
45033
  * this time.
44964
45034
  * @param issuer_raw_dn a #GByteArray which holds the DER encoded issuer DN.
44965
45035
  * @param interaction used to interact with the user if necessary
@@ -45218,7 +45288,7 @@ export interface TlsDatabase {
45218
45288
  * g_tls_database_lookup_certificates_issued_by() for more information.
45219
45289
  *
45220
45290
  * The database may choose to hold a reference to the issuer byte array for the duration
45221
- * of of this asynchronous operation. The byte array should not be modified during
45291
+ * of this asynchronous operation. The byte array should not be modified during
45222
45292
  * this time.
45223
45293
  * @virtual
45224
45294
  * @param issuer_raw_dn a #GByteArray which holds the DER encoded issuer DN.
@@ -45979,7 +46049,7 @@ export interface UnixConnection {
45979
46049
  * When the operation is finished, `callback` will be called. You can then call
45980
46050
  * g_unix_connection_receive_credentials_finish() to get the result of the operation.
45981
46051
  * @param cancellable optional #GCancellable object, %NULL to ignore.
45982
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
46052
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
45983
46053
  */
45984
46054
  receive_credentials_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
45985
46055
 
@@ -46051,7 +46121,7 @@ export interface UnixConnection {
46051
46121
  * When the operation is finished, `callback` will be called. You can then call
46052
46122
  * g_unix_connection_send_credentials_finish() to get the result of the operation.
46053
46123
  * @param cancellable optional #GCancellable object, %NULL to ignore.
46054
- * @param callback a #GAsyncReadyCallback to call when the request is satisfied
46124
+ * @param callback a #GAsyncReadyCallback to call when the request is satisfied
46055
46125
  */
46056
46126
  send_credentials_async(cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void
46057
46127
 
@@ -48591,6 +48661,7 @@ export interface DBusInterfaceSkeletonClass {
48591
48661
  */
48592
48662
  parent_class: GObject.ObjectClass
48593
48663
  get_info: (interface_: DBusInterfaceSkeleton) => DBusInterfaceInfo
48664
+ get_vtable: (interface_: DBusInterfaceSkeleton) => DBusInterfaceVTable
48594
48665
  get_properties: (interface_: DBusInterfaceSkeleton) => GLib.Variant
48595
48666
  flush: (interface_: DBusInterfaceSkeleton) => void
48596
48667
  g_authorize_method: (interface_: DBusInterfaceSkeleton, invocation: DBusMethodInvocation) => boolean
@@ -49915,7 +49986,7 @@ export interface FileIface {
49915
49986
  make_symbolic_link_async: (file: File, symlink_value: string, io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback | null) => void
49916
49987
  make_symbolic_link_finish: (file: File, result: AsyncResult) => boolean
49917
49988
  copy: (source: File, destination: File, flags: FileCopyFlags, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null) => boolean
49918
- copy_async: (source: File, destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null) => void
49989
+ copy_async: (source: File, destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback | null) => void
49919
49990
  copy_finish: (file: File, res: AsyncResult) => boolean
49920
49991
  move: (source: File, destination: File, flags: FileCopyFlags, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null) => boolean
49921
49992
  move_async: (source: File, destination: File, flags: FileCopyFlags, io_priority: number, cancellable: Cancellable | null, progress_callback: FileProgressCallback | null, callback: AsyncReadyCallback | null) => void