Learn R Programming

RGtk2 (version 2.20.31)

gMountEject: gMountEject

Description

Ejects a mount. This is an asynchronous operation, and is finished by calling gMountEjectFinish with the mount and GAsyncResult data returned in the callback. WARNING: g_mount_eject has been deprecated since version 2.22 and should not be used in newly-written code. Use gMountEjectWithOperation instead.

Usage

gMountEject(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 passed to callback.