Closed CodeSame closed 1 year ago
Etc error: \lib\site-packages\pywinstyles\py_win_style.py", line 71, in init window.config(bg="black")
@CodeSame You can't use this directly on frames/widget. This is only for the root/toplevel windows. Refer the example
Thank you for your reply and this library. I have a feeling that this kind of UI is the future.
@CodeSame
This will work: pywinstyles.apply_style(self, e)
I have a feeling that this kind of UI is the future.
Obviously, this feature will take your application to the next level. No one can even recognise that the UI is made with tkinter. I believe any type of user interface is possible with tkinter. You can explore more useful packages here https://github.com/Akascape/tkinter-toolkit
lib\site-packages\customtkinter\windows\widgets\core_widget_classes\ctk_base_class.py", line 111, in config raise AttributeError("'config' is not implemented for CTk widgets. For consistency, always use 'configure' instead.") AttributeError: 'config' is not implemented for CTk widgets. For consistency, always use 'configure' instead. When I try to activate the theme change to aero for the ctk.frame object, I get this error. This library looks just fine. If it could be used in my project it would be very good. The parts of the code I'm trying to integrate it through: class App(ctk.CTk): def init(self): super().init() root = ctk.CTk() ctk.set_default_color_theme("green") # Themes: "blue" (standard), "green", "dark-blue" ctk.set_appearance_mode("dark") self.title("") self.geometry(f"{520}x{235}")
Creating Main Frame