]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/oglcanvas.py
SWIGged updates for wxMac
[wxWidgets.git] / wxPython / contrib / ogl / oglcanvas.py
1 # This file was created automatically by SWIG.
2 import oglcanvasc
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from clip_dnd import *
13
14 from events import *
15
16 from streams import *
17
18 from utils import *
19
20 from mdi import *
21
22 from frames import *
23
24 from stattool import *
25
26 from controls import *
27
28 from controls2 import *
29
30 from windows2 import *
31
32 from cmndlgs import *
33
34 from windows3 import *
35
36 from image import *
37
38 from printfw import *
39
40 from sizers import *
41
42 from filesys import *
43
44 from oglbasic import *
45 import wx
46 class wxDiagramPtr(wxObjectPtr):
47 def __init__(self,this):
48 self.this = this
49 self.thisown = 0
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)
64 return val
65 def GetCanvas(self, *_args, **_kwargs):
66 val = apply(oglcanvasc.wxDiagram_GetCanvas,(self,) + _args, _kwargs)
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,)
139 class 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
147 class wxPyShapeCanvasPtr(wxScrolledWindowPtr):
148 def __init__(self,this):
149 self.this = this
150 self.thisown = 0
151 def _setCallbackInfo(self, *_args, **_kwargs):
152 val = apply(oglcanvasc.wxPyShapeCanvas__setCallbackInfo,(self,) + _args, _kwargs)
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)
159 return val
160 def FindFirstSensitiveShape(self, *_args, **_kwargs):
161 val = apply(oglcanvasc.wxPyShapeCanvas_FindFirstSensitiveShape,(self,) + _args, _kwargs)
162 return val
163 def GetDiagram(self, *_args, **_kwargs):
164 val = apply(oglcanvasc.wxPyShapeCanvas_GetDiagram,(self,) + _args, _kwargs)
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,)
210 class wxPyShapeCanvas(wxPyShapeCanvasPtr):
211 def __init__(self,*_args,**_kwargs):
212 self.this = apply(oglcanvasc.new_wxPyShapeCanvas,_args,_kwargs)
213 self.thisown = 1
214 self._setCallbackInfo(self, wxPyShapeCanvas)
215 self._setOORInfo(self)
216
217
218
219
220
221
222 #-------------- FUNCTION WRAPPERS ------------------
223
224
225
226 #-------------- VARIABLE WRAPPERS ------------------
227