passing 3 widgets as parameters to g_signal_connect



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 */

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
-- 
Outside of a dog, a book is a man's best friend.
Inside a dog it's too dark to read.
Groucho Marx



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