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

Class Prompt

source code

         object --+        
                  |        
interface.Interface --+    
                      |    
      interface.iPrompt --+
                          |
                         Prompt

Implements the prompt interface using a prompt dialog
Instance Methods [hide private]
 
prompt(self)
Aquire the information using a prompt dialog
source code

Inherited from interface.iPrompt: __init__

Inherited from interface.Interface: supports

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

prompt(self)

source code 
Aquire the information using a prompt dialog
Returns:
prompted value if input was confirmed using confirmToken, or the cancelValue if cancelToken was pressed
Overrides: interface.iPrompt.prompt
Notes:
  • tokens correspond to buttons
  • handles batch mode correctly