uTools-Manuals/docs/php/ncurses_slk_init.html
2019-04-28 19:00:34 +08:00

68 lines
2.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Initializes soft label key functions</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.ncurses-slk-init" class="refentry">
<div class="refnamediv">
<h1 class="refname">ncurses_slk_init</h1>
<p class="verinfo">(PHP 4 &gt;= 4.0.7, PHP 5 &lt; 5.3.0, PECL ncurses &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">ncurses_slk_init</span> &mdash; <span class="dc-title">Initializes soft label key functions</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.ncurses-slk-init-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>ncurses_slk_init</strong></span>
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$format</code></span>
) : <span class="type">bool</span></div>
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象,包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
<p class="para">
Initializes soft label key functions
</p>
<p class="para">
This function must be called before <span class="function"><a href="ncurses_init.html" class="function">ncurses_init()</a></span>
or <span class="function"><a href="ncurses_newwin.html" class="function">ncurses_newwin()</a></span> is called.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.ncurses-slk-init-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">format</code></dt>
<dd>
<p class="para">
If <span class="function"><a href="ncurses_init.html" class="function">ncurses_init()</a></span> eventually uses a line from
stdscr to emulate the soft labels, then this parameter determines how
the labels are arranged of the screen.
</p>
<p class="para">
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>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.ncurses-slk-init-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
成功时返回 <strong><code>TRUE</code></strong> 或者在失败时返回 <strong><code>FALSE</code></strong>
</p>
</div>
</div></div></div></body></html>