Callbacks¶
|
|
|
Details¶
- GModule.ModuleCheckInit(module)¶
- Parameters:
module (
GModule.Module
) – theGModule.Module
corresponding to the module which has just been loaded- Returns:
None
on success, or a string describing the initialization error- Return type:
Specifies the type of the module initialization function. If a module contains a function named g_module_check_init() it is called automatically when the module is loaded. It is passed the
GModule.Module
structure and should returnNone
on success or a string describing the initialization error.
- GModule.ModuleUnload(module)¶
- Parameters:
module (
GModule.Module
) – theGModule.Module
about to be unloaded
Specifies the type of the module function called when it is unloaded. If a module contains a function named g_module_unload() it is called automatically when the module is unloaded. It is passed the
GModule.Module
structure.