flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
9.85k stars 386 forks source link

Ability to set application icon in both titlebar and taskbar #3438

Open theAbdoSabbagh opened 3 weeks ago

theAbdoSabbagh commented 3 weeks ago

Please Describe The Problem To Be Solved Right now, it is only possible to set the icon of the application (if its not web) during the building process. I feel like if we have the option to change it even before building it would be more efficient because wed be able to see how the icon looks even before building the application to exe

(Optional): Suggest A Solution so idk how to do implement that but I guess it could be smth like:

page.set_icon(icon_path: str)
ndonkoHenri commented 1 week ago

If you are a windows user, give page.window.icon ="path/to/image" a try.