(PECL)
Create a new form.
Vertical scrollbar which should be associated with the form
Help text string
Various flags
Resource link to the created form component.
Example 1. A newt_form() example
Displays a single button "Quit", which closes the application once it's pressed.
<?phpnewt_init();newt_cls();$myform = newt_form();$button = newt_button (5, 12, "Quit"); newt_form_add_component ($myform, $button);newt_refresh ();newt_run_form ($myform);newt_finished ();newt_form_destroy ($myform);?>