Menu

(UI 0.9.9)

Introduction

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

Class synopsis

classUI\Menu {
public__construct(string$name)
publicappend(string$name, string$type = UI\MenuItem::class): UI\MenuItem
publicappendAbout(string$type = UI\MenuItem::class): UI\MenuItem
publicappendCheck(string$name, string$type = UI\MenuItem::class): UI\MenuItem
publicappendPreferences(string$type = UI\MenuItem::class): UI\MenuItem
publicappendQuit(string$type = UI\MenuItem::class): UI\MenuItem
}

Table of Contents

To Top