Package diffpy :: Package pdfgui :: Package gui :: Package wxExtensions :: Module validators
[hide private]
[frames] | no frames]

Module validators

source code

This module contains TextValidator, which is an input validator for the
wxTextCtrl. See the wxPython documentation for wxTextCtrl for more about text
validators. Three constants are defined for use in TextValidator: ALPHA_ONLY,
DIGIT_ONLY, and FLOAT_ONLY. See the TextValidator class for how these are used.



Classes [hide private]
  TextValidator
This validator is designed to check text input for wxTextCtrls.
Variables [hide private]
  __id__ = '$Id: validators.py 2980 2009-04-02 00:14:33Z juhas $'
  ALPHA_ONLY = 1
  DIGIT_ONLY = 2
  FLOAT_ONLY = 3