Application.getMenuById

gio.menu.Menu getMenuById(string id)

Gets a menu from automatically loaded resources.

See the section on 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