-
-
Notifications
You must be signed in to change notification settings - Fork 0
CTk Switch
Lasha Kandelaki edited this page May 7, 2026
·
2 revisions
Sliding on/off toggle with a label.
Wraps customtkinter.CTkSwitch.
Groups appear in the panel in Content → Layout → Visual → Behavior order.
| Group | Properties |
|---|---|
| Text |
text, font, text_color
|
| Geometry |
x, y, width, height
|
| Toggle |
switch_width, switch_height, corner_radius, button length |
| Main Colors |
fg_color (off), progress_color (on), button_color, button_hover_color
|
| Button Interaction |
state, hover effect, initial on, variable, onvalue, offvalue
|
Exact set comes from the descriptor in
app/widgets/ctk_switch.py.
See also — Widgets · CTkCheckBox · CustomTkinter docs