Class: Gio::UnixMountMonitor
- Inherits:
-
Object
- Object
- Gio::UnixMountMonitor
- Defined in:
- (unknown)
Class Method Summary collapse
-
.get ⇒ Gio::UnixMountMonitor
Gets the GUnix::MountMonitor for the current thread-default main context.
Instance Method Summary collapse
-
#initialize ⇒ Gio::UnixMountMonitor
constructor
Deprecated alias for g_unix_mount_monitor_get().
-
#rate_limit=(limit_msec) ⇒ nil
This function does nothing.
Constructor Details
#initialize ⇒ Gio::UnixMountMonitor
Deprecated alias for g_unix_mount_monitor_get().
This function was never a true constructor, which is why it was renamed.
Class Method Details
.get ⇒ Gio::UnixMountMonitor
Gets the GUnix::MountMonitor 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 g_object_unref() on the return value from under the same main context as you called this function.
Instance Method Details
#rate_limit=(limit_msec) ⇒ nil
This function does nothing.
Before 2.44, this was a partially-effective way of controlling the rate at which events would be reported under some uncommon circumstances. Since mount_monitor is a singleton, it also meant that calling this function would have side effects for other users of the monitor.