Re: [pygtk] accessibility mystery

2006-01-27 Thread Rich Burridge
Hi Dusty, Any ideas why some apps are noticed and some are asleep? See: http://developer.gnome.org/projects/gap/guide/gad/ which is a little dated now. The key is in the following paragraph: The implementation for the GTK widgets is in a module called GAIL (GNOME Accessbil

Re: [pygtk] accessibility mystery

2006-01-25 Thread Dusty Phillips
> Just a little note, for the record (mailing list archives :), all I > had to do to get the above code to behave in pekwm the same way that > it did in gnome was to add /opt/gnome/lib/gtk-2.0/modules > to by /etc/ld.so.conf and run ldconfig. Now I can experiment with > further code and see if anyt

Re: [pygtk] accessibility mystery

2006-01-25 Thread Dusty Phillips
> I > notice it uses bonobo to access the registry, does this mean gnome > must be running? I tried the following code under pekwm: > > >>> import bonobo > >>> registry = bonobo.get_object("OAFIID:Accessibility_Registry:1.0", > "Accessibility/Registry") > >>> registry.getDesktopCount() > 1 > >>> de

Re: [pygtk] accessibility mystery

2006-01-24 Thread Rich Burridge
Hi Dusty, Thanks Rich, I think that's exactly the start I'm looking for. I notice it uses bonobo to access the registry, does this mean gnome must be running? Not the whole of GNOME. I've run AT-SPI programs under CDE, the other operating system that comes standard on Solaris, and they've wo

Re: [pygtk] accessibility mystery

2006-01-23 Thread Dusty Phillips
On 23/01/06, Rich Burridge <[EMAIL PROTECTED]> wrote: > Dusty Phillips wrote: > > 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.

Re: [pygtk] accessibility mystery

2006-01-23 Thread Rich Burridge
Dusty Phillips wrote: 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. Check out: http://blogs.sun.com/roller/page/richb?entry=using_acc

Re: [pygtk] accessibility mystery

2006-01-22 Thread Dusty Phillips
On 22/01/06, Nikos Kouremenos <[EMAIL PROTECTED]> wrote: > 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 Thanks, but I've basically figured ou

Re: [pygtk] accessibility mystery

2006-01-22 Thread Nikos Kouremenos
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 [EMAIL PROTECTED

[pygtk] accessibility mystery

2006-01-22 Thread Dusty Phillips
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.