]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/oglshapes2.py
don't generate an endless stream of asserts for the 0-sized images
[wxWidgets.git] / wxPython / contrib / ogl / oglshapes2.py
1 # This file was created automatically by SWIG.
2 import oglshapes2c
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from fonts import *
13
14 from clip_dnd import *
15
16 from events import *
17
18 from streams import *
19
20 from utils import *
21
22 from mdi import *
23
24 from frames import *
25
26 from stattool import *
27
28 from controls import *
29
30 from controls2 import *
31
32 from windows2 import *
33
34 from cmndlgs import *
35
36 from windows3 import *
37
38 from image import *
39
40 from printfw import *
41
42 from sizers import *
43
44 from filesys import *
45
46 from oglbasic import *
47
48 from oglshapes import *
49 import wx
50 class wxPyEllipseShapePtr(wxPyShapePtr):
51 def __init__(self,this):
52 self.this = this
53 self.thisown = 0
54 def _setCallbackInfo(self, *_args, **_kwargs):
55 val = apply(oglshapes2c.wxPyEllipseShape__setCallbackInfo,(self,) + _args, _kwargs)
56 return val
57 def base_OnDraw(self, *_args, **_kwargs):
58 val = apply(oglshapes2c.wxPyEllipseShape_base_OnDraw,(self,) + _args, _kwargs)
59 return val
60 def base_OnDrawContents(self, *_args, **_kwargs):
61 val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawContents,(self,) + _args, _kwargs)
62 return val
63 def base_OnDrawBranches(self, *_args, **_kwargs):
64 val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawBranches,(self,) + _args, _kwargs)
65 return val
66 def base_OnMoveLinks(self, *_args, **_kwargs):
67 val = apply(oglshapes2c.wxPyEllipseShape_base_OnMoveLinks,(self,) + _args, _kwargs)
68 return val
69 def base_OnErase(self, *_args, **_kwargs):
70 val = apply(oglshapes2c.wxPyEllipseShape_base_OnErase,(self,) + _args, _kwargs)
71 return val
72 def base_OnEraseContents(self, *_args, **_kwargs):
73 val = apply(oglshapes2c.wxPyEllipseShape_base_OnEraseContents,(self,) + _args, _kwargs)
74 return val
75 def base_OnHighlight(self, *_args, **_kwargs):
76 val = apply(oglshapes2c.wxPyEllipseShape_base_OnHighlight,(self,) + _args, _kwargs)
77 return val
78 def base_OnLeftClick(self, *_args, **_kwargs):
79 val = apply(oglshapes2c.wxPyEllipseShape_base_OnLeftClick,(self,) + _args, _kwargs)
80 return val
81 def base_OnLeftDoubleClick(self, *_args, **_kwargs):
82 val = apply(oglshapes2c.wxPyEllipseShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
83 return val
84 def base_OnRightClick(self, *_args, **_kwargs):
85 val = apply(oglshapes2c.wxPyEllipseShape_base_OnRightClick,(self,) + _args, _kwargs)
86 return val
87 def base_OnSize(self, *_args, **_kwargs):
88 val = apply(oglshapes2c.wxPyEllipseShape_base_OnSize,(self,) + _args, _kwargs)
89 return val
90 def base_OnMovePre(self, *_args, **_kwargs):
91 val = apply(oglshapes2c.wxPyEllipseShape_base_OnMovePre,(self,) + _args, _kwargs)
92 return val
93 def base_OnMovePost(self, *_args, **_kwargs):
94 val = apply(oglshapes2c.wxPyEllipseShape_base_OnMovePost,(self,) + _args, _kwargs)
95 return val
96 def base_OnDragLeft(self, *_args, **_kwargs):
97 val = apply(oglshapes2c.wxPyEllipseShape_base_OnDragLeft,(self,) + _args, _kwargs)
98 return val
99 def base_OnBeginDragLeft(self, *_args, **_kwargs):
100 val = apply(oglshapes2c.wxPyEllipseShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
101 return val
102 def base_OnEndDragLeft(self, *_args, **_kwargs):
103 val = apply(oglshapes2c.wxPyEllipseShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
104 return val
105 def base_OnDragRight(self, *_args, **_kwargs):
106 val = apply(oglshapes2c.wxPyEllipseShape_base_OnDragRight,(self,) + _args, _kwargs)
107 return val
108 def base_OnBeginDragRight(self, *_args, **_kwargs):
109 val = apply(oglshapes2c.wxPyEllipseShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
110 return val
111 def base_OnEndDragRight(self, *_args, **_kwargs):
112 val = apply(oglshapes2c.wxPyEllipseShape_base_OnEndDragRight,(self,) + _args, _kwargs)
113 return val
114 def base_OnDrawOutline(self, *_args, **_kwargs):
115 val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawOutline,(self,) + _args, _kwargs)
116 return val
117 def base_OnDrawControlPoints(self, *_args, **_kwargs):
118 val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
119 return val
120 def base_OnEraseControlPoints(self, *_args, **_kwargs):
121 val = apply(oglshapes2c.wxPyEllipseShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
122 return val
123 def base_OnMoveLink(self, *_args, **_kwargs):
124 val = apply(oglshapes2c.wxPyEllipseShape_base_OnMoveLink,(self,) + _args, _kwargs)
125 return val
126 def base_OnSizingDragLeft(self, *_args, **_kwargs):
127 val = apply(oglshapes2c.wxPyEllipseShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
128 return val
129 def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
130 val = apply(oglshapes2c.wxPyEllipseShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
131 return val
132 def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
133 val = apply(oglshapes2c.wxPyEllipseShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
134 return val
135 def base_OnBeginSize(self, *_args, **_kwargs):
136 val = apply(oglshapes2c.wxPyEllipseShape_base_OnBeginSize,(self,) + _args, _kwargs)
137 return val
138 def base_OnEndSize(self, *_args, **_kwargs):
139 val = apply(oglshapes2c.wxPyEllipseShape_base_OnEndSize,(self,) + _args, _kwargs)
140 return val
141 def __repr__(self):
142 return "<C wxPyEllipseShape instance at %s>" % (self.this,)
143 class wxPyEllipseShape(wxPyEllipseShapePtr):
144 def __init__(self,*_args,**_kwargs):
145 self.this = apply(oglshapes2c.new_wxPyEllipseShape,_args,_kwargs)
146 self.thisown = 1
147 self._setCallbackInfo(self, wxPyEllipseShape)
148 self._setOORInfo(self)
149
150
151
152
153 class wxPyCircleShapePtr(wxPyEllipseShapePtr):
154 def __init__(self,this):
155 self.this = this
156 self.thisown = 0
157 def _setCallbackInfo(self, *_args, **_kwargs):
158 val = apply(oglshapes2c.wxPyCircleShape__setCallbackInfo,(self,) + _args, _kwargs)
159 return val
160 def base_OnDraw(self, *_args, **_kwargs):
161 val = apply(oglshapes2c.wxPyCircleShape_base_OnDraw,(self,) + _args, _kwargs)
162 return val
163 def base_OnDrawContents(self, *_args, **_kwargs):
164 val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawContents,(self,) + _args, _kwargs)
165 return val
166 def base_OnDrawBranches(self, *_args, **_kwargs):
167 val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawBranches,(self,) + _args, _kwargs)
168 return val
169 def base_OnMoveLinks(self, *_args, **_kwargs):
170 val = apply(oglshapes2c.wxPyCircleShape_base_OnMoveLinks,(self,) + _args, _kwargs)
171 return val
172 def base_OnErase(self, *_args, **_kwargs):
173 val = apply(oglshapes2c.wxPyCircleShape_base_OnErase,(self,) + _args, _kwargs)
174 return val
175 def base_OnEraseContents(self, *_args, **_kwargs):
176 val = apply(oglshapes2c.wxPyCircleShape_base_OnEraseContents,(self,) + _args, _kwargs)
177 return val
178 def base_OnHighlight(self, *_args, **_kwargs):
179 val = apply(oglshapes2c.wxPyCircleShape_base_OnHighlight,(self,) + _args, _kwargs)
180 return val
181 def base_OnLeftClick(self, *_args, **_kwargs):
182 val = apply(oglshapes2c.wxPyCircleShape_base_OnLeftClick,(self,) + _args, _kwargs)
183 return val
184 def base_OnLeftDoubleClick(self, *_args, **_kwargs):
185 val = apply(oglshapes2c.wxPyCircleShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
186 return val
187 def base_OnRightClick(self, *_args, **_kwargs):
188 val = apply(oglshapes2c.wxPyCircleShape_base_OnRightClick,(self,) + _args, _kwargs)
189 return val
190 def base_OnSize(self, *_args, **_kwargs):
191 val = apply(oglshapes2c.wxPyCircleShape_base_OnSize,(self,) + _args, _kwargs)
192 return val
193 def base_OnMovePre(self, *_args, **_kwargs):
194 val = apply(oglshapes2c.wxPyCircleShape_base_OnMovePre,(self,) + _args, _kwargs)
195 return val
196 def base_OnMovePost(self, *_args, **_kwargs):
197 val = apply(oglshapes2c.wxPyCircleShape_base_OnMovePost,(self,) + _args, _kwargs)
198 return val
199 def base_OnDragLeft(self, *_args, **_kwargs):
200 val = apply(oglshapes2c.wxPyCircleShape_base_OnDragLeft,(self,) + _args, _kwargs)
201 return val
202 def base_OnBeginDragLeft(self, *_args, **_kwargs):
203 val = apply(oglshapes2c.wxPyCircleShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
204 return val
205 def base_OnEndDragLeft(self, *_args, **_kwargs):
206 val = apply(oglshapes2c.wxPyCircleShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
207 return val
208 def base_OnDragRight(self, *_args, **_kwargs):
209 val = apply(oglshapes2c.wxPyCircleShape_base_OnDragRight,(self,) + _args, _kwargs)
210 return val
211 def base_OnBeginDragRight(self, *_args, **_kwargs):
212 val = apply(oglshapes2c.wxPyCircleShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
213 return val
214 def base_OnEndDragRight(self, *_args, **_kwargs):
215 val = apply(oglshapes2c.wxPyCircleShape_base_OnEndDragRight,(self,) + _args, _kwargs)
216 return val
217 def base_OnDrawOutline(self, *_args, **_kwargs):
218 val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawOutline,(self,) + _args, _kwargs)
219 return val
220 def base_OnDrawControlPoints(self, *_args, **_kwargs):
221 val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
222 return val
223 def base_OnEraseControlPoints(self, *_args, **_kwargs):
224 val = apply(oglshapes2c.wxPyCircleShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
225 return val
226 def base_OnMoveLink(self, *_args, **_kwargs):
227 val = apply(oglshapes2c.wxPyCircleShape_base_OnMoveLink,(self,) + _args, _kwargs)
228 return val
229 def base_OnSizingDragLeft(self, *_args, **_kwargs):
230 val = apply(oglshapes2c.wxPyCircleShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
231 return val
232 def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
233 val = apply(oglshapes2c.wxPyCircleShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
234 return val
235 def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
236 val = apply(oglshapes2c.wxPyCircleShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
237 return val
238 def base_OnBeginSize(self, *_args, **_kwargs):
239 val = apply(oglshapes2c.wxPyCircleShape_base_OnBeginSize,(self,) + _args, _kwargs)
240 return val
241 def base_OnEndSize(self, *_args, **_kwargs):
242 val = apply(oglshapes2c.wxPyCircleShape_base_OnEndSize,(self,) + _args, _kwargs)
243 return val
244 def __repr__(self):
245 return "<C wxPyCircleShape instance at %s>" % (self.this,)
246 class wxPyCircleShape(wxPyCircleShapePtr):
247 def __init__(self,*_args,**_kwargs):
248 self.this = apply(oglshapes2c.new_wxPyCircleShape,_args,_kwargs)
249 self.thisown = 1
250 self._setCallbackInfo(self, wxPyCircleShape)
251 self._setOORInfo(self)
252
253
254
255
256 class wxArrowHeadPtr(wxObjectPtr):
257 def __init__(self,this):
258 self.this = this
259 self.thisown = 0
260 def __del__(self,oglshapes2c=oglshapes2c):
261 if self.thisown == 1 :
262 oglshapes2c.delete_wxArrowHead(self)
263 def _GetType(self, *_args, **_kwargs):
264 val = apply(oglshapes2c.wxArrowHead__GetType,(self,) + _args, _kwargs)
265 return val
266 def GetPosition(self, *_args, **_kwargs):
267 val = apply(oglshapes2c.wxArrowHead_GetPosition,(self,) + _args, _kwargs)
268 return val
269 def SetPosition(self, *_args, **_kwargs):
270 val = apply(oglshapes2c.wxArrowHead_SetPosition,(self,) + _args, _kwargs)
271 return val
272 def GetXOffset(self, *_args, **_kwargs):
273 val = apply(oglshapes2c.wxArrowHead_GetXOffset,(self,) + _args, _kwargs)
274 return val
275 def GetYOffset(self, *_args, **_kwargs):
276 val = apply(oglshapes2c.wxArrowHead_GetYOffset,(self,) + _args, _kwargs)
277 return val
278 def GetSpacing(self, *_args, **_kwargs):
279 val = apply(oglshapes2c.wxArrowHead_GetSpacing,(self,) + _args, _kwargs)
280 return val
281 def GetSize(self, *_args, **_kwargs):
282 val = apply(oglshapes2c.wxArrowHead_GetSize,(self,) + _args, _kwargs)
283 return val
284 def GetName(self, *_args, **_kwargs):
285 val = apply(oglshapes2c.wxArrowHead_GetName,(self,) + _args, _kwargs)
286 return val
287 def SetXOffset(self, *_args, **_kwargs):
288 val = apply(oglshapes2c.wxArrowHead_SetXOffset,(self,) + _args, _kwargs)
289 return val
290 def SetYOffset(self, *_args, **_kwargs):
291 val = apply(oglshapes2c.wxArrowHead_SetYOffset,(self,) + _args, _kwargs)
292 return val
293 def GetMetaFile(self, *_args, **_kwargs):
294 val = apply(oglshapes2c.wxArrowHead_GetMetaFile,(self,) + _args, _kwargs)
295 return val
296 def GetId(self, *_args, **_kwargs):
297 val = apply(oglshapes2c.wxArrowHead_GetId,(self,) + _args, _kwargs)
298 return val
299 def GetArrowEnd(self, *_args, **_kwargs):
300 val = apply(oglshapes2c.wxArrowHead_GetArrowEnd,(self,) + _args, _kwargs)
301 return val
302 def GetArrowSize(self, *_args, **_kwargs):
303 val = apply(oglshapes2c.wxArrowHead_GetArrowSize,(self,) + _args, _kwargs)
304 return val
305 def SetSize(self, *_args, **_kwargs):
306 val = apply(oglshapes2c.wxArrowHead_SetSize,(self,) + _args, _kwargs)
307 return val
308 def SetSpacing(self, *_args, **_kwargs):
309 val = apply(oglshapes2c.wxArrowHead_SetSpacing,(self,) + _args, _kwargs)
310 return val
311 def __repr__(self):
312 return "<C wxArrowHead instance at %s>" % (self.this,)
313 class wxArrowHead(wxArrowHeadPtr):
314 def __init__(self,*_args,**_kwargs):
315 self.this = apply(oglshapes2c.new_wxArrowHead,_args,_kwargs)
316 self.thisown = 1
317
318
319
320
321 class wxPyLineShapePtr(wxPyShapePtr):
322 def __init__(self,this):
323 self.this = this
324 self.thisown = 0
325 def _setCallbackInfo(self, *_args, **_kwargs):
326 val = apply(oglshapes2c.wxPyLineShape__setCallbackInfo,(self,) + _args, _kwargs)
327 return val
328 def AddArrow(self, *_args, **_kwargs):
329 val = apply(oglshapes2c.wxPyLineShape_AddArrow,(self,) + _args, _kwargs)
330 return val
331 def AddArrowOrdered(self, *_args, **_kwargs):
332 val = apply(oglshapes2c.wxPyLineShape_AddArrowOrdered,(self,) + _args, _kwargs)
333 return val
334 def ClearArrow(self, *_args, **_kwargs):
335 val = apply(oglshapes2c.wxPyLineShape_ClearArrow,(self,) + _args, _kwargs)
336 return val
337 def ClearArrowsAtPosition(self, *_args, **_kwargs):
338 val = apply(oglshapes2c.wxPyLineShape_ClearArrowsAtPosition,(self,) + _args, _kwargs)
339 return val
340 def DrawArrow(self, *_args, **_kwargs):
341 val = apply(oglshapes2c.wxPyLineShape_DrawArrow,(self,) + _args, _kwargs)
342 return val
343 def DeleteArrowHeadId(self, *_args, **_kwargs):
344 val = apply(oglshapes2c.wxPyLineShape_DeleteArrowHeadId,(self,) + _args, _kwargs)
345 return val
346 def DeleteArrowHead(self, *_args, **_kwargs):
347 val = apply(oglshapes2c.wxPyLineShape_DeleteArrowHead,(self,) + _args, _kwargs)
348 return val
349 def DeleteLineControlPoint(self, *_args, **_kwargs):
350 val = apply(oglshapes2c.wxPyLineShape_DeleteLineControlPoint,(self,) + _args, _kwargs)
351 return val
352 def DrawArrows(self, *_args, **_kwargs):
353 val = apply(oglshapes2c.wxPyLineShape_DrawArrows,(self,) + _args, _kwargs)
354 return val
355 def DrawRegion(self, *_args, **_kwargs):
356 val = apply(oglshapes2c.wxPyLineShape_DrawRegion,(self,) + _args, _kwargs)
357 return val
358 def EraseRegion(self, *_args, **_kwargs):
359 val = apply(oglshapes2c.wxPyLineShape_EraseRegion,(self,) + _args, _kwargs)
360 return val
361 def FindArrowHeadId(self, *_args, **_kwargs):
362 val = apply(oglshapes2c.wxPyLineShape_FindArrowHeadId,(self,) + _args, _kwargs)
363 return val
364 def FindArrowHead(self, *_args, **_kwargs):
365 val = apply(oglshapes2c.wxPyLineShape_FindArrowHead,(self,) + _args, _kwargs)
366 return val
367 def FindLineEndPoints(self, *_args, **_kwargs):
368 val = apply(oglshapes2c.wxPyLineShape_FindLineEndPoints,(self,) + _args, _kwargs)
369 return val
370 def FindLinePosition(self, *_args, **_kwargs):
371 val = apply(oglshapes2c.wxPyLineShape_FindLinePosition,(self,) + _args, _kwargs)
372 return val
373 def FindMinimumWidth(self, *_args, **_kwargs):
374 val = apply(oglshapes2c.wxPyLineShape_FindMinimumWidth,(self,) + _args, _kwargs)
375 return val
376 def FindNth(self, *_args, **_kwargs):
377 val = apply(oglshapes2c.wxPyLineShape_FindNth,(self,) + _args, _kwargs)
378 return val
379 def GetAttachmentFrom(self, *_args, **_kwargs):
380 val = apply(oglshapes2c.wxPyLineShape_GetAttachmentFrom,(self,) + _args, _kwargs)
381 return val
382 def GetAttachmentTo(self, *_args, **_kwargs):
383 val = apply(oglshapes2c.wxPyLineShape_GetAttachmentTo,(self,) + _args, _kwargs)
384 return val
385 def GetEnds(self, *_args, **_kwargs):
386 val = apply(oglshapes2c.wxPyLineShape_GetEnds,(self,) + _args, _kwargs)
387 return val
388 def GetFrom(self, *_args, **_kwargs):
389 val = apply(oglshapes2c.wxPyLineShape_GetFrom,(self,) + _args, _kwargs)
390 return val
391 def GetLabelPosition(self, *_args, **_kwargs):
392 val = apply(oglshapes2c.wxPyLineShape_GetLabelPosition,(self,) + _args, _kwargs)
393 return val
394 def GetNextControlPoint(self, *_args, **_kwargs):
395 val = apply(oglshapes2c.wxPyLineShape_GetNextControlPoint,(self,) + _args, _kwargs)
396 if val: val = wxPointPtr(val)
397 return val
398 def GetTo(self, *_args, **_kwargs):
399 val = apply(oglshapes2c.wxPyLineShape_GetTo,(self,) + _args, _kwargs)
400 return val
401 def Initialise(self, *_args, **_kwargs):
402 val = apply(oglshapes2c.wxPyLineShape_Initialise,(self,) + _args, _kwargs)
403 return val
404 def InsertLineControlPoint(self, *_args, **_kwargs):
405 val = apply(oglshapes2c.wxPyLineShape_InsertLineControlPoint,(self,) + _args, _kwargs)
406 return val
407 def IsEnd(self, *_args, **_kwargs):
408 val = apply(oglshapes2c.wxPyLineShape_IsEnd,(self,) + _args, _kwargs)
409 return val
410 def IsSpline(self, *_args, **_kwargs):
411 val = apply(oglshapes2c.wxPyLineShape_IsSpline,(self,) + _args, _kwargs)
412 return val
413 def MakeLineControlPoints(self, *_args, **_kwargs):
414 val = apply(oglshapes2c.wxPyLineShape_MakeLineControlPoints,(self,) + _args, _kwargs)
415 return val
416 def GetLineControlPoints(self, *_args, **_kwargs):
417 val = apply(oglshapes2c.wxPyLineShape_GetLineControlPoints,(self,) + _args, _kwargs)
418 return val
419 def SetAttachmentFrom(self, *_args, **_kwargs):
420 val = apply(oglshapes2c.wxPyLineShape_SetAttachmentFrom,(self,) + _args, _kwargs)
421 return val
422 def SetAttachments(self, *_args, **_kwargs):
423 val = apply(oglshapes2c.wxPyLineShape_SetAttachments,(self,) + _args, _kwargs)
424 return val
425 def SetAttachmentTo(self, *_args, **_kwargs):
426 val = apply(oglshapes2c.wxPyLineShape_SetAttachmentTo,(self,) + _args, _kwargs)
427 return val
428 def SetEnds(self, *_args, **_kwargs):
429 val = apply(oglshapes2c.wxPyLineShape_SetEnds,(self,) + _args, _kwargs)
430 return val
431 def SetFrom(self, *_args, **_kwargs):
432 val = apply(oglshapes2c.wxPyLineShape_SetFrom,(self,) + _args, _kwargs)
433 return val
434 def SetIgnoreOffsets(self, *_args, **_kwargs):
435 val = apply(oglshapes2c.wxPyLineShape_SetIgnoreOffsets,(self,) + _args, _kwargs)
436 return val
437 def SetSpline(self, *_args, **_kwargs):
438 val = apply(oglshapes2c.wxPyLineShape_SetSpline,(self,) + _args, _kwargs)
439 return val
440 def SetTo(self, *_args, **_kwargs):
441 val = apply(oglshapes2c.wxPyLineShape_SetTo,(self,) + _args, _kwargs)
442 return val
443 def Straighten(self, *_args, **_kwargs):
444 val = apply(oglshapes2c.wxPyLineShape_Straighten,(self,) + _args, _kwargs)
445 return val
446 def Unlink(self, *_args, **_kwargs):
447 val = apply(oglshapes2c.wxPyLineShape_Unlink,(self,) + _args, _kwargs)
448 return val
449 def base_OnDraw(self, *_args, **_kwargs):
450 val = apply(oglshapes2c.wxPyLineShape_base_OnDraw,(self,) + _args, _kwargs)
451 return val
452 def base_OnDrawContents(self, *_args, **_kwargs):
453 val = apply(oglshapes2c.wxPyLineShape_base_OnDrawContents,(self,) + _args, _kwargs)
454 return val
455 def base_OnDrawBranches(self, *_args, **_kwargs):
456 val = apply(oglshapes2c.wxPyLineShape_base_OnDrawBranches,(self,) + _args, _kwargs)
457 return val
458 def base_OnMoveLinks(self, *_args, **_kwargs):
459 val = apply(oglshapes2c.wxPyLineShape_base_OnMoveLinks,(self,) + _args, _kwargs)
460 return val
461 def base_OnErase(self, *_args, **_kwargs):
462 val = apply(oglshapes2c.wxPyLineShape_base_OnErase,(self,) + _args, _kwargs)
463 return val
464 def base_OnEraseContents(self, *_args, **_kwargs):
465 val = apply(oglshapes2c.wxPyLineShape_base_OnEraseContents,(self,) + _args, _kwargs)
466 return val
467 def base_OnHighlight(self, *_args, **_kwargs):
468 val = apply(oglshapes2c.wxPyLineShape_base_OnHighlight,(self,) + _args, _kwargs)
469 return val
470 def base_OnLeftClick(self, *_args, **_kwargs):
471 val = apply(oglshapes2c.wxPyLineShape_base_OnLeftClick,(self,) + _args, _kwargs)
472 return val
473 def base_OnLeftDoubleClick(self, *_args, **_kwargs):
474 val = apply(oglshapes2c.wxPyLineShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
475 return val
476 def base_OnRightClick(self, *_args, **_kwargs):
477 val = apply(oglshapes2c.wxPyLineShape_base_OnRightClick,(self,) + _args, _kwargs)
478 return val
479 def base_OnSize(self, *_args, **_kwargs):
480 val = apply(oglshapes2c.wxPyLineShape_base_OnSize,(self,) + _args, _kwargs)
481 return val
482 def base_OnMovePre(self, *_args, **_kwargs):
483 val = apply(oglshapes2c.wxPyLineShape_base_OnMovePre,(self,) + _args, _kwargs)
484 return val
485 def base_OnMovePost(self, *_args, **_kwargs):
486 val = apply(oglshapes2c.wxPyLineShape_base_OnMovePost,(self,) + _args, _kwargs)
487 return val
488 def base_OnDragLeft(self, *_args, **_kwargs):
489 val = apply(oglshapes2c.wxPyLineShape_base_OnDragLeft,(self,) + _args, _kwargs)
490 return val
491 def base_OnBeginDragLeft(self, *_args, **_kwargs):
492 val = apply(oglshapes2c.wxPyLineShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
493 return val
494 def base_OnEndDragLeft(self, *_args, **_kwargs):
495 val = apply(oglshapes2c.wxPyLineShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
496 return val
497 def base_OnDragRight(self, *_args, **_kwargs):
498 val = apply(oglshapes2c.wxPyLineShape_base_OnDragRight,(self,) + _args, _kwargs)
499 return val
500 def base_OnBeginDragRight(self, *_args, **_kwargs):
501 val = apply(oglshapes2c.wxPyLineShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
502 return val
503 def base_OnEndDragRight(self, *_args, **_kwargs):
504 val = apply(oglshapes2c.wxPyLineShape_base_OnEndDragRight,(self,) + _args, _kwargs)
505 return val
506 def base_OnDrawOutline(self, *_args, **_kwargs):
507 val = apply(oglshapes2c.wxPyLineShape_base_OnDrawOutline,(self,) + _args, _kwargs)
508 return val
509 def base_OnDrawControlPoints(self, *_args, **_kwargs):
510 val = apply(oglshapes2c.wxPyLineShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
511 return val
512 def base_OnEraseControlPoints(self, *_args, **_kwargs):
513 val = apply(oglshapes2c.wxPyLineShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
514 return val
515 def base_OnMoveLink(self, *_args, **_kwargs):
516 val = apply(oglshapes2c.wxPyLineShape_base_OnMoveLink,(self,) + _args, _kwargs)
517 return val
518 def base_OnSizingDragLeft(self, *_args, **_kwargs):
519 val = apply(oglshapes2c.wxPyLineShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
520 return val
521 def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
522 val = apply(oglshapes2c.wxPyLineShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
523 return val
524 def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
525 val = apply(oglshapes2c.wxPyLineShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
526 return val
527 def base_OnBeginSize(self, *_args, **_kwargs):
528 val = apply(oglshapes2c.wxPyLineShape_base_OnBeginSize,(self,) + _args, _kwargs)
529 return val
530 def base_OnEndSize(self, *_args, **_kwargs):
531 val = apply(oglshapes2c.wxPyLineShape_base_OnEndSize,(self,) + _args, _kwargs)
532 return val
533 def __repr__(self):
534 return "<C wxPyLineShape instance at %s>" % (self.this,)
535 class wxPyLineShape(wxPyLineShapePtr):
536 def __init__(self,*_args,**_kwargs):
537 self.this = apply(oglshapes2c.new_wxPyLineShape,_args,_kwargs)
538 self.thisown = 1
539 self._setCallbackInfo(self, wxPyLineShape)
540 self._setOORInfo(self)
541
542
543
544
545 class wxPyPolygonShapePtr(wxPyShapePtr):
546 def __init__(self,this):
547 self.this = this
548 self.thisown = 0
549 def _setCallbackInfo(self, *_args, **_kwargs):
550 val = apply(oglshapes2c.wxPyPolygonShape__setCallbackInfo,(self,) + _args, _kwargs)
551 return val
552 def Create(self, *_args, **_kwargs):
553 val = apply(oglshapes2c.wxPyPolygonShape_Create,(self,) + _args, _kwargs)
554 return val
555 def AddPolygonPoint(self, *_args, **_kwargs):
556 val = apply(oglshapes2c.wxPyPolygonShape_AddPolygonPoint,(self,) + _args, _kwargs)
557 return val
558 def CalculatePolygonCentre(self, *_args, **_kwargs):
559 val = apply(oglshapes2c.wxPyPolygonShape_CalculatePolygonCentre,(self,) + _args, _kwargs)
560 return val
561 def DeletePolygonPoint(self, *_args, **_kwargs):
562 val = apply(oglshapes2c.wxPyPolygonShape_DeletePolygonPoint,(self,) + _args, _kwargs)
563 return val
564 def GetPoints(self, *_args, **_kwargs):
565 val = apply(oglshapes2c.wxPyPolygonShape_GetPoints,(self,) + _args, _kwargs)
566 return val
567 def UpdateOriginalPoints(self, *_args, **_kwargs):
568 val = apply(oglshapes2c.wxPyPolygonShape_UpdateOriginalPoints,(self,) + _args, _kwargs)
569 return val
570 def base_OnDraw(self, *_args, **_kwargs):
571 val = apply(oglshapes2c.wxPyPolygonShape_base_OnDraw,(self,) + _args, _kwargs)
572 return val
573 def base_OnDrawContents(self, *_args, **_kwargs):
574 val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawContents,(self,) + _args, _kwargs)
575 return val
576 def base_OnDrawBranches(self, *_args, **_kwargs):
577 val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawBranches,(self,) + _args, _kwargs)
578 return val
579 def base_OnMoveLinks(self, *_args, **_kwargs):
580 val = apply(oglshapes2c.wxPyPolygonShape_base_OnMoveLinks,(self,) + _args, _kwargs)
581 return val
582 def base_OnErase(self, *_args, **_kwargs):
583 val = apply(oglshapes2c.wxPyPolygonShape_base_OnErase,(self,) + _args, _kwargs)
584 return val
585 def base_OnEraseContents(self, *_args, **_kwargs):
586 val = apply(oglshapes2c.wxPyPolygonShape_base_OnEraseContents,(self,) + _args, _kwargs)
587 return val
588 def base_OnHighlight(self, *_args, **_kwargs):
589 val = apply(oglshapes2c.wxPyPolygonShape_base_OnHighlight,(self,) + _args, _kwargs)
590 return val
591 def base_OnLeftClick(self, *_args, **_kwargs):
592 val = apply(oglshapes2c.wxPyPolygonShape_base_OnLeftClick,(self,) + _args, _kwargs)
593 return val
594 def base_OnLeftDoubleClick(self, *_args, **_kwargs):
595 val = apply(oglshapes2c.wxPyPolygonShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
596 return val
597 def base_OnRightClick(self, *_args, **_kwargs):
598 val = apply(oglshapes2c.wxPyPolygonShape_base_OnRightClick,(self,) + _args, _kwargs)
599 return val
600 def base_OnSize(self, *_args, **_kwargs):
601 val = apply(oglshapes2c.wxPyPolygonShape_base_OnSize,(self,) + _args, _kwargs)
602 return val
603 def base_OnMovePre(self, *_args, **_kwargs):
604 val = apply(oglshapes2c.wxPyPolygonShape_base_OnMovePre,(self,) + _args, _kwargs)
605 return val
606 def base_OnMovePost(self, *_args, **_kwargs):
607 val = apply(oglshapes2c.wxPyPolygonShape_base_OnMovePost,(self,) + _args, _kwargs)
608 return val
609 def base_OnDragLeft(self, *_args, **_kwargs):
610 val = apply(oglshapes2c.wxPyPolygonShape_base_OnDragLeft,(self,) + _args, _kwargs)
611 return val
612 def base_OnBeginDragLeft(self, *_args, **_kwargs):
613 val = apply(oglshapes2c.wxPyPolygonShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
614 return val
615 def base_OnEndDragLeft(self, *_args, **_kwargs):
616 val = apply(oglshapes2c.wxPyPolygonShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
617 return val
618 def base_OnDragRight(self, *_args, **_kwargs):
619 val = apply(oglshapes2c.wxPyPolygonShape_base_OnDragRight,(self,) + _args, _kwargs)
620 return val
621 def base_OnBeginDragRight(self, *_args, **_kwargs):
622 val = apply(oglshapes2c.wxPyPolygonShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
623 return val
624 def base_OnEndDragRight(self, *_args, **_kwargs):
625 val = apply(oglshapes2c.wxPyPolygonShape_base_OnEndDragRight,(self,) + _args, _kwargs)
626 return val
627 def base_OnDrawOutline(self, *_args, **_kwargs):
628 val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawOutline,(self,) + _args, _kwargs)
629 return val
630 def base_OnDrawControlPoints(self, *_args, **_kwargs):
631 val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
632 return val
633 def base_OnEraseControlPoints(self, *_args, **_kwargs):
634 val = apply(oglshapes2c.wxPyPolygonShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
635 return val
636 def base_OnMoveLink(self, *_args, **_kwargs):
637 val = apply(oglshapes2c.wxPyPolygonShape_base_OnMoveLink,(self,) + _args, _kwargs)
638 return val
639 def base_OnSizingDragLeft(self, *_args, **_kwargs):
640 val = apply(oglshapes2c.wxPyPolygonShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
641 return val
642 def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
643 val = apply(oglshapes2c.wxPyPolygonShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
644 return val
645 def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
646 val = apply(oglshapes2c.wxPyPolygonShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
647 return val
648 def base_OnBeginSize(self, *_args, **_kwargs):
649 val = apply(oglshapes2c.wxPyPolygonShape_base_OnBeginSize,(self,) + _args, _kwargs)
650 return val
651 def base_OnEndSize(self, *_args, **_kwargs):
652 val = apply(oglshapes2c.wxPyPolygonShape_base_OnEndSize,(self,) + _args, _kwargs)
653 return val
654 def __repr__(self):
655 return "<C wxPyPolygonShape instance at %s>" % (self.this,)
656 class wxPyPolygonShape(wxPyPolygonShapePtr):
657 def __init__(self,*_args,**_kwargs):
658 self.this = apply(oglshapes2c.new_wxPyPolygonShape,_args,_kwargs)
659 self.thisown = 1
660 self._setCallbackInfo(self, wxPyPolygonShape)
661 self._setOORInfo(self)
662
663
664
665
666 class wxPyTextShapePtr(wxPyRectangleShapePtr):
667 def __init__(self,this):
668 self.this = this
669 self.thisown = 0
670 def _setCallbackInfo(self, *_args, **_kwargs):
671 val = apply(oglshapes2c.wxPyTextShape__setCallbackInfo,(self,) + _args, _kwargs)
672 return val
673 def base_OnDelete(self, *_args, **_kwargs):
674 val = apply(oglshapes2c.wxPyTextShape_base_OnDelete,(self,) + _args, _kwargs)
675 return val
676 def base_OnDraw(self, *_args, **_kwargs):
677 val = apply(oglshapes2c.wxPyTextShape_base_OnDraw,(self,) + _args, _kwargs)
678 return val
679 def base_OnDrawContents(self, *_args, **_kwargs):
680 val = apply(oglshapes2c.wxPyTextShape_base_OnDrawContents,(self,) + _args, _kwargs)
681 return val
682 def base_OnDrawBranches(self, *_args, **_kwargs):
683 val = apply(oglshapes2c.wxPyTextShape_base_OnDrawBranches,(self,) + _args, _kwargs)
684 return val
685 def base_OnMoveLinks(self, *_args, **_kwargs):
686 val = apply(oglshapes2c.wxPyTextShape_base_OnMoveLinks,(self,) + _args, _kwargs)
687 return val
688 def base_OnErase(self, *_args, **_kwargs):
689 val = apply(oglshapes2c.wxPyTextShape_base_OnErase,(self,) + _args, _kwargs)
690 return val
691 def base_OnEraseContents(self, *_args, **_kwargs):
692 val = apply(oglshapes2c.wxPyTextShape_base_OnEraseContents,(self,) + _args, _kwargs)
693 return val
694 def base_OnHighlight(self, *_args, **_kwargs):
695 val = apply(oglshapes2c.wxPyTextShape_base_OnHighlight,(self,) + _args, _kwargs)
696 return val
697 def base_OnLeftClick(self, *_args, **_kwargs):
698 val = apply(oglshapes2c.wxPyTextShape_base_OnLeftClick,(self,) + _args, _kwargs)
699 return val
700 def base_OnLeftDoubleClick(self, *_args, **_kwargs):
701 val = apply(oglshapes2c.wxPyTextShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
702 return val
703 def base_OnRightClick(self, *_args, **_kwargs):
704 val = apply(oglshapes2c.wxPyTextShape_base_OnRightClick,(self,) + _args, _kwargs)
705 return val
706 def base_OnSize(self, *_args, **_kwargs):
707 val = apply(oglshapes2c.wxPyTextShape_base_OnSize,(self,) + _args, _kwargs)
708 return val
709 def base_OnMovePre(self, *_args, **_kwargs):
710 val = apply(oglshapes2c.wxPyTextShape_base_OnMovePre,(self,) + _args, _kwargs)
711 return val
712 def base_OnMovePost(self, *_args, **_kwargs):
713 val = apply(oglshapes2c.wxPyTextShape_base_OnMovePost,(self,) + _args, _kwargs)
714 return val
715 def base_OnDragLeft(self, *_args, **_kwargs):
716 val = apply(oglshapes2c.wxPyTextShape_base_OnDragLeft,(self,) + _args, _kwargs)
717 return val
718 def base_OnBeginDragLeft(self, *_args, **_kwargs):
719 val = apply(oglshapes2c.wxPyTextShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
720 return val
721 def base_OnEndDragLeft(self, *_args, **_kwargs):
722 val = apply(oglshapes2c.wxPyTextShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
723 return val
724 def base_OnDragRight(self, *_args, **_kwargs):
725 val = apply(oglshapes2c.wxPyTextShape_base_OnDragRight,(self,) + _args, _kwargs)
726 return val
727 def base_OnBeginDragRight(self, *_args, **_kwargs):
728 val = apply(oglshapes2c.wxPyTextShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
729 return val
730 def base_OnEndDragRight(self, *_args, **_kwargs):
731 val = apply(oglshapes2c.wxPyTextShape_base_OnEndDragRight,(self,) + _args, _kwargs)
732 return val
733 def base_OnDrawOutline(self, *_args, **_kwargs):
734 val = apply(oglshapes2c.wxPyTextShape_base_OnDrawOutline,(self,) + _args, _kwargs)
735 return val
736 def base_OnDrawControlPoints(self, *_args, **_kwargs):
737 val = apply(oglshapes2c.wxPyTextShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
738 return val
739 def base_OnEraseControlPoints(self, *_args, **_kwargs):
740 val = apply(oglshapes2c.wxPyTextShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
741 return val
742 def base_OnMoveLink(self, *_args, **_kwargs):
743 val = apply(oglshapes2c.wxPyTextShape_base_OnMoveLink,(self,) + _args, _kwargs)
744 return val
745 def base_OnSizingDragLeft(self, *_args, **_kwargs):
746 val = apply(oglshapes2c.wxPyTextShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
747 return val
748 def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
749 val = apply(oglshapes2c.wxPyTextShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
750 return val
751 def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
752 val = apply(oglshapes2c.wxPyTextShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
753 return val
754 def base_OnBeginSize(self, *_args, **_kwargs):
755 val = apply(oglshapes2c.wxPyTextShape_base_OnBeginSize,(self,) + _args, _kwargs)
756 return val
757 def base_OnEndSize(self, *_args, **_kwargs):
758 val = apply(oglshapes2c.wxPyTextShape_base_OnEndSize,(self,) + _args, _kwargs)
759 return val
760 def __repr__(self):
761 return "<C wxPyTextShape instance at %s>" % (self.this,)
762 class wxPyTextShape(wxPyTextShapePtr):
763 def __init__(self,*_args,**_kwargs):
764 self.this = apply(oglshapes2c.new_wxPyTextShape,_args,_kwargs)
765 self.thisown = 1
766 self._setCallbackInfo(self, wxPyTextShape)
767 self._setOORInfo(self)
768
769
770
771
772
773
774 #-------------- FUNCTION WRAPPERS ------------------
775
776
777
778 #-------------- VARIABLE WRAPPERS ------------------
779