Gtk.WidgetPath.prototype.to_string
function to_string():String { // Gjs wrapper for gtk_widget_path_to_string() }
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 GLib.print the path or dump it in a gdb session.
Since 3.2
- Returns
A new string describing path.