(PECL newt >= 0.1)
newt_button — Create a new button
Creates a new button.
X-coordinate of the button.
Y-coordinate of the button.
The text which should be displayed in the button.
Returns a resource link to the created button component, or FALSE on error.
Пример #1 A newt_button() example
<?php
$form = newt_form();
$ok_button = newt_button(5, 12, "Run Tool");
newt_form_add_component($form, $ok_button);
?>