gio.DriveT

Undocumented in source.

Public Imports

gtkc.giotypes
public import gtkc.giotypes;
Undocumented in source.
gtkc.gio
public import gtkc.gio;
Undocumented in source.
glib.ConstructionException
public import glib.ConstructionException;
Undocumented in source.
gobject.ObjectG
public import gobject.ObjectG;
Undocumented in source.
gobject.Signals
public import gobject.Signals;
Undocumented in source.
gtkc.gdktypes
public import gtkc.gdktypes;
Undocumented in source.
glib.Str
public import glib.Str;
Undocumented in source.
glib.ErrorG
public import glib.ErrorG;
Undocumented in source.
glib.GException
public import glib.GException;
Undocumented in source.
glib.ListG
public import glib.ListG;
Undocumented in source.
gobject.Signals
public import gobject.Signals;
Undocumented in source.
gio.AsyncResultIF
public import gio.AsyncResultIF;
Undocumented in source.
gio.Cancellable
public import gio.Cancellable;
Undocumented in source.
gio.Icon
public import gio.Icon;
Undocumented in source.
gio.IconIF
public import gio.IconIF;
Undocumented in source.
gio.MountOperation
public import gio.MountOperation;
Undocumented in source.

Members

Templates

DriveT
template DriveT(TStruct)

Description GDrive - this represent a piece of hardware connected to the machine. It's generally only created for removable hardware or hardware with removable media. GDrive is a container class for GVolume objects that stem from the same piece of media. As such, GDrive abstracts a drive with (or without) removable media and provides operations for querying whether media is available, determing whether media change is automatically detected and ejecting the media. If the GDrive reports that media isn't automatically detected, one can poll for media; typically one should not do this periodically as a poll for media operation is potententially expensive and may spin up the drive creating noise. GDrive supports starting and stopping drives with authentication support for the former. This can be used to support a diverse set of use cases including connecting/disconnecting iSCSI devices, powering down external disk enclosures and starting/stopping multi-disk devices such as RAID devices. Note that the actual semantics and side-effects of starting/stopping a GDrive may vary according to implementation. To choose the correct verbs in e.g. a file manager, use g_drive_get_start_stop_type(). For porting from GnomeVFS note that there is no equivalent of GDrive in that API.

Meta