Date: Tue, 28 Mar 2006 18:49:32 +0900 (JST) Message-Id: <20060328.184932.126764261.garrigue at math.nagoya-u.ac.jp> To: ocaml-erikd at mega-nerd.com Cc: lablgtk at math.nagoya-u.ac.jp Subject: Re: class view objects and connecting adjustments to them From: Jacques Garrigue In-Reply-To: <20060324222122.621a4d5e.ocaml-erikd at mega-nerd.com> References: <20060324222122.621a4d5e.ocaml-erikd at mega-nerd.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: Text/Plain; charset=us-ascii Content-Length: 724 From: Erik de Castro Lopo > I have a pair of view objects and I'd like to connect a GData.adjustment > to them. I thing this has something to do with this method: > > method set_scroll_adjustments : > callback:(GData.adjustment option -> GData.adjustment option -> unit) > -> GtkSignal.id > > but I can't figure out how to use it. Anyone have a clue how to do > this? Not this one: it is inteded to react to the addition of an adjustment. If you want just to connect adjustment, this is simpler than that, but we would need to know what you want to connect it to. As a first step, you could try "grep adjustment examples/*.ml" There are quite a number of examples there. Jacques