matevfs.Drive
matevfs.Drive — Object representing a device which can mount a volume
Signal Prototypes
"volume-mounted" | def callback(drive , volume , user_param1 , ... ) |
"volume-pre-umount" | def callback(drive , volume , user_param1 , ... ) |
"volume-unmounted" | def callback(drive , volume , user_param1 , ... ) |
Methods
matevfs.Drive.get_id
def get_id()
Returns: | An identifier for this drive. |
matevfs.Drive.get_device_type
def get_device_type()
matevfs.Drive.get_mounted_volumes
def get_mounted_volumes()
matevfs.Drive.get_device_path
def get_device_path()
Returns: | The path of this device. |
matevfs.Drive.get_activation_uri
def get_activation_uri()
matevfs.Drive.get_display_name
def get_display_name()
matevfs.Drive.get_icon
def get_icon()
matevfs.Drive.get_hal_udi
def get_hal_udi()
matevfs.Drive.is_user_visible
def is_user_visible()
matevfs.Drive.is_connected
def is_connected()
matevfs.Drive.is_mounted
def is_mounted()
matevfs.Drive.mount
def mount(callback
, user_data
=None)
matevfs.Drive.unmount
def unmount(callback
, user_data
=None)
matevfs.Drive.eject
def eject(callback
, user_data
=None)