VolumeT.ejectWithOperation

Ejects a volume. This is an asynchronous operation, and is finished by calling g_volume_eject_with_operation_finish() with the @volume and #GAsyncResult data returned in the @callback.

template VolumeT(TStruct)
void
ejectWithOperation
(
GMountUnmountFlags flags
,
MountOperation mountOperation
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

flags GMountUnmountFlags

flags affecting the unmount if required for eject

mountOperation MountOperation

a #GMountOperation or %NULL to avoid user interaction

cancellable Cancellable

optional #GCancellable object, %NULL to ignore

callback GAsyncReadyCallback

a #GAsyncReadyCallback, or %NULL

userData void*

user data passed to @callback

Meta

Since

2.22