【问题标题】:Is there any way to add a logo of the GUI application made by using Eel Python?有什么方法可以添加使用 Eel Python 制作的 GUI 应用程序的 logo 吗?
【发布时间】:2021-06-27 07:32:43
【问题描述】:

我正在使用 Eel Python 构建一个 GUI 应用程序。我注意到的第一件事是—— 默认情况下,该应用程序具有我必须更改的 chrome 图标。但是我没有找到任何方法来做到这一点。那么他们有什么方法可以改变应用程序的图标吗?

【问题讨论】:

    标签: python windows user-interface icons eel


    【解决方案1】:

    添加

    <link rel="shortcut icon" type="image/x-icon" href="path_to_icon">
    

    到 HTML 中的 head 标签

    【讨论】:

      【解决方案2】:

      只需使用正常的方式在 html 中添加图标,这会自动将图标添加到您的 Eel 应用程序中。

      在此处查看this 答案。

      【讨论】:

        猜你喜欢
        • 2023-01-07
        • 1970-01-01
        • 2019-05-23
        • 1970-01-01
        • 1970-01-01
        • 2023-03-13
        • 2010-12-10
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多