<!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>Initialize newt</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-grid-wrapped-window.html">newt_grid_wrapped_window</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-label-set-text.html">newt_label_set_text</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.newt-init" class="refentry"> <div class="refnamediv"> <h1 class="refname">newt_init</h1> <p class="verinfo">(PECL newt >= 0.1)</p><p class="refpurpose"><span class="refname">newt_init</span> — <span class="dc-title">Initialize newt</span></p> </div> <div class="refsect1 description" id="refsect1-function.newt-init-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><strong>newt_init</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Initializes the newt interface. This function must be called before any other newt function. </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.newt-init-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns 1 on success, 0 on failure. </p> </div> <div class="refsect1 seealso" id="refsect1-function.newt-init-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.newt-finished.html" class="function" rel="rdfs-seeAlso">newt_finished()</a> - Uninitializes newt interface</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-grid-wrapped-window.html">newt_grid_wrapped_window</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-label-set-text.html">newt_label_set_text</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>