Method

GtkTooltipset_text

since: 2.12

Declaration [src]

void
gtk_tooltip_set_text (
  GtkTooltip* tooltip,
  const gchar* text
)

Description [src]

Sets the text of the tooltip to be text. If text is NULL, the label will be hidden. See also gtk_tooltip_set_markup().

Available since: 2.12

Parameters

text

Type: const gchar*

A text string or NULL.

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