edifice.QtWidgetElement.register_ref#
- QtWidgetElement.register_ref(reference)#
Registers provided
Reference
to this Element.During render, the provided reference will be set to point to the currently rendered instance of this Element.
- Parameters:
reference (
Reference
[Self
]) – the Reference to register- Return type:
Self
- Returns:
The Element self.