<HTML ><HEAD ><TITLE >ncurses_slk_init</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Ncurses terminal screen control functions" HREF="ref.ncurses.html"><LINK REL="PREVIOUS" TITLE="ncurses_slk_color" HREF="function.ncurses-slk-color.html"><LINK REL="NEXT" TITLE="ncurses_slk_noutrefresh" HREF="function.ncurses-slk-noutrefresh.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.ncurses-slk-color.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.ncurses-slk-noutrefresh.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.ncurses-slk-init" ></A >ncurses_slk_init</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN63522" ></A ><P > (PHP 4 >= 4.1.0)</P >ncurses_slk_init -- Initializes soft label key functions</DIV ><DIV CLASS="refsect1" ><A NAME="AEN63525" ></A ><H2 >Description</H2 >bool <B CLASS="methodname" >ncurses_slk_init</B > ( int format)<BR ></BR ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Warning</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >This function is <SPAN CLASS="emphasis" ><I CLASS="emphasis" >EXPERIMENTAL</I ></SPAN >. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.</P ></TD ></TR ></TABLE ></DIV ><P > Funtion <B CLASS="function" >ncurses_slk_init()</B > must be called before <B CLASS="function" >ncurses_initscr()</B > or <B CLASS="function" >ncurses_newterm()</B > is called. If <B CLASS="function" >ncurses_initscr()</B > eventually uses a line from stdscr to emulate the soft labels, then <TT CLASS="parameter" ><I >format</I ></TT > determines how the labels are arranged of the screen. Setting <TT CLASS="parameter" ><I >format</I ></TT > to 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. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.ncurses-slk-color.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.ncurses-slk-noutrefresh.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >ncurses_slk_color</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.ncurses.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >ncurses_slk_noutrefresh</TD ></TR ></TABLE ></DIV ></BODY ></HTML >