Re: [gtkmm] order of packing



On Fri, Sep 12, 2003 at 05:51:45PM -0400, Neeraj Korde wrote:
> 1. Does the order of packing matter ?

No. You can create the biggest box, then a smaller one and pack, then
controls and pack, it is up to you. But you can not pack controls to
boxes you have not created yet. Instead of a segfault you should get gtk
warnings.

An important thing is to show the window last with win->show_all() so
that everything pops up at once. But it doesn't matter if you don't.

Regards

-- 
Simon Fuhrmann | NightSlayer at gmx.de | http://www.dismember.de
All people talk about the real life, but where can I download it?



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