Query: newt_button
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NEWT_BUTTON(3) 1 NEWT_BUTTON(3) newt_button - Create a new buttonSYNOPSISresource newt_button (int $left, int $top, string $text)DESCRIPTIONCreates a new button.PARAMETERSo $left - X-coordinate of the button. o $top - Y-coordinate of the button. o $text - The text which should be displayed in the button.RETURN VALUESReturns a resource link to the created button component, or FALSE on error.EXAMPLESExample #1 A newt_button(3) example <?php $form = newt_form(); $ok_button = newt_button(5, 12, "Run Tool"); newt_form_add_component($form, $ok_button); ?>SEE ALSOnewt_button_bar(3). PHP Documentation Group NEWT_BUTTON(3)