Class: MenuObject | Spider Monkey Panel

## MenuObject

`js/foo_spider_monkey_panel.js`, `line 3443`

### Methods

#### AppendMenuItem(flags, item_id, text)
`js/foo_spider_monkey_panel.js`, `line 3450`

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `flags` | number | See Flags.js > Used in AppendMenuItem()
  `item_id` | number | Integer greater than 0. Each menu item needs a unique id.
  `text` | string |

#### AppendMenuSeparator()
`js/foo_spider_monkey_panel.js`, `line 3453`

#### AppendTo(parent_menu, flags, text)
`js/foo_spider_monkey_panel.js`, `line 3460`

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `parent_menu` | MenuObject |
  `flags` | number | See Flags.js > Used in AppendMenuItem()
  `text` | string |

#### CheckMenuItem(item_id, check)
`js/foo_spider_monkey_panel.js`, `line 3466`

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `item_id` | number |
  `check` | boolean |

#### CheckMenuRadioItem(first_item_id, last_item_id, selected_item_id)
`js/foo_spider_monkey_panel.js`, `line 3473`

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `first_item_id` | number |
  `last_item_id` | number |
  `selected_item_id` | number |

#### TrackPopupMenu(x, y, flagsopt) → {number}
`js/foo_spider_monkey_panel.js`, `line 3481`

  ##### Parameters:

  Name | Type | Attributes | Default | Description
  --- | --- | --- | --- | ---
  `x` | number |  |  |
  `y` | number |  |  |
  `flags` | number | <optional> | 0 | See Flags.js > Used in TrackPopupMenu().

  ##### Returns:

  number