I don't think the dockControl supports minimize:

http://download.autodesk.com/us/maya/2011help//CommandsPython/dockControl.html
" The titlebar displays the dock control window title, a float button and a 
close button. Depending on the state of the dock control, the float and close 
buttons may be either disabled or not shown at all."

But even the qt QDockWidget doesn't provide a minimize feature: 
http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qdockwidget.html

It must be a standard of tool windows. Though qt may give you some ability to 
customize in a minimize feature to it. Not sure you have that same flexibility 
with Maya native UI. It is probably just a thin wrapper around the QDockWidget 
with less options. 


On Nov 20, 2012, at 12:23 AM, san <[email protected]> wrote:

> lets say I create a window using this...
> 
> myWindow = cmds.window("myWindow1")
> buttonForm = cmds.formLayout( parent = myWindow )
> cmds.button( parent = buttonForm )
> cmds.showWindow( 'myWindow1' )
> 
> now i can make this docked by running,
> 
> allowedAreas = ['right', 'left']
> cmds.dockControl( area='left', content="myWindow1", allowedArea=allowedAreas )
> 
> but now when will make it floating its dockControl floating which doesnt
>  have ability to minimize , is their any way i can make it minimizable ?
>                                               
> 
> 
> 
> -- 
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: 
> http://groups.google.com/group/python_inside_maya/subscribe

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to