-
Notifications
You must be signed in to change notification settings - Fork 0
config
Mihaly Konda edited this page Jul 9, 2025
·
3 revisions
version: v1.0.0
A module for setting up constants for the package.
def theme_dir() -> strReturns the currently set path to the directory containing themes.
def set_theme_dir(new_path: str) -> NoneSets a path to the theme directory enabling the use of the theme module and other reliant modules.
Parameters:
- new_path: The path to the directory containing themes.
def cfd_data_file_path() -> strReturns the currently set path to the file containing the custom file dialog data.
def set_cfd_data_file_path(new_path: str) -> NoneSets a new path for the custom file dialog data file.
Parameters:
- new_path: The new path to set.
def use_theme() -> boolReturns the enabled state of the theme package.
def set_use_theme(use: bool = True) -> NoneEnables/disables the use of the theme package.
Parameters:
- use: The new state to set. The default is True.
def icon_file_path() -> strReturns the path for the icon file to be used in the dialogs.
def set_icon_file_path(new_path: str = '') -> NoneSets the path for the icon file to be used in the dialogs.
Parameters:
- new_path: The new path to set for the windows. The default is an empty string, leading to the default icon.