[pygtk] How do I get the previous gtk.TreeIter in a TreeModel?

2008-07-09 Thread Rich Burridge
Hi, Hopefully I'm missing something obvious. Given a gtk.TreeIter in a gtk.TreeModel, from: http://www.pygtk.org/docs/pygtk/class-gtktreemodel.html#method-gtktreemodel--iter-next I can see how to get the gtk.TreeIter pointing to the next row. But how to I get a gtk.TreeIter pointing to the

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

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

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:

Re: [pygtk] Re: ANNOUNCE: GnomePython 2.12.1

2005-10-03 Thread Rich Burridge
Meir Kriheli wrote: You can also utilize the shell and pydoc, no need for a script, here's a bash one liner (the following should be on the same line, in case mail clients break it to 2): for i in gconf gnome gnome.ui gnome.ui gnomevfs bonobo bonobo.ui bonobo.activation; do pydoc $i $i.txt;

[pygtk] Highlighting all occurances of a string in a TextBuffer

2005-07-20 Thread Rich Burridge
. Thanks. -- Rich Burridge Email: [EMAIL PROTECTED] Sun Microsystems Inc. (MPK14-260), Phone: +1.650.786.5188 4150 Network Circle,AIM/YAHOO: RicBurridge Santa Clara, CA 95054 Blog: http://blogs.sun.com/richb

Re: [pygtk] Highlighting all occurances of a string in a TextBuffer

2005-07-20 Thread Rich Burridge
John Finlay wrote: Looks OK to me except last line should be: start = matchEnd And I would create the tag in an initialization method. Thanks, I'll adjust accordingly. Are you sure that searchStr is in buffer? No it wasn't. In fact, nothing was in the text buffer. Here was