Module glib::source

source · []

Structs

Continue calling the closure in the future iterations or drop it.

Process identificator

The priority of sources

The id of a source that is returned by idle_add and timeout_add.

Constants

Functions

Adds a closure to be called by the main loop the returned Source is attached to when a child process exits.

Adds a closure to be called by the main loop the returned Source is attached to when a child process exits.

Adds a closure to be called by the main loop the returned Source is attached to when a child process exits.

Adds a closure to be called by the default main loop when it’s idle.

Adds a closure to be called by the default main loop when it’s idle.

Adds a closure to be called by the default main loop when it’s idle.

Adds a closure to be called by the default main loop when it’s idle.

Adds a closure to be called by the main loop the return Source is attached to when it’s idle.

Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.

Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.

Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.

Adds a closure to be called by the default main loop at regular intervals with millisecond granularity.

Adds a closure to be called by the default main loop at regular intervals with second granularity.

Adds a closure to be called by the default main loop at regular intervals with second granularity.

Adds a closure to be called by the default main loop at regular intervals with second granularity.

Adds a closure to be called by the default main loop at regular intervals with second granularity.

Adds a closure to be called by the main loop the returned Source is attached to at regular intervals with millisecond granularity.

Adds a closure to be called by the main loop the returned Source is attached to at regular intervals with second granularity.

Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.

Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.

Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX file descriptor reaches the given IO condition.

Adds a closure to be called by the default main loop whenever a UNIX signal is raised.

Adds a closure to be called by the default main loop whenever a UNIX signal is raised.

Adds a closure to be called by the default main loop whenever a UNIX signal is raised.

Adds a closure to be called by the default main loop whenever a UNIX signal is raised.

Adds a closure to be called by the main loop the returned Source is attached to whenever a UNIX signal is raised.