main_level

function main_level():Number {
    // Gjs wrapper for gtk_main_level()
}

Asks for the current nesting level of the main loop.

Returns

the nesting level of the current invocation of the main loop