]> Pileus Git - ~andy/gtk/commit
API: Add gtk_widget_path_to_string()
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 13:29:32 +0000 (14:29 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 27 Mar 2011 00:47:17 +0000 (01:47 +0100)
commit8b4b3cf090855586eb7f64aac12d5cb505ab1404
treec749a2c7de77b8c5846bbbc5ef2250f951c09644
parentfafee4e27645f2b9f819444ad8ce6fe1f67182b8
API: Add 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
g_print() the path or dump it in a gdb session.
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
gtk/gtkwidgetpath.c
gtk/gtkwidgetpath.h