Re: why is class HelloWorld : public Gtk::Window ?



On Mon, 2009-02-09 at 17:38 -0500, Michael Comperchio wrote:
> I had a lot of fun with this. When I derive my class from Gtk::Window,
> and in 
> that class used libglademm stuff to get the window from the glade
> file, I 
> found I had two windows.

Your window probably just has visible-true in the Glade defnition,
meaning that it is visible as soon as you parse the Glade file. I have
never seen the point of that Glade/libglade feature myself - it confuses
many people.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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