newt_form_add_components

(PECL newt >= 0.1) Add several components to the form void newt_form_add_components ( resource $form, array $components ) Adds several components to the form. Parameters: form Form to which components will be added components Array of components to add to the form Returns: No value is returned.

newt_form_add_component

(PECL newt >= 0.1) Adds a single component to the form void newt_form_add_component ( resource $form, resource $component ) Adds a single component to the form. Parameters: form Form to which component will be added component Component to add to the form Returns: No value is returned.

newt_form_run

(PECL newt >= 0.1) Runs a form void newt_form_run ( resource $form, array &$exit_struct ) This function runs the form passed to it. Parameters: form Form component exit_struct Array, used for returning information after running the form component. Keys and values are described in the following table: Form Exit Structure Index K

newt_entry_get_value

(PECL newt >= 0.1) string newt_entry_get_value ( resource $entry ) Parameters: entry Returns: This function is currently not documented; only its argument list is available.

newt_draw_root_text

(PECL newt >= 0.1) Displays the string text at the position indicated void newt_draw_root_text ( int $left, int $top, string $text ) Displays the string text at the position indicated. Parameters: left Column number Note: If left is negative, the position is measured from the opposite side of the screen. top Line number Note:

newt_entry_set_filter

(PECL newt >= 0.1) void newt_entry_set_filter ( resource $entry, callable $filter, mixed $data ) Parameters: entry filter data Returns: No value is returned. This function is currently not documented; only its argument list is available.

newt_finished

(PECL newt >= 0.1) Uninitializes newt interface int newt_finished ( void ) Uninitializes newt interface. This function be called, when program is ready to exit. Returns: Returns 1 on success, 0 on failure. See also: newt_init() -

newt_entry_set_flags

(PECL newt >= 0.1) void newt_entry_set_flags ( resource $entry, int $flags, int $sense ) Parameters: entry flags sense Returns: No value is returned. This function is currently not documented; only its argument list is available.

newt_entry

(PECL newt >= 0.1) resource newt_entry ( int $left, int $top, int $width [, string $init_value [, int $flags ]] ) Parameters: left top width init_value flags Returns: This function is currently no

newt_entry_set

(PECL newt >= 0.1) void newt_entry_set ( resource $entry, string $value [, bool $cursor_at_end ] ) Parameters: entry value cursor_at_end Returns: No value is returned. This function is currently not documented; only its argument list is available.