]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/oglcanvas.py
Fixed compilation error.
[wxWidgets.git] / wxPython / contrib / ogl / oglcanvas.py
CommitLineData
e91a9dfc
RD
1# This file was created automatically by SWIG.
2import oglcanvasc
3
4from misc import *
5
6from misc2 import *
7
8from windows import *
9
10from gdi import *
11
e02c03a4
RD
12from clip_dnd import *
13
e91a9dfc
RD
14from events import *
15
c368d904
RD
16from streams import *
17
08da19d7
RD
18from utils import *
19
e91a9dfc
RD
20from mdi import *
21
22from frames import *
23
24from stattool import *
25
26from controls import *
27
28from controls2 import *
29
30from windows2 import *
31
32from cmndlgs import *
33
34from windows3 import *
35
36from image import *
37
38from printfw import *
2348eaee
RD
39
40from sizers import *
c368d904
RD
41
42from filesys import *
43
edf2f43e 44from oglbasic import *
e91a9dfc 45import wx
9416aa89 46class wxDiagramPtr(wxObjectPtr):
e91a9dfc
RD
47 def __init__(self,this):
48 self.this = this
49 self.thisown = 0
e91a9dfc
RD
50 def AddShape(self, *_args, **_kwargs):
51 val = apply(oglcanvasc.wxDiagram_AddShape,(self,) + _args, _kwargs)
52 return val
53 def Clear(self, *_args, **_kwargs):
54 val = apply(oglcanvasc.wxDiagram_Clear,(self,) + _args, _kwargs)
55 return val
56 def DeleteAllShapes(self, *_args, **_kwargs):
57 val = apply(oglcanvasc.wxDiagram_DeleteAllShapes,(self,) + _args, _kwargs)
58 return val
59 def DrawOutline(self, *_args, **_kwargs):
60 val = apply(oglcanvasc.wxDiagram_DrawOutline,(self,) + _args, _kwargs)
61 return val
62 def FindShape(self, *_args, **_kwargs):
63 val = apply(oglcanvasc.wxDiagram_FindShape,(self,) + _args, _kwargs)
e91a9dfc
RD
64 return val
65 def GetCanvas(self, *_args, **_kwargs):
66 val = apply(oglcanvasc.wxDiagram_GetCanvas,(self,) + _args, _kwargs)
e91a9dfc
RD
67 return val
68 def GetCount(self, *_args, **_kwargs):
69 val = apply(oglcanvasc.wxDiagram_GetCount,(self,) + _args, _kwargs)
70 return val
71 def GetGridSpacing(self, *_args, **_kwargs):
72 val = apply(oglcanvasc.wxDiagram_GetGridSpacing,(self,) + _args, _kwargs)
73 return val
74 def GetMouseTolerance(self, *_args, **_kwargs):
75 val = apply(oglcanvasc.wxDiagram_GetMouseTolerance,(self,) + _args, _kwargs)
76 return val
77 def GetShapeList(self, *_args, **_kwargs):
78 val = apply(oglcanvasc.wxDiagram_GetShapeList,(self,) + _args, _kwargs)
79 return val
80 def GetQuickEditMode(self, *_args, **_kwargs):
81 val = apply(oglcanvasc.wxDiagram_GetQuickEditMode,(self,) + _args, _kwargs)
82 return val
83 def GetSnapToGrid(self, *_args, **_kwargs):
84 val = apply(oglcanvasc.wxDiagram_GetSnapToGrid,(self,) + _args, _kwargs)
85 return val
86 def InsertShape(self, *_args, **_kwargs):
87 val = apply(oglcanvasc.wxDiagram_InsertShape,(self,) + _args, _kwargs)
88 return val
89 def LoadFile(self, *_args, **_kwargs):
90 val = apply(oglcanvasc.wxDiagram_LoadFile,(self,) + _args, _kwargs)
91 return val
92 def ReadContainerGeometry(self, *_args, **_kwargs):
93 val = apply(oglcanvasc.wxDiagram_ReadContainerGeometry,(self,) + _args, _kwargs)
94 return val
95 def ReadLines(self, *_args, **_kwargs):
96 val = apply(oglcanvasc.wxDiagram_ReadLines,(self,) + _args, _kwargs)
97 return val
98 def ReadNodes(self, *_args, **_kwargs):
99 val = apply(oglcanvasc.wxDiagram_ReadNodes,(self,) + _args, _kwargs)
100 return val
101 def RecentreAll(self, *_args, **_kwargs):
102 val = apply(oglcanvasc.wxDiagram_RecentreAll,(self,) + _args, _kwargs)
103 return val
104 def Redraw(self, *_args, **_kwargs):
105 val = apply(oglcanvasc.wxDiagram_Redraw,(self,) + _args, _kwargs)
106 return val
107 def RemoveAllShapes(self, *_args, **_kwargs):
108 val = apply(oglcanvasc.wxDiagram_RemoveAllShapes,(self,) + _args, _kwargs)
109 return val
110 def RemoveShape(self, *_args, **_kwargs):
111 val = apply(oglcanvasc.wxDiagram_RemoveShape,(self,) + _args, _kwargs)
112 return val
113 def SaveFile(self, *_args, **_kwargs):
114 val = apply(oglcanvasc.wxDiagram_SaveFile,(self,) + _args, _kwargs)
115 return val
116 def SetCanvas(self, *_args, **_kwargs):
117 val = apply(oglcanvasc.wxDiagram_SetCanvas,(self,) + _args, _kwargs)
118 return val
119 def SetGridSpacing(self, *_args, **_kwargs):
120 val = apply(oglcanvasc.wxDiagram_SetGridSpacing,(self,) + _args, _kwargs)
121 return val
122 def SetMouseTolerance(self, *_args, **_kwargs):
123 val = apply(oglcanvasc.wxDiagram_SetMouseTolerance,(self,) + _args, _kwargs)
124 return val
125 def SetQuickEditMode(self, *_args, **_kwargs):
126 val = apply(oglcanvasc.wxDiagram_SetQuickEditMode,(self,) + _args, _kwargs)
127 return val
128 def SetSnapToGrid(self, *_args, **_kwargs):
129 val = apply(oglcanvasc.wxDiagram_SetSnapToGrid,(self,) + _args, _kwargs)
130 return val
131 def ShowAll(self, *_args, **_kwargs):
132 val = apply(oglcanvasc.wxDiagram_ShowAll,(self,) + _args, _kwargs)
133 return val
134 def Snap(self, *_args, **_kwargs):
135 val = apply(oglcanvasc.wxDiagram_Snap,(self,) + _args, _kwargs)
136 return val
137 def __repr__(self):
138 return "<C wxDiagram instance at %s>" % (self.this,)
139class wxDiagram(wxDiagramPtr):
140 def __init__(self,*_args,**_kwargs):
141 self.this = apply(oglcanvasc.new_wxDiagram,_args,_kwargs)
142 self.thisown = 1
143
144
145
146
147class wxPyShapeCanvasPtr(wxScrolledWindowPtr):
148 def __init__(self,this):
149 self.this = this
150 self.thisown = 0
0122b7e3
RD
151 def _setCallbackInfo(self, *_args, **_kwargs):
152 val = apply(oglcanvasc.wxPyShapeCanvas__setCallbackInfo,(self,) + _args, _kwargs)
e91a9dfc
RD
153 return val
154 def AddShape(self, *_args, **_kwargs):
155 val = apply(oglcanvasc.wxPyShapeCanvas_AddShape,(self,) + _args, _kwargs)
156 return val
157 def FindShape(self, *_args, **_kwargs):
158 val = apply(oglcanvasc.wxPyShapeCanvas_FindShape,(self,) + _args, _kwargs)
e91a9dfc
RD
159 return val
160 def FindFirstSensitiveShape(self, *_args, **_kwargs):
161 val = apply(oglcanvasc.wxPyShapeCanvas_FindFirstSensitiveShape,(self,) + _args, _kwargs)
e91a9dfc
RD
162 return val
163 def GetDiagram(self, *_args, **_kwargs):
164 val = apply(oglcanvasc.wxPyShapeCanvas_GetDiagram,(self,) + _args, _kwargs)
e91a9dfc
RD
165 return val
166 def GetQuickEditMode(self, *_args, **_kwargs):
167 val = apply(oglcanvasc.wxPyShapeCanvas_GetQuickEditMode,(self,) + _args, _kwargs)
168 return val
169 def InsertShape(self, *_args, **_kwargs):
170 val = apply(oglcanvasc.wxPyShapeCanvas_InsertShape,(self,) + _args, _kwargs)
171 return val
172 def base_OnBeginDragLeft(self, *_args, **_kwargs):
173 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnBeginDragLeft,(self,) + _args, _kwargs)
174 return val
175 def base_OnBeginDragRight(self, *_args, **_kwargs):
176 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnBeginDragRight,(self,) + _args, _kwargs)
177 return val
178 def base_OnEndDragLeft(self, *_args, **_kwargs):
179 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnEndDragLeft,(self,) + _args, _kwargs)
180 return val
181 def base_OnEndDragRight(self, *_args, **_kwargs):
182 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnEndDragRight,(self,) + _args, _kwargs)
183 return val
184 def base_OnDragLeft(self, *_args, **_kwargs):
185 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnDragLeft,(self,) + _args, _kwargs)
186 return val
187 def base_OnDragRight(self, *_args, **_kwargs):
188 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnDragRight,(self,) + _args, _kwargs)
189 return val
190 def base_OnLeftClick(self, *_args, **_kwargs):
191 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnLeftClick,(self,) + _args, _kwargs)
192 return val
193 def base_OnRightClick(self, *_args, **_kwargs):
194 val = apply(oglcanvasc.wxPyShapeCanvas_base_OnRightClick,(self,) + _args, _kwargs)
195 return val
196 def Redraw(self, *_args, **_kwargs):
197 val = apply(oglcanvasc.wxPyShapeCanvas_Redraw,(self,) + _args, _kwargs)
198 return val
199 def RemoveShape(self, *_args, **_kwargs):
200 val = apply(oglcanvasc.wxPyShapeCanvas_RemoveShape,(self,) + _args, _kwargs)
201 return val
202 def SetDiagram(self, *_args, **_kwargs):
203 val = apply(oglcanvasc.wxPyShapeCanvas_SetDiagram,(self,) + _args, _kwargs)
204 return val
205 def Snap(self, *_args, **_kwargs):
206 val = apply(oglcanvasc.wxPyShapeCanvas_Snap,(self,) + _args, _kwargs)
207 return val
208 def __repr__(self):
209 return "<C wxPyShapeCanvas instance at %s>" % (self.this,)
210class wxPyShapeCanvas(wxPyShapeCanvasPtr):
211 def __init__(self,*_args,**_kwargs):
212 self.this = apply(oglcanvasc.new_wxPyShapeCanvas,_args,_kwargs)
213 self.thisown = 1
0122b7e3
RD
214 self._setCallbackInfo(self, wxPyShapeCanvas)
215 self._setOORInfo(self)
e91a9dfc
RD
216
217
218
219
220
221
222#-------------- FUNCTION WRAPPERS ------------------
223
224
225
226#-------------- VARIABLE WRAPPERS ------------------
227