Quote:
Originally posted by prabhakar_kushwaha
my problem is that
i want a single callback function which take all three GtkEntry widget as argument .
also this callback function is connected by OK button.
so when i press OK button , all Three GtkEntry widget get passed simultanesouly into the callback function ,so that i can store the text of gtkEntry into a dynamically allocated structure.
|
what u can do is make all three entry widgets as global. then u will be able to access the widgets in the callback
without even passing it a a parameter to the callback.
or..
u can declare a structure that takes pointer to the three widgets and pass the structure as a parameter to the callback..
this can solve ur problem..
keep clicking...