I would like to create a PyROOT GUI (gui.py) with a TGTab element into which I want to import a TGCompositeFrame from a separate file (frameToImport.py). However, when I do AddFrame, the imported Frame is located in a separate window instead of being placed in the tab.