gMountEject {RGtk2}R Documentation

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

a GMount.

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

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]