Property

GtkWidget:tooltip-markup

since: 2.12

Declaration

property tooltip-markup: utf8 [ read, write ]

Description [src]

Sets the text of tooltip to be the given string, which is marked up with the [Pango text markup language][PangoMarkupFormat]. Also see gtk_tooltip_set_markup().

This is a convenience property which will take care of getting the tooltip shown if the given string is not NULL: GtkWidget:has-tooltip will automatically be set to TRUE and there will be taken care of GtkWidget::query-tooltip in the default signal handler.

Note that if both GtkWidget:tooltip-text and GtkWidget:tooltip-markup are set, the last one wins.

Type:gchar*

Available since: 2.12

Default valueNULL
Getter methodgtk_widget_get_tooltip_markup()
Setter methodgtk_widget_set_tooltip_markup()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno