💄 Add an app icon

Fix #15
This commit is contained in:
Clement Desmidt 2024-05-15 09:30:57 +02:00
parent e27769c8f3
commit 7702a0bea3
2 changed files with 3 additions and 0 deletions

BIN
assets/icons/logo-dt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -1,5 +1,6 @@
import os
import sys
from tkinter import PhotoImage
import customtkinter
@ -16,6 +17,8 @@ def main():
root = customtkinter.CTk()
root.title("Drawing Training!")
root.geometry("300x600")
icon = PhotoImage(file="assets/icons/logo-dt.png")
root.iconphoto(True, icon)
App(root)