navigate.view.theme.apply_theme
- navigate.view.theme.apply_theme(root: Tk, gui_settings: Optional[Any] = None) → tuple[str, dict[str, str]]
Apply the global ttk/tk theme to the root and all inheriting popups.
- Parameters:
root (tk.Tk) – Root Tk instance to style.
gui_settings (Any, optional) – GUI configuration containing theme overrides, by default
None.
- Returns:
(preset_name, palette)describing the applied theme.- Return type:
tuple[str, dict[str, str]]