Close secondary windows

Hi list,

I'm developing a program that opens a main window, but this main window needs to open new windows. So,  my problem is how can I close these windows without close the main window ???.
If I use Gtk2->main_quit, will close all windows even the main window, and I just need to close the secondary window and keep the main window running.

Regards and  thanks to all !!!

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