Aw: Re: How to create a new toplevel window




Yes, after I saw how easy it is, I can understand that you can't understand my question. :-)

T thought I have to add the new toplevel window in some way to the main loop. That I simply could call show() 
was to easy :-) I'd searched for something like add() to the instance of the main loop.

Thanks!
 Klaus


 
 

Unless I did not understand the question, it seems pretty easy:

Gtk::Window w1, w2;
// add widgets to the windows
w1.show();
w2.show();
Gtk::Main::run();




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