1Gnome2::VFS::Volume(3)User Contributed Perl DocumentationGnome2::VFS::Volume(3)
2
3
4
6 Gnome2::VFS::Volume - wrapper for GnomeVFSVolume
7
9 Glib::Object
10 +----Gnome2::VFS::Volume
11
13 string = $volume->get_activation_uri
14 integer = $a->compare ($b)
15 • $b (Gnome2::VFS::Volume)
16
17 Gnome2::VFS->connect_to_server ($uri, $display_name, $icon)
18 • $uri (string)
19
20 • $display_name (string)
21
22 • $icon (string)
23
24 string = $volume->get_device_path
25 devicetype = $volume->get_device_type
26 string = $volume->get_display_name
27 drive = $volume->get_drive
28 $volume->eject ($func, $data=undef)
29 • $func (scalar)
30
31 • $data (scalar)
32
33 string = $volume->get_filesystem_type
34 string = $volume->get_hal_udi
35 Since: vfs 2.8
36
37 boolean = $volume->handles_trash
38 string = $volume->get_icon
39 unsigned = $volume->get_id
40 boolean = $volume->is_mounted
41 boolean = $volume->is_read_only
42 boolean = $volume->is_user_visible
43 $volume->unmount ($func, $data=undef)
44 • $func (scalar)
45
46 • $data (scalar)
47
48 volumetype = $volume->get_volume_type
50 enum Gnome2::VFS::DeviceType
51 • 'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN'
52
53 • 'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD'
54
55 • 'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD'
56
57 • 'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE'
58
59 • 'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM'
60
61 • 'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY'
62
63 • 'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP'
64
65 • 'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ'
66
67 • 'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS'
68
69 • 'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS'
70
71 • 'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA'
72
73 • 'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK'
74
75 • 'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB'
76
77 • 'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE'
78
79 • 'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER'
80
81 • 'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS'
82
83 • 'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK'
84
85 • 'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK'
86
87 enum Gnome2::VFS::VolumeType
88 • 'mountpoint' / 'GNOME_VFS_VOLUME_TYPE_MOUNTPOINT'
89
90 • 'vfs-mount' / 'GNOME_VFS_VOLUME_TYPE_VFS_MOUNT'
91
92 • 'connected-server' / 'GNOME_VFS_VOLUME_TYPE_CONNECTED_SERVER'
93
95 Gnome2::VFS, Glib::Object
96
98 Copyright (C) 2003-2007, 2013 by the gtk2-perl team.
99
100 This software is licensed under the LGPL. See Gnome2::VFS for a full
101 notice.
102
103
104
105perl v5.34.0 2021-07-22 Gnome2::VFS::Volume(3)