You need to delete the dockControl if it exists as well.

http://pastebin.com/J0K5pqRp

On Tuesday, March 19, 2013 8:10:01 AM UTC-7, Daz wrote:
> Heya
> 
> I'm trying to figure out how to tweak my UI so I can dock it. I basically got 
> it more or less to work, the only problem is that I cant figure out how to 
> make it delete itself once I click again on the button... Atm it just keep on 
> spawning new windows.
> 
> Any hints would be awesome !
> 
> http://pastebin.com/HZL6GbQX
> 
> Thanks, bye.

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to