[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 pr

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-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 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] 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; do

Re: [pygtk] Re: ANNOUNCE: GnomePython 2.12.1

2005-10-03 Thread Rich Burridge
Johan Dahlin wrote: This is found as gtk.glade Thanks (and to Germán who also mentioned it). "import pygtk" External You also have: gtk.keysyms, gtk.gdk and gtk.compat (for some compatilibity with ancient versions) Not needed, only a wrapper for handling multiple i

[pygtk] Re: ANNOUNCE: GnomePython 2.12.1

2005-10-03 Thread Rich Burridge
hon/2.12/ and this just seems to contain some examples and tests. The README is also a zero-length file. Could you point me in the right direction for the gnome-python (and PyORBIT) documentation please? Thanks. -- Rich Burridge Email: [EMAIL PROTECTED] Su

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

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

2005-07-20 Thread Rich Burridge
er to some other Pygtk code that does something similar. 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 95