UnixMountMonitor.get

Gets the #GUnixMountMonitor for the current thread-default main context.

The mount monitor can be used to monitor for changes to the list of mounted filesystems as well as the list of mount points (ie: fstab entries).

You must only call gobject.object.ObjectG.unref on the return value from under the same main context as you called this function.

class UnixMountMonitor
static
get
()

Return Value

Type: gio.unix_mount_monitor.UnixMountMonitor

the #GUnixMountMonitor.