Re: [gtkmm] Multiple windows
- From: Chris Vine <chris cvine freeserve co uk>
- To: Paul Davis <paul linuxaudiosystems com>, Ken Miller <jackatthekilns hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Multiple windows
- Date: Mon, 25 Aug 2003 02:10:18 +0100
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]