Re: Orca get focus to an object via script



Hi Javier,
I am trying to address some accessibility problems that I am finding in
the liferea application. This application is to read rss content and is
GTK+ based. The URL is http://liferea.sourceforge.net

...
I had thought in a keyboard command to get to this treeview until
application solves this bug. The question is here:

How can I get focus to an object that I have referenced? I had thought
about orca.setLocusOfFocus ??

That should work. We do something like that in the gaim script.

According to the code comments in orca.py, you should be able
to pass in None for the event, but I think that now breaks in
locusOfFocusChanged() at about line 1136:

           shouldNotInterrupt = (event.type == "focus:") \

Will, we might need to adjust this when CVS write-access returns.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]