Gio.IOModuleScope

Fields

None

Methods

block (basename)

free ()

Details

class Gio.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.io_modules_load_all_in_directory_with_scope() or Gio.io_modules_scan_all_in_directory_with_scope().

New in version 2.30.

block(basename)[source]
Parameters:

basename (str) – the basename to block

Block modules with the given basename from being loaded when this scope is used with Gio.io_modules_scan_all_in_directory_with_scope() or Gio.io_modules_load_all_in_directory_with_scope().

New in version 2.30.

free()[source]

Free a module scope.

New in version 2.30.