Re: [gtk-list] Re: notebooks
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: notebooks
- Date: Tue, 14 Jul 1998 10:19:06 +0200 (CEST)
On Tue, 14 Jul 1998, Nwanua Elumeze wrote:
> I haven't tried but here's a suggestion:
> notebook = gtk_notebook_new ();
you need to add the notebook to the toplevel before realizing it.
> gtk_widget_realize (notebook);
> notebook1 = gtk_notebook_new ();
> gtk_widget_realize (notebook1);
> gtk_notebook_append_page (GTK_NOTEBOOK (notebook), notebook1,
same here. never realize a widget before adding it to a parent.
basically the whole thing should work without any forced realizations.
> create and realize both notebooks, then append one as a page
> of the other.
] [Thread Prev