org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-AD589188-128C-4A48-B25C-BF0B4D9923C8.html
changeset 229 716254ccbcc0
equal deleted inserted replaced
228:913c9751c067 229:716254ccbcc0
       
     1 
       
     2 <!DOCTYPE html
       
     3   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="clear()"/><meta name="DC.Relation" scheme="URI" content="GUID-9FE7E588-7621-4067-9BEC-4F59855BB42F"/><meta name="DC.Relation" scheme="URI" content="GUID-876B67CB-99C0-4925-A51C-646EA5F867B6"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-857CF71D-3398-40C2-981A-DEC428A7BA6B"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-AD589188-128C-4A48-B25C-BF0B4D9923C8"/><title>clear() </title><script type="text/javascript">
       
     5       function initPage() {}
       
     6     </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-AD589188-128C-4A48-B25C-BF0B4D9923C8">clear()</h1><div>
       
     7 <p><strong>Description:</strong></p>
       
     8 <p>Call the <code>clear</code> method to delete all the menu items
       
     9 in the options menu pane. This operation will also clear all submenus if such
       
    10 exist.</p>
       
    11 <p>For more general information on using an options menu in your widget,
       
    12 see <a href="GUID-94946735-D23B-49C6-BB65-8BE31737AE42.html#GUID-94946735-D23B-49C6-BB65-8BE31737AE42">Using softkeys</a>.</p>
       
    13 <p><strong>Syntax:</strong></p>
       
    14 <pre class="codeblock" id="GUID-695A96D2-3B94-4725-8815-A473FB5952ED">[void] window.menu.clear(void) </pre>
       
    15 <p>or</p>
       
    16 <pre class="codeblock" id="GUID-FB2F9D53-C8CF-4C9E-9255-B3B6C9ED2FCE">[void] menu.clear(void)</pre>
       
    17 <p><strong>Arguments:</strong></p>
       
    18 <p>This method takes no arguments.</p>
       
    19 <p><strong>Return value:</strong></p>
       
    20 <p>This method does not return a value.</p>
       
    21 </div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>