]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/mac/ogl.py
don't draw focus rect for custom drawn items when the list control doesn't have focus
[wxWidgets.git] / wxPython / contrib / ogl / mac / ogl.py
index 2360c8308c532f57e295ffef57e1a0dda65a0f3e..4baec2f1261cc53532e722986dd637c8b033fe03 100644 (file)
@@ -1,15 +1,66 @@
 # This file was created automatically by SWIG.
 # Don't modify this file, modify the SWIG interface instead.
 
+"""
+The Object Graphics Library provides for simple drawing and manipulation
+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 
 __docfilter__ = wx.__DocFilter(globals()) 
+import warnings
+warnings.warn("This module is deprecated.  Please use the wx.lib.ogl package instead.",    
+              DeprecationWarning, stacklevel=2)
+
 #---------------------------------------------------------------------------
 
 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):
@@ -139,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):
@@ -159,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):
@@ -341,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):
@@ -349,7 +403,7 @@ class PyShape(PyShapeEvtHandler):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
-        self._setOORandCallbackInfo(PyShapeEvtHandler)
+        self._setOORandCallbackInfo(PyShape)
 
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
@@ -1067,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):
@@ -1194,15 +1249,15 @@ class PseudoMetaFile(_core.Object):
         return _ogl.PseudoMetaFile_DrawText(*args, **kwargs)
 
     def DrawLines(*args, **kwargs):
-        """DrawLines(self, int PCOUNT, Point points)"""
+        """DrawLines(self, int points)"""
         return _ogl.PseudoMetaFile_DrawLines(*args, **kwargs)
 
     def DrawPolygon(*args, **kwargs):
-        """DrawPolygon(self, int PCOUNT, Point points, int flags=0)"""
+        """DrawPolygon(self, int points, int flags=0)"""
         return _ogl.PseudoMetaFile_DrawPolygon(*args, **kwargs)
 
     def DrawSpline(*args, **kwargs):
-        """DrawSpline(self, int PCOUNT, Point points)"""
+        """DrawSpline(self, int points)"""
         return _ogl.PseudoMetaFile_DrawSpline(*args, **kwargs)
 
     def SetClippingRect(*args, **kwargs):
@@ -1214,11 +1269,11 @@ class PseudoMetaFile(_core.Object):
         return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs)
 
     def SetPen(*args, **kwargs):
-        """SetPen(self, wxPen pen, bool isOutline=FALSE)"""
+        """SetPen(self, wxPen pen, bool isOutline=False)"""
         return _ogl.PseudoMetaFile_SetPen(*args, **kwargs)
 
     def SetBrush(*args, **kwargs):
-        """SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
+        """SetBrush(self, wxBrush brush, bool isFill=False)"""
         return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs)
 
     def SetFont(*args, **kwargs):
@@ -1246,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):
@@ -1281,7 +1337,7 @@ class PyRectangleShape(PyShape):
         return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -1408,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):
@@ -1443,7 +1500,7 @@ class PyControlPoint(PyRectangleShape):
         return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -1570,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):
@@ -1613,7 +1671,7 @@ class PyBitmapShape(PyRectangleShape):
         return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -1740,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):
@@ -1779,7 +1838,7 @@ class PyDrawnShape(PyRectangleShape):
         return _ogl.PyDrawnShape_DrawLine(*args, **kwargs)
 
     def DrawLines(*args, **kwargs):
-        """DrawLines(self, int PCOUNT, Point points)"""
+        """DrawLines(self, int points)"""
         return _ogl.PyDrawnShape_DrawLines(*args, **kwargs)
 
     def DrawPoint(*args, **kwargs):
@@ -1787,7 +1846,7 @@ class PyDrawnShape(PyRectangleShape):
         return _ogl.PyDrawnShape_DrawPoint(*args, **kwargs)
 
     def DrawPolygon(*args, **kwargs):
-        """DrawPolygon(self, int PCOUNT, Point points, int flags=0)"""
+        """DrawPolygon(self, int points, int flags=0)"""
         return _ogl.PyDrawnShape_DrawPolygon(*args, **kwargs)
 
     def DrawRectangle(*args, **kwargs):
@@ -1799,7 +1858,7 @@ class PyDrawnShape(PyRectangleShape):
         return _ogl.PyDrawnShape_DrawRoundedRectangle(*args, **kwargs)
 
     def DrawSpline(*args, **kwargs):
-        """DrawSpline(self, int PCOUNT, Point points)"""
+        """DrawSpline(self, int points)"""
         return _ogl.PyDrawnShape_DrawSpline(*args, **kwargs)
 
     def DrawText(*args, **kwargs):
@@ -1839,7 +1898,7 @@ class PyDrawnShape(PyRectangleShape):
         return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs)
 
     def SetDrawnBrush(*args, **kwargs):
-        """SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
+        """SetDrawnBrush(self, wxBrush pen, bool isOutline=False)"""
         return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs)
 
     def SetDrawnFont(*args, **kwargs):
@@ -1847,7 +1906,7 @@ class PyDrawnShape(PyRectangleShape):
         return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs)
 
     def SetDrawnPen(*args, **kwargs):
-        """SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
+        """SetDrawnPen(self, wxPen pen, bool isOutline=False)"""
         return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs)
 
     def SetDrawnTextColour(*args, **kwargs):
@@ -1879,7 +1938,7 @@ class PyDrawnShape(PyRectangleShape):
         return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -2006,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):
@@ -2035,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):
@@ -2118,7 +2179,7 @@ class PyCompositeShape(PyRectangleShape):
         return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -2245,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):
@@ -2280,7 +2342,7 @@ class PyDividedShape(PyRectangleShape):
         return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -2407,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):
@@ -2534,7 +2597,7 @@ class PyDivisionShape(PyCompositeShape):
         return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -2661,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):
@@ -2684,7 +2748,7 @@ class PyEllipseShape(PyShape):
         return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -2811,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):
@@ -2834,7 +2899,7 @@ class PyCircleShape(PyEllipseShape):
         return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -2961,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):
@@ -3052,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):
@@ -3190,6 +3257,10 @@ class PyLineShape(PyShape):
         """GetLineControlPoints(self) -> PyObject"""
         return _ogl.PyLineShape_GetLineControlPoints(*args, **kwargs)
 
+    def SetLineControlPoints(*args, **kwargs):
+        """SetLineControlPoints(self, PyObject list)"""
+        return _ogl.PyLineShape_SetLineControlPoints(*args, **kwargs)
+
     def SetAttachmentFrom(*args, **kwargs):
         """SetAttachmentFrom(self, int fromAttach)"""
         return _ogl.PyLineShape_SetAttachmentFrom(*args, **kwargs)
@@ -3263,7 +3334,7 @@ class PyLineShape(PyShape):
         return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -3390,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):
@@ -3457,7 +3529,7 @@ class PyPolygonShape(PyShape):
         return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -3584,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):
@@ -3611,7 +3684,7 @@ class PyTextShape(PyRectangleShape):
         return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs)
 
     def base_OnDrawBranches(*args, **kwargs):
-        """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
+        """base_OnDrawBranches(self, DC dc, bool erase=False)"""
         return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs)
 
     def base_OnMoveLinks(*args, **kwargs):
@@ -3738,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):
@@ -3851,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):
@@ -3863,6 +3938,8 @@ class PyShapeCanvas(_windows.ScrolledWindow):
         self.this = newobj.this
         self.thisown = 1
         del newobj.thisown
+        self._setOORandCallbackInfo(PyShapeCanvas)
+
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
         return _ogl.PyShapeCanvas__setCallbackInfo(*args, **kwargs)