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
#---------------------------------------------------------------------------
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):
_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):
_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):
_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):
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):
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):
_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):
_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):
_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):
_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):
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):
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):
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):
_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):
_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):
_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):
_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):
_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):
_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):
_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):
_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):
_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):
_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):
_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):
_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):