Fri 28 May 2010
After sweating a bit and then Colin Walter’s wonderful caller-allocates patch being committed to gobject-introspection, I give you PyGI’s gtk-demo clone:
It may not look like much but consider this, the demo uses a TreeView, TreeStore, ScrolledWindow, TextView, TextBuffer, TextTags and numerous types of Iters without asserting inside of GTK (provided you have the latest GTK from git). I can also now drop a python file in a directory and have it show up in the demo list which means many little snippets to methodically run through the gamut of the GTK API and fix any issues. Right now I need to write unit tests for the patches that enable gtk-demo.py to run but once I have those in I will commit gtk-demo.py to the PyGI repo.
Progress is sweet but hard work which is why I will be away this long Memorial Day weekend, sans any electronic devices, hiking the Glastonbury Wilderness. I’ll be back hacking on PyGI this Tuesday.
[read this post in: ar de es fr it ja ko pt ru zh-CN ]
May 28th, 2010 at 10:11 am
Woot!
May 28th, 2010 at 1:10 pm
Awesome!
May 28th, 2010 at 3:55 pm
But you forgot to import pygt—OHHH.
Very nice