UI\Menu::append » « UI\Control::show PHP 手册 函数参考 图形用户界面(GUI) 扩展 UI Menu (UI 0.9.9) 简介 Menus must be constructed before the first Window, and can be shown on any Window 类摘要 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 public appendSeparator() } 目录UI\Menu::append — Append Menu ItemUI\Menu::appendAbout — Append About Menu ItemUI\Menu::appendCheck — Append Checkable Menu ItemUI\Menu::appendPreferences — Append Preferences Menu ItemUI\Menu::appendQuit — Append Quit Menu ItemUI\Menu::appendSeparator — Append Menu Item SeparatorUI\Menu::__construct — Construct a new Menu 发现了问题? 了解如何改进此页面 • 提交拉取请求 • 报告一个错误 +添加备注 用户贡献的备注 此页面尚无用户贡献的备注。 备份地址:http://www.lvesu.com/blog/php/class.ui-menu.php