[go: up one dir, main page]

Module glib::source

source ·

Structs

CallbackGuardDeprecated
Unwinding propagation guard. Aborts the process if destroyed while panicking.
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 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.
Removes the source with the given id source_id from the default main context.
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 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 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.