This function is very similar to get_position except that it only counts in the children that have been realized.
this |
The Menuitem to find the position of |
parent |
The Menuitem who's children contain this |
The position of this in the realized children of |