Method

GtkWidgetPathto_string

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

Returns: utf8
 

A new string describing path.

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