includes several new tools. As part of the change the location of the pacakge has changed as well, it is now accessible as "from wxPython import py" (or "from wx import py" using the new namespace.) There are still some transition moudules in the wxPython.lib.PyCrust mackage that will issue a warning and then import what is needed from the new package. These will be removed in a future release. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
57 lines
968 B
Python
57 lines
968 B
Python
"""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
|
|
|
|
|