I create my ui widgets in an enclosed function so i lose their reference when the function completes.
I want to be able to find these objects/variables without passing them globally.
For example, I want to find my sketch widget after creation and after it is no longer in the local scope.
Solved! Go to Solution.
Hi Nick,
At the moment you need to return the widget reference and use this. I have created an enhancement request to get the widgets from the view.ui in a future version of the API.
Hi Nick,
At the moment you need to return the widget reference and use this. I have created an enhancement request to get the widgets from the view.ui in a future version of the API.