hoffstadt / DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
https://dearpygui.readthedocs.io/en/latest/
MIT License
12.88k stars 671 forks source link

How can i change app logo using Dearpygui #2182

Open Potatooff opened 11 months ago

Potatooff commented 11 months ago

I was baking a project using Dearpygui and i wanted to change the app logo like on tkinter.

SamIvan1 commented 11 months ago

Replace small_icon and large_icon with images, .ico for Windows or .ico/.png for Mac. https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.create_viewport

dpg.create_viewport(title="Window", small_icon='ico.ico', large_icon='ico.ico')
Potatooff commented 11 months ago

Thank you for the help.

Le dim. 17 sept. 2023, 10:57, SamIvan1 @.***> a écrit :

Replace small_icon and large_icon with images, .ico for Windows or .ico/.png for Mac.

https://dearpygui.readthedocs.io/en/latest/reference/dearpygui.html#dearpygui.dearpygui.create_viewport

dpg.create_viewport(title="Window", small_icon='ico.ico', large_icon='ico.ico')

— Reply to this email directly, view it on GitHub https://github.com/hoffstadt/DearPyGui/issues/2182#issuecomment-1722495413, or unsubscribe https://github.com/notifications/unsubscribe-auth/A24PWYQSUPEQRIVITPIIPGTX24FW3ANCNFSM6AAAAAA43TWLHM . You are receiving this because you authored the thread.Message ID: @.***>

JJenkinsDaxsonics commented 11 months ago

Large icon is not changed for me. Shows Python app icon