get_menu_by_id


Description:

public unowned Menu? get_menu_by_id (string id)

Gets a menu from automatically loaded resources.

See [the section on Automatic resources](class.Application.html#automatic-resources) for more information.

Parameters:

this

an application

id

the ID of the menu to look up

Returns:

Gets the menu with the given ID from the automatically loaded resources