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 class wxPseudoMetaFilePtr
:
47 def __init__(self
,this
):
50 def __del__(self
,oglshapesc
=oglshapesc
):
51 if self
.thisown
== 1 :
52 oglshapesc
.delete_wxPseudoMetaFile(self
)
53 def Draw(self
, *_args
, **_kwargs
):
54 val
= apply(oglshapesc
.wxPseudoMetaFile_Draw
,(self
,) + _args
, _kwargs
)
56 def WriteAttributes(self
, *_args
, **_kwargs
):
57 val
= apply(oglshapesc
.wxPseudoMetaFile_WriteAttributes
,(self
,) + _args
, _kwargs
)
59 def ReadAttributes(self
, *_args
, **_kwargs
):
60 val
= apply(oglshapesc
.wxPseudoMetaFile_ReadAttributes
,(self
,) + _args
, _kwargs
)
62 def Clear(self
, *_args
, **_kwargs
):
63 val
= apply(oglshapesc
.wxPseudoMetaFile_Clear
,(self
,) + _args
, _kwargs
)
65 def Copy(self
, *_args
, **_kwargs
):
66 val
= apply(oglshapesc
.wxPseudoMetaFile_Copy
,(self
,) + _args
, _kwargs
)
68 def Scale(self
, *_args
, **_kwargs
):
69 val
= apply(oglshapesc
.wxPseudoMetaFile_Scale
,(self
,) + _args
, _kwargs
)
71 def ScaleTo(self
, *_args
, **_kwargs
):
72 val
= apply(oglshapesc
.wxPseudoMetaFile_ScaleTo
,(self
,) + _args
, _kwargs
)
74 def Translate(self
, *_args
, **_kwargs
):
75 val
= apply(oglshapesc
.wxPseudoMetaFile_Translate
,(self
,) + _args
, _kwargs
)
77 def Rotate(self
, *_args
, **_kwargs
):
78 val
= apply(oglshapesc
.wxPseudoMetaFile_Rotate
,(self
,) + _args
, _kwargs
)
80 def LoadFromMetaFile(self
, *_args
, **_kwargs
):
81 val
= apply(oglshapesc
.wxPseudoMetaFile_LoadFromMetaFile
,(self
,) + _args
, _kwargs
)
83 def GetBounds(self
, *_args
, **_kwargs
):
84 val
= apply(oglshapesc
.wxPseudoMetaFile_GetBounds
,(self
,) + _args
, _kwargs
)
86 def CalculateSize(self
, *_args
, **_kwargs
):
87 val
= apply(oglshapesc
.wxPseudoMetaFile_CalculateSize
,(self
,) + _args
, _kwargs
)
89 def SetRotateable(self
, *_args
, **_kwargs
):
90 val
= apply(oglshapesc
.wxPseudoMetaFile_SetRotateable
,(self
,) + _args
, _kwargs
)
92 def GetRotateable(self
, *_args
, **_kwargs
):
93 val
= apply(oglshapesc
.wxPseudoMetaFile_GetRotateable
,(self
,) + _args
, _kwargs
)
95 def SetSize(self
, *_args
, **_kwargs
):
96 val
= apply(oglshapesc
.wxPseudoMetaFile_SetSize
,(self
,) + _args
, _kwargs
)
98 def SetFillBrush(self
, *_args
, **_kwargs
):
99 val
= apply(oglshapesc
.wxPseudoMetaFile_SetFillBrush
,(self
,) + _args
, _kwargs
)
101 def GetFillBrush(self
, *_args
, **_kwargs
):
102 val
= apply(oglshapesc
.wxPseudoMetaFile_GetFillBrush
,(self
,) + _args
, _kwargs
)
103 if val
: val
= wxBrushPtr(val
)
105 def SetOutlinePen(self
, *_args
, **_kwargs
):
106 val
= apply(oglshapesc
.wxPseudoMetaFile_SetOutlinePen
,(self
,) + _args
, _kwargs
)
108 def GetOutlinePen(self
, *_args
, **_kwargs
):
109 val
= apply(oglshapesc
.wxPseudoMetaFile_GetOutlinePen
,(self
,) + _args
, _kwargs
)
110 if val
: val
= wxPenPtr(val
)
112 def SetOutlineOp(self
, *_args
, **_kwargs
):
113 val
= apply(oglshapesc
.wxPseudoMetaFile_SetOutlineOp
,(self
,) + _args
, _kwargs
)
115 def GetOutlineOp(self
, *_args
, **_kwargs
):
116 val
= apply(oglshapesc
.wxPseudoMetaFile_GetOutlineOp
,(self
,) + _args
, _kwargs
)
118 def IsValid(self
, *_args
, **_kwargs
):
119 val
= apply(oglshapesc
.wxPseudoMetaFile_IsValid
,(self
,) + _args
, _kwargs
)
121 def DrawLine(self
, *_args
, **_kwargs
):
122 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawLine
,(self
,) + _args
, _kwargs
)
124 def DrawRectangle(self
, *_args
, **_kwargs
):
125 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawRectangle
,(self
,) + _args
, _kwargs
)
127 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
128 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
130 def DrawArc(self
, *_args
, **_kwargs
):
131 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawArc
,(self
,) + _args
, _kwargs
)
133 def DrawEllipticArc(self
, *_args
, **_kwargs
):
134 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
136 def DrawEllipse(self
, *_args
, **_kwargs
):
137 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawEllipse
,(self
,) + _args
, _kwargs
)
139 def DrawPoint(self
, *_args
, **_kwargs
):
140 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawPoint
,(self
,) + _args
, _kwargs
)
142 def DrawText(self
, *_args
, **_kwargs
):
143 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawText
,(self
,) + _args
, _kwargs
)
145 def DrawLines(self
, *_args
, **_kwargs
):
146 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawLines
,(self
,) + _args
, _kwargs
)
148 def DrawPolygon(self
, *_args
, **_kwargs
):
149 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawPolygon
,(self
,) + _args
, _kwargs
)
151 def DrawSpline(self
, *_args
, **_kwargs
):
152 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawSpline
,(self
,) + _args
, _kwargs
)
154 def SetClippingRect(self
, *_args
, **_kwargs
):
155 val
= apply(oglshapesc
.wxPseudoMetaFile_SetClippingRect
,(self
,) + _args
, _kwargs
)
157 def DestroyClippingRect(self
, *_args
, **_kwargs
):
158 val
= apply(oglshapesc
.wxPseudoMetaFile_DestroyClippingRect
,(self
,) + _args
, _kwargs
)
160 def SetPen(self
, *_args
, **_kwargs
):
161 val
= apply(oglshapesc
.wxPseudoMetaFile_SetPen
,(self
,) + _args
, _kwargs
)
163 def SetBrush(self
, *_args
, **_kwargs
):
164 val
= apply(oglshapesc
.wxPseudoMetaFile_SetBrush
,(self
,) + _args
, _kwargs
)
166 def SetFont(self
, *_args
, **_kwargs
):
167 val
= apply(oglshapesc
.wxPseudoMetaFile_SetFont
,(self
,) + _args
, _kwargs
)
169 def SetTextColour(self
, *_args
, **_kwargs
):
170 val
= apply(oglshapesc
.wxPseudoMetaFile_SetTextColour
,(self
,) + _args
, _kwargs
)
172 def SetBackgroundColour(self
, *_args
, **_kwargs
):
173 val
= apply(oglshapesc
.wxPseudoMetaFile_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
175 def SetBackgroundMode(self
, *_args
, **_kwargs
):
176 val
= apply(oglshapesc
.wxPseudoMetaFile_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
179 return "<C wxPseudoMetaFile instance at %s>" % (self
.this
,)
180 class wxPseudoMetaFile(wxPseudoMetaFilePtr
):
181 def __init__(self
,*_args
,**_kwargs
):
182 self
.this
= apply(oglshapesc
.new_wxPseudoMetaFile
,_args
,_kwargs
)
188 class wxPyRectangleShapePtr(wxPyShapePtr
):
189 def __init__(self
,this
):
192 def _setSelf(self
, *_args
, **_kwargs
):
193 val
= apply(oglshapesc
.wxPyRectangleShape__setSelf
,(self
,) + _args
, _kwargs
)
195 def SetCornerRadius(self
, *_args
, **_kwargs
):
196 val
= apply(oglshapesc
.wxPyRectangleShape_SetCornerRadius
,(self
,) + _args
, _kwargs
)
198 def base_OnDelete(self
, *_args
, **_kwargs
):
199 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
201 def base_OnDraw(self
, *_args
, **_kwargs
):
202 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
204 def base_OnDrawContents(self
, *_args
, **_kwargs
):
205 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
207 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
208 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
210 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
211 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
213 def base_OnErase(self
, *_args
, **_kwargs
):
214 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnErase
,(self
,) + _args
, _kwargs
)
216 def base_OnEraseContents(self
, *_args
, **_kwargs
):
217 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
219 def base_OnHighlight(self
, *_args
, **_kwargs
):
220 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
222 def base_OnLeftClick(self
, *_args
, **_kwargs
):
223 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
225 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
226 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
228 def base_OnRightClick(self
, *_args
, **_kwargs
):
229 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
231 def base_OnSize(self
, *_args
, **_kwargs
):
232 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSize
,(self
,) + _args
, _kwargs
)
234 def base_OnMovePre(self
, *_args
, **_kwargs
):
235 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
237 def base_OnMovePost(self
, *_args
, **_kwargs
):
238 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
240 def base_OnDragLeft(self
, *_args
, **_kwargs
):
241 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
243 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
244 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
246 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
247 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
249 def base_OnDragRight(self
, *_args
, **_kwargs
):
250 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
252 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
253 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
255 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
256 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
258 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
259 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
261 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
262 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
264 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
265 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
267 def base_OnMoveLink(self
, *_args
, **_kwargs
):
268 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
270 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
271 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
273 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
274 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
276 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
277 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
279 def base_OnBeginSize(self
, *_args
, **_kwargs
):
280 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
282 def base_OnEndSize(self
, *_args
, **_kwargs
):
283 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
286 return "<C wxPyRectangleShape instance at %s>" % (self
.this
,)
287 class wxPyRectangleShape(wxPyRectangleShapePtr
):
288 def __init__(self
,*_args
,**_kwargs
):
289 self
.this
= apply(oglshapesc
.new_wxPyRectangleShape
,_args
,_kwargs
)
291 self
._setSelf
(self
, wxPyRectangleShape
)
296 class wxPyControlPointPtr(wxPyRectangleShapePtr
):
297 def __init__(self
,this
):
300 def _setSelf(self
, *_args
, **_kwargs
):
301 val
= apply(oglshapesc
.wxPyControlPoint__setSelf
,(self
,) + _args
, _kwargs
)
303 def SetCornerRadius(self
, *_args
, **_kwargs
):
304 val
= apply(oglshapesc
.wxPyControlPoint_SetCornerRadius
,(self
,) + _args
, _kwargs
)
306 def base_OnDelete(self
, *_args
, **_kwargs
):
307 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDelete
,(self
,) + _args
, _kwargs
)
309 def base_OnDraw(self
, *_args
, **_kwargs
):
310 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDraw
,(self
,) + _args
, _kwargs
)
312 def base_OnDrawContents(self
, *_args
, **_kwargs
):
313 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
315 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
316 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
318 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
319 val
= apply(oglshapesc
.wxPyControlPoint_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
321 def base_OnErase(self
, *_args
, **_kwargs
):
322 val
= apply(oglshapesc
.wxPyControlPoint_base_OnErase
,(self
,) + _args
, _kwargs
)
324 def base_OnEraseContents(self
, *_args
, **_kwargs
):
325 val
= apply(oglshapesc
.wxPyControlPoint_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
327 def base_OnHighlight(self
, *_args
, **_kwargs
):
328 val
= apply(oglshapesc
.wxPyControlPoint_base_OnHighlight
,(self
,) + _args
, _kwargs
)
330 def base_OnLeftClick(self
, *_args
, **_kwargs
):
331 val
= apply(oglshapesc
.wxPyControlPoint_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
333 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
334 val
= apply(oglshapesc
.wxPyControlPoint_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
336 def base_OnRightClick(self
, *_args
, **_kwargs
):
337 val
= apply(oglshapesc
.wxPyControlPoint_base_OnRightClick
,(self
,) + _args
, _kwargs
)
339 def base_OnSize(self
, *_args
, **_kwargs
):
340 val
= apply(oglshapesc
.wxPyControlPoint_base_OnSize
,(self
,) + _args
, _kwargs
)
342 def base_OnMovePre(self
, *_args
, **_kwargs
):
343 val
= apply(oglshapesc
.wxPyControlPoint_base_OnMovePre
,(self
,) + _args
, _kwargs
)
345 def base_OnMovePost(self
, *_args
, **_kwargs
):
346 val
= apply(oglshapesc
.wxPyControlPoint_base_OnMovePost
,(self
,) + _args
, _kwargs
)
348 def base_OnDragLeft(self
, *_args
, **_kwargs
):
349 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
351 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
352 val
= apply(oglshapesc
.wxPyControlPoint_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
354 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
355 val
= apply(oglshapesc
.wxPyControlPoint_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
357 def base_OnDragRight(self
, *_args
, **_kwargs
):
358 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDragRight
,(self
,) + _args
, _kwargs
)
360 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
361 val
= apply(oglshapesc
.wxPyControlPoint_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
363 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
364 val
= apply(oglshapesc
.wxPyControlPoint_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
366 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
367 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
369 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
370 val
= apply(oglshapesc
.wxPyControlPoint_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
372 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
373 val
= apply(oglshapesc
.wxPyControlPoint_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
375 def base_OnMoveLink(self
, *_args
, **_kwargs
):
376 val
= apply(oglshapesc
.wxPyControlPoint_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
378 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
379 val
= apply(oglshapesc
.wxPyControlPoint_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
381 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
382 val
= apply(oglshapesc
.wxPyControlPoint_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
384 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
385 val
= apply(oglshapesc
.wxPyControlPoint_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
387 def base_OnBeginSize(self
, *_args
, **_kwargs
):
388 val
= apply(oglshapesc
.wxPyControlPoint_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
390 def base_OnEndSize(self
, *_args
, **_kwargs
):
391 val
= apply(oglshapesc
.wxPyControlPoint_base_OnEndSize
,(self
,) + _args
, _kwargs
)
394 return "<C wxPyControlPoint instance at %s>" % (self
.this
,)
395 class wxPyControlPoint(wxPyControlPointPtr
):
396 def __init__(self
,*_args
,**_kwargs
):
397 self
.this
= apply(oglshapesc
.new_wxPyControlPoint
,_args
,_kwargs
)
399 self
._setSelf
(self
, wxPyControlPoint
)
404 class wxPyBitmapShapePtr(wxPyRectangleShapePtr
):
405 def __init__(self
,this
):
408 def _setSelf(self
, *_args
, **_kwargs
):
409 val
= apply(oglshapesc
.wxPyBitmapShape__setSelf
,(self
,) + _args
, _kwargs
)
411 def GetBitmap(self
, *_args
, **_kwargs
):
412 val
= apply(oglshapesc
.wxPyBitmapShape_GetBitmap
,(self
,) + _args
, _kwargs
)
413 if val
: val
= wxBitmapPtr(val
)
415 def GetFilename(self
, *_args
, **_kwargs
):
416 val
= apply(oglshapesc
.wxPyBitmapShape_GetFilename
,(self
,) + _args
, _kwargs
)
418 def SetBitmap(self
, *_args
, **_kwargs
):
419 val
= apply(oglshapesc
.wxPyBitmapShape_SetBitmap
,(self
,) + _args
, _kwargs
)
421 def SetFilename(self
, *_args
, **_kwargs
):
422 val
= apply(oglshapesc
.wxPyBitmapShape_SetFilename
,(self
,) + _args
, _kwargs
)
424 def base_OnDelete(self
, *_args
, **_kwargs
):
425 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
427 def base_OnDraw(self
, *_args
, **_kwargs
):
428 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
430 def base_OnDrawContents(self
, *_args
, **_kwargs
):
431 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
433 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
434 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
436 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
437 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
439 def base_OnErase(self
, *_args
, **_kwargs
):
440 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnErase
,(self
,) + _args
, _kwargs
)
442 def base_OnEraseContents(self
, *_args
, **_kwargs
):
443 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
445 def base_OnHighlight(self
, *_args
, **_kwargs
):
446 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
448 def base_OnLeftClick(self
, *_args
, **_kwargs
):
449 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
451 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
452 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
454 def base_OnRightClick(self
, *_args
, **_kwargs
):
455 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
457 def base_OnSize(self
, *_args
, **_kwargs
):
458 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSize
,(self
,) + _args
, _kwargs
)
460 def base_OnMovePre(self
, *_args
, **_kwargs
):
461 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
463 def base_OnMovePost(self
, *_args
, **_kwargs
):
464 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
466 def base_OnDragLeft(self
, *_args
, **_kwargs
):
467 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
469 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
470 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
472 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
473 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
475 def base_OnDragRight(self
, *_args
, **_kwargs
):
476 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
478 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
479 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
481 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
482 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
484 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
485 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
487 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
488 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
490 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
491 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
493 def base_OnMoveLink(self
, *_args
, **_kwargs
):
494 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
496 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
497 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
499 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
500 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
502 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
503 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
505 def base_OnBeginSize(self
, *_args
, **_kwargs
):
506 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
508 def base_OnEndSize(self
, *_args
, **_kwargs
):
509 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
512 return "<C wxPyBitmapShape instance at %s>" % (self
.this
,)
513 class wxPyBitmapShape(wxPyBitmapShapePtr
):
514 def __init__(self
,*_args
,**_kwargs
):
515 self
.this
= apply(oglshapesc
.new_wxPyBitmapShape
,_args
,_kwargs
)
517 self
._setSelf
(self
, wxPyBitmapShape
)
522 class wxPyDrawnShapePtr(wxPyRectangleShapePtr
):
523 def __init__(self
,this
):
526 def _setSelf(self
, *_args
, **_kwargs
):
527 val
= apply(oglshapesc
.wxPyDrawnShape__setSelf
,(self
,) + _args
, _kwargs
)
529 def CalculateSize(self
, *_args
, **_kwargs
):
530 val
= apply(oglshapesc
.wxPyDrawnShape_CalculateSize
,(self
,) + _args
, _kwargs
)
532 def DestroyClippingRect(self
, *_args
, **_kwargs
):
533 val
= apply(oglshapesc
.wxPyDrawnShape_DestroyClippingRect
,(self
,) + _args
, _kwargs
)
535 def DrawArc(self
, *_args
, **_kwargs
):
536 val
= apply(oglshapesc
.wxPyDrawnShape_DrawArc
,(self
,) + _args
, _kwargs
)
538 def DrawAtAngle(self
, *_args
, **_kwargs
):
539 val
= apply(oglshapesc
.wxPyDrawnShape_DrawAtAngle
,(self
,) + _args
, _kwargs
)
541 def DrawEllipticArc(self
, *_args
, **_kwargs
):
542 val
= apply(oglshapesc
.wxPyDrawnShape_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
544 def DrawLine(self
, *_args
, **_kwargs
):
545 val
= apply(oglshapesc
.wxPyDrawnShape_DrawLine
,(self
,) + _args
, _kwargs
)
547 def DrawLines(self
, *_args
, **_kwargs
):
548 val
= apply(oglshapesc
.wxPyDrawnShape_DrawLines
,(self
,) + _args
, _kwargs
)
550 def DrawPoint(self
, *_args
, **_kwargs
):
551 val
= apply(oglshapesc
.wxPyDrawnShape_DrawPoint
,(self
,) + _args
, _kwargs
)
553 def DrawPolygon(self
, *_args
, **_kwargs
):
554 val
= apply(oglshapesc
.wxPyDrawnShape_DrawPolygon
,(self
,) + _args
, _kwargs
)
556 def DrawRectangle(self
, *_args
, **_kwargs
):
557 val
= apply(oglshapesc
.wxPyDrawnShape_DrawRectangle
,(self
,) + _args
, _kwargs
)
559 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
560 val
= apply(oglshapesc
.wxPyDrawnShape_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
562 def DrawSpline(self
, *_args
, **_kwargs
):
563 val
= apply(oglshapesc
.wxPyDrawnShape_DrawSpline
,(self
,) + _args
, _kwargs
)
565 def DrawText(self
, *_args
, **_kwargs
):
566 val
= apply(oglshapesc
.wxPyDrawnShape_DrawText
,(self
,) + _args
, _kwargs
)
568 def GetAngle(self
, *_args
, **_kwargs
):
569 val
= apply(oglshapesc
.wxPyDrawnShape_GetAngle
,(self
,) + _args
, _kwargs
)
571 def GetMetaFile(self
, *_args
, **_kwargs
):
572 val
= apply(oglshapesc
.wxPyDrawnShape_GetMetaFile
,(self
,) + _args
, _kwargs
)
573 if val
: val
= wxPseudoMetaFilePtr(val
)
575 def GetRotation(self
, *_args
, **_kwargs
):
576 val
= apply(oglshapesc
.wxPyDrawnShape_GetRotation
,(self
,) + _args
, _kwargs
)
578 def LoadFromMetaFile(self
, *_args
, **_kwargs
):
579 val
= apply(oglshapesc
.wxPyDrawnShape_LoadFromMetaFile
,(self
,) + _args
, _kwargs
)
581 def Rotate(self
, *_args
, **_kwargs
):
582 val
= apply(oglshapesc
.wxPyDrawnShape_Rotate
,(self
,) + _args
, _kwargs
)
584 def SetClippingRect(self
, *_args
, **_kwargs
):
585 val
= apply(oglshapesc
.wxPyDrawnShape_SetClippingRect
,(self
,) + _args
, _kwargs
)
587 def SetDrawnBackgroundColour(self
, *_args
, **_kwargs
):
588 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnBackgroundColour
,(self
,) + _args
, _kwargs
)
590 def SetDrawnBackgroundMode(self
, *_args
, **_kwargs
):
591 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnBackgroundMode
,(self
,) + _args
, _kwargs
)
593 def SetDrawnBrush(self
, *_args
, **_kwargs
):
594 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnBrush
,(self
,) + _args
, _kwargs
)
596 def SetDrawnFont(self
, *_args
, **_kwargs
):
597 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnFont
,(self
,) + _args
, _kwargs
)
599 def SetDrawnPen(self
, *_args
, **_kwargs
):
600 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnPen
,(self
,) + _args
, _kwargs
)
602 def SetDrawnTextColour(self
, *_args
, **_kwargs
):
603 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnTextColour
,(self
,) + _args
, _kwargs
)
605 def Scale(self
, *_args
, **_kwargs
):
606 val
= apply(oglshapesc
.wxPyDrawnShape_Scale
,(self
,) + _args
, _kwargs
)
608 def SetSaveToFile(self
, *_args
, **_kwargs
):
609 val
= apply(oglshapesc
.wxPyDrawnShape_SetSaveToFile
,(self
,) + _args
, _kwargs
)
611 def Translate(self
, *_args
, **_kwargs
):
612 val
= apply(oglshapesc
.wxPyDrawnShape_Translate
,(self
,) + _args
, _kwargs
)
614 def base_OnDelete(self
, *_args
, **_kwargs
):
615 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
617 def base_OnDraw(self
, *_args
, **_kwargs
):
618 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
620 def base_OnDrawContents(self
, *_args
, **_kwargs
):
621 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
623 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
624 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
626 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
627 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
629 def base_OnErase(self
, *_args
, **_kwargs
):
630 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnErase
,(self
,) + _args
, _kwargs
)
632 def base_OnEraseContents(self
, *_args
, **_kwargs
):
633 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
635 def base_OnHighlight(self
, *_args
, **_kwargs
):
636 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
638 def base_OnLeftClick(self
, *_args
, **_kwargs
):
639 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
641 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
642 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
644 def base_OnRightClick(self
, *_args
, **_kwargs
):
645 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
647 def base_OnSize(self
, *_args
, **_kwargs
):
648 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSize
,(self
,) + _args
, _kwargs
)
650 def base_OnMovePre(self
, *_args
, **_kwargs
):
651 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
653 def base_OnMovePost(self
, *_args
, **_kwargs
):
654 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
656 def base_OnDragLeft(self
, *_args
, **_kwargs
):
657 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
659 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
660 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
662 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
663 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
665 def base_OnDragRight(self
, *_args
, **_kwargs
):
666 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
668 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
669 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
671 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
672 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
674 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
675 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
677 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
678 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
680 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
681 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
683 def base_OnMoveLink(self
, *_args
, **_kwargs
):
684 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
686 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
687 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
689 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
690 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
692 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
693 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
695 def base_OnBeginSize(self
, *_args
, **_kwargs
):
696 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
698 def base_OnEndSize(self
, *_args
, **_kwargs
):
699 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
702 return "<C wxPyDrawnShape instance at %s>" % (self
.this
,)
703 class wxPyDrawnShape(wxPyDrawnShapePtr
):
704 def __init__(self
,*_args
,**_kwargs
):
705 self
.this
= apply(oglshapesc
.new_wxPyDrawnShape
,_args
,_kwargs
)
707 self
._setSelf
(self
, wxPyDrawnShape
)
712 class wxOGLConstraintPtr
:
713 def __init__(self
,this
):
716 def Evaluate(self
, *_args
, **_kwargs
):
717 val
= apply(oglshapesc
.wxOGLConstraint_Evaluate
,(self
,) + _args
, _kwargs
)
719 def SetSpacing(self
, *_args
, **_kwargs
):
720 val
= apply(oglshapesc
.wxOGLConstraint_SetSpacing
,(self
,) + _args
, _kwargs
)
722 def Equals(self
, *_args
, **_kwargs
):
723 val
= apply(oglshapesc
.wxOGLConstraint_Equals
,(self
,) + _args
, _kwargs
)
726 return "<C wxOGLConstraint instance at %s>" % (self
.this
,)
727 class wxOGLConstraint(wxOGLConstraintPtr
):
728 def __init__(self
,*_args
,**_kwargs
):
729 self
.this
= apply(oglshapesc
.new_wxOGLConstraint
,_args
,_kwargs
)
735 class wxPyCompositeShapePtr(wxPyRectangleShapePtr
):
736 def __init__(self
,this
):
739 def _setSelf(self
, *_args
, **_kwargs
):
740 val
= apply(oglshapesc
.wxPyCompositeShape__setSelf
,(self
,) + _args
, _kwargs
)
742 def AddChild(self
, *_args
, **_kwargs
):
743 val
= apply(oglshapesc
.wxPyCompositeShape_AddChild
,(self
,) + _args
, _kwargs
)
745 def AddConstraint(self
, *_args
, **_kwargs
):
746 val
= apply(oglshapesc
.wxPyCompositeShape_AddConstraint
,(self
,) + _args
, _kwargs
)
747 if val
: val
= wxOGLConstraintPtr(val
)
749 def AddConstrainedShapes(self
, *_args
, **_kwargs
):
750 val
= apply(oglshapesc
.wxPyCompositeShape_AddConstrainedShapes
,(self
,) + _args
, _kwargs
)
751 if val
: val
= wxOGLConstraintPtr(val
)
753 def AddSimpleConstraint(self
, *_args
, **_kwargs
):
754 val
= apply(oglshapesc
.wxPyCompositeShape_AddSimpleConstraint
,(self
,) + _args
, _kwargs
)
755 if val
: val
= wxOGLConstraintPtr(val
)
757 def CalculateSize(self
, *_args
, **_kwargs
):
758 val
= apply(oglshapesc
.wxPyCompositeShape_CalculateSize
,(self
,) + _args
, _kwargs
)
760 def ContainsDivision(self
, *_args
, **_kwargs
):
761 val
= apply(oglshapesc
.wxPyCompositeShape_ContainsDivision
,(self
,) + _args
, _kwargs
)
763 def DeleteConstraint(self
, *_args
, **_kwargs
):
764 val
= apply(oglshapesc
.wxPyCompositeShape_DeleteConstraint
,(self
,) + _args
, _kwargs
)
766 def DeleteConstraintsInvolvingChild(self
, *_args
, **_kwargs
):
767 val
= apply(oglshapesc
.wxPyCompositeShape_DeleteConstraintsInvolvingChild
,(self
,) + _args
, _kwargs
)
769 def FindContainerImage(self
, *_args
, **_kwargs
):
770 val
= apply(oglshapesc
.wxPyCompositeShape_FindContainerImage
,(self
,) + _args
, _kwargs
)
771 if val
: val
= wxPyShapePtr(val
)
773 def GetConstraints(self
, *_args
, **_kwargs
):
774 val
= apply(oglshapesc
.wxPyCompositeShape_GetConstraints
,(self
,) + _args
, _kwargs
)
776 def GetDivisions(self
, *_args
, **_kwargs
):
777 val
= apply(oglshapesc
.wxPyCompositeShape_GetDivisions
,(self
,) + _args
, _kwargs
)
779 def MakeContainer(self
, *_args
, **_kwargs
):
780 val
= apply(oglshapesc
.wxPyCompositeShape_MakeContainer
,(self
,) + _args
, _kwargs
)
782 def Recompute(self
, *_args
, **_kwargs
):
783 val
= apply(oglshapesc
.wxPyCompositeShape_Recompute
,(self
,) + _args
, _kwargs
)
785 def RemoveChild(self
, *_args
, **_kwargs
):
786 val
= apply(oglshapesc
.wxPyCompositeShape_RemoveChild
,(self
,) + _args
, _kwargs
)
788 def base_OnDelete(self
, *_args
, **_kwargs
):
789 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
791 def base_OnDraw(self
, *_args
, **_kwargs
):
792 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
794 def base_OnDrawContents(self
, *_args
, **_kwargs
):
795 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
797 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
798 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
800 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
801 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
803 def base_OnErase(self
, *_args
, **_kwargs
):
804 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnErase
,(self
,) + _args
, _kwargs
)
806 def base_OnEraseContents(self
, *_args
, **_kwargs
):
807 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
809 def base_OnHighlight(self
, *_args
, **_kwargs
):
810 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
812 def base_OnLeftClick(self
, *_args
, **_kwargs
):
813 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
815 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
816 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
818 def base_OnRightClick(self
, *_args
, **_kwargs
):
819 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
821 def base_OnSize(self
, *_args
, **_kwargs
):
822 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSize
,(self
,) + _args
, _kwargs
)
824 def base_OnMovePre(self
, *_args
, **_kwargs
):
825 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
827 def base_OnMovePost(self
, *_args
, **_kwargs
):
828 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
830 def base_OnDragLeft(self
, *_args
, **_kwargs
):
831 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
833 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
834 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
836 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
837 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
839 def base_OnDragRight(self
, *_args
, **_kwargs
):
840 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
842 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
843 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
845 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
846 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
848 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
849 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
851 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
852 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
854 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
855 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
857 def base_OnMoveLink(self
, *_args
, **_kwargs
):
858 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
860 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
861 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
863 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
864 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
866 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
867 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
869 def base_OnBeginSize(self
, *_args
, **_kwargs
):
870 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
872 def base_OnEndSize(self
, *_args
, **_kwargs
):
873 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
876 return "<C wxPyCompositeShape instance at %s>" % (self
.this
,)
877 class wxPyCompositeShape(wxPyCompositeShapePtr
):
878 def __init__(self
,*_args
,**_kwargs
):
879 self
.this
= apply(oglshapesc
.new_wxPyCompositeShape
,_args
,_kwargs
)
881 self
._setSelf
(self
, wxPyCompositeShape
)
886 class wxPyDividedShapePtr(wxPyRectangleShapePtr
):
887 def __init__(self
,this
):
890 def _setSelf(self
, *_args
, **_kwargs
):
891 val
= apply(oglshapesc
.wxPyDividedShape__setSelf
,(self
,) + _args
, _kwargs
)
893 def EditRegions(self
, *_args
, **_kwargs
):
894 val
= apply(oglshapesc
.wxPyDividedShape_EditRegions
,(self
,) + _args
, _kwargs
)
896 def SetRegionSizes(self
, *_args
, **_kwargs
):
897 val
= apply(oglshapesc
.wxPyDividedShape_SetRegionSizes
,(self
,) + _args
, _kwargs
)
899 def base_OnDelete(self
, *_args
, **_kwargs
):
900 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
902 def base_OnDraw(self
, *_args
, **_kwargs
):
903 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
905 def base_OnDrawContents(self
, *_args
, **_kwargs
):
906 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
908 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
909 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
911 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
912 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
914 def base_OnErase(self
, *_args
, **_kwargs
):
915 val
= apply(oglshapesc
.wxPyDividedShape_base_OnErase
,(self
,) + _args
, _kwargs
)
917 def base_OnEraseContents(self
, *_args
, **_kwargs
):
918 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
920 def base_OnHighlight(self
, *_args
, **_kwargs
):
921 val
= apply(oglshapesc
.wxPyDividedShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
923 def base_OnLeftClick(self
, *_args
, **_kwargs
):
924 val
= apply(oglshapesc
.wxPyDividedShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
926 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
927 val
= apply(oglshapesc
.wxPyDividedShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
929 def base_OnRightClick(self
, *_args
, **_kwargs
):
930 val
= apply(oglshapesc
.wxPyDividedShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
932 def base_OnSize(self
, *_args
, **_kwargs
):
933 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSize
,(self
,) + _args
, _kwargs
)
935 def base_OnMovePre(self
, *_args
, **_kwargs
):
936 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
938 def base_OnMovePost(self
, *_args
, **_kwargs
):
939 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
941 def base_OnDragLeft(self
, *_args
, **_kwargs
):
942 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
944 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
945 val
= apply(oglshapesc
.wxPyDividedShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
947 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
948 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
950 def base_OnDragRight(self
, *_args
, **_kwargs
):
951 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
953 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
954 val
= apply(oglshapesc
.wxPyDividedShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
956 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
957 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
959 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
960 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
962 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
963 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
965 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
966 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
968 def base_OnMoveLink(self
, *_args
, **_kwargs
):
969 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
971 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
972 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
974 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
975 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
977 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
978 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
980 def base_OnBeginSize(self
, *_args
, **_kwargs
):
981 val
= apply(oglshapesc
.wxPyDividedShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
983 def base_OnEndSize(self
, *_args
, **_kwargs
):
984 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
987 return "<C wxPyDividedShape instance at %s>" % (self
.this
,)
988 class wxPyDividedShape(wxPyDividedShapePtr
):
989 def __init__(self
,*_args
,**_kwargs
):
990 self
.this
= apply(oglshapesc
.new_wxPyDividedShape
,_args
,_kwargs
)
992 self
._setSelf
(self
, wxPyDividedShape
)
997 class wxPyDivisionShapePtr(wxPyCompositeShapePtr
):
998 def __init__(self
,this
):
1001 def _setSelf(self
, *_args
, **_kwargs
):
1002 val
= apply(oglshapesc
.wxPyDivisionShape__setSelf
,(self
,) + _args
, _kwargs
)
1004 def AdjustBottom(self
, *_args
, **_kwargs
):
1005 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustBottom
,(self
,) + _args
, _kwargs
)
1007 def AdjustLeft(self
, *_args
, **_kwargs
):
1008 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustLeft
,(self
,) + _args
, _kwargs
)
1010 def AdjustRight(self
, *_args
, **_kwargs
):
1011 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustRight
,(self
,) + _args
, _kwargs
)
1013 def AdjustTop(self
, *_args
, **_kwargs
):
1014 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustTop
,(self
,) + _args
, _kwargs
)
1016 def Divide(self
, *_args
, **_kwargs
):
1017 val
= apply(oglshapesc
.wxPyDivisionShape_Divide
,(self
,) + _args
, _kwargs
)
1019 def EditEdge(self
, *_args
, **_kwargs
):
1020 val
= apply(oglshapesc
.wxPyDivisionShape_EditEdge
,(self
,) + _args
, _kwargs
)
1022 def GetBottomSide(self
, *_args
, **_kwargs
):
1023 val
= apply(oglshapesc
.wxPyDivisionShape_GetBottomSide
,(self
,) + _args
, _kwargs
)
1024 if val
: val
= wxPyDivisionShapePtr(val
)
1026 def GetHandleSide(self
, *_args
, **_kwargs
):
1027 val
= apply(oglshapesc
.wxPyDivisionShape_GetHandleSide
,(self
,) + _args
, _kwargs
)
1029 def GetLeftSide(self
, *_args
, **_kwargs
):
1030 val
= apply(oglshapesc
.wxPyDivisionShape_GetLeftSide
,(self
,) + _args
, _kwargs
)
1031 if val
: val
= wxPyDivisionShapePtr(val
)
1033 def GetLeftSideColour(self
, *_args
, **_kwargs
):
1034 val
= apply(oglshapesc
.wxPyDivisionShape_GetLeftSideColour
,(self
,) + _args
, _kwargs
)
1036 def GetLeftSidePen(self
, *_args
, **_kwargs
):
1037 val
= apply(oglshapesc
.wxPyDivisionShape_GetLeftSidePen
,(self
,) + _args
, _kwargs
)
1038 if val
: val
= wxPenPtr(val
)
1040 def GetRightSide(self
, *_args
, **_kwargs
):
1041 val
= apply(oglshapesc
.wxPyDivisionShape_GetRightSide
,(self
,) + _args
, _kwargs
)
1042 if val
: val
= wxPyDivisionShapePtr(val
)
1044 def GetTopSide(self
, *_args
, **_kwargs
):
1045 val
= apply(oglshapesc
.wxPyDivisionShape_GetTopSide
,(self
,) + _args
, _kwargs
)
1046 if val
: val
= wxPyDivisionShapePtr(val
)
1048 def GetTopSidePen(self
, *_args
, **_kwargs
):
1049 val
= apply(oglshapesc
.wxPyDivisionShape_GetTopSidePen
,(self
,) + _args
, _kwargs
)
1050 if val
: val
= wxPenPtr(val
)
1052 def ResizeAdjoining(self
, *_args
, **_kwargs
):
1053 val
= apply(oglshapesc
.wxPyDivisionShape_ResizeAdjoining
,(self
,) + _args
, _kwargs
)
1055 def PopupMenu(self
, *_args
, **_kwargs
):
1056 val
= apply(oglshapesc
.wxPyDivisionShape_PopupMenu
,(self
,) + _args
, _kwargs
)
1058 def SetBottomSide(self
, *_args
, **_kwargs
):
1059 val
= apply(oglshapesc
.wxPyDivisionShape_SetBottomSide
,(self
,) + _args
, _kwargs
)
1061 def SetHandleSide(self
, *_args
, **_kwargs
):
1062 val
= apply(oglshapesc
.wxPyDivisionShape_SetHandleSide
,(self
,) + _args
, _kwargs
)
1064 def SetLeftSide(self
, *_args
, **_kwargs
):
1065 val
= apply(oglshapesc
.wxPyDivisionShape_SetLeftSide
,(self
,) + _args
, _kwargs
)
1067 def SetLeftSideColour(self
, *_args
, **_kwargs
):
1068 val
= apply(oglshapesc
.wxPyDivisionShape_SetLeftSideColour
,(self
,) + _args
, _kwargs
)
1070 def SetLeftSidePen(self
, *_args
, **_kwargs
):
1071 val
= apply(oglshapesc
.wxPyDivisionShape_SetLeftSidePen
,(self
,) + _args
, _kwargs
)
1073 def SetRightSide(self
, *_args
, **_kwargs
):
1074 val
= apply(oglshapesc
.wxPyDivisionShape_SetRightSide
,(self
,) + _args
, _kwargs
)
1076 def SetTopSide(self
, *_args
, **_kwargs
):
1077 val
= apply(oglshapesc
.wxPyDivisionShape_SetTopSide
,(self
,) + _args
, _kwargs
)
1079 def SetTopSideColour(self
, *_args
, **_kwargs
):
1080 val
= apply(oglshapesc
.wxPyDivisionShape_SetTopSideColour
,(self
,) + _args
, _kwargs
)
1082 def SetTopSidePen(self
, *_args
, **_kwargs
):
1083 val
= apply(oglshapesc
.wxPyDivisionShape_SetTopSidePen
,(self
,) + _args
, _kwargs
)
1085 def base_OnDelete(self
, *_args
, **_kwargs
):
1086 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
1088 def base_OnDraw(self
, *_args
, **_kwargs
):
1089 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
1091 def base_OnDrawContents(self
, *_args
, **_kwargs
):
1092 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
1094 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
1095 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
1097 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
1098 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
1100 def base_OnErase(self
, *_args
, **_kwargs
):
1101 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnErase
,(self
,) + _args
, _kwargs
)
1103 def base_OnEraseContents(self
, *_args
, **_kwargs
):
1104 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
1106 def base_OnHighlight(self
, *_args
, **_kwargs
):
1107 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
1109 def base_OnLeftClick(self
, *_args
, **_kwargs
):
1110 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
1112 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
1113 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
1115 def base_OnRightClick(self
, *_args
, **_kwargs
):
1116 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
1118 def base_OnSize(self
, *_args
, **_kwargs
):
1119 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSize
,(self
,) + _args
, _kwargs
)
1121 def base_OnMovePre(self
, *_args
, **_kwargs
):
1122 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
1124 def base_OnMovePost(self
, *_args
, **_kwargs
):
1125 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
1127 def base_OnDragLeft(self
, *_args
, **_kwargs
):
1128 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
1130 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
1131 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
1133 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
1134 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
1136 def base_OnDragRight(self
, *_args
, **_kwargs
):
1137 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
1139 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
1140 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
1142 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
1143 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
1145 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
1146 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
1148 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
1149 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
1151 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
1152 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
1154 def base_OnMoveLink(self
, *_args
, **_kwargs
):
1155 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
1157 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
1158 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
1160 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
1161 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
1163 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
1164 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
1166 def base_OnBeginSize(self
, *_args
, **_kwargs
):
1167 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
1169 def base_OnEndSize(self
, *_args
, **_kwargs
):
1170 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
1173 return "<C wxPyDivisionShape instance at %s>" % (self
.this
,)
1174 class wxPyDivisionShape(wxPyDivisionShapePtr
):
1175 def __init__(self
,*_args
,**_kwargs
):
1176 self
.this
= apply(oglshapesc
.new_wxPyDivisionShape
,_args
,_kwargs
)
1178 self
._setSelf
(self
, wxPyDivisionShape
)
1185 #-------------- FUNCTION WRAPPERS ------------------
1189 #-------------- VARIABLE WRAPPERS ------------------