One solution might be to use the accessibility framework: http://projects.gnome.org/accessibility/
Accerciser is using it (the python bindings) to query the structure of toplevel windows: http://live.gnome.org/GAP/PythonATSPI
There is also some work done to port AT-SPI to D-Bus (this would be the best solution for us): http://www.linuxfoundation.org/en/Accessibility/ATK/AT-SPI/AT-SPI_on_D-Bus
One solution might be to use the accessibility framework: projects. gnome.org/ accessibility/
http://
Accerciser is using it (the python bindings) to query the structure of toplevel windows: live.gnome. org/GAP/ PythonATSPI
http://
There is also some work done to port AT-SPI to D-Bus (this would be the best solution for us): www.linuxfounda tion.org/ en/Accessibilit y/ATK/AT- SPI/AT- SPI_on_ D-Bus
http://