GFileMonitorFlags

Flags used to set what a #GFileMonitor will watch for.

Values

ValueMeaning
None0

No flags set.

WatchMounts1

Watch for mount events.

SendMoved2

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 gio.types.FileMonitorFlags.WatchMoves instead.

WatchMoves8

Watch for rename operations on a monitored directory. This causes gio.types.FileMonitorEvent.Renamed, gio.types.FileMonitorEvent.MovedIn and gio.types.FileMonitorEvent.MovedOut events to be emitted when possible. Since: 2.46.