Re: Playing around with two windows in a program: problem

2008-01-11 Thread vijayasarathy
Now I have seen that the program works even without calling gtk_main_iteration at the end of closing and opening the two windows. My doubt: What is the role of gtk_main()? When should it be called ? Should I be calling the main function when I am changing between windows ? On Fri, January

Re: Playing around with two windows in a program: problem

2008-01-11 Thread vijayasarathy
Also, 1. Please dont get into names. I have changed them so that I disclose not much about what I am doing :-) 2. call back function func1() for the wdgt_window2 on destroy calls gtk_main_quit(), does nothing else. Thanks Vijay On Fri, January 11, 2008 5:03 pm, [EMAIL PROTECTED] wrote:

Playing around with two windows in a program: problem

2008-01-11 Thread vijayasarathy
Hi All, I was caught in a situation like this: I have three windows, and a main window. The main window contains three radio buttons 1)option1 2)option2 3)option3. On the coresponding option being chosen, program then has to a)close main window b)open an another window(depending on the option