get_menu_by_id


Description:

[ Version ( since = "3.14" ) ]
public unowned Menu get_menu_by_id (string id)

Gets a menu from automatically loaded resources.

See Automatic resources for more information.

Parameters:

this

a Application

id

the id of the menu to look up

Returns:

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