[pygtk] accessibility mystery
Nikos Kouremenos
kourem at gmail.com
Mon Jan 23 06:45:32 WST 2006
if you use Glade for your Widgets just go in the last tab of a widget
and add the info you want there and in theory screenreader reads it.
if you the widgets on python, use atk and it should work
pacman -Ql pygtk | grep atk.so
pygtk /usr/lib/python2.4/site-packages/gtk-2.0/atk.so
[nk at Freud trunk]€ python
Python 2.4.2 (#1, Nov 12 2005, 10:57:47)
[GCC 4.0.3 20051006 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import atk
>>> dir(atk)
no pygtk docs for that module so go C and Good Luck
ps. it's a common secret FLOSS and accessibility for blind people suck
big time atm. It's not Devs to blame though as unfortunately FLOSS
does not target (as a high target) (as its current state). It's why I
wished you Good Luck and recently I saw a guy posting on Gnome Planet
about such issues, if you care to see this change contact the guy and
start forming a group or sth.
ps2. I may be mistaken but beware of my bow you big archer :D
On 1/23/06, Dusty Phillips <buchuki at gmail.com> wrote:
> Hello,
>
> I've been searching everywhere for information on utilizing
> accessibility information provided by GTK programs. I'd rather do this
> in Python and PyGTK, which is why I'm posting here.
>
> I've found loads of information on 'how to make your program more
> accessible'. (eg: http://developer.gnome.org/projects/gap/guide/gad/
> <-- old)This is the stuff on how to ensure your widgets and components
> will play nicely with accessibility software like screen readers and
> the like.
>
> However, the thing I can't find out is how I can write software that
> reads and manipulates this accessible information. How does a screen
> reader talk to a standard PyGTK app to access and manipulate its
> widgets, for example? I've found the ATK API (eg:
> http://developer.gnome.org/doc/API/2.0/atk/atk.html), so I think I can
> figure out how to work with it IF I had a simple example of how to get
> started accessing an existing program. Does such an example exist?
>
> It seems like very little work has gone into accessibility in the past
> couple years. Java's accessibility utilities were last updated for
> Java 1.3, and Gnomes accessibility pages don't appear to have been
> updated recently either. Have I missed some very obvious recent
> updates or something? I'm getting the feeling maybe accessibility was
> driven by Sun a few years back and they ran out of money. :-D
>
> I guess that was all just a long-winded way of saying 'can somebody
> tell me how to write a pygtk program that can access existing gtk
> applications through their accessibility API?' Sorry for the
> wordiness.
>
> Thanks in advance for any tips or links,
>
> Dusty
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
--
Nikos Kouremenos | Jabber ID: nkour at jabber.org | http://members.hellug.gr/nkour
More information about the pygtk
mailing list