Re: Confused over demo
| From: | Christian Weiske | Date: | Sat, 17 Jun 2006 08:00:41 +0000 |
| Subject: | Re: Confused over demo | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3056@lists.php.net to get a copy of this message | ||
> I attached what I'm seeing as a jpeg. I think you'll agree it's
> problematic :)
That is really weird.
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.
--
Regards/MfG,
Christian Weiske