Spy++ comes with paid version of MS Visual Studio as

utility that gives you a graphical view of the system’s processes, threads, windows, and window messages.

enter image description here

and it's not only utility on Win32 that offers this feature, but I use it as popular example.

It lists all UI elements of all running applications, and user can use "Find Tool" to locate UI element of interest and get response dialog with versatile information about that object, like UI control name, text contents, and many other data of potential interest to a programmer.

I'm interested in similar GTK application which can at least return GTK UI element (widget) name and extracted text contents of that element of arbitrary running process.

I couldn't find anything related using Google


I found g-inspector package by a quick google of "gtk inspector".

g-inspector invokes a GTK+ application and inspects its objects and data.

Haven't tried it out, though.

|improve this answer|||||
  • Thanks, I found it in Synaptic. It inspects program that user passes as argument. I tried first with nautilus and it crashed. I tried then on sonata (mpd player) and it works like a nice program. I couldn't find a way to extract text contents out of example widget thou. If no other alternatives are suggested, I'll mark this as answered. – zetah Nov 19 '11 at 9:47

I found another tool (it's listed in Synaptic), so I'll post it as answer in case others are interested in this feature - GTK Parasite:

If you've used Firebug, it's sort of like that, but for GTK+ applications.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.