Архіви Липень 2008

24 Лип

Have you ever run into a problem where your favorite Python IDE can't determine the type of a variable, and thus you get no auto-completion? There is a built-in function in Python called isInstance(your_variable, type_of_variable) that is designed to compare a variable to a class type, and return true or false. However, just the ...


21 Лип

There comes a time in every man's life where a single goocanvas.Canvas widget just won't cut it. Imagine you need two separate canvases for your interface, but you want them to scroll together with a single scroll bar. How would you solve this problem?

First, to enable a goocanvas.Canvas object to scroll is ...


14 Лип

As you know, I am creating a complex timeline for my non-linear video application. I had the choice between the GnomeCanvas (which is obsolete) and a lesser known goocanvas (which is cairo based). I originally choose to use the GnomeCanvas, because it is much more well known, and there is more documentation for it.

...



10 Лип

Here is a quick update for everyone following this project. I am working on an prototype timeline, using the Gnome canvas, GTK, and Python. So far my "prototype first" methodology seems to be playing out nicely. It is allowing me to quickly test out various libraries, GUI techniques, and design patterns, ...


Архіви