segunda-feira, 21 de maio de 2007

Add current time on your PHP-GTK app

Although time is always on tray bar, there´s a good idea to add current time to our GUI applications.
The next class will teach you how to add time on your application , updating time label on each second .
I will use PHP date function embbed on a label and use Gtk::timeout_add to update label.
Follows the code




Sem comentários: