Callbacks¶
|
Details¶
- GtkSource.SchedulerCallback(deadline, *user_data)¶
- Parameters:
- Returns:
True
if there is more work to process, otherwiseFalse
and the handler is unregistered.- Return type:
This function is called incrementally to process additional background work. A deadline is provided which can be checked using [func`GLib`.get_monotonic_time] so that additional work can be processed each frame.
This is useful for situations where you are incrementally performing background work such as spell checking or semantic syntax highlighting.
New in version 5.2.