| 
<?php
/**
 *@author José Augusto Ferreira Franco
 *@copyright Artistic Lisence
 *@link http://guto.awardspace.com
 *@package Class Splash [test script]
 *@version 1.0 done at 11 Nov 2006
 */
 
 require "class_splash.php";
 
 function appTest()
 {
 global $splash;  // you need to put this var as global to kill splash after main app opens
 $splash->hide_splash(); // killing splash
 $janela = &new GtkWindow();
 $janela->set_title("Splash class test");
 $janela->set_default_size(400,240);
 $janela->connect_object("destroy","shutdown");
 $janela->show_all();
 }
 
 
 function shutdown()
 {
 Gtk::main_quit();
 }
 
 
 
 dl('php_gtk.dll');
 
 $splash = new splash("appTest");
 
 
 GTK::main();
 
 
 
 ?>
 |