Trying to debug a GTK theme, I modified. Having corrected most of the issues with the theme, I Still cannot figure out, what color setting is responsible for background color in some input-fields or text-views.
I can start GtkInspector as well as gtkparasite with Gtk3 applications (starting those debuggers as described on the given pages).
I'm sure, the debugger attached to the right application, because I can
In the left selection pane (widget-treeview expected) is only one element: "GtkSettings"
Tried with:
Be able to
OS & all programs / packages: Debian 8 x86_64 (up-to-date: 09.01.2015)
How can I debug my GTK-theme?
Does anyone else experience problems with the GtkInspector (is this a bug)?
It is meant as a complement to full-blown debuggers and system tracing facilities such as DTrace, not as a replacement. To enable the GTK inspector, you can use the Control + Shift + I or Control + Shift + D keyboard shortcuts, or set the GTK_DEBUG=interactive environment variable.
To launch the GTK Inspector, focus your GTK application and press Control-Shift-D. Alternatively, move your mouse cursor to your desired widget and press Control-Shift-I to specifically inspect the widget under the mouse cursor.
I had the same problem with GtkInspector on Debian Jessie and I solved it by calling terminal and typing next :
gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true
this enables GtkInspector shorcut buttons just run your application and press
Control-Shift-I or Control-Shift-D
I hope it helps
https://wiki.gnome.org/Projects/GTK%2B/Inspector misses to tell people to install "libgtk-3-dev"!!!
Start from terminal with:
GTK_DEBUG=interactive gedit/gnome-terminal/nautilus/etc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With