i found out about this environment variable:
(Linux) New parenting behavior may disrupt old workflows
In Maya 2011, Linux parenting is now forced to the main Maya window. In some
cases, this may disrupt workflows you were used to in previous versions of
Maya.
Workaround
Add the environment variable MAYA_SET_PARENT_HINT. Setting this variable to 0
reverts Maya to the old behavior (not forcing Linux parenting to Maya).
unfortunately, i've been told that this only works for linux, even though we
desperately need it for osx as well: Expose is completely broken, cmd-tilde to
cycle through app windows doesn't work, and sub-windows stay in the front
anytime maya is processing something (rendering, playblasting, etc). this is
what you get when you try to make an application work the way you *think* it
should work even though it is counter to the way that applications for a given
operating system is supposed to behave.
i highly recommend complaining to autodesk about this so that we can get a fix
for osx. is this a problem on windows as well?
-chad
On Jun 17, 2010, at 8:50 PM, _ wrote:
> If you are talking only about script editor, you can open
> Window->Settings/Preferences->Preferences
> and select Interface from the categories and check the "Show title bar" of
> "In Script Editor".
>
> If you are talking about other Maya's dock widgets such as attribute editor,
> it's hard to make the window minimizable.
> We can get Maya's window, layout and widget as PyQt object. For example, here
> is a script
> which make a window and get attribute editor's layout and parent it to the
> window.
> You can minimize the attribute editor. But, you will get some problems.
>
> Gaki
>
> #------
> import sip
> import maya.OpenMayaUI as mui
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
>
> def getMayaWindow():
> ptr = mui.MQtUtil.mainWindow()
> return sip.wrapinstance(long(ptr), QObject)
>
> def getMayaLayout(layoutString):
> ptr = mui.MQtUtil.findLayout(layoutString)
> return sip.wrapinstance(long(ptr), QObject)
>
> class Form(QMainWindow):
> def __init__(self, parent=None):
> super(Form, self).__init__(parent)
> self.setWindowTitle('Attribute Editor')
> aeWidget = getMayaLayout('MayaWindow|MainAttributeEditorLayout')
> self.setCentralWidget(aeWidget)
>
> global app
> global form
> app = qApp
> form = Form(getMayaWindow())
> form.show()
>
>
>
>
> Date: Fri, 18 Jun 2010 13:30:59 +1200
> Subject: [Maya-Python] PyQt Maya 2011
> From: [email protected]
> To: [email protected]; [email protected]
>
> Has anyone successfully found a way to wrap Maya's windows in a way they can
> be minimized or can be pushed to the back?
>
> For instance, the script editor no longer has a minimize button on the top
> right and if bring up the script editor and click behind it on Maya's main
> canvas, the script editor still persists in the front.
>
> Anyone had any luck wrapping these windows or with some other methodology to
> get around this annoyance?
>
>
> Cheers
>
> --
> http://groups.google.com/group/python_inside_maya
>
> --
> http://groups.google.com/group/python_inside_maya
--
http://groups.google.com/group/python_inside_maya