Date: Thu, 20 Apr 2006 22:36:39 +1000 From: Erik de Castro Lopo To: lablgtk at math.nagoya-u.ac.jp Subject: Re: Low level lablgtk2 hacking Message-Id: <20060420223639.3fdae084.erikd at mega-nerd.com> In-Reply-To: <17478.50853.459149.712593 at karryall.dnsalias.org> References: <20060420060312.67f8a4ee.ocaml-erikd at mega-nerd.com> <4446BCBB.2050502@rftp.com> <17478.50853.459149.712593@karryall.dnsalias.org> Organization: Erik Conspiracy Secret Labs x-gpg-fingerprint: 7357 1E85 C19F 4281 D8C9 7AA8 6CA4 1A77 43B8 D6C8 x-gpg-key: 43B8D6C8 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 1100 Olivier Andrieu wrote: > I see #set_hpolicy and #set_vpolicy methods in the > GBin.scrolled_window class. Hmmm, not sure how I missed that. I'm finding lablgtk2 a real struggle. I thought about maybe doing the GUI in C and the data processing in Ocaml. After banging my head against lablgtk2 for over a week, it took me about 8 hours to get all the GUI elements I need working in C/GTK+. I then spent some time trying to figure out how to hook up the C GUI and the Ocaml data processing. That proved too difficult. I'm now back banging my head on the Ocaml version of the GUI and working on the C version has definitely helped but there are still some things I haven't figure out. I suppose I need to suffer some more pain :-). Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "Therapists typically base the nuttiness of a patient on the strength of their convictions, on which basis this 43,000 word opus alone stands as a kind of testament to Bill's (Gates) madness." - The Register