update : 2015.11.03
php.shukuma.com

검색:
 
 
Create a new button

newt_button

(PECL newt >= 0.1)

newt_buttonCreate a new button

설명

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

Creates a new button.

인수

left

X-coordinate of the button.

top

Y-coordinate of the button.

text

The text which should be displayed in the button.

반환값

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

예제

Example #1 A newt_button() example

<?php

$form 
newt_form();

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

?>

참고