IOModuleScope

Represents a scope for loading IO modules. A scope can be used for blocking duplicate modules, or blocking a module you don't want to load.

The scope can be used with gio.global.ioModulesLoadAllInDirectoryWithScope or gio.global.ioModulesScanAllInDirectoryWithScope.

class IOModuleScope {
GIOModuleScope* cInstancePtr;
bool owned;
}

Members

Functions

block
void block(string basename)

Block modules with the given basename from being loaded when this scope is used with gio.global.ioModulesScanAllInDirectoryWithScope or gio.global.ioModulesLoadAllInDirectoryWithScope.