:right-sidebar: True FileMonitorFlags =================================================================== .. currentmodule:: gi.repository.Gio .. class:: FileMonitorFlags :no-contents-entry: Flags used to set what a :obj:`~gi.repository.Gio.FileMonitor` will watch for. Fields ------ .. rst-class:: interim-class .. class:: FileMonitorFlags :no-index: .. attribute:: NONE No flags set. .. attribute:: 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 :const:`~gi.repository.Gio.FileMonitorFlags.WATCH_MOVES` instead. .. attribute:: WATCH_HARD_LINKS Watch for changes to the file made via another hard link. Since 2.36. .. attribute:: WATCH_MOUNTS Watch for mount events. .. attribute:: WATCH_MOVES Watch for rename operations on a monitored directory. This causes :const:`~gi.repository.Gio.FileMonitorEvent.RENAMED`, :const:`~gi.repository.Gio.FileMonitorEvent.MOVED_IN` and :const:`~gi.repository.Gio.FileMonitorEvent.MOVED_OUT` events to be emitted when possible. Since: 2.46.