Newt Functions
Newt
&reftitle.intro;
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.
&reftitle.required;
This module uses the functions of the RedHat Newt library.
You need libnewt version >= 0.51.0.
&reference.newt.configure;
&reftitle.resources;
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)
&reference.newt.constants;
&reftitle.examples;
This example is a PHP port of RedHat 'setup' utility dialog, executed in text
mode.
Newt Usage Example
]]>
&reference.newt.functions;