Scroll to navigation

Gnome2::VFS::Drive(3pm) User Contributed Perl Documentation Gnome2::VFS::Drive(3pm)
 

NAME

Gnome2::VFS::Drive - Container around Gnome2::VFS::Volume

HIERARCHY

  Glib::Object
  +----Gnome2::VFS::Drive

METHODS

string = $drive-> get_activation_uri

integer = $a-> compare ($b)

$b (Gnome2::VFS::Drive)

string = $drive-> get_device_path

devicetype = $drive-> get_device_type

string = $drive-> get_display_name

$drive->eject ($func, $data=undef)

$func (scalar)
$data (scalar)

string = $drive-> get_hal_udi

Since: vfs 2.8

string = $drive-> get_icon

unsigned = $drive-> get_id

boolean = $drive-> is_connected

boolean = $drive-> is_mounted

boolean = $drive-> is_user_visible

$drive->mount ($func, $data=undef)

$func (scalar)
$data (scalar)

list = $drive-> get_mounted_volumes

Since: vfs 2.8

boolean = $drive-> needs_eject

Since: vfs 2.16

$drive->unmount ($func, $data=undef)

$func (scalar)
$data (scalar)

SIGNALS

volume-mounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-pre-unmount (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-unmounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)

ENUMS AND FLAGS

enum Gnome2::VFS::DeviceType

'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN'
'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD'
'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD'
'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE'
'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM'
'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY'
'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP'
'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ'
'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS'
'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS'
'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA'
'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK'
'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB'
'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE'
'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER'
'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS'
'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK'
'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK'

SEE ALSO

Gnome2::VFS, Glib::Object

COPYRIGHT

Copyright (C) 2003-2007, 2013 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::VFS for a full notice.
2014-08-15 perl v5.20.0