gDriveEject {RGtk2} | R Documentation

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

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]