GtkTable and attach method

From: Date: Sat, 10 Jul 2004 17:11:02 +0000
Subject: GtkTable and attach method
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4707@lists.php.net to get a copy of this message
Hi all i'm beginning student with PHP and i've any problem about use of attach method of GtkTable. I don't understand what is the value to assignements to the parameters of attach method. I wirte this code-line: dl('php_gtk.dll'); function shutdown(){ gtk::main_quit(); } function Hello($button) { echo "Ciao GTk!!!\n"; } $window = &new GTkWindow(); $table = &new GtkTable(1,1); $table->attach($button,0,1,0,1); $button = &new GtkButton('Hello Gtk'); $button->connect('clicked','Hello'); $window->add($button); $window->show_all(); gtk::main(); I'm sorry for my bad english, thanks to all

« previous php.gtk.general (#4707) next »