Widget.setTooltipMarkup

Sets @markup as the contents of the tooltip, which is marked up with Pango markup.

This function will take care of setting the [property@Gtk.Widget:has-tooltip] as a side effect, and of the default handler for the [signal@Gtk.Widget::query-tooltip] signal.

See also [method@Gtk.Tooltip.set_markup].

class Widget
void
setTooltipMarkup
(
string markup
)

Parameters

markup string

the contents of the tooltip for @widget

Meta