GtkStatusIcon label in Gnome3

杀马特。学长 韩版系。学妹 提交于 2019-12-11 18:17:33

问题


How can affect on my app's status icon label in Gnome3? When i moving cursor on it shows me my app's executable name. How can I change it?


回答1:


You can use gtk_status_icon_set_tooltip_text() or gtk_status_icon_set_tooltip_markup().

Alternatively, you can handle the query-tooltip signal and set the text dynamically when the tooltip is shown.




回答2:


it was gtk_status_icon_set_title sorry for stupid question.



来源:https://stackoverflow.com/questions/7966414/gtkstatusicon-label-in-gnome3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!