plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-CE03834C-A275-458D-8FD3-086A472C28E2.html
changeset 470 d4809db37847
parent 229 716254ccbcc0
equal deleted inserted replaced
469:4d198a32ac7d 470:d4809db37847
       
     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="remove()"/><meta name="DC.Relation" scheme="URI" content="GUID-860D488F-98AA-4EF2-BDEC-8400A642CBD6"/><meta name="DC.Relation" scheme="URI" content="GUID-704CF29C-1FDC-4192-9338-C8B9B926111C"/><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-CE03834C-A275-458D-8FD3-086A472C28E2"/><title>remove() </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-CE03834C-A275-458D-8FD3-086A472C28E2">remove()</h1><div>
       
     7 <p><strong>Description:</strong></p>
       
     8 <p>Call the <code>remove</code> method to remove a menu item from
       
     9 the top level of the options menu list. If the removed menu item has a cascading
       
    10 submenu in it, the submenu will also be removed.</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-7F4A00F1-C376-4380-909B-671E4F256552">[void] window.menu.remove(<a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D">MenuItem</a> menuItem) </pre>
       
    15 <p>or</p>
       
    16 <pre class="codeblock" id="GUID-B08EB0D4-C12E-4992-81E0-583C751212DB">[void] menu.remove(<a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D">MenuItem</a> menuItem)</pre>
       
    17 <p><strong>Arguments:</strong></p>
       
    18 <ul>
       
    19 <li><p><code>menuItem</code>:</p>
       
    20 
       
    21 <p>This is an instance of the <a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D"><code>MenuItem</code></a> object
       
    22 which is being removed from the top level of the options menu list.</p>
       
    23 
       
    24 </li>
       
    25 </ul>
       
    26 <p><strong>Return value:</strong></p>
       
    27 <p>This method does not return a value.</p>
       
    28 <p><strong>Remarks:</strong></p>
       
    29 <p>Menu items in a cascading submenu list are removed using the <a href="GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D.html#GUID-111DE423-9C84-4E4B-A45E-15081FE2A30D"><code>MenuItem</code></a> object's method. See the description of the <a href="GUID-E869B263-7EBF-4590-890B-563871C438C6.html#GUID-E869B263-7EBF-4590-890B-563871C438C6"><code>MenuItem.remove</code></a> method.</p>
       
    30 <p><strong>Example code:</strong></p>
       
    31 <p>See the example code in the description of the <a href="GUID-A022ED1B-E618-4C44-A437-78393900599C.html#GUID-A022ED1B-E618-4C44-A437-78393900599C"><code>MenuItem.onSelect</code></a> property.</p>
       
    32 </div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>