Added README to Goertzel
[mirrors/Programs.git] / misc / multiplatform-ui / test.php
... / ...
CommitLineData
1#!/usr/bin/php -c/etc/php/php-gtk.ini
2#GTK Hello world! by Harvie 2oo9
3
4<?php
5
6if (!class_exists('gtk')) {
7 die("Please load the php-gtk2 module in your php.ini\r\n");
8}
9
10$wnd = new GtkWindow();
11$wnd->set_title('Hello world');
12$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
13
14$lblHello = new GtkLabel("Just wanted to say\r\n'Hello world!'");
15$wnd->add($lblHello);
16
17$wnd->show_all();
18Gtk::main();
19?>
This page took 0.127113 seconds and 4 git commands to generate.