- Sample Codes
Sample Code 231: How to install php gtk2 on windows?
|Written by kksou|
|Monday, 14 May 2007|
Updated: March 1, 2008
Thanks to the PHP-GTK2 development team. Installing PHP-GTK2 is now as simple as 1-2-3. Yes, just download - unzip - and off you go!
Let's do some Test Run
<?php $window = new GtkWindow(); $window->connect_simple('destroy', array('Gtk','main_quit')); $label = new GtkLabel("hello world!"); $window->add($label); $window->show_all(); Gtk::main(); ?>
If you are a seasoned PHP-GTK2 programmer, you may want to check out some of the new exciting PHP-GTK2 Functionalities with this new build of PHP-GTK2.
|< Prev||Next >|