Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gio.FileMonitor

Class Gio.FileMonitor

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GFileMonitor
Class : FileMonitor
Extends: GObject.Object
Monitors a file or directory for changes.
To obtain a GFileMonitor for a file or directory, use
g_file_monitor(), g_file_monitor_file(), or
g_file_monitor_directory().
To get informed about changes to the file or directory you are
monitoring, connect to the GFileMonitor::changed signal. The
signal will be emitted in the linkend="g-main-context-push-thread-default">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).
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.File
Method
monitor (FileMonitorFlags flags, Cancellable cancellable) : Gio.FileMonitor
Obtains a file or directory monitor for the given file, depending
on the type of the file.
Gio.File
Method
monitor_directory (FileMonitorFlags flags, Cancellable cancellable) : Gio.FileMonitor
Obtains a directory monitor for the given file.
Gio.File
Method
monitor_file (FileMonitorFlags flags, Cancellable cancellable) : Gio.FileMonitor
Obtains a file monitor for the given file.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:12 GMT+0800 (HKT)