1 # This file was created automatically by SWIG.
18 from stattool
import *
20 from controls
import *
22 from controls2
import *
24 from windows2
import *
28 from windows3
import *
34 from oglbasic
import *
36 class wxPseudoMetaFilePtr
:
37 def __init__(self
,this
):
40 def __del__(self
,oglshapesc
=oglshapesc
):
41 if self
.thisown
== 1 :
42 oglshapesc
.delete_wxPseudoMetaFile(self
)
43 def Draw(self
, *_args
, **_kwargs
):
44 val
= apply(oglshapesc
.wxPseudoMetaFile_Draw
,(self
,) + _args
, _kwargs
)
46 def WriteAttributes(self
, *_args
, **_kwargs
):
47 val
= apply(oglshapesc
.wxPseudoMetaFile_WriteAttributes
,(self
,) + _args
, _kwargs
)
49 def ReadAttributes(self
, *_args
, **_kwargs
):
50 val
= apply(oglshapesc
.wxPseudoMetaFile_ReadAttributes
,(self
,) + _args
, _kwargs
)
52 def Clear(self
, *_args
, **_kwargs
):
53 val
= apply(oglshapesc
.wxPseudoMetaFile_Clear
,(self
,) + _args
, _kwargs
)
55 def Copy(self
, *_args
, **_kwargs
):
56 val
= apply(oglshapesc
.wxPseudoMetaFile_Copy
,(self
,) + _args
, _kwargs
)
58 def Scale(self
, *_args
, **_kwargs
):
59 val
= apply(oglshapesc
.wxPseudoMetaFile_Scale
,(self
,) + _args
, _kwargs
)
61 def ScaleTo(self
, *_args
, **_kwargs
):
62 val
= apply(oglshapesc
.wxPseudoMetaFile_ScaleTo
,(self
,) + _args
, _kwargs
)
64 def Translate(self
, *_args
, **_kwargs
):
65 val
= apply(oglshapesc
.wxPseudoMetaFile_Translate
,(self
,) + _args
, _kwargs
)
67 def Rotate(self
, *_args
, **_kwargs
):
68 val
= apply(oglshapesc
.wxPseudoMetaFile_Rotate
,(self
,) + _args
, _kwargs
)
70 def LoadFromMetaFile(self
, *_args
, **_kwargs
):
71 val
= apply(oglshapesc
.wxPseudoMetaFile_LoadFromMetaFile
,(self
,) + _args
, _kwargs
)
73 def GetBounds(self
, *_args
, **_kwargs
):
74 val
= apply(oglshapesc
.wxPseudoMetaFile_GetBounds
,(self
,) + _args
, _kwargs
)
76 def CalculateSize(self
, *_args
, **_kwargs
):
77 val
= apply(oglshapesc
.wxPseudoMetaFile_CalculateSize
,(self
,) + _args
, _kwargs
)
79 def SetRotateable(self
, *_args
, **_kwargs
):
80 val
= apply(oglshapesc
.wxPseudoMetaFile_SetRotateable
,(self
,) + _args
, _kwargs
)
82 def GetRotateable(self
, *_args
, **_kwargs
):
83 val
= apply(oglshapesc
.wxPseudoMetaFile_GetRotateable
,(self
,) + _args
, _kwargs
)
85 def SetSize(self
, *_args
, **_kwargs
):
86 val
= apply(oglshapesc
.wxPseudoMetaFile_SetSize
,(self
,) + _args
, _kwargs
)
88 def SetFillBrush(self
, *_args
, **_kwargs
):
89 val
= apply(oglshapesc
.wxPseudoMetaFile_SetFillBrush
,(self
,) + _args
, _kwargs
)
91 def GetFillBrush(self
, *_args
, **_kwargs
):
92 val
= apply(oglshapesc
.wxPseudoMetaFile_GetFillBrush
,(self
,) + _args
, _kwargs
)
93 if val
: val
= wxBrushPtr(val
)
95 def SetOutlinePen(self
, *_args
, **_kwargs
):
96 val
= apply(oglshapesc
.wxPseudoMetaFile_SetOutlinePen
,(self
,) + _args
, _kwargs
)
98 def GetOutlinePen(self
, *_args
, **_kwargs
):
99 val
= apply(oglshapesc
.wxPseudoMetaFile_GetOutlinePen
,(self
,) + _args
, _kwargs
)
100 if val
: val
= wxPenPtr(val
)
102 def SetOutlineOp(self
, *_args
, **_kwargs
):
103 val
= apply(oglshapesc
.wxPseudoMetaFile_SetOutlineOp
,(self
,) + _args
, _kwargs
)
105 def GetOutlineOp(self
, *_args
, **_kwargs
):
106 val
= apply(oglshapesc
.wxPseudoMetaFile_GetOutlineOp
,(self
,) + _args
, _kwargs
)
108 def IsValid(self
, *_args
, **_kwargs
):
109 val
= apply(oglshapesc
.wxPseudoMetaFile_IsValid
,(self
,) + _args
, _kwargs
)
111 def DrawLine(self
, *_args
, **_kwargs
):
112 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawLine
,(self
,) + _args
, _kwargs
)
114 def DrawRectangle(self
, *_args
, **_kwargs
):
115 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawRectangle
,(self
,) + _args
, _kwargs
)
117 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
118 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
120 def DrawArc(self
, *_args
, **_kwargs
):
121 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawArc
,(self
,) + _args
, _kwargs
)
123 def DrawEllipticArc(self
, *_args
, **_kwargs
):
124 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
126 def DrawEllipse(self
, *_args
, **_kwargs
):
127 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawEllipse
,(self
,) + _args
, _kwargs
)
129 def DrawPoint(self
, *_args
, **_kwargs
):
130 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawPoint
,(self
,) + _args
, _kwargs
)
132 def DrawText(self
, *_args
, **_kwargs
):
133 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawText
,(self
,) + _args
, _kwargs
)
135 def DrawLines(self
, *_args
, **_kwargs
):
136 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawLines
,(self
,) + _args
, _kwargs
)
138 def DrawPolygon(self
, *_args
, **_kwargs
):
139 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawPolygon
,(self
,) + _args
, _kwargs
)
141 def DrawSpline(self
, *_args
, **_kwargs
):
142 val
= apply(oglshapesc
.wxPseudoMetaFile_DrawSpline
,(self
,) + _args
, _kwargs
)
144 def SetClippingRect(self
, *_args
, **_kwargs
):
145 val
= apply(oglshapesc
.wxPseudoMetaFile_SetClippingRect
,(self
,) + _args
, _kwargs
)
147 def DestroyClippingRect(self
, *_args
, **_kwargs
):
148 val
= apply(oglshapesc
.wxPseudoMetaFile_DestroyClippingRect
,(self
,) + _args
, _kwargs
)
150 def SetPen(self
, *_args
, **_kwargs
):
151 val
= apply(oglshapesc
.wxPseudoMetaFile_SetPen
,(self
,) + _args
, _kwargs
)
153 def SetBrush(self
, *_args
, **_kwargs
):
154 val
= apply(oglshapesc
.wxPseudoMetaFile_SetBrush
,(self
,) + _args
, _kwargs
)
156 def SetFont(self
, *_args
, **_kwargs
):
157 val
= apply(oglshapesc
.wxPseudoMetaFile_SetFont
,(self
,) + _args
, _kwargs
)
159 def SetTextColour(self
, *_args
, **_kwargs
):
160 val
= apply(oglshapesc
.wxPseudoMetaFile_SetTextColour
,(self
,) + _args
, _kwargs
)
162 def SetBackgroundColour(self
, *_args
, **_kwargs
):
163 val
= apply(oglshapesc
.wxPseudoMetaFile_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
165 def SetBackgroundMode(self
, *_args
, **_kwargs
):
166 val
= apply(oglshapesc
.wxPseudoMetaFile_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
169 return "<C wxPseudoMetaFile instance at %s>" % (self
.this
,)
170 class wxPseudoMetaFile(wxPseudoMetaFilePtr
):
171 def __init__(self
,*_args
,**_kwargs
):
172 self
.this
= apply(oglshapesc
.new_wxPseudoMetaFile
,_args
,_kwargs
)
178 class wxPyRectangleShapePtr(wxPyShapePtr
):
179 def __init__(self
,this
):
182 def _setSelf(self
, *_args
, **_kwargs
):
183 val
= apply(oglshapesc
.wxPyRectangleShape__setSelf
,(self
,) + _args
, _kwargs
)
185 def SetCornerRadius(self
, *_args
, **_kwargs
):
186 val
= apply(oglshapesc
.wxPyRectangleShape_SetCornerRadius
,(self
,) + _args
, _kwargs
)
188 def base_OnDelete(self
, *_args
, **_kwargs
):
189 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
191 def base_OnDraw(self
, *_args
, **_kwargs
):
192 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
194 def base_OnDrawContents(self
, *_args
, **_kwargs
):
195 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
197 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
198 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
200 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
201 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
203 def base_OnErase(self
, *_args
, **_kwargs
):
204 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnErase
,(self
,) + _args
, _kwargs
)
206 def base_OnEraseContents(self
, *_args
, **_kwargs
):
207 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
209 def base_OnHighlight(self
, *_args
, **_kwargs
):
210 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
212 def base_OnLeftClick(self
, *_args
, **_kwargs
):
213 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
215 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
216 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
218 def base_OnRightClick(self
, *_args
, **_kwargs
):
219 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
221 def base_OnSize(self
, *_args
, **_kwargs
):
222 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSize
,(self
,) + _args
, _kwargs
)
224 def base_OnMovePre(self
, *_args
, **_kwargs
):
225 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
227 def base_OnMovePost(self
, *_args
, **_kwargs
):
228 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
230 def base_OnDragLeft(self
, *_args
, **_kwargs
):
231 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
233 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
234 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
236 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
237 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
239 def base_OnDragRight(self
, *_args
, **_kwargs
):
240 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
242 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
243 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
245 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
246 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
248 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
249 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
251 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
252 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
254 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
255 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
257 def base_OnMoveLink(self
, *_args
, **_kwargs
):
258 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
260 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
261 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
263 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
264 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
266 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
267 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
269 def base_OnBeginSize(self
, *_args
, **_kwargs
):
270 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
272 def base_OnEndSize(self
, *_args
, **_kwargs
):
273 val
= apply(oglshapesc
.wxPyRectangleShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
276 return "<C wxPyRectangleShape instance at %s>" % (self
.this
,)
277 class wxPyRectangleShape(wxPyRectangleShapePtr
):
278 def __init__(self
,*_args
,**_kwargs
):
279 self
.this
= apply(oglshapesc
.new_wxPyRectangleShape
,_args
,_kwargs
)
286 class wxPyBitmapShapePtr(wxPyRectangleShapePtr
):
287 def __init__(self
,this
):
290 def _setSelf(self
, *_args
, **_kwargs
):
291 val
= apply(oglshapesc
.wxPyBitmapShape__setSelf
,(self
,) + _args
, _kwargs
)
293 def GetBitmap(self
, *_args
, **_kwargs
):
294 val
= apply(oglshapesc
.wxPyBitmapShape_GetBitmap
,(self
,) + _args
, _kwargs
)
295 if val
: val
= wxBitmapPtr(val
)
297 def GetFilename(self
, *_args
, **_kwargs
):
298 val
= apply(oglshapesc
.wxPyBitmapShape_GetFilename
,(self
,) + _args
, _kwargs
)
300 def SetBitmap(self
, *_args
, **_kwargs
):
301 val
= apply(oglshapesc
.wxPyBitmapShape_SetBitmap
,(self
,) + _args
, _kwargs
)
303 def SetFilename(self
, *_args
, **_kwargs
):
304 val
= apply(oglshapesc
.wxPyBitmapShape_SetFilename
,(self
,) + _args
, _kwargs
)
306 def base_OnDelete(self
, *_args
, **_kwargs
):
307 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
309 def base_OnDraw(self
, *_args
, **_kwargs
):
310 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
312 def base_OnDrawContents(self
, *_args
, **_kwargs
):
313 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
315 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
316 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
318 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
319 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
321 def base_OnErase(self
, *_args
, **_kwargs
):
322 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnErase
,(self
,) + _args
, _kwargs
)
324 def base_OnEraseContents(self
, *_args
, **_kwargs
):
325 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
327 def base_OnHighlight(self
, *_args
, **_kwargs
):
328 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
330 def base_OnLeftClick(self
, *_args
, **_kwargs
):
331 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
333 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
334 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
336 def base_OnRightClick(self
, *_args
, **_kwargs
):
337 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
339 def base_OnSize(self
, *_args
, **_kwargs
):
340 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSize
,(self
,) + _args
, _kwargs
)
342 def base_OnMovePre(self
, *_args
, **_kwargs
):
343 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
345 def base_OnMovePost(self
, *_args
, **_kwargs
):
346 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
348 def base_OnDragLeft(self
, *_args
, **_kwargs
):
349 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
351 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
352 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
354 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
355 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
357 def base_OnDragRight(self
, *_args
, **_kwargs
):
358 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
360 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
361 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
363 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
364 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
366 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
367 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
369 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
370 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
372 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
373 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
375 def base_OnMoveLink(self
, *_args
, **_kwargs
):
376 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
378 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
379 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
381 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
382 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
384 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
385 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
387 def base_OnBeginSize(self
, *_args
, **_kwargs
):
388 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
390 def base_OnEndSize(self
, *_args
, **_kwargs
):
391 val
= apply(oglshapesc
.wxPyBitmapShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
394 return "<C wxPyBitmapShape instance at %s>" % (self
.this
,)
395 class wxPyBitmapShape(wxPyBitmapShapePtr
):
396 def __init__(self
,*_args
,**_kwargs
):
397 self
.this
= apply(oglshapesc
.new_wxPyBitmapShape
,_args
,_kwargs
)
404 class wxPyDrawnShapePtr(wxPyRectangleShapePtr
):
405 def __init__(self
,this
):
408 def _setSelf(self
, *_args
, **_kwargs
):
409 val
= apply(oglshapesc
.wxPyDrawnShape__setSelf
,(self
,) + _args
, _kwargs
)
411 def CalculateSize(self
, *_args
, **_kwargs
):
412 val
= apply(oglshapesc
.wxPyDrawnShape_CalculateSize
,(self
,) + _args
, _kwargs
)
414 def DestroyClippingRect(self
, *_args
, **_kwargs
):
415 val
= apply(oglshapesc
.wxPyDrawnShape_DestroyClippingRect
,(self
,) + _args
, _kwargs
)
417 def DrawArc(self
, *_args
, **_kwargs
):
418 val
= apply(oglshapesc
.wxPyDrawnShape_DrawArc
,(self
,) + _args
, _kwargs
)
420 def DrawAtAngle(self
, *_args
, **_kwargs
):
421 val
= apply(oglshapesc
.wxPyDrawnShape_DrawAtAngle
,(self
,) + _args
, _kwargs
)
423 def DrawEllipticArc(self
, *_args
, **_kwargs
):
424 val
= apply(oglshapesc
.wxPyDrawnShape_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
426 def DrawLine(self
, *_args
, **_kwargs
):
427 val
= apply(oglshapesc
.wxPyDrawnShape_DrawLine
,(self
,) + _args
, _kwargs
)
429 def DrawLines(self
, *_args
, **_kwargs
):
430 val
= apply(oglshapesc
.wxPyDrawnShape_DrawLines
,(self
,) + _args
, _kwargs
)
432 def DrawPoint(self
, *_args
, **_kwargs
):
433 val
= apply(oglshapesc
.wxPyDrawnShape_DrawPoint
,(self
,) + _args
, _kwargs
)
435 def DrawPolygon(self
, *_args
, **_kwargs
):
436 val
= apply(oglshapesc
.wxPyDrawnShape_DrawPolygon
,(self
,) + _args
, _kwargs
)
438 def DrawRectangle(self
, *_args
, **_kwargs
):
439 val
= apply(oglshapesc
.wxPyDrawnShape_DrawRectangle
,(self
,) + _args
, _kwargs
)
441 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
442 val
= apply(oglshapesc
.wxPyDrawnShape_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
444 def DrawSpline(self
, *_args
, **_kwargs
):
445 val
= apply(oglshapesc
.wxPyDrawnShape_DrawSpline
,(self
,) + _args
, _kwargs
)
447 def DrawText(self
, *_args
, **_kwargs
):
448 val
= apply(oglshapesc
.wxPyDrawnShape_DrawText
,(self
,) + _args
, _kwargs
)
450 def GetAngle(self
, *_args
, **_kwargs
):
451 val
= apply(oglshapesc
.wxPyDrawnShape_GetAngle
,(self
,) + _args
, _kwargs
)
453 def GetMetaFile(self
, *_args
, **_kwargs
):
454 val
= apply(oglshapesc
.wxPyDrawnShape_GetMetaFile
,(self
,) + _args
, _kwargs
)
455 if val
: val
= wxPseudoMetaFilePtr(val
)
457 def GetRotation(self
, *_args
, **_kwargs
):
458 val
= apply(oglshapesc
.wxPyDrawnShape_GetRotation
,(self
,) + _args
, _kwargs
)
460 def LoadFromMetaFile(self
, *_args
, **_kwargs
):
461 val
= apply(oglshapesc
.wxPyDrawnShape_LoadFromMetaFile
,(self
,) + _args
, _kwargs
)
463 def Rotate(self
, *_args
, **_kwargs
):
464 val
= apply(oglshapesc
.wxPyDrawnShape_Rotate
,(self
,) + _args
, _kwargs
)
466 def SetClippingRect(self
, *_args
, **_kwargs
):
467 val
= apply(oglshapesc
.wxPyDrawnShape_SetClippingRect
,(self
,) + _args
, _kwargs
)
469 def SetDrawnBackgroundColour(self
, *_args
, **_kwargs
):
470 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnBackgroundColour
,(self
,) + _args
, _kwargs
)
472 def SetDrawnBackgroundMode(self
, *_args
, **_kwargs
):
473 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnBackgroundMode
,(self
,) + _args
, _kwargs
)
475 def SetDrawnBrush(self
, *_args
, **_kwargs
):
476 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnBrush
,(self
,) + _args
, _kwargs
)
478 def SetDrawnFont(self
, *_args
, **_kwargs
):
479 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnFont
,(self
,) + _args
, _kwargs
)
481 def SetDrawnPen(self
, *_args
, **_kwargs
):
482 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnPen
,(self
,) + _args
, _kwargs
)
484 def SetDrawnTextColour(self
, *_args
, **_kwargs
):
485 val
= apply(oglshapesc
.wxPyDrawnShape_SetDrawnTextColour
,(self
,) + _args
, _kwargs
)
487 def Scale(self
, *_args
, **_kwargs
):
488 val
= apply(oglshapesc
.wxPyDrawnShape_Scale
,(self
,) + _args
, _kwargs
)
490 def SetSaveToFile(self
, *_args
, **_kwargs
):
491 val
= apply(oglshapesc
.wxPyDrawnShape_SetSaveToFile
,(self
,) + _args
, _kwargs
)
493 def Translate(self
, *_args
, **_kwargs
):
494 val
= apply(oglshapesc
.wxPyDrawnShape_Translate
,(self
,) + _args
, _kwargs
)
496 def base_OnDelete(self
, *_args
, **_kwargs
):
497 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
499 def base_OnDraw(self
, *_args
, **_kwargs
):
500 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
502 def base_OnDrawContents(self
, *_args
, **_kwargs
):
503 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
505 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
506 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
508 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
509 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
511 def base_OnErase(self
, *_args
, **_kwargs
):
512 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnErase
,(self
,) + _args
, _kwargs
)
514 def base_OnEraseContents(self
, *_args
, **_kwargs
):
515 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
517 def base_OnHighlight(self
, *_args
, **_kwargs
):
518 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
520 def base_OnLeftClick(self
, *_args
, **_kwargs
):
521 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
523 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
524 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
526 def base_OnRightClick(self
, *_args
, **_kwargs
):
527 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
529 def base_OnSize(self
, *_args
, **_kwargs
):
530 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSize
,(self
,) + _args
, _kwargs
)
532 def base_OnMovePre(self
, *_args
, **_kwargs
):
533 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
535 def base_OnMovePost(self
, *_args
, **_kwargs
):
536 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
538 def base_OnDragLeft(self
, *_args
, **_kwargs
):
539 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
541 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
542 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
544 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
545 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
547 def base_OnDragRight(self
, *_args
, **_kwargs
):
548 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
550 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
551 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
553 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
554 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
556 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
557 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
559 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
560 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
562 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
563 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
565 def base_OnMoveLink(self
, *_args
, **_kwargs
):
566 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
568 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
569 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
571 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
572 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
574 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
575 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
577 def base_OnBeginSize(self
, *_args
, **_kwargs
):
578 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
580 def base_OnEndSize(self
, *_args
, **_kwargs
):
581 val
= apply(oglshapesc
.wxPyDrawnShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
584 return "<C wxPyDrawnShape instance at %s>" % (self
.this
,)
585 class wxPyDrawnShape(wxPyDrawnShapePtr
):
586 def __init__(self
,*_args
,**_kwargs
):
587 self
.this
= apply(oglshapesc
.new_wxPyDrawnShape
,_args
,_kwargs
)
594 class wxOGLConstraintPtr
:
595 def __init__(self
,this
):
598 def __del__(self
,oglshapesc
=oglshapesc
):
599 if self
.thisown
== 1 :
600 oglshapesc
.delete_wxOGLConstraint(self
)
601 def Evaluate(self
, *_args
, **_kwargs
):
602 val
= apply(oglshapesc
.wxOGLConstraint_Evaluate
,(self
,) + _args
, _kwargs
)
604 def SetSpacing(self
, *_args
, **_kwargs
):
605 val
= apply(oglshapesc
.wxOGLConstraint_SetSpacing
,(self
,) + _args
, _kwargs
)
607 def Equals(self
, *_args
, **_kwargs
):
608 val
= apply(oglshapesc
.wxOGLConstraint_Equals
,(self
,) + _args
, _kwargs
)
611 return "<C wxOGLConstraint instance at %s>" % (self
.this
,)
612 class wxOGLConstraint(wxOGLConstraintPtr
):
613 def __init__(self
,*_args
,**_kwargs
):
614 self
.this
= apply(oglshapesc
.new_wxOGLConstraint
,_args
,_kwargs
)
620 class wxPyCompositeShapePtr(wxPyRectangleShapePtr
):
621 def __init__(self
,this
):
624 def _setSelf(self
, *_args
, **_kwargs
):
625 val
= apply(oglshapesc
.wxPyCompositeShape__setSelf
,(self
,) + _args
, _kwargs
)
627 def AddChild(self
, *_args
, **_kwargs
):
628 val
= apply(oglshapesc
.wxPyCompositeShape_AddChild
,(self
,) + _args
, _kwargs
)
630 def AddConstraint(self
, *_args
, **_kwargs
):
631 val
= apply(oglshapesc
.wxPyCompositeShape_AddConstraint
,(self
,) + _args
, _kwargs
)
632 if val
: val
= wxOGLConstraintPtr(val
)
634 def AddSimpleConstraint(self
, *_args
, **_kwargs
):
635 val
= apply(oglshapesc
.wxPyCompositeShape_AddSimpleConstraint
,(self
,) + _args
, _kwargs
)
636 if val
: val
= wxOGLConstraintPtr(val
)
638 def CalculateSize(self
, *_args
, **_kwargs
):
639 val
= apply(oglshapesc
.wxPyCompositeShape_CalculateSize
,(self
,) + _args
, _kwargs
)
641 def ContainsDivision(self
, *_args
, **_kwargs
):
642 val
= apply(oglshapesc
.wxPyCompositeShape_ContainsDivision
,(self
,) + _args
, _kwargs
)
644 def DeleteConstraint(self
, *_args
, **_kwargs
):
645 val
= apply(oglshapesc
.wxPyCompositeShape_DeleteConstraint
,(self
,) + _args
, _kwargs
)
647 def DeleteConstraintsInvolvingChild(self
, *_args
, **_kwargs
):
648 val
= apply(oglshapesc
.wxPyCompositeShape_DeleteConstraintsInvolvingChild
,(self
,) + _args
, _kwargs
)
650 def FindContainerImage(self
, *_args
, **_kwargs
):
651 val
= apply(oglshapesc
.wxPyCompositeShape_FindContainerImage
,(self
,) + _args
, _kwargs
)
652 if val
: val
= wxPyShapePtr(val
)
654 def GetConstraints(self
, *_args
, **_kwargs
):
655 val
= apply(oglshapesc
.wxPyCompositeShape_GetConstraints
,(self
,) + _args
, _kwargs
)
657 def GetDivisions(self
, *_args
, **_kwargs
):
658 val
= apply(oglshapesc
.wxPyCompositeShape_GetDivisions
,(self
,) + _args
, _kwargs
)
660 def MakeContainer(self
, *_args
, **_kwargs
):
661 val
= apply(oglshapesc
.wxPyCompositeShape_MakeContainer
,(self
,) + _args
, _kwargs
)
663 def Recompute(self
, *_args
, **_kwargs
):
664 val
= apply(oglshapesc
.wxPyCompositeShape_Recompute
,(self
,) + _args
, _kwargs
)
666 def RemoveChild(self
, *_args
, **_kwargs
):
667 val
= apply(oglshapesc
.wxPyCompositeShape_RemoveChild
,(self
,) + _args
, _kwargs
)
669 def base_OnDelete(self
, *_args
, **_kwargs
):
670 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
672 def base_OnDraw(self
, *_args
, **_kwargs
):
673 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
675 def base_OnDrawContents(self
, *_args
, **_kwargs
):
676 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
678 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
679 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
681 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
682 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
684 def base_OnErase(self
, *_args
, **_kwargs
):
685 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnErase
,(self
,) + _args
, _kwargs
)
687 def base_OnEraseContents(self
, *_args
, **_kwargs
):
688 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
690 def base_OnHighlight(self
, *_args
, **_kwargs
):
691 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
693 def base_OnLeftClick(self
, *_args
, **_kwargs
):
694 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
696 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
697 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
699 def base_OnRightClick(self
, *_args
, **_kwargs
):
700 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
702 def base_OnSize(self
, *_args
, **_kwargs
):
703 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSize
,(self
,) + _args
, _kwargs
)
705 def base_OnMovePre(self
, *_args
, **_kwargs
):
706 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
708 def base_OnMovePost(self
, *_args
, **_kwargs
):
709 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
711 def base_OnDragLeft(self
, *_args
, **_kwargs
):
712 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
714 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
715 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
717 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
718 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
720 def base_OnDragRight(self
, *_args
, **_kwargs
):
721 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
723 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
724 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
726 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
727 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
729 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
730 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
732 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
733 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
735 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
736 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
738 def base_OnMoveLink(self
, *_args
, **_kwargs
):
739 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
741 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
742 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
744 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
745 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
747 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
748 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
750 def base_OnBeginSize(self
, *_args
, **_kwargs
):
751 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
753 def base_OnEndSize(self
, *_args
, **_kwargs
):
754 val
= apply(oglshapesc
.wxPyCompositeShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
757 return "<C wxPyCompositeShape instance at %s>" % (self
.this
,)
758 class wxPyCompositeShape(wxPyCompositeShapePtr
):
759 def __init__(self
,*_args
,**_kwargs
):
760 self
.this
= apply(oglshapesc
.new_wxPyCompositeShape
,_args
,_kwargs
)
767 class wxPyDividedShapePtr(wxPyRectangleShapePtr
):
768 def __init__(self
,this
):
771 def _setSelf(self
, *_args
, **_kwargs
):
772 val
= apply(oglshapesc
.wxPyDividedShape__setSelf
,(self
,) + _args
, _kwargs
)
774 def EditRegions(self
, *_args
, **_kwargs
):
775 val
= apply(oglshapesc
.wxPyDividedShape_EditRegions
,(self
,) + _args
, _kwargs
)
777 def SetRegionSizes(self
, *_args
, **_kwargs
):
778 val
= apply(oglshapesc
.wxPyDividedShape_SetRegionSizes
,(self
,) + _args
, _kwargs
)
780 def base_OnDelete(self
, *_args
, **_kwargs
):
781 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
783 def base_OnDraw(self
, *_args
, **_kwargs
):
784 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
786 def base_OnDrawContents(self
, *_args
, **_kwargs
):
787 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
789 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
790 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
792 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
793 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
795 def base_OnErase(self
, *_args
, **_kwargs
):
796 val
= apply(oglshapesc
.wxPyDividedShape_base_OnErase
,(self
,) + _args
, _kwargs
)
798 def base_OnEraseContents(self
, *_args
, **_kwargs
):
799 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
801 def base_OnHighlight(self
, *_args
, **_kwargs
):
802 val
= apply(oglshapesc
.wxPyDividedShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
804 def base_OnLeftClick(self
, *_args
, **_kwargs
):
805 val
= apply(oglshapesc
.wxPyDividedShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
807 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
808 val
= apply(oglshapesc
.wxPyDividedShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
810 def base_OnRightClick(self
, *_args
, **_kwargs
):
811 val
= apply(oglshapesc
.wxPyDividedShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
813 def base_OnSize(self
, *_args
, **_kwargs
):
814 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSize
,(self
,) + _args
, _kwargs
)
816 def base_OnMovePre(self
, *_args
, **_kwargs
):
817 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
819 def base_OnMovePost(self
, *_args
, **_kwargs
):
820 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
822 def base_OnDragLeft(self
, *_args
, **_kwargs
):
823 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
825 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
826 val
= apply(oglshapesc
.wxPyDividedShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
828 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
829 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
831 def base_OnDragRight(self
, *_args
, **_kwargs
):
832 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
834 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
835 val
= apply(oglshapesc
.wxPyDividedShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
837 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
838 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
840 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
841 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
843 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
844 val
= apply(oglshapesc
.wxPyDividedShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
846 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
847 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
849 def base_OnMoveLink(self
, *_args
, **_kwargs
):
850 val
= apply(oglshapesc
.wxPyDividedShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
852 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
853 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
855 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
856 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
858 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
859 val
= apply(oglshapesc
.wxPyDividedShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
861 def base_OnBeginSize(self
, *_args
, **_kwargs
):
862 val
= apply(oglshapesc
.wxPyDividedShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
864 def base_OnEndSize(self
, *_args
, **_kwargs
):
865 val
= apply(oglshapesc
.wxPyDividedShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
868 return "<C wxPyDividedShape instance at %s>" % (self
.this
,)
869 class wxPyDividedShape(wxPyDividedShapePtr
):
870 def __init__(self
,*_args
,**_kwargs
):
871 self
.this
= apply(oglshapesc
.new_wxPyDividedShape
,_args
,_kwargs
)
878 class wxPyDivisionShapePtr(wxPyCompositeShapePtr
):
879 def __init__(self
,this
):
882 def _setSelf(self
, *_args
, **_kwargs
):
883 val
= apply(oglshapesc
.wxPyDivisionShape__setSelf
,(self
,) + _args
, _kwargs
)
885 def AdjustBottom(self
, *_args
, **_kwargs
):
886 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustBottom
,(self
,) + _args
, _kwargs
)
888 def AdjustLeft(self
, *_args
, **_kwargs
):
889 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustLeft
,(self
,) + _args
, _kwargs
)
891 def AdjustRight(self
, *_args
, **_kwargs
):
892 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustRight
,(self
,) + _args
, _kwargs
)
894 def AdjustTop(self
, *_args
, **_kwargs
):
895 val
= apply(oglshapesc
.wxPyDivisionShape_AdjustTop
,(self
,) + _args
, _kwargs
)
897 def Divide(self
, *_args
, **_kwargs
):
898 val
= apply(oglshapesc
.wxPyDivisionShape_Divide
,(self
,) + _args
, _kwargs
)
900 def EditEdge(self
, *_args
, **_kwargs
):
901 val
= apply(oglshapesc
.wxPyDivisionShape_EditEdge
,(self
,) + _args
, _kwargs
)
903 def GetBottomSide(self
, *_args
, **_kwargs
):
904 val
= apply(oglshapesc
.wxPyDivisionShape_GetBottomSide
,(self
,) + _args
, _kwargs
)
905 if val
: val
= wxPyDivisionShapePtr(val
)
907 def GetHandleSide(self
, *_args
, **_kwargs
):
908 val
= apply(oglshapesc
.wxPyDivisionShape_GetHandleSide
,(self
,) + _args
, _kwargs
)
910 def GetLeftSide(self
, *_args
, **_kwargs
):
911 val
= apply(oglshapesc
.wxPyDivisionShape_GetLeftSide
,(self
,) + _args
, _kwargs
)
912 if val
: val
= wxPyDivisionShapePtr(val
)
914 def GetLeftSideColour(self
, *_args
, **_kwargs
):
915 val
= apply(oglshapesc
.wxPyDivisionShape_GetLeftSideColour
,(self
,) + _args
, _kwargs
)
917 def GetLeftSidePen(self
, *_args
, **_kwargs
):
918 val
= apply(oglshapesc
.wxPyDivisionShape_GetLeftSidePen
,(self
,) + _args
, _kwargs
)
919 if val
: val
= wxPenPtr(val
)
921 def GetRightSide(self
, *_args
, **_kwargs
):
922 val
= apply(oglshapesc
.wxPyDivisionShape_GetRightSide
,(self
,) + _args
, _kwargs
)
923 if val
: val
= wxPyDivisionShapePtr(val
)
925 def GetTopSide(self
, *_args
, **_kwargs
):
926 val
= apply(oglshapesc
.wxPyDivisionShape_GetTopSide
,(self
,) + _args
, _kwargs
)
927 if val
: val
= wxPyDivisionShapePtr(val
)
929 def GetTopSidePen(self
, *_args
, **_kwargs
):
930 val
= apply(oglshapesc
.wxPyDivisionShape_GetTopSidePen
,(self
,) + _args
, _kwargs
)
931 if val
: val
= wxPenPtr(val
)
933 def ResizeAdjoining(self
, *_args
, **_kwargs
):
934 val
= apply(oglshapesc
.wxPyDivisionShape_ResizeAdjoining
,(self
,) + _args
, _kwargs
)
936 def PopupMenu(self
, *_args
, **_kwargs
):
937 val
= apply(oglshapesc
.wxPyDivisionShape_PopupMenu
,(self
,) + _args
, _kwargs
)
939 def SetBottomSide(self
, *_args
, **_kwargs
):
940 val
= apply(oglshapesc
.wxPyDivisionShape_SetBottomSide
,(self
,) + _args
, _kwargs
)
942 def SetHandleSide(self
, *_args
, **_kwargs
):
943 val
= apply(oglshapesc
.wxPyDivisionShape_SetHandleSide
,(self
,) + _args
, _kwargs
)
945 def SetLeftSide(self
, *_args
, **_kwargs
):
946 val
= apply(oglshapesc
.wxPyDivisionShape_SetLeftSide
,(self
,) + _args
, _kwargs
)
948 def SetLeftSideColour(self
, *_args
, **_kwargs
):
949 val
= apply(oglshapesc
.wxPyDivisionShape_SetLeftSideColour
,(self
,) + _args
, _kwargs
)
951 def SetLeftSidePen(self
, *_args
, **_kwargs
):
952 val
= apply(oglshapesc
.wxPyDivisionShape_SetLeftSidePen
,(self
,) + _args
, _kwargs
)
954 def SetRightSide(self
, *_args
, **_kwargs
):
955 val
= apply(oglshapesc
.wxPyDivisionShape_SetRightSide
,(self
,) + _args
, _kwargs
)
957 def SetTopSide(self
, *_args
, **_kwargs
):
958 val
= apply(oglshapesc
.wxPyDivisionShape_SetTopSide
,(self
,) + _args
, _kwargs
)
960 def SetTopSideColour(self
, *_args
, **_kwargs
):
961 val
= apply(oglshapesc
.wxPyDivisionShape_SetTopSideColour
,(self
,) + _args
, _kwargs
)
963 def SetTopSidePen(self
, *_args
, **_kwargs
):
964 val
= apply(oglshapesc
.wxPyDivisionShape_SetTopSidePen
,(self
,) + _args
, _kwargs
)
966 def base_OnDelete(self
, *_args
, **_kwargs
):
967 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
969 def base_OnDraw(self
, *_args
, **_kwargs
):
970 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
972 def base_OnDrawContents(self
, *_args
, **_kwargs
):
973 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
975 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
976 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
978 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
979 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
981 def base_OnErase(self
, *_args
, **_kwargs
):
982 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnErase
,(self
,) + _args
, _kwargs
)
984 def base_OnEraseContents(self
, *_args
, **_kwargs
):
985 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
987 def base_OnHighlight(self
, *_args
, **_kwargs
):
988 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
990 def base_OnLeftClick(self
, *_args
, **_kwargs
):
991 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
993 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
994 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
996 def base_OnRightClick(self
, *_args
, **_kwargs
):
997 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
999 def base_OnSize(self
, *_args
, **_kwargs
):
1000 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSize
,(self
,) + _args
, _kwargs
)
1002 def base_OnMovePre(self
, *_args
, **_kwargs
):
1003 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
1005 def base_OnMovePost(self
, *_args
, **_kwargs
):
1006 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
1008 def base_OnDragLeft(self
, *_args
, **_kwargs
):
1009 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
1011 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
1012 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
1014 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
1015 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
1017 def base_OnDragRight(self
, *_args
, **_kwargs
):
1018 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
1020 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
1021 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
1023 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
1024 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
1026 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
1027 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
1029 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
1030 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
1032 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
1033 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
1035 def base_OnMoveLink(self
, *_args
, **_kwargs
):
1036 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
1038 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
1039 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
1041 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
1042 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
1044 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
1045 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
1047 def base_OnBeginSize(self
, *_args
, **_kwargs
):
1048 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
1050 def base_OnEndSize(self
, *_args
, **_kwargs
):
1051 val
= apply(oglshapesc
.wxPyDivisionShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
1054 return "<C wxPyDivisionShape instance at %s>" % (self
.this
,)
1055 class wxPyDivisionShape(wxPyDivisionShapePtr
):
1056 def __init__(self
,*_args
,**_kwargs
):
1057 self
.this
= apply(oglshapesc
.new_wxPyDivisionShape
,_args
,_kwargs
)
1066 #-------------- FUNCTION WRAPPERS ------------------
1070 #-------------- VARIABLE WRAPPERS ------------------