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

search for in the

newt_centered_window> <newt_button_bar
Last updated: Fri, 22 Aug 2008

view this page in

newt_button

(PECL newt:0.1-1.1)

newt_buttonCreate a new button

Description

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

Creates a new button.

Parameters

left

X-coordinate of the button.

top

Y-coordinate of the button.

text

The text which should be displayed in the button.

Return Values

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

Examples

Example #1 A newt_button() example

<?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, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites