How can I get a list of running applications from GTK?
2 answers
The panel you are linking to is the GNOME Panel. So this is a GNOME question, not a GTK question.
GNOME, which I know of, does not have a well-defined concept of a "multi-window application". The pane list is probably created by asking the window manager for the window list and grouping windows by the "class" property.
There are also various window manager hints to keep in mind, such as ignore panels and other utility windows. If I were you, I would look at the source code of the taskbar applet. Perhaps there is documentation somewhere that covers the status quo, but I know where that would be.
0
source to share