(Error in an example a bit modified)...
| From: | Celestino Roberto Alejandro | Date: | Fri, 09 Mar 2001 19:13:10 +0000 |
| Subject: | (Error in an example a bit modified)... | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-637@lists.php.net to get a copy of this message | ||
Hello, i modified the hello.php samples that companion the binaries for windows, only added a new
button after of the hello world button widget,....but
$window = &new GtkWindow();
$window->connect('destroy', 'destroy');
$window->connect('delete-event', 'delete_event');
$window->set_border_width(10);
/*
* Create a button, connect its clicked signal to hello() function and add
* the button to the window.
*/
$button = &new GtkButton('Hello World!');
$button->connect('clicked', 'hello');
$window->add($button);
$button2 = &new GtkButton('Hello!');
$button2->connect('clicked', 'hello');
$window->add($button2);
/*
* Create a new tooltips object and use it to set a tooltip for the button.
*/
.........
...
.etc.
and then give an error in Gtk-CRITICAL: file gtkbin.c line 217 (gtk_bin_add) assertion:
bin->child==NULL failed..
..do you can see that i am doing bad?
thanks...the "molesto".