Menu

(UI 0.9.9)

Einführung

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

Klassenbeschreibung

class UI\Menu {
/* Constructor */
public function __construct(string $name)
/* Methoden */
public function append(string $name, string $type = UI\MenuItem::class): UI\MenuItem
public function appendAbout(string $type = UI\MenuItem::class): UI\MenuItem
public function appendCheck(string $name, string $type = UI\MenuItem::class): UI\MenuItem
public function appendPreferences(string $type = UI\MenuItem::class): UI\MenuItem
public function appendQuit(string $type = UI\MenuItem::class): UI\MenuItem
public function appendSeparator()
}

Inhaltsverzeichnis