Ocamlnet 3 Reference Manual : Uq_gtk

# Module Uq_gtk

    module Uq_gtk: sig .. end

Integration with lablgtk/lablgtk2 event systems

Integration with lablgtk/lablgtk2 event systems
This module provides integration of Unixqueue event systems with the Glib event queue (and, as a consequence, with the lablgtk event queue).

There are two flavours of this module, both named `Uq_gtk`, and with identical interfaces, but one is used with lablgtk, and one with lablgtk2. Compile with

     ocamlfind ... -package equeue-gtk1 ...

to get the variant for lablgtk, and compile with

     ocamlfind ... -package equeue-gtk2 ...

to get the variant for lablgtk2.

    type runner = Unixqueue.event_system -> (unit -> unit) -> unit

    class gtk_event_system : ?run:runner -> unit -> Unixqueue.event_system

This class is an alternate implementation of the Unixqueue event systems for the Glib event loop.