PHP 5.6.0 released

newt_button

(PECL newt >= 0.1)

newt_buttonCreate a new button

Descrizione

resource newt_button ( int $left , int $top , string $text )

Creates a new button.

Elenco dei parametri

left

X-coordinate of the button.

top

Y-coordinate of the button.

text

The text which should be displayed in the button.

Valori restituiti

Returns a resource link to the created button component, or FALSE on error.

Esempi

Example #1 A newt_button() example

<?php

$form 
newt_form();

$ok_button newt_button(512"Run Tool");
    
newt_form_add_component($form$ok_button);

?>

Vedere anche:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top