| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
wx._core.Object --+
|
wx._core.EvtHandler --+
|
wx._core.Validator --+
|
wx._core.PyValidator --+
|
TextValidator
This validator is designed to check text input for wxTextCtrls. (It might have uses in other widgets.) It can validate for letters only, digits only, floats only, and can allow for a negative at the beginning of a digit string or a negative float.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
Initialize the validator.
flag -- DIGIT_ONLY, allow only digits (default)
ALPHA_ONLY, allow only letters
FLOAT_ONLY, allow only floats
allowNeg -- Allow a negative sign in front of DIGIT_ONLY, or
FLOAT_ONLY text. (default False)
|
|
Validate(self, Window parent) -> bool
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Apr 10 19:11:05 2009 | http://epydoc.sourceforge.net |