gi-gio-2.0.29: Gio bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gio.Structs.IOModuleScope

Description

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 ioModulesScanAllInDirectoryWithScope.

Since: 2.30

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

block, free.

Getters

None.

Setters

None.

block

iOModuleScopeBlock Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IOModuleScope

scope: a module loading scope

-> Text

basename: the basename to block

-> m () 

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

Since: 2.30

free

iOModuleScopeFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> IOModuleScope

scope: a module loading scope

-> m () 

Free a module scope.

Since: 2.30