Package mrv :: Package maya :: Package ui :: Module dialog :: Class PromptDialog
[hide private]
[frames] | no frames]

Class PromptDialog

source code

 object --+        
          |        
base.BaseUI --+    
              |    
         Dialog --+
                  |
                 PromptDialog

Wrapper class for maya prompt dialog
Instance Methods [hide private]
 
__init__(self, title, message, okText, cancelText, **kwargs)
Create a prompt dialog and allow to query the result :note: return default text in batch mode, given with 'text' key
source code
 
text(self)
Returns: the entered text or None if the box has been aborted
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from base.BaseUI: __melcmd__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, title, message, okText, cancelText, **kwargs)
(Constructor)

source code 
Create a prompt dialog and allow to query the result :note: return default text in batch mode, given with 'text' key
Overrides: object.__init__

text(self)

source code 
Returns:
the entered text or None if the box has been aborted