RGtk2 (version 2.20.31)

gVolumeEject: gVolumeEject

Description

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

Usage

gVolumeEject(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 that gets passed to callback