Package wx :: Class TextEntryDialog
[frames | no frames]

Type TextEntryDialog

object --+                    
         |                    
    Object --+                
             |                
    EvtHandler --+            
                 |            
            Window --+        
                     |        
        TopLevelWindow --+    
                         |    
                    Dialog --+
                             |
                            TextEntryDialog

Known Subclasses:
PasswordEntryDialog

A dialog with text control, [ok] and [cancel] buttons
Method Summary
TextEntryDialog __init__(self, parent, message, caption, defaultValue, style, pos)
Constructor.
  __repr__(self)
String GetValue(self)
Returns the text that the user has entered if the user has pressed OK, or the original value if the user has pressed Cancel.
  SetValue(self, value)
Sets the default text value.

Instance Method Details

__init__(self, parent, message, caption=GetTextFromUserPromptStr, defaultValue=EmptyString, style=TextEntryDialogStyle, pos=DefaultPosition)
(Constructor)

Constructor. Use ShowModal method to show the dialog.
Parameters:
parent
           (type=Window)
message
           (type=String)
caption
           (type=String)
defaultValue
           (type=String)
style
           (type=long)
pos
           (type=Point)
Returns:
TextEntryDialog
Overrides:
wx.Dialog.__init__

GetValue(self)

Returns the text that the user has entered if the user has pressed OK, or the original value if the user has pressed Cancel.
Returns:
String

SetValue(self, value)

Sets the default text value.
Parameters:
value
           (type=String)

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:47 2005 http://epydoc.sf.net