EDataServer.Module¶
- Subclasses:
None
Methods¶
- Inherited:
GObject.TypeModule (7), GObject.Object (37), GObject.TypePlugin (4)
- Structs:
class |
|
class |
|
class |
|
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The filename of the module |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class EDataServer.Module(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Contains only private data that should be read and manipulated using the functions below.
New in version 3.4.
- classmethod load_all_in_directory(dirname)¶
- Parameters:
dirname (
str
) – pathname for a directory containing modules to load- Returns:
a list of
EDataServer.Modules
loaded from dirname- Return type:
Loads all the modules in the specified directory into memory. If you want to unload them (enabling on-demand loading) you must call
GObject.TypeModule.unuse
() on all the modules. Free the returned list with g_list_free().New in version 3.4.
- classmethod load_all_in_directory_and_prefixes(dirname, dirprefix)¶
- Parameters:
- Returns:
a list of
EDataServer.Modules
loaded from dirname and any extra prefix directory.- Return type:
Loads all the modules in the specified directory into memory and the other custom prefixes returned by
EDataServer.util_get_directory_variants
(). If you want to unload them (enabling on-demand loading) you must callGObject.TypeModule.unuse
() on all the modules. Free the returned list with g_list_free().When dirprefix is
None
, or not a prefix of dirname, behaves the same asEDataServer.Module.load_all_in_directory
().New in version 3.40.
- classmethod load_file(filename)¶
- Parameters:
filename (
str
) – filename of the module to load- Returns:
an
EDataServer.Module
loaded from filename- Return type:
Load the module from the specified filename into memory. If you want to unload it (enabling on-demand loading) you must call
GObject.TypeModule.unuse
() on the module.New in version 3.16.
- classmethod new(filename)¶
- Parameters:
filename (
str
) – filename of the shared library module- Returns:
a new
EDataServer.Module
for filename- Return type:
Creates a new
EDataServer.Module
that will load the specific shared library when in use.New in version 3.4.