X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb6a4098a0f2e9ae55e72ad960b3dfc134d177c9..d14a1e28567de23c586bc80017073d0c39f8d18f:/wxPython/wx/py/wxd/Validators.py diff --git a/wxPython/wx/py/wxd/Validators.py b/wxPython/wx/py/wxd/Validators.py new file mode 100644 index 0000000000..6c5e87e240 --- /dev/null +++ b/wxPython/wx/py/wxd/Validators.py @@ -0,0 +1,56 @@ +"""Decorator classes for documentation and shell scripting. +""" + +__author__ = "Patrick K. O'Brien " +__cvsid__ = "$Id$" +__revision__ = "$Revision$"[11:-2] + + +# These are not the real wxPython classes. These are Python versions +# for documentation purposes. They are also used to apply docstrings +# to the real wxPython classes, which are SWIG-generated wrappers for +# C-language classes. + + +from Base import EvtHandler +import Parameters as wx + +try: + True +except NameError: + True = 1==1 + False = 1==0 + + +class Validator(EvtHandler): + """""" + + def __init__(self): + """""" + pass + + def Clone(self): + """""" + pass + + def GetWindow(self): + """""" + pass + + def SetWindow(self, window): + """""" + pass + + +class PyValidator(Validator): + """""" + + def __init__(self): + """""" + pass + + def _setCallbackInfo(self, _class, incref=True): + """""" + pass + +