Description
Asynchronously ejects a drive.
WARNING: g_drive_eject has been deprecated since version 2.22 and should not be used in newly-written code. Use gDriveEjectWithOperation instead.Usage
gDriveEject(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)
Arguments
flags
flags affecting the unmount if required for eject
user.data
user data to pass to callback
Details
When the operation is finished, callback will be called.
You can then call gDriveEjectFinish to obtain the
result of the operation.