Re: How to create a new toplevel window



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();


yann

On 29/03/13 09:43, Klaus Rudolph wrote:
I want a create a new toplevel window. So my application should have two open windows! I could only set one window to Gtk::Main::run(win).
Can I get a simple example how to create a second window and add that window to the application?
 
Thanks
 Klaus
 


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list



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