VolumeT.mount

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

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

Parameters

flags GMountMountFlags

flags affecting the operation

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

Meta