Re: [gtkmm] Multiple windows



On Sunday 24 August 2003 10:25 pm, Paul Davis wrote:
> >I need help creating multiple windows for my application.  It is easy in
> >gtk+ but I can't figure it out in gtkmm.  Can anyone help?
>
>       Gtk::Window* a_new_window =
> 		   manage (new Gtk::Window (GTK_WINDOW_TOPLEVEL));
>
>       a_new_window->add (some_container_widget);
>
>       a_new_window->show ();

On a minor nit, the manage() on a_new_window doesn't work unless it is 
inserted in something (ie it cannot be a top level widget).

Chris.




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