Menu

Introduction

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

Class synopsis

UI\Menu
class UI\Menu {
/* Constructor */
public __construct(string $name)
/* Methods */
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()
}
Table of Contents