<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year><year>2021</year>
    <holder>wxWidgets team.</holder></copyright>
  <legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
  </legalnotice>
  <title>wxMenu</title>
</header>
<module>wxMenu</module>
<modulesummary>Functions for wxMenu class</modulesummary>
<description><p>A menu is a popup (or pull down) list of items, one of which may be selected before the menu goes away (clicking elsewhere dismisses the menu). Menus may be used to construct either menu bars or popup menus.
      </p><p>A menu item has an integer ID associated with it which can be used to identify the selection, or to change the menu item in some way. A menu item with a special identifier <c>wxID_SEPARATOR</c> is a separator item and doesn't have an associated command but just makes a separator line appear in the menu.
      </p><p>Note: Please note that <c>wxID_ABOUT</c> and <c>wxID_EXIT</c> are predefined by wxWidgets and have a special meaning since entries using these IDs will be taken out of the normal menus under macOS and will be inserted into the system menu (following the appropriate macOS interface guideline).
      </p><p> Menu items may be either <c>normal</c> items, <c>check</c> items or <c>radio</c> items. Normal items don't have any special properties while the check items have a boolean flag associated to them and they show a checkmark in the menu when the flag is set. wxWidgets automatically toggles the flag value when the item is clicked and its value may be retrieved using either <seemfa marker="#isChecked/2"><c>isChecked/2</c></seemfa> method of <seeerl marker="wxMenu"><c>wxMenu</c></seeerl> or <seeerl marker="wxMenuBar"><c>wxMenuBar</c></seeerl> itself or by using wxEvent::IsChecked when you get the menu notification for the item in question.
      </p><p>The radio items are similar to the check items except that all the other items in the same radio group are unchecked when a radio item is checked. The radio group is formed by a contiguous range of radio items, i.e. it starts at the first item of this kind and ends with the first item of a different kind (or the end of the menu). Notice that because the radio groups are defined in terms of the item positions inserting or removing the items in the menu containing the radio items risks to not work correctly.
      </p><p>Allocation strategy</p> <p>All menus must be created on the <c>heap</c> because all menus attached to a menubar or to another menu will be deleted by their parent when it is deleted. The only exception to this rule are the popup menus (i.e. menus used with <seemfa marker="wxWindow#popupMenu/4"><c>wxWindow:popupMenu/4</c></seemfa>) as wxWidgets does not destroy them to allow reusing the same menu more than once. But the exception applies only to the menus themselves and not to any submenus of popup menus which are still destroyed by wxWidgets as usual and so must be heap-allocated.
      </p> <p>As the frame menubar is deleted by the frame itself, it means that normally all menus used are deleted automatically.
      </p><p>Event handling</p> <p>Event handlers for the commands generated by the menu items can be connected directly to the menu object itself using <c>wxEvtHandler::Bind()</c> (not implemented in wx). If this menu is a submenu of another one, the events from its items can also be processed in the parent menu and so on, recursively.
      </p> <p>If the menu is part of a menu bar, then events can also be handled in <seeerl marker="wxMenuBar"><c>wxMenuBar</c></seeerl> object.
      </p> <p>Finally, menu events can also be handled in the associated window, which is either the <seeerl marker="wxFrame"><c>wxFrame</c></seeerl> associated with the menu bar this menu belongs to or the window for which <seemfa marker="wxWindow#popupMenu/4"><c>wxWindow:popupMenu/4</c></seemfa> was called for the popup menus.
      </p> <p>See overview_events_bind for how to bind event handlers to the various objects.
      </p>  <p>See: <seeerl marker="wxMenuBar"><c>wxMenuBar</c></seeerl>, <seemfa marker="wxWindow#popupMenu/4"><c>wxWindow:popupMenu/4</c></seemfa>, <url href="https://docs.wxwidgets.org/3.1/overview_events.html#overview_events">Overview events</url>, <c>wxFileHistory</c> (not implemented in wx)
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxEvtHandler"><c>wxEvtHandler</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_menu.html">wxMenu</url></p>
  </description>
<datatypes><datatype><name name="wxMenu"/></datatype></datatypes>

<funcs>
  <func>
    <name name="new" arity="0" clause_i="1" since=""/>
    <fsummary>Constructs a <c>wxMenu</c> object. </fsummary>
    <desc><p>Constructs a <seeerl marker="wxMenu"><c>wxMenu</c></seeerl> object. 
      </p></desc>
  </func>
  
  <func>
    <name name="new" arity="1" clause_i="1" since=""/>
    <fsummary>Constructs a <c>wxMenu</c> object. </fsummary>
    <desc><p>Constructs a <seeerl marker="wxMenu"><c>wxMenu</c></seeerl> object. 
      </p></desc>
  </func>
  
  <func>
    <name name="new" arity="2" clause_i="1" since=""/>
    <fsummary>Constructs a <c>wxMenu</c> object with a title. </fsummary>
    <desc><p>Constructs a <seeerl marker="wxMenu"><c>wxMenu</c></seeerl> object with a title. 
      </p></desc>
  </func>
  
  <func>
    <name name="destroy" arity="1" clause_i="1" since=""/>
    <fsummary>Destructor, destroying the menu. </fsummary>
    <desc><p>Destructor, destroying the menu. 
      </p><p>Note: Under Motif, a popup menu must have a valid parent (the window it was last popped up on) when being destroyed. Therefore, make sure you delete or re-use the popup menu <c>before</c> destroying the parent window. Re-use in this context means popping up the menu on a different window from last time, which causes an implicit destruction and recreation of internal data structures. 
      </p></desc>
  </func>
  
  <func>
    <name name="append" arity="2" clause_i="1" since=""/>
    <fsummary>Adds a menu item object. </fsummary>
    <desc><p>Adds a menu item object. 
      </p><p>This is the most generic variant of <seemfa marker="#append/5"><c>append/5</c></seemfa> method because it may be used for both items (including separators) and submenus and because you can also specify various extra properties of a menu item this way, such as bitmaps and fonts.
      </p><p>Remark: See the remarks for the other <seemfa marker="#append/5"><c>append/5</c></seemfa> overloads.
      </p><p>See: <seemfa marker="#appendSeparator/1"><c>appendSeparator/1</c></seemfa>, <seemfa marker="#appendCheckItem/4"><c>appendCheckItem/4</c></seemfa>, <seemfa marker="#appendRadioItem/4"><c>appendRadioItem/4</c></seemfa>, <c>AppendSubMenu()</c> (not implemented in wx), <seemfa marker="#insert/6"><c>insert/6</c></seemfa>, <seemfa marker="#setLabel/3"><c>setLabel/3</c></seemfa>, <seemfa marker="#getHelpString/2"><c>getHelpString/2</c></seemfa>, <seemfa marker="#setHelpString/3"><c>setHelpString/3</c></seemfa>, <seeerl marker="wxMenuItem"><c>wxMenuItem</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="append" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>append/4</c></fsummary>
  </func>
  
  <func>
    <name name="append" arity="4" clause_i="1" since=""/>
  
    <name name="append" arity="4" clause_i="2" since=""/>
    <fsummary>Adds a menu item. </fsummary>
    <desc><p>Adds a menu item. 
      </p><p> Example: 
      </p><p> or even better for stock menu items (see <seemfa marker="wxMenuItem#new/1"><c>wxMenuItem:new/1</c></seemfa>): 
      </p><p>Remark: This command can be used after the menu has been shown, as well as on initial creation of a menu or menubar.
      </p><p>See: <seemfa marker="#appendSeparator/1"><c>appendSeparator/1</c></seemfa>, <seemfa marker="#appendCheckItem/4"><c>appendCheckItem/4</c></seemfa>, <seemfa marker="#appendRadioItem/4"><c>appendRadioItem/4</c></seemfa>, <c>AppendSubMenu()</c> (not implemented in wx), <seemfa marker="#insert/6"><c>insert/6</c></seemfa>, <seemfa marker="#setLabel/3"><c>setLabel/3</c></seemfa>, <seemfa marker="#getHelpString/2"><c>getHelpString/2</c></seemfa>, <seemfa marker="#setHelpString/3"><c>setHelpString/3</c></seemfa>, <seeerl marker="wxMenuItem"><c>wxMenuItem</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="append" arity="5" clause_i="1" since=""/>
    <fsummary>Adds a submenu. </fsummary>
    <desc><p>Adds a submenu. 
      </p><p>Deprecated: This function is deprecated, use <c>AppendSubMenu()</c> (not implemented in wx) instead.
      
      </p><p>See: <seemfa marker="#appendSeparator/1"><c>appendSeparator/1</c></seemfa>, <seemfa marker="#appendCheckItem/4"><c>appendCheckItem/4</c></seemfa>, <seemfa marker="#appendRadioItem/4"><c>appendRadioItem/4</c></seemfa>, <c>AppendSubMenu()</c> (not implemented in wx), <seemfa marker="#insert/6"><c>insert/6</c></seemfa>, <seemfa marker="#setLabel/3"><c>setLabel/3</c></seemfa>, <seemfa marker="#getHelpString/2"><c>getHelpString/2</c></seemfa>, <seemfa marker="#setHelpString/3"><c>setHelpString/3</c></seemfa>, <seeerl marker="wxMenuItem"><c>wxMenuItem</c></seeerl>
      </p></desc>
  </func>
  
  <func>
    <name name="appendCheckItem" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>appendCheckItem/4</c></fsummary>
  </func>
  
  <func>
    <name name="appendCheckItem" arity="4" clause_i="1" since=""/>
    <fsummary>Adds a checkable item to the end of the menu. </fsummary>
    <desc><p>Adds a checkable item to the end of the menu. 
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#insertCheckItem/5"><c>insertCheckItem/5</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="appendRadioItem" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>appendRadioItem/4</c></fsummary>
  </func>
  
  <func>
    <name name="appendRadioItem" arity="4" clause_i="1" since=""/>
    <fsummary>Adds a radio item to the end of the menu. </fsummary>
    <desc><p>Adds a radio item to the end of the menu. 
      </p><p>All consequent radio items form a group and when an item in the group is checked, all the others are automatically unchecked.
      </p><p>Note: Radio items are not supported under wxMotif.
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#insertRadioItem/5"><c>insertRadioItem/5</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="appendSeparator" arity="1" clause_i="1" since=""/>
    <fsummary>Adds a separator to the end of the menu. </fsummary>
    <desc><p>Adds a separator to the end of the menu. 
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#insertSeparator/2"><c>insertSeparator/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="break" arity="1" clause_i="1" since=""/>
    <fsummary>Inserts a break in a menu, causing the next appended item to appear in a new column. </fsummary>
    <desc><p>Inserts a break in a menu, causing the next appended item to appear in a new column. 
      </p><p>This function only actually inserts a break in wxMSW and does nothing under the other platforms. 
      </p></desc>
  </func>
  
  <func>
    <name name="check" arity="3" clause_i="1" since=""/>
    <fsummary>Checks or unchecks the menu item. </fsummary>
    <desc><p>Checks or unchecks the menu item. 
      </p><p>See: <seemfa marker="#isChecked/2"><c>isChecked/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="delete" arity="2" clause_i="1" since=""/>
  
    <name name="delete" arity="2" clause_i="2" since=""/>
    <fsummary>Deletes the menu item from the menu. </fsummary>
    <desc><p>Deletes the menu item from the menu. 
      </p><p>If the item is a submenu, it will <c>not</c> be deleted. Use <seemfa marker="#'Destroy'/2"><c>'Destroy'/2</c></seemfa> if you want to delete a submenu.
      </p><p>See: <seemfa marker="#findItem/2"><c>findItem/2</c></seemfa>, <seemfa marker="#'Destroy'/2"><c>'Destroy'/2</c></seemfa>, <seemfa marker="#remove/2"><c>remove/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="'Destroy'" arity="2" clause_i="1" since=""/>
  
    <name name="'Destroy'" arity="2" clause_i="2" since=""/>
    <fsummary>Deletes the menu item from the menu. </fsummary>
    <desc><p>Deletes the menu item from the menu. 
      </p><p>If the item is a submenu, it will be deleted. Use <seemfa marker="#remove/2"><c>remove/2</c></seemfa> if you want to keep the submenu (for example, to reuse it later).
      </p><p>See: <seemfa marker="#findItem/2"><c>findItem/2</c></seemfa>, <seemfa marker="#delete/2"><c>delete/2</c></seemfa>, <seemfa marker="#remove/2"><c>remove/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="enable" arity="3" clause_i="1" since=""/>
    <fsummary>Enables or disables (greys out) a menu item. </fsummary>
    <desc><p>Enables or disables (greys out) a menu item. 
      </p><p>See: <seemfa marker="#isEnabled/2"><c>isEnabled/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="findItem" arity="2" clause_i="1" since=""/>
  
    <name name="findItem" arity="2" clause_i="2" since=""/>
    <fsummary>Finds the menu id for a menu item string. </fsummary>
    <desc><p>Finds the menu id for a menu item string. 
      </p><p>Return: Menu item identifier, or wxNOT_FOUND if none is found.
      </p><p>Remark: Any special menu codes are stripped out of source and target strings before matching. 
      </p></desc>
  </func>
  
  <func>
    <name name="findItemByPosition" arity="2" clause_i="1" since=""/>
    <fsummary>Returns the <c>wxMenuItem</c> given a position in the menu. </fsummary>
    <desc><p>Returns the <seeerl marker="wxMenuItem"><c>wxMenuItem</c></seeerl> given a position in the menu. 
      </p></desc>
  </func>
  
  <func>
    <name name="getHelpString" arity="2" clause_i="1" since=""/>
    <fsummary>Returns the help string associated with a menu item. </fsummary>
    <desc><p>Returns the help string associated with a menu item. 
      </p><p>Return: The help string, or the empty string if there is no help string or the item was not found.
      </p><p>See: <seemfa marker="#setHelpString/3"><c>setHelpString/3</c></seemfa>, <seemfa marker="#append/5"><c>append/5</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getLabel" arity="2" clause_i="1" since=""/>
    <fsummary>Returns a menu item label. </fsummary>
    <desc><p>Returns a menu item label. 
      </p><p>Return: The item label, or the empty string if the item was not found.
      </p><p>See: <c>GetLabelText()</c> (not implemented in wx), <seemfa marker="#setLabel/3"><c>setLabel/3</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="getMenuItemCount" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the number of items in the menu. </fsummary>
    <desc><p>Returns the number of items in the menu. 
      </p></desc>
  </func>
  
  <func>
    <name name="getMenuItems" arity="1" clause_i="1" since=""/>
    <fsummary/>
    <desc/>
  </func>
  
  <func>
    <name name="getTitle" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the title of the menu. </fsummary>
    <desc><p>Returns the title of the menu. 
      </p><p>See: <seemfa marker="#setTitle/2"><c>setTitle/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="insert" arity="3" clause_i="1" since=""/>
  
    <name name="insert" arity="3" clause_i="2" since=""/>
    <fsummary>Inserts the given <c>item</c> before the position <c>pos</c>. </fsummary>
    <desc><p>Inserts the given <c>item</c> before the position <c>pos</c>. 
      </p><p>Inserting the item at position <seemfa marker="#getMenuItemCount/1"><c>getMenuItemCount/1</c></seemfa> is the same as appending it.
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#prepend/5"><c>prepend/5</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="insert" arity="4" clause_i="1" since=""/>
    <fsummary>Inserts the given <c>item</c> before the position <c>pos</c>. </fsummary>
    <desc><p>Inserts the given <c>item</c> before the position <c>pos</c>. 
      </p><p>Inserting the item at position <seemfa marker="#getMenuItemCount/1"><c>getMenuItemCount/1</c></seemfa> is the same as appending it.
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#prepend/5"><c>prepend/5</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="insert" arity="5" clause_i="1" since=""/>
    <fsummary>See: <c>insert/6</c></fsummary>
  </func>
  
  <func>
    <name name="insert" arity="6" clause_i="1" since=""/>
    <fsummary>Inserts the given <c>submenu</c> before the position <c>pos</c>. </fsummary>
    <desc><p>Inserts the given <c>submenu</c> before the position <c>pos</c>. 
      </p><p><c>text</c> is the text shown in the menu for it and <c>help</c> is the help string shown in the status bar when the submenu item is selected.
      </p><p>See: <c>AppendSubMenu()</c> (not implemented in wx), <seemfa marker="#prepend/5"><c>prepend/5</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="insertCheckItem" arity="4" clause_i="1" since=""/>
    <fsummary>See: <c>insertCheckItem/5</c></fsummary>
  </func>
  
  <func>
    <name name="insertCheckItem" arity="5" clause_i="1" since=""/>
    <fsummary>Inserts a checkable item at the given position. </fsummary>
    <desc><p>Inserts a checkable item at the given position. 
      </p><p>See: <seemfa marker="#insert/6"><c>insert/6</c></seemfa>, <seemfa marker="#appendCheckItem/4"><c>appendCheckItem/4</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="insertRadioItem" arity="4" clause_i="1" since=""/>
    <fsummary>See: <c>insertRadioItem/5</c></fsummary>
  </func>
  
  <func>
    <name name="insertRadioItem" arity="5" clause_i="1" since=""/>
    <fsummary>Inserts a radio item at the given position. </fsummary>
    <desc><p>Inserts a radio item at the given position. 
      </p><p>See: <seemfa marker="#insert/6"><c>insert/6</c></seemfa>, <seemfa marker="#appendRadioItem/4"><c>appendRadioItem/4</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="insertSeparator" arity="2" clause_i="1" since=""/>
    <fsummary>Inserts a separator at the given position. </fsummary>
    <desc><p>Inserts a separator at the given position. 
      </p><p>See: <seemfa marker="#insert/6"><c>insert/6</c></seemfa>, <seemfa marker="#appendSeparator/1"><c>appendSeparator/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="isChecked" arity="2" clause_i="1" since=""/>
    <fsummary>Determines whether a menu item is checked. </fsummary>
    <desc><p>Determines whether a menu item is checked. 
      </p><p>Return: true if the menu item is checked, false otherwise.
      </p><p>See: <seemfa marker="#check/3"><c>check/3</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="isEnabled" arity="2" clause_i="1" since=""/>
    <fsummary>Determines whether a menu item is enabled. </fsummary>
    <desc><p>Determines whether a menu item is enabled. 
      </p><p>Return: true if the menu item is enabled, false otherwise.
      </p><p>See: <seemfa marker="#enable/3"><c>enable/3</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="prepend" arity="2" clause_i="1" since=""/>
  
    <name name="prepend" arity="2" clause_i="2" since=""/>
    <fsummary>Inserts the given <c>item</c> at position 0, i.e. before all the other existing items. </fsummary>
    <desc><p>Inserts the given <c>item</c> at position 0, i.e. before all the other existing items. 
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#insert/6"><c>insert/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="prepend" arity="3" clause_i="1" since=""/>
    <fsummary>Inserts the given <c>item</c> at position 0, i.e. before all the other existing items. </fsummary>
    <desc><p>Inserts the given <c>item</c> at position 0, i.e. before all the other existing items. 
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#insert/6"><c>insert/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="prepend" arity="4" clause_i="1" since=""/>
    <fsummary>See: <c>prepend/5</c></fsummary>
  </func>
  
  <func>
    <name name="prepend" arity="5" clause_i="1" since=""/>
    <fsummary>Inserts the given <c>submenu</c> at position 0. </fsummary>
    <desc><p>Inserts the given <c>submenu</c> at position 0. 
      </p><p>See: <c>AppendSubMenu()</c> (not implemented in wx), <seemfa marker="#insert/6"><c>insert/6</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="prependCheckItem" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>prependCheckItem/4</c></fsummary>
  </func>
  
  <func>
    <name name="prependCheckItem" arity="4" clause_i="1" since=""/>
    <fsummary>Inserts a checkable item at position 0. </fsummary>
    <desc><p>Inserts a checkable item at position 0. 
      </p><p>See: <seemfa marker="#prepend/5"><c>prepend/5</c></seemfa>, <seemfa marker="#appendCheckItem/4"><c>appendCheckItem/4</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="prependRadioItem" arity="3" clause_i="1" since=""/>
    <fsummary>See: <c>prependRadioItem/4</c></fsummary>
  </func>
  
  <func>
    <name name="prependRadioItem" arity="4" clause_i="1" since=""/>
    <fsummary>Inserts a radio item at position 0. </fsummary>
    <desc><p>Inserts a radio item at position 0. 
      </p><p>See: <seemfa marker="#prepend/5"><c>prepend/5</c></seemfa>, <seemfa marker="#appendRadioItem/4"><c>appendRadioItem/4</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="prependSeparator" arity="1" clause_i="1" since=""/>
    <fsummary>Inserts a separator at position 0. </fsummary>
    <desc><p>Inserts a separator at position 0. 
      </p><p>See: <seemfa marker="#prepend/5"><c>prepend/5</c></seemfa>, <seemfa marker="#appendSeparator/1"><c>appendSeparator/1</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="remove" arity="2" clause_i="1" since=""/>
  
    <name name="remove" arity="2" clause_i="2" since=""/>
    <fsummary>Removes the menu item from the menu but doesn't delete the associated C++ object. </fsummary>
    <desc><p>Removes the menu item from the menu but doesn't delete the associated C++ object. 
      </p><p>This allows you to reuse the same item later by adding it back to the menu (especially useful with submenus).
      </p><p>Return: A pointer to the item which was detached from the menu. 
      </p></desc>
  </func>
  
  <func>
    <name name="setHelpString" arity="3" clause_i="1" since=""/>
    <fsummary>Sets an item's help string. </fsummary>
    <desc><p>Sets an item's help string. 
      </p><p>See: <seemfa marker="#getHelpString/2"><c>getHelpString/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setLabel" arity="3" clause_i="1" since=""/>
    <fsummary>Sets the label of a menu item. </fsummary>
    <desc><p>Sets the label of a menu item. 
      </p><p>See: <seemfa marker="#append/5"><c>append/5</c></seemfa>, <seemfa marker="#getLabel/2"><c>getLabel/2</c></seemfa>
      </p></desc>
  </func>
  
  <func>
    <name name="setTitle" arity="2" clause_i="1" since=""/>
    <fsummary>Sets the title of the menu. </fsummary>
    <desc><p>Sets the title of the menu. 
      </p><p>Remark: Notice that you can only call this method directly for the popup menus, to change the title of a menu that is part of a menu bar you need to use <seemfa marker="wxMenuBar#setLabelTop/3"><c>wxMenuBar:setLabelTop/3</c></seemfa>.
      </p><p>See: <seemfa marker="#getTitle/1"><c>getTitle/1</c></seemfa>
      </p></desc>
  </func>
  </funcs>
</erlref>
