Method

GtkWidgetget_tooltip_text

since: 2.12

Declaration [src]

gchar*
gtk_widget_get_tooltip_text (
  GtkWidget* widget
)

Description [src]

Gets the contents of the tooltip for widget.

Available since: 2.12

Return value

Type: gchar*

The tooltip text, or NULL. You should free the returned string with g_free() when done.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.