Re: GtkMenu ?
| From: | Jonas Delfs | Date: | Mon, 16 Jul 2001 18:57:10 +0000 |
| Subject: | Re: GtkMenu ? | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2220@lists.php.net to get a copy of this message | ||
> > > If you want to pass additional parameters to your callback, you need to
> > > specify them like this:
> > >
> > > array('/File/New', '', array($this, 'newFileInst'),
> > > 0, '', array($param1, $param2)),
> >
> > 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?
--
Mvh./Best Regards
Jonas Delfs, http://delfs.dk