1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
22 from stattool
import *
24 from controls
import *
26 from controls2
import *
28 from windows2
import *
32 from windows3
import *
44 class wxDiagramPtr(wxObjectPtr
):
45 def __init__(self
,this
):
48 def AddShape(self
, *_args
, **_kwargs
):
49 val
= apply(oglcanvasc
.wxDiagram_AddShape
,(self
,) + _args
, _kwargs
)
51 def Clear(self
, *_args
, **_kwargs
):
52 val
= apply(oglcanvasc
.wxDiagram_Clear
,(self
,) + _args
, _kwargs
)
54 def DeleteAllShapes(self
, *_args
, **_kwargs
):
55 val
= apply(oglcanvasc
.wxDiagram_DeleteAllShapes
,(self
,) + _args
, _kwargs
)
57 def DrawOutline(self
, *_args
, **_kwargs
):
58 val
= apply(oglcanvasc
.wxDiagram_DrawOutline
,(self
,) + _args
, _kwargs
)
60 def FindShape(self
, *_args
, **_kwargs
):
61 val
= apply(oglcanvasc
.wxDiagram_FindShape
,(self
,) + _args
, _kwargs
)
63 def GetCanvas(self
, *_args
, **_kwargs
):
64 val
= apply(oglcanvasc
.wxDiagram_GetCanvas
,(self
,) + _args
, _kwargs
)
66 def GetCount(self
, *_args
, **_kwargs
):
67 val
= apply(oglcanvasc
.wxDiagram_GetCount
,(self
,) + _args
, _kwargs
)
69 def GetGridSpacing(self
, *_args
, **_kwargs
):
70 val
= apply(oglcanvasc
.wxDiagram_GetGridSpacing
,(self
,) + _args
, _kwargs
)
72 def GetMouseTolerance(self
, *_args
, **_kwargs
):
73 val
= apply(oglcanvasc
.wxDiagram_GetMouseTolerance
,(self
,) + _args
, _kwargs
)
75 def GetShapeList(self
, *_args
, **_kwargs
):
76 val
= apply(oglcanvasc
.wxDiagram_GetShapeList
,(self
,) + _args
, _kwargs
)
78 def GetQuickEditMode(self
, *_args
, **_kwargs
):
79 val
= apply(oglcanvasc
.wxDiagram_GetQuickEditMode
,(self
,) + _args
, _kwargs
)
81 def GetSnapToGrid(self
, *_args
, **_kwargs
):
82 val
= apply(oglcanvasc
.wxDiagram_GetSnapToGrid
,(self
,) + _args
, _kwargs
)
84 def InsertShape(self
, *_args
, **_kwargs
):
85 val
= apply(oglcanvasc
.wxDiagram_InsertShape
,(self
,) + _args
, _kwargs
)
87 def LoadFile(self
, *_args
, **_kwargs
):
88 val
= apply(oglcanvasc
.wxDiagram_LoadFile
,(self
,) + _args
, _kwargs
)
90 def ReadContainerGeometry(self
, *_args
, **_kwargs
):
91 val
= apply(oglcanvasc
.wxDiagram_ReadContainerGeometry
,(self
,) + _args
, _kwargs
)
93 def ReadLines(self
, *_args
, **_kwargs
):
94 val
= apply(oglcanvasc
.wxDiagram_ReadLines
,(self
,) + _args
, _kwargs
)
96 def ReadNodes(self
, *_args
, **_kwargs
):
97 val
= apply(oglcanvasc
.wxDiagram_ReadNodes
,(self
,) + _args
, _kwargs
)
99 def RecentreAll(self
, *_args
, **_kwargs
):
100 val
= apply(oglcanvasc
.wxDiagram_RecentreAll
,(self
,) + _args
, _kwargs
)
102 def Redraw(self
, *_args
, **_kwargs
):
103 val
= apply(oglcanvasc
.wxDiagram_Redraw
,(self
,) + _args
, _kwargs
)
105 def RemoveAllShapes(self
, *_args
, **_kwargs
):
106 val
= apply(oglcanvasc
.wxDiagram_RemoveAllShapes
,(self
,) + _args
, _kwargs
)
108 def RemoveShape(self
, *_args
, **_kwargs
):
109 val
= apply(oglcanvasc
.wxDiagram_RemoveShape
,(self
,) + _args
, _kwargs
)
111 def SaveFile(self
, *_args
, **_kwargs
):
112 val
= apply(oglcanvasc
.wxDiagram_SaveFile
,(self
,) + _args
, _kwargs
)
114 def SetCanvas(self
, *_args
, **_kwargs
):
115 val
= apply(oglcanvasc
.wxDiagram_SetCanvas
,(self
,) + _args
, _kwargs
)
117 def SetGridSpacing(self
, *_args
, **_kwargs
):
118 val
= apply(oglcanvasc
.wxDiagram_SetGridSpacing
,(self
,) + _args
, _kwargs
)
120 def SetMouseTolerance(self
, *_args
, **_kwargs
):
121 val
= apply(oglcanvasc
.wxDiagram_SetMouseTolerance
,(self
,) + _args
, _kwargs
)
123 def SetQuickEditMode(self
, *_args
, **_kwargs
):
124 val
= apply(oglcanvasc
.wxDiagram_SetQuickEditMode
,(self
,) + _args
, _kwargs
)
126 def SetSnapToGrid(self
, *_args
, **_kwargs
):
127 val
= apply(oglcanvasc
.wxDiagram_SetSnapToGrid
,(self
,) + _args
, _kwargs
)
129 def ShowAll(self
, *_args
, **_kwargs
):
130 val
= apply(oglcanvasc
.wxDiagram_ShowAll
,(self
,) + _args
, _kwargs
)
132 def Snap(self
, *_args
, **_kwargs
):
133 val
= apply(oglcanvasc
.wxDiagram_Snap
,(self
,) + _args
, _kwargs
)
136 return "<C wxDiagram instance at %s>" % (self
.this
,)
137 class wxDiagram(wxDiagramPtr
):
138 def __init__(self
,*_args
,**_kwargs
):
139 self
.this
= apply(oglcanvasc
.new_wxDiagram
,_args
,_kwargs
)
145 class wxPyShapeCanvasPtr(wxScrolledWindowPtr
):
146 def __init__(self
,this
):
149 def _setSelf(self
, *_args
, **_kwargs
):
150 val
= apply(oglcanvasc
.wxPyShapeCanvas__setSelf
,(self
,) + _args
, _kwargs
)
152 def AddShape(self
, *_args
, **_kwargs
):
153 val
= apply(oglcanvasc
.wxPyShapeCanvas_AddShape
,(self
,) + _args
, _kwargs
)
155 def FindShape(self
, *_args
, **_kwargs
):
156 val
= apply(oglcanvasc
.wxPyShapeCanvas_FindShape
,(self
,) + _args
, _kwargs
)
158 def FindFirstSensitiveShape(self
, *_args
, **_kwargs
):
159 val
= apply(oglcanvasc
.wxPyShapeCanvas_FindFirstSensitiveShape
,(self
,) + _args
, _kwargs
)
161 def GetDiagram(self
, *_args
, **_kwargs
):
162 val
= apply(oglcanvasc
.wxPyShapeCanvas_GetDiagram
,(self
,) + _args
, _kwargs
)
164 def GetQuickEditMode(self
, *_args
, **_kwargs
):
165 val
= apply(oglcanvasc
.wxPyShapeCanvas_GetQuickEditMode
,(self
,) + _args
, _kwargs
)
167 def InsertShape(self
, *_args
, **_kwargs
):
168 val
= apply(oglcanvasc
.wxPyShapeCanvas_InsertShape
,(self
,) + _args
, _kwargs
)
170 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
171 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
173 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
174 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
176 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
177 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
179 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
180 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
182 def base_OnDragLeft(self
, *_args
, **_kwargs
):
183 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
185 def base_OnDragRight(self
, *_args
, **_kwargs
):
186 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnDragRight
,(self
,) + _args
, _kwargs
)
188 def base_OnLeftClick(self
, *_args
, **_kwargs
):
189 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
191 def base_OnRightClick(self
, *_args
, **_kwargs
):
192 val
= apply(oglcanvasc
.wxPyShapeCanvas_base_OnRightClick
,(self
,) + _args
, _kwargs
)
194 def Redraw(self
, *_args
, **_kwargs
):
195 val
= apply(oglcanvasc
.wxPyShapeCanvas_Redraw
,(self
,) + _args
, _kwargs
)
197 def RemoveShape(self
, *_args
, **_kwargs
):
198 val
= apply(oglcanvasc
.wxPyShapeCanvas_RemoveShape
,(self
,) + _args
, _kwargs
)
200 def SetDiagram(self
, *_args
, **_kwargs
):
201 val
= apply(oglcanvasc
.wxPyShapeCanvas_SetDiagram
,(self
,) + _args
, _kwargs
)
203 def Snap(self
, *_args
, **_kwargs
):
204 val
= apply(oglcanvasc
.wxPyShapeCanvas_Snap
,(self
,) + _args
, _kwargs
)
207 return "<C wxPyShapeCanvas instance at %s>" % (self
.this
,)
208 class wxPyShapeCanvas(wxPyShapeCanvasPtr
):
209 def __init__(self
,*_args
,**_kwargs
):
210 self
.this
= apply(oglcanvasc
.new_wxPyShapeCanvas
,_args
,_kwargs
)
212 self
._setSelf
(self
, wxPyShapeCanvas
)
213 #wx._StdWindowCallbacks(self)
214 #wx._StdOnScrollCallbacks(self)
221 #-------------- FUNCTION WRAPPERS ------------------
225 #-------------- VARIABLE WRAPPERS ------------------