Class: Gio::FileMonitor
- Inherits:
-
Object
- Object
- Gio::FileMonitor
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#cancel ⇒ TrueClass
Cancels a file monitor.
- #cancelled=(cancelled) ⇒ TrueClass
-
#cancelled? ⇒ TrueClass
Cancelled.
-
#emit_event(child, other_file, event_type) ⇒ nil
Emits the GFile::Monitor::changed signal if a change has taken place.
-
#is_cancelled ⇒ TrueClass
Returns whether the monitor is canceled.
-
#rate_limit ⇒ Integer
Rate-limit.
- #rate_limit=(rate_limit) ⇒ Integer
Instance Method Details
#cancel ⇒ TrueClass
Cancels a file monitor.
#cancelled=(cancelled) ⇒ TrueClass
#cancelled? ⇒ TrueClass
Returns 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 ⇒ TrueClass
Returns whether the monitor is canceled.
#rate_limit ⇒ Integer
Returns rate-limit.