Gio.IOModuleScope¶
record (struct)
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 io_modules_load_all_in_directory_with_scope
or io_modules_scan_all_in_directory_with_scope.
Methods¶
block¶
Block modules with the given basename from being loaded when
this scope is used with io_modules_scan_all_in_directory_with_scope
or io_modules_load_all_in_directory_with_scope.
Parameters:
basename— the basename to block
free¶
Free a module scope.