You are not logged in.
Pages: 1
Hey guys,
I understand that you can use the accessibility API provided by ATK and utilized by GTK to allow accessibility tools to access data about the widget hierarchy of an arbitrary GTK program.
First question: Is this true?
Now, what I'd like to do is abuse this privlege a bit to allow a program I write to use the accessibility API to determine the widget hierarchy of existing GTK programs and interact with it in specific ways, eg: send events, read events.
Second question: Is this possible?
I'd also like to do all this is Python.... are there accessors for the accessibility APIs ready made for Python.
I'm totally new to this stuff, so any insight will be helpful.
Thanks!
Dusty
Offline
Ok, I've been researching... painfully and slowly. It seems there isn't a lot of info on the accessible side of the accessibility API.... there's documentation on how to make your gtk application more accessible, but not so much on how to make an external program (such as a screen reader) access the accessible gtk application! I tried looking at sources for gnopernicus, but couldn't make sense of them.
I'm thinking of switching to Java for my tests, I found some examples of how the Java accessibility framework can be accessed here:
http://java.sun.com/products/jfc/jacces … mples.html
But I'd much rather have GTK, or perhaps QT applications that I could access instead, since Java is such a limited set. I researched KDE accessibility, but they seem to be even further behind than Gnome.
Any ideas?
Dusty
Offline
I'll just keep talking to myself here because I find i'm a very interesting conversationalist.
I found some information on accessibility in Python, finally:
http://blogs.sun.com/roller/page/richb? … enerate_an
Dogtail is interesting too:
http://people.redhat.com/zcerza/dogtail/index.html
Anyway, the thing is, right now it looks like I need bonobo running to make this work. Whatever bonobo is. Bonobo has always been 'some gnome thing' to me, meaning I had no interest in it.
Now, I'm willing to run gnome for the purposes of this project, however I eventually need to run these things inside metisse, which is not gnome. So an obvious question is: Can bonobo be run correctly without gnome?
Another good one is: is it possible to access an AT-SPI registry without using bonobo?
Hopefully sooner or later I'll stumble across a question that isn't completely foreign. :-)
Dusty
Offline
Pages: 1