gtkparasite
is great for gtk+2
, but unfortunately it won't work with gtk+3
.
Is there any alternative?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communitygtkparasite
is great for gtk+2
, but unfortunately it won't work with gtk+3
.
Is there any alternative?
If you are looking at all the possibilities that can resolve the problem, I suggest the following link which is about how to port gtkparasite
to GTK3. Although it is a bit technical, the effort is successful.
./autogen.sh --with-gtk=3.0
, make
and sudo make install
. The packaged fedora version still only supports GTK2 though :(
Yes, there's now an official GNOME tool called GtkInspector
:
GtkInspector is the built-in interactive debugging support in GTK+. It was added in GTK+ 3.14, based on a copy of the well-estabished gtkparasite. To enable the debugger, either start your app with
GTK_DEBUG=interactive
in your environment, or run
gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true
and launch the debugger with the Control-Shift-I or Control-Shift-D keyboard shortcuts.