Re: Problems compiling PHP 4.0.7RC1 with php-gtk0.1.1

From: Date: Tue, 18 Dec 2001 04:41:53 +0000
Subject: Re: Problems compiling PHP 4.0.7RC1 with php-gtk0.1.1
References: 1 2 3 4 5 6  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-876@lists.php.net to get a copy of this message
Ya, I think deriving them from a class would work better, plus it would make the app more modular... since im trying to go that route. Ill try that and see how it goes ... Thanks! On Mon, 2001-12-17 at 20:47, Alan Knowles wrote: > try using > > frmLoadMembModifiers($list, $listed,&$fxdFormBoxes) > > eg. passing by reference, > > it is also usefull to > > echo serialize($fxdFormBoxes); > > you should see the second number is the resource ID, > these numbers should match before sending and after sending the widget > to the funciton. > > you may also consider using a class and using the class vars to store > the widgets. > > $this->fxdFormBoxes > > regards > alan > > Troy McComas wrote: > > >WOOOOHOOO!!!! > > > >Alright, PHP 4.1.0 and PHP-GTK CVS worked nicely... > > > >Just cleaned up left over libs and did a make clean in both builds... > > > >Anyways... > > > >Steph, I tried globalizing the Fixed widget and that works fine... but > >what if origin of the container is within another function? > > > >The callback didnt seem to work... but I also havent tried packing it > >either... > > > >On Mon, 2001-12-17 at 20:15, Steph wrote: > > > >>Lost me there then. Sorry, I may have misunderstood something along the line, but was > >>under the impression they'd work together. > >> > >>I got a fixed set up as yours. It refused to go as a callback parameter, but was quite > >>happy when globalised within the function. > >> > >>e.g. > >>function frmLoadMembModifiers($list, $listed) { > >> global $fxdFormBoxes; > >> > >>$number = $list->child_position($listed); > >>etc > >>} > >> > >>*but* I also added it to a box widget within the toplevel window before I did any such > >>thing .. just didn't show() it until it was within the function. > >> > >>----- Original Message ----- > >>From: "Troy McComas" <admin@physicianquest.com> > >>To: "Steph" <steph.fox@btinternet.com>; "PHP-GTK Mailing > >>List" <php-gtk-general@lists.php.net> > >>Sent: Tuesday, December 18, 2001 4:06 AM > >>Subject: Re: [PHP-GTK] Problems compiling PHP 4.0.7RC1 with php-gtk0.1.1 > >> > >> > >>No go... > >> > >>Same mesg as before > >> > >> > >>On Mon, 2001-12-17 at 19:46, Steph wrote: > >> > >>>try cvs version php-gtk with 4.1.0 > >>> > >>>----- Original Message ----- > >>>From: "Troy McComas" <admin@physicianquest.com> > >>>To: "PHP-GTK Mailing List" <php-gtk-general@lists.php.net> > >>>Sent: Tuesday, December 18, 2001 3:37 AM > >>>Subject: [PHP-GTK] Problems compiling PHP 4.0.7RC1 with php-gtk0.1.1 > >>> > >>> > >>>I follow everything in Markus's Introductionary article on PHP-GTK to > >>>install but get the followin errors... > >>> > >>>X-Powered-By: PHP/4.1.0 > >>>Content-type: text/html > >>> > >>><br> > >>><b>Warning</b>: U åSRè: Unable to initialize module > >>>Module compiled with debug=204, thread-safety=100 module API=0 > >>>PHP compiled with debug=0, thread-safety=0 module API=20010901 > >>>These options need to match > >>> in <b>/root/php-gtk-0.1.1/test/gtk.php</b> on line > >>> <b>7</b><br> > >>><br> > >>><b>Fatal error</b>: Undefined class name 'gtk' in > >>><b>/root/php-gtk-0.1.1/test/gtk.php</b> on line > >>><b>2659</b><br> > >>> > >>> > >>>I didnt use any special params during build and I tried on both 4.0.7RC1 > >>>and php4.1.0 with no luck, im using the stable source from php-gtk.net > >>> > >>>TIA > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>>-- > >>>PHP-GTK General Mailing List (http://gtk.php.net/) > >>>To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > >>>For additional commands, e-mail: php-gtk-general-help@lists.php.net > >>>To contact the list administrators, e-mail: php-list-admin@lists.php.net > >>> > >> > >> > >>-- > >>PHP-GTK General Mailing List (http://gtk.php.net/) > >>To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > >>For additional commands, e-mail: php-gtk-general-help@lists.php.net > >>To contact the list administrators, e-mail: php-list-admin@lists.php.net > >> > > > > > > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

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