mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
chnaged complex_example.py and fixed command-variable execution order in CTkSlider
This commit is contained in:
@ -3,7 +3,7 @@ import customtkinter
|
||||
|
||||
|
||||
app = customtkinter.CTk()
|
||||
app.geometry("400x800")
|
||||
app.geometry("400x900")
|
||||
app.title("CustomTkinter Test")
|
||||
|
||||
|
||||
@ -53,5 +53,10 @@ combobox_1.pack(pady=10, padx=10)
|
||||
button_7 = customtkinter.CTkButton(master=app, text="Disable/Enable combobox_1", command=lambda: change_state(combobox_1))
|
||||
button_7.pack(padx=20, pady=(10, 20))
|
||||
|
||||
slider_1 = customtkinter.CTkSlider(app)
|
||||
slider_1.pack(pady=10, padx=10)
|
||||
button_8 = customtkinter.CTkButton(master=app, text="Disable/Enable slider_1", command=lambda: change_state(slider_1))
|
||||
button_8.pack(padx=20, pady=(10, 20))
|
||||
|
||||
|
||||
app.mainloop()
|
Reference in New Issue
Block a user