newt_button
(PECL newt >= 0.1)
newt_button — Crear un nuevo botón
Descripción
resource newt_button
( int $left
, int $top
, string $text
)
Crea un nuevo botón.
Parámetros
- left
-
Coordenada X del botón.
- top
-
Coordenada Y del botón.
- text
-
El texto que debe mostrarse en el botón.
Valores devueltos
Devuelve un recurso enlace al componente del botón creado, o FALSE en caso de error.
Ejemplos
Example #1 Ejemplo de newt_button()
<?php
$form = newt_form();
$ok_button = newt_button(5, 12, "Run Tool");
newt_form_add_component($form, $ok_button);
?>
There are no user contributed notes for this page.
