gpt4 book ai didi

c - GTK+ GTkStatusIcon 在 Win32 中不起作用

转载 作者:行者123 更新时间:2023-11-30 16:05:23 24 4
gpt4 key购买 nike

我无法让 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com