Module Expr Str Import alias Import alias identifier Import alias identifier Assign NameStore Str Assign NameStore Str Assign NameStore Str If CompareLt AttributeLoad NameLoad attr Num body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Str Str body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword BinOpMod Str NameLoad keyword BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str attr Num Slice Num attr attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword ListLoad TupleLoad NameLoad Str Num TupleLoad NameLoad Str Num keyword ListLoad TupleLoad NameLoad Str Num Num keyword ListLoad TupleLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword ListLoad TupleLoad NameLoad Str Num keyword ListLoad TupleLoad NameLoad Str Num Num TupleLoad NameLoad Str Num Num keyword ListLoad TupleLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword ListLoad TupleLoad NameLoad Str Num TupleLoad NameLoad Str Num keyword ListLoad TupleLoad NameLoad Str Num Num keyword ListLoad TupleLoad NameLoad Str decorator_list
N/A N/A 
Utility functions for working with GUI elements in the Maya cmds module.

 Creation  Info:

 Donations: http://adammechtley.com/donations/

 License: The MIT License

Copyright (c) 2011 Adam Mechtley (http://adammechtley.com)

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.


amespace amTools.utilities.ui
 N/A re N/A maya.cmds cmds N/A amTools am N/A __wordWrap__ N/A __frameAlignBottom__ N/A __frameAlignCenter__ N/A N/A N/A am __mayaVersion__ 2011.0 N/A N/A __frameAlignBottom__ , la="bottom" N/A __frameAlignCenter__ , la="center" N/A N/A __wordWrap__ , ww=True aboutDialog N/A N/A title message N/A About Dialog About Message N/A N/A 
	Create a simple About dialog box with the given title and message.
	@param title Custom about dialog title
	@param message Custom about dialog message
	 N/A N/A N/A cmds confirmDialog title title message message button OK defaultButton OK cancelButton OK dismissString OK N/A aboutMenuItem N/A N/A toolName versionNumber versionDate N/A N/A N/A 
	Create a menu item for an about dialog.
	@param toolName Name of the tool
	@param versionNumber Version number of the tool
	@param versionDate Date of the current version
	 N/A N/A N/A cmds menuItem label About command N/A amTools.utilities.ui.aboutDialog("About %s Options", "Version %s\n%s\nby Adam D. Mechtley\nhttp://adammechtley.com") N/A toolName versionNumber versionDate N/A helpMenuItem N/A N/A toolName file N/A N/A N/A 
	Create a menu item that links to the appropriate page in the online docs.
	@param toolName Name of the tool
	@param file The __file__ string for the tool
	 N/A N/A N/A cmds menuItem label N/A Help on %s Options toolName command N/A cmds.launch(web="http://adammechtley.com/downloads/python/documentation/amtools/%s/namespace%s.html") N/A N/A am kVersionNumber N/A N/A N/A N/A N/A N/A re sub [A-Z] _\g<0> N/A N/A N/A N/A N/A re search amTools.*(?<=[.]) N/A file N/A N/A N/A file rfind amTools group 0 N/A -1 lower replace / _1_1 N/A threeButtonLayout N/A N/A mainForm windowName cmd_create N/A N/A N/A 
	Create the standard three button layout used in Maya tools: Create, Apply, and Close.
	@param mainForm The main form of the options window
	@param windowName The name of the options window
	@param cmd_create The command to execute when the Create or Apply button is pressed.
	 N/A cmd_closeWindow N/A %s.deleteUI("%s") N/A N/A am __kCmdsGlobalName__ windowName N/A btn_create N/A N/A cmds button h 26 label Create command N/A %s
%s N/A cmd_create cmd_closeWindow N/A btn_apply N/A N/A cmds button h 26 label Apply command cmd_create N/A btn_close N/A N/A cmds button h 26 label Close command cmd_closeWindow N/A N/A N/A cmds formLayout mainForm edit True attachForm N/A N/A btn_create left 5 N/A btn_create bottom 5 attachPosition N/A N/A btn_create right 1 33 attachNone N/A N/A btn_create top N/A N/A N/A cmds formLayout mainForm edit True attachForm N/A N/A btn_apply bottom 5 attachPosition N/A N/A btn_apply left 3 33 N/A btn_apply right 3 67 attachNone N/A N/A btn_apply top N/A N/A N/A cmds formLayout mainForm edit True attachForm N/A N/A btn_close right 5 N/A btn_close bottom 5 attachPosition N/A N/A btn_close left 1 67 attachNone N/A N/A btn_apply top N/A