null and position is unset.
MenuManager.findItemById
gio.menu.Menu findItemById(string id, out uint position)Locates a menu item that matches id and sets the position within the resulting #GMenu to position.
If no match is found, null is returned.
Parameters
id | the identifier of the menu item |
position | the position within the resulting menu |
Returns
a #GMenu if successful; otherwise