English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
lablgtk2 : connecting scroll bar adjustments to a view widget.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-03-28 (07:21)
From: Erik de Castro Lopo <ocaml-erikd@m...>
Subject: lablgtk2 : connecting scroll bar adjustments to a view widget.
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