Learn R Programming

RGtk2 (version 2.20.31)

gDriveEject: gDriveEject

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

object
flags
flags affecting the unmount if required for eject
cancellable
optional GCancellable object, NULL to ignore.
callback
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.