RGtk2 (version 2.20.31)

gDriveStop: gDriveStop

Description

Asynchronously stops a drive.

Usage

gDriveStop(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)

Arguments

object
flags
flags affecting the unmount if required for stopping.
mount.operation
a GMountOperation or NULL to avoid user interaction.
cancellable
optional GCancellable object, NULL to ignore.
callback
user.data
user data to pass to callback

Details

When the operation is finished, callback will be called. You can then call gDriveStopFinish to obtain the result of the operation. Since 2.22