libtextworker 0.1.4
Cross-platform, free and open library for Python projects
|
Public Member Functions | |
def | __init__ (self, dict[str, typing.Any] default_configs=stock_ui_configs, str customfilepath=CraftItems(THEMES_DIR, "default.ini")) |
def | reset (self, bool restore=False) |
typing.Any|tuple[str, int, str, str, str] | GetFont (self) |
tuple[str, str] | GetColor (self, str|None color=None) |
def | setcolorfunc (self, type|object obj, typing.Callable|str func, dict|tuple|None params=None) |
def | setfontcfunc (self, type|object obj, typing.Callable func, dict|tuple|None params=None) |
def | setfontandcolorfunc (self, type|object obj, typing.Callable|str func, dict|tuple|None params=None) |
def | configure (self, object widget, str|None color=None) |
def | autocolor_run (self, typing.Any widget) |
Public Member Functions inherited from libtextworker.get_config.GetConfig | |
def | __init__ (this, dict[str]|str|None config, str file, **kwds) |
def | readf (this, str file, str|None encoding=None) |
def | __del__ (this) |
def | update (this) |
dict | backup (this, dict keys, bool direct_to_keys=False) |
def | full_backup (this, bool noFile, str path, bool use_json=False) |
def | restore (this, dict[str, str]|None keys, str optional_path) |
typing.Any|None | getkey (this, str section, str option, bool needed=False, bool make=False, bool noraiseexp=False, bool raw=False) |
def | aliasyesno (this, yesvalue=None, novalue=None) |
def | alias (this, value, value2) |
def | move (this, dict[str, dict[str, str]] list_) |
def | set_and_update (this, str section, str option, str|None value=None) |
def | on_any_event (this, FileSystemEvent event) |
Additional Inherited Members | |
Static Public Attributes inherited from libtextworker.get_config.GetConfig | |
list | |
dict | |
bool | |
A color manager for GUI widgets. ColorManager can be used for multiple GUI widgets with only one call
Definition at line 76 of file manager.py.