newt_wait_for_key

(PECL newt >= 0.1) Doesn't return until a key has been pressed void newt_wait_for_key ( void ) This function doesn't return until a key has been pressed. The keystroke is then ignored. If a key is already in the terminal's buffer, this function discards a keystroke and returns immediately. Returns: No value is returned. See also

newt_vertical_scrollbar

(PECL newt >= 0.1) resource newt_vertical_scrollbar ( int $left, int $top, int $height [, int $normal_colorset [, int $thumb_colorset ]] ) Parameters: left top height normal_colorset thumb_colorset Returns:

newt_textbox

(PECL newt >= 0.1) resource newt_textbox ( int $left, int $top, int $width, int $height [, int $flags ] ) Parameters: left top width height flags Returns: This function is currently not documented

newt_textbox_set_text

(PECL newt >= 0.1) void newt_textbox_set_text ( resource $textbox, string $text ) Parameters: textbox text Returns: No value is returned. This function is currently not documented; only its argument list is available.

newt_textbox_set_height

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

newt_textbox_reflowed

(PECL newt >= 0.1) resource newt_textbox_reflowed ( int $left, int $top, char $*text, int $width, int $flex_down, int $flex_up [, int $flags ] ) Parameters: left top *text width flex_down flex_up fla

newt_textbox_get_num_lines

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

newt_suspend

(PECL newt >= 0.1) Tells newt to return the terminal to its initial state void newt_suspend ( void ) Tells newt to return the terminal to its initial state. Once this is done, the application can suspend itself (by sending itself a SIGTSTP, fork a child program, or do whatever else it likes). Returns: No value is returned. See a

newt_set_suspend_callback

(PECL newt >= 0.1) Set a callback function which gets invoked when user presses the suspend key void newt_set_suspend_callback ( callable $function, mixed $data ) Set a callback function which gets invoked when user presses the suspend key (normally ^Z). If no suspend callback is registered, the suspend keystroke is ignored. Parameters: function A callback function, w

newt_set_help_callback

(PECL newt >= 0.1) void newt_set_help_callback ( mixed $function ) Parameters: function Returns: No value is returned. This function is currently not documented; only its argument list is available.