Declaration [src]

gtk_widget_get_tooltip_text (
  GtkWidget* widget

Description [src]

Gets the contents of the tooltip for widget.

Available since:2.12

Return value

Returns: 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 data, and is responsible for freeing it.
 The return value can be NULL.
 The value is a NUL terminated UTF-8 string.