GLib.Scanner.prototype.set_scope

function set_scope(scope_id: Number(guint)): Number(guint) {
    // Gjs wrapper for g_scanner_set_scope()
}
  

Sets the current scope.

scope_id

the new scope id

Returns

the old scope id