CustomTkinter
CustomTkinter copied to clipboard
A modern and customizable python UI-library based on Tkinter
Good Day, I was wondering if anyone else was having this same problem. I'm trying to focus set an entry box but it doesn't appear to work with CTkEntry boxes....
is it possible to make it so that when the button is clicked a second time it closes the list instead of showing it again? 
``` self.OptionmenuTheme = customtkinter.CTkOptionMenu(self.window, values=["Green", "Blue", "Dark-Blue", "Red"], command=self.change_theme, hover=True) self.OptionmenuTheme.place(relx=0.95, rely=0.45, anchor="e") self.OptionmenuTheme.set(Option_th_df) ```
In tkinter, you can give widgets names with the `name` argument. I noticed that I cannot do that with CustomTkinter. I mainly use it to find the widgets again with...
Love the CustomTkinter aesthetic, just really wanted the widgets in purple so I made it in purple. Figured I'd try to save others the trouble of getting all the hex...
I been playing with CustomTkinter and notice that textbox doesn't have the capabilities to use the scrollbar. I added the following to ctk_textbox: def set_scrollbar(self, scrollbar): self.textbox['yscrollcommand'] = scrollbar.set Example:...
When you give either CTkEntry, CTkLabel, or CTkTextbox the `name` argument, the path names for those widgets become something like `.frame.!ctklabel`, with a child widget that has the actual name...
Fixed * AttributeError ‘CTKTextbox’ has no attribute ‘delete’ *AttributeError ‘CTKTextbox’ has no attribute ‘get’
A font size in pt (`("Arial", 20)`) doesn't gets scaled by the user scaling set by `customtkinter.set_widget_scaling`. The text gets automatically scaled by the system on Windows, that's why its...