mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
removed print from CTkSegmentedButton
This commit is contained in:
@@ -58,7 +58,7 @@ seg_6 = customtkinter._CTkSegmentedButton(app, width=300)
|
||||
seg_6.pack(padx=20, pady=20)
|
||||
entry_6 = customtkinter.CTkEntry(app)
|
||||
entry_6.pack(padx=20, pady=(0, 20))
|
||||
button_6 = customtkinter.CTkButton(app, text="set", command=lambda: seg_6.set(entry_6.get()))
|
||||
button_6 = customtkinter.CTkButton(app, text="set", command=lambda: seg_6.set(entry_6.get()), corner_radius=1000)
|
||||
button_6.pack(padx=20, pady=(0, 20))
|
||||
button_6 = customtkinter.CTkButton(app, text="insert value", command=lambda: seg_6.insert_value(0, entry_6.get()))
|
||||
button_6.pack(padx=20, pady=(0, 20))
|
||||
@@ -67,6 +67,5 @@ label_6.pack(padx=20, pady=(0, 20))
|
||||
|
||||
seg_6.configure(height=50, variable=seg_6_var)
|
||||
seg_6.remove_value("CTkSegmentedButton")
|
||||
seg_6.configure(values=[])
|
||||
|
||||
app.mainloop()
|
||||
|
||||
Reference in New Issue
Block a user