edifice.QtWidgetElement.register_ref#
- QtWidgetElement.register_ref(reference)#
Registers provided
Referenceto 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.