Re: GtkMenu ?

From: Date: Mon, 16 Jul 2001 18:30:06 +0000
Subject: Re: GtkMenu ?
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2217@lists.php.net to get a copy of this message
> Got thru that part OK, you use PHP and force the type. You're saying that i should force the integer to be a string - or am i misunderstanding you? > I'm stuck on the global that's needed for notebook to > get picked up on, mainly cos I don't understand classes. > (hence the line 82 err msg.) > usual syntax would be something like global $notebook; > at the start of that function. I don't use $notebook but $gui['notebook'] - and because $gui is a global variable in the class, no need for declaring global. > You hadn't put () when you called your classes, No need to do that when the constructor of the class not requires any arguments > half the time, nor had you called them by reference That's correct - but do i need to do that all the time? (i have to confess that i'm not 100% in to assigning by reference) -- Mvh./Best Regards Jonas Delfs, http://delfs.dk

« previous php.gtk (#2217) next »