Package: glib

Function g-source-can-recurse

Lambda List

g-source-can-recurse (source)

Syntax

(g-source-can-recurse source) => can-recurse
(setf g-source-can-recurse source) can-recurse)

Arguments

source -- a g-source instance
can-recurse -- a boolean whether recursion is allowed for this source

Details

The g-source-can-recurse function checks whether the source is allowed to be called recursively. The (setf g-source-can-recurse) function sets whether the source can be called recursively.

If the can-recurse argument is true, then while the source is being dispatched then this source will be processed normally. Otherwise, all processing of this source is blocked until the dispatch function returns.
 

See also

2021-12-10