gVolumeEject {RGtk2}R Documentation

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

a GVolume.

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

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]