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

a `GtkApplication`

id

the id of the menu to look up

Returns:

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




2022 vala-language.org