Re: Easier menu creation
| From: | Andrei Zmievski | Date: | Tue, 06 Mar 2001 14:41:21 +0000 |
| Subject: | Re: Easier menu creation | ||
| References: | 1 2 3 4 5 6 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-396@lists.php.net to get a copy of this message | ||
I've implemented this yesterday.
On Mon, 05 Mar 2001, Jan Lehnardt wrote:
> On Mon, 5 Mar 2001 11:19:06 -0600
> Andrei Zmievski <andrei@ispi.net> wrote:
>
> > You want to specify different callback parameters for each factory
> > item
> > or the same parameters for all callbacks?
>
> The callback function is the function that is executet when a certain
> signal appears (clicked on buttons, activete(d) on menus), or am I
> wrong? If not, I want to have different parameters for each entry.
> E.g.
> Edit ->Search
> ->Search and Replace
>
> Imagine such menu. perhaps you have a function that pops up a search and
> replace dialog. if a parameter is transmitted it shows the s+r part, if
> not only the search part. the callback for search would be
> popup_search() and the callback for search and replace
> popup_search(true); or popup_search('replace');
>
> It's silly example, I hope it becomes clear what I want ;-).
>
> Jan
> --
>
>
-Andrei
Linux is like living in a teepee.
No Windows, no Gates, Apache in house.
- Usenet signature