-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CTkFrame
Tom Schimansky edited this page Feb 5, 2023
·
9 revisions
frame = customtkinter.CTkFrame(master=root_tk, width=200, height=200, corner_radius=10)
frame.pack(padx=20, pady=20, sticky="nsew")
argument | value |
---|---|
master | root, Frame or Toplevel |
width | slider width in px |
height | slider height in px |
border_width | width of border in px |
fg_color | foreground color, tuple: (light_color, dark_color) or single color or "transparent" |
border_color | border color, tuple: (light_color, dark_color) or single color |
-
All attributes can be configured and updated.
-
Pass attribute name as string and get current value of attribute.
CustomTkinter by Tom Schimansky 2022
The Github Wiki is outdated, the new documentation can be found at: