Crear una ventana simple en PHP-GTK2
| Categorías General, Programacion | Fecha 14-03-2009 | Comentario 0
Number of View: 933
< ?php
$wnd = new GtkWindow();
$wnd->set_title('Hello world');
$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
$lblHello = new GtkLabel("Just wanted to say\r\n'Hello world!'");
$wnd->add($lblHello);
$wnd->show_all();
Gtk::main();
?>















