FileMonitorFlags

class FileMonitorFlags

Flags used to set what a FileMonitor will watch for.

Fields

class FileMonitorFlags
NONE

No flags set.

SEND_MOVED

Pair DELETED and CREATED events caused by file renames (moves) and send a single G_FILE_MONITOR_EVENT_MOVED event instead (NB: not supported on all backends; the default behaviour -without specifying this flag- is to send single DELETED and CREATED events). Deprecated since 2.46: use WATCH_MOVES instead.

Watch for changes to the file made via another hard link. Since 2.36.

WATCH_MOUNTS

Watch for mount events.

WATCH_MOVES

Watch for rename operations on a monitored directory. This causes RENAMED, MOVED_IN and MOVED_OUT events to be emitted when possible. Since: 2.46.