pygtk-1.99.12
- From: James Henstridge <james daa com au>
- To: pygtk daa com au, GNOME Desktop Hackers <desktop-devel-list gnome org>
- Subject: pygtk-1.99.12
- Date: Tue, 23 Jul 2002 11:48:26 +0800
[ accidentally pressed send before composing all of the message :( ]
I have uploaded a new version of PyGTK. This version contains bug fixes
and some new features for the tree view wrapper. It should be safe as a
drop in replacement for 1.99.11 (no API breakage). Here is a summary of
the new features:
* docgen.py script extracts some documentation from .tmpl files, to
give more complete fake documentation.
* set tp_alloc and tp_new slots on objects at module initialisation,
to get round structure initialiser bug in Microsoft's C compiler.
* fix up small bug in GdkRectangle handling
* fix up the export-symbols regex used for the libglade module so
that the module will work on platforms where libtool's
-export-symbols-regex argument actually works.
* Add gtk.GenericCellRenderer object that allows implementation of
new cell renderers for gtk.TreeView in Python.
* Add "simple" tree model manipulation APIs. These are not yet
complete, but they allow a number of nice ways of manipulating
tree models:
model = gtk.TreeStore(str, str, int)
iter = model.append(None) # append a node to the tree
model[0][0] = 'foo' # set the first column of the fist
# node in the tree.
print model[0][0]
iter2 = model.append(iter)
model[0,0][0] = 'bar' # first child of first node in model.
for row in model:
print row[0] # iterate over toplevel nodes
for subrow in row.iterchildren():
print subrow[0] # iterate over children of row
The new release is available from:
ftp://ftp.gtk.org/pub/gtk/python/v2.0/pygtk-1.99.12.tar.gz
http://ftp.gnome.org/pub/GNOME/earthquake/sources/pygtk/
James.
--
Email: james daa com au | Linux.conf.au 2003 Call for
Papers out
WWW: http://www.daa.com.au/~james/ | http://conf.linux.org.au/cfp.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]