Problem with GtkTable and attach method
| From: | difenza2003\@libero\.it | Date: | Sat, 10 Jul 2004 17:12:53 +0000 |
| Subject: | Problem with GtkTable and attach method | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4708@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