Get Menu Anchor Object Reference From Menu Anchor's 'Menu Class'

I was wondering if it is possible to get a reference to the menu anchor itself from the widget created by the ‘menu class’ in the menu anchor?

Yes, but getting parent widget does not work afair. Instead of setting the class for the Menu Anchor, override its function:

You can then feed it a reference once exposed. This is OK but hard references are often frown upon and it might be neater to Dispatch. In the widget with the MA:

Calling the Event Dispatcher in the widget created by the MA fires the event in the widget owning the anchor.

1 Like