Re: Gtk::Window as a child widget



On Sat, 23 Dec 2006 17:41:42 +0100, Johannes Schmid
<johannes schmid gmx de> scribbled:

> Hi!
Hello,

> First, you cannot add a Gtk::Window to a Gtk::Container but you can
> still use glade by taking the first child of the Window, e.g a
> Gtk::Box or a Gtk::Table and add this to the container.
That must be what anjuta does, since all their preference pages are
Windows in the glade file.

> 
> Maybe the easiest way for you would be to create a Gtk::Notebook, hide
> the tab labels and call "set_current_page" if the user selects a
I think this is quite an elegant solution, I'll try that - thanks a lot!

best regards,

marek

Attachment: signature.asc
Description: PGP signature



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