【发布时间】:2023-06-13 00:14:01
【问题描述】:
我使用 Glade 和 PyGTK(在 Windows 7 上)构建了一个简单的应用程序。从 Python 解释器来看,一切都很好。但是,与 PyInstaller 捆绑后,我收到以下警告:
GtkWarning: Could not find the icon 'gtk-missing-image'. The 'hicolor' theme was not found either, perhaps you need to install it.
而且 GUI 看起来很丑……
这是两次运行的屏幕截图。
编辑
我在 GTK 安装中找到了“hicolor”主题文件。它似乎只包含图标。因此,这不是一般外观的原因,而只是标题栏中可以出现的不同图标。
【问题讨论】:
标签: python pygtk pyinstaller