downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

newt_centered_window> <newt_button_bar
[edit] Last updated: Fri, 24 May 2013

view this page in

newt_button

(PECL newt >= 0.1)

newt_buttonCrear 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

Ejemplo #1 Ejemplo de newt_button()

<?php

$form 
newt_form();

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

?>

Ver también

  • newt_button_bar() - Esta función devuelve una tabla que contiene los botones creados



add a note add a note User Contributed Notes newt_button - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites