GObject.Object
Gio.FileMonitor
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GFileMonitor |
Class : | FileMonitor |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
cancelled : gboolean
read only
|
Gio.FileMonitor | |
parent_instance : GObject.Object
read only
|
Gio.FileMonitor | |
priv : Gio.FileMonitorPrivate
read only
|
Gio.FileMonitor | |
rate_limit : gint32
|
Gio.FileMonitor |
Method / Constructor | Defined By | |
---|---|---|
new Gio.FileMonitor
(Object properties)
Create a new Gio.FileMonitor
Create a new Gio.FileMonitor
|
||
cancel
()
:
gboolean
Cancels a file monitor.
Cancels a file monitor.
|
Gio.FileMonitor | |
Emits the GFileMonitor::changed signal if a change
has taken place.
Emits the GFileMonitor::changed signal if a change
has taken place. Should be called from file monitor implementations only. The signal will be emitted from an idle handler (in the linkend="g-main-context-push-thread-default">thread-default main context).
|
Gio.FileMonitor | |
is_cancelled
()
:
gboolean
Returns whether the monitor is canceled.
Returns whether the monitor is canceled.
|
Gio.FileMonitor | |
set_rate_limit
(gint32 limit_msecs)
:
none
Sets the rate limit to which the monitor will report
consecutive change events to the same file.
Sets the rate limit to which the monitor will report
consecutive change events to the same file.
|
Gio.FileMonitor |
Event | Defined By | |
---|---|---|
Emitted when file has been changed.
Emitted when file has been changed.
If using G_FILE_MONITOR_SEND_MOVED flag and event_type is G_FILE_MONITOR_SEND_MOVED, file will be set to a GFile containing the old path, and other_file will be set to a GFile containing the new path. In all the other cases, other_file will be set to NULL.
|
Gio.FileMonitor |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.File
Method |
Obtains a file or directory monitor for the given file, depending
on the type of the file. |
Gio.File
Method |
Obtains a directory monitor for the given file.
|
Gio.File
Method |
Obtains a file monitor for the given file.
|