gVolumeMonitorGet()
gVolumeMonitorGetConnectedDrives(object)
gVolumeMonitorGetVolumes(object)
gVolumeMonitorGetMounts(object)
gVolumeMonitorAdoptOrphanMount(mount)
gVolumeMonitorGetMountForUuid(object, uuid)
gVolumeMonitorGetVolumeForUuid(object, uuid)
GObject +----GVolumeMonitor
GVolumeMonitor
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.
GVolumeMonitor
is not thread-default-context
aware, and so should not be used other than from the main
thread, with no thread-default-context active.drive-changed(volume.monitor, drive, user.data)
volume.monitor
drive
user.data
drive-connected(volume.monitor, drive, user.data)
volume.monitor
drive
GDrive
that was connected.user.data
drive-disconnected(volume.monitor, drive, user.data)
volume.monitor
drive
GDrive
that was disconnected.user.data
drive-eject-button(volume.monitor, drive, user.data)
drive
.
Since 2.18 volume.monitor
drive
user.data
drive-stop-button(volume.monitor, drive, user.data)
drive
.
Since 2.22 volume.monitor
drive
user.data
mount-added(volume.monitor, mount, user.data)
volume.monitor
mount
GMount
that was added.user.data
mount-changed(volume.monitor, mount, user.data)
volume.monitor
mount
GMount
that changed.user.data
mount-pre-unmount(volume.monitor, mount, user.data)
volume.monitor
mount
GMount
that is being unmounted.user.data
mount-removed(volume.monitor, mount, user.data)
volume.monitor
mount
GMount
that was removed.user.data
volume-added(volume.monitor, volume, user.data)
volume.monitor
volume
GVolume
that was added.user.data
volume-changed(volume.monitor, volume, user.data)
volume.monitor
volume
GVolume
that changed.user.data
volume-removed(volume.monitor, volume, user.data)
volume.monitor
volume
GVolume
that was removed.user.data