Menu

(UI 0.9.9)

簡(jiǎn)介

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

類(lèi)摘要

class 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
}

目錄