John Thanks for the tips on learning pygtk. It sounds like there is no
John documentation on pygtk or pygnome other than the source code.
In reality, I rarely need to look at the PyGtk source, and most of that is
when I want to change something. The wrappers are designed to create a
more-or-less one-to-one mapping of the Gtk API, so most of the time, the
correct place to look is the Gtk documentation. That said, I frequently use
dir() to see what methods, functions and data attributes are exposed (some
aren't for a variety of reasons).
Because the gtk and gtk.gdk modules contain so many symbols, I wrote a
dirpat method for interactive use that allows me to filter symbols based
upon regular expressions:
def dirpat(o, pat):
like dir, but only return strings matching re pat
import re
names = dir(o)
pat = re.compile(pat)
return [x for x in names if pat.search(x) is not None]
You may find this helpful.
--
Skip Montanaro ([EMAIL PROTECTED])
http://www.mojam.com/
http://www.musi-cal.com/
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk