- Last visit
|It isnt similar when you explain it The behavior of a menu is not explained in the api:|
newmenu( String title, func action,【 bitmap icon,[string submenu_title1, func action1,
string submenu_title2 ,action2 ...]】)
title, the text shown on the Menu
action, the function triggered when the Menu is clicked. Can be null, but not optional.
icon, the icon of the Menu
submenu_title1, text on submenus
Submenus cannot have icons.
etc, where each function is described, not what a menu is.
Thank you for the clarification.