ioModulesScanAllInDirectoryWithScope
fn
void ioModulesScanAllInDirectoryWithScope(string dirname, gio.iomodule_scope.IOModuleScope scope_)Scans all the modules in the specified directory, ensuring that any extension point implemented by a module is registered.
This may not actually load and initialize all the types in each module, some modules may be lazily loaded and initialized when an extension point it implements is used with e.g. [gio.ioextension_point.IOExtensionPoint.getExtensions] or [gio.ioextension_point.IOExtensionPoint.getExtensionByName].
If you need to guarantee that all types are loaded in all the modules, use [gio.global.ioModulesLoadAllInDirectory].
Parameters
dirname | pathname for a directory containing modules to scan. |
scope_ | a scope to use when scanning the modules |