Method

GtkWidgetPathto_string

since: 3.2

Declaration [src]

char*
gtk_widget_path_to_string (
  const GtkWidgetPath* path
)

Description [src]

Dumps the widget path into a string representation. It tries to match the CSS style as closely as possible (Note that there might be paths that cannot be represented in CSS).

The main use of this code is for debugging purposes, so that you can g_print() the path or dump it in a gdb session.

Available since: 3.2

Return value

Type: char*

A new string describing path.

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