Re: [gtkmm] Rebuilding a window



On Mon, 2002-12-09 at 13:38, Boldow Bow wrote:
> I want to build a Gtk::Window with a Gtk::Button and a Gtk::VBox. The 
> window is initialized with the button and an empty vbox and the funtion 
> (Main  * my_main)->run(*window) is called.
> When the button is pressed, a fonction is called and make some 
> vbox->pack_start with some new elements like some Gtk::TextView or 
> Gtk::VBox (the method show() is called for every new element).
> 
> My problem is that nothing appear in the window. Should I called the 
> method run again ?

You must show all widgets. The easiest way to do it is calling
show_all() method on that window.

-- 
Jarek Dukat <madmaxer poczta fm>


----------------------------------------------------------------------
Zwieksz swoje szanse na sukces o mozliwosci nowej, lepszej poczty...
Poczta PLUS i PREMIUM >>> http://link.interia.pl/f16a1 





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