find_id


Description:

public unowned Menuitem find_id (int id)

This function searchs the whole tree of children that are attached to this.

This could be quite a few nodes, all the way down the tree. It is a depth first search.

Parameters:

this

Menuitem at the top of the tree to search

id

ID of the Menuitem to search for

Returns:

The Menuitem with the ID of id or NULL if there isn't such a menu item in the tree represented by this.




2022 vala-language.org