VolumeT.getDrive

Gets the drive for the volume.

template VolumeT()
override
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.