T'is the season for snow and twinkling lights, and the PHP-GTK Community site has taken this to heart with their latest tutorial posted today showing the creation of a Drawing area with stars and blinking lights.
They start with an overview of the mini-project (three different parts) and quickly get into the code.
First it's the abstract class Object, then the BasicStar that extends our object (complete with the method for drawing the dots), and finally the "Christmas widget" that they all get pushed into. The result is a small window that has flashing "lights" and will run until you shut it off. Happy holidays!