From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id CCB4EBBBB for ; Tue, 28 Mar 2006 09:21:42 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k2S7LgU4001761 for ; Tue, 28 Mar 2006 09:21:42 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA26928 for ; Tue, 28 Mar 2006 09:21:38 +0200 (MET DST) Received: from smtp2.syd.swiftdsl.com.au (smtp2.syd.swiftdsl.com.au [218.214.225.98]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id k2S7LX9A003102 for ; Tue, 28 Mar 2006 09:21:37 +0200 Received: (qmail 8185 invoked from network); 28 Mar 2006 07:21:44 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp2.syd.swiftdsl.com.au with SMTP; 28 Mar 2006 07:21:44 -0000 Received: from coltrane (localhost [127.0.0.1]) by coltrane.mega-nerd.net (Postfix) with SMTP id 409C17B6E for ; Tue, 28 Mar 2006 17:21:32 +1000 (EST) Date: Tue, 28 Mar 2006 17:21:32 +1000 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: lablgtk2 : connecting scroll bar adjustments to a view widget. Message-Id: <20060328172132.77f5db6a.ocaml-erikd@mega-nerd.com> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4428E406.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4428E3FD.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; lablgtk:01 widget:01 lablgtk:01 gtksignal:01 gpl:01 pair:01 callback:02 objects:02 gnu:02 unit:03 erik:04 erik:04 distributed:05 i'd:05 tia:06 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 HI all, I posted this to the lablgtk list but received no reply. I'm hoping someone here might be able to answer this. I have a pair of view objects and I'd like to connect a GData.adjustment to them. I think 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? TIA, Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "Attacks by Microsoft Chairman Bill Gates on the GNU General Public License, under which much open source and free software is distributed, have been driven by a fear that the GPL creates a domain of software that Microsoft cannot privatize and control" -- Richard Stallman