Gio.File::mount_enclosing_volume
function vfunc_mount_enclosing_volume(flags: Gio.MountMountFlags, mount_operation: Gio.MountOperation, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Starts a mount_operation, mounting the volume that contains the file location.
When this operation has completed, callback will be called with @user_user data, and the operation can be finalized with Gio.File.prototype.mount_enclosing_volume_finish.
If cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error Gio.IOErrorEnum.cancelled will be returned.
- flags
flags affecting the operation
- mount_operation
a Gio.MountOperation or null to avoid user interaction
- cancellable
optional Gio.Cancellable object, null to ignore
- callback
a Gio.AsyncReadyCallback to call when the request is satisfied, or null