## 27.6 Menu Entries

Class | Example | Reference
--- | --- | ---
`Tk.menuentry.cascade` | Section 5.4 of ``Window Programming in Mozart'' | `menu`
`Tk.menuentry.checkbutton` | Section 5.4 of ``Window Programming in Mozart'' | `menu`
`Tk.menuentry.command` | Section 5.4 of ``Window Programming in Mozart'' | `menu`
`Tk.menuentry.radiobutton` | Section 5.4 of ``Window Programming in Mozart'' | `menu`
`Tk.menuentry.separator` | Section 5.4 of ``Window Programming in Mozart'' | `menu`

`tkInit`

  > > `tkInit(parent:` `+WidgetO``
  > > before:` `+BeforeTcl``
  > > action:` `+Action``
  > > args:` `+Args``<= nil
  > > ...)`

  Initializes and creates a menu entry.

  The field `WidgetO` for the special feature `parent` must be an instance of `Tk.menu`. `self` becomes a slave of `WidgetO`. `Action` and `Args` are described in Section 27.2.1 and Section 27.2.2.

`tk`

  > > `tk(...)`

  Sends a command for `self` to the graphics engine.

`tkClose`

  > > `tkClose()`

  Closes the object and destroys the menu entry. Further object application raises an exception.