Home > PHP > Function > Ncurses > ncurses_slk_init()

ncurses_slk_init()

ncurses_slk_init - Initializes soft label key functions

Syntax

bool ncurses_slk_init (int $format)

Arguments

  • format - If ncurses_init() eventually uses a line from stdscr to emulate the soft labels, then this parameter determines how the labels are arranged of the screen. 0 indicates a 3-2-3 arrangement of the labels, 1 indicates a 4-4 arrangement and 2 indicates the PC like 4-4-4 mode, but in addition an index line will be created.

Description

Initializes soft label key functions

Version

PHP 4.0.7, 5 < 5.3.0, PECL ncurses >= 1.0.0

Return value

Returns TRUE on success or FALSE on failure.