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
:
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
)
291 if val
: val
= wxPseudoMetaFilePtr(val
)
293 def GetId(self
, *_args
, **_kwargs
):
294 val
= apply(oglshapes2c
.wxArrowHead_GetId
,(self
,) + _args
, _kwargs
)
296 def GetArrowEnd(self
, *_args
, **_kwargs
):
297 val
= apply(oglshapes2c
.wxArrowHead_GetArrowEnd
,(self
,) + _args
, _kwargs
)
299 def GetArrowSize(self
, *_args
, **_kwargs
):
300 val
= apply(oglshapes2c
.wxArrowHead_GetArrowSize
,(self
,) + _args
, _kwargs
)
302 def SetSize(self
, *_args
, **_kwargs
):
303 val
= apply(oglshapes2c
.wxArrowHead_SetSize
,(self
,) + _args
, _kwargs
)
305 def SetSpacing(self
, *_args
, **_kwargs
):
306 val
= apply(oglshapes2c
.wxArrowHead_SetSpacing
,(self
,) + _args
, _kwargs
)
309 return "<C wxArrowHead instance at %s>" % (self
.this
,)
310 class wxArrowHead(wxArrowHeadPtr
):
311 def __init__(self
,*_args
,**_kwargs
):
312 self
.this
= apply(oglshapes2c
.new_wxArrowHead
,_args
,_kwargs
)
318 class wxPyLineShapePtr(wxPyShapePtr
):
319 def __init__(self
,this
):
322 def _setSelf(self
, *_args
, **_kwargs
):
323 val
= apply(oglshapes2c
.wxPyLineShape__setSelf
,(self
,) + _args
, _kwargs
)
325 def AddArrow(self
, *_args
, **_kwargs
):
326 val
= apply(oglshapes2c
.wxPyLineShape_AddArrow
,(self
,) + _args
, _kwargs
)
328 def AddArrowOrdered(self
, *_args
, **_kwargs
):
329 val
= apply(oglshapes2c
.wxPyLineShape_AddArrowOrdered
,(self
,) + _args
, _kwargs
)
331 def ClearArrow(self
, *_args
, **_kwargs
):
332 val
= apply(oglshapes2c
.wxPyLineShape_ClearArrow
,(self
,) + _args
, _kwargs
)
334 def ClearArrowsAtPosition(self
, *_args
, **_kwargs
):
335 val
= apply(oglshapes2c
.wxPyLineShape_ClearArrowsAtPosition
,(self
,) + _args
, _kwargs
)
337 def DrawArrow(self
, *_args
, **_kwargs
):
338 val
= apply(oglshapes2c
.wxPyLineShape_DrawArrow
,(self
,) + _args
, _kwargs
)
340 def DeleteArrowHeadId(self
, *_args
, **_kwargs
):
341 val
= apply(oglshapes2c
.wxPyLineShape_DeleteArrowHeadId
,(self
,) + _args
, _kwargs
)
343 def DeleteArrowHead(self
, *_args
, **_kwargs
):
344 val
= apply(oglshapes2c
.wxPyLineShape_DeleteArrowHead
,(self
,) + _args
, _kwargs
)
346 def DeleteLineControlPoint(self
, *_args
, **_kwargs
):
347 val
= apply(oglshapes2c
.wxPyLineShape_DeleteLineControlPoint
,(self
,) + _args
, _kwargs
)
349 def DrawArrows(self
, *_args
, **_kwargs
):
350 val
= apply(oglshapes2c
.wxPyLineShape_DrawArrows
,(self
,) + _args
, _kwargs
)
352 def DrawRegion(self
, *_args
, **_kwargs
):
353 val
= apply(oglshapes2c
.wxPyLineShape_DrawRegion
,(self
,) + _args
, _kwargs
)
355 def EraseRegion(self
, *_args
, **_kwargs
):
356 val
= apply(oglshapes2c
.wxPyLineShape_EraseRegion
,(self
,) + _args
, _kwargs
)
358 def FindArrowHeadId(self
, *_args
, **_kwargs
):
359 val
= apply(oglshapes2c
.wxPyLineShape_FindArrowHeadId
,(self
,) + _args
, _kwargs
)
360 if val
: val
= wxArrowHeadPtr(val
)
362 def FindArrowHead(self
, *_args
, **_kwargs
):
363 val
= apply(oglshapes2c
.wxPyLineShape_FindArrowHead
,(self
,) + _args
, _kwargs
)
364 if val
: val
= wxArrowHeadPtr(val
)
366 def FindLineEndPoints(self
, *_args
, **_kwargs
):
367 val
= apply(oglshapes2c
.wxPyLineShape_FindLineEndPoints
,(self
,) + _args
, _kwargs
)
369 def FindLinePosition(self
, *_args
, **_kwargs
):
370 val
= apply(oglshapes2c
.wxPyLineShape_FindLinePosition
,(self
,) + _args
, _kwargs
)
372 def FindMinimumWidth(self
, *_args
, **_kwargs
):
373 val
= apply(oglshapes2c
.wxPyLineShape_FindMinimumWidth
,(self
,) + _args
, _kwargs
)
375 def FindNth(self
, *_args
, **_kwargs
):
376 val
= apply(oglshapes2c
.wxPyLineShape_FindNth
,(self
,) + _args
, _kwargs
)
378 def GetAttachmentFrom(self
, *_args
, **_kwargs
):
379 val
= apply(oglshapes2c
.wxPyLineShape_GetAttachmentFrom
,(self
,) + _args
, _kwargs
)
381 def GetAttachmentTo(self
, *_args
, **_kwargs
):
382 val
= apply(oglshapes2c
.wxPyLineShape_GetAttachmentTo
,(self
,) + _args
, _kwargs
)
384 def GetEnds(self
, *_args
, **_kwargs
):
385 val
= apply(oglshapes2c
.wxPyLineShape_GetEnds
,(self
,) + _args
, _kwargs
)
387 def GetFrom(self
, *_args
, **_kwargs
):
388 val
= apply(oglshapes2c
.wxPyLineShape_GetFrom
,(self
,) + _args
, _kwargs
)
389 if val
: val
= wxPyShapePtr(val
)
391 def GetLabelPosition(self
, *_args
, **_kwargs
):
392 val
= apply(oglshapes2c
.wxPyLineShape_GetLabelPosition
,(self
,) + _args
, _kwargs
)
394 def GetNextControlPoint(self
, *_args
, **_kwargs
):
395 val
= apply(oglshapes2c
.wxPyLineShape_GetNextControlPoint
,(self
,) + _args
, _kwargs
)
396 if val
: val
= wxPointPtr(val
)
398 def GetTo(self
, *_args
, **_kwargs
):
399 val
= apply(oglshapes2c
.wxPyLineShape_GetTo
,(self
,) + _args
, _kwargs
)
400 if val
: val
= wxPyShapePtr(val
)
402 def Initialise(self
, *_args
, **_kwargs
):
403 val
= apply(oglshapes2c
.wxPyLineShape_Initialise
,(self
,) + _args
, _kwargs
)
405 def InsertLineControlPoint(self
, *_args
, **_kwargs
):
406 val
= apply(oglshapes2c
.wxPyLineShape_InsertLineControlPoint
,(self
,) + _args
, _kwargs
)
408 def IsEnd(self
, *_args
, **_kwargs
):
409 val
= apply(oglshapes2c
.wxPyLineShape_IsEnd
,(self
,) + _args
, _kwargs
)
411 def IsSpline(self
, *_args
, **_kwargs
):
412 val
= apply(oglshapes2c
.wxPyLineShape_IsSpline
,(self
,) + _args
, _kwargs
)
414 def MakeLineControlPoints(self
, *_args
, **_kwargs
):
415 val
= apply(oglshapes2c
.wxPyLineShape_MakeLineControlPoints
,(self
,) + _args
, _kwargs
)
417 def SetAttachmentFrom(self
, *_args
, **_kwargs
):
418 val
= apply(oglshapes2c
.wxPyLineShape_SetAttachmentFrom
,(self
,) + _args
, _kwargs
)
420 def SetAttachments(self
, *_args
, **_kwargs
):
421 val
= apply(oglshapes2c
.wxPyLineShape_SetAttachments
,(self
,) + _args
, _kwargs
)
423 def SetAttachmentTo(self
, *_args
, **_kwargs
):
424 val
= apply(oglshapes2c
.wxPyLineShape_SetAttachmentTo
,(self
,) + _args
, _kwargs
)
426 def SetEnds(self
, *_args
, **_kwargs
):
427 val
= apply(oglshapes2c
.wxPyLineShape_SetEnds
,(self
,) + _args
, _kwargs
)
429 def SetFrom(self
, *_args
, **_kwargs
):
430 val
= apply(oglshapes2c
.wxPyLineShape_SetFrom
,(self
,) + _args
, _kwargs
)
432 def SetIgnoreOffsets(self
, *_args
, **_kwargs
):
433 val
= apply(oglshapes2c
.wxPyLineShape_SetIgnoreOffsets
,(self
,) + _args
, _kwargs
)
435 def SetSpline(self
, *_args
, **_kwargs
):
436 val
= apply(oglshapes2c
.wxPyLineShape_SetSpline
,(self
,) + _args
, _kwargs
)
438 def SetTo(self
, *_args
, **_kwargs
):
439 val
= apply(oglshapes2c
.wxPyLineShape_SetTo
,(self
,) + _args
, _kwargs
)
441 def Straighten(self
, *_args
, **_kwargs
):
442 val
= apply(oglshapes2c
.wxPyLineShape_Straighten
,(self
,) + _args
, _kwargs
)
444 def Unlink(self
, *_args
, **_kwargs
):
445 val
= apply(oglshapes2c
.wxPyLineShape_Unlink
,(self
,) + _args
, _kwargs
)
447 def base_OnDraw(self
, *_args
, **_kwargs
):
448 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
450 def base_OnDrawContents(self
, *_args
, **_kwargs
):
451 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
453 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
454 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
456 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
457 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
459 def base_OnErase(self
, *_args
, **_kwargs
):
460 val
= apply(oglshapes2c
.wxPyLineShape_base_OnErase
,(self
,) + _args
, _kwargs
)
462 def base_OnEraseContents(self
, *_args
, **_kwargs
):
463 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
465 def base_OnHighlight(self
, *_args
, **_kwargs
):
466 val
= apply(oglshapes2c
.wxPyLineShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
468 def base_OnLeftClick(self
, *_args
, **_kwargs
):
469 val
= apply(oglshapes2c
.wxPyLineShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
471 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
472 val
= apply(oglshapes2c
.wxPyLineShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
474 def base_OnRightClick(self
, *_args
, **_kwargs
):
475 val
= apply(oglshapes2c
.wxPyLineShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
477 def base_OnSize(self
, *_args
, **_kwargs
):
478 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSize
,(self
,) + _args
, _kwargs
)
480 def base_OnMovePre(self
, *_args
, **_kwargs
):
481 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
483 def base_OnMovePost(self
, *_args
, **_kwargs
):
484 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
486 def base_OnDragLeft(self
, *_args
, **_kwargs
):
487 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
489 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
490 val
= apply(oglshapes2c
.wxPyLineShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
492 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
493 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
495 def base_OnDragRight(self
, *_args
, **_kwargs
):
496 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
498 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
499 val
= apply(oglshapes2c
.wxPyLineShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
501 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
502 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
504 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
505 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
507 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
508 val
= apply(oglshapes2c
.wxPyLineShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
510 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
511 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
513 def base_OnMoveLink(self
, *_args
, **_kwargs
):
514 val
= apply(oglshapes2c
.wxPyLineShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
516 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
517 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
519 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
520 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
522 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
523 val
= apply(oglshapes2c
.wxPyLineShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
525 def base_OnBeginSize(self
, *_args
, **_kwargs
):
526 val
= apply(oglshapes2c
.wxPyLineShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
528 def base_OnEndSize(self
, *_args
, **_kwargs
):
529 val
= apply(oglshapes2c
.wxPyLineShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
532 return "<C wxPyLineShape instance at %s>" % (self
.this
,)
533 class wxPyLineShape(wxPyLineShapePtr
):
534 def __init__(self
,*_args
,**_kwargs
):
535 self
.this
= apply(oglshapes2c
.new_wxPyLineShape
,_args
,_kwargs
)
537 self
._setSelf
(self
, wxPyLineShape
)
542 class wxPyPolygonShapePtr(wxPyShapePtr
):
543 def __init__(self
,this
):
546 def _setSelf(self
, *_args
, **_kwargs
):
547 val
= apply(oglshapes2c
.wxPyPolygonShape__setSelf
,(self
,) + _args
, _kwargs
)
549 def Create(self
, *_args
, **_kwargs
):
550 val
= apply(oglshapes2c
.wxPyPolygonShape_Create
,(self
,) + _args
, _kwargs
)
552 def AddPolygonPoint(self
, *_args
, **_kwargs
):
553 val
= apply(oglshapes2c
.wxPyPolygonShape_AddPolygonPoint
,(self
,) + _args
, _kwargs
)
555 def CalculatePolygonCentre(self
, *_args
, **_kwargs
):
556 val
= apply(oglshapes2c
.wxPyPolygonShape_CalculatePolygonCentre
,(self
,) + _args
, _kwargs
)
558 def DeletePolygonPoint(self
, *_args
, **_kwargs
):
559 val
= apply(oglshapes2c
.wxPyPolygonShape_DeletePolygonPoint
,(self
,) + _args
, _kwargs
)
561 def GetPoints(self
, *_args
, **_kwargs
):
562 val
= apply(oglshapes2c
.wxPyPolygonShape_GetPoints
,(self
,) + _args
, _kwargs
)
564 def UpdateOriginalPoints(self
, *_args
, **_kwargs
):
565 val
= apply(oglshapes2c
.wxPyPolygonShape_UpdateOriginalPoints
,(self
,) + _args
, _kwargs
)
567 def base_OnDraw(self
, *_args
, **_kwargs
):
568 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
570 def base_OnDrawContents(self
, *_args
, **_kwargs
):
571 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
573 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
574 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
576 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
577 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
579 def base_OnErase(self
, *_args
, **_kwargs
):
580 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnErase
,(self
,) + _args
, _kwargs
)
582 def base_OnEraseContents(self
, *_args
, **_kwargs
):
583 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
585 def base_OnHighlight(self
, *_args
, **_kwargs
):
586 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
588 def base_OnLeftClick(self
, *_args
, **_kwargs
):
589 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
591 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
592 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
594 def base_OnRightClick(self
, *_args
, **_kwargs
):
595 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
597 def base_OnSize(self
, *_args
, **_kwargs
):
598 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSize
,(self
,) + _args
, _kwargs
)
600 def base_OnMovePre(self
, *_args
, **_kwargs
):
601 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
603 def base_OnMovePost(self
, *_args
, **_kwargs
):
604 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
606 def base_OnDragLeft(self
, *_args
, **_kwargs
):
607 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
609 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
610 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
612 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
613 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
615 def base_OnDragRight(self
, *_args
, **_kwargs
):
616 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
618 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
619 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
621 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
622 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
624 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
625 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
627 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
628 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
630 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
631 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
633 def base_OnMoveLink(self
, *_args
, **_kwargs
):
634 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
636 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
637 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
639 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
640 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
642 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
643 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
645 def base_OnBeginSize(self
, *_args
, **_kwargs
):
646 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
648 def base_OnEndSize(self
, *_args
, **_kwargs
):
649 val
= apply(oglshapes2c
.wxPyPolygonShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
652 return "<C wxPyPolygonShape instance at %s>" % (self
.this
,)
653 class wxPyPolygonShape(wxPyPolygonShapePtr
):
654 def __init__(self
,*_args
,**_kwargs
):
655 self
.this
= apply(oglshapes2c
.new_wxPyPolygonShape
,_args
,_kwargs
)
657 self
._setSelf
(self
, wxPyPolygonShape
)
662 class wxPyTextShapePtr(wxPyRectangleShapePtr
):
663 def __init__(self
,this
):
666 def _setSelf(self
, *_args
, **_kwargs
):
667 val
= apply(oglshapes2c
.wxPyTextShape__setSelf
,(self
,) + _args
, _kwargs
)
669 def base_OnDelete(self
, *_args
, **_kwargs
):
670 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
672 def base_OnDraw(self
, *_args
, **_kwargs
):
673 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
675 def base_OnDrawContents(self
, *_args
, **_kwargs
):
676 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
678 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
679 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
681 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
682 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
684 def base_OnErase(self
, *_args
, **_kwargs
):
685 val
= apply(oglshapes2c
.wxPyTextShape_base_OnErase
,(self
,) + _args
, _kwargs
)
687 def base_OnEraseContents(self
, *_args
, **_kwargs
):
688 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
690 def base_OnHighlight(self
, *_args
, **_kwargs
):
691 val
= apply(oglshapes2c
.wxPyTextShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
693 def base_OnLeftClick(self
, *_args
, **_kwargs
):
694 val
= apply(oglshapes2c
.wxPyTextShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
696 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
697 val
= apply(oglshapes2c
.wxPyTextShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
699 def base_OnRightClick(self
, *_args
, **_kwargs
):
700 val
= apply(oglshapes2c
.wxPyTextShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
702 def base_OnSize(self
, *_args
, **_kwargs
):
703 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSize
,(self
,) + _args
, _kwargs
)
705 def base_OnMovePre(self
, *_args
, **_kwargs
):
706 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
708 def base_OnMovePost(self
, *_args
, **_kwargs
):
709 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
711 def base_OnDragLeft(self
, *_args
, **_kwargs
):
712 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
714 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
715 val
= apply(oglshapes2c
.wxPyTextShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
717 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
718 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
720 def base_OnDragRight(self
, *_args
, **_kwargs
):
721 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
723 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
724 val
= apply(oglshapes2c
.wxPyTextShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
726 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
727 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
729 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
730 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
732 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
733 val
= apply(oglshapes2c
.wxPyTextShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
735 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
736 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
738 def base_OnMoveLink(self
, *_args
, **_kwargs
):
739 val
= apply(oglshapes2c
.wxPyTextShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
741 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
742 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
744 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
745 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
747 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
748 val
= apply(oglshapes2c
.wxPyTextShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
750 def base_OnBeginSize(self
, *_args
, **_kwargs
):
751 val
= apply(oglshapes2c
.wxPyTextShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
753 def base_OnEndSize(self
, *_args
, **_kwargs
):
754 val
= apply(oglshapes2c
.wxPyTextShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
757 return "<C wxPyTextShape instance at %s>" % (self
.this
,)
758 class wxPyTextShape(wxPyTextShapePtr
):
759 def __init__(self
,*_args
,**_kwargs
):
760 self
.this
= apply(oglshapes2c
.new_wxPyTextShape
,_args
,_kwargs
)
762 self
._setSelf
(self
, wxPyTextShape
)
769 #-------------- FUNCTION WRAPPERS ------------------
773 #-------------- VARIABLE WRAPPERS ------------------