Gladeui.Catalog¶
Fields¶
None
Methods¶
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gladeui.Catalog¶
- classmethod add_path(path)¶
- Parameters:
path (
str
) – the new path containing catalogs
Adds a new path to the list of path to look catalogs for.
- classmethod destroy_all()¶
Destroy and free all resources related with every loaded catalog.
- classmethod get_extra_paths()¶
- Returns:
a list paths added by
Gladeui.Catalog.add_path
()- Return type:
[
str
]
- classmethod is_loaded(name)¶
- classmethod load_all()¶
- Returns:
the list of loaded
Gladeui.Catalog
*- Return type:
Loads all available catalogs in the system. First loads catalogs from
Gladeui.ENV_CATALOG_PATH
, then fromGladeui.App.get_catalogs_dir
() and finally from paths specified withGladeui.Catalog.add_path
()
- classmethod remove_path(path)¶
-
Remove path from the list of path to look catalogs for.
None
to remove all paths.
- get_adaptors()¶
- Returns:
the list of widget class adaptors
- Return type:
- get_domain()¶
- Returns:
The domain to be used to translate strings from this catalog
- Return type:
- get_targets()¶
- Returns:
the list of suitable version targets.
- Return type:
- get_widget_groups()¶
- Returns:
the list of widget groups (palette)
- Return type: