StatusIcon.setTooltipText

void setTooltipText(string text)

Sets text as the contents of the tooltip.

This function will take care of setting #GtkStatusIcon:has-tooltip to true and of the default handler for the #GtkStatusIcon::query-tooltip signal.

See also the #GtkStatusIcon:tooltip-text property and [gtk.tooltip.Tooltip.setText].

Parameters

textthe contents of the tooltip for status_icon

Deprecated

Use #GNotification and #GtkApplication to

provide status notifications; there is no direct replacement for this function