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 g_io_modules_load_all_in_directory_with_scope() or g_io_modules_scan_all_in_directory_with_scope().

Constructors

this
this(GIOModuleScope* gIOModuleScope, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(GIOModuleScopeFlags flags)

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

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

block
void block(string basename)

Block modules with the given basename from being loaded when this scope is used with g_io_modules_scan_all_in_directory_with_scope() or g_io_modules_load_all_in_directory_with_scope().

free
void free()

Free a module scope.

getIOModuleScopeStruct
GIOModuleScope* getIOModuleScopeStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Variables

gIOModuleScope
GIOModuleScope* gIOModuleScope;

the main Gtk struct

Meta

Since

2.30