Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
56
wxPython/wx/py/wxd/Validators.py
Normal file
56
wxPython/wx/py/wxd/Validators.py
Normal file
@@ -0,0 +1,56 @@
|
||||
"""Decorator classes for documentation and shell scripting.
|
||||
"""
|
||||
|
||||
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
|
||||
__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
|
||||
|
||||
|
Reference in New Issue
Block a user