Volume.getDrive

Gets the drive for the volume.

interface Volume
getDrive
()

Return Value

Type: gio.drive.Drive

a #GDrive or null if volume is not associated with a drive. The returned object should be unreffed with gobject.object.ObjectG.unref when no longer needed.