Gio.FileMonitor.prototype.emit_event
function emit_event(child: Gio.File, other_file: Gio.File, event_type: Gio.FileMonitorEvent): void { // Gjs wrapper for g_file_monitor_emit_event() }
Emits the Gio.FileMonitor::changed signal if a change has taken place. Should be called from file monitor implementations only.
The signal will be emitted from an idle handler (in the [thread-default main context][g-main-context-push-thread-default]).
- child
a Gio.File.
- other_file
a Gio.File.
- event_type
a set of Gio.FileMonitorEvent flags.