Interface FileMonitorFlags


public interface FileMonitorFlags
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    No flags set.
    static final int
    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).
    static final int
    Watch for changes to the file made
    via another hard link.
    static final int
    Watch for mount events.
    static final int
    Watch for rename operations on a
    monitored directory.
  • Field Details

    • NONE

      static final int NONE
      No flags set.
      See Also:
    • WATCH_MOUNTS

      static final int WATCH_MOUNTS
      Watch for mount events.
      See Also:
    • SEND_MOVED

      static final int 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
      %G_FILE_MONITOR_WATCH_MOVES instead.
      See Also:
    • WATCH_MOVES

      static final int WATCH_MOVES
      Watch for rename operations on a
      monitored directory. This causes %G_FILE_MONITOR_EVENT_RENAMED,
      %G_FILE_MONITOR_EVENT_MOVED_IN and %G_FILE_MONITOR_EVENT_MOVED_OUT
      events to be emitted when possible. Since: 2.46.
      See Also: