Date: Wed, 22 Mar 2006 21:13:39 +1100 From: Erik de Castro Lopo To: lablgtk at math.nagoya-u.ac.jp Subject: Re: Box packing Message-Id: <20060322211339.079987df.ocaml-erikd at mega-nerd.com> In-Reply-To: <17441.7913.369734.472866 at karryall.dnsalias.org> References: <20060322192654.172c7ea3.ocaml-erikd at mega-nerd.com> <17441.7913.369734.472866@karryall.dnsalias.org> Organization: Erik Conspiracy Secret Labs Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 1031 Hi Oliver, Thanks for responding. Olivier Andrieu wrote: > The usual way to contol this is via the optional arguments of the > #pack method of GPack.hbox and GPack.vbox. In lablgtk, the default > value for `expand' is false and for `fill' true (but the fill argument > is ignored when expand is false). I've actually tried a bunch of combinations of both. > See the gtk tutorial for a demo of how these options affect packing: > http://www.gtk.org/tutorial/x383.html I've read through that in the past, but I'm currently working from http://pllab.kaist.ac.kr/~shoh/ocaml/lablgtk2/lablgtk2-tutorial/book1.html which has an Ocaml version of the example you pointed me to. Cheers, Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "The one thing that reading these five books has hammered home is how much C++ has turned into 3 languages stuck in a bag fighting to get out. Low C++, High C++, and Generic C++."