- « UI\Control::show
- UI\Menu::append »

- PHP Manual
- UI
- Menu

# Menu

(PHP 7, UI 0.9.9)

## はじめに

Menus must be constructed before the first Window, and can be shown on any Window

## クラス概要

UI\Menu {
/* Constructor */
public __construct ( string `$name` )
/* メソッド */
public append ( string `$name` [, string `$type` = UI\MenuItem::class ] ) : UI\MenuItem
public appendAbout ([ string `$type` = UI\MenuItem::class ] ) : UI\MenuItem
public appendCheck ( string `$name` [, string `$type` = UI\MenuItem::class ] ) : UI\MenuItem
public appendPreferences ([ string `$type` = UI\MenuItem::class ] ) : UI\MenuItem
public appendQuit ([ string `$type` = UI\MenuItem::class ] ) : UI\MenuItem
public appendSeparator ( void )
}

## 目次

- UI\Menu::append — Append Menu Item
- UI\Menu::appendAbout — Append About Menu Item
- UI\Menu::appendCheck — Append Checkable Menu Item
- UI\Menu::appendPreferences — Append Preferences Menu Item
- UI\Menu::appendQuit — Append Quit Menu Item
- UI\Menu::appendSeparator — Append Menu Item Separator
- UI\Menu::__construct — Construct a new Menu