Gio.DriveIface

Fields

Name

Type

Access

Description

can_eject

object

r

Returns True if the Gio.Drive can eject media.

can_poll_for_media

object

r

Returns True if the Gio.Drive is capable of manually polling for media change.

can_start

object

r

Returns True if a Gio.Drive can be started.

can_start_degraded

object

r

Returns True if a Gio.Drive can be started degraded.

can_stop

object

r

Returns True if a Gio.Drive can be stopped.

changed

object

r

Signal emitted when the drive is changed.

disconnected

object

r

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.

eject

object

r

Ejects a Gio.Drive.

eject_button

object

r

Signal emitted when the physical eject button (if any) of a drive have been pressed.

eject_finish

object

r

Finishes an eject operation.

eject_with_operation

object

r

Starts ejecting a Gio.Drive using a Gio.MountOperation.

eject_with_operation_finish

object

r

Finishes an eject operation using a Gio.MountOperation.

enumerate_identifiers

object

r

Returns an array strings listing the kinds of identifiers which the Gio.Drive has.

g_iface

GObject.TypeInterface

r

The parent interface.

get_icon

object

r

Returns a Gio.Icon for the given Gio.Drive.

get_identifier

object

r

Returns the identifier of the given kind, or None if the Gio.Drive doesn’t have one.

get_name

object

r

Returns the name for the given Gio.Drive.

get_sort_key

object

r

Gets a key used for sorting Gio.Drive instances or None if no such key exists.

get_start_stop_type

object

r

Gets a Gio.DriveStartStopType with details about starting/stopping the drive.

get_symbolic_icon

object

r

Returns a symbolic Gio.Icon for the given Gio.Drive.

get_volumes

object

r

Returns a list GLib.List of Gio.Volume for the Gio.Drive.

has_media

object

r

Returns True if the Gio.Drive has media inserted.

has_volumes

object

r

Returns True if the Gio.Drive has mountable volumes.

is_media_check_automatic

object

r

Returns True if the Gio.Drive is capable of automatically detecting media changes.

is_media_removable

object

r

Returns True if the Gio.Drive supports removal and insertion of media.

is_removable

object

r

Returns True if the Gio.Drive and/or its media is considered removable by the user.

poll_for_media

object

r

Poll for media insertion/removal on a Gio.Drive.

poll_for_media_finish

object

r

Finishes a media poll operation.

start

object

r

Starts a Gio.Drive.

start_finish

object

r

Finishes a start operation.

stop

object

r

Stops a Gio.Drive.

stop_button

object

r

Signal emitted when the physical stop button (if any) of a drive have been pressed.

stop_finish

object

r

Finishes a stop operation.

Methods

None

Details

class Gio.DriveIface

Interface for creating Gio.Drive implementations.