Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 2 down vote accepted

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.

share|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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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