Open Carbajelly opened 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()`
@Carbajelly Can be the issue mentioned here: https://github.com/TomSchimansky/CustomTkinter/issues/1690
Solution is to update python version,
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()`