Application.getMenuById

gio.menu.Menu getMenuById(string id)

Gets a menu from automatically loaded resources. See Automatic resources for more information.

Parameters

idthe id of the menu to look up

Returns

Gets the menu with the

given id from the automatically loaded resources