[Glade-users] Passing two widgets to a function



Sir,
 I have a window, which as a button and two "entry"
widgets. I wish to process both the entry widgets on
the click of the button.

When I create on_button_clicked(), I can only pass one
item (one entry)to the function, on_button_clicked().
I wish to pass both the entry items.
One way is to edit interface.c and create a struct
which contains both the entry widgets and then pass
the pointer of this struct to the on_button_clicked()
function.

But we are not allowed to edit interface.c. 
My question is how can we pass more than widgets to
the function on_button_clicked().
thanks.
shiraz


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 




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