Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP-GTK Community Site:
Merry Christmas (A Holiday Widget)
Dec 21, 2006 @ 14:25:10

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!

tagged: holiday twinkle star phpgtk widget holiday twinkle star phpgtk widget

Link:

PHP-GTK Community Site:
Merry Christmas (A Holiday Widget)
Dec 21, 2006 @ 14:25:10

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!

tagged: holiday twinkle star phpgtk widget holiday twinkle star phpgtk widget

Link: