GLib.MainContext.current_source – glib-2.0 Reference Manual
current_source
Description:
[
Version
( since =
"2.12"
) ]
[
CCode
( cname =
"g_main_current_source"
) ]
public
static
unowned
Source
current_source
()
Returns the currently firing source for this thread.
Returns:
The currently firing source or
null
.
2022 vala-language.org