file: filemonitor.aus

class: FileMonitor

[22:7] extends: object

Monitors a file or directory for changes. To obtain a GFileMonitor for a file or directory, use [method@Gio.File.monitor], [method@Gio.File.monitor_file], or [method@Gio.File.monitor_directory]. To get informed about changes to the file or directory you are monitoring, connect to the [signal@Gio.FileMonitor::changed] signal. The signal will be emitted in the thread-default main context (see [method@GLib.MainContext.push_thread_default]) of the thread that the monitor was created in (though if the global default main context is blocked, this may cause notifications to be blocked even if the thread-default context is still running).

Members

Methods

class: FileMonitorMeta

[330:14] static extends: object

Generated metadata helpers for FileMonitor class surfaces.

Methods

class: FileMonitorChangedCallback

[257:7] extends: object

Generated low-level callback wrapper for GIR callback changed.

Members

Methods