lablgtk3

OCaml interface to GTK+3
IN THIS PACKAGE
Module Glib . Io
type channel
type condition = [
| `ERR
| `HUP
| `IN
| `NVAL
| `OUT
| `PRI
]
type id
val channel_of_descr : Unix.file_descr -> channel
val add_watch : cond:condition list -> callback:( condition list -> bool ) -> ?prio:int -> channel -> id
val remove : id -> unit
val read : channel -> buf:bytes -> pos:int -> len:int -> int
val read_chars : channel -> buf:bytes -> pos:int -> len:int -> int