略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Menu

2025-02-27

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
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/class.ui-menu.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3