[Glade-users] Passing two widgets to a function

 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()

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().

Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!

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