How to put widget into dialog ?




 Hello Everyone :)

 I'm writting simpl c++ and gtkmm 2.4 application, which is simpla database, but nevermind. I doesn't know how to put widget like Gtk::Label into Gtk::Dialog ? I've been trying somethig like this: 

   Gtk::VBox *pBox=itsDialog.get_vbox();
   pBox->pack_start(itsLabel);

  Unfourtunetlly, it doesn't work. I'd like to know how to create many windows in one Gtk::Main::run() loop. First - parent window is with menus and the second is with preferences. I tried to have two Gtk::Main::run() for, but if both windows was open and parent window has been closed the program hanged. 

    



---------------------------------------------------------------------
Toshiba i FIFA World Cup
Wygraj bilety i notebooki z Intel Centrino Duo Mobile Technology
http://link.interia.pl/f1912




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