Re: Confused over demo
| From: | Steph Fox | Date: | Sat, 17 Jun 2006 13:52:16 +0000 |
| Subject: | Re: Confused over demo | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3060@lists.php.net to get a copy of this message | ||
Ah forget it. You meant 'between boxen', not 'between scripts'.
Why wouldn't they differ? GTypes are not static. They are registered at runtime. The only static ones are for fundamental types. -Andrei On Jun 17, 2006, at 4:00 AM, Christian Weiske wrote:The script uses Classname::gtype to determine which class should be used. That gtype seems to change... The following script: <?php var_dump(GtkToggleButton::gtype); var_dump(GtkButton::gtype); ?> echoes: int(147412056) int(147315920) The numbers on your screenshot are totally different. What you could do is echoing the gtypes in gtkwindow.php#26 and then again in WidgetEditor.php#40 and see if they differ. If they differ, we have a problem.-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com