Re: passing 3 widgets as parameters to g_signal_connect



On Mon, 2004-07-05 at 09:33, Leslie Harlley Watter wrote:
> Hi,
> 
> How can I pass 3 widgets as a parameter to g_signal_connect?
> 
> Example, If I have a single calculator with
> 
> GtkWidget *op1; /* First operand */
> GtkWidget *op2; /* Secont operand */
> GtkWidget *res; /* result */

you can do a structure and pass them to the the callback.
> 
> all these widgets are gtk_entry's and I want to pass they as a parameter
> because I need to manipulate their values inside a callback.
> 
> Thanks in advance
> 
> Leslie




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]