Quote:
Originally Posted by ceanganb
I see. Any particular or technical reason to use ´setContentNonOwned´, any benefit or just a programming style? This is a beginner's question, I know, but will help me to develop a better sense on how the integration goes, and what errors I might avoid in the future.
|
setContentNonOwned can be used when you have instantiated your content component as a value (like the web browser is instantiated in the example) or as a pointer that you want to manage yourself for some reason. (For example, maybe you want to be able to move the component to a different parent component.)