Message-ID: <4447EE60.6080405 at rftp.com> Date: Thu, 20 Apr 2006 13:26:08 -0700 From: Robert Roessler Organization: Robert's High-performance Software MIME-Version: 1.0 To: LablGTK List Subject: Re: Low level lablgtk2 hacking References: <20060420060312.67f8a4ee.ocaml-erikd at mega-nerd.com> <4446BCBB.2050502 at rftp.com> <17478.50853.459149.712593 at karryall.dnsalias.org> <20060420223639.3fdae084.erikd at mega-nerd.com> In-Reply-To: <20060420223639.3fdae084.erikd at mega-nerd.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Length: 1435 Erik de Castro Lopo wrote: > 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 *did* mention this in my initial response to your post, but perhaps I was *really* unclear... ;) > 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 :-). I have a LablGTK app (a GUI toplevel *in* OCaml) which might be of help to you as an example of how to make GUIs work in the OCaml/LablGTK environment. The only reason I have not published at least a "technology preview" version of it is that I have gotten zero response to my requests for assistance in "*nix-zing" the Makefile... and releasing "Windows-only" versions of OCaml software doesn't seem to be the best strategy for acceptance in the "community". Hint. Hint. :) Robert Roessler robertr@rftp.com http://www.rftp.com