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)
o $b (Gnome2::VFS::Drive)
string = $drive->get_device_path
devicetype = $drive->get_device_type
string = $drive->get_display_name
$drive->eject ($func, $data=undef)
o $func (scalar)
o $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)
o $func (scalar)
o $data (scalar)
list = $drive->get_mounted_volumes
Since: vfs 2.8
boolean = $drive->needs_eject
Since: vfs 2.16
$drive->unmount ($func, $data=undef)
o $func (scalar)
o $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
o 'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN'
o 'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD'
o 'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD'
o 'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE'
o 'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM'
o 'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY'
o 'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP'
o 'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ'
o 'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS'
o 'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS'
o 'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA'
o 'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK'
o 'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB'
o 'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE'
o 'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER'
o 'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS'
o 'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK'
o 'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK'
SEE ALSO
Gnome2::VFS, Glib::Object
COPYRIGHT
Copyright (C) 2003-2007 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::VFS for a full notice.
perl v5.14.2 2011-11-15 Gnome2::VFS::Drive(3pm)