VolumeMonitor
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 (see method@GLib.MainContext.push_thread_default), and so should not be used other than from the main thread, with no thread-default-context active.
In order to receive updates about volumes and mounts monitored through GVFS, a main loop must be running.
Inheritors
Constructors
Functions
Emitted when a drive changes.
Emitted when a drive is connected to the system.
Emitted when a drive is disconnected from the system.
Emitted when the eject button is pressed on @drive.
Emitted when the stop button is pressed on @drive.
Emitted when a mount is added.
Emitted when a mount changes.
May be emitted when a mount is about to be removed.
Emitted when a mount is removed.
Emitted when a mountable volume is added to the system.
Emitted when mountable volume is changed.
Emitted when a mountable volume is removed from the system.
Gets a list of drives connected to the system.
Finds a #GMount object by its UUID (see g_mount_get_uuid())
Finds a #GVolume object by its UUID (see g_volume_get_uuid())
Gets a list of the volumes on the system.