This is a PHP language extension for RedHat Newt library, a terminal-based
window and widget library for writing applications with user friendly interface.
Once this extension is enabled in PHP it will provide the use of Newt
widgets, such as windows, buttons, checkboxes, radiobuttons, labels,
editboxes, scrolls, textareas, scales, etc. Use of this extension if very
similar to the original Newt API of C programming language.
This PECL extension
is not bundled with PHP.
Additional information such as new releases,
downloads, source files, maintainer information, and a CHANGELOG, can be
located here:
http://pecl.php.net/package/newt.
In PHP 4 this PECL extensions
source can be found in the ext/ directory within the
PHP source or at the PECL link above.
In order to use these functions you must compile CGI or CLI PHP with
newt support by using the --with-newt[=DIR]
configure option.
Note:
This extension is not available for Windows platform.
You may need also curses and slang
libraries, in order to compile this extension. To specify locations
of these libraries, use the following configuration options:
--with-curses-dir=/path/to/libcurses--with-slang-dir=/path/to/libslang
This extension uses two resource types: "newt component" and "newt grid".
Resource type "newt component" is returned by functions, which create
common newt widgets (for example: newt_button())
Resource type "newt grid" is a special link identifier for components,
returned by newt grid factory functions (for example: newt_create_grid())
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.