reSWIGged after 1.3.24 update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-12-23 21:34:11 +00:00
parent 54e72b1a7f
commit 093d3ff1f7
68 changed files with 143765 additions and 72537 deletions

View File

@ -3,6 +3,47 @@
import _activex
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
@ -58,6 +99,7 @@ _activex.CLSID_swigregister(CLSIDPtr)
#---------------------------------------------------------------------------
class ParamX(object):
"""Proxy of C++ ParamX class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxParamX instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -84,6 +126,7 @@ class ParamXPtr(ParamX):
_activex.ParamX_swigregister(ParamXPtr)
class FuncX(object):
"""Proxy of C++ FuncX class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxFuncX instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -101,6 +144,7 @@ class FuncXPtr(FuncX):
_activex.FuncX_swigregister(FuncXPtr)
class PropX(object):
"""Proxy of C++ PropX class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxPropX instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -122,6 +166,7 @@ class PropXPtr(PropX):
_activex.PropX_swigregister(PropXPtr)
class ParamXArray(object):
"""Proxy of C++ ParamXArray class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxParamXArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -146,6 +191,7 @@ class ParamXArrayPtr(ParamXArray):
_activex.ParamXArray_swigregister(ParamXArrayPtr)
class FuncXArray(object):
"""Proxy of C++ FuncXArray class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxFuncXArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -170,6 +216,7 @@ class FuncXArrayPtr(FuncXArray):
_activex.FuncXArray_swigregister(FuncXArrayPtr)
class PropXArray(object):
"""Proxy of C++ PropXArray class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxPropXArray instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,47 @@ Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
import _gizmos
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
import _controls
@ -18,6 +59,7 @@ wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS
DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER
class DynamicSashSplitEvent(_core.CommandEvent):
"""Proxy of C++ DynamicSashSplitEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -39,6 +81,7 @@ EditableListBoxNameStr = cvar.EditableListBoxNameStr
TreeListCtrlNameStr = cvar.TreeListCtrlNameStr
class DynamicSashUnifyEvent(_core.CommandEvent):
"""Proxy of C++ DynamicSashUnifyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -56,6 +99,7 @@ class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
_gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
class DynamicSashWindow(_core.Window):
"""Proxy of C++ DynamicSashWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -107,6 +151,7 @@ EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
class EditableListBox(_windows.Panel):
"""Proxy of C++ EditableListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -163,6 +208,7 @@ class EditableListBoxPtr(EditableListBox):
_gizmos.EditableListBox_swigregister(EditableListBoxPtr)
class RemotelyScrolledTreeCtrl(_controls.TreeCtrl):
"""Proxy of C++ RemotelyScrolledTreeCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -209,6 +255,7 @@ class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
_gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
class TreeCompanionWindow(_core.Window):
"""Proxy of C++ TreeCompanionWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -243,6 +290,7 @@ class TreeCompanionWindowPtr(TreeCompanionWindow):
_gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
class ThinSplitterWindow(_windows.SplitterWindow):
"""Proxy of C++ ThinSplitterWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -265,6 +313,7 @@ class ThinSplitterWindowPtr(ThinSplitterWindow):
_gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
class SplitterScrolledWindow(_windows.ScrolledWindow):
"""Proxy of C++ SplitterScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -292,6 +341,7 @@ LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER
LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK
LED_DRAW_FADED = _gizmos.LED_DRAW_FADED
class LEDNumberCtrl(_core.Control):
"""Proxy of C++ LEDNumberCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -309,6 +359,8 @@ class LEDNumberCtrl(_core.Control):
"""
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
Do the 2nd phase and create the GUI control.
"""
return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
@ -362,6 +414,7 @@ TL_SEARCH_NOCASE = _gizmos.TL_SEARCH_NOCASE
TR_DONT_ADJUST_MAC = _gizmos.TR_DONT_ADJUST_MAC
wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC
class TreeListColumnInfo(_core.Object):
"""Proxy of C++ TreeListColumnInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -430,6 +483,7 @@ class TreeListColumnInfoPtr(TreeListColumnInfo):
_gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr)
class TreeListCtrl(_core.Control):
"""Proxy of C++ TreeListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -7,10 +7,52 @@
import _glcanvas
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
class GLContext(_core.Object):
"""Proxy of C++ GLContext class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -71,6 +113,7 @@ WX_GL_MIN_ACCUM_GREEN = _glcanvas.WX_GL_MIN_ACCUM_GREEN
WX_GL_MIN_ACCUM_BLUE = _glcanvas.WX_GL_MIN_ACCUM_BLUE
WX_GL_MIN_ACCUM_ALPHA = _glcanvas.WX_GL_MIN_ACCUM_ALPHA
class GLCanvas(_core.Window):
"""Proxy of C++ GLCanvas class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,47 @@
import _iewin
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
@ -11,6 +52,7 @@ warnings.warn("This module is deprecated. Please use the wx.lib.iewin module in
DeprecationWarning, stacklevel=2)
class MSHTMLEvent(_core.NotifyEvent):
"""Proxy of C++ MSHTMLEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMSHTMLEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -57,6 +99,7 @@ IEHTML_REFRESH_IFEXPIRED = _iewin.IEHTML_REFRESH_IFEXPIRED
IEHTML_REFRESH_CONTINUE = _iewin.IEHTML_REFRESH_CONTINUE
IEHTML_REFRESH_COMPLETELY = _iewin.IEHTML_REFRESH_COMPLETELY
class IEHtmlWin(_core.Window):
"""Proxy of C++ IEHtmlWin class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIEHtmlWin instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,47 @@ of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)
import _ogl
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
@ -19,6 +60,7 @@ warnings.warn("This module is deprecated. Please use the wx.lib.ogl package ins
#---------------------------------------------------------------------------
class ShapeRegion(_core.Object):
"""Proxy of C++ ShapeRegion class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -148,6 +190,7 @@ class ShapeRegionPtr(ShapeRegion):
_ogl.ShapeRegion_swigregister(ShapeRegionPtr)
class AttachmentPoint(_core.Object):
"""Proxy of C++ AttachmentPoint class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxAttachmentPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -168,6 +211,7 @@ class AttachmentPointPtr(AttachmentPoint):
_ogl.AttachmentPoint_swigregister(AttachmentPointPtr)
class PyShapeEvtHandler(_core.Object):
"""Proxy of C++ PyShapeEvtHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -350,6 +394,7 @@ class PyShapeEvtHandlerPtr(PyShapeEvtHandler):
_ogl.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr)
class PyShape(PyShapeEvtHandler):
"""Proxy of C++ PyShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1076,6 +1121,7 @@ _ogl.PyShape_swigregister(PyShapePtr)
oglMETAFLAGS_OUTLINE = _ogl.oglMETAFLAGS_OUTLINE
oglMETAFLAGS_ATTACHMENTS = _ogl.oglMETAFLAGS_ATTACHMENTS
class PseudoMetaFile(_core.Object):
"""Proxy of C++ PseudoMetaFile class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1203,15 +1249,15 @@ class PseudoMetaFile(_core.Object):
return _ogl.PseudoMetaFile_DrawText(*args, **kwargs)
def DrawLines(*args, **kwargs):
"""DrawLines(self, int points, Point points_array)"""
"""DrawLines(self, int points)"""
return _ogl.PseudoMetaFile_DrawLines(*args, **kwargs)
def DrawPolygon(*args, **kwargs):
"""DrawPolygon(self, int points, Point points_array, int flags=0)"""
"""DrawPolygon(self, int points, int flags=0)"""
return _ogl.PseudoMetaFile_DrawPolygon(*args, **kwargs)
def DrawSpline(*args, **kwargs):
"""DrawSpline(self, int points, Point points_array)"""
"""DrawSpline(self, int points)"""
return _ogl.PseudoMetaFile_DrawSpline(*args, **kwargs)
def SetClippingRect(*args, **kwargs):
@ -1255,6 +1301,7 @@ class PseudoMetaFilePtr(PseudoMetaFile):
_ogl.PseudoMetaFile_swigregister(PseudoMetaFilePtr)
class PyRectangleShape(PyShape):
"""Proxy of C++ PyRectangleShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1417,6 +1464,7 @@ class PyRectangleShapePtr(PyRectangleShape):
_ogl.PyRectangleShape_swigregister(PyRectangleShapePtr)
class PyControlPoint(PyRectangleShape):
"""Proxy of C++ PyControlPoint class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1579,6 +1627,7 @@ class PyControlPointPtr(PyControlPoint):
_ogl.PyControlPoint_swigregister(PyControlPointPtr)
class PyBitmapShape(PyRectangleShape):
"""Proxy of C++ PyBitmapShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1749,6 +1798,7 @@ class PyBitmapShapePtr(PyBitmapShape):
_ogl.PyBitmapShape_swigregister(PyBitmapShapePtr)
class PyDrawnShape(PyRectangleShape):
"""Proxy of C++ PyDrawnShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1788,7 +1838,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_DrawLine(*args, **kwargs)
def DrawLines(*args, **kwargs):
"""DrawLines(self, int points, Point points_array)"""
"""DrawLines(self, int points)"""
return _ogl.PyDrawnShape_DrawLines(*args, **kwargs)
def DrawPoint(*args, **kwargs):
@ -1796,7 +1846,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_DrawPoint(*args, **kwargs)
def DrawPolygon(*args, **kwargs):
"""DrawPolygon(self, int points, Point points_array, int flags=0)"""
"""DrawPolygon(self, int points, int flags=0)"""
return _ogl.PyDrawnShape_DrawPolygon(*args, **kwargs)
def DrawRectangle(*args, **kwargs):
@ -1808,7 +1858,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_DrawRoundedRectangle(*args, **kwargs)
def DrawSpline(*args, **kwargs):
"""DrawSpline(self, int points, Point points_array)"""
"""DrawSpline(self, int points)"""
return _ogl.PyDrawnShape_DrawSpline(*args, **kwargs)
def DrawText(*args, **kwargs):
@ -2015,6 +2065,7 @@ class PyDrawnShapePtr(PyDrawnShape):
_ogl.PyDrawnShape_swigregister(PyDrawnShapePtr)
class OGLConstraint(_core.Object):
"""Proxy of C++ OGLConstraint class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2044,6 +2095,7 @@ class OGLConstraintPtr(OGLConstraint):
_ogl.OGLConstraint_swigregister(OGLConstraintPtr)
class PyCompositeShape(PyRectangleShape):
"""Proxy of C++ PyCompositeShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2254,6 +2306,7 @@ class PyCompositeShapePtr(PyCompositeShape):
_ogl.PyCompositeShape_swigregister(PyCompositeShapePtr)
class PyDividedShape(PyRectangleShape):
"""Proxy of C++ PyDividedShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2416,6 +2469,7 @@ class PyDividedShapePtr(PyDividedShape):
_ogl.PyDividedShape_swigregister(PyDividedShapePtr)
class PyDivisionShape(PyCompositeShape):
"""Proxy of C++ PyDivisionShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2670,6 +2724,7 @@ class PyDivisionShapePtr(PyDivisionShape):
_ogl.PyDivisionShape_swigregister(PyDivisionShapePtr)
class PyEllipseShape(PyShape):
"""Proxy of C++ PyEllipseShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2820,6 +2875,7 @@ class PyEllipseShapePtr(PyEllipseShape):
_ogl.PyEllipseShape_swigregister(PyEllipseShapePtr)
class PyCircleShape(PyEllipseShape):
"""Proxy of C++ PyCircleShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2970,6 +3026,7 @@ class PyCircleShapePtr(PyCircleShape):
_ogl.PyCircleShape_swigregister(PyCircleShapePtr)
class ArrowHead(_core.Object):
"""Proxy of C++ ArrowHead class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3061,6 +3118,7 @@ class ArrowHeadPtr(ArrowHead):
_ogl.ArrowHead_swigregister(ArrowHeadPtr)
class PyLineShape(PyShape):
"""Proxy of C++ PyLineShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3403,6 +3461,7 @@ class PyLineShapePtr(PyLineShape):
_ogl.PyLineShape_swigregister(PyLineShapePtr)
class PyPolygonShape(PyShape):
"""Proxy of C++ PyPolygonShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3597,6 +3656,7 @@ class PyPolygonShapePtr(PyPolygonShape):
_ogl.PyPolygonShape_swigregister(PyPolygonShapePtr)
class PyTextShape(PyRectangleShape):
"""Proxy of C++ PyTextShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3751,6 +3811,7 @@ class PyTextShapePtr(PyTextShape):
_ogl.PyTextShape_swigregister(PyTextShapePtr)
class Diagram(_core.Object):
"""Proxy of C++ Diagram class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3864,6 +3925,7 @@ class DiagramPtr(Diagram):
_ogl.Diagram_swigregister(DiagramPtr)
class PyShapeCanvas(_windows.ScrolledWindow):
"""Proxy of C++ PyShapeCanvas class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,47 @@ languages are built-in.
import _stc
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
import _misc
wx = _core
@ -1018,6 +1059,7 @@ STC_CMD_WORDLEFTENDEXTEND = _stc.STC_CMD_WORDLEFTENDEXTEND
STC_CMD_WORDRIGHTEND = _stc.STC_CMD_WORDRIGHTEND
STC_CMD_WORDRIGHTENDEXTEND = _stc.STC_CMD_WORDRIGHTENDEXTEND
class StyledTextCtrl(_core.Control):
"""Proxy of C++ StyledTextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2784,6 +2826,7 @@ def PreStyledTextCtrl(*args, **kwargs):
return val
class StyledTextEvent(_core.CommandEvent):
"""Proxy of C++ StyledTextEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,47 @@
import _controls_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
@ -839,6 +880,7 @@ GA_VERTICAL = _controls_.GA_VERTICAL
GA_SMOOTH = _controls_.GA_SMOOTH
GA_PROGRESSBAR = _controls_.GA_PROGRESSBAR
class Gauge(_core.Control):
"""Proxy of C++ Gauge class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -952,6 +994,7 @@ def Gauge_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticBox(_core.Control):
"""Proxy of C++ StaticBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1029,6 +1072,7 @@ def StaticBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticLine(_core.Control):
"""Proxy of C++ StaticLine class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1116,6 +1160,7 @@ def StaticLine_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticText(_core.Control):
"""Proxy of C++ StaticText class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1190,6 +1235,7 @@ def StaticText_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticBitmap(_core.Control):
"""Proxy of C++ StaticBitmap class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1276,6 +1322,7 @@ def StaticBitmap_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ListBox(_core.ControlWithItems):
"""Proxy of C++ ListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1434,6 +1481,7 @@ def ListBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class CheckListBox(ListBox):
"""Proxy of C++ CheckListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1544,6 +1592,7 @@ TE_HT_ON_TEXT = _controls_.TE_HT_ON_TEXT
TE_HT_BELOW = _controls_.TE_HT_BELOW
TE_HT_BEYOND = _controls_.TE_HT_BEYOND
class TextAttr(object):
"""Proxy of C++ TextAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1688,6 +1737,7 @@ def TextAttr_Combine(*args, **kwargs):
return _controls_.TextAttr_Combine(*args, **kwargs)
class TextCtrl(_core.Control):
"""Proxy of C++ TextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1986,6 +2036,7 @@ wxEVT_COMMAND_TEXT_ENTER = _controls_.wxEVT_COMMAND_TEXT_ENTER
wxEVT_COMMAND_TEXT_URL = _controls_.wxEVT_COMMAND_TEXT_URL
wxEVT_COMMAND_TEXT_MAXLEN = _controls_.wxEVT_COMMAND_TEXT_MAXLEN
class TextUrlEvent(_core.CommandEvent):
"""Proxy of C++ TextUrlEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2022,6 +2073,7 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
#---------------------------------------------------------------------------
class ScrollBar(_core.Control):
"""Proxy of C++ ScrollBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2137,6 +2189,7 @@ SP_VERTICAL = _controls_.SP_VERTICAL
SP_ARROW_KEYS = _controls_.SP_ARROW_KEYS
SP_WRAP = _controls_.SP_WRAP
class SpinButton(_core.Control):
"""Proxy of C++ SpinButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2243,6 +2296,7 @@ def SpinButton_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
class SpinCtrl(_core.Control):
"""Proxy of C++ SpinCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2345,6 +2399,7 @@ def SpinCtrl_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
class SpinEvent(_core.NotifyEvent):
"""Proxy of C++ SpinEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2378,6 +2433,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
#---------------------------------------------------------------------------
class RadioBox(_core.Control):
"""Proxy of C++ RadioBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2515,6 +2571,7 @@ def RadioBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class RadioButton(_core.Control):
"""Proxy of C++ RadioButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2599,6 +2656,7 @@ def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class Slider(_core.Control):
"""Proxy of C++ Slider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2766,6 +2824,7 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls_.wxEVT_COMMAND_TOGGLEBUTTON_CLICK
EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
class ToggleButton(_core.Control):
"""Proxy of C++ ToggleButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2859,6 +2918,7 @@ def ToggleButton_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class BookCtrlBase(_core.Control):
"""Proxy of C++ BookCtrlBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -2990,6 +3050,7 @@ def BookCtrlBase_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.BookCtrlBase_GetClassDefaultAttributes(*args, **kwargs)
class BookCtrlBaseEvent(_core.NotifyEvent):
"""Proxy of C++ BookCtrlBaseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlBaseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3038,6 +3099,7 @@ NB_HITTEST_ONICON = _controls_.NB_HITTEST_ONICON
NB_HITTEST_ONLABEL = _controls_.NB_HITTEST_ONLABEL
NB_HITTEST_ONITEM = _controls_.NB_HITTEST_ONITEM
class Notebook(BookCtrlBase):
"""Proxy of C++ Notebook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3133,6 +3195,7 @@ def Notebook_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
class NotebookEvent(BookCtrlBaseEvent):
"""Proxy of C++ NotebookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3197,6 +3260,7 @@ LB_LEFT = _controls_.LB_LEFT
LB_RIGHT = _controls_.LB_RIGHT
LB_ALIGN_MASK = _controls_.LB_ALIGN_MASK
class Listbook(BookCtrlBase):
"""Proxy of C++ Listbook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3240,6 +3304,7 @@ def PreListbook(*args, **kwargs):
return val
class ListbookEvent(BookCtrlBaseEvent):
"""Proxy of C++ ListbookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3271,6 +3336,7 @@ CHB_LEFT = _controls_.CHB_LEFT
CHB_RIGHT = _controls_.CHB_RIGHT
CHB_ALIGN_MASK = _controls_.CHB_ALIGN_MASK
class Choicebook(BookCtrlBase):
"""Proxy of C++ Choicebook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3314,6 +3380,7 @@ def PreChoicebook(*args, **kwargs):
return val
class ChoicebookEvent(BookCtrlBaseEvent):
"""Proxy of C++ ChoicebookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3341,6 +3408,7 @@ EVT_CHOICEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_C
#---------------------------------------------------------------------------
class BookCtrlSizer(_core.Sizer):
"""Proxy of C++ BookCtrlSizer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3384,6 +3452,7 @@ class BookCtrlSizerPtr(BookCtrlSizer):
_controls_.BookCtrlSizer_swigregister(BookCtrlSizerPtr)
class NotebookSizer(_core.Sizer):
"""Proxy of C++ NotebookSizer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3445,6 +3514,7 @@ TB_NOALIGN = _controls_.TB_NOALIGN
TB_HORZ_LAYOUT = _controls_.TB_HORZ_LAYOUT
TB_HORZ_TEXT = _controls_.TB_HORZ_TEXT
class ToolBarToolBase(_core.Object):
"""Proxy of C++ ToolBarToolBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3578,6 +3648,7 @@ class ToolBarToolBasePtr(ToolBarToolBase):
_controls_.ToolBarToolBase_swigregister(ToolBarToolBasePtr)
class ToolBarBase(_core.Control):
"""Proxy of C++ ToolBarBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3900,6 +3971,7 @@ class ToolBarBasePtr(ToolBarBase):
_controls_.ToolBarBase_swigregister(ToolBarBasePtr)
class ToolBar(ToolBarBase):
"""Proxy of C++ ToolBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4048,6 +4120,7 @@ LIST_FIND_RIGHT = _controls_.LIST_FIND_RIGHT
#---------------------------------------------------------------------------
class ListItemAttr(object):
"""Proxy of C++ ListItemAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4111,6 +4184,7 @@ ListCtrlNameStr = cvar.ListCtrlNameStr
#---------------------------------------------------------------------------
class ListItem(_core.Object):
"""Proxy of C++ ListItem class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4262,6 +4336,7 @@ _controls_.ListItem_swigregister(ListItemPtr)
#---------------------------------------------------------------------------
class ListEvent(_core.NotifyEvent):
"""Proxy of C++ ListEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4393,6 +4468,7 @@ EVT_LIST_SET_INFO = wx._deprecated(EVT_LIST_SET_INFO)
#---------------------------------------------------------------------------
class ListCtrl(_core.Control):
"""Proxy of C++ ListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4422,11 +4498,35 @@ class ListCtrl(_core.Control):
return _controls_.ListCtrl__setCallbackInfo(*args, **kwargs)
def SetForegroundColour(*args, **kwargs):
"""SetForegroundColour(self, Colour col) -> bool"""
"""
SetForegroundColour(self, Colour col) -> bool
Sets the foreground colour of the window. Returns True is the colour
was changed. The interpretation of foreground colour is dependent on
the window class; it may be the text colour or other colour, or it may
not be used at all.
"""
return _controls_.ListCtrl_SetForegroundColour(*args, **kwargs)
def SetBackgroundColour(*args, **kwargs):
"""SetBackgroundColour(self, Colour col) -> bool"""
"""
SetBackgroundColour(self, Colour col) -> bool
Sets the background colour of the window. Returns True if the colour
was changed. The background colour is usually painted by the default
EVT_ERASE_BACKGROUND event handler function under Windows and
automatically under GTK. Using `wx.NullColour` will reset the window
to the default background colour.
Note that setting the background colour may not cause an immediate
refresh, so you may wish to call `ClearBackground` or `Refresh` after
calling this function.
Using this function will disable attempts to use themes for this
window, if the system supports them. Use with care since usually the
themes represent the appearance chosen by the user to be used for all
applications on the system.
"""
return _controls_.ListCtrl_SetBackgroundColour(*args, **kwargs)
def GetColumn(*args, **kwargs):
@ -4811,6 +4911,7 @@ def ListCtrl_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ListView(ListCtrl):
"""Proxy of C++ ListView class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4921,6 +5022,7 @@ TREE_HITTEST_ONITEM = _controls_.TREE_HITTEST_ONITEM
#---------------------------------------------------------------------------
class TreeItemId(object):
"""Proxy of C++ TreeItemId class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4960,6 +5062,7 @@ _controls_.TreeItemId_swigregister(TreeItemIdPtr)
TreeCtrlNameStr = cvar.TreeCtrlNameStr
class TreeItemData(object):
"""Proxy of C++ TreeItemData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5040,6 +5143,7 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI
EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1)
class TreeEvent(_core.NotifyEvent):
"""Proxy of C++ TreeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5115,6 +5219,7 @@ _controls_.TreeEvent_swigregister(TreeEventPtr)
#---------------------------------------------------------------------------
class TreeCtrl(_core.Control):
"""Proxy of C++ TreeCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5499,6 +5604,7 @@ DIRCTRL_SHOW_FILTERS = _controls_.DIRCTRL_SHOW_FILTERS
DIRCTRL_3D_INTERNAL = _controls_.DIRCTRL_3D_INTERNAL
DIRCTRL_EDIT_LABELS = _controls_.DIRCTRL_EDIT_LABELS
class GenericDirCtrl(_core.Control):
"""Proxy of C++ GenericDirCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5621,6 +5727,7 @@ def PreGenericDirCtrl(*args, **kwargs):
return val
class DirFilterListCtrl(Choice):
"""Proxy of C++ DirFilterListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5662,6 +5769,7 @@ def PreDirFilterListCtrl(*args, **kwargs):
#---------------------------------------------------------------------------
class PyControl(_core.Control):
"""Proxy of C++ PyControl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -6133,6 +6241,7 @@ _controls_.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr)
#---------------------------------------------------------------------------
class DragImage(_core.Object):
"""Proxy of C++ DragImage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,47 @@
import _core_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
#// Give a reference to the dictionary of this module to the C++ extension
#// code.
_core_._wxPySetDictionary(vars())
@ -671,9 +712,9 @@ CURSOR_MAX = _core_.CURSOR_MAX
class Size(object):
"""
wx.Size is a useful data structure used to represent the size of
something. It simply contians integer width and height proprtites.
In most places in wxPython where a wx.Size is expected a
(width,height) tuple can be used instead.
something. It simply contians integer width and height
proprtites. In most places in wxPython where a wx.Size is
expected a (width, height) tuple can be used instead.
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1520,6 +1561,7 @@ FromStart = _core_.FromStart
FromCurrent = _core_.FromCurrent
FromEnd = _core_.FromEnd
class InputStream(object):
"""Proxy of C++ InputStream class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1609,6 +1651,7 @@ DefaultPosition = cvar.DefaultPosition
DefaultSize = cvar.DefaultSize
class OutputStream(object):
"""Proxy of C++ OutputStream class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1627,6 +1670,7 @@ _core_.OutputStream_swigregister(OutputStreamPtr)
#---------------------------------------------------------------------------
class FSFile(Object):
"""Proxy of C++ FSFile class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1675,6 +1719,7 @@ class FSFilePtr(FSFile):
_core_.FSFile_swigregister(FSFilePtr)
class CPPFileSystemHandler(object):
"""Proxy of C++ CPPFileSystemHandler class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1687,6 +1732,7 @@ class CPPFileSystemHandlerPtr(CPPFileSystemHandler):
_core_.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr)
class FileSystemHandler(CPPFileSystemHandler):
"""Proxy of C++ FileSystemHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1746,6 +1792,7 @@ class FileSystemHandlerPtr(FileSystemHandler):
_core_.FileSystemHandler_swigregister(FileSystemHandlerPtr)
class FileSystem(Object):
"""Proxy of C++ FileSystem class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1825,6 +1872,7 @@ def FileSystem_URLToFileName(*args, **kwargs):
return _core_.FileSystem_URLToFileName(*args, **kwargs)
class InternetFSHandler(CPPFileSystemHandler):
"""Proxy of C++ InternetFSHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1850,6 +1898,7 @@ class InternetFSHandlerPtr(InternetFSHandler):
_core_.InternetFSHandler_swigregister(InternetFSHandlerPtr)
class ZipFSHandler(CPPFileSystemHandler):
"""Proxy of C++ ZipFSHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1912,6 +1961,7 @@ def MemoryFSHandler_AddFile(filename, dataItem, imgType=-1):
raise TypeError, 'wx.Image, wx.Bitmap or string expected'
class MemoryFSHandler(CPPFileSystemHandler):
"""Proxy of C++ MemoryFSHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1957,6 +2007,7 @@ def MemoryFSHandler_RemoveFile(*args, **kwargs):
#---------------------------------------------------------------------------
class ImageHandler(Object):
"""Proxy of C++ ImageHandler class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -2005,6 +2056,7 @@ class ImageHandlerPtr(ImageHandler):
_core_.ImageHandler_swigregister(ImageHandlerPtr)
class ImageHistogram(object):
"""Proxy of C++ ImageHistogram class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2049,6 +2101,7 @@ def ImageHistogram_MakeKey(*args, **kwargs):
return _core_.ImageHistogram_MakeKey(*args, **kwargs)
class Image(Object):
"""Proxy of C++ Image class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2460,6 +2513,7 @@ BMP_4BPP = _core_.BMP_4BPP
BMP_1BPP = _core_.BMP_1BPP
BMP_1BPP_BW = _core_.BMP_1BPP_BW
class BMPHandler(ImageHandler):
"""Proxy of C++ BMPHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2483,6 +2537,7 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION
IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT
class ICOHandler(BMPHandler):
"""Proxy of C++ ICOHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2500,6 +2555,7 @@ class ICOHandlerPtr(ICOHandler):
_core_.ICOHandler_swigregister(ICOHandlerPtr)
class CURHandler(ICOHandler):
"""Proxy of C++ CURHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2517,6 +2573,7 @@ class CURHandlerPtr(CURHandler):
_core_.CURHandler_swigregister(CURHandlerPtr)
class ANIHandler(CURHandler):
"""Proxy of C++ ANIHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2534,6 +2591,7 @@ class ANIHandlerPtr(ANIHandler):
_core_.ANIHandler_swigregister(ANIHandlerPtr)
class PNGHandler(ImageHandler):
"""Proxy of C++ PNGHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2551,6 +2609,7 @@ class PNGHandlerPtr(PNGHandler):
_core_.PNGHandler_swigregister(PNGHandlerPtr)
class GIFHandler(ImageHandler):
"""Proxy of C++ GIFHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2568,6 +2627,7 @@ class GIFHandlerPtr(GIFHandler):
_core_.GIFHandler_swigregister(GIFHandlerPtr)
class PCXHandler(ImageHandler):
"""Proxy of C++ PCXHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2585,6 +2645,7 @@ class PCXHandlerPtr(PCXHandler):
_core_.PCXHandler_swigregister(PCXHandlerPtr)
class JPEGHandler(ImageHandler):
"""Proxy of C++ JPEGHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2602,6 +2663,7 @@ class JPEGHandlerPtr(JPEGHandler):
_core_.JPEGHandler_swigregister(JPEGHandlerPtr)
class PNMHandler(ImageHandler):
"""Proxy of C++ PNMHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2619,6 +2681,7 @@ class PNMHandlerPtr(PNMHandler):
_core_.PNMHandler_swigregister(PNMHandlerPtr)
class XPMHandler(ImageHandler):
"""Proxy of C++ XPMHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2636,6 +2699,7 @@ class XPMHandlerPtr(XPMHandler):
_core_.XPMHandler_swigregister(XPMHandlerPtr)
class TIFFHandler(ImageHandler):
"""Proxy of C++ TIFFHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2691,6 +2755,7 @@ def Quantize_Quantize(*args, **kwargs):
#---------------------------------------------------------------------------
class EvtHandler(Object):
"""Proxy of C++ EvtHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3162,6 +3227,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
#---------------------------------------------------------------------------
class Event(Object):
"""Proxy of C++ Event class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3242,6 +3308,7 @@ _core_.Event_swigregister(EventPtr)
#---------------------------------------------------------------------------
class PropagationDisabler(object):
"""Proxy of C++ PropagationDisabler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3265,6 +3332,7 @@ class PropagationDisablerPtr(PropagationDisabler):
_core_.PropagationDisabler_swigregister(PropagationDisablerPtr)
class PropagateOnce(object):
"""Proxy of C++ PropagateOnce class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3290,6 +3358,7 @@ _core_.PropagateOnce_swigregister(PropagateOncePtr)
#---------------------------------------------------------------------------
class CommandEvent(Event):
"""Proxy of C++ CommandEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3350,6 +3419,7 @@ _core_.CommandEvent_swigregister(CommandEventPtr)
#---------------------------------------------------------------------------
class NotifyEvent(CommandEvent):
"""Proxy of C++ NotifyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3381,6 +3451,7 @@ _core_.NotifyEvent_swigregister(NotifyEventPtr)
#---------------------------------------------------------------------------
class ScrollEvent(CommandEvent):
"""Proxy of C++ ScrollEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3419,6 +3490,7 @@ _core_.ScrollEvent_swigregister(ScrollEventPtr)
#---------------------------------------------------------------------------
class ScrollWinEvent(Event):
"""Proxy of C++ ScrollWinEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3459,6 +3531,7 @@ MOUSE_BTN_LEFT = _core_.MOUSE_BTN_LEFT
MOUSE_BTN_MIDDLE = _core_.MOUSE_BTN_MIDDLE
MOUSE_BTN_RIGHT = _core_.MOUSE_BTN_RIGHT
class MouseEvent(Event):
"""Proxy of C++ MouseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3658,6 +3731,7 @@ _core_.MouseEvent_swigregister(MouseEventPtr)
#---------------------------------------------------------------------------
class SetCursorEvent(Event):
"""Proxy of C++ SetCursorEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3697,6 +3771,7 @@ _core_.SetCursorEvent_swigregister(SetCursorEventPtr)
#---------------------------------------------------------------------------
class KeyEvent(Event):
"""Proxy of C++ KeyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3802,6 +3877,7 @@ _core_.KeyEvent_swigregister(KeyEventPtr)
#---------------------------------------------------------------------------
class SizeEvent(Event):
"""Proxy of C++ SizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3839,6 +3915,7 @@ _core_.SizeEvent_swigregister(SizeEventPtr)
#---------------------------------------------------------------------------
class MoveEvent(Event):
"""Proxy of C++ MoveEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3876,6 +3953,7 @@ _core_.MoveEvent_swigregister(MoveEventPtr)
#---------------------------------------------------------------------------
class PaintEvent(Event):
"""Proxy of C++ PaintEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3893,6 +3971,7 @@ class PaintEventPtr(PaintEvent):
_core_.PaintEvent_swigregister(PaintEventPtr)
class NcPaintEvent(Event):
"""Proxy of C++ NcPaintEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3912,6 +3991,7 @@ _core_.NcPaintEvent_swigregister(NcPaintEventPtr)
#---------------------------------------------------------------------------
class EraseEvent(Event):
"""Proxy of C++ EraseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3935,6 +4015,7 @@ _core_.EraseEvent_swigregister(EraseEventPtr)
#---------------------------------------------------------------------------
class FocusEvent(Event):
"""Proxy of C++ FocusEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3962,6 +4043,7 @@ _core_.FocusEvent_swigregister(FocusEventPtr)
#---------------------------------------------------------------------------
class ChildFocusEvent(CommandEvent):
"""Proxy of C++ ChildFocusEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3985,6 +4067,7 @@ _core_.ChildFocusEvent_swigregister(ChildFocusEventPtr)
#---------------------------------------------------------------------------
class ActivateEvent(Event):
"""Proxy of C++ ActivateEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4008,6 +4091,7 @@ _core_.ActivateEvent_swigregister(ActivateEventPtr)
#---------------------------------------------------------------------------
class InitDialogEvent(Event):
"""Proxy of C++ InitDialogEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4027,6 +4111,7 @@ _core_.InitDialogEvent_swigregister(InitDialogEventPtr)
#---------------------------------------------------------------------------
class MenuEvent(Event):
"""Proxy of C++ MenuEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4058,6 +4143,7 @@ _core_.MenuEvent_swigregister(MenuEventPtr)
#---------------------------------------------------------------------------
class CloseEvent(Event):
"""Proxy of C++ CloseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4101,6 +4187,7 @@ _core_.CloseEvent_swigregister(CloseEventPtr)
#---------------------------------------------------------------------------
class ShowEvent(Event):
"""Proxy of C++ ShowEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4128,6 +4215,7 @@ _core_.ShowEvent_swigregister(ShowEventPtr)
#---------------------------------------------------------------------------
class IconizeEvent(Event):
"""Proxy of C++ IconizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4151,6 +4239,7 @@ _core_.IconizeEvent_swigregister(IconizeEventPtr)
#---------------------------------------------------------------------------
class MaximizeEvent(Event):
"""Proxy of C++ MaximizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4170,6 +4259,7 @@ _core_.MaximizeEvent_swigregister(MaximizeEventPtr)
#---------------------------------------------------------------------------
class DropFilesEvent(Event):
"""Proxy of C++ DropFilesEvent class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4198,6 +4288,7 @@ _core_.DropFilesEvent_swigregister(DropFilesEventPtr)
UPDATE_UI_PROCESS_ALL = _core_.UPDATE_UI_PROCESS_ALL
UPDATE_UI_PROCESS_SPECIFIED = _core_.UPDATE_UI_PROCESS_SPECIFIED
class UpdateUIEvent(CommandEvent):
"""Proxy of C++ UpdateUIEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4307,6 +4398,7 @@ def UpdateUIEvent_GetMode(*args, **kwargs):
#---------------------------------------------------------------------------
class SysColourChangedEvent(Event):
"""Proxy of C++ SysColourChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4326,6 +4418,7 @@ _core_.SysColourChangedEvent_swigregister(SysColourChangedEventPtr)
#---------------------------------------------------------------------------
class MouseCaptureChangedEvent(Event):
"""Proxy of C++ MouseCaptureChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4349,6 +4442,7 @@ _core_.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr)
#---------------------------------------------------------------------------
class DisplayChangedEvent(Event):
"""Proxy of C++ DisplayChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4368,6 +4462,7 @@ _core_.DisplayChangedEvent_swigregister(DisplayChangedEventPtr)
#---------------------------------------------------------------------------
class PaletteChangedEvent(Event):
"""Proxy of C++ PaletteChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4395,6 +4490,7 @@ _core_.PaletteChangedEvent_swigregister(PaletteChangedEventPtr)
#---------------------------------------------------------------------------
class QueryNewPaletteEvent(Event):
"""Proxy of C++ QueryNewPaletteEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4422,6 +4518,7 @@ _core_.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr)
#---------------------------------------------------------------------------
class NavigationKeyEvent(Event):
"""Proxy of C++ NavigationKeyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4472,6 +4569,7 @@ _core_.NavigationKeyEvent_swigregister(NavigationKeyEventPtr)
#---------------------------------------------------------------------------
class WindowCreateEvent(CommandEvent):
"""Proxy of C++ WindowCreateEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4493,6 +4591,7 @@ class WindowCreateEventPtr(WindowCreateEvent):
_core_.WindowCreateEvent_swigregister(WindowCreateEventPtr)
class WindowDestroyEvent(CommandEvent):
"""Proxy of C++ WindowDestroyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4516,6 +4615,7 @@ _core_.WindowDestroyEvent_swigregister(WindowDestroyEventPtr)
#---------------------------------------------------------------------------
class ContextMenuEvent(CommandEvent):
"""Proxy of C++ ContextMenuEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4545,6 +4645,7 @@ _core_.ContextMenuEvent_swigregister(ContextMenuEventPtr)
IDLE_PROCESS_ALL = _core_.IDLE_PROCESS_ALL
IDLE_PROCESS_SPECIFIED = _core_.IDLE_PROCESS_SPECIFIED
class IdleEvent(Event):
"""Proxy of C++ IdleEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4599,6 +4700,7 @@ def IdleEvent_CanSend(*args, **kwargs):
#---------------------------------------------------------------------------
class PyEvent(Event):
"""Proxy of C++ PyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4632,6 +4734,7 @@ class PyEventPtr(PyEvent):
_core_.PyEvent_swigregister(PyEventPtr)
class PyCommandEvent(CommandEvent):
"""Proxy of C++ PyCommandEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5496,6 +5599,7 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
#---------------------------------------------------------------------------
class EventLoop(object):
"""Proxy of C++ EventLoop class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEventLoop instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -7924,6 +8028,7 @@ def Window_FromHWND(*args, **kwargs):
#---------------------------------------------------------------------------
class Validator(EvtHandler):
"""Proxy of C++ Validator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -7985,6 +8090,7 @@ def Validator_SetBellOnError(*args, **kwargs):
return _core_.Validator_SetBellOnError(*args, **kwargs)
class PyValidator(Validator):
"""Proxy of C++ PyValidator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -8012,6 +8118,7 @@ _core_.PyValidator_swigregister(PyValidatorPtr)
#---------------------------------------------------------------------------
class Menu(EvtHandler):
"""Proxy of C++ Menu class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -8261,6 +8368,7 @@ DefaultValidator = cvar.DefaultValidator
#---------------------------------------------------------------------------
class MenuBar(Window):
"""Proxy of C++ MenuBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -8382,6 +8490,7 @@ _core_.MenuBar_swigregister(MenuBarPtr)
#---------------------------------------------------------------------------
class MenuItem(Object):
"""Proxy of C++ MenuItem class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,11 +3,53 @@
import _gdi_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
class GDIObject(_core.Object):
"""Proxy of C++ GDIObject class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -227,6 +269,7 @@ NamedColor = NamedColour
ColorRGB = ColourRGB
class Palette(GDIObject):
"""Proxy of C++ Palette class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -269,6 +312,7 @@ _gdi_.Palette_swigregister(PalettePtr)
#---------------------------------------------------------------------------
class Pen(GDIObject):
"""Proxy of C++ Pen class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -328,7 +372,7 @@ class Pen(GDIObject):
return _gdi_.Pen_SetWidth(*args, **kwargs)
def SetDashes(*args, **kwargs):
"""SetDashes(self, int dashes, wxDash dashes_array)"""
"""SetDashes(self, int dashes)"""
return _gdi_.Pen_SetDashes(*args, **kwargs)
def GetDashes(*args, **kwargs):
@ -757,6 +801,7 @@ _gdi_.Mask_swigregister(MaskPtr)
MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.")
class Icon(GDIObject):
"""Proxy of C++ Icon class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -841,6 +886,7 @@ def IconFromXPMData(*args, **kwargs):
return val
class IconLocation(object):
"""Proxy of C++ IconLocation class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -885,6 +931,7 @@ class IconLocationPtr(IconLocation):
_gdi_.IconLocation_swigregister(IconLocationPtr)
class IconBundle(object):
"""Proxy of C++ IconBundle class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1009,6 +1056,7 @@ OutRegion = _gdi_.OutRegion
PartRegion = _gdi_.PartRegion
InRegion = _gdi_.InRegion
class Region(GDIObject):
"""Proxy of C++ Region class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1136,12 +1184,13 @@ def RegionFromBitmapColour(*args, **kwargs):
return val
def RegionFromPoints(*args, **kwargs):
"""RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region"""
"""RegionFromPoints(int points, int fillStyle=WINDING_RULE) -> Region"""
val = _gdi_.new_RegionFromPoints(*args, **kwargs)
val.thisown = 1
return val
class RegionIterator(_core.Object):
"""Proxy of C++ RegionIterator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1337,6 +1386,7 @@ FONTENCODING_SHIFT_JIS = _gdi_.FONTENCODING_SHIFT_JIS
#---------------------------------------------------------------------------
class NativeFontInfo(object):
"""Proxy of C++ NativeFontInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1444,6 +1494,7 @@ class NativeFontInfoPtr(NativeFontInfo):
_gdi_.NativeFontInfo_swigregister(NativeFontInfoPtr)
class NativeEncodingInfo(object):
"""Proxy of C++ NativeEncodingInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
facename = property(_gdi_.NativeEncodingInfo_facename_get, _gdi_.NativeEncodingInfo_facename_set)
@ -1487,6 +1538,7 @@ def TestFontEncoding(*args, **kwargs):
#---------------------------------------------------------------------------
class FontMapper(object):
"""Proxy of C++ FontMapper class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1612,6 +1664,7 @@ def FontMapper_GetDefaultConfigPath(*args, **kwargs):
#---------------------------------------------------------------------------
class Font(GDIObject):
"""Proxy of C++ Font class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1824,6 +1877,7 @@ def Font_SetDefaultEncoding(*args, **kwargs):
#---------------------------------------------------------------------------
class FontEnumerator(object):
"""Proxy of C++ FontEnumerator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2102,6 +2156,7 @@ LANGUAGE_ZHUANG = _gdi_.LANGUAGE_ZHUANG
LANGUAGE_ZULU = _gdi_.LANGUAGE_ZULU
LANGUAGE_USER_DEFINED = _gdi_.LANGUAGE_USER_DEFINED
class LanguageInfo(object):
"""Proxy of C++ LanguageInfo class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -2125,6 +2180,7 @@ LOCALE_DECIMAL_POINT = _gdi_.LOCALE_DECIMAL_POINT
LOCALE_LOAD_DEFAULT = _gdi_.LOCALE_LOAD_DEFAULT
LOCALE_CONV_ENCODING = _gdi_.LOCALE_CONV_ENCODING
class Locale(object):
"""Proxy of C++ Locale class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2289,6 +2345,7 @@ PLATFORM_WINDOWS = _gdi_.PLATFORM_WINDOWS
PLATFORM_OS2 = _gdi_.PLATFORM_OS2
PLATFORM_MAC = _gdi_.PLATFORM_MAC
class EncodingConverter(_core.Object):
"""Proxy of C++ EncodingConverter class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4282,6 +4339,7 @@ def PostScriptDC_GetResolution(*args, **kwargs):
#---------------------------------------------------------------------------
class MetaFile(_core.Object):
"""Proxy of C++ MetaFile class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4299,6 +4357,7 @@ class MetaFilePtr(MetaFile):
_gdi_.MetaFile_swigregister(MetaFilePtr)
class MetaFileDC(DC):
"""Proxy of C++ MetaFileDC class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4319,6 +4378,7 @@ class MetaFileDCPtr(MetaFileDC):
_gdi_.MetaFileDC_swigregister(MetaFileDCPtr)
class PrinterDC(DC):
"""Proxy of C++ PrinterDC class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4345,6 +4405,7 @@ IMAGE_LIST_NORMAL = _gdi_.IMAGE_LIST_NORMAL
IMAGE_LIST_SMALL = _gdi_.IMAGE_LIST_SMALL
IMAGE_LIST_STATE = _gdi_.IMAGE_LIST_STATE
class ImageList(_core.Object):
"""Proxy of C++ ImageList class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4409,6 +4470,7 @@ _gdi_.ImageList_swigregister(ImageListPtr)
#---------------------------------------------------------------------------
class PenList(_core.Object):
"""Proxy of C++ PenList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4480,6 +4542,7 @@ NullFont = cvar.NullFont
NullColour = cvar.NullColour
class BrushList(_core.Object):
"""Proxy of C++ BrushList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4508,6 +4571,7 @@ class BrushListPtr(BrushList):
_gdi_.BrushList_swigregister(BrushListPtr)
class ColourDatabase(_core.Object):
"""Proxy of C++ ColourDatabase class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4548,6 +4612,7 @@ class ColourDatabasePtr(ColourDatabase):
_gdi_.ColourDatabase_swigregister(ColourDatabasePtr)
class FontList(_core.Object):
"""Proxy of C++ FontList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4585,6 +4650,7 @@ NullColor = NullColour
#---------------------------------------------------------------------------
class Effects(_core.Object):
"""Proxy of C++ Effects class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,47 @@
import _misc_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
@ -99,6 +140,7 @@ SYS_SCREEN_PDA = _misc_.SYS_SCREEN_PDA
SYS_SCREEN_SMALL = _misc_.SYS_SCREEN_SMALL
SYS_SCREEN_DESKTOP = _misc_.SYS_SCREEN_DESKTOP
class SystemSettings(object):
"""Proxy of C++ SystemSettings class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -165,6 +207,7 @@ def SystemSettings_SetScreenType(*args, **kwargs):
return _misc_.SystemSettings_SetScreenType(*args, **kwargs)
class SystemOptions(_core.Object):
"""Proxy of C++ SystemOptions class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -412,17 +455,17 @@ def GetPasswordFromUser(*args, **kwargs):
def GetSingleChoice(*args, **kwargs):
"""
GetSingleChoice(String message, String caption, int choices, String choices_array,
Window parent=None, int x=-1,
int y=-1, bool centre=True, int width=150, int height=200) -> String
GetSingleChoice(String message, String caption, int choices, Window parent=None,
int x=-1, int y=-1, bool centre=True,
int width=150, int height=200) -> String
"""
return _misc_.GetSingleChoice(*args, **kwargs)
def GetSingleChoiceIndex(*args, **kwargs):
"""
GetSingleChoiceIndex(String message, String caption, int choices, String choices_array,
Window parent=None, int x=-1,
int y=-1, bool centre=True, int width=150, int height=200) -> int
GetSingleChoiceIndex(String message, String caption, int choices, Window parent=None,
int x=-1, int y=-1, bool centre=True,
int width=150, int height=200) -> int
"""
return _misc_.GetSingleChoiceIndex(*args, **kwargs)
@ -525,6 +568,7 @@ def MutexGuiLeave(*args, **kwargs):
"""MutexGuiLeave()"""
return _misc_.MutexGuiLeave(*args, **kwargs)
class MutexGuiLocker(object):
"""Proxy of C++ MutexGuiLocker class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -557,6 +601,7 @@ def Thread_IsMain(*args, **kwargs):
#---------------------------------------------------------------------------
class ToolTip(_core.Object):
"""Proxy of C++ ToolTip class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -604,6 +649,7 @@ def ToolTip_SetDelay(*args, **kwargs):
return _misc_.ToolTip_SetDelay(*args, **kwargs)
class Caret(object):
"""Proxy of C++ Caret class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -688,6 +734,7 @@ def Caret_SetBlinkTime(*args, **kwargs):
"""Caret_SetBlinkTime(int milliseconds)"""
return _misc_.Caret_SetBlinkTime(*args, **kwargs)
class BusyCursor(object):
"""Proxy of C++ BusyCursor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -711,6 +758,7 @@ class BusyCursorPtr(BusyCursor):
_misc_.BusyCursor_swigregister(BusyCursorPtr)
class WindowDisabler(object):
"""Proxy of C++ WindowDisabler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -734,6 +782,7 @@ class WindowDisablerPtr(WindowDisabler):
_misc_.WindowDisabler_swigregister(WindowDisablerPtr)
class BusyInfo(_core.Object):
"""Proxy of C++ BusyInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -757,6 +806,7 @@ class BusyInfoPtr(BusyInfo):
_misc_.BusyInfo_swigregister(BusyInfoPtr)
class StopWatch(object):
"""Proxy of C++ StopWatch class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -790,6 +840,7 @@ class StopWatchPtr(StopWatch):
_misc_.StopWatch_swigregister(StopWatchPtr)
class FileHistory(_core.Object):
"""Proxy of C++ FileHistory class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -858,6 +909,7 @@ class FileHistoryPtr(FileHistory):
_misc_.FileHistory_swigregister(FileHistoryPtr)
class SingleInstanceChecker(object):
"""Proxy of C++ SingleInstanceChecker class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -901,6 +953,7 @@ def DrawWindowOnDC(*args, **kwargs):
#---------------------------------------------------------------------------
class TipProvider(object):
"""Proxy of C++ TipProvider class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -931,6 +984,7 @@ class TipProviderPtr(TipProvider):
_misc_.TipProvider_swigregister(TipProviderPtr)
class PyTipProvider(TipProvider):
"""Proxy of C++ PyTipProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -967,6 +1021,7 @@ TIMER_CONTINUOUS = _misc_.TIMER_CONTINUOUS
TIMER_ONE_SHOT = _misc_.TIMER_ONE_SHOT
wxEVT_TIMER = _misc_.wxEVT_TIMER
class Timer(_core.EvtHandler):
"""Proxy of C++ Timer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1046,6 +1101,7 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
class TimerEvent(_core.Event):
"""Proxy of C++ TimerEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1067,6 +1123,7 @@ class TimerEventPtr(TimerEvent):
_misc_.TimerEvent_swigregister(TimerEventPtr)
class TimerRunner(object):
"""Proxy of C++ TimerRunner class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -1120,6 +1177,7 @@ TraceResAlloc = _misc_.TraceResAlloc
TraceRefCount = _misc_.TraceRefCount
TraceOleCalls = _misc_.TraceOleCalls
class Log(object):
"""Proxy of C++ Log class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1352,6 +1410,7 @@ def Log_TimeStamp(*args, **kwargs):
return _misc_.Log_TimeStamp(*args, **kwargs)
class LogStderr(Log):
"""Proxy of C++ LogStderr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1369,6 +1428,7 @@ class LogStderrPtr(LogStderr):
_misc_.LogStderr_swigregister(LogStderrPtr)
class LogTextCtrl(Log):
"""Proxy of C++ LogTextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1386,6 +1446,7 @@ class LogTextCtrlPtr(LogTextCtrl):
_misc_.LogTextCtrl_swigregister(LogTextCtrlPtr)
class LogGui(Log):
"""Proxy of C++ LogGui class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1403,6 +1464,7 @@ class LogGuiPtr(LogGui):
_misc_.LogGui_swigregister(LogGuiPtr)
class LogWindow(Log):
"""Proxy of C++ LogWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1440,6 +1502,7 @@ class LogWindowPtr(LogWindow):
_misc_.LogWindow_swigregister(LogWindowPtr)
class LogChain(Log):
"""Proxy of C++ LogChain class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1529,6 +1592,7 @@ def SafeShowMessage(*args, **kwargs):
"""SafeShowMessage(String title, String text)"""
return _misc_.SafeShowMessage(*args, **kwargs)
class LogNull(object):
"""Proxy of C++ LogNull class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1559,6 +1623,7 @@ def LogTrace(*args):
return _misc_.LogTrace(*args)
class PyLog(Log):
"""Proxy of C++ PyLog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1610,6 +1675,7 @@ SIGPIPE = _misc_.SIGPIPE
SIGALRM = _misc_.SIGALRM
SIGTERM = _misc_.SIGTERM
class Process(_core.EvtHandler):
"""Proxy of C++ Process class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Kill(*args, **kwargs):
@ -1704,6 +1770,7 @@ def Process_Open(*args, **kwargs):
return _misc_.Process_Open(*args, **kwargs)
class ProcessEvent(_core.Event):
"""Proxy of C++ ProcessEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1756,6 +1823,7 @@ JOY_BUTTON2 = _misc_.JOY_BUTTON2
JOY_BUTTON3 = _misc_.JOY_BUTTON3
JOY_BUTTON4 = _misc_.JOY_BUTTON4
class Joystick(object):
"""Proxy of C++ Joystick class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1952,6 +2020,7 @@ wxEVT_JOY_BUTTON_UP = _misc_.wxEVT_JOY_BUTTON_UP
wxEVT_JOY_MOVE = _misc_.wxEVT_JOY_MOVE
wxEVT_JOY_ZMOVE = _misc_.wxEVT_JOY_ZMOVE
class JoystickEvent(_core.Event):
"""Proxy of C++ JoystickEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
m_pos = property(_misc_.JoystickEvent_m_pos_get, _misc_.JoystickEvent_m_pos_set)
@ -2058,6 +2127,7 @@ SOUND_SYNC = _misc_.SOUND_SYNC
SOUND_ASYNC = _misc_.SOUND_ASYNC
SOUND_LOOP = _misc_.SOUND_LOOP
class Sound(object):
"""Proxy of C++ Sound class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSound instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2129,6 +2199,7 @@ MAILCAP_KDE = _misc_.MAILCAP_KDE
MAILCAP_GNOME = _misc_.MAILCAP_GNOME
MAILCAP_ALL = _misc_.MAILCAP_ALL
class FileTypeInfo(object):
"""Proxy of C++ FileTypeInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2206,6 +2277,7 @@ def NullFileTypeInfo(*args, **kwargs):
return val
class FileType(object):
"""Proxy of C++ FileType class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2286,6 +2358,7 @@ def FileType_ExpandCommand(*args, **kwargs):
return _misc_.FileType_ExpandCommand(*args, **kwargs)
class MimeTypesManager(object):
"""Proxy of C++ MimeTypesManager class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def IsOfType(*args, **kwargs):
@ -3090,6 +3163,7 @@ def ExpandEnvVars(*args, **kwargs):
#---------------------------------------------------------------------------
class DateTime(object):
"""Proxy of C++ DateTime class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
Local = _misc_.DateTime_Local
@ -3857,6 +3931,7 @@ def DateTime_SetToWeekOfYear(*args, **kwargs):
return _misc_.DateTime_SetToWeekOfYear(*args, **kwargs)
class TimeSpan(object):
"""Proxy of C++ TimeSpan class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Seconds(*args, **kwargs):
@ -4103,6 +4178,7 @@ def TimeSpan_Week(*args, **kwargs):
return _misc_.TimeSpan_Week(*args, **kwargs)
class DateSpan(object):
"""Proxy of C++ DateSpan class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5032,6 +5108,7 @@ class URLDataObjectPtr(URLDataObject):
_misc_.URLDataObject_swigregister(URLDataObjectPtr)
class MetafileDataObject(DataObjectSimple):
"""Proxy of C++ MetafileDataObject class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5064,6 +5141,7 @@ def IsDragResultOk(*args, **kwargs):
"""IsDragResultOk(int res) -> bool"""
return _misc_.IsDragResultOk(*args, **kwargs)
class DropSource(object):
"""Proxy of C++ DropSource class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5116,6 +5194,7 @@ class DropSourcePtr(DropSource):
_misc_.DropSource_swigregister(DropSourcePtr)
class DropTarget(object):
"""Proxy of C++ DropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5174,6 +5253,7 @@ _misc_.DropTarget_swigregister(DropTargetPtr)
PyDropTarget = DropTarget
class TextDropTarget(DropTarget):
"""Proxy of C++ TextDropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5217,6 +5297,7 @@ class TextDropTargetPtr(TextDropTarget):
_misc_.TextDropTarget_swigregister(TextDropTargetPtr)
class FileDropTarget(DropTarget):
"""Proxy of C++ FileDropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because it is too large Load Diff

View File

@ -3,11 +3,53 @@
import _windows_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
class Panel(_core.Window):
"""Proxy of C++ Panel class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -115,6 +157,7 @@ def Panel_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ScrolledWindow(Panel):
"""Proxy of C++ ScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -323,6 +366,7 @@ TOPLEVEL_EX_DIALOG = _windows_.TOPLEVEL_EX_DIALOG
USER_ATTENTION_INFO = _windows_.USER_ATTENTION_INFO
USER_ATTENTION_ERROR = _windows_.USER_ATTENTION_ERROR
class TopLevelWindow(_core.Window):
"""Proxy of C++ TopLevelWindow class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -418,6 +462,7 @@ ToolBarNameStr = cvar.ToolBarNameStr
#---------------------------------------------------------------------------
class Frame(TopLevelWindow):
"""Proxy of C++ Frame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -487,7 +532,7 @@ class Frame(TopLevelWindow):
return _windows_.Frame_SetStatusText(*args, **kwargs)
def SetStatusWidths(*args, **kwargs):
"""SetStatusWidths(self, int widths, int widths_field)"""
"""SetStatusWidths(self, int widths)"""
return _windows_.Frame_SetStatusWidths(*args, **kwargs)
def PushStatusText(*args, **kwargs):
@ -578,6 +623,7 @@ def Frame_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class Dialog(TopLevelWindow):
"""Proxy of C++ Dialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -683,6 +729,7 @@ def Dialog_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class MiniFrame(Frame):
"""Proxy of C++ MiniFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -727,6 +774,7 @@ SPLASH_NO_CENTRE = _windows_.SPLASH_NO_CENTRE
SPLASH_TIMEOUT = _windows_.SPLASH_TIMEOUT
SPLASH_NO_TIMEOUT = _windows_.SPLASH_NO_TIMEOUT
class SplashScreenWindow(_core.Window):
"""Proxy of C++ SplashScreenWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -757,6 +805,7 @@ class SplashScreenWindowPtr(SplashScreenWindow):
_windows_.SplashScreenWindow_swigregister(SplashScreenWindowPtr)
class SplashScreen(Frame):
"""Proxy of C++ SplashScreen class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -797,6 +846,7 @@ SB_NORMAL = _windows_.SB_NORMAL
SB_FLAT = _windows_.SB_FLAT
SB_RAISED = _windows_.SB_RAISED
class StatusBar(_core.Window):
"""Proxy of C++ StatusBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -839,11 +889,11 @@ class StatusBar(_core.Window):
return _windows_.StatusBar_PopStatusText(*args, **kwargs)
def SetStatusWidths(*args, **kwargs):
"""SetStatusWidths(self, int widths, int widths_field)"""
"""SetStatusWidths(self, int widths)"""
return _windows_.StatusBar_SetStatusWidths(*args, **kwargs)
def SetStatusStyles(*args, **kwargs):
"""SetStatusStyles(self, int styles, int styles_field)"""
"""SetStatusStyles(self, int styles)"""
return _windows_.StatusBar_SetStatusStyles(*args, **kwargs)
def GetFieldRect(*args, **kwargs):
@ -1344,6 +1394,7 @@ SASH_BOTTOM = _windows_.SASH_BOTTOM
SASH_LEFT = _windows_.SASH_LEFT
SASH_NONE = _windows_.SASH_NONE
class SashWindow(_core.Window):
"""Proxy of C++ SashWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1461,6 +1512,7 @@ def PreSashWindow(*args, **kwargs):
SASH_STATUS_OK = _windows_.SASH_STATUS_OK
SASH_STATUS_OUT_OF_RANGE = _windows_.SASH_STATUS_OUT_OF_RANGE
class SashEvent(_core.CommandEvent):
"""Proxy of C++ SashEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1521,6 +1573,7 @@ LAYOUT_QUERY = _windows_.LAYOUT_QUERY
wxEVT_QUERY_LAYOUT_INFO = _windows_.wxEVT_QUERY_LAYOUT_INFO
wxEVT_CALCULATE_LAYOUT = _windows_.wxEVT_CALCULATE_LAYOUT
class QueryLayoutInfoEvent(_core.Event):
"""Proxy of C++ QueryLayoutInfoEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1578,6 +1631,7 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent):
_windows_.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr)
class CalculateLayoutEvent(_core.Event):
"""Proxy of C++ CalculateLayoutEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1614,6 +1668,7 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
class SashLayoutWindow(SashWindow):
"""Proxy of C++ SashLayoutWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1671,6 +1726,7 @@ def PreSashLayoutWindow(*args, **kwargs):
return val
class LayoutAlgorithm(_core.Object):
"""Proxy of C++ LayoutAlgorithm class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1708,6 +1764,7 @@ _windows_.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr)
#---------------------------------------------------------------------------
class PopupWindow(_core.Window):
"""Proxy of C++ PopupWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1743,6 +1800,7 @@ def PrePopupWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class PopupTransientWindow(PopupWindow):
"""Proxy of C++ PopupTransientWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1782,6 +1840,7 @@ def PrePopupTransientWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class TipWindow(PopupTransientWindow):
"""Proxy of C++ TipWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1797,7 +1856,14 @@ class TipWindow(PopupTransientWindow):
return _windows_.TipWindow_SetBoundingRect(*args, **kwargs)
def Close(*args, **kwargs):
"""Close(self)"""
"""
Close(self)
This function simply generates a EVT_CLOSE event whose handler usually
tries to close the window. It doesn't close the window itself,
however. If force is False (the default) then the window's close
handler will be allowed to veto the destruction of the window.
"""
return _windows_.TipWindow_Close(*args, **kwargs)
@ -1811,6 +1877,7 @@ _windows_.TipWindow_swigregister(TipWindowPtr)
#---------------------------------------------------------------------------
class VScrolledWindow(Panel):
"""Proxy of C++ VScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1924,6 +1991,7 @@ def PreVScrolledWindow(*args, **kwargs):
return val
class VListBox(VScrolledWindow):
"""Proxy of C++ VListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2048,6 +2116,7 @@ def PreVListBox(*args, **kwargs):
return val
class HtmlListBox(VListBox):
"""Proxy of C++ HtmlListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2101,6 +2170,7 @@ def PreHtmlListBox(*args, **kwargs):
#---------------------------------------------------------------------------
class TaskBarIcon(_core.EvtHandler):
"""Proxy of C++ TaskBarIcon class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2153,6 +2223,7 @@ class TaskBarIconPtr(TaskBarIcon):
_windows_.TaskBarIcon_swigregister(TaskBarIconPtr)
class TaskBarIconEvent(_core.Event):
"""Proxy of C++ TaskBarIconEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2693,6 +2764,7 @@ class TextEntryDialogPtr(TextEntryDialog):
_windows_.TextEntryDialog_swigregister(TextEntryDialogPtr)
class PasswordEntryDialog(TextEntryDialog):
"""Proxy of C++ PasswordEntryDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3245,6 +3317,7 @@ IDM_WINDOWTILEVERT = _windows_.IDM_WINDOWTILEVERT
FIRST_MDI_CHILD = _windows_.FIRST_MDI_CHILD
LAST_MDI_CHILD = _windows_.LAST_MDI_CHILD
class MDIParentFrame(Frame):
"""Proxy of C++ MDIParentFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3316,6 +3389,7 @@ def PreMDIParentFrame(*args, **kwargs):
return val
class MDIChildFrame(Frame):
"""Proxy of C++ MDIChildFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3367,6 +3441,7 @@ def PreMDIChildFrame(*args, **kwargs):
return val
class MDIClientWindow(_core.Window):
"""Proxy of C++ MDIClientWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3398,6 +3473,7 @@ def PreMDIClientWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class PyWindow(_core.Window):
"""Proxy of C++ PyWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3518,6 +3594,7 @@ def PrePyWindow(*args, **kwargs):
return val
class PyPanel(Panel):
"""Proxy of C++ PyPanel class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3638,6 +3715,7 @@ def PrePyPanel(*args, **kwargs):
return val
class PyScrolledWindow(ScrolledWindow):
"""Proxy of C++ PyScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3780,6 +3858,7 @@ PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
PRINTBIN_USER = _windows_.PRINTBIN_USER
class PrintData(_core.Object):
"""Proxy of C++ PrintData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -3981,6 +4060,7 @@ PrintoutTitleStr = cvar.PrintoutTitleStr
PreviewCanvasNameStr = cvar.PreviewCanvasNameStr
class PageSetupDialogData(_core.Object):
"""Proxy of C++ PageSetupDialogData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4124,6 +4204,7 @@ class PageSetupDialogDataPtr(PageSetupDialogData):
_windows_.PageSetupDialogData_swigregister(PageSetupDialogDataPtr)
class PageSetupDialog(_core.Object):
"""Proxy of C++ PageSetupDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4153,6 +4234,7 @@ class PageSetupDialogPtr(PageSetupDialog):
_windows_.PageSetupDialog_swigregister(PageSetupDialogPtr)
class PrintDialogData(_core.Object):
"""Proxy of C++ PrintDialogData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4304,6 +4386,7 @@ class PrintDialogDataPtr(PrintDialogData):
_windows_.PrintDialogData_swigregister(PrintDialogDataPtr)
class PrintDialog(_core.Object):
"""Proxy of C++ PrintDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4340,6 +4423,7 @@ PRINTER_NO_ERROR = _windows_.PRINTER_NO_ERROR
PRINTER_CANCELLED = _windows_.PRINTER_CANCELLED
PRINTER_ERROR = _windows_.PRINTER_ERROR
class Printer(_core.Object):
"""Proxy of C++ Printer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4400,6 +4484,7 @@ def Printer_GetLastError(*args, **kwargs):
return _windows_.Printer_GetLastError(*args, **kwargs)
class Printout(_core.Object):
"""Proxy of C++ Printout class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4503,6 +4588,7 @@ class PrintoutPtr(Printout):
_windows_.Printout_swigregister(PrintoutPtr)
class PreviewCanvas(ScrolledWindow):
"""Proxy of C++ PreviewCanvas class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4526,6 +4612,7 @@ class PreviewCanvasPtr(PreviewCanvas):
_windows_.PreviewCanvas_swigregister(PreviewCanvasPtr)
class PreviewFrame(Frame):
"""Proxy of C++ PreviewFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4581,6 +4668,7 @@ ID_PREVIEW_FIRST = _windows_.ID_PREVIEW_FIRST
ID_PREVIEW_LAST = _windows_.ID_PREVIEW_LAST
ID_PREVIEW_GOTO = _windows_.ID_PREVIEW_GOTO
class PreviewControlBar(Panel):
"""Proxy of C++ PreviewControlBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4636,6 +4724,7 @@ class PreviewControlBarPtr(PreviewControlBar):
_windows_.PreviewControlBar_swigregister(PreviewControlBarPtr)
class PrintPreview(_core.Object):
"""Proxy of C++ PrintPreview class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4745,6 +4834,7 @@ class PrintPreviewPtr(PrintPreview):
_windows_.PrintPreview_swigregister(PrintPreviewPtr)
class PyPrintPreview(PrintPreview):
"""Proxy of C++ PyPrintPreview class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4799,6 +4889,7 @@ class PyPrintPreviewPtr(PyPrintPreview):
_windows_.PyPrintPreview_swigregister(PyPrintPreviewPtr)
class PyPreviewFrame(PreviewFrame):
"""Proxy of C++ PyPreviewFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4846,6 +4937,7 @@ class PyPreviewFramePtr(PyPreviewFrame):
_windows_.PyPreviewFrame_swigregister(PyPreviewFramePtr)
class PyPreviewControlBar(PreviewControlBar):
"""Proxy of C++ PyPreviewControlBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,47 @@ Classes for an interactive Calendar control.
import _calendar
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _misc
import _core
wx = _core
@ -123,6 +164,7 @@ class CalendarDateAttrPtr(CalendarDateAttr):
_calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr)
class CalendarEvent(_core.CommandEvent):
"""Proxy of C++ CalendarEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,47 @@ Classes for implementing a spreadsheet-like control.
import _grid
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
@ -31,6 +72,7 @@ GRID_MIN_ROW_HEIGHT = _grid.GRID_MIN_ROW_HEIGHT
GRID_MIN_COL_WIDTH = _grid.GRID_MIN_COL_WIDTH
GRID_DEFAULT_SCROLLBAR_WIDTH = _grid.GRID_DEFAULT_SCROLLBAR_WIDTH
class GridCellRenderer(object):
"""Proxy of C++ GridCellRenderer class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -78,6 +120,7 @@ GridNoCellCoords = cvar.GridNoCellCoords
GridNoCellRect = cvar.GridNoCellRect
class PyGridCellRenderer(GridCellRenderer):
"""Proxy of C++ PyGridCellRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -105,6 +148,7 @@ class PyGridCellRendererPtr(PyGridCellRenderer):
_grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr)
class GridCellStringRenderer(GridCellRenderer):
"""Proxy of C++ GridCellStringRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -124,6 +168,7 @@ class GridCellStringRendererPtr(GridCellStringRenderer):
_grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr)
class GridCellNumberRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellNumberRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -143,6 +188,7 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer):
_grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr)
class GridCellFloatRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellFloatRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -178,6 +224,7 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer):
_grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr)
class GridCellBoolRenderer(GridCellRenderer):
"""Proxy of C++ GridCellBoolRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -197,6 +244,7 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer):
_grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr)
class GridCellDateTimeRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellDateTimeRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -216,6 +264,7 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer):
_grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr)
class GridCellEnumRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellEnumRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -235,6 +284,7 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer):
_grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr)
class GridCellAutoWrapStringRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellAutoWrapStringRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -254,6 +304,7 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer):
_grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr)
class GridCellEditor(object):
"""Proxy of C++ GridCellEditor class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -354,6 +405,7 @@ class GridCellEditorPtr(GridCellEditor):
_grid.GridCellEditor_swigregister(GridCellEditorPtr)
class PyGridCellEditor(GridCellEditor):
"""Proxy of C++ PyGridCellEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -413,6 +465,7 @@ class PyGridCellEditorPtr(PyGridCellEditor):
_grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr)
class GridCellTextEditor(GridCellEditor):
"""Proxy of C++ GridCellTextEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -436,6 +489,7 @@ class GridCellTextEditorPtr(GridCellTextEditor):
_grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr)
class GridCellNumberEditor(GridCellTextEditor):
"""Proxy of C++ GridCellNumberEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -459,6 +513,7 @@ class GridCellNumberEditorPtr(GridCellNumberEditor):
_grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr)
class GridCellFloatEditor(GridCellTextEditor):
"""Proxy of C++ GridCellFloatEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -482,6 +537,7 @@ class GridCellFloatEditorPtr(GridCellFloatEditor):
_grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr)
class GridCellBoolEditor(GridCellEditor):
"""Proxy of C++ GridCellBoolEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -505,10 +561,11 @@ class GridCellBoolEditorPtr(GridCellBoolEditor):
_grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr)
class GridCellChoiceEditor(GridCellEditor):
"""Proxy of C++ GridCellChoiceEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor"""
"""__init__(self, int choices=0, bool allowOthers=False) -> GridCellChoiceEditor"""
newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
@ -528,6 +585,7 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor):
_grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr)
class GridCellEnumEditor(GridCellChoiceEditor):
"""Proxy of C++ GridCellEnumEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -551,6 +609,7 @@ class GridCellEnumEditorPtr(GridCellEnumEditor):
_grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr)
class GridCellAutoWrapStringEditor(GridCellTextEditor):
"""Proxy of C++ GridCellAutoWrapStringEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -574,6 +633,7 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor):
_grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr)
class GridCellAttr(object):
"""Proxy of C++ GridCellAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
Any = _grid.GridCellAttr_Any
@ -735,6 +795,7 @@ class GridCellAttrPtr(GridCellAttr):
_grid.GridCellAttr_swigregister(GridCellAttrPtr)
class GridCellAttrProvider(object):
"""Proxy of C++ GridCellAttrProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -782,6 +843,7 @@ class GridCellAttrProviderPtr(GridCellAttrProvider):
_grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr)
class PyGridCellAttrProvider(GridCellAttrProvider):
"""Proxy of C++ PyGridCellAttrProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -821,6 +883,7 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider):
_grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr)
class GridTableBase(_core.Object):
"""Proxy of C++ GridTableBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -973,6 +1036,7 @@ class GridTableBasePtr(GridTableBase):
_grid.GridTableBase_swigregister(GridTableBasePtr)
class PyGridTableBase(GridTableBase):
"""Proxy of C++ PyGridTableBase class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1080,6 +1144,7 @@ class PyGridTableBasePtr(PyGridTableBase):
_grid.PyGridTableBase_swigregister(PyGridTableBasePtr)
class GridStringTable(GridTableBase):
"""Proxy of C++ GridStringTable class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1107,6 +1172,7 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED
GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED
GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED
class GridTableMessage(object):
"""Proxy of C++ GridTableMessage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1162,6 +1228,7 @@ class GridTableMessagePtr(GridTableMessage):
_grid.GridTableMessage_swigregister(GridTableMessagePtr)
class GridCellCoords(object):
"""Proxy of C++ GridCellCoords class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1227,6 +1294,7 @@ class GridCellCoordsPtr(GridCellCoords):
_grid.GridCellCoords_swigregister(GridCellCoordsPtr)
class Grid(_windows.ScrolledWindow):
"""Proxy of C++ Grid class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2100,6 +2168,7 @@ def Grid_GetClassDefaultAttributes(*args, **kwargs):
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
class GridEvent(_core.NotifyEvent):
"""Proxy of C++ GridEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2154,6 +2223,7 @@ class GridEventPtr(GridEvent):
_grid.GridEvent_swigregister(GridEventPtr)
class GridSizeEvent(_core.NotifyEvent):
"""Proxy of C++ GridSizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2199,6 +2269,7 @@ class GridSizeEventPtr(GridSizeEvent):
_grid.GridSizeEvent_swigregister(GridSizeEventPtr)
class GridRangeSelectEvent(_core.NotifyEvent):
"""Proxy of C++ GridRangeSelectEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2265,6 +2336,7 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent):
_grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr)
class GridEditorCreatedEvent(_core.CommandEvent):
"""Proxy of C++ GridEditorCreatedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,47 @@ Classes for a simple HTML rendering window, HTML Help Window, etc.
import _html
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
@ -50,6 +91,7 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE
HTML_URL_IMAGE = _html.HTML_URL_IMAGE
HTML_URL_OTHER = _html.HTML_URL_OTHER
class HtmlLinkInfo(_core.Object):
"""Proxy of C++ HtmlLinkInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -95,6 +137,7 @@ HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
class HtmlTag(_core.Object):
"""Proxy of C++ HtmlTag class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -139,6 +182,7 @@ class HtmlTagPtr(HtmlTag):
_html.HtmlTag_swigregister(HtmlTagPtr)
class HtmlParser(_core.Object):
"""Proxy of C++ HtmlParser class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -195,6 +239,7 @@ class HtmlParserPtr(HtmlParser):
_html.HtmlParser_swigregister(HtmlParserPtr)
class HtmlWinParser(HtmlParser):
"""Proxy of C++ HtmlWinParser class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -332,6 +377,7 @@ class HtmlWinParserPtr(HtmlWinParser):
_html.HtmlWinParser_swigregister(HtmlWinParserPtr)
class HtmlTagHandler(_core.Object):
"""Proxy of C++ HtmlTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -367,6 +413,7 @@ class HtmlTagHandlerPtr(HtmlTagHandler):
_html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr)
class HtmlWinTagHandler(HtmlTagHandler):
"""Proxy of C++ HtmlWinTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -408,6 +455,7 @@ def HtmlWinParser_AddTagHandler(*args, **kwargs):
#---------------------------------------------------------------------------
class HtmlSelection(object):
"""Proxy of C++ HtmlSelection class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -482,6 +530,7 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT
HTML_SEL_IN = _html.HTML_SEL_IN
HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
class HtmlRenderingState(object):
"""Proxy of C++ HtmlRenderingState class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -529,6 +578,7 @@ class HtmlRenderingStatePtr(HtmlRenderingState):
_html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr)
class HtmlRenderingStyle(object):
"""Proxy of C++ HtmlRenderingStyle class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -549,6 +599,7 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle):
_html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr)
class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
"""Proxy of C++ DefaultHtmlRenderingStyle class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -569,6 +620,7 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle):
_html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr)
class HtmlRenderingInfo(object):
"""Proxy of C++ HtmlRenderingInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -617,6 +669,7 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT
HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
class HtmlCell(_core.Object):
"""Proxy of C++ HtmlCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -766,6 +819,7 @@ class HtmlCellPtr(HtmlCell):
_html.HtmlCell_swigregister(HtmlCellPtr)
class HtmlWordCell(HtmlCell):
"""Proxy of C++ HtmlWordCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -783,6 +837,7 @@ class HtmlWordCellPtr(HtmlWordCell):
_html.HtmlWordCell_swigregister(HtmlWordCellPtr)
class HtmlContainerCell(HtmlCell):
"""Proxy of C++ HtmlContainerCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -864,6 +919,7 @@ class HtmlContainerCellPtr(HtmlContainerCell):
_html.HtmlContainerCell_swigregister(HtmlContainerCellPtr)
class HtmlColourCell(HtmlCell):
"""Proxy of C++ HtmlColourCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -881,6 +937,7 @@ class HtmlColourCellPtr(HtmlColourCell):
_html.HtmlColourCell_swigregister(HtmlColourCellPtr)
class HtmlFontCell(HtmlCell):
"""Proxy of C++ HtmlFontCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -898,6 +955,7 @@ class HtmlFontCellPtr(HtmlFontCell):
_html.HtmlFontCell_swigregister(HtmlFontCellPtr)
class HtmlWidgetCell(HtmlCell):
"""Proxy of C++ HtmlWidgetCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -917,6 +975,7 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr)
#---------------------------------------------------------------------------
class HtmlFilter(_core.Object):
"""Proxy of C++ HtmlFilter class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -942,6 +1001,7 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr)
#---------------------------------------------------------------------------
class HtmlWindow(_windows.ScrolledWindow):
"""Proxy of C++ HtmlWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1165,6 +1225,7 @@ def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class HtmlDCRenderer(_core.Object):
"""Proxy of C++ HtmlDCRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1222,6 +1283,7 @@ PAGE_ODD = _html.PAGE_ODD
PAGE_EVEN = _html.PAGE_EVEN
PAGE_ALL = _html.PAGE_ALL
class HtmlPrintout(_windows.Printout):
"""Proxy of C++ HtmlPrintout class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1288,6 +1350,7 @@ def HtmlPrintout_CleanUpStatics(*args, **kwargs):
return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
class HtmlEasyPrinting(_core.Object):
"""Proxy of C++ HtmlEasyPrinting class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1357,6 +1420,7 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr)
#---------------------------------------------------------------------------
class HtmlBookRecord(object):
"""Proxy of C++ HtmlBookRecord class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1418,6 +1482,7 @@ class HtmlBookRecordPtr(HtmlBookRecord):
_html.HtmlBookRecord_swigregister(HtmlBookRecordPtr)
class HtmlContentsItem(object):
"""Proxy of C++ HtmlContentsItem class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1450,6 +1515,7 @@ class HtmlContentsItemPtr(HtmlContentsItem):
_html.HtmlContentsItem_swigregister(HtmlContentsItemPtr)
class HtmlSearchStatus(object):
"""Proxy of C++ HtmlSearchStatus class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1486,6 +1552,7 @@ class HtmlSearchStatusPtr(HtmlSearchStatus):
_html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr)
class HtmlHelpData(object):
"""Proxy of C++ HtmlHelpData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1545,6 +1612,7 @@ class HtmlHelpDataPtr(HtmlHelpData):
_html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
class HtmlHelpFrame(_windows.Frame):
"""Proxy of C++ HtmlHelpFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1616,6 +1684,7 @@ HF_OPENFILES = _html.HF_OPENFILES
HF_PRINT = _html.HF_PRINT
HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE
class HtmlHelpController(_core.Object):
"""Proxy of C++ HtmlHelpController class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,47 @@ Classes for a media player control
import _media
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
@ -14,6 +55,7 @@ MEDIASTATE_STOPPED = _media.MEDIASTATE_STOPPED
MEDIASTATE_PAUSED = _media.MEDIASTATE_PAUSED
MEDIASTATE_PLAYING = _media.MEDIASTATE_PLAYING
class MediaEvent(_core.NotifyEvent):
"""Proxy of C++ MediaEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMediaEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -31,6 +73,7 @@ class MediaEventPtr(MediaEvent):
_media.MediaEvent_swigregister(MediaEventPtr)
class MediaCtrl(_core.Control):
"""Proxy of C++ MediaCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMediaCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -7,10 +7,52 @@ wx.webkit.WebKitCtrl for Mac OSX.
import _webkit
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
class WebKitCtrl(_core.Control):
"""Proxy of C++ WebKitCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWebKitCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -99,6 +141,7 @@ WEBKIT_STATE_STOP = _webkit.WEBKIT_STATE_STOP
WEBKIT_STATE_FAILED = _webkit.WEBKIT_STATE_FAILED
wxEVT_WEBKIT_STATE_CHANGED = _webkit.wxEVT_WEBKIT_STATE_CHANGED
class WebKitStateChangedEvent(_core.CommandEvent):
"""Proxy of C++ WebKitStateChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWebKitStateChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,47 @@ or pages.
import _wizard
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
@ -25,6 +66,7 @@ EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
class WizardEvent(_core.NotifyEvent):
"""Proxy of C++ WizardEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -53,6 +95,7 @@ class WizardEventPtr(WizardEvent):
_wizard.WizardEvent_swigregister(WizardEventPtr)
class WizardPage(_windows.Panel):
"""Proxy of C++ WizardPage class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -81,6 +124,7 @@ class WizardPagePtr(WizardPage):
_wizard.WizardPage_swigregister(WizardPagePtr)
class PyWizardPage(WizardPage):
"""Proxy of C++ PyWizardPage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -186,6 +230,7 @@ def PrePyWizardPage(*args, **kwargs):
return val
class WizardPageSimple(WizardPage):
"""Proxy of C++ WizardPageSimple class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -238,6 +283,7 @@ def WizardPageSimple_Chain(*args, **kwargs):
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
class Wizard(_windows.Dialog):
"""Proxy of C++ Wizard class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,47 @@ controls on a panel, etc. to be loaded from an XML file.
import _xrc
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
@ -21,6 +62,7 @@ XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
XRC_NO_RELOADING = _xrc.XRC_NO_RELOADING
class XmlResource(_core.Object):
"""Proxy of C++ XmlResource class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -205,6 +247,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
#---------------------------------------------------------------------------
class XmlSubclassFactory(object):
"""Proxy of C++ XmlSubclassFactory class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -243,6 +286,7 @@ XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
class XmlProperty(object):
"""Proxy of C++ XmlProperty class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -287,6 +331,7 @@ class XmlPropertyPtr(XmlProperty):
_xrc.XmlProperty_swigregister(XmlPropertyPtr)
class XmlNode(object):
"""Proxy of C++ XmlNode class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -408,6 +453,7 @@ def XmlNodeEasy(*args, **kwargs):
return val
class XmlDocument(_core.Object):
"""Proxy of C++ XmlDocument class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -489,6 +535,7 @@ def EmptyXmlDocument(*args, **kwargs):
#---------------------------------------------------------------------------
class XmlResourceHandler(_core.Object):
"""Proxy of C++ XmlResourceHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,47 @@
import _controls_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
@ -848,6 +889,7 @@ GA_VERTICAL = _controls_.GA_VERTICAL
GA_SMOOTH = _controls_.GA_SMOOTH
GA_PROGRESSBAR = _controls_.GA_PROGRESSBAR
class Gauge(_core.Control):
"""Proxy of C++ Gauge class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -961,6 +1003,7 @@ def Gauge_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticBox(_core.Control):
"""Proxy of C++ StaticBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1038,6 +1081,7 @@ def StaticBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticLine(_core.Control):
"""Proxy of C++ StaticLine class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1125,6 +1169,7 @@ def StaticLine_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticText(_core.Control):
"""Proxy of C++ StaticText class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1199,6 +1244,7 @@ def StaticText_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticBitmap(_core.Control):
"""Proxy of C++ StaticBitmap class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1285,6 +1331,7 @@ def StaticBitmap_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ListBox(_core.ControlWithItems):
"""Proxy of C++ ListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1443,6 +1490,7 @@ def ListBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class CheckListBox(ListBox):
"""Proxy of C++ CheckListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1553,6 +1601,7 @@ TE_HT_ON_TEXT = _controls_.TE_HT_ON_TEXT
TE_HT_BELOW = _controls_.TE_HT_BELOW
TE_HT_BEYOND = _controls_.TE_HT_BEYOND
class TextAttr(object):
"""Proxy of C++ TextAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1697,6 +1746,7 @@ def TextAttr_Combine(*args, **kwargs):
return _controls_.TextAttr_Combine(*args, **kwargs)
class TextCtrl(_core.Control):
"""Proxy of C++ TextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2003,6 +2053,7 @@ wxEVT_COMMAND_TEXT_ENTER = _controls_.wxEVT_COMMAND_TEXT_ENTER
wxEVT_COMMAND_TEXT_URL = _controls_.wxEVT_COMMAND_TEXT_URL
wxEVT_COMMAND_TEXT_MAXLEN = _controls_.wxEVT_COMMAND_TEXT_MAXLEN
class TextUrlEvent(_core.CommandEvent):
"""Proxy of C++ TextUrlEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2039,6 +2090,7 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
#---------------------------------------------------------------------------
class ScrollBar(_core.Control):
"""Proxy of C++ ScrollBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2154,6 +2206,7 @@ SP_VERTICAL = _controls_.SP_VERTICAL
SP_ARROW_KEYS = _controls_.SP_ARROW_KEYS
SP_WRAP = _controls_.SP_WRAP
class SpinButton(_core.Control):
"""Proxy of C++ SpinButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2260,6 +2313,7 @@ def SpinButton_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
class SpinCtrl(_core.Control):
"""Proxy of C++ SpinCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2362,6 +2416,7 @@ def SpinCtrl_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
class SpinEvent(_core.NotifyEvent):
"""Proxy of C++ SpinEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2395,6 +2450,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
#---------------------------------------------------------------------------
class RadioBox(_core.Control):
"""Proxy of C++ RadioBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2532,6 +2588,7 @@ def RadioBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class RadioButton(_core.Control):
"""Proxy of C++ RadioButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2616,6 +2673,7 @@ def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class Slider(_core.Control):
"""Proxy of C++ Slider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2783,6 +2841,7 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls_.wxEVT_COMMAND_TOGGLEBUTTON_CLICK
EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
class ToggleButton(_core.Control):
"""Proxy of C++ ToggleButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2876,6 +2935,7 @@ def ToggleButton_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class BookCtrlBase(_core.Control):
"""Proxy of C++ BookCtrlBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3007,6 +3067,7 @@ def BookCtrlBase_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.BookCtrlBase_GetClassDefaultAttributes(*args, **kwargs)
class BookCtrlBaseEvent(_core.NotifyEvent):
"""Proxy of C++ BookCtrlBaseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlBaseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3055,6 +3116,7 @@ NB_HITTEST_ONICON = _controls_.NB_HITTEST_ONICON
NB_HITTEST_ONLABEL = _controls_.NB_HITTEST_ONLABEL
NB_HITTEST_ONITEM = _controls_.NB_HITTEST_ONITEM
class Notebook(BookCtrlBase):
"""Proxy of C++ Notebook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3150,6 +3212,7 @@ def Notebook_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
class NotebookEvent(BookCtrlBaseEvent):
"""Proxy of C++ NotebookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3214,6 +3277,7 @@ LB_LEFT = _controls_.LB_LEFT
LB_RIGHT = _controls_.LB_RIGHT
LB_ALIGN_MASK = _controls_.LB_ALIGN_MASK
class Listbook(BookCtrlBase):
"""Proxy of C++ Listbook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3257,6 +3321,7 @@ def PreListbook(*args, **kwargs):
return val
class ListbookEvent(BookCtrlBaseEvent):
"""Proxy of C++ ListbookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3288,6 +3353,7 @@ CHB_LEFT = _controls_.CHB_LEFT
CHB_RIGHT = _controls_.CHB_RIGHT
CHB_ALIGN_MASK = _controls_.CHB_ALIGN_MASK
class Choicebook(BookCtrlBase):
"""Proxy of C++ Choicebook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3331,6 +3397,7 @@ def PreChoicebook(*args, **kwargs):
return val
class ChoicebookEvent(BookCtrlBaseEvent):
"""Proxy of C++ ChoicebookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3358,6 +3425,7 @@ EVT_CHOICEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_C
#---------------------------------------------------------------------------
class BookCtrlSizer(_core.Sizer):
"""Proxy of C++ BookCtrlSizer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3401,6 +3469,7 @@ class BookCtrlSizerPtr(BookCtrlSizer):
_controls_.BookCtrlSizer_swigregister(BookCtrlSizerPtr)
class NotebookSizer(_core.Sizer):
"""Proxy of C++ NotebookSizer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3462,6 +3531,7 @@ TB_NOALIGN = _controls_.TB_NOALIGN
TB_HORZ_LAYOUT = _controls_.TB_HORZ_LAYOUT
TB_HORZ_TEXT = _controls_.TB_HORZ_TEXT
class ToolBarToolBase(_core.Object):
"""Proxy of C++ ToolBarToolBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3595,6 +3665,7 @@ class ToolBarToolBasePtr(ToolBarToolBase):
_controls_.ToolBarToolBase_swigregister(ToolBarToolBasePtr)
class ToolBarBase(_core.Control):
"""Proxy of C++ ToolBarBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3917,6 +3988,7 @@ class ToolBarBasePtr(ToolBarBase):
_controls_.ToolBarBase_swigregister(ToolBarBasePtr)
class ToolBar(ToolBarBase):
"""Proxy of C++ ToolBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4065,6 +4137,7 @@ LIST_FIND_RIGHT = _controls_.LIST_FIND_RIGHT
#---------------------------------------------------------------------------
class ListItemAttr(object):
"""Proxy of C++ ListItemAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4128,6 +4201,7 @@ ListCtrlNameStr = cvar.ListCtrlNameStr
#---------------------------------------------------------------------------
class ListItem(_core.Object):
"""Proxy of C++ ListItem class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4279,6 +4353,7 @@ _controls_.ListItem_swigregister(ListItemPtr)
#---------------------------------------------------------------------------
class ListEvent(_core.NotifyEvent):
"""Proxy of C++ ListEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4410,6 +4485,7 @@ EVT_LIST_SET_INFO = wx._deprecated(EVT_LIST_SET_INFO)
#---------------------------------------------------------------------------
class ListCtrl(_core.Control):
"""Proxy of C++ ListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4439,11 +4515,35 @@ class ListCtrl(_core.Control):
return _controls_.ListCtrl__setCallbackInfo(*args, **kwargs)
def SetForegroundColour(*args, **kwargs):
"""SetForegroundColour(self, Colour col) -> bool"""
"""
SetForegroundColour(self, Colour col) -> bool
Sets the foreground colour of the window. Returns True is the colour
was changed. The interpretation of foreground colour is dependent on
the window class; it may be the text colour or other colour, or it may
not be used at all.
"""
return _controls_.ListCtrl_SetForegroundColour(*args, **kwargs)
def SetBackgroundColour(*args, **kwargs):
"""SetBackgroundColour(self, Colour col) -> bool"""
"""
SetBackgroundColour(self, Colour col) -> bool
Sets the background colour of the window. Returns True if the colour
was changed. The background colour is usually painted by the default
EVT_ERASE_BACKGROUND event handler function under Windows and
automatically under GTK. Using `wx.NullColour` will reset the window
to the default background colour.
Note that setting the background colour may not cause an immediate
refresh, so you may wish to call `ClearBackground` or `Refresh` after
calling this function.
Using this function will disable attempts to use themes for this
window, if the system supports them. Use with care since usually the
themes represent the appearance chosen by the user to be used for all
applications on the system.
"""
return _controls_.ListCtrl_SetBackgroundColour(*args, **kwargs)
def GetColumn(*args, **kwargs):
@ -4832,6 +4932,7 @@ def ListCtrl_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ListView(ListCtrl):
"""Proxy of C++ ListView class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4942,6 +5043,7 @@ TREE_HITTEST_ONITEM = _controls_.TREE_HITTEST_ONITEM
#---------------------------------------------------------------------------
class TreeItemId(object):
"""Proxy of C++ TreeItemId class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4981,6 +5083,7 @@ _controls_.TreeItemId_swigregister(TreeItemIdPtr)
TreeCtrlNameStr = cvar.TreeCtrlNameStr
class TreeItemData(object):
"""Proxy of C++ TreeItemData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5061,6 +5164,7 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI
EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1)
class TreeEvent(_core.NotifyEvent):
"""Proxy of C++ TreeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5136,6 +5240,7 @@ _controls_.TreeEvent_swigregister(TreeEventPtr)
#---------------------------------------------------------------------------
class TreeCtrl(_core.Control):
"""Proxy of C++ TreeCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5536,6 +5641,7 @@ DIRCTRL_SHOW_FILTERS = _controls_.DIRCTRL_SHOW_FILTERS
DIRCTRL_3D_INTERNAL = _controls_.DIRCTRL_3D_INTERNAL
DIRCTRL_EDIT_LABELS = _controls_.DIRCTRL_EDIT_LABELS
class GenericDirCtrl(_core.Control):
"""Proxy of C++ GenericDirCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5658,6 +5764,7 @@ def PreGenericDirCtrl(*args, **kwargs):
return val
class DirFilterListCtrl(Choice):
"""Proxy of C++ DirFilterListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5699,6 +5806,7 @@ def PreDirFilterListCtrl(*args, **kwargs):
#---------------------------------------------------------------------------
class PyControl(_core.Control):
"""Proxy of C++ PyControl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -6170,6 +6278,7 @@ _controls_.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr)
#---------------------------------------------------------------------------
class DragImage(_core.Object):
"""Proxy of C++ DragImage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,47 @@
import _core_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
#// Give a reference to the dictionary of this module to the C++ extension
#// code.
_core_._wxPySetDictionary(vars())
@ -671,9 +712,9 @@ CURSOR_MAX = _core_.CURSOR_MAX
class Size(object):
"""
wx.Size is a useful data structure used to represent the size of
something. It simply contians integer width and height proprtites.
In most places in wxPython where a wx.Size is expected a
(width,height) tuple can be used instead.
something. It simply contians integer width and height
proprtites. In most places in wxPython where a wx.Size is
expected a (width, height) tuple can be used instead.
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1520,6 +1561,7 @@ FromStart = _core_.FromStart
FromCurrent = _core_.FromCurrent
FromEnd = _core_.FromEnd
class InputStream(object):
"""Proxy of C++ InputStream class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1609,6 +1651,7 @@ DefaultPosition = cvar.DefaultPosition
DefaultSize = cvar.DefaultSize
class OutputStream(object):
"""Proxy of C++ OutputStream class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1627,6 +1670,7 @@ _core_.OutputStream_swigregister(OutputStreamPtr)
#---------------------------------------------------------------------------
class FSFile(Object):
"""Proxy of C++ FSFile class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1675,6 +1719,7 @@ class FSFilePtr(FSFile):
_core_.FSFile_swigregister(FSFilePtr)
class CPPFileSystemHandler(object):
"""Proxy of C++ CPPFileSystemHandler class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1687,6 +1732,7 @@ class CPPFileSystemHandlerPtr(CPPFileSystemHandler):
_core_.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr)
class FileSystemHandler(CPPFileSystemHandler):
"""Proxy of C++ FileSystemHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1746,6 +1792,7 @@ class FileSystemHandlerPtr(FileSystemHandler):
_core_.FileSystemHandler_swigregister(FileSystemHandlerPtr)
class FileSystem(Object):
"""Proxy of C++ FileSystem class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1825,6 +1872,7 @@ def FileSystem_URLToFileName(*args, **kwargs):
return _core_.FileSystem_URLToFileName(*args, **kwargs)
class InternetFSHandler(CPPFileSystemHandler):
"""Proxy of C++ InternetFSHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1850,6 +1898,7 @@ class InternetFSHandlerPtr(InternetFSHandler):
_core_.InternetFSHandler_swigregister(InternetFSHandlerPtr)
class ZipFSHandler(CPPFileSystemHandler):
"""Proxy of C++ ZipFSHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1912,6 +1961,7 @@ def MemoryFSHandler_AddFile(filename, dataItem, imgType=-1):
raise TypeError, 'wx.Image, wx.Bitmap or string expected'
class MemoryFSHandler(CPPFileSystemHandler):
"""Proxy of C++ MemoryFSHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1957,6 +2007,7 @@ def MemoryFSHandler_RemoveFile(*args, **kwargs):
#---------------------------------------------------------------------------
class ImageHandler(Object):
"""Proxy of C++ ImageHandler class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -2005,6 +2056,7 @@ class ImageHandlerPtr(ImageHandler):
_core_.ImageHandler_swigregister(ImageHandlerPtr)
class ImageHistogram(object):
"""Proxy of C++ ImageHistogram class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2049,6 +2101,7 @@ def ImageHistogram_MakeKey(*args, **kwargs):
return _core_.ImageHistogram_MakeKey(*args, **kwargs)
class Image(Object):
"""Proxy of C++ Image class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2460,6 +2513,7 @@ BMP_4BPP = _core_.BMP_4BPP
BMP_1BPP = _core_.BMP_1BPP
BMP_1BPP_BW = _core_.BMP_1BPP_BW
class BMPHandler(ImageHandler):
"""Proxy of C++ BMPHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2483,6 +2537,7 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION
IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT
class ICOHandler(BMPHandler):
"""Proxy of C++ ICOHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2500,6 +2555,7 @@ class ICOHandlerPtr(ICOHandler):
_core_.ICOHandler_swigregister(ICOHandlerPtr)
class CURHandler(ICOHandler):
"""Proxy of C++ CURHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2517,6 +2573,7 @@ class CURHandlerPtr(CURHandler):
_core_.CURHandler_swigregister(CURHandlerPtr)
class ANIHandler(CURHandler):
"""Proxy of C++ ANIHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2534,6 +2591,7 @@ class ANIHandlerPtr(ANIHandler):
_core_.ANIHandler_swigregister(ANIHandlerPtr)
class PNGHandler(ImageHandler):
"""Proxy of C++ PNGHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2551,6 +2609,7 @@ class PNGHandlerPtr(PNGHandler):
_core_.PNGHandler_swigregister(PNGHandlerPtr)
class GIFHandler(ImageHandler):
"""Proxy of C++ GIFHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2568,6 +2627,7 @@ class GIFHandlerPtr(GIFHandler):
_core_.GIFHandler_swigregister(GIFHandlerPtr)
class PCXHandler(ImageHandler):
"""Proxy of C++ PCXHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2585,6 +2645,7 @@ class PCXHandlerPtr(PCXHandler):
_core_.PCXHandler_swigregister(PCXHandlerPtr)
class JPEGHandler(ImageHandler):
"""Proxy of C++ JPEGHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2602,6 +2663,7 @@ class JPEGHandlerPtr(JPEGHandler):
_core_.JPEGHandler_swigregister(JPEGHandlerPtr)
class PNMHandler(ImageHandler):
"""Proxy of C++ PNMHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2619,6 +2681,7 @@ class PNMHandlerPtr(PNMHandler):
_core_.PNMHandler_swigregister(PNMHandlerPtr)
class XPMHandler(ImageHandler):
"""Proxy of C++ XPMHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2636,6 +2699,7 @@ class XPMHandlerPtr(XPMHandler):
_core_.XPMHandler_swigregister(XPMHandlerPtr)
class TIFFHandler(ImageHandler):
"""Proxy of C++ TIFFHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2691,6 +2755,7 @@ def Quantize_Quantize(*args, **kwargs):
#---------------------------------------------------------------------------
class EvtHandler(Object):
"""Proxy of C++ EvtHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2744,7 +2809,7 @@ class EvtHandler(Object):
return _core_.EvtHandler_Disconnect(*args, **kwargs)
def _setOORInfo(*args, **kwargs):
"""_setOORInfo(self, PyObject _self)"""
"""_setOORInfo(self, PyObject _self, bool incref=True)"""
return _core_.EvtHandler__setOORInfo(*args, **kwargs)
def Bind(self, event, handler, source=None, id=wx.ID_ANY, id2=wx.ID_ANY):
@ -3162,6 +3227,7 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
#---------------------------------------------------------------------------
class Event(Object):
"""Proxy of C++ Event class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -3242,6 +3308,7 @@ _core_.Event_swigregister(EventPtr)
#---------------------------------------------------------------------------
class PropagationDisabler(object):
"""Proxy of C++ PropagationDisabler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3265,6 +3332,7 @@ class PropagationDisablerPtr(PropagationDisabler):
_core_.PropagationDisabler_swigregister(PropagationDisablerPtr)
class PropagateOnce(object):
"""Proxy of C++ PropagateOnce class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3290,6 +3358,7 @@ _core_.PropagateOnce_swigregister(PropagateOncePtr)
#---------------------------------------------------------------------------
class CommandEvent(Event):
"""Proxy of C++ CommandEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3350,6 +3419,7 @@ _core_.CommandEvent_swigregister(CommandEventPtr)
#---------------------------------------------------------------------------
class NotifyEvent(CommandEvent):
"""Proxy of C++ NotifyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3381,6 +3451,7 @@ _core_.NotifyEvent_swigregister(NotifyEventPtr)
#---------------------------------------------------------------------------
class ScrollEvent(CommandEvent):
"""Proxy of C++ ScrollEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3419,6 +3490,7 @@ _core_.ScrollEvent_swigregister(ScrollEventPtr)
#---------------------------------------------------------------------------
class ScrollWinEvent(Event):
"""Proxy of C++ ScrollWinEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3459,6 +3531,7 @@ MOUSE_BTN_LEFT = _core_.MOUSE_BTN_LEFT
MOUSE_BTN_MIDDLE = _core_.MOUSE_BTN_MIDDLE
MOUSE_BTN_RIGHT = _core_.MOUSE_BTN_RIGHT
class MouseEvent(Event):
"""Proxy of C++ MouseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3658,6 +3731,7 @@ _core_.MouseEvent_swigregister(MouseEventPtr)
#---------------------------------------------------------------------------
class SetCursorEvent(Event):
"""Proxy of C++ SetCursorEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3697,6 +3771,7 @@ _core_.SetCursorEvent_swigregister(SetCursorEventPtr)
#---------------------------------------------------------------------------
class KeyEvent(Event):
"""Proxy of C++ KeyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3802,6 +3877,7 @@ _core_.KeyEvent_swigregister(KeyEventPtr)
#---------------------------------------------------------------------------
class SizeEvent(Event):
"""Proxy of C++ SizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3839,6 +3915,7 @@ _core_.SizeEvent_swigregister(SizeEventPtr)
#---------------------------------------------------------------------------
class MoveEvent(Event):
"""Proxy of C++ MoveEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3876,6 +3953,7 @@ _core_.MoveEvent_swigregister(MoveEventPtr)
#---------------------------------------------------------------------------
class PaintEvent(Event):
"""Proxy of C++ PaintEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3893,6 +3971,7 @@ class PaintEventPtr(PaintEvent):
_core_.PaintEvent_swigregister(PaintEventPtr)
class NcPaintEvent(Event):
"""Proxy of C++ NcPaintEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3912,6 +3991,7 @@ _core_.NcPaintEvent_swigregister(NcPaintEventPtr)
#---------------------------------------------------------------------------
class EraseEvent(Event):
"""Proxy of C++ EraseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3935,6 +4015,7 @@ _core_.EraseEvent_swigregister(EraseEventPtr)
#---------------------------------------------------------------------------
class FocusEvent(Event):
"""Proxy of C++ FocusEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3962,6 +4043,7 @@ _core_.FocusEvent_swigregister(FocusEventPtr)
#---------------------------------------------------------------------------
class ChildFocusEvent(CommandEvent):
"""Proxy of C++ ChildFocusEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3985,6 +4067,7 @@ _core_.ChildFocusEvent_swigregister(ChildFocusEventPtr)
#---------------------------------------------------------------------------
class ActivateEvent(Event):
"""Proxy of C++ ActivateEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4008,6 +4091,7 @@ _core_.ActivateEvent_swigregister(ActivateEventPtr)
#---------------------------------------------------------------------------
class InitDialogEvent(Event):
"""Proxy of C++ InitDialogEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4027,6 +4111,7 @@ _core_.InitDialogEvent_swigregister(InitDialogEventPtr)
#---------------------------------------------------------------------------
class MenuEvent(Event):
"""Proxy of C++ MenuEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4058,6 +4143,7 @@ _core_.MenuEvent_swigregister(MenuEventPtr)
#---------------------------------------------------------------------------
class CloseEvent(Event):
"""Proxy of C++ CloseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4101,6 +4187,7 @@ _core_.CloseEvent_swigregister(CloseEventPtr)
#---------------------------------------------------------------------------
class ShowEvent(Event):
"""Proxy of C++ ShowEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4128,6 +4215,7 @@ _core_.ShowEvent_swigregister(ShowEventPtr)
#---------------------------------------------------------------------------
class IconizeEvent(Event):
"""Proxy of C++ IconizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4151,6 +4239,7 @@ _core_.IconizeEvent_swigregister(IconizeEventPtr)
#---------------------------------------------------------------------------
class MaximizeEvent(Event):
"""Proxy of C++ MaximizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4170,6 +4259,7 @@ _core_.MaximizeEvent_swigregister(MaximizeEventPtr)
#---------------------------------------------------------------------------
class DropFilesEvent(Event):
"""Proxy of C++ DropFilesEvent class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4198,6 +4288,7 @@ _core_.DropFilesEvent_swigregister(DropFilesEventPtr)
UPDATE_UI_PROCESS_ALL = _core_.UPDATE_UI_PROCESS_ALL
UPDATE_UI_PROCESS_SPECIFIED = _core_.UPDATE_UI_PROCESS_SPECIFIED
class UpdateUIEvent(CommandEvent):
"""Proxy of C++ UpdateUIEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4307,6 +4398,7 @@ def UpdateUIEvent_GetMode(*args, **kwargs):
#---------------------------------------------------------------------------
class SysColourChangedEvent(Event):
"""Proxy of C++ SysColourChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4326,6 +4418,7 @@ _core_.SysColourChangedEvent_swigregister(SysColourChangedEventPtr)
#---------------------------------------------------------------------------
class MouseCaptureChangedEvent(Event):
"""Proxy of C++ MouseCaptureChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4349,6 +4442,7 @@ _core_.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr)
#---------------------------------------------------------------------------
class DisplayChangedEvent(Event):
"""Proxy of C++ DisplayChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4368,6 +4462,7 @@ _core_.DisplayChangedEvent_swigregister(DisplayChangedEventPtr)
#---------------------------------------------------------------------------
class PaletteChangedEvent(Event):
"""Proxy of C++ PaletteChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4395,6 +4490,7 @@ _core_.PaletteChangedEvent_swigregister(PaletteChangedEventPtr)
#---------------------------------------------------------------------------
class QueryNewPaletteEvent(Event):
"""Proxy of C++ QueryNewPaletteEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4422,6 +4518,7 @@ _core_.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr)
#---------------------------------------------------------------------------
class NavigationKeyEvent(Event):
"""Proxy of C++ NavigationKeyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4472,6 +4569,7 @@ _core_.NavigationKeyEvent_swigregister(NavigationKeyEventPtr)
#---------------------------------------------------------------------------
class WindowCreateEvent(CommandEvent):
"""Proxy of C++ WindowCreateEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4493,6 +4591,7 @@ class WindowCreateEventPtr(WindowCreateEvent):
_core_.WindowCreateEvent_swigregister(WindowCreateEventPtr)
class WindowDestroyEvent(CommandEvent):
"""Proxy of C++ WindowDestroyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4516,6 +4615,7 @@ _core_.WindowDestroyEvent_swigregister(WindowDestroyEventPtr)
#---------------------------------------------------------------------------
class ContextMenuEvent(CommandEvent):
"""Proxy of C++ ContextMenuEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4545,6 +4645,7 @@ _core_.ContextMenuEvent_swigregister(ContextMenuEventPtr)
IDLE_PROCESS_ALL = _core_.IDLE_PROCESS_ALL
IDLE_PROCESS_SPECIFIED = _core_.IDLE_PROCESS_SPECIFIED
class IdleEvent(Event):
"""Proxy of C++ IdleEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4599,6 +4700,7 @@ def IdleEvent_CanSend(*args, **kwargs):
#---------------------------------------------------------------------------
class PyEvent(Event):
"""Proxy of C++ PyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4632,6 +4734,7 @@ class PyEventPtr(PyEvent):
_core_.PyEvent_swigregister(PyEventPtr)
class PyCommandEvent(CommandEvent):
"""Proxy of C++ PyCommandEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5496,6 +5599,7 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
#---------------------------------------------------------------------------
class EventLoop(object):
"""Proxy of C++ EventLoop class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEventLoop instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -7937,6 +8041,7 @@ def Window_FromHWND(*args, **kwargs):
#---------------------------------------------------------------------------
class Validator(EvtHandler):
"""Proxy of C++ Validator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -7998,6 +8103,7 @@ def Validator_SetBellOnError(*args, **kwargs):
return _core_.Validator_SetBellOnError(*args, **kwargs)
class PyValidator(Validator):
"""Proxy of C++ PyValidator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -8025,6 +8131,7 @@ _core_.PyValidator_swigregister(PyValidatorPtr)
#---------------------------------------------------------------------------
class Menu(EvtHandler):
"""Proxy of C++ Menu class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -8274,6 +8381,7 @@ DefaultValidator = cvar.DefaultValidator
#---------------------------------------------------------------------------
class MenuBar(Window):
"""Proxy of C++ MenuBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -8395,6 +8503,7 @@ _core_.MenuBar_swigregister(MenuBarPtr)
#---------------------------------------------------------------------------
class MenuItem(Object):
"""Proxy of C++ MenuItem class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,11 +3,53 @@
import _gdi_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
class GDIObject(_core.Object):
"""Proxy of C++ GDIObject class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -227,6 +269,7 @@ NamedColor = NamedColour
ColorRGB = ColourRGB
class Palette(GDIObject):
"""Proxy of C++ Palette class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -269,6 +312,7 @@ _gdi_.Palette_swigregister(PalettePtr)
#---------------------------------------------------------------------------
class Pen(GDIObject):
"""Proxy of C++ Pen class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -328,7 +372,7 @@ class Pen(GDIObject):
return _gdi_.Pen_SetWidth(*args, **kwargs)
def SetDashes(*args, **kwargs):
"""SetDashes(self, int dashes, wxDash dashes_array)"""
"""SetDashes(self, int dashes)"""
return _gdi_.Pen_SetDashes(*args, **kwargs)
def GetDashes(*args, **kwargs):
@ -789,6 +833,7 @@ _gdi_.Mask_swigregister(MaskPtr)
MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.")
class Icon(GDIObject):
"""Proxy of C++ Icon class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -885,6 +930,7 @@ def IconFromXPMData(*args, **kwargs):
return val
class IconLocation(object):
"""Proxy of C++ IconLocation class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -929,6 +975,7 @@ class IconLocationPtr(IconLocation):
_gdi_.IconLocation_swigregister(IconLocationPtr)
class IconBundle(object):
"""Proxy of C++ IconBundle class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1097,6 +1144,7 @@ OutRegion = _gdi_.OutRegion
PartRegion = _gdi_.PartRegion
InRegion = _gdi_.InRegion
class Region(GDIObject):
"""Proxy of C++ Region class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1224,12 +1272,13 @@ def RegionFromBitmapColour(*args, **kwargs):
return val
def RegionFromPoints(*args, **kwargs):
"""RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region"""
"""RegionFromPoints(int points, int fillStyle=WINDING_RULE) -> Region"""
val = _gdi_.new_RegionFromPoints(*args, **kwargs)
val.thisown = 1
return val
class RegionIterator(_core.Object):
"""Proxy of C++ RegionIterator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1425,6 +1474,7 @@ FONTENCODING_SHIFT_JIS = _gdi_.FONTENCODING_SHIFT_JIS
#---------------------------------------------------------------------------
class NativeFontInfo(object):
"""Proxy of C++ NativeFontInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1540,6 +1590,7 @@ class NativeFontInfoPtr(NativeFontInfo):
_gdi_.NativeFontInfo_swigregister(NativeFontInfoPtr)
class NativeEncodingInfo(object):
"""Proxy of C++ NativeEncodingInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
facename = property(_gdi_.NativeEncodingInfo_facename_get, _gdi_.NativeEncodingInfo_facename_set)
@ -1583,6 +1634,7 @@ def TestFontEncoding(*args, **kwargs):
#---------------------------------------------------------------------------
class FontMapper(object):
"""Proxy of C++ FontMapper class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1708,6 +1760,7 @@ def FontMapper_GetDefaultConfigPath(*args, **kwargs):
#---------------------------------------------------------------------------
class Font(GDIObject):
"""Proxy of C++ Font class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1920,6 +1973,7 @@ def Font_SetDefaultEncoding(*args, **kwargs):
#---------------------------------------------------------------------------
class FontEnumerator(object):
"""Proxy of C++ FontEnumerator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2198,6 +2252,7 @@ LANGUAGE_ZHUANG = _gdi_.LANGUAGE_ZHUANG
LANGUAGE_ZULU = _gdi_.LANGUAGE_ZULU
LANGUAGE_USER_DEFINED = _gdi_.LANGUAGE_USER_DEFINED
class LanguageInfo(object):
"""Proxy of C++ LanguageInfo class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -2221,6 +2276,7 @@ LOCALE_DECIMAL_POINT = _gdi_.LOCALE_DECIMAL_POINT
LOCALE_LOAD_DEFAULT = _gdi_.LOCALE_LOAD_DEFAULT
LOCALE_CONV_ENCODING = _gdi_.LOCALE_CONV_ENCODING
class Locale(object):
"""Proxy of C++ Locale class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2385,6 +2441,7 @@ PLATFORM_WINDOWS = _gdi_.PLATFORM_WINDOWS
PLATFORM_OS2 = _gdi_.PLATFORM_OS2
PLATFORM_MAC = _gdi_.PLATFORM_MAC
class EncodingConverter(_core.Object):
"""Proxy of C++ EncodingConverter class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4382,6 +4439,7 @@ def PostScriptDC_GetResolution(*args, **kwargs):
#---------------------------------------------------------------------------
class MetaFile(_core.Object):
"""Proxy of C++ MetaFile class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4430,6 +4488,7 @@ class MetaFilePtr(MetaFile):
_gdi_.MetaFile_swigregister(MetaFilePtr)
class MetaFileDC(DC):
"""Proxy of C++ MetaFileDC class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4454,6 +4513,7 @@ class MetaFileDCPtr(MetaFileDC):
_gdi_.MetaFileDC_swigregister(MetaFileDCPtr)
class PrinterDC(DC):
"""Proxy of C++ PrinterDC class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4480,6 +4540,7 @@ IMAGE_LIST_NORMAL = _gdi_.IMAGE_LIST_NORMAL
IMAGE_LIST_SMALL = _gdi_.IMAGE_LIST_SMALL
IMAGE_LIST_STATE = _gdi_.IMAGE_LIST_STATE
class ImageList(_core.Object):
"""Proxy of C++ ImageList class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4544,6 +4605,7 @@ _gdi_.ImageList_swigregister(ImageListPtr)
#---------------------------------------------------------------------------
class PenList(_core.Object):
"""Proxy of C++ PenList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4615,6 +4677,7 @@ NullFont = cvar.NullFont
NullColour = cvar.NullColour
class BrushList(_core.Object):
"""Proxy of C++ BrushList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4643,6 +4706,7 @@ class BrushListPtr(BrushList):
_gdi_.BrushList_swigregister(BrushListPtr)
class ColourDatabase(_core.Object):
"""Proxy of C++ ColourDatabase class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4683,6 +4747,7 @@ class ColourDatabasePtr(ColourDatabase):
_gdi_.ColourDatabase_swigregister(ColourDatabasePtr)
class FontList(_core.Object):
"""Proxy of C++ FontList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -4720,6 +4785,7 @@ NullColor = NullColour
#---------------------------------------------------------------------------
class Effects(_core.Object):
"""Proxy of C++ Effects class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,47 @@
import _misc_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
@ -99,6 +140,7 @@ SYS_SCREEN_PDA = _misc_.SYS_SCREEN_PDA
SYS_SCREEN_SMALL = _misc_.SYS_SCREEN_SMALL
SYS_SCREEN_DESKTOP = _misc_.SYS_SCREEN_DESKTOP
class SystemSettings(object):
"""Proxy of C++ SystemSettings class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -165,6 +207,7 @@ def SystemSettings_SetScreenType(*args, **kwargs):
return _misc_.SystemSettings_SetScreenType(*args, **kwargs)
class SystemOptions(_core.Object):
"""Proxy of C++ SystemOptions class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -412,17 +455,17 @@ def GetPasswordFromUser(*args, **kwargs):
def GetSingleChoice(*args, **kwargs):
"""
GetSingleChoice(String message, String caption, int choices, String choices_array,
Window parent=None, int x=-1,
int y=-1, bool centre=True, int width=150, int height=200) -> String
GetSingleChoice(String message, String caption, int choices, Window parent=None,
int x=-1, int y=-1, bool centre=True,
int width=150, int height=200) -> String
"""
return _misc_.GetSingleChoice(*args, **kwargs)
def GetSingleChoiceIndex(*args, **kwargs):
"""
GetSingleChoiceIndex(String message, String caption, int choices, String choices_array,
Window parent=None, int x=-1,
int y=-1, bool centre=True, int width=150, int height=200) -> int
GetSingleChoiceIndex(String message, String caption, int choices, Window parent=None,
int x=-1, int y=-1, bool centre=True,
int width=150, int height=200) -> int
"""
return _misc_.GetSingleChoiceIndex(*args, **kwargs)
@ -525,6 +568,7 @@ def MutexGuiLeave(*args, **kwargs):
"""MutexGuiLeave()"""
return _misc_.MutexGuiLeave(*args, **kwargs)
class MutexGuiLocker(object):
"""Proxy of C++ MutexGuiLocker class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -557,6 +601,7 @@ def Thread_IsMain(*args, **kwargs):
#---------------------------------------------------------------------------
class ToolTip(_core.Object):
"""Proxy of C++ ToolTip class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -604,6 +649,7 @@ def ToolTip_SetDelay(*args, **kwargs):
return _misc_.ToolTip_SetDelay(*args, **kwargs)
class Caret(object):
"""Proxy of C++ Caret class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -688,6 +734,7 @@ def Caret_SetBlinkTime(*args, **kwargs):
"""Caret_SetBlinkTime(int milliseconds)"""
return _misc_.Caret_SetBlinkTime(*args, **kwargs)
class BusyCursor(object):
"""Proxy of C++ BusyCursor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -711,6 +758,7 @@ class BusyCursorPtr(BusyCursor):
_misc_.BusyCursor_swigregister(BusyCursorPtr)
class WindowDisabler(object):
"""Proxy of C++ WindowDisabler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -734,6 +782,7 @@ class WindowDisablerPtr(WindowDisabler):
_misc_.WindowDisabler_swigregister(WindowDisablerPtr)
class BusyInfo(_core.Object):
"""Proxy of C++ BusyInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -757,6 +806,7 @@ class BusyInfoPtr(BusyInfo):
_misc_.BusyInfo_swigregister(BusyInfoPtr)
class StopWatch(object):
"""Proxy of C++ StopWatch class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -790,6 +840,7 @@ class StopWatchPtr(StopWatch):
_misc_.StopWatch_swigregister(StopWatchPtr)
class FileHistory(_core.Object):
"""Proxy of C++ FileHistory class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -858,6 +909,7 @@ class FileHistoryPtr(FileHistory):
_misc_.FileHistory_swigregister(FileHistoryPtr)
class SingleInstanceChecker(object):
"""Proxy of C++ SingleInstanceChecker class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -901,6 +953,7 @@ def DrawWindowOnDC(*args, **kwargs):
#---------------------------------------------------------------------------
class TipProvider(object):
"""Proxy of C++ TipProvider class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -931,6 +984,7 @@ class TipProviderPtr(TipProvider):
_misc_.TipProvider_swigregister(TipProviderPtr)
class PyTipProvider(TipProvider):
"""Proxy of C++ PyTipProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -967,6 +1021,7 @@ TIMER_CONTINUOUS = _misc_.TIMER_CONTINUOUS
TIMER_ONE_SHOT = _misc_.TIMER_ONE_SHOT
wxEVT_TIMER = _misc_.wxEVT_TIMER
class Timer(_core.EvtHandler):
"""Proxy of C++ Timer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -975,7 +1030,7 @@ class Timer(_core.EvtHandler):
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setCallbackInfo(self, Timer, 0); self._setOORInfo(self)
self._setCallbackInfo(self, Timer, 0); self._setOORInfo(self, 0)
def __del__(self, destroy=_misc_.delete_Timer):
"""__del__(self)"""
@ -1019,6 +1074,10 @@ class Timer(_core.EvtHandler):
"""GetId(self) -> int"""
return _misc_.Timer_GetId(*args, **kwargs)
def Destroy():
"""NO-OP: Timers must be destroyed by normal refrence counting"""
pass
class TimerPtr(Timer):
def __init__(self, this):
@ -1042,6 +1101,7 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
class TimerEvent(_core.Event):
"""Proxy of C++ TimerEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1063,6 +1123,7 @@ class TimerEventPtr(TimerEvent):
_misc_.TimerEvent_swigregister(TimerEventPtr)
class TimerRunner(object):
"""Proxy of C++ TimerRunner class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -1116,6 +1177,7 @@ TraceResAlloc = _misc_.TraceResAlloc
TraceRefCount = _misc_.TraceRefCount
TraceOleCalls = _misc_.TraceOleCalls
class Log(object):
"""Proxy of C++ Log class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1348,6 +1410,7 @@ def Log_TimeStamp(*args, **kwargs):
return _misc_.Log_TimeStamp(*args, **kwargs)
class LogStderr(Log):
"""Proxy of C++ LogStderr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1365,6 +1428,7 @@ class LogStderrPtr(LogStderr):
_misc_.LogStderr_swigregister(LogStderrPtr)
class LogTextCtrl(Log):
"""Proxy of C++ LogTextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1382,6 +1446,7 @@ class LogTextCtrlPtr(LogTextCtrl):
_misc_.LogTextCtrl_swigregister(LogTextCtrlPtr)
class LogGui(Log):
"""Proxy of C++ LogGui class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1399,6 +1464,7 @@ class LogGuiPtr(LogGui):
_misc_.LogGui_swigregister(LogGuiPtr)
class LogWindow(Log):
"""Proxy of C++ LogWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1436,6 +1502,7 @@ class LogWindowPtr(LogWindow):
_misc_.LogWindow_swigregister(LogWindowPtr)
class LogChain(Log):
"""Proxy of C++ LogChain class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1525,6 +1592,7 @@ def SafeShowMessage(*args, **kwargs):
"""SafeShowMessage(String title, String text)"""
return _misc_.SafeShowMessage(*args, **kwargs)
class LogNull(object):
"""Proxy of C++ LogNull class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1555,6 +1623,7 @@ def LogTrace(*args):
return _misc_.LogTrace(*args)
class PyLog(Log):
"""Proxy of C++ PyLog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1606,6 +1675,7 @@ SIGPIPE = _misc_.SIGPIPE
SIGALRM = _misc_.SIGALRM
SIGTERM = _misc_.SIGTERM
class Process(_core.EvtHandler):
"""Proxy of C++ Process class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Kill(*args, **kwargs):
@ -1700,6 +1770,7 @@ def Process_Open(*args, **kwargs):
return _misc_.Process_Open(*args, **kwargs)
class ProcessEvent(_core.Event):
"""Proxy of C++ ProcessEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1733,6 +1804,7 @@ EXEC_ASYNC = _misc_.EXEC_ASYNC
EXEC_SYNC = _misc_.EXEC_SYNC
EXEC_NOHIDE = _misc_.EXEC_NOHIDE
EXEC_MAKE_GROUP_LEADER = _misc_.EXEC_MAKE_GROUP_LEADER
EXEC_NODISABLE = _misc_.EXEC_NODISABLE
def Execute(*args, **kwargs):
"""Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long"""
@ -1751,6 +1823,7 @@ JOY_BUTTON2 = _misc_.JOY_BUTTON2
JOY_BUTTON3 = _misc_.JOY_BUTTON3
JOY_BUTTON4 = _misc_.JOY_BUTTON4
class Joystick(object):
"""Proxy of C++ Joystick class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1947,6 +2020,7 @@ wxEVT_JOY_BUTTON_UP = _misc_.wxEVT_JOY_BUTTON_UP
wxEVT_JOY_MOVE = _misc_.wxEVT_JOY_MOVE
wxEVT_JOY_ZMOVE = _misc_.wxEVT_JOY_ZMOVE
class JoystickEvent(_core.Event):
"""Proxy of C++ JoystickEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
m_pos = property(_misc_.JoystickEvent_m_pos_get, _misc_.JoystickEvent_m_pos_set)
@ -2053,6 +2127,7 @@ SOUND_SYNC = _misc_.SOUND_SYNC
SOUND_ASYNC = _misc_.SOUND_ASYNC
SOUND_LOOP = _misc_.SOUND_LOOP
class Sound(object):
"""Proxy of C++ Sound class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSound instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2124,6 +2199,7 @@ MAILCAP_KDE = _misc_.MAILCAP_KDE
MAILCAP_GNOME = _misc_.MAILCAP_GNOME
MAILCAP_ALL = _misc_.MAILCAP_ALL
class FileTypeInfo(object):
"""Proxy of C++ FileTypeInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2201,6 +2277,7 @@ def NullFileTypeInfo(*args, **kwargs):
return val
class FileType(object):
"""Proxy of C++ FileType class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2281,6 +2358,7 @@ def FileType_ExpandCommand(*args, **kwargs):
return _misc_.FileType_ExpandCommand(*args, **kwargs)
class MimeTypesManager(object):
"""Proxy of C++ MimeTypesManager class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def IsOfType(*args, **kwargs):
@ -3085,6 +3163,7 @@ def ExpandEnvVars(*args, **kwargs):
#---------------------------------------------------------------------------
class DateTime(object):
"""Proxy of C++ DateTime class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
Local = _misc_.DateTime_Local
@ -3852,6 +3931,7 @@ def DateTime_SetToWeekOfYear(*args, **kwargs):
return _misc_.DateTime_SetToWeekOfYear(*args, **kwargs)
class TimeSpan(object):
"""Proxy of C++ TimeSpan class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Seconds(*args, **kwargs):
@ -4098,6 +4178,7 @@ def TimeSpan_Week(*args, **kwargs):
return _misc_.TimeSpan_Week(*args, **kwargs)
class DateSpan(object):
"""Proxy of C++ DateSpan class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5027,6 +5108,7 @@ class URLDataObjectPtr(URLDataObject):
_misc_.URLDataObject_swigregister(URLDataObjectPtr)
class MetafileDataObject(DataObjectSimple):
"""Proxy of C++ MetafileDataObject class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5067,6 +5149,7 @@ def IsDragResultOk(*args, **kwargs):
"""IsDragResultOk(int res) -> bool"""
return _misc_.IsDragResultOk(*args, **kwargs)
class DropSource(object):
"""Proxy of C++ DropSource class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5119,6 +5202,7 @@ class DropSourcePtr(DropSource):
_misc_.DropSource_swigregister(DropSourcePtr)
class DropTarget(object):
"""Proxy of C++ DropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5177,6 +5261,7 @@ _misc_.DropTarget_swigregister(DropTargetPtr)
PyDropTarget = DropTarget
class TextDropTarget(DropTarget):
"""Proxy of C++ TextDropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -5220,6 +5305,7 @@ class TextDropTargetPtr(TextDropTarget):
_misc_.TextDropTarget_swigregister(TextDropTargetPtr)
class FileDropTarget(DropTarget):
"""Proxy of C++ FileDropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because it is too large Load Diff

View File

@ -3,11 +3,53 @@
import _windows_
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
#---------------------------------------------------------------------------
class Panel(_core.Window):
"""Proxy of C++ Panel class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -115,6 +157,7 @@ def Panel_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ScrolledWindow(Panel):
"""Proxy of C++ ScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -331,6 +374,7 @@ TOPLEVEL_EX_DIALOG = _windows_.TOPLEVEL_EX_DIALOG
USER_ATTENTION_INFO = _windows_.USER_ATTENTION_INFO
USER_ATTENTION_ERROR = _windows_.USER_ATTENTION_ERROR
class TopLevelWindow(_core.Window):
"""Proxy of C++ TopLevelWindow class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -426,6 +470,7 @@ ToolBarNameStr = cvar.ToolBarNameStr
#---------------------------------------------------------------------------
class Frame(TopLevelWindow):
"""Proxy of C++ Frame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -495,7 +540,7 @@ class Frame(TopLevelWindow):
return _windows_.Frame_SetStatusText(*args, **kwargs)
def SetStatusWidths(*args, **kwargs):
"""SetStatusWidths(self, int widths, int widths_field)"""
"""SetStatusWidths(self, int widths)"""
return _windows_.Frame_SetStatusWidths(*args, **kwargs)
def PushStatusText(*args, **kwargs):
@ -586,6 +631,7 @@ def Frame_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class Dialog(TopLevelWindow):
"""Proxy of C++ Dialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -691,6 +737,7 @@ def Dialog_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class MiniFrame(Frame):
"""Proxy of C++ MiniFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -735,6 +782,7 @@ SPLASH_NO_CENTRE = _windows_.SPLASH_NO_CENTRE
SPLASH_TIMEOUT = _windows_.SPLASH_TIMEOUT
SPLASH_NO_TIMEOUT = _windows_.SPLASH_NO_TIMEOUT
class SplashScreenWindow(_core.Window):
"""Proxy of C++ SplashScreenWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -765,6 +813,7 @@ class SplashScreenWindowPtr(SplashScreenWindow):
_windows_.SplashScreenWindow_swigregister(SplashScreenWindowPtr)
class SplashScreen(Frame):
"""Proxy of C++ SplashScreen class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -805,6 +854,7 @@ SB_NORMAL = _windows_.SB_NORMAL
SB_FLAT = _windows_.SB_FLAT
SB_RAISED = _windows_.SB_RAISED
class StatusBar(_core.Window):
"""Proxy of C++ StatusBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -844,11 +894,11 @@ class StatusBar(_core.Window):
return _windows_.StatusBar_PopStatusText(*args, **kwargs)
def SetStatusWidths(*args, **kwargs):
"""SetStatusWidths(self, int widths, int widths_field)"""
"""SetStatusWidths(self, int widths)"""
return _windows_.StatusBar_SetStatusWidths(*args, **kwargs)
def SetStatusStyles(*args, **kwargs):
"""SetStatusStyles(self, int styles, int styles_field)"""
"""SetStatusStyles(self, int styles)"""
return _windows_.StatusBar_SetStatusStyles(*args, **kwargs)
def GetFieldRect(*args, **kwargs):
@ -1349,6 +1399,7 @@ SASH_BOTTOM = _windows_.SASH_BOTTOM
SASH_LEFT = _windows_.SASH_LEFT
SASH_NONE = _windows_.SASH_NONE
class SashWindow(_core.Window):
"""Proxy of C++ SashWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1466,6 +1517,7 @@ def PreSashWindow(*args, **kwargs):
SASH_STATUS_OK = _windows_.SASH_STATUS_OK
SASH_STATUS_OUT_OF_RANGE = _windows_.SASH_STATUS_OUT_OF_RANGE
class SashEvent(_core.CommandEvent):
"""Proxy of C++ SashEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1526,6 +1578,7 @@ LAYOUT_QUERY = _windows_.LAYOUT_QUERY
wxEVT_QUERY_LAYOUT_INFO = _windows_.wxEVT_QUERY_LAYOUT_INFO
wxEVT_CALCULATE_LAYOUT = _windows_.wxEVT_CALCULATE_LAYOUT
class QueryLayoutInfoEvent(_core.Event):
"""Proxy of C++ QueryLayoutInfoEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1583,6 +1636,7 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent):
_windows_.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr)
class CalculateLayoutEvent(_core.Event):
"""Proxy of C++ CalculateLayoutEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1619,6 +1673,7 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
class SashLayoutWindow(SashWindow):
"""Proxy of C++ SashLayoutWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1676,6 +1731,7 @@ def PreSashLayoutWindow(*args, **kwargs):
return val
class LayoutAlgorithm(_core.Object):
"""Proxy of C++ LayoutAlgorithm class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1713,6 +1769,7 @@ _windows_.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr)
#---------------------------------------------------------------------------
class PopupWindow(_core.Window):
"""Proxy of C++ PopupWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1748,6 +1805,7 @@ def PrePopupWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class PopupTransientWindow(PopupWindow):
"""Proxy of C++ PopupTransientWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1787,6 +1845,7 @@ def PrePopupTransientWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class TipWindow(PopupTransientWindow):
"""Proxy of C++ TipWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1802,7 +1861,14 @@ class TipWindow(PopupTransientWindow):
return _windows_.TipWindow_SetBoundingRect(*args, **kwargs)
def Close(*args, **kwargs):
"""Close(self)"""
"""
Close(self)
This function simply generates a EVT_CLOSE event whose handler usually
tries to close the window. It doesn't close the window itself,
however. If force is False (the default) then the window's close
handler will be allowed to veto the destruction of the window.
"""
return _windows_.TipWindow_Close(*args, **kwargs)
@ -1816,6 +1882,7 @@ _windows_.TipWindow_swigregister(TipWindowPtr)
#---------------------------------------------------------------------------
class VScrolledWindow(Panel):
"""Proxy of C++ VScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1929,6 +1996,7 @@ def PreVScrolledWindow(*args, **kwargs):
return val
class VListBox(VScrolledWindow):
"""Proxy of C++ VListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2053,6 +2121,7 @@ def PreVListBox(*args, **kwargs):
return val
class HtmlListBox(VListBox):
"""Proxy of C++ HtmlListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2106,6 +2175,7 @@ def PreHtmlListBox(*args, **kwargs):
#---------------------------------------------------------------------------
class TaskBarIcon(_core.EvtHandler):
"""Proxy of C++ TaskBarIcon class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2158,6 +2228,7 @@ class TaskBarIconPtr(TaskBarIcon):
_windows_.TaskBarIcon_swigregister(TaskBarIconPtr)
class TaskBarIconEvent(_core.Event):
"""Proxy of C++ TaskBarIconEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2698,6 +2769,7 @@ class TextEntryDialogPtr(TextEntryDialog):
_windows_.TextEntryDialog_swigregister(TextEntryDialogPtr)
class PasswordEntryDialog(TextEntryDialog):
"""Proxy of C++ PasswordEntryDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3250,6 +3322,7 @@ IDM_WINDOWTILEVERT = _windows_.IDM_WINDOWTILEVERT
FIRST_MDI_CHILD = _windows_.FIRST_MDI_CHILD
LAST_MDI_CHILD = _windows_.LAST_MDI_CHILD
class MDIParentFrame(Frame):
"""Proxy of C++ MDIParentFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3333,6 +3406,7 @@ def PreMDIParentFrame(*args, **kwargs):
return val
class MDIChildFrame(Frame):
"""Proxy of C++ MDIChildFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3384,6 +3458,7 @@ def PreMDIChildFrame(*args, **kwargs):
return val
class MDIClientWindow(_core.Window):
"""Proxy of C++ MDIClientWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3415,6 +3490,7 @@ def PreMDIClientWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class PyWindow(_core.Window):
"""Proxy of C++ PyWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3535,6 +3611,7 @@ def PrePyWindow(*args, **kwargs):
return val
class PyPanel(Panel):
"""Proxy of C++ PyPanel class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3655,6 +3732,7 @@ def PrePyPanel(*args, **kwargs):
return val
class PyScrolledWindow(ScrolledWindow):
"""Proxy of C++ PyScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -3797,6 +3875,7 @@ PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
PRINTBIN_USER = _windows_.PRINTBIN_USER
class PrintData(_core.Object):
"""Proxy of C++ PrintData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -3998,6 +4077,7 @@ PrintoutTitleStr = cvar.PrintoutTitleStr
PreviewCanvasNameStr = cvar.PreviewCanvasNameStr
class PageSetupDialogData(_core.Object):
"""Proxy of C++ PageSetupDialogData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4141,6 +4221,7 @@ class PageSetupDialogDataPtr(PageSetupDialogData):
_windows_.PageSetupDialogData_swigregister(PageSetupDialogDataPtr)
class PageSetupDialog(_core.Object):
"""Proxy of C++ PageSetupDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4170,6 +4251,7 @@ class PageSetupDialogPtr(PageSetupDialog):
_windows_.PageSetupDialog_swigregister(PageSetupDialogPtr)
class PrintDialogData(_core.Object):
"""Proxy of C++ PrintDialogData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4321,6 +4403,7 @@ class PrintDialogDataPtr(PrintDialogData):
_windows_.PrintDialogData_swigregister(PrintDialogDataPtr)
class PrintDialog(_core.Object):
"""Proxy of C++ PrintDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4357,6 +4440,7 @@ PRINTER_NO_ERROR = _windows_.PRINTER_NO_ERROR
PRINTER_CANCELLED = _windows_.PRINTER_CANCELLED
PRINTER_ERROR = _windows_.PRINTER_ERROR
class Printer(_core.Object):
"""Proxy of C++ Printer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4417,6 +4501,7 @@ def Printer_GetLastError(*args, **kwargs):
return _windows_.Printer_GetLastError(*args, **kwargs)
class Printout(_core.Object):
"""Proxy of C++ Printout class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4520,6 +4605,7 @@ class PrintoutPtr(Printout):
_windows_.Printout_swigregister(PrintoutPtr)
class PreviewCanvas(ScrolledWindow):
"""Proxy of C++ PreviewCanvas class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4543,6 +4629,7 @@ class PreviewCanvasPtr(PreviewCanvas):
_windows_.PreviewCanvas_swigregister(PreviewCanvasPtr)
class PreviewFrame(Frame):
"""Proxy of C++ PreviewFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4598,6 +4685,7 @@ ID_PREVIEW_FIRST = _windows_.ID_PREVIEW_FIRST
ID_PREVIEW_LAST = _windows_.ID_PREVIEW_LAST
ID_PREVIEW_GOTO = _windows_.ID_PREVIEW_GOTO
class PreviewControlBar(Panel):
"""Proxy of C++ PreviewControlBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4653,6 +4741,7 @@ class PreviewControlBarPtr(PreviewControlBar):
_windows_.PreviewControlBar_swigregister(PreviewControlBarPtr)
class PrintPreview(_core.Object):
"""Proxy of C++ PrintPreview class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4762,6 +4851,7 @@ class PrintPreviewPtr(PrintPreview):
_windows_.PrintPreview_swigregister(PrintPreviewPtr)
class PyPrintPreview(PrintPreview):
"""Proxy of C++ PyPrintPreview class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@ -4816,6 +4906,7 @@ class PyPrintPreviewPtr(PyPrintPreview):
_windows_.PyPrintPreview_swigregister(PyPrintPreviewPtr)
class PyPreviewFrame(PreviewFrame):
"""Proxy of C++ PyPreviewFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -4863,6 +4954,7 @@ class PyPreviewFramePtr(PyPreviewFrame):
_windows_.PyPreviewFrame_swigregister(PyPreviewFramePtr)
class PyPreviewControlBar(PreviewControlBar):
"""Proxy of C++ PyPreviewControlBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,47 @@ Classes for an interactive Calendar control.
import _calendar
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _misc
import _core
wx = _core
@ -123,6 +164,7 @@ class CalendarDateAttrPtr(CalendarDateAttr):
_calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr)
class CalendarEvent(_core.CommandEvent):
"""Proxy of C++ CalendarEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,47 @@ Classes for implementing a spreadsheet-like control.
import _grid
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
@ -31,6 +72,7 @@ GRID_MIN_ROW_HEIGHT = _grid.GRID_MIN_ROW_HEIGHT
GRID_MIN_COL_WIDTH = _grid.GRID_MIN_COL_WIDTH
GRID_DEFAULT_SCROLLBAR_WIDTH = _grid.GRID_DEFAULT_SCROLLBAR_WIDTH
class GridCellRenderer(object):
"""Proxy of C++ GridCellRenderer class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -78,6 +120,7 @@ GridNoCellCoords = cvar.GridNoCellCoords
GridNoCellRect = cvar.GridNoCellRect
class PyGridCellRenderer(GridCellRenderer):
"""Proxy of C++ PyGridCellRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -105,6 +148,7 @@ class PyGridCellRendererPtr(PyGridCellRenderer):
_grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr)
class GridCellStringRenderer(GridCellRenderer):
"""Proxy of C++ GridCellStringRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -124,6 +168,7 @@ class GridCellStringRendererPtr(GridCellStringRenderer):
_grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr)
class GridCellNumberRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellNumberRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -143,6 +188,7 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer):
_grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr)
class GridCellFloatRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellFloatRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -178,6 +224,7 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer):
_grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr)
class GridCellBoolRenderer(GridCellRenderer):
"""Proxy of C++ GridCellBoolRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -197,6 +244,7 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer):
_grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr)
class GridCellDateTimeRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellDateTimeRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -216,6 +264,7 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer):
_grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr)
class GridCellEnumRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellEnumRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -235,6 +284,7 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer):
_grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr)
class GridCellAutoWrapStringRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellAutoWrapStringRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -254,6 +304,7 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer):
_grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr)
class GridCellEditor(object):
"""Proxy of C++ GridCellEditor class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -354,6 +405,7 @@ class GridCellEditorPtr(GridCellEditor):
_grid.GridCellEditor_swigregister(GridCellEditorPtr)
class PyGridCellEditor(GridCellEditor):
"""Proxy of C++ PyGridCellEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -413,6 +465,7 @@ class PyGridCellEditorPtr(PyGridCellEditor):
_grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr)
class GridCellTextEditor(GridCellEditor):
"""Proxy of C++ GridCellTextEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -436,6 +489,7 @@ class GridCellTextEditorPtr(GridCellTextEditor):
_grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr)
class GridCellNumberEditor(GridCellTextEditor):
"""Proxy of C++ GridCellNumberEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -459,6 +513,7 @@ class GridCellNumberEditorPtr(GridCellNumberEditor):
_grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr)
class GridCellFloatEditor(GridCellTextEditor):
"""Proxy of C++ GridCellFloatEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -482,6 +537,7 @@ class GridCellFloatEditorPtr(GridCellFloatEditor):
_grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr)
class GridCellBoolEditor(GridCellEditor):
"""Proxy of C++ GridCellBoolEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -505,10 +561,11 @@ class GridCellBoolEditorPtr(GridCellBoolEditor):
_grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr)
class GridCellChoiceEditor(GridCellEditor):
"""Proxy of C++ GridCellChoiceEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor"""
"""__init__(self, int choices=0, bool allowOthers=False) -> GridCellChoiceEditor"""
newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
@ -528,6 +585,7 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor):
_grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr)
class GridCellEnumEditor(GridCellChoiceEditor):
"""Proxy of C++ GridCellEnumEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -551,6 +609,7 @@ class GridCellEnumEditorPtr(GridCellEnumEditor):
_grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr)
class GridCellAutoWrapStringEditor(GridCellTextEditor):
"""Proxy of C++ GridCellAutoWrapStringEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -574,6 +633,7 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor):
_grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr)
class GridCellAttr(object):
"""Proxy of C++ GridCellAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
Any = _grid.GridCellAttr_Any
@ -735,6 +795,7 @@ class GridCellAttrPtr(GridCellAttr):
_grid.GridCellAttr_swigregister(GridCellAttrPtr)
class GridCellAttrProvider(object):
"""Proxy of C++ GridCellAttrProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -782,6 +843,7 @@ class GridCellAttrProviderPtr(GridCellAttrProvider):
_grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr)
class PyGridCellAttrProvider(GridCellAttrProvider):
"""Proxy of C++ PyGridCellAttrProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -821,6 +883,7 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider):
_grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr)
class GridTableBase(_core.Object):
"""Proxy of C++ GridTableBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -973,6 +1036,7 @@ class GridTableBasePtr(GridTableBase):
_grid.GridTableBase_swigregister(GridTableBasePtr)
class PyGridTableBase(GridTableBase):
"""Proxy of C++ PyGridTableBase class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1080,6 +1144,7 @@ class PyGridTableBasePtr(PyGridTableBase):
_grid.PyGridTableBase_swigregister(PyGridTableBasePtr)
class GridStringTable(GridTableBase):
"""Proxy of C++ GridStringTable class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1107,6 +1172,7 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED
GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED
GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED
class GridTableMessage(object):
"""Proxy of C++ GridTableMessage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1162,6 +1228,7 @@ class GridTableMessagePtr(GridTableMessage):
_grid.GridTableMessage_swigregister(GridTableMessagePtr)
class GridCellCoords(object):
"""Proxy of C++ GridCellCoords class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1227,6 +1294,7 @@ class GridCellCoordsPtr(GridCellCoords):
_grid.GridCellCoords_swigregister(GridCellCoordsPtr)
class Grid(_windows.ScrolledWindow):
"""Proxy of C++ Grid class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2100,6 +2168,7 @@ def Grid_GetClassDefaultAttributes(*args, **kwargs):
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
class GridEvent(_core.NotifyEvent):
"""Proxy of C++ GridEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2154,6 +2223,7 @@ class GridEventPtr(GridEvent):
_grid.GridEvent_swigregister(GridEventPtr)
class GridSizeEvent(_core.NotifyEvent):
"""Proxy of C++ GridSizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2199,6 +2269,7 @@ class GridSizeEventPtr(GridSizeEvent):
_grid.GridSizeEvent_swigregister(GridSizeEventPtr)
class GridRangeSelectEvent(_core.NotifyEvent):
"""Proxy of C++ GridRangeSelectEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -2265,6 +2336,7 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent):
_grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr)
class GridEditorCreatedEvent(_core.CommandEvent):
"""Proxy of C++ GridEditorCreatedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,47 @@ Classes for a simple HTML rendering window, HTML Help Window, etc.
import _html
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
@ -50,6 +91,7 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE
HTML_URL_IMAGE = _html.HTML_URL_IMAGE
HTML_URL_OTHER = _html.HTML_URL_OTHER
class HtmlLinkInfo(_core.Object):
"""Proxy of C++ HtmlLinkInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -95,6 +137,7 @@ HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
class HtmlTag(_core.Object):
"""Proxy of C++ HtmlTag class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -139,6 +182,7 @@ class HtmlTagPtr(HtmlTag):
_html.HtmlTag_swigregister(HtmlTagPtr)
class HtmlParser(_core.Object):
"""Proxy of C++ HtmlParser class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -195,6 +239,7 @@ class HtmlParserPtr(HtmlParser):
_html.HtmlParser_swigregister(HtmlParserPtr)
class HtmlWinParser(HtmlParser):
"""Proxy of C++ HtmlWinParser class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -332,6 +377,7 @@ class HtmlWinParserPtr(HtmlWinParser):
_html.HtmlWinParser_swigregister(HtmlWinParserPtr)
class HtmlTagHandler(_core.Object):
"""Proxy of C++ HtmlTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -367,6 +413,7 @@ class HtmlTagHandlerPtr(HtmlTagHandler):
_html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr)
class HtmlWinTagHandler(HtmlTagHandler):
"""Proxy of C++ HtmlWinTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -408,6 +455,7 @@ def HtmlWinParser_AddTagHandler(*args, **kwargs):
#---------------------------------------------------------------------------
class HtmlSelection(object):
"""Proxy of C++ HtmlSelection class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -482,6 +530,7 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT
HTML_SEL_IN = _html.HTML_SEL_IN
HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
class HtmlRenderingState(object):
"""Proxy of C++ HtmlRenderingState class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -529,6 +578,7 @@ class HtmlRenderingStatePtr(HtmlRenderingState):
_html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr)
class HtmlRenderingStyle(object):
"""Proxy of C++ HtmlRenderingStyle class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -549,6 +599,7 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle):
_html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr)
class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
"""Proxy of C++ DefaultHtmlRenderingStyle class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -569,6 +620,7 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle):
_html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr)
class HtmlRenderingInfo(object):
"""Proxy of C++ HtmlRenderingInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -617,6 +669,7 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT
HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
class HtmlCell(_core.Object):
"""Proxy of C++ HtmlCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -766,6 +819,7 @@ class HtmlCellPtr(HtmlCell):
_html.HtmlCell_swigregister(HtmlCellPtr)
class HtmlWordCell(HtmlCell):
"""Proxy of C++ HtmlWordCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -783,6 +837,7 @@ class HtmlWordCellPtr(HtmlWordCell):
_html.HtmlWordCell_swigregister(HtmlWordCellPtr)
class HtmlContainerCell(HtmlCell):
"""Proxy of C++ HtmlContainerCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -864,6 +919,7 @@ class HtmlContainerCellPtr(HtmlContainerCell):
_html.HtmlContainerCell_swigregister(HtmlContainerCellPtr)
class HtmlColourCell(HtmlCell):
"""Proxy of C++ HtmlColourCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -881,6 +937,7 @@ class HtmlColourCellPtr(HtmlColourCell):
_html.HtmlColourCell_swigregister(HtmlColourCellPtr)
class HtmlFontCell(HtmlCell):
"""Proxy of C++ HtmlFontCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -898,6 +955,7 @@ class HtmlFontCellPtr(HtmlFontCell):
_html.HtmlFontCell_swigregister(HtmlFontCellPtr)
class HtmlWidgetCell(HtmlCell):
"""Proxy of C++ HtmlWidgetCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -917,6 +975,7 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr)
#---------------------------------------------------------------------------
class HtmlFilter(_core.Object):
"""Proxy of C++ HtmlFilter class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -942,6 +1001,7 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr)
#---------------------------------------------------------------------------
class HtmlWindow(_windows.ScrolledWindow):
"""Proxy of C++ HtmlWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1165,6 +1225,7 @@ def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class HtmlDCRenderer(_core.Object):
"""Proxy of C++ HtmlDCRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1222,6 +1283,7 @@ PAGE_ODD = _html.PAGE_ODD
PAGE_EVEN = _html.PAGE_EVEN
PAGE_ALL = _html.PAGE_ALL
class HtmlPrintout(_windows.Printout):
"""Proxy of C++ HtmlPrintout class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1288,6 +1350,7 @@ def HtmlPrintout_CleanUpStatics(*args, **kwargs):
return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
class HtmlEasyPrinting(_core.Object):
"""Proxy of C++ HtmlEasyPrinting class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1357,6 +1420,7 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr)
#---------------------------------------------------------------------------
class HtmlBookRecord(object):
"""Proxy of C++ HtmlBookRecord class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1418,6 +1482,7 @@ class HtmlBookRecordPtr(HtmlBookRecord):
_html.HtmlBookRecord_swigregister(HtmlBookRecordPtr)
class HtmlContentsItem(object):
"""Proxy of C++ HtmlContentsItem class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1450,6 +1515,7 @@ class HtmlContentsItemPtr(HtmlContentsItem):
_html.HtmlContentsItem_swigregister(HtmlContentsItemPtr)
class HtmlSearchStatus(object):
"""Proxy of C++ HtmlSearchStatus class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -1486,6 +1552,7 @@ class HtmlSearchStatusPtr(HtmlSearchStatus):
_html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr)
class HtmlHelpData(object):
"""Proxy of C++ HtmlHelpData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1545,6 +1612,7 @@ class HtmlHelpDataPtr(HtmlHelpData):
_html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
class HtmlHelpFrame(_windows.Frame):
"""Proxy of C++ HtmlHelpFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -1616,6 +1684,7 @@ HF_OPENFILES = _html.HF_OPENFILES
HF_PRINT = _html.HF_PRINT
HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE
class HtmlHelpController(_core.Object):
"""Proxy of C++ HtmlHelpController class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -2,19 +2,60 @@
# Don't modify this file, modify the SWIG interface instead.
"""
Classes for a medai player control
Classes for a media player control
"""
import _media
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
MEDIASTATE_STOPPED = _media.MEDIASTATE_STOPPED
MEDIASTATE_PAUSED = _media.MEDIASTATE_PAUSED
MEDIASTATE_PLAYING = _media.MEDIASTATE_PLAYING
MEDIATIMEFORMAT_TIME = _media.MEDIATIMEFORMAT_TIME
class MediaEvent(_core.NotifyEvent):
"""Proxy of C++ MediaEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMediaEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -32,6 +73,7 @@ class MediaEventPtr(MediaEvent):
_media.MediaEvent_swigregister(MediaEventPtr)
class MediaCtrl(_core.Control):
"""Proxy of C++ MediaCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMediaCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -48,16 +90,6 @@ class MediaCtrl(_core.Control):
del newobj.thisown
self._setOORInfo(self)
def CreateFromURI(*args, **kwargs):
"""
CreateFromURI(self, Window parent, int id=-1, String location=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String szBackend=EmptyString,
Validator validator=DefaultValidator,
String name=MediaCtrlNameStr) -> bool
"""
return _media.MediaCtrl_CreateFromURI(*args, **kwargs)
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id=-1, String fileName=EmptyString,
@ -108,21 +140,17 @@ class MediaCtrl(_core.Control):
"""SetPlaybackRate(self, double dRate) -> bool"""
return _media.MediaCtrl_SetPlaybackRate(*args, **kwargs)
def SetMediaPosition(*args, **kwargs):
"""SetMediaPosition(self, wxLongLong where) -> bool"""
return _media.MediaCtrl_SetMediaPosition(*args, **kwargs)
def Seek(*args, **kwargs):
"""Seek(self, wxFileOffset where, int mode=FromStart) -> wxFileOffset"""
return _media.MediaCtrl_Seek(*args, **kwargs)
def GetMediaPosition(*args, **kwargs):
"""
GetMediaPosition(self) -> wxLongLong
def Tell(*args, **kwargs):
"""Tell(self) -> wxFileOffset"""
return _media.MediaCtrl_Tell(*args, **kwargs)
Get the window's position.
"""
return _media.MediaCtrl_GetMediaPosition(*args, **kwargs)
def GetMediaDuration(*args, **kwargs):
"""GetMediaDuration(self) -> wxLongLong"""
return _media.MediaCtrl_GetMediaDuration(*args, **kwargs)
def Length(*args, **kwargs):
"""Length(self) -> wxFileOffset"""
return _media.MediaCtrl_Length(*args, **kwargs)
class MediaCtrlPtr(MediaCtrl):
@ -140,19 +168,6 @@ def PreMediaCtrl(*args, **kwargs):
val.thisown = 1
return val
def MediaCtrlFromURI(*args, **kwargs):
"""
MediaCtrlFromURI(Window parent, int id=-1, String location=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String szBackend=EmptyString,
Validator validator=DefaultValidator,
String name=MediaCtrlNameStr) -> MediaCtrl
"""
val = _media.new_MediaCtrlFromURI(*args, **kwargs)
val.thisown = 1
self._setOORInfo(self)
return val
wxEVT_MEDIA_FINISHED = _media.wxEVT_MEDIA_FINISHED
wxEVT_MEDIA_STOP = _media.wxEVT_MEDIA_STOP
EVT_MEDIA_FINISHED = wx.PyEventBinder( wxEVT_MEDIA_FINISHED, 1)

File diff suppressed because one or more lines are too long

View File

@ -7,10 +7,52 @@ wx.webkit.WebKitCtrl for Mac OSX.
import _webkit
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
class WebKitCtrl(_core.Control):
"""Proxy of C++ WebKitCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWebKitCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -99,6 +141,7 @@ WEBKIT_STATE_STOP = _webkit.WEBKIT_STATE_STOP
WEBKIT_STATE_FAILED = _webkit.WEBKIT_STATE_FAILED
wxEVT_WEBKIT_STATE_CHANGED = _webkit.wxEVT_WEBKIT_STATE_CHANGED
class WebKitStateChangedEvent(_core.CommandEvent):
"""Proxy of C++ WebKitStateChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWebKitStateChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,47 @@ or pages.
import _wizard
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
@ -25,6 +66,7 @@ EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
class WizardEvent(_core.NotifyEvent):
"""Proxy of C++ WizardEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -53,6 +95,7 @@ class WizardEventPtr(WizardEvent):
_wizard.WizardEvent_swigregister(WizardEventPtr)
class WizardPage(_windows.Panel):
"""Proxy of C++ WizardPage class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@ -81,6 +124,7 @@ class WizardPagePtr(WizardPage):
_wizard.WizardPage_swigregister(WizardPagePtr)
class PyWizardPage(WizardPage):
"""Proxy of C++ PyWizardPage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -186,6 +230,7 @@ def PrePyWizardPage(*args, **kwargs):
return val
class WizardPageSimple(WizardPage):
"""Proxy of C++ WizardPageSimple class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -238,6 +283,7 @@ def WizardPageSimple_Chain(*args, **kwargs):
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
class Wizard(_windows.Dialog):
"""Proxy of C++ Wizard class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,47 @@ controls on a panel, etc. to be loaded from an XML file.
import _xrc
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
if isinstance(value, class_type):
self.__dict__[name] = value.this
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if hasattr(self,name) or (name in ("this", "thisown")):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
@ -21,6 +62,7 @@ XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
XRC_NO_RELOADING = _xrc.XRC_NO_RELOADING
class XmlResource(_core.Object):
"""Proxy of C++ XmlResource class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -205,6 +247,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
#---------------------------------------------------------------------------
class XmlSubclassFactory(object):
"""Proxy of C++ XmlSubclassFactory class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -243,6 +286,7 @@ XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
class XmlProperty(object):
"""Proxy of C++ XmlProperty class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -287,6 +331,7 @@ class XmlPropertyPtr(XmlProperty):
_xrc.XmlProperty_swigregister(XmlPropertyPtr)
class XmlNode(object):
"""Proxy of C++ XmlNode class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -408,6 +453,7 @@ def XmlNodeEasy(*args, **kwargs):
return val
class XmlDocument(_core.Object):
"""Proxy of C++ XmlDocument class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@ -489,6 +535,7 @@ def EmptyXmlDocument(*args, **kwargs):
#---------------------------------------------------------------------------
class XmlResourceHandler(_core.Object):
"""Proxy of C++ XmlResourceHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):

File diff suppressed because one or more lines are too long

View File

@ -366,6 +366,7 @@ wxEVT_COMMAND_LIST_COL_END_DRAG = wx._controls.wxEVT_COMMAND_LIST_COL_END_DRAG
wxEVT_COMMAND_LIST_ITEM_FOCUSED = wx._controls.wxEVT_COMMAND_LIST_ITEM_FOCUSED
wxListCtrl = wx._controls.ListCtrl
wxListCtrlPtr = wx._controls.ListCtrlPtr
wxListCtrl = wx._controls.ListCtrl
wxPreListCtrl = wx._controls.PreListCtrl
wxListCtrl_GetClassDefaultAttributes = wx._controls.ListCtrl_GetClassDefaultAttributes
wxListView = wx._controls.ListView
@ -411,6 +412,7 @@ wxTreeItemId = wx._controls.TreeItemId
wxTreeItemIdPtr = wx._controls.TreeItemIdPtr
wxTreeItemData = wx._controls.TreeItemData
wxTreeItemDataPtr = wx._controls.TreeItemDataPtr
wxTreeItemData = wx._controls.TreeItemData
wxEVT_COMMAND_TREE_BEGIN_DRAG = wx._controls.wxEVT_COMMAND_TREE_BEGIN_DRAG
wxEVT_COMMAND_TREE_BEGIN_RDRAG = wx._controls.wxEVT_COMMAND_TREE_BEGIN_RDRAG
wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT = wx._controls.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
@ -435,6 +437,7 @@ wxTreeEvent = wx._controls.TreeEvent
wxTreeEventPtr = wx._controls.TreeEventPtr
wxTreeCtrl = wx._controls.TreeCtrl
wxTreeCtrlPtr = wx._controls.TreeCtrlPtr
wxTreeCtrl = wx._controls.TreeCtrl
wxPreTreeCtrl = wx._controls.PreTreeCtrl
wxTreeCtrl_GetClassDefaultAttributes = wx._controls.TreeCtrl_GetClassDefaultAttributes
wxDirDialogDefaultFolderStr = wx._controls.DirDialogDefaultFolderStr
@ -470,6 +473,7 @@ wxSimpleHelpProvider = wx._controls.SimpleHelpProvider
wxSimpleHelpProviderPtr = wx._controls.SimpleHelpProviderPtr
wxDragImage = wx._controls.DragImage
wxDragImagePtr = wx._controls.DragImagePtr
wxDragImage = wx._controls.DragImage
wxDragIcon = wx._controls.DragIcon
wxDragString = wx._controls.DragString
wxDragTreeItem = wx._controls.DragTreeItem

View File

@ -637,6 +637,7 @@ wxFromCurrent = wx._core.FromCurrent
wxFromEnd = wx._core.FromEnd
wxInputStream = wx._core.InputStream
wxInputStreamPtr = wx._core.InputStreamPtr
wxInputStream = wx._core.InputStream
wxOutputStream = wx._core.OutputStream
wxOutputStreamPtr = wx._core.OutputStreamPtr
wxFSFile = wx._core.FSFile
@ -645,6 +646,7 @@ wxCPPFileSystemHandler = wx._core.CPPFileSystemHandler
wxCPPFileSystemHandlerPtr = wx._core.CPPFileSystemHandlerPtr
wxFileSystemHandler = wx._core.FileSystemHandler
wxFileSystemHandlerPtr = wx._core.FileSystemHandlerPtr
wxFileSystemHandler = wx._core.FileSystemHandler
wxFileSystem = wx._core.FileSystem
wxFileSystemPtr = wx._core.FileSystemPtr
wxFileSystem_AddHandler = wx._core.FileSystem_AddHandler

View File

@ -216,6 +216,7 @@ wxFont_GetDefaultEncoding = wx._gdi.Font_GetDefaultEncoding
wxFont_SetDefaultEncoding = wx._gdi.Font_SetDefaultEncoding
wxFontEnumerator = wx._gdi.FontEnumerator
wxFontEnumeratorPtr = wx._gdi.FontEnumeratorPtr
wxFontEnumerator = wx._gdi.FontEnumerator
wxLANGUAGE_DEFAULT = wx._gdi.LANGUAGE_DEFAULT
wxLANGUAGE_UNKNOWN = wx._gdi.LANGUAGE_UNKNOWN
wxLANGUAGE_ABKHAZIAN = wx._gdi.LANGUAGE_ABKHAZIAN

View File

@ -228,6 +228,7 @@ wxTIMER_ONE_SHOT = wx._misc.TIMER_ONE_SHOT
wxEVT_TIMER = wx._misc.wxEVT_TIMER
wxTimer = wx._misc.Timer
wxTimerPtr = wx._misc.TimerPtr
wxTimer = wx._misc.Timer
wxTimerEvent = wx._misc.TimerEvent
wxTimerEventPtr = wx._misc.TimerEventPtr
wxTimerRunner = wx._misc.TimerRunner
@ -339,6 +340,7 @@ wxProcessPtr = wx._misc.ProcessPtr
wxProcess_Kill = wx._misc.Process_Kill
wxProcess_Exists = wx._misc.Process_Exists
wxProcess_Open = wx._misc.Process_Open
wxProcess = wx._misc.Process
wxProcessEvent = wx._misc.ProcessEvent
wxProcessEventPtr = wx._misc.ProcessEventPtr
wxEVT_END_PROCESS = wx._misc.wxEVT_END_PROCESS
@ -434,6 +436,7 @@ wxART_INFORMATION = wx._misc.ART_INFORMATION
wxART_MISSING_IMAGE = wx._misc.ART_MISSING_IMAGE
wxArtProvider = wx._misc.ArtProvider
wxArtProviderPtr = wx._misc.ArtProviderPtr
wxArtProvider = wx._misc.ArtProvider
wxArtProvider_PushProvider = wx._misc.ArtProvider_PushProvider
wxArtProvider_PopProvider = wx._misc.ArtProvider_PopProvider
wxArtProvider_RemoveProvider = wx._misc.ArtProvider_RemoveProvider
@ -571,12 +574,16 @@ wxDragCancel = wx._misc.DragCancel
wxIsDragResultOk = wx._misc.IsDragResultOk
wxDropSource = wx._misc.DropSource
wxDropSourcePtr = wx._misc.DropSourcePtr
wxDropSource = wx._misc.DropSource
wxDropTarget = wx._misc.DropTarget
wxDropTargetPtr = wx._misc.DropTargetPtr
wxDropTarget = wx._misc.DropTarget
wxTextDropTarget = wx._misc.TextDropTarget
wxTextDropTargetPtr = wx._misc.TextDropTargetPtr
wxTextDropTarget = wx._misc.TextDropTarget
wxFileDropTarget = wx._misc.FileDropTarget
wxFileDropTargetPtr = wx._misc.FileDropTargetPtr
wxFileDropTarget = wx._misc.FileDropTarget
wxClipboard = wx._misc.Clipboard
wxClipboardPtr = wx._misc.ClipboardPtr
wxClipboard_Get = wx._misc.Clipboard_Get

View File

@ -170,21 +170,26 @@ wxPopupWindowPtr = wx._windows.PopupWindowPtr
wxPrePopupWindow = wx._windows.PrePopupWindow
wxPopupTransientWindow = wx._windows.PopupTransientWindow
wxPopupTransientWindowPtr = wx._windows.PopupTransientWindowPtr
wxPopupTransientWindow = wx._windows.PopupTransientWindow
wxPrePopupTransientWindow = wx._windows.PrePopupTransientWindow
wxTipWindow = wx._windows.TipWindow
wxTipWindowPtr = wx._windows.TipWindowPtr
wxVScrolledWindow = wx._windows.VScrolledWindow
wxVScrolledWindowPtr = wx._windows.VScrolledWindowPtr
wxVScrolledWindow = wx._windows.VScrolledWindow
wxPreVScrolledWindow = wx._windows.PreVScrolledWindow
wxVListBoxNameStr = wx._windows.VListBoxNameStr
wxVListBox = wx._windows.VListBox
wxVListBoxPtr = wx._windows.VListBoxPtr
wxVListBox = wx._windows.VListBox
wxPreVListBox = wx._windows.PreVListBox
wxHtmlListBox = wx._windows.HtmlListBox
wxHtmlListBoxPtr = wx._windows.HtmlListBoxPtr
wxHtmlListBox = wx._windows.HtmlListBox
wxPreHtmlListBox = wx._windows.PreHtmlListBox
wxTaskBarIcon = wx._windows.TaskBarIcon
wxTaskBarIconPtr = wx._windows.TaskBarIconPtr
wxTaskBarIcon = wx._windows.TaskBarIcon
wxTaskBarIconEvent = wx._windows.TaskBarIconEvent
wxTaskBarIconEventPtr = wx._windows.TaskBarIconEventPtr
wxEVT_TASKBAR_MOVE = wx._windows.wxEVT_TASKBAR_MOVE
@ -312,6 +317,7 @@ wxPrinterPtr = wx._windows.PrinterPtr
wxPrinter_GetLastError = wx._windows.Printer_GetLastError
wxPrintout = wx._windows.Printout
wxPrintoutPtr = wx._windows.PrintoutPtr
wxPrintout = wx._windows.Printout
wxPreviewCanvas = wx._windows.PreviewCanvas
wxPreviewCanvasPtr = wx._windows.PreviewCanvasPtr
wxPreviewFrame = wx._windows.PreviewFrame

View File

@ -42,6 +42,7 @@ wxRemotelyScrolledTreeCtrl = wx.gizmos.RemotelyScrolledTreeCtrl
wxRemotelyScrolledTreeCtrlPtr = wx.gizmos.RemotelyScrolledTreeCtrlPtr
wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
wxTreeCompanionWindowPtr = wx.gizmos.TreeCompanionWindowPtr
wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
wxThinSplitterWindow = wx.gizmos.ThinSplitterWindow
wxThinSplitterWindowPtr = wx.gizmos.ThinSplitterWindowPtr
wxSplitterScrolledWindow = wx.gizmos.SplitterScrolledWindow
@ -68,6 +69,7 @@ wxTreeListColumnInfo = wx.gizmos.TreeListColumnInfo
wxTreeListColumnInfoPtr = wx.gizmos.TreeListColumnInfoPtr
wxTreeListCtrl = wx.gizmos.TreeListCtrl
wxTreeListCtrlPtr = wx.gizmos.TreeListCtrlPtr
wxTreeListCtrl = wx.gizmos.TreeListCtrl
wxPreTreeListCtrl = wx.gizmos.PreTreeListCtrl

View File

@ -68,8 +68,10 @@ wxHtmlWinParser = wx.html.HtmlWinParser
wxHtmlWinParserPtr = wx.html.HtmlWinParserPtr
wxHtmlTagHandler = wx.html.HtmlTagHandler
wxHtmlTagHandlerPtr = wx.html.HtmlTagHandlerPtr
wxHtmlTagHandler = wx.html.HtmlTagHandler
wxHtmlWinTagHandler = wx.html.HtmlWinTagHandler
wxHtmlWinTagHandlerPtr = wx.html.HtmlWinTagHandlerPtr
wxHtmlWinTagHandler = wx.html.HtmlWinTagHandler
wxHtmlWinParser_AddTagHandler = wx.html.HtmlWinParser_AddTagHandler
wxHtmlSelection = wx.html.HtmlSelection
wxHtmlSelectionPtr = wx.html.HtmlSelectionPtr
@ -101,8 +103,10 @@ wxHtmlWidgetCell = wx.html.HtmlWidgetCell
wxHtmlWidgetCellPtr = wx.html.HtmlWidgetCellPtr
wxHtmlFilter = wx.html.HtmlFilter
wxHtmlFilterPtr = wx.html.HtmlFilterPtr
wxHtmlFilter = wx.html.HtmlFilter
wxHtmlWindow = wx.html.HtmlWindow
wxHtmlWindowPtr = wx.html.HtmlWindowPtr
wxHtmlWindow = wx.html.HtmlWindow
wxPreHtmlWindow = wx.html.PreHtmlWindow
wxHtmlWindow_AddFilter = wx.html.HtmlWindow_AddFilter
wxHtmlWindow_GetClassDefaultAttributes = wx.html.HtmlWindow_GetClassDefaultAttributes

View File

@ -42,6 +42,7 @@ wxXmlResource_Get = wx.xrc.XmlResource_Get
wxXmlResource_Set = wx.xrc.XmlResource_Set
wxXmlSubclassFactory = wx.xrc.XmlSubclassFactory
wxXmlSubclassFactoryPtr = wx.xrc.XmlSubclassFactoryPtr
wxXmlSubclassFactory = wx.xrc.XmlSubclassFactory
wxXML_ELEMENT_NODE = wx.xrc.XML_ELEMENT_NODE
wxXML_ATTRIBUTE_NODE = wx.xrc.XML_ATTRIBUTE_NODE
wxXML_TEXT_NODE = wx.xrc.XML_TEXT_NODE
@ -66,6 +67,7 @@ wxXmlDocumentFromStream = wx.xrc.XmlDocumentFromStream
wxEmptyXmlDocument = wx.xrc.EmptyXmlDocument
wxXmlResourceHandler = wx.xrc.XmlResourceHandler
wxXmlResourceHandlerPtr = wx.xrc.XmlResourceHandlerPtr
wxXmlResourceHandler = wx.xrc.XmlResourceHandler
XRCID = wx.xrc.XRCID
XRCCTRL = wx.xrc.XRCCTRL
wxTheXmlResource = wx.xrc.TheXmlResource