Gio.VolumeMonitor
const Gio = imports.gi.Gio; let volumeMonitor = new Gio.VolumeMonitor();
Gio.VolumeMonitor is for listing the user interesting devices and volumes on the computer. In other words, what a file selector or file manager would show in a sidebar.
Gio.VolumeMonitor is not [thread-default-context aware][g-main-context-push-thread-default], and so should not be used other than from the main thread, with no thread-default-context active.
Hierarchy
-
GObject.Object
- Gio.VolumeMonitor
Static Functions
Virtual functions
- Gio.VolumeMonitor::drive_changed
- Gio.VolumeMonitor::drive_connected
- Gio.VolumeMonitor::drive_disconnected
- Gio.VolumeMonitor::drive_eject_button
- Gio.VolumeMonitor::drive_stop_button
- Gio.VolumeMonitor::get_connected_drives
- Gio.VolumeMonitor::get_mount_for_uuid
- Gio.VolumeMonitor::get_mounts
- Gio.VolumeMonitor::get_volume_for_uuid
- Gio.VolumeMonitor::get_volumes
- Gio.VolumeMonitor::mount_added
- Gio.VolumeMonitor::mount_changed
- Gio.VolumeMonitor::mount_pre_unmount
- Gio.VolumeMonitor::mount_removed
- Gio.VolumeMonitor::volume_added
- Gio.VolumeMonitor::volume_changed
- Gio.VolumeMonitor::volume_removed