1Gnome2::VFS::Drive(3) User Contributed Perl DocumentationGnome2::VFS::Drive(3)
2
3
4

NAME

6       Gnome2::VFS::Drive - wrapper for GnomeVFSDrive
7

HIERARCHY

9         Glib::Object
10         +----Gnome2::VFS::Drive
11

METHODS

13   string = $drive->get_activation_uri
14   integer = $a->compare ($b)
15       •   $b (Gnome2::VFS::Drive)
16
17   string = $drive->get_device_path
18   devicetype = $drive->get_device_type
19   string = $drive->get_display_name
20   $drive->eject ($func, $data=undef)
21       •   $func (scalar)
22
23       •   $data (scalar)
24
25   string = $drive->get_hal_udi
26       Since: vfs 2.8
27
28   string = $drive->get_icon
29   unsigned = $drive->get_id
30   boolean = $drive->is_connected
31   boolean = $drive->is_mounted
32   boolean = $drive->is_user_visible
33   $drive->mount ($func, $data=undef)
34       •   $func (scalar)
35
36       •   $data (scalar)
37
38   list = $drive->get_mounted_volumes
39       Since: vfs 2.8
40
41   boolean = $drive->needs_eject
42       Since: vfs 2.16
43
44   $drive->unmount ($func, $data=undef)
45       •   $func (scalar)
46
47       •   $data (scalar)
48

SIGNALS

50       volume-mounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
51       volume-pre-unmount (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
52       volume-unmounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
53

ENUMS AND FLAGS

55   enum Gnome2::VFS::DeviceType
56       •   'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN'
57
58       •   'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD'
59
60       •   'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD'
61
62       •   'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE'
63
64       •   'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM'
65
66       •   'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY'
67
68       •   'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP'
69
70       •   'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ'
71
72       •   'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS'
73
74       •   'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS'
75
76       •   'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA'
77
78       •   'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK'
79
80       •   'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB'
81
82       •   'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE'
83
84       •   'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER'
85
86       •   'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS'
87
88       •   'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK'
89
90       •   'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK'
91

SEE ALSO

93       Gnome2::VFS, Glib::Object
94
96       Copyright (C) 2003-2007, 2013 by the gtk2-perl team.
97
98       This software is licensed under the LGPL.  See Gnome2::VFS for a full
99       notice.
100
101
102
103perl v5.32.1                      2021-01-27             Gnome2::VFS::Drive(3)
Impressum