Class: Gio::FileMonitor
- Inherits:
-
Object
- Object
- Gio::FileMonitor
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#cancel ⇒ Boolean
Cancels a file monitor.
-
#cancelled=(cancelled) ⇒ Boolean
Whether the monitor has been cancelled.
-
#cancelled? ⇒ Boolean
Whether the monitor has been cancelled.
-
#emit_event(child, other_file, event_type) ⇒ nil
Emits the GFile::Monitor::changed signal if a change has taken place.
-
#is_cancelled ⇒ Boolean
Returns whether the monitor is canceled.
-
#rate_limit ⇒ Integer
The limit of the monitor to watch for changes, in milliseconds.
-
#rate_limit=(rate_limit) ⇒ Integer
The limit of the monitor to watch for changes, in milliseconds.
Instance Method Details
#cancel ⇒ Boolean
Cancels a file monitor.
#cancelled=(cancelled) ⇒ Boolean
Whether the monitor has been cancelled.
#cancelled? ⇒ Boolean
Whether the monitor has been cancelled.
#emit_event(child, other_file, event_type) ⇒ nil
Emits the GFile::Monitor::changed signal if a change has taken place. Should be called from file monitor implementations only.
Implementations are responsible to call this method from the [thread-default main context][g-main-context-push-thread-default] of the thread that the monitor was created in.
#is_cancelled ⇒ Boolean
Returns whether the monitor is canceled.
#rate_limit ⇒ Integer
The limit of the monitor to watch for changes, in milliseconds.
#rate_limit=(rate_limit) ⇒ Integer
The limit of the monitor to watch for changes, in milliseconds.