Re: GtkPlug and php-gtk2

From: Date: Thu, 12 Jan 2006 17:16:45 +0000
Subject: Re: GtkPlug and php-gtk2
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6527@lists.php.net to get a copy of this message
Thanks for the reply Ron. I ran your snippet of code and the GtkSocket and GtkPlug show up in my list. Perhaps I'm using a newer build. I don't get the "call to undefined function" (I'd assume to see if it wasn't implemented)and the GtkSocket calls seem to work without issue. It's just the second half of the equation, GtkPlug that I can't get to fly. regards, Sean Ron Tarrant wrote: > I ran this bit of code which spits out a list of all GTK classes > available and it isn't listed. Likely, it hasn't been implemented yet. > > <?php > > $array = get_declared_classes(); > > while(list(,$classname) = each($array)) > { > echo $classname."\n"; > } > ?> > > -Ron T. > > Sean wrote: > >>I'm looking for some help geting the GtkSocket and GtkPlug api to work >>with the latest php-gtk2 build. >> >>Using the old php-gtk examples/code I get the following error: "Class >>GtkPlug cannot be instantiated directly" anytime I try and >> >>$plug = new GtkPlug($sock_id); >> >>Has anybody got this to work with php-gtk2 ? >> >> >>

« previous php.gtk.general (#6527) next »