Date: Sat, 29 May 2004 10:28:38 +0200 (CEST) Message-Id: <20040529.102838.23840213.oandrieu at nerim.net> To: lablgtk at kaba.or.jp Subject: Re: further tries with Ocaml and glade From: Olivier Andrieu In-Reply-To: <87isefzrdg.fsf at fbigm.here> References: <87isegdfta.fsf at fbigm.here> <20040528.124616.71805080.oandrieu@nerim.net> <87isefzrdg.fsf@fbigm.here> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Friedrich Dominicus [Sat, 29 May 2004]: > Olivier Andrieu writes: > > > That's because I forgot a unit argument. It should be: > > let view_col = GTree.view_column ~title:"Currencies" () in > I'm an idiot. I have though about the strange parmeters used in > lablgtk2 and did not get it. Well tonight as I got an idea. I think > this is the right explanation. > > lablgtk2 used a lot of optional or "keyword" parameter and the > documentation says one has to include at least one non-optional > parameter, so the Unit parameter is the non-optional parameter. Is > that correct? yes, exactly so. -- Olivier