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 from oglbasic
import *
46 from oglshapes
import *
48 class wxPyEllipseShapePtr(wxPyShapePtr
):
49 def __init__(self
,this
):
52 def _setSelf(self
, *_args
, **_kwargs
):
53 val
= apply(oglshapes2c
.wxPyEllipseShape__setSelf
,(self
,) + _args
, _kwargs
)
55 def base_OnDraw(self
, *_args
, **_kwargs
):
56 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
58 def base_OnDrawContents(self
, *_args
, **_kwargs
):
59 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
61 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
62 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
64 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
65 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
67 def base_OnErase(self
, *_args
, **_kwargs
):
68 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnErase
,(self
,) + _args
, _kwargs
)
70 def base_OnEraseContents(self
, *_args
, **_kwargs
):
71 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
73 def base_OnHighlight(self
, *_args
, **_kwargs
):
74 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
76 def base_OnLeftClick(self
, *_args
, **_kwargs
):
77 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
79 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
80 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
82 def base_OnRightClick(self
, *_args
, **_kwargs
):
83 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
85 def base_OnSize(self
, *_args
, **_kwargs
):
86 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnSize
,(self
,) + _args
, _kwargs
)
88 def base_OnMovePre(self
, *_args
, **_kwargs
):
89 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
91 def base_OnMovePost(self
, *_args
, **_kwargs
):
92 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
94 def base_OnDragLeft(self
, *_args
, **_kwargs
):
95 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
97 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
98 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
100 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
101 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
103 def base_OnDragRight(self
, *_args
, **_kwargs
):
104 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
106 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
107 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
109 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
110 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
112 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
113 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
115 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
116 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
118 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
119 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
121 def base_OnMoveLink(self
, *_args
, **_kwargs
):
122 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
124 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
125 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
127 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
128 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
130 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
131 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
133 def base_OnBeginSize(self
, *_args
, **_kwargs
):
134 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
136 def base_OnEndSize(self
, *_args
, **_kwargs
):
137 val
= apply(oglshapes2c
.wxPyEllipseShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
140 return "<C wxPyEllipseShape instance at %s>" % (self
.this
,)
141 class wxPyEllipseShape(wxPyEllipseShapePtr
):
142 def __init__(self
,*_args
,**_kwargs
):
143 self
.this
= apply(oglshapes2c
.new_wxPyEllipseShape
,_args
,_kwargs
)
145 self
._setSelf
(self
, wxPyEllipseShape
)
150 class wxPyCircleShapePtr(wxPyEllipseShapePtr
):
151 def __init__(self
,this
):
154 def _setSelf(self
, *_args
, **_kwargs
):
155 val
= apply(oglshapes2c
.wxPyCircleShape__setSelf
,(self
,) + _args
, _kwargs
)
157 def base_OnDraw(self
, *_args
, **_kwargs
):
158 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
160 def base_OnDrawContents(self
, *_args
, **_kwargs
):
161 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
163 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
164 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
166 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
167 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
169 def base_OnErase(self
, *_args
, **_kwargs
):
170 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnErase
,(self
,) + _args
, _kwargs
)
172 def base_OnEraseContents(self
, *_args
, **_kwargs
):
173 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
175 def base_OnHighlight(self
, *_args
, **_kwargs
):
176 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
178 def base_OnLeftClick(self
, *_args
, **_kwargs
):
179 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
181 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
182 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
184 def base_OnRightClick(self
, *_args
, **_kwargs
):
185 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
187 def base_OnSize(self
, *_args
, **_kwargs
):
188 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnSize
,(self
,) + _args
, _kwargs
)
190 def base_OnMovePre(self
, *_args
, **_kwargs
):
191 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
193 def base_OnMovePost(self
, *_args
, **_kwargs
):
194 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
196 def base_OnDragLeft(self
, *_args
, **_kwargs
):
197 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
199 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
200 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
202 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
203 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
205 def base_OnDragRight(self
, *_args
, **_kwargs
):
206 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
208 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
209 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
211 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
212 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
214 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
215 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
217 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
218 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
220 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
221 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
223 def base_OnMoveLink(self
, *_args
, **_kwargs
):
224 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
226 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
227 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
229 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
230 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
232 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
233 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
235 def base_OnBeginSize(self
, *_args
, **_kwargs
):
236 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
238 def base_OnEndSize(self
, *_args
, **_kwargs
):
239 val
= apply(oglshapes2c
.wxPyCircleShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
242 return "<C wxPyCircleShape instance at %s>" % (self
.this
,)
243 class wxPyCircleShape(wxPyCircleShapePtr
):
244 def __init__(self
,*_args
,**_kwargs
):
245 self
.this
= apply(oglshapes2c
.new_wxPyCircleShape
,_args
,_kwargs
)
247 self
._setSelf
(self
, wxPyCircleShape
)
252 class wxArrowHeadPtr(wxObjectPtr
):
253 def __init__(self
,this
):
256 def __del__(self
,oglshapes2c
=oglshapes2c
):
257 if self
.thisown
== 1 :
258 oglshapes2c
.delete_wxArrowHead(self
)
259 def _GetType(self
, *_args
, **_kwargs
):
260 val
= apply(oglshapes2c
.wxArrowHead__GetType
,(self
,) + _args
, _kwargs
)
262 def GetPosition(self
, *_args
, **_kwargs
):
263 val
= apply(oglshapes2c
.wxArrowHead_GetPosition
,(self
,) + _args
, _kwargs
)
265 def SetPosition(self
, *_args
, **_kwargs
):
266 val
= apply(oglshapes2c
.wxArrowHead_SetPosition
,(self
,) + _args
, _kwargs
)
268 def GetXOffset(self
, *_args
, **_kwargs
):
269 val
= apply(oglshapes2c
.wxArrowHead_GetXOffset
,(self
,) + _args
, _kwargs
)
271 def GetYOffset(self
, *_args
, **_kwargs
):
272 val
= apply(oglshapes2c
.wxArrowHead_GetYOffset
,(self
,) + _args
, _kwargs
)
274 def GetSpacing(self
, *_args
, **_kwargs
):
275 val
= apply(oglshapes2c
.wxArrowHead_GetSpacing
,(self
,) + _args
, _kwargs
)
277 def GetSize(self
, *_args
, **_kwargs
):
278 val
= apply(oglshapes2c
.wxArrowHead_GetSize
,(self
,) + _args
, _kwargs
)
280 def GetName(self
, *_args
, **_kwargs
):
281 val
= apply(oglshapes2c
.wxArrowHead_GetName
,(self
,) + _args
, _kwargs
)
283 def SetXOffset(self
, *_args
, **_kwargs
):
284 val
= apply(oglshapes2c
.wxArrowHead_SetXOffset
,(self
,) + _args
, _kwargs
)
286 def SetYOffset(self
, *_args
, **_kwargs
):
287 val
= apply(oglshapes2c
.wxArrowHead_SetYOffset
,(self
,) + _args
, _kwargs
)
289 def GetMetaFile(self
, *_args
, **_kwargs
):
290 val
= apply(oglshapes2c
.wxArrowHead_GetMetaFile
,(self
,) + _args
, _kwargs
)
292 def GetId(self
, *_args
, **_kwargs
):
293 val
= apply(oglshapes2c
.wxArrowHead_GetId
,(self
,) + _args
, _kwargs
)
295 def GetArrowEnd(self
, *_args
, **_kwargs
):
296 val
= apply(oglshapes2c
.wxArrowHead_GetArrowEnd
,(self
,) + _args
, _kwargs
)
298 def GetArrowSize(self
, *_args
, **_kwargs
):
299 val
= apply(oglshapes2c
.wxArrowHead_GetArrowSize
,(self
,) + _args
, _kwargs
)
301 def SetSize(self
, *_args
, **_kwargs
):
302 val
= apply(oglshapes2c
.wxArrowHead_SetSize
,(self
,) + _args
, _kwargs
)
304 def SetSpacing(self
, *_args
, **_kwargs
):
305 val
= apply(oglshapes2c
.wxArrowHead_SetSpacing
,(self
,) + _args
, _kwargs
)
308 return "<C wxArrowHead instance at %s>" % (self
.this
,)
309 class wxArrowHead(wxArrowHeadPtr
):
310 def __init__(self
,*_args
,**_kwargs
):
311 self
.this
= apply(oglshapes2c
.new_wxArrowHead
,_args
,_kwargs
)
317 class wxPyLineShapePtr(wxPyShapePtr
):
318 def __init__(self
,this
):
321 def _setSelf(self
, *_args
, **_kwargs
):
322 val
= apply(oglshapes2c
.wxPyLineShape__setSelf
,(self
,) + _args
, _kwargs
)
324 def AddArrow(self
, *_args
, **_kwargs
):
325 val
= apply(oglshapes2c
.wxPyLineShape_AddArrow
,(self
,) + _args
, _kwargs
)
327 def AddArrowOrdered(self
, *_args
, **_kwargs
):
328 val
= apply(oglshapes2c
.wxPyLineShape_AddArrowOrdered
,(self
,) + _args
, _kwargs
)
330 def ClearArrow(self
, *_args
, **_kwargs
):
331 val
= apply(oglshapes2c
.wxPyLineShape_ClearArrow
,(self
,) + _args
, _kwargs
)
333 def ClearArrowsAtPosition(self
, *_args
, **_kwargs
):
334 val
= apply(oglshapes2c
.wxPyLineShape_ClearArrowsAtPosition
,(self
,) + _args
, _kwargs
)
336 def DrawArrow(self
, *_args
, **_kwargs
):
337 val
= apply(oglshapes2c
.wxPyLineShape_DrawArrow
,(self
,) + _args
, _kwargs
)
339 def DeleteArrowHeadId(self
, *_args
, **_kwargs
):
340 val
= apply(oglshapes2c
.wxPyLineShape_DeleteArrowHeadId
,(self
,) + _args
, _kwargs
)
342 def DeleteArrowHead(self
, *_args
, **_kwargs
):
343 val
= apply(oglshapes2c
.wxPyLineShape_DeleteArrowHead
,(self
,) + _args
, _kwargs
)
345 def DeleteLineControlPoint(self
, *_args
, **_kwargs
):
346 val
= apply(oglshapes2c
.wxPyLineShape_DeleteLineControlPoint
,(self
,) + _args
, _kwargs
)
348 def DrawArrows(self
, *_args
, **_kwargs
):
349 val
= apply(oglshapes2c
.wxPyLineShape_DrawArrows
,(self
,) + _args
, _kwargs
)
351 def DrawRegion(self
, *_args
, **_kwargs
):
352 val
= apply(oglshapes2c
.wxPyLineShape_DrawRegion
,(self
,) + _args
, _kwargs
)
354 def EraseRegion(self
, *_args
, **_kwargs
):
355 val
= apply(oglshapes2c
.wxPyLineShape_EraseRegion
,(self
,) + _args
, _kwargs
)
357 def FindArrowHeadId(self
, *_args
, **_kwargs
):
358 val
= apply(oglshapes2c
.wxPyLineShape_FindArrowHeadId
,(self
,) + _args
, _kwargs
)
360 def FindArrowHead(self
, *_args
, **_kwargs
):
361 val
= apply(oglshapes2c
.wxPyLineShape_FindArrowHead
,(self
,) + _args
, _kwargs
)
363 def FindLineEndPoints(self
, *_args
, **_kwargs
):
364 val
= apply(oglshapes2c
.wxPyLineShape_FindLineEndPoints
,(self
,) + _args
, _kwargs
)
366 def FindLinePosition(self
, *_args
, **_kwargs
):
367 val
= apply(oglshapes2c
.wxPyLineShape_FindLinePosition
,(self
,) + _args
, _kwargs
)
369 def FindMinimumWidth(self
, *_args
, **_kwargs
):
370 val
= apply(oglshapes2c
.wxPyLineShape_FindMinimumWidth
,(self
,) + _args
, _kwargs
)
372 def FindNth(self
, *_args
, **_kwargs
):
373 val
= apply(oglshapes2c
.wxPyLineShape_FindNth
,(self
,) + _args
, _kwargs
)
375 def GetAttachmentFrom(self
, *_args
, **_kwargs
):
376 val
= apply(oglshapes2c
.wxPyLineShape_GetAttachmentFrom
,(self
,) + _args
, _kwargs
)
378 def GetAttachmentTo(self
, *_args
, **_kwargs
):
379 val
= apply(oglshapes2c
.wxPyLineShape_GetAttachmentTo
,(self
,) + _args
, _kwargs
)
381 def GetEnds(self
, *_args
, **_kwargs
):
382 val
= apply(oglshapes2c
.wxPyLineShape_GetEnds
,(self
,) + _args
, _kwargs
)
384 def GetFrom(self
, *_args
, **_kwargs
):
385 val
= apply(oglshapes2c
.wxPyLineShape_GetFrom
,(self
,) + _args
, _kwargs
)
387 def GetLabelPosition(self
, *_args
, **_kwargs
):
388 val
= apply(oglshapes2c
.wxPyLineShape_GetLabelPosition
,(self
,) + _args
, _kwargs
)
390 def GetNextControlPoint(self
, *_args
, **_kwargs
):
391 val
= apply(oglshapes2c
.wxPyLineShape_GetNextControlPoint
,(self
,) + _args
, _kwargs
)
392 if val
: val
= wxPointPtr(val
)
394 def GetTo(self
, *_args
, **_kwargs
):
395 val
= apply(oglshapes2c
.wxPyLineShape_GetTo
,(self
,) + _args
, _kwargs
)
397 def Initialise(self
, *_args
, **_kwargs
):
398 val
= apply(oglshapes2c
.wxPyLineShape_Initialise
,(self
,) + _args
, _kwargs
)
400 def InsertLineControlPoint(self
, *_args
, **_kwargs
):
401 val
= apply(oglshapes2c
.wxPyLineShape_InsertLineControlPoint
,(self
,) + _args
, _kwargs
)
403 def IsEnd(self
, *_args
, **_kwargs
):
404 val
= apply(oglshapes2c
.wxPyLineShape_IsEnd
,(self
,) + _args
, _kwargs
)
406 def IsSpline(self
, *_args
, **_kwargs
):
407 val
= apply(oglshapes2c
.wxPyLineShape_IsSpline
,(self
,) + _args
, _kwargs
)
409 def MakeLineControlPoints(self
, *_args
, **_kwargs
):
410 val
= apply(oglshapes2c
.wxPyLineShape_MakeLineControlPoints
,(self
,) + _args
, _kwargs
)
412 def GetLineControlPoints(self
, *_args
, **_kwargs
):
413 val
= apply(oglshapes2c
.wxPyLineShape_GetLineControlPoints
,(self
,) + _args
, _kwargs
)
415 def SetAttachmentFrom(self
, *_args
, **_kwargs
):
416 val
= apply(oglshapes2c
.wxPyLineShape_SetAttachmentFrom
,(self
,) + _args
, _kwargs
)
418 def SetAttachments(self
, *_args
, **_kwargs
):
419 val
= apply(oglshapes2c
.wxPyLineShape_SetAttachments
,(self
,) + _args
, _kwargs
)
421 def SetAttachmentTo(self
, *_args
, **_kwargs
):
422 val
= apply(oglshapes2c
.wxPyLineShape_SetAttachmentTo
,(self
,) + _args
, _kwargs
)
424 def SetEnds(self
, *_args
, **_kwargs
):
425 val
= apply(oglshapes2c
.wxPyLineShape_SetEnds
,(self
,) + _args
, _kwargs
)
427 def SetFrom(self
, *_args
, **_kwargs
):
428 val
= apply(oglshapes2c
.wxPyLineShape_SetFrom
,(self
,) + _args
, _kwargs
)
430 def SetIgnoreOffsets(self
, *_args
, **_kwargs
):
431 val
= apply(oglshapes2c
.wxPyLineShape_SetIgnoreOffsets
,(self
,) + _args
, _kwargs
)
433 def SetSpline(self
, *_args
, **_kwargs
):
434 val
= apply(oglshapes2c
.wxPyLineShape_SetSpline
,(self
,) + _args
, _kwargs
)
436 def SetTo(self
, *_args
, **_kwargs
):
437 val
= apply(oglshapes2c
.wxPyLineShape_SetTo
,(self
,) + _args
, _kwargs
)
439 def Straighten(self
, *_args
, **_kwargs
):
440 val
= apply(oglshapes2c
.wxPyLineShape_Straighten
,(self
,) + _args
, _kwargs
)
442 def Unlink(self
, *_args
, **_kwargs
):
443 val
= apply(oglshapes2c
.wxPyLineShape_Unlink
,(self
,) + _args
, _kwargs
)
445 def base_OnDraw(self
, *_args
, **_kwargs
):
446 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
448 def base_OnDrawContents(self
, *_args
, **_kwargs
):
449 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
451 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
452 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
454 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
455 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
457 def base_OnErase(self
, *_args
, **_kwargs
):
458 val
= apply(oglshapes2c
.wxPyLineShape_base_OnErase
,(self
,) + _args
, _kwargs
)
460 def base_OnEraseContents(self
, *_args
, **_kwargs
):
461 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
463 def base_OnHighlight(self
, *_args
, **_kwargs
):
464 val
= apply(oglshapes2c
.wxPyLineShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
466 def base_OnLeftClick(self
, *_args
, **_kwargs
):
467 val
= apply(oglshapes2c
.wxPyLineShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
469 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
470 val
= apply(oglshapes2c
.wxPyLineShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
472 def base_OnRightClick(self
, *_args
, **_kwargs
):
473 val
= apply(oglshapes2c
.wxPyLineShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
475 def base_OnSize(self
, *_args
, **_kwargs
):
476 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSize
,(self
,) + _args
, _kwargs
)
478 def base_OnMovePre(self
, *_args
, **_kwargs
):
479 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
481 def base_OnMovePost(self
, *_args
, **_kwargs
):
482 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
484 def base_OnDragLeft(self
, *_args
, **_kwargs
):
485 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
487 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
488 val
= apply(oglshapes2c
.wxPyLineShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
490 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
491 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
493 def base_OnDragRight(self
, *_args
, **_kwargs
):
494 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
496 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
497 val
= apply(oglshapes2c
.wxPyLineShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
499 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
500 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
502 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
503 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
505 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
506 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
508 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
509 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
511 def base_OnMoveLink(self
, *_args
, **_kwargs
):
512 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
514 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
515 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
517 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
518 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
520 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
521 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
523 def base_OnBeginSize(self
, *_args
, **_kwargs
):
524 val
= apply(oglshapes2c
.wxPyLineShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
526 def base_OnEndSize(self
, *_args
, **_kwargs
):
527 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
530 return "<C wxPyLineShape instance at %s>" % (self
.this
,)
531 class wxPyLineShape(wxPyLineShapePtr
):
532 def __init__(self
,*_args
,**_kwargs
):
533 self
.this
= apply(oglshapes2c
.new_wxPyLineShape
,_args
,_kwargs
)
535 self
._setSelf
(self
, wxPyLineShape
)
540 class wxPyPolygonShapePtr(wxPyShapePtr
):
541 def __init__(self
,this
):
544 def _setSelf(self
, *_args
, **_kwargs
):
545 val
= apply(oglshapes2c
.wxPyPolygonShape__setSelf
,(self
,) + _args
, _kwargs
)
547 def Create(self
, *_args
, **_kwargs
):
548 val
= apply(oglshapes2c
.wxPyPolygonShape_Create
,(self
,) + _args
, _kwargs
)
550 def AddPolygonPoint(self
, *_args
, **_kwargs
):
551 val
= apply(oglshapes2c
.wxPyPolygonShape_AddPolygonPoint
,(self
,) + _args
, _kwargs
)
553 def CalculatePolygonCentre(self
, *_args
, **_kwargs
):
554 val
= apply(oglshapes2c
.wxPyPolygonShape_CalculatePolygonCentre
,(self
,) + _args
, _kwargs
)
556 def DeletePolygonPoint(self
, *_args
, **_kwargs
):
557 val
= apply(oglshapes2c
.wxPyPolygonShape_DeletePolygonPoint
,(self
,) + _args
, _kwargs
)
559 def GetPoints(self
, *_args
, **_kwargs
):
560 val
= apply(oglshapes2c
.wxPyPolygonShape_GetPoints
,(self
,) + _args
, _kwargs
)
562 def UpdateOriginalPoints(self
, *_args
, **_kwargs
):
563 val
= apply(oglshapes2c
.wxPyPolygonShape_UpdateOriginalPoints
,(self
,) + _args
, _kwargs
)
565 def base_OnDraw(self
, *_args
, **_kwargs
):
566 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
568 def base_OnDrawContents(self
, *_args
, **_kwargs
):
569 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
571 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
572 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
574 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
575 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
577 def base_OnErase(self
, *_args
, **_kwargs
):
578 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnErase
,(self
,) + _args
, _kwargs
)
580 def base_OnEraseContents(self
, *_args
, **_kwargs
):
581 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
583 def base_OnHighlight(self
, *_args
, **_kwargs
):
584 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
586 def base_OnLeftClick(self
, *_args
, **_kwargs
):
587 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
589 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
590 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
592 def base_OnRightClick(self
, *_args
, **_kwargs
):
593 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
595 def base_OnSize(self
, *_args
, **_kwargs
):
596 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSize
,(self
,) + _args
, _kwargs
)
598 def base_OnMovePre(self
, *_args
, **_kwargs
):
599 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
601 def base_OnMovePost(self
, *_args
, **_kwargs
):
602 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
604 def base_OnDragLeft(self
, *_args
, **_kwargs
):
605 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
607 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
608 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
610 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
611 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
613 def base_OnDragRight(self
, *_args
, **_kwargs
):
614 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
616 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
617 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
619 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
620 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
622 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
623 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
625 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
626 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
628 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
629 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
631 def base_OnMoveLink(self
, *_args
, **_kwargs
):
632 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
634 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
635 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
637 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
638 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
640 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
641 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
643 def base_OnBeginSize(self
, *_args
, **_kwargs
):
644 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
646 def base_OnEndSize(self
, *_args
, **_kwargs
):
647 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
650 return "<C wxPyPolygonShape instance at %s>" % (self
.this
,)
651 class wxPyPolygonShape(wxPyPolygonShapePtr
):
652 def __init__(self
,*_args
,**_kwargs
):
653 self
.this
= apply(oglshapes2c
.new_wxPyPolygonShape
,_args
,_kwargs
)
655 self
._setSelf
(self
, wxPyPolygonShape
)
660 class wxPyTextShapePtr(wxPyRectangleShapePtr
):
661 def __init__(self
,this
):
664 def _setSelf(self
, *_args
, **_kwargs
):
665 val
= apply(oglshapes2c
.wxPyTextShape__setSelf
,(self
,) + _args
, _kwargs
)
667 def base_OnDelete(self
, *_args
, **_kwargs
):
668 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
670 def base_OnDraw(self
, *_args
, **_kwargs
):
671 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
673 def base_OnDrawContents(self
, *_args
, **_kwargs
):
674 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
676 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
677 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
679 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
680 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
682 def base_OnErase(self
, *_args
, **_kwargs
):
683 val
= apply(oglshapes2c
.wxPyTextShape_base_OnErase
,(self
,) + _args
, _kwargs
)
685 def base_OnEraseContents(self
, *_args
, **_kwargs
):
686 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
688 def base_OnHighlight(self
, *_args
, **_kwargs
):
689 val
= apply(oglshapes2c
.wxPyTextShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
691 def base_OnLeftClick(self
, *_args
, **_kwargs
):
692 val
= apply(oglshapes2c
.wxPyTextShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
694 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
695 val
= apply(oglshapes2c
.wxPyTextShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
697 def base_OnRightClick(self
, *_args
, **_kwargs
):
698 val
= apply(oglshapes2c
.wxPyTextShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
700 def base_OnSize(self
, *_args
, **_kwargs
):
701 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSize
,(self
,) + _args
, _kwargs
)
703 def base_OnMovePre(self
, *_args
, **_kwargs
):
704 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
706 def base_OnMovePost(self
, *_args
, **_kwargs
):
707 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
709 def base_OnDragLeft(self
, *_args
, **_kwargs
):
710 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
712 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
713 val
= apply(oglshapes2c
.wxPyTextShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
715 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
716 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
718 def base_OnDragRight(self
, *_args
, **_kwargs
):
719 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
721 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
722 val
= apply(oglshapes2c
.wxPyTextShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
724 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
725 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
727 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
728 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
730 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
731 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
733 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
734 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
736 def base_OnMoveLink(self
, *_args
, **_kwargs
):
737 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
739 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
740 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
742 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
743 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
745 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
746 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
748 def base_OnBeginSize(self
, *_args
, **_kwargs
):
749 val
= apply(oglshapes2c
.wxPyTextShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
751 def base_OnEndSize(self
, *_args
, **_kwargs
):
752 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
755 return "<C wxPyTextShape instance at %s>" % (self
.this
,)
756 class wxPyTextShape(wxPyTextShapePtr
):
757 def __init__(self
,*_args
,**_kwargs
):
758 self
.this
= apply(oglshapes2c
.new_wxPyTextShape
,_args
,_kwargs
)
760 self
._setSelf
(self
, wxPyTextShape
)
767 #-------------- FUNCTION WRAPPERS ------------------
771 #-------------- VARIABLE WRAPPERS ------------------