Re: Easier menu creation

From: Date: Mon, 05 Mar 2001 18:50:59 +0000
Subject: Re: Easier menu creation
References: 1 2 3 4 5  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-312@lists.php.net to get a copy of this message
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 --

« previous php.gtk (#312) next »