Re: Confused over demo

From: Date: Sat, 17 Jun 2006 13:51:27 +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-3059@lists.php.net to get a copy of this message
So why's that demo working for me now?!
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.
__________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com


« previous php.gtk.dev (#3059) next »