Method

GtkTooltipset_markup

since: 2.12

Declaration [src]

void
gtk_tooltip_set_markup (
  GtkTooltip* tooltip,
  const gchar* markup
)

Description [src]

Sets the text of the tooltip to be markup, which is marked up with the [Pango text markup language][PangoMarkupFormat]. If markup is NULL, the label will be hidden.

Available since: 2.12

Parameters

markup

Type: const gchar*

A markup string (see [Pango markup format][PangoMarkupFormat]) 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.