TomSchimansky / CustomTkinter

A modern and customizable python UI-library based on Tkinter
MIT License
10.8k stars 1.03k forks source link

Button Not Appearing #2364

Open Carbajelly opened 2 months ago

Carbajelly commented 2 months ago

While attempting a simple button in customtkinter, a button does not appear but can be detected when it is pressed. Everything is up to date. Running via vscode on SamonaOS

`import customtkinter

app = customtkinter.CTk() app.title('testing')

app.geometry("600x600")

def button_event(): print('button pressed')

button = customtkinter.CTkButton(master=app, text='CTkButton', command=button_event) button.pack(side="top")

app.mainloop()`

Akascape commented 2 months ago

@Carbajelly Can be the issue mentioned here: https://github.com/TomSchimansky/CustomTkinter/issues/1690

Solution is to update python version,