(PECL newt >= 0.1)
newt_form_add_components — Add several components to the form
Adds several components to the form.
Form to which components will be added
Array of components to add to the form
No value is returned.
Example #1 A newt_form_add_components() example
$form = newt_form();
$b1 = newt_button(5, 12, "Run Tool");
$b2 = newt_button(21, 12, "Quit");
newt_form_add_components($form, array($b1, $b2));