Next Tray 19.1
This commit is contained in:
1 parent
bbe2cfb571
commit
b998fbdbf5
9 files changed
+262
-50
No files matched your search
@@ -0,0 +1,15 @@
|
||||
from customtkinter import *
|
||||
from PIL import Image
|
||||
|
||||
app = CTk()
|
||||
app.geometry("500x400")
|
||||
|
||||
set_appearance_mode("dark")
|
||||
|
||||
img = Image.open("images.png")
|
||||
|
||||
btn = CTkButton(master=app, text="Click Me", corner_radius=32, fg_color="#C850C0", hover_color="#4158D0", image=CTkImage(dark_image=img, light_image=img))
|
||||
btn.place(relx=0.5, rely=0.5, anchor="center")
|
||||
|
||||
app.mainloop()
|
||||
|
||||
Reference in new issue
Block a user