GtkStatusIcon label in Gnome3

2019-08-23 02:26发布

问题:

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.