Class: Gio::FileMonitor

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#cancelTrueClass

Cancels a file monitor.

Returns:

  • (TrueClass)

    always true

#cancelled=(cancelled) ⇒ TrueClass

Parameters:

  • cancelled (TrueClass)

Returns:

  • (TrueClass)

    cancelled

  • (TrueClass)

    cancelled

#cancelled?TrueClass

Returns cancelled.

Returns:

  • (TrueClass)

    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.

Parameters:

Returns:

  • (nil)

#is_cancelledTrueClass

Returns whether the monitor is canceled.

Returns:

  • (TrueClass)

    true if monitor is canceled. false otherwise.

#rate_limitInteger

Returns rate-limit.

Returns:

  • (Integer)

    rate-limit

#rate_limit=(rate_limit) ⇒ Integer

Parameters:

  • rate_limit (Integer)

Returns:

  • (Integer)

    rate-limit

  • (Integer)

    rate-limit