I am trying to develop a game so that when i press a button which is created using glade window i should be able to run the pygame window i have succeeded so far but the pygame window opens separately and when i close that even the window developed using glade gets closed. Can anyone propose a solution to my problem??
According pygame GUI section it's difficult task:
I would recommend move your buttons into pygame by drawing them yourself or try to use third-party libraries like PGU.