DriveT.start

Asynchronously starts a drive. When the operation is finished, callback will be called. You can then call g_drive_start_finish() to obtain the result of the operation. Since 2.22

template DriveT(TStruct)
void
start

Parameters

flags GDriveStartFlags

flags affecting the start operation.

mountOperation MountOperation

a GMountOperation or NULL to avoid user interaction. [allow-none]

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback, or NULL. [allow-none]

userData void*

user data to pass to callback

Meta