Method

GioFileMonitoremit_event

Declaration

void
g_file_monitor_emit_event (
  GFileMonitor* monitor,
  GFile* child,
  GFile* other_file,
  GFileMonitorEvent event_type
)

Description

Emits the GFileMonitor::changed signal if a change has taken place. Should be called from file monitor implementations only.

Implementations are responsible to call this method from the [thread-default main context][g-main-context-push-thread-default] of the thread that the monitor was created in.

Parameters

child

Type: GFile

A GFile.

The data is owned by the caller of the function.
other_file

Type: GFile

A GFile.

The data is owned by the caller of the function.
event_type

Type: GFileMonitorEvent

A set of GFileMonitorEvent flags.