UI
PHP Manual

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 UI\MenuItem append ( string $name [, string $type = UI\MenuItem::class ] )
public UI\MenuItem appendAbout ([ string $type = UI\MenuItem::class ] )
public UI\MenuItem appendCheck ( string $name [, string $type = UI\MenuItem::class ] )
public UI\MenuItem appendPreferences ([ string $type = UI\MenuItem::class ] )
public UI\MenuItem appendQuit ([ string $type = UI\MenuItem::class ] )
public appendSeparator ( void )
}

Table of Contents


UI
PHP Manual