Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > dad44546154bca1b8d774fc8de9b5818 > files > 11

ocaml-newt-0.9-4.mga3.i586.rpm

$Id: README,v 1.1 2008/03/07 15:19:45 rjones Exp $

These are OCaml bindings for the newt text window system.  The newt
tutorial describes newt as follows:

  The newt windowing system is a terminal-based window and widget
  library designed for writing applications with a simple, but
  user-friendly, interface. While newt is not intended to provide the
  rich feature set advanced applications may require, it has proven to
  be flexible enough for a wide range of applications (most notably, Red
  Hat's installation process).

These bindings are copyright (C) 2008 Red Hat Inc.

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2 of the License, or (at your option) any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

----------------------------------------------------------------------

Development
-----------

Use functions from the 'Newt' module.  There are plenty of examples in
the examples/ subdirectory and if you built documentation then it will
be in the html/ subdirectory.

Don't use functions from the 'Newt_int' module - that is for internal
use only.

Implementation
--------------

Camlidl is used to build a basic, unsafe binding for most of the
functions, in module 'Newt_int'.  See 'newt_int.idl'.

A few bindings are built by hand, in 'newt_int_stubs_by_hand.c'.

'Newt' module is a safe wrapper written in OCaml which provides
correct type, finalization and a few other things.  See 'newt.ml'.