I'm guessing you're running the above code in the script editor? which makes 
sense for it printing 'Script Editor' since that is the active window.

You're going to need to explore the widget hierarchy a bit to trickle down to 
the widgets you're wanting to do things to.

there is an example script in the maya examples that creates a treeview of 
children for the maya main window. that would be a good place to start on 
figuring out how to do that.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/33911e4d-64f6-40bc-8a64-9cddf1ef6bb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to