Skip to content
Mihaly Konda edited this page Jul 9, 2025 · 3 revisions

config

version: v1.0.0

A module for setting up constants for the package.

function theme_dir()

def theme_dir() -> str

Returns the currently set path to the directory containing themes.


function set_theme_dir()

def set_theme_dir(new_path: str) -> None

Sets 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.

function cfd_data_file_path()

def cfd_data_file_path() -> str

Returns the currently set path to the file containing the custom file dialog data.


function set_cfd_data_file_path()

def set_cfd_data_file_path(new_path: str) -> None

Sets a new path for the custom file dialog data file.

Parameters:

  • new_path: The new path to set.

funtion use_theme()

def use_theme() -> bool

Returns the enabled state of the theme package.


function set_use_theme()

def set_use_theme(use: bool = True) -> None

Enables/disables the use of the theme package.

Parameters:

  • use: The new state to set. The default is True.

function icon_file_path()

def icon_file_path() -> str

Returns the path for the icon file to be used in the dialogs.


function set_icon_file_path()

def set_icon_file_path(new_path: str = '') -> None

Sets 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.

API reference

Base/technical modules:

Other modules

Clone this wiki locally