r0x0r / pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS
https://pywebview.flowrl.com
BSD 3-Clause "New" or "Revised" License
4.52k stars 534 forks source link

How to replace the icon in the top left corner? #1411

Open plane55 opened 1 month ago

plane55 commented 1 month ago

Specification

Description

How to replace the icon in the top left corner?

Practicalities

Snipaste_2024-06-15_14-30-15

r0x0r commented 3 weeks ago

pywebview extracts and displays application icon from the executable. In other words you specify the application icon via a bundler.

Cqy11223344 commented 3 weeks ago

Webview. start (gui='qt '), when the gui is configured as qt, the correct icon cannot be displayed. If it is cef or other parameters, it is normal

Cqy11223344 commented 1 week ago

QQ五笔截图未命名

r0x0r commented 5 days ago

@Cqy11223344 Do you get this behaviour when application is frozen? The icon support comes only with frozen apps.