Ejects a drive. This is an asynchronous operation, and is finished by calling g_drive_eject_with_operation_finish() with the drive and GAsyncResult data returned in the callback.
flags affecting the unmount if required for eject
a gtk.MountOperation or NULL to avoid user interaction.
optional gio.Cancellable object, NULL to ignore.
a GAsyncReadyCallback, or NULL.
user data passed to callback.
2.22
Ejects a drive. This is an asynchronous operation, and is finished by calling g_drive_eject_with_operation_finish() with the drive and GAsyncResult data returned in the callback.