Re: [orca-list] Queries about flat_review.py ?



Hello,
See here for a simpler script: http://blog.thismagpie.com/2013/06/pyatspi2-script-to-demonstrate-text.html
py-at-spi is event driven. So you receive an event with reference to an accessible object where the event is coming from and then you can inspect it by using its methods.
These classes are declared neither in orca nor py-at-spi but somewhere else in the at-spi accessibility stack.

At least this is how I can interpret the situation as a result of my quick google search and looking into orca sources.
I think you might like to read the docs here: https://developer.gnome.org/at-spi-cspi/stable/spi-accessible.html

Greetings

Peter

On 20.02.2014 10:40, Dhairyashil Bhosale wrote:
Hi all,

             I am new to Python and Orca. I am studying how the existing flat_review.py feature work. The file flat_review.py calls function queryText() , getTextAtOffset() etc. I cannot locate the implementation of these function. where are they defined? Through what mechanism can flat_review.py  access them?  These question may be quite elementary , but they confuse me. So please any one can explain me these queries .





                                                                                                                    Regards,
                                                                                                                  Dhairyashil


_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp



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