作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我无法让 GTkStatusIcon 在 Windows 中工作,并且没有收到任何错误。我同时调用 gtk_status_icon_set_from_file 和 gtk_status_icon_new_from_file。有谁知道这可能是什么原因造成的?我尝试使用 .ico 文件和 .png 但仍然没有任何结果...
最佳答案
您是否将 GtkStatusIcon 声明为静态
,如下所示:static GtkStatusIcon *status_icon = NULL;
?
关注 this教程并看看它是否有效。
关于c - GTK+ GTkStatusIcon 在 Win32 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1198040/
如何影响 Gnome3 中我的应用程序的状态图标标签?当我将光标移到它上面时,它会显示我的应用程序的可执行文件名称。我该如何更改它? 最佳答案 您可以使用 gtk_status_icon_set_to
我无法让 GTkStatusIcon 在 Windows 中工作,并且没有收到任何错误。我同时调用 gtk_status_icon_set_from_file 和 gtk_status_icon_ne
我是一名优秀的程序员,十分优秀!