Gnome2::VFS::Volume(3) Abstraction for a mounted file system or a network location

HIERARCHY

  Glib::Object
  +----Gnome2::VFS::Volume

METHODS

string = $volume->get_activation_uri

integer = $a->compare ($b)

  • $b (Gnome2::VFS::Volume)

Gnome2::VFS->connect_to_server ($uri, $display_name, $icon)

  • $uri (string)
  • $display_name (string)
  • $icon (string)

string = $volume->get_device_path

devicetype = $volume->get_device_type

string = $volume->get_display_name

drive = $volume->get_drive

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

  • $func (scalar)
  • $data (scalar)

string = $volume->get_filesystem_type

string = $volume->get_hal_udi

Since: vfs 2.8

boolean = $volume->handles_trash

string = $volume->get_icon

unsigned = $volume->get_id

boolean = $volume->is_mounted

boolean = $volume->is_read_only

boolean = $volume->is_user_visible

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

  • $func (scalar)
  • $data (scalar)

volumetype = $volume->get_volume_type

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'

enum Gnome2::VFS::VolumeType

  • 'mountpoint' / 'GNOME_VFS_VOLUME_TYPE_MOUNTPOINT'
  • 'vfs-mount' / 'GNOME_VFS_VOLUME_TYPE_VFS_MOUNT'
  • 'connected-server' / 'GNOME_VFS_VOLUME_TYPE_CONNECTED_SERVER'

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.