Skip to content

Custom UI Library (Standalone)

material_widgets.py

File: JameedLabs_UI_Kit\ui\widgets\material_widgets.py

class MaterialButton(ctk.CTkButton) (line 5)

Constructor: MaterialButton(master, style)

class MaterialCard(ctk.CTkFrame) (line 55)

Constructor: MaterialCard(master, elevation)

class MaterialLabel(ctk.CTkLabel) (line 72)

Constructor: MaterialLabel(master, style)

class NavigationButton(ctk.CTkFrame) (line 99)

Navigation button with icon (Material Icons) and text label.

Constructor: NavigationButton(master, isActive, command)

Public Methods: * set_collapsed(collapsed: bool) — Toggle between icon-only and full display. * configure() — Override configure to handle text_color for child labels.