MountT.getDrive

Gets the drive for the mount.

This is a convenience method for getting the #GVolume and then using that object to get the #GDrive.

template MountT()
override
getDrive
()

Return Value

Type: gio.drive.Drive

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