.FindMenuItem(string header, bool recursive)¶
Locate a menu item by its header. If recursive is true, the search will be performed recursively (breadth-first) on all sub-menu items.
Add a sub-menu item to a menu item at the specified index. If the index is -1 (default), the sub-menu item is added to the end.