Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login

GLib::File::MonitorFlags

class GLib::File::MonitorFlags

Flags used to set what a GLib::FileMonitor will watch for.

Instance Methods

none?
Checks whether or not any flags have been set
  • Returns: true if no flags have been set
send_moved?
Checks whether GLib::FileMonitor::EVENT_DELETED and GLib::FileMonitor::EVENT_CREATED events caused by file renames (moves) are paired.
watch_mounts?
Checks whether or not to watch for mount events.
  • Returns: true if mount events are watched

Constants

NONE
No flags set
SEND_MOVED
Pair GLib::FileMonitor::EVENT_DELETED and GLib::FileMonitor::EVENT_CREATED events caused by file renames (moves) and send a single GLib::FileMonitor::EVENT_MOVED event instead. (Nota bene: not supported on all backends; the default behaviour – without specifying this flag – is to send single GLib::FileMonitor::EVENT_DELETED and GLib::FileMonitor::EVENT_CREATED events.)
WATCH_MOUNTS
Watch for mount events
Last modified:2010/12/27 21:59:23
Keyword(s):
References:[index-ruby-gio2] [index-ruby-glib2]