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

search for in the

newt_centered_window> <newt_button_bar
Last updated: Fri, 13 Nov 2009

view this page in

newt_button

(PECL newt >= 0.1)

newt_button新しいボタンを作成する

説明

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

新しいボタンを作成します。

パラメータ

left

ボタンの X 座標。

top

ボタンの Y 座標。

text

ボタンに表示するテキスト。

返り値

作成したボタンコンポーネントへのリソースリンク、あるいはエラー時に FALSE を返します。

例1 newt_button() の例

<?php

$form 
newt_form();

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

?>

参考



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

newt_centered_window> <newt_button_bar
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites