Function MenuWidgetBase.thisPopup

returns popup this menu is located in

PopupWidget thisPopup() @property;