This returns the list im looking for in the script editor, but i cant get them to appear in the window that pops up.
furthuremore, I want this list to populate a specific window in a qtDesigner layout I made.
import maya.cmds as cmds
def List():
listObjects = cmds.ls(g=True, cameras=True, lights=True)
cmds.window()
cmds.paneLayout()
cmds.textScrollList(numberOfRows=8, allowMultiSelection=True, append=['test'])
cmds.showWindow()
print listObjects
return listObjects
List()