Virtualvfunc_Checks if a drive can be ejected.
Virtualvfunc_Checks if a drive can be polled for media changes.
Virtualvfunc_Checks if a drive can be started.
Virtualvfunc_Checks if a drive can be started degraded.
Virtualvfunc_Checks if a drive can be stopped.
Virtualvfunc_Signal emitted when the drive is changed.
Virtualvfunc_The removed signal that is emitted when the Gio.Drive have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized.
Virtualvfunc_Asynchronously ejects a drive.
When the operation is finished, callback will be called.
You can then call g_drive_eject_finish() to obtain the
result of the operation.
flags affecting the unmount if required for eject
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Drive.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Signal emitted when the physical eject button (if any) of a drive have been pressed.
Virtualvfunc_Virtualvfunc_Ejects a drive. This is an asynchronous operation, and is
finished by calling g_drive_eject_with_operation_finish() with the drive
and Gio.AsyncResult data returned in the callback.
flags affecting the unmount if required for eject
Optionalmount_operation: Gio.MountOperationa Gio.MountOperation or null to avoid user interaction.
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Drive.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Finishes ejecting a drive. If any errors occurred during the operation,
error will be set to contain the errors and false will be returned.
Virtualvfunc_Gets the kinds of identifiers that drive has.
Use g_drive_get_identifier() to obtain the identifiers
themselves.
Virtualvfunc_Virtualvfunc_Gets the identifier of the given kind for drive. The only
identifier currently available is
G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE.
the kind of identifier to return
Virtualvfunc_Gets the name of drive.
Virtualvfunc_Gets the sort key for drive, if any.
Virtualvfunc_Gets a hint about how a drive can be started/stopped.
Virtualvfunc_Virtualvfunc_Virtualvfunc_Checks if the drive has media. Note that the OS may not be polling
the drive for media changes; see g_drive_is_media_check_automatic()
for more details.
Virtualvfunc_Check if drive has any mountable volumes.
Virtualvfunc_Checks if drive is capable of automatically detecting media changes.
Virtualvfunc_Checks if the drive supports removable media.
Virtualvfunc_Checks if the Gio.Drive and/or its media is considered removable by the user.
See g_drive_is_media_removable().
Virtualvfunc_Asynchronously polls drive to see if media has been inserted or removed.
When the operation is finished, callback will be called.
You can then call g_drive_poll_for_media_finish() to obtain the
result of the operation.
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Drive.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Finishes an operation started with g_drive_poll_for_media() on a drive.
Virtualvfunc_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.
flags affecting the start operation.
Optionalmount_operation: Gio.MountOperationa Gio.MountOperation or null to avoid user interaction.
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Drive.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Virtualvfunc_Asynchronously stops a drive.
When the operation is finished, callback will be called.
You can then call g_drive_stop_finish() to obtain the
result of the operation.
flags affecting the unmount if required for stopping.
Optionalmount_operation: Gio.MountOperationa Gio.MountOperation or null to avoid user interaction.
Optionalcancellable: Gio.Cancellableoptional Gio.Cancellable object, null to ignore.
Optionalcallback: AsyncReadyCallback<Gio.Drive.Interface>a Gio.AsyncReadyCallback, or null.
Virtualvfunc_Signal emitted when the physical stop button (if any) of a drive have been pressed. Since 2.22.
Virtualvfunc_
Interface for implementing Drive. Contains only the virtual methods that need to be implemented.