Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The idea of this script always has been to keep the tool as simple as possible. With this tool you can create really fast the basic distribution of your elements in the window, defining size, color, command, etc..., and always with the possibility of testing the window during the process of creation.
In Maya there are a lot of elements and a lot of attributes that you can set. In the jcWindowCreator you can only create a few elements (the most importants, I think) with only some attributes to configure. But the trick is, use another element to define the position, scale, color,..., and then in the code change the kind of element. Pretty simple!
The most interesting function of the script is that you can get the code in MEL or PYTHON that creates the window. So, after you create what you need, click "Encode Window" and you´ll get the code in the script editor. Copy it to your script, and modify it!
I hope you enjoy this script. And please, read the header of the script. There are some important information about how to use properly the tool.