Callbacks¶
| ModuleCheckInit(module) | |
| ModuleUnload(module) | 
Details¶
- 
GModule.ModuleCheckInit(module)¶
- Parameters: - module ( - GModule.Module) – the- GModule.Modulecorresponding to the module which has just been loaded- Returns: - Noneon success, or a string describing the initialization error- Return type: - str- 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.Modulestructure and should return- Noneon success or a string describing the initialization error.
- 
GModule.ModuleUnload(module)¶
- Parameters: - module ( - GModule.Module) – the- GModule.Moduleabout 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.Modulestructure.