Re: GtkMenu ?

From: Date: Mon, 16 Jul 2001 19:11:43 +0000
Subject: Re: GtkMenu ?
References: 1 2 3 4 5 6 7  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2222@lists.php.net to get a copy of this message
> > > > The situation is that i don't want to pass any arguments to > > > > newFileInst() at all... is there a way to do this? > > > > > > No, I'm sorry, that's the way it has to be. You can have the callback be > > > just a wrapper for your actual function, if you want. > > > > Can you explain? > [snip explanation] Okay - that may be the solution, then. Though it doesnt seem very optimal. I hope you will follow me all the way: <br> <b>Fatal error</b>: Call to a member function on a non-object in <b>c:\backup\PROGRA~1\php-gtk\edit4-f\edit4-f.php</b> on line <b>82</b><br> Line 82 looks like this: $this->gui['notebook']->append_page(&$this->gui['textarea'], &$this->gui['label']); And the definition of $this->gui['notebook'] looks like this: $this->gui['notebook'] = &new GtkNotebook; - and it IS defined when i call append_page(), so what can the problem be? -- Mvh./Best Regards Jonas Delfs, http://delfs.dk

« previous php.gtk (#2222) next »