I learned pygtk via the tutorial and reference manual, and found most
things to be pleasantly simple to do.  A message dialog, for example,
can be done via

dialog = gtk.MessageDialog(buttons=gtk.BUTTONS_OK_CANCEL,
message_format="Test message here.")
response  = dialog.run()

All that can be found by looking up the MessageDialog class in the
reference manual,  noticing that there's not much there, and looking
and the documentation for its parent "Dialog" class.  That may be one
source of confusion you may have experiened while reading the reference
manual.

In general, I've found pygtk to be remarkably pythonic (for an
interface to a library that has been ported to many other languages as
well).  For example, when using tree views, you can access the tree
model underlying it using the normal python list syntax, which I think
is very cool.  If you have other examples of things that are confusing,
post them (here, or to the pygtk list).  

Greg

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to