Learn R Programming

RGtk2 (version 2.20.31)

GFileMonitor-concept: GFileMonitor

Description

File Monitor

Arguments

Methods and Functions

gFileMonitorCancel(object) gFileMonitorIsCancelled(object) gFileMonitorSetRateLimit(object, limit.msecs) gFileMonitorEmitEvent(object, file, other.file, event.type)

Hierarchy

GEnum
   +----GFileMonitorEvent
GObject
   +----GFileMonitor

Detailed Description

Monitors a file or directory for changes. To obtain a GFileMonitor for a file or directory, use gFileMonitor, gFileMonitorFile, or gFileMonitorDirectory. To get informed about changes to the file or directory you are monitoring, connect to the "changed" signal. The signal will be emitted in the thread-default main context of the thread that the monitor was created in (though if the global default main context is blocked, this may cause notifications to be blocked even if the thread-default context is still running).

Structures

Enums and Flags

Signals

Properties

cancelled [logical : Read]
Whether the monitor has been cancelled. Default value: FALSE
rate-limit [integer : Read / Write]
The limit of the monitor to watch for changes, in milliseconds. Allowed values: >= 0 Default value: 800

References

http://library.gnome.org/devel//gio/GFileMonitor.html