Skip to content

CTk Switch

Lasha Kandelaki edited this page May 7, 2026 · 2 revisions

CTkSwitch

Sliding on/off toggle with a label.

Wraps customtkinter.CTkSwitch.

Properties

Group Properties
Geometry x, y, width, height
Switch switch_width, switch_height, corner_radius
State variable, onvalue, offvalue, state
Colors fg_color, progress_color, button_color, button_hover_color, text_color
Text text, font

Exact set comes from the descriptor in app/widgets/ctk_switch.py.


See alsoWidgets · CTkCheckBox · CustomTkinter docs

Clone this wiki locally