Method

GtkStatusIconset_tooltip_text

deprecated: 3.14 since: 2.16

Declaration [src]

void
gtk_status_icon_set_tooltip_text (
  GtkStatusIcon* status_icon,
  const gchar* text
)

Description [src]

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_set_text().

Available since: 2.16

Deprecated since: 3.14

Use GNotification and GtkApplication to provide status notifications; there is no direct replacement for this function.

Parameters

text

Type: const gchar*

The contents of the tooltip for status_icon.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.