The Menu widget creates a menu within a parent container.
use PhpGui\Widget\Menu;
$menu = new Menu('parentId'); // Parent container ID is required.- Designed as a child component for windows.
- Typically used within a Menubutton.
- Provides tear-off capability disabled by default.