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 *
36 from oglcanvas
import wxPyShapeCanvasPtr
37 class wxShapeRegionPtr
:
38 def __init__(self
,this
):
41 def SetText(self
, *_args
, **_kwargs
):
42 val
= apply(oglbasicc
.wxShapeRegion_SetText
,(self
,) + _args
, _kwargs
)
44 def SetFont(self
, *_args
, **_kwargs
):
45 val
= apply(oglbasicc
.wxShapeRegion_SetFont
,(self
,) + _args
, _kwargs
)
47 def SetMinSize(self
, *_args
, **_kwargs
):
48 val
= apply(oglbasicc
.wxShapeRegion_SetMinSize
,(self
,) + _args
, _kwargs
)
50 def SetSize(self
, *_args
, **_kwargs
):
51 val
= apply(oglbasicc
.wxShapeRegion_SetSize
,(self
,) + _args
, _kwargs
)
53 def SetPosition(self
, *_args
, **_kwargs
):
54 val
= apply(oglbasicc
.wxShapeRegion_SetPosition
,(self
,) + _args
, _kwargs
)
56 def SetProportions(self
, *_args
, **_kwargs
):
57 val
= apply(oglbasicc
.wxShapeRegion_SetProportions
,(self
,) + _args
, _kwargs
)
59 def SetFormatMode(self
, *_args
, **_kwargs
):
60 val
= apply(oglbasicc
.wxShapeRegion_SetFormatMode
,(self
,) + _args
, _kwargs
)
62 def SetName(self
, *_args
, **_kwargs
):
63 val
= apply(oglbasicc
.wxShapeRegion_SetName
,(self
,) + _args
, _kwargs
)
65 def SetColour(self
, *_args
, **_kwargs
):
66 val
= apply(oglbasicc
.wxShapeRegion_SetColour
,(self
,) + _args
, _kwargs
)
68 def GetText(self
, *_args
, **_kwargs
):
69 val
= apply(oglbasicc
.wxShapeRegion_GetText
,(self
,) + _args
, _kwargs
)
71 def GetFont(self
, *_args
, **_kwargs
):
72 val
= apply(oglbasicc
.wxShapeRegion_GetFont
,(self
,) + _args
, _kwargs
)
73 if val
: val
= wxFontPtr(val
)
75 def GetMinSize(self
, *_args
, **_kwargs
):
76 val
= apply(oglbasicc
.wxShapeRegion_GetMinSize
,(self
,) + _args
, _kwargs
)
78 def GetProportion(self
, *_args
, **_kwargs
):
79 val
= apply(oglbasicc
.wxShapeRegion_GetProportion
,(self
,) + _args
, _kwargs
)
81 def GetSize(self
, *_args
, **_kwargs
):
82 val
= apply(oglbasicc
.wxShapeRegion_GetSize
,(self
,) + _args
, _kwargs
)
84 def GetPosition(self
, *_args
, **_kwargs
):
85 val
= apply(oglbasicc
.wxShapeRegion_GetPosition
,(self
,) + _args
, _kwargs
)
87 def GetFormatMode(self
, *_args
, **_kwargs
):
88 val
= apply(oglbasicc
.wxShapeRegion_GetFormatMode
,(self
,) + _args
, _kwargs
)
90 def GetName(self
, *_args
, **_kwargs
):
91 val
= apply(oglbasicc
.wxShapeRegion_GetName
,(self
,) + _args
, _kwargs
)
93 def GetColour(self
, *_args
, **_kwargs
):
94 val
= apply(oglbasicc
.wxShapeRegion_GetColour
,(self
,) + _args
, _kwargs
)
96 def GetActualColourObject(self
, *_args
, **_kwargs
):
97 val
= apply(oglbasicc
.wxShapeRegion_GetActualColourObject
,(self
,) + _args
, _kwargs
)
98 if val
: val
= wxColourPtr(val
)
100 def GetFormattedText(self
, *_args
, **_kwargs
):
101 val
= apply(oglbasicc
.wxShapeRegion_GetFormattedText
,(self
,) + _args
, _kwargs
)
103 def GetPenColour(self
, *_args
, **_kwargs
):
104 val
= apply(oglbasicc
.wxShapeRegion_GetPenColour
,(self
,) + _args
, _kwargs
)
106 def GetPenStyle(self
, *_args
, **_kwargs
):
107 val
= apply(oglbasicc
.wxShapeRegion_GetPenStyle
,(self
,) + _args
, _kwargs
)
109 def SetPenStyle(self
, *_args
, **_kwargs
):
110 val
= apply(oglbasicc
.wxShapeRegion_SetPenStyle
,(self
,) + _args
, _kwargs
)
112 def SetPenColour(self
, *_args
, **_kwargs
):
113 val
= apply(oglbasicc
.wxShapeRegion_SetPenColour
,(self
,) + _args
, _kwargs
)
115 def GetActualPen(self
, *_args
, **_kwargs
):
116 val
= apply(oglbasicc
.wxShapeRegion_GetActualPen
,(self
,) + _args
, _kwargs
)
117 if val
: val
= wxPenPtr(val
)
119 def GetWidth(self
, *_args
, **_kwargs
):
120 val
= apply(oglbasicc
.wxShapeRegion_GetWidth
,(self
,) + _args
, _kwargs
)
122 def GetHeight(self
, *_args
, **_kwargs
):
123 val
= apply(oglbasicc
.wxShapeRegion_GetHeight
,(self
,) + _args
, _kwargs
)
125 def ClearText(self
, *_args
, **_kwargs
):
126 val
= apply(oglbasicc
.wxShapeRegion_ClearText
,(self
,) + _args
, _kwargs
)
129 return "<C wxShapeRegion instance at %s>" % (self
.this
,)
130 class wxShapeRegion(wxShapeRegionPtr
):
131 def __init__(self
,*_args
,**_kwargs
):
132 self
.this
= apply(oglbasicc
.new_wxShapeRegion
,_args
,_kwargs
)
138 class wxPyShapeEvtHandlerPtr
:
139 def __init__(self
,this
):
142 def _setSelf(self
, *_args
, **_kwargs
):
143 val
= apply(oglbasicc
.wxPyShapeEvtHandler__setSelf
,(self
,) + _args
, _kwargs
)
145 def Destroy(self
, *_args
, **_kwargs
):
146 val
= apply(oglbasicc
.wxPyShapeEvtHandler_Destroy
,(self
,) + _args
, _kwargs
)
148 def SetShape(self
, *_args
, **_kwargs
):
149 val
= apply(oglbasicc
.wxPyShapeEvtHandler_SetShape
,(self
,) + _args
, _kwargs
)
151 def GetShape(self
, *_args
, **_kwargs
):
152 val
= apply(oglbasicc
.wxPyShapeEvtHandler_GetShape
,(self
,) + _args
, _kwargs
)
153 if val
: val
= wxPyShapePtr(val
)
155 def SetPreviousHandler(self
, *_args
, **_kwargs
):
156 val
= apply(oglbasicc
.wxPyShapeEvtHandler_SetPreviousHandler
,(self
,) + _args
, _kwargs
)
158 def GetPreviousHandler(self
, *_args
, **_kwargs
):
159 val
= apply(oglbasicc
.wxPyShapeEvtHandler_GetPreviousHandler
,(self
,) + _args
, _kwargs
)
160 if val
: val
= wxPyShapeEvtHandlerPtr(val
)
162 def CreateNewCopy(self
, *_args
, **_kwargs
):
163 val
= apply(oglbasicc
.wxPyShapeEvtHandler_CreateNewCopy
,(self
,) + _args
, _kwargs
)
164 if val
: val
= wxPyShapeEvtHandlerPtr(val
)
166 def base_OnDelete(self
, *_args
, **_kwargs
):
167 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDelete
,(self
,) + _args
, _kwargs
)
169 def base_OnDraw(self
, *_args
, **_kwargs
):
170 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDraw
,(self
,) + _args
, _kwargs
)
172 def base_OnDrawContents(self
, *_args
, **_kwargs
):
173 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
175 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
176 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
178 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
179 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
181 def base_OnErase(self
, *_args
, **_kwargs
):
182 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnErase
,(self
,) + _args
, _kwargs
)
184 def base_OnEraseContents(self
, *_args
, **_kwargs
):
185 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
187 def base_OnHighlight(self
, *_args
, **_kwargs
):
188 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnHighlight
,(self
,) + _args
, _kwargs
)
190 def base_OnLeftClick(self
, *_args
, **_kwargs
):
191 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
193 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
194 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
196 def base_OnRightClick(self
, *_args
, **_kwargs
):
197 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnRightClick
,(self
,) + _args
, _kwargs
)
199 def base_OnSize(self
, *_args
, **_kwargs
):
200 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSize
,(self
,) + _args
, _kwargs
)
202 def base_OnMovePre(self
, *_args
, **_kwargs
):
203 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMovePre
,(self
,) + _args
, _kwargs
)
205 def base_OnMovePost(self
, *_args
, **_kwargs
):
206 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMovePost
,(self
,) + _args
, _kwargs
)
208 def base_OnDragLeft(self
, *_args
, **_kwargs
):
209 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
211 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
212 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
214 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
215 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
217 def base_OnDragRight(self
, *_args
, **_kwargs
):
218 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDragRight
,(self
,) + _args
, _kwargs
)
220 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
221 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
223 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
224 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
226 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
227 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
229 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
230 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
232 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
233 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
235 def base_OnMoveLink(self
, *_args
, **_kwargs
):
236 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
238 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
239 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
241 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
242 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
244 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
245 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
247 def base_OnBeginSize(self
, *_args
, **_kwargs
):
248 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
250 def base_OnEndSize(self
, *_args
, **_kwargs
):
251 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndSize
,(self
,) + _args
, _kwargs
)
254 return "<C wxPyShapeEvtHandler instance at %s>" % (self
.this
,)
255 class wxPyShapeEvtHandler(wxPyShapeEvtHandlerPtr
):
256 def __init__(self
,*_args
,**_kwargs
):
257 self
.this
= apply(oglbasicc
.new_wxPyShapeEvtHandler
,_args
,_kwargs
)
264 class wxPyShapePtr(wxPyShapeEvtHandlerPtr
):
265 def __init__(self
,this
):
268 def _setSelf(self
, *_args
, **_kwargs
):
269 val
= apply(oglbasicc
.wxPyShape__setSelf
,(self
,) + _args
, _kwargs
)
271 def Destroy(self
, *_args
, **_kwargs
):
272 val
= apply(oglbasicc
.wxPyShape_Destroy
,(self
,) + _args
, _kwargs
)
274 def GetBoundingBoxMax(self
, *_args
, **_kwargs
):
275 val
= apply(oglbasicc
.wxPyShape_GetBoundingBoxMax
,(self
,) + _args
, _kwargs
)
277 def GetBoundingBoxMin(self
, *_args
, **_kwargs
):
278 val
= apply(oglbasicc
.wxPyShape_GetBoundingBoxMin
,(self
,) + _args
, _kwargs
)
280 def GetPerimeterPoint(self
, *_args
, **_kwargs
):
281 val
= apply(oglbasicc
.wxPyShape_GetPerimeterPoint
,(self
,) + _args
, _kwargs
)
283 def GetCanvas(self
, *_args
, **_kwargs
):
284 val
= apply(oglbasicc
.wxPyShape_GetCanvas
,(self
,) + _args
, _kwargs
)
285 if val
: val
= wxPyShapeCanvasPtr(val
)
287 def SetCanvas(self
, *_args
, **_kwargs
):
288 val
= apply(oglbasicc
.wxPyShape_SetCanvas
,(self
,) + _args
, _kwargs
)
290 def AddToCanvas(self
, *_args
, **_kwargs
):
291 val
= apply(oglbasicc
.wxPyShape_AddToCanvas
,(self
,) + _args
, _kwargs
)
293 def InsertInCanvas(self
, *_args
, **_kwargs
):
294 val
= apply(oglbasicc
.wxPyShape_InsertInCanvas
,(self
,) + _args
, _kwargs
)
296 def RemoveFromCanvas(self
, *_args
, **_kwargs
):
297 val
= apply(oglbasicc
.wxPyShape_RemoveFromCanvas
,(self
,) + _args
, _kwargs
)
299 def GetX(self
, *_args
, **_kwargs
):
300 val
= apply(oglbasicc
.wxPyShape_GetX
,(self
,) + _args
, _kwargs
)
302 def GetY(self
, *_args
, **_kwargs
):
303 val
= apply(oglbasicc
.wxPyShape_GetY
,(self
,) + _args
, _kwargs
)
305 def SetX(self
, *_args
, **_kwargs
):
306 val
= apply(oglbasicc
.wxPyShape_SetX
,(self
,) + _args
, _kwargs
)
308 def SetY(self
, *_args
, **_kwargs
):
309 val
= apply(oglbasicc
.wxPyShape_SetY
,(self
,) + _args
, _kwargs
)
311 def GetParent(self
, *_args
, **_kwargs
):
312 val
= apply(oglbasicc
.wxPyShape_GetParent
,(self
,) + _args
, _kwargs
)
313 if val
: val
= wxPyShapePtr(val
)
315 def SetParent(self
, *_args
, **_kwargs
):
316 val
= apply(oglbasicc
.wxPyShape_SetParent
,(self
,) + _args
, _kwargs
)
318 def GetTopAncestor(self
, *_args
, **_kwargs
):
319 val
= apply(oglbasicc
.wxPyShape_GetTopAncestor
,(self
,) + _args
, _kwargs
)
320 if val
: val
= wxPyShapePtr(val
)
322 def GetChildren(self
, *_args
, **_kwargs
):
323 val
= apply(oglbasicc
.wxPyShape_GetChildren
,(self
,) + _args
, _kwargs
)
325 def Unlink(self
, *_args
, **_kwargs
):
326 val
= apply(oglbasicc
.wxPyShape_Unlink
,(self
,) + _args
, _kwargs
)
328 def SetDrawHandles(self
, *_args
, **_kwargs
):
329 val
= apply(oglbasicc
.wxPyShape_SetDrawHandles
,(self
,) + _args
, _kwargs
)
331 def GetDrawHandles(self
, *_args
, **_kwargs
):
332 val
= apply(oglbasicc
.wxPyShape_GetDrawHandles
,(self
,) + _args
, _kwargs
)
334 def MakeControlPoints(self
, *_args
, **_kwargs
):
335 val
= apply(oglbasicc
.wxPyShape_MakeControlPoints
,(self
,) + _args
, _kwargs
)
337 def DeleteControlPoints(self
, *_args
, **_kwargs
):
338 val
= apply(oglbasicc
.wxPyShape_DeleteControlPoints
,(self
,) + _args
, _kwargs
)
340 def ResetControlPoints(self
, *_args
, **_kwargs
):
341 val
= apply(oglbasicc
.wxPyShape_ResetControlPoints
,(self
,) + _args
, _kwargs
)
343 def GetEventHandler(self
, *_args
, **_kwargs
):
344 val
= apply(oglbasicc
.wxPyShape_GetEventHandler
,(self
,) + _args
, _kwargs
)
345 if val
: val
= wxPyShapeEvtHandlerPtr(val
)
347 def SetEventHandler(self
, *_args
, **_kwargs
):
348 val
= apply(oglbasicc
.wxPyShape_SetEventHandler
,(self
,) + _args
, _kwargs
)
350 def MakeMandatoryControlPoints(self
, *_args
, **_kwargs
):
351 val
= apply(oglbasicc
.wxPyShape_MakeMandatoryControlPoints
,(self
,) + _args
, _kwargs
)
353 def ResetMandatoryControlPoints(self
, *_args
, **_kwargs
):
354 val
= apply(oglbasicc
.wxPyShape_ResetMandatoryControlPoints
,(self
,) + _args
, _kwargs
)
356 def Recompute(self
, *_args
, **_kwargs
):
357 val
= apply(oglbasicc
.wxPyShape_Recompute
,(self
,) + _args
, _kwargs
)
359 def CalculateSize(self
, *_args
, **_kwargs
):
360 val
= apply(oglbasicc
.wxPyShape_CalculateSize
,(self
,) + _args
, _kwargs
)
362 def Select(self
, *_args
, **_kwargs
):
363 val
= apply(oglbasicc
.wxPyShape_Select
,(self
,) + _args
, _kwargs
)
365 def SetHighlight(self
, *_args
, **_kwargs
):
366 val
= apply(oglbasicc
.wxPyShape_SetHighlight
,(self
,) + _args
, _kwargs
)
368 def IsHighlighted(self
, *_args
, **_kwargs
):
369 val
= apply(oglbasicc
.wxPyShape_IsHighlighted
,(self
,) + _args
, _kwargs
)
371 def Selected(self
, *_args
, **_kwargs
):
372 val
= apply(oglbasicc
.wxPyShape_Selected
,(self
,) + _args
, _kwargs
)
374 def AncestorSelected(self
, *_args
, **_kwargs
):
375 val
= apply(oglbasicc
.wxPyShape_AncestorSelected
,(self
,) + _args
, _kwargs
)
377 def SetSensitivityFilter(self
, *_args
, **_kwargs
):
378 val
= apply(oglbasicc
.wxPyShape_SetSensitivityFilter
,(self
,) + _args
, _kwargs
)
380 def GetSensitivityFilter(self
, *_args
, **_kwargs
):
381 val
= apply(oglbasicc
.wxPyShape_GetSensitivityFilter
,(self
,) + _args
, _kwargs
)
383 def SetDraggable(self
, *_args
, **_kwargs
):
384 val
= apply(oglbasicc
.wxPyShape_SetDraggable
,(self
,) + _args
, _kwargs
)
386 def SetFixedSize(self
, *_args
, **_kwargs
):
387 val
= apply(oglbasicc
.wxPyShape_SetFixedSize
,(self
,) + _args
, _kwargs
)
389 def GetFixedSize(self
, *_args
, **_kwargs
):
390 val
= apply(oglbasicc
.wxPyShape_GetFixedSize
,(self
,) + _args
, _kwargs
)
392 def GetFixedWidth(self
, *_args
, **_kwargs
):
393 val
= apply(oglbasicc
.wxPyShape_GetFixedWidth
,(self
,) + _args
, _kwargs
)
395 def GetFixedHeight(self
, *_args
, **_kwargs
):
396 val
= apply(oglbasicc
.wxPyShape_GetFixedHeight
,(self
,) + _args
, _kwargs
)
398 def SetSpaceAttachments(self
, *_args
, **_kwargs
):
399 val
= apply(oglbasicc
.wxPyShape_SetSpaceAttachments
,(self
,) + _args
, _kwargs
)
401 def GetSpaceAttachments(self
, *_args
, **_kwargs
):
402 val
= apply(oglbasicc
.wxPyShape_GetSpaceAttachments
,(self
,) + _args
, _kwargs
)
404 def SetShadowMode(self
, *_args
, **_kwargs
):
405 val
= apply(oglbasicc
.wxPyShape_SetShadowMode
,(self
,) + _args
, _kwargs
)
407 def GetShadowMode(self
, *_args
, **_kwargs
):
408 val
= apply(oglbasicc
.wxPyShape_GetShadowMode
,(self
,) + _args
, _kwargs
)
410 def HitTest(self
, *_args
, **_kwargs
):
411 val
= apply(oglbasicc
.wxPyShape_HitTest
,(self
,) + _args
, _kwargs
)
413 def SetCentreResize(self
, *_args
, **_kwargs
):
414 val
= apply(oglbasicc
.wxPyShape_SetCentreResize
,(self
,) + _args
, _kwargs
)
416 def GetCentreResize(self
, *_args
, **_kwargs
):
417 val
= apply(oglbasicc
.wxPyShape_GetCentreResize
,(self
,) + _args
, _kwargs
)
419 def SetMaintainAspectRatio(self
, *_args
, **_kwargs
):
420 val
= apply(oglbasicc
.wxPyShape_SetMaintainAspectRatio
,(self
,) + _args
, _kwargs
)
422 def GetMaintainAspectRatio(self
, *_args
, **_kwargs
):
423 val
= apply(oglbasicc
.wxPyShape_GetMaintainAspectRatio
,(self
,) + _args
, _kwargs
)
425 def GetLines(self
, *_args
, **_kwargs
):
426 val
= apply(oglbasicc
.wxPyShape_GetLines
,(self
,) + _args
, _kwargs
)
428 def SetDisableLabel(self
, *_args
, **_kwargs
):
429 val
= apply(oglbasicc
.wxPyShape_SetDisableLabel
,(self
,) + _args
, _kwargs
)
431 def GetDisableLabel(self
, *_args
, **_kwargs
):
432 val
= apply(oglbasicc
.wxPyShape_GetDisableLabel
,(self
,) + _args
, _kwargs
)
434 def SetAttachmentMode(self
, *_args
, **_kwargs
):
435 val
= apply(oglbasicc
.wxPyShape_SetAttachmentMode
,(self
,) + _args
, _kwargs
)
437 def GetAttachmentMode(self
, *_args
, **_kwargs
):
438 val
= apply(oglbasicc
.wxPyShape_GetAttachmentMode
,(self
,) + _args
, _kwargs
)
440 def SetId(self
, *_args
, **_kwargs
):
441 val
= apply(oglbasicc
.wxPyShape_SetId
,(self
,) + _args
, _kwargs
)
443 def GetId(self
, *_args
, **_kwargs
):
444 val
= apply(oglbasicc
.wxPyShape_GetId
,(self
,) + _args
, _kwargs
)
446 def SetPen(self
, *_args
, **_kwargs
):
447 val
= apply(oglbasicc
.wxPyShape_SetPen
,(self
,) + _args
, _kwargs
)
449 def SetBrush(self
, *_args
, **_kwargs
):
450 val
= apply(oglbasicc
.wxPyShape_SetBrush
,(self
,) + _args
, _kwargs
)
452 def SetClientData(self
, *_args
, **_kwargs
):
453 val
= apply(oglbasicc
.wxPyShape_SetClientData
,(self
,) + _args
, _kwargs
)
455 def GetClientData(self
, *_args
, **_kwargs
):
456 val
= apply(oglbasicc
.wxPyShape_GetClientData
,(self
,) + _args
, _kwargs
)
458 def Show(self
, *_args
, **_kwargs
):
459 val
= apply(oglbasicc
.wxPyShape_Show
,(self
,) + _args
, _kwargs
)
461 def IsShown(self
, *_args
, **_kwargs
):
462 val
= apply(oglbasicc
.wxPyShape_IsShown
,(self
,) + _args
, _kwargs
)
464 def Move(self
, *_args
, **_kwargs
):
465 val
= apply(oglbasicc
.wxPyShape_Move
,(self
,) + _args
, _kwargs
)
467 def Erase(self
, *_args
, **_kwargs
):
468 val
= apply(oglbasicc
.wxPyShape_Erase
,(self
,) + _args
, _kwargs
)
470 def EraseContents(self
, *_args
, **_kwargs
):
471 val
= apply(oglbasicc
.wxPyShape_EraseContents
,(self
,) + _args
, _kwargs
)
473 def Draw(self
, *_args
, **_kwargs
):
474 val
= apply(oglbasicc
.wxPyShape_Draw
,(self
,) + _args
, _kwargs
)
476 def Flash(self
, *_args
, **_kwargs
):
477 val
= apply(oglbasicc
.wxPyShape_Flash
,(self
,) + _args
, _kwargs
)
479 def MoveLinks(self
, *_args
, **_kwargs
):
480 val
= apply(oglbasicc
.wxPyShape_MoveLinks
,(self
,) + _args
, _kwargs
)
482 def DrawContents(self
, *_args
, **_kwargs
):
483 val
= apply(oglbasicc
.wxPyShape_DrawContents
,(self
,) + _args
, _kwargs
)
485 def SetSize(self
, *_args
, **_kwargs
):
486 val
= apply(oglbasicc
.wxPyShape_SetSize
,(self
,) + _args
, _kwargs
)
488 def SetAttachmentSize(self
, *_args
, **_kwargs
):
489 val
= apply(oglbasicc
.wxPyShape_SetAttachmentSize
,(self
,) + _args
, _kwargs
)
491 def Attach(self
, *_args
, **_kwargs
):
492 val
= apply(oglbasicc
.wxPyShape_Attach
,(self
,) + _args
, _kwargs
)
494 def Detach(self
, *_args
, **_kwargs
):
495 val
= apply(oglbasicc
.wxPyShape_Detach
,(self
,) + _args
, _kwargs
)
497 def Constrain(self
, *_args
, **_kwargs
):
498 val
= apply(oglbasicc
.wxPyShape_Constrain
,(self
,) + _args
, _kwargs
)
500 def AddLine(self
, *_args
, **_kwargs
):
501 val
= apply(oglbasicc
.wxPyShape_AddLine
,(self
,) + _args
, _kwargs
)
503 def GetLinePosition(self
, *_args
, **_kwargs
):
504 val
= apply(oglbasicc
.wxPyShape_GetLinePosition
,(self
,) + _args
, _kwargs
)
506 def AddText(self
, *_args
, **_kwargs
):
507 val
= apply(oglbasicc
.wxPyShape_AddText
,(self
,) + _args
, _kwargs
)
509 def GetPen(self
, *_args
, **_kwargs
):
510 val
= apply(oglbasicc
.wxPyShape_GetPen
,(self
,) + _args
, _kwargs
)
511 if val
: val
= wxPenPtr(val
)
513 def GetBrush(self
, *_args
, **_kwargs
):
514 val
= apply(oglbasicc
.wxPyShape_GetBrush
,(self
,) + _args
, _kwargs
)
515 if val
: val
= wxBrushPtr(val
)
517 def SetDefaultRegionSize(self
, *_args
, **_kwargs
):
518 val
= apply(oglbasicc
.wxPyShape_SetDefaultRegionSize
,(self
,) + _args
, _kwargs
)
520 def FormatText(self
, *_args
, **_kwargs
):
521 val
= apply(oglbasicc
.wxPyShape_FormatText
,(self
,) + _args
, _kwargs
)
523 def SetFormatMode(self
, *_args
, **_kwargs
):
524 val
= apply(oglbasicc
.wxPyShape_SetFormatMode
,(self
,) + _args
, _kwargs
)
526 def GetFormatMode(self
, *_args
, **_kwargs
):
527 val
= apply(oglbasicc
.wxPyShape_GetFormatMode
,(self
,) + _args
, _kwargs
)
529 def SetFont(self
, *_args
, **_kwargs
):
530 val
= apply(oglbasicc
.wxPyShape_SetFont
,(self
,) + _args
, _kwargs
)
532 def GetFont(self
, *_args
, **_kwargs
):
533 val
= apply(oglbasicc
.wxPyShape_GetFont
,(self
,) + _args
, _kwargs
)
534 if val
: val
= wxFontPtr(val
)
536 def SetTextColour(self
, *_args
, **_kwargs
):
537 val
= apply(oglbasicc
.wxPyShape_SetTextColour
,(self
,) + _args
, _kwargs
)
539 def GetTextColour(self
, *_args
, **_kwargs
):
540 val
= apply(oglbasicc
.wxPyShape_GetTextColour
,(self
,) + _args
, _kwargs
)
542 def GetNumberOfTextRegions(self
, *_args
, **_kwargs
):
543 val
= apply(oglbasicc
.wxPyShape_GetNumberOfTextRegions
,(self
,) + _args
, _kwargs
)
545 def SetRegionName(self
, *_args
, **_kwargs
):
546 val
= apply(oglbasicc
.wxPyShape_SetRegionName
,(self
,) + _args
, _kwargs
)
548 def GetRegionName(self
, *_args
, **_kwargs
):
549 val
= apply(oglbasicc
.wxPyShape_GetRegionName
,(self
,) + _args
, _kwargs
)
551 def GetRegionId(self
, *_args
, **_kwargs
):
552 val
= apply(oglbasicc
.wxPyShape_GetRegionId
,(self
,) + _args
, _kwargs
)
554 def NameRegions(self
, *_args
, **_kwargs
):
555 val
= apply(oglbasicc
.wxPyShape_NameRegions
,(self
,) + _args
, _kwargs
)
557 def GetRegions(self
, *_args
, **_kwargs
):
558 val
= apply(oglbasicc
.wxPyShape_GetRegions
,(self
,) + _args
, _kwargs
)
560 def AddRegion(self
, *_args
, **_kwargs
):
561 val
= apply(oglbasicc
.wxPyShape_AddRegion
,(self
,) + _args
, _kwargs
)
563 def ClearRegions(self
, *_args
, **_kwargs
):
564 val
= apply(oglbasicc
.wxPyShape_ClearRegions
,(self
,) + _args
, _kwargs
)
566 def AssignNewIds(self
, *_args
, **_kwargs
):
567 val
= apply(oglbasicc
.wxPyShape_AssignNewIds
,(self
,) + _args
, _kwargs
)
569 def FindRegion(self
, *_args
, **_kwargs
):
570 val
= apply(oglbasicc
.wxPyShape_FindRegion
,(self
,) + _args
, _kwargs
)
571 if val
: val
= wxPyShapePtr(val
)
573 def FindRegionNames(self
, *_args
, **_kwargs
):
574 val
= apply(oglbasicc
.wxPyShape_FindRegionNames
,(self
,) + _args
, _kwargs
)
576 def ClearText(self
, *_args
, **_kwargs
):
577 val
= apply(oglbasicc
.wxPyShape_ClearText
,(self
,) + _args
, _kwargs
)
579 def RemoveLine(self
, *_args
, **_kwargs
):
580 val
= apply(oglbasicc
.wxPyShape_RemoveLine
,(self
,) + _args
, _kwargs
)
582 def GetAttachmentPosition(self
, *_args
, **_kwargs
):
583 val
= apply(oglbasicc
.wxPyShape_GetAttachmentPosition
,(self
,) + _args
, _kwargs
)
585 def GetNumberOfAttachments(self
, *_args
, **_kwargs
):
586 val
= apply(oglbasicc
.wxPyShape_GetNumberOfAttachments
,(self
,) + _args
, _kwargs
)
588 def AttachmentIsValid(self
, *_args
, **_kwargs
):
589 val
= apply(oglbasicc
.wxPyShape_AttachmentIsValid
,(self
,) + _args
, _kwargs
)
591 def GetAttachmentPositionEdge(self
, *_args
, **_kwargs
):
592 val
= apply(oglbasicc
.wxPyShape_GetAttachmentPositionEdge
,(self
,) + _args
, _kwargs
)
594 def CalcSimpleAttachment(self
, *_args
, **_kwargs
):
595 val
= apply(oglbasicc
.wxPyShape_CalcSimpleAttachment
,(self
,) + _args
, _kwargs
)
596 if val
: val
= wxRealPointPtr(val
) ; val
.thisown
= 1
598 def AttachmentSortTest(self
, *_args
, **_kwargs
):
599 val
= apply(oglbasicc
.wxPyShape_AttachmentSortTest
,(self
,) + _args
, _kwargs
)
601 def EraseLinks(self
, *_args
, **_kwargs
):
602 val
= apply(oglbasicc
.wxPyShape_EraseLinks
,(self
,) + _args
, _kwargs
)
604 def DrawLinks(self
, *_args
, **_kwargs
):
605 val
= apply(oglbasicc
.wxPyShape_DrawLinks
,(self
,) + _args
, _kwargs
)
607 def MoveLineToNewAttachment(self
, *_args
, **_kwargs
):
608 val
= apply(oglbasicc
.wxPyShape_MoveLineToNewAttachment
,(self
,) + _args
, _kwargs
)
610 def ApplyAttachmentOrdering(self
, *_args
, **_kwargs
):
611 val
= apply(oglbasicc
.wxPyShape_ApplyAttachmentOrdering
,(self
,) + _args
, _kwargs
)
613 def GetBranchingAttachmentRoot(self
, *_args
, **_kwargs
):
614 val
= apply(oglbasicc
.wxPyShape_GetBranchingAttachmentRoot
,(self
,) + _args
, _kwargs
)
615 if val
: val
= wxRealPointPtr(val
) ; val
.thisown
= 1
617 def GetBranchingAttachmentInfo(self
, *_args
, **_kwargs
):
618 val
= apply(oglbasicc
.wxPyShape_GetBranchingAttachmentInfo
,(self
,) + _args
, _kwargs
)
620 def GetBranchingAttachmentPoint(self
, *_args
, **_kwargs
):
621 val
= apply(oglbasicc
.wxPyShape_GetBranchingAttachmentPoint
,(self
,) + _args
, _kwargs
)
623 def GetAttachmentLineCount(self
, *_args
, **_kwargs
):
624 val
= apply(oglbasicc
.wxPyShape_GetAttachmentLineCount
,(self
,) + _args
, _kwargs
)
626 def SetBranchNeckLength(self
, *_args
, **_kwargs
):
627 val
= apply(oglbasicc
.wxPyShape_SetBranchNeckLength
,(self
,) + _args
, _kwargs
)
629 def GetBranchNeckLength(self
, *_args
, **_kwargs
):
630 val
= apply(oglbasicc
.wxPyShape_GetBranchNeckLength
,(self
,) + _args
, _kwargs
)
632 def SetBranchStemLength(self
, *_args
, **_kwargs
):
633 val
= apply(oglbasicc
.wxPyShape_SetBranchStemLength
,(self
,) + _args
, _kwargs
)
635 def GetBranchStemLength(self
, *_args
, **_kwargs
):
636 val
= apply(oglbasicc
.wxPyShape_GetBranchStemLength
,(self
,) + _args
, _kwargs
)
638 def SetBranchSpacing(self
, *_args
, **_kwargs
):
639 val
= apply(oglbasicc
.wxPyShape_SetBranchSpacing
,(self
,) + _args
, _kwargs
)
641 def GetBranchSpacing(self
, *_args
, **_kwargs
):
642 val
= apply(oglbasicc
.wxPyShape_GetBranchSpacing
,(self
,) + _args
, _kwargs
)
644 def SetBranchStyle(self
, *_args
, **_kwargs
):
645 val
= apply(oglbasicc
.wxPyShape_SetBranchStyle
,(self
,) + _args
, _kwargs
)
647 def GetBranchStyle(self
, *_args
, **_kwargs
):
648 val
= apply(oglbasicc
.wxPyShape_GetBranchStyle
,(self
,) + _args
, _kwargs
)
650 def PhysicalToLogicalAttachment(self
, *_args
, **_kwargs
):
651 val
= apply(oglbasicc
.wxPyShape_PhysicalToLogicalAttachment
,(self
,) + _args
, _kwargs
)
653 def LogicalToPhysicalAttachment(self
, *_args
, **_kwargs
):
654 val
= apply(oglbasicc
.wxPyShape_LogicalToPhysicalAttachment
,(self
,) + _args
, _kwargs
)
656 def Draggable(self
, *_args
, **_kwargs
):
657 val
= apply(oglbasicc
.wxPyShape_Draggable
,(self
,) + _args
, _kwargs
)
659 def HasDescendant(self
, *_args
, **_kwargs
):
660 val
= apply(oglbasicc
.wxPyShape_HasDescendant
,(self
,) + _args
, _kwargs
)
662 def CreateNewCopy(self
, *_args
, **_kwargs
):
663 val
= apply(oglbasicc
.wxPyShape_CreateNewCopy
,(self
,) + _args
, _kwargs
)
664 if val
: val
= wxPyShapePtr(val
)
666 def Copy(self
, *_args
, **_kwargs
):
667 val
= apply(oglbasicc
.wxPyShape_Copy
,(self
,) + _args
, _kwargs
)
669 def CopyWithHandler(self
, *_args
, **_kwargs
):
670 val
= apply(oglbasicc
.wxPyShape_CopyWithHandler
,(self
,) + _args
, _kwargs
)
672 def Rotate(self
, *_args
, **_kwargs
):
673 val
= apply(oglbasicc
.wxPyShape_Rotate
,(self
,) + _args
, _kwargs
)
675 def GetRotation(self
, *_args
, **_kwargs
):
676 val
= apply(oglbasicc
.wxPyShape_GetRotation
,(self
,) + _args
, _kwargs
)
678 def ClearAttachments(self
, *_args
, **_kwargs
):
679 val
= apply(oglbasicc
.wxPyShape_ClearAttachments
,(self
,) + _args
, _kwargs
)
681 def Recentre(self
, *_args
, **_kwargs
):
682 val
= apply(oglbasicc
.wxPyShape_Recentre
,(self
,) + _args
, _kwargs
)
684 def ClearPointList(self
, *_args
, **_kwargs
):
685 val
= apply(oglbasicc
.wxPyShape_ClearPointList
,(self
,) + _args
, _kwargs
)
687 def base_OnDelete(self
, *_args
, **_kwargs
):
688 val
= apply(oglbasicc
.wxPyShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
690 def base_OnDraw(self
, *_args
, **_kwargs
):
691 val
= apply(oglbasicc
.wxPyShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
693 def base_OnDrawContents(self
, *_args
, **_kwargs
):
694 val
= apply(oglbasicc
.wxPyShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
696 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
697 val
= apply(oglbasicc
.wxPyShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
699 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
700 val
= apply(oglbasicc
.wxPyShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
702 def base_OnErase(self
, *_args
, **_kwargs
):
703 val
= apply(oglbasicc
.wxPyShape_base_OnErase
,(self
,) + _args
, _kwargs
)
705 def base_OnEraseContents(self
, *_args
, **_kwargs
):
706 val
= apply(oglbasicc
.wxPyShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
708 def base_OnHighlight(self
, *_args
, **_kwargs
):
709 val
= apply(oglbasicc
.wxPyShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
711 def base_OnLeftClick(self
, *_args
, **_kwargs
):
712 val
= apply(oglbasicc
.wxPyShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
714 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
715 val
= apply(oglbasicc
.wxPyShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
717 def base_OnRightClick(self
, *_args
, **_kwargs
):
718 val
= apply(oglbasicc
.wxPyShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
720 def base_OnSize(self
, *_args
, **_kwargs
):
721 val
= apply(oglbasicc
.wxPyShape_base_OnSize
,(self
,) + _args
, _kwargs
)
723 def base_OnMovePre(self
, *_args
, **_kwargs
):
724 val
= apply(oglbasicc
.wxPyShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
726 def base_OnMovePost(self
, *_args
, **_kwargs
):
727 val
= apply(oglbasicc
.wxPyShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
729 def base_OnDragLeft(self
, *_args
, **_kwargs
):
730 val
= apply(oglbasicc
.wxPyShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
732 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
733 val
= apply(oglbasicc
.wxPyShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
735 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
736 val
= apply(oglbasicc
.wxPyShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
738 def base_OnDragRight(self
, *_args
, **_kwargs
):
739 val
= apply(oglbasicc
.wxPyShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
741 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
742 val
= apply(oglbasicc
.wxPyShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
744 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
745 val
= apply(oglbasicc
.wxPyShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
747 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
748 val
= apply(oglbasicc
.wxPyShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
750 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
751 val
= apply(oglbasicc
.wxPyShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
753 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
754 val
= apply(oglbasicc
.wxPyShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
756 def base_OnMoveLink(self
, *_args
, **_kwargs
):
757 val
= apply(oglbasicc
.wxPyShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
759 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
760 val
= apply(oglbasicc
.wxPyShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
762 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
763 val
= apply(oglbasicc
.wxPyShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
765 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
766 val
= apply(oglbasicc
.wxPyShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
768 def base_OnBeginSize(self
, *_args
, **_kwargs
):
769 val
= apply(oglbasicc
.wxPyShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
771 def base_OnEndSize(self
, *_args
, **_kwargs
):
772 val
= apply(oglbasicc
.wxPyShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
775 return "<C wxPyShape instance at %s>" % (self
.this
,)
776 class wxPyShape(wxPyShapePtr
):
777 def __init__(self
,this
):
785 #-------------- FUNCTION WRAPPERS ------------------
789 #-------------- VARIABLE WRAPPERS ------------------