Declaration [src]

gtk_widget_set_tooltip_markup (
  GtkWidget* widget,
  const gchar* markup

Description [src]

Sets markup as the contents of the tooltip, which is marked up with the [Pango text markup language][PangoMarkupFormat].

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

See also the GtkWidget:tooltip-markup property and gtk_tooltip_set_markup().

Available since:2.12


markup const gchar*

The contents of the tooltip for widget, or NULL.

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