VolumeMonitor.getConnectedDrives

Gets a list of drives connected to the system.

The returned list should be freed with glib.list.List.free, after its elements have been unreffed with gobject.object.ObjectG.unref.

class VolumeMonitor
getConnectedDrives
()

Return Value

Type: gio.drive.Drive[]

a #GList of connected #GDrive objects.