set_tooltip_text


Description:

[ Version ( since = "2.16" ) ]
public void set_tooltip_text (string text)

Sets text as the contents of the tooltip.

Note:

Use Notification and Application to provide status notifications; there is no direct replacement for this function

This function will take care of setting has_tooltip to true and of the default handler for the query_tooltip signal.

See also the tooltip_text property and set_text.

Parameters:

this

a StatusIcon

text

the contents of the tooltip for this




2022 vala-language.org