Method

GtkWidgetget_tooltip_text

Declaration [src]

const char*
gtk_widget_get_tooltip_text (
  GtkWidget* widget
)

Description [src]

Gets the contents of the tooltip for the widget.

If the widgets tooltip was set using gtk_widget_set_tooltip_markup(), this function will return the escaped text.

Return value

Type: const char*

The tooltip text.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.