Getting reference to a widget created by the Menu Anchor.

Forgot that thing existed. Set MenuClass to None and create a widget in the anchor’s binding:

Save it in a reference. This will allow you to access it for as long as it’s valid. The anchor will destroy it when it disappears, though and create a new instance next time.

Variables have an Expose on Spawn flag which will allow you to customise it on creation while the reference can be used to access it afterwards.