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 oglcanvas
import wxPyShapeCanvasPtr
45 class wxShapeRegionPtr(wxObjectPtr
):
46 def __init__(self
,this
):
49 def SetText(self
, *_args
, **_kwargs
):
50 val
= apply(oglbasicc
.wxShapeRegion_SetText
,(self
,) + _args
, _kwargs
)
52 def SetFont(self
, *_args
, **_kwargs
):
53 val
= apply(oglbasicc
.wxShapeRegion_SetFont
,(self
,) + _args
, _kwargs
)
55 def SetMinSize(self
, *_args
, **_kwargs
):
56 val
= apply(oglbasicc
.wxShapeRegion_SetMinSize
,(self
,) + _args
, _kwargs
)
58 def SetSize(self
, *_args
, **_kwargs
):
59 val
= apply(oglbasicc
.wxShapeRegion_SetSize
,(self
,) + _args
, _kwargs
)
61 def SetPosition(self
, *_args
, **_kwargs
):
62 val
= apply(oglbasicc
.wxShapeRegion_SetPosition
,(self
,) + _args
, _kwargs
)
64 def SetProportions(self
, *_args
, **_kwargs
):
65 val
= apply(oglbasicc
.wxShapeRegion_SetProportions
,(self
,) + _args
, _kwargs
)
67 def SetFormatMode(self
, *_args
, **_kwargs
):
68 val
= apply(oglbasicc
.wxShapeRegion_SetFormatMode
,(self
,) + _args
, _kwargs
)
70 def SetName(self
, *_args
, **_kwargs
):
71 val
= apply(oglbasicc
.wxShapeRegion_SetName
,(self
,) + _args
, _kwargs
)
73 def SetColour(self
, *_args
, **_kwargs
):
74 val
= apply(oglbasicc
.wxShapeRegion_SetColour
,(self
,) + _args
, _kwargs
)
76 def GetText(self
, *_args
, **_kwargs
):
77 val
= apply(oglbasicc
.wxShapeRegion_GetText
,(self
,) + _args
, _kwargs
)
79 def GetFont(self
, *_args
, **_kwargs
):
80 val
= apply(oglbasicc
.wxShapeRegion_GetFont
,(self
,) + _args
, _kwargs
)
81 if val
: val
= wxFontPtr(val
)
83 def GetMinSize(self
, *_args
, **_kwargs
):
84 val
= apply(oglbasicc
.wxShapeRegion_GetMinSize
,(self
,) + _args
, _kwargs
)
86 def GetProportion(self
, *_args
, **_kwargs
):
87 val
= apply(oglbasicc
.wxShapeRegion_GetProportion
,(self
,) + _args
, _kwargs
)
89 def GetSize(self
, *_args
, **_kwargs
):
90 val
= apply(oglbasicc
.wxShapeRegion_GetSize
,(self
,) + _args
, _kwargs
)
92 def GetPosition(self
, *_args
, **_kwargs
):
93 val
= apply(oglbasicc
.wxShapeRegion_GetPosition
,(self
,) + _args
, _kwargs
)
95 def GetFormatMode(self
, *_args
, **_kwargs
):
96 val
= apply(oglbasicc
.wxShapeRegion_GetFormatMode
,(self
,) + _args
, _kwargs
)
98 def GetName(self
, *_args
, **_kwargs
):
99 val
= apply(oglbasicc
.wxShapeRegion_GetName
,(self
,) + _args
, _kwargs
)
101 def GetColour(self
, *_args
, **_kwargs
):
102 val
= apply(oglbasicc
.wxShapeRegion_GetColour
,(self
,) + _args
, _kwargs
)
104 def GetActualColourObject(self
, *_args
, **_kwargs
):
105 val
= apply(oglbasicc
.wxShapeRegion_GetActualColourObject
,(self
,) + _args
, _kwargs
)
106 if val
: val
= wxColourPtr(val
)
108 def GetFormattedText(self
, *_args
, **_kwargs
):
109 val
= apply(oglbasicc
.wxShapeRegion_GetFormattedText
,(self
,) + _args
, _kwargs
)
111 def GetPenColour(self
, *_args
, **_kwargs
):
112 val
= apply(oglbasicc
.wxShapeRegion_GetPenColour
,(self
,) + _args
, _kwargs
)
114 def GetPenStyle(self
, *_args
, **_kwargs
):
115 val
= apply(oglbasicc
.wxShapeRegion_GetPenStyle
,(self
,) + _args
, _kwargs
)
117 def SetPenStyle(self
, *_args
, **_kwargs
):
118 val
= apply(oglbasicc
.wxShapeRegion_SetPenStyle
,(self
,) + _args
, _kwargs
)
120 def SetPenColour(self
, *_args
, **_kwargs
):
121 val
= apply(oglbasicc
.wxShapeRegion_SetPenColour
,(self
,) + _args
, _kwargs
)
123 def GetActualPen(self
, *_args
, **_kwargs
):
124 val
= apply(oglbasicc
.wxShapeRegion_GetActualPen
,(self
,) + _args
, _kwargs
)
125 if val
: val
= wxPenPtr(val
)
127 def GetWidth(self
, *_args
, **_kwargs
):
128 val
= apply(oglbasicc
.wxShapeRegion_GetWidth
,(self
,) + _args
, _kwargs
)
130 def GetHeight(self
, *_args
, **_kwargs
):
131 val
= apply(oglbasicc
.wxShapeRegion_GetHeight
,(self
,) + _args
, _kwargs
)
133 def ClearText(self
, *_args
, **_kwargs
):
134 val
= apply(oglbasicc
.wxShapeRegion_ClearText
,(self
,) + _args
, _kwargs
)
137 return "<C wxShapeRegion instance at %s>" % (self
.this
,)
138 class wxShapeRegion(wxShapeRegionPtr
):
139 def __init__(self
,*_args
,**_kwargs
):
140 self
.this
= apply(oglbasicc
.new_wxShapeRegion
,_args
,_kwargs
)
146 class wxPyShapeEvtHandlerPtr(wxObjectPtr
):
147 def __init__(self
,this
):
150 def _setSelf(self
, *_args
, **_kwargs
):
151 val
= apply(oglbasicc
.wxPyShapeEvtHandler__setSelf
,(self
,) + _args
, _kwargs
)
153 def Destroy(self
, *_args
, **_kwargs
):
154 val
= apply(oglbasicc
.wxPyShapeEvtHandler_Destroy
,(self
,) + _args
, _kwargs
)
156 def SetShape(self
, *_args
, **_kwargs
):
157 val
= apply(oglbasicc
.wxPyShapeEvtHandler_SetShape
,(self
,) + _args
, _kwargs
)
159 def GetShape(self
, *_args
, **_kwargs
):
160 val
= apply(oglbasicc
.wxPyShapeEvtHandler_GetShape
,(self
,) + _args
, _kwargs
)
162 def SetPreviousHandler(self
, *_args
, **_kwargs
):
163 val
= apply(oglbasicc
.wxPyShapeEvtHandler_SetPreviousHandler
,(self
,) + _args
, _kwargs
)
165 def GetPreviousHandler(self
, *_args
, **_kwargs
):
166 val
= apply(oglbasicc
.wxPyShapeEvtHandler_GetPreviousHandler
,(self
,) + _args
, _kwargs
)
168 def CreateNewCopy(self
, *_args
, **_kwargs
):
169 val
= apply(oglbasicc
.wxPyShapeEvtHandler_CreateNewCopy
,(self
,) + _args
, _kwargs
)
171 def base_OnDelete(self
, *_args
, **_kwargs
):
172 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDelete
,(self
,) + _args
, _kwargs
)
174 def base_OnDraw(self
, *_args
, **_kwargs
):
175 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDraw
,(self
,) + _args
, _kwargs
)
177 def base_OnDrawContents(self
, *_args
, **_kwargs
):
178 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
180 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
181 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
183 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
184 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
186 def base_OnErase(self
, *_args
, **_kwargs
):
187 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnErase
,(self
,) + _args
, _kwargs
)
189 def base_OnEraseContents(self
, *_args
, **_kwargs
):
190 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
192 def base_OnHighlight(self
, *_args
, **_kwargs
):
193 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnHighlight
,(self
,) + _args
, _kwargs
)
195 def base_OnLeftClick(self
, *_args
, **_kwargs
):
196 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
198 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
199 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
201 def base_OnRightClick(self
, *_args
, **_kwargs
):
202 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnRightClick
,(self
,) + _args
, _kwargs
)
204 def base_OnSize(self
, *_args
, **_kwargs
):
205 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSize
,(self
,) + _args
, _kwargs
)
207 def base_OnMovePre(self
, *_args
, **_kwargs
):
208 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMovePre
,(self
,) + _args
, _kwargs
)
210 def base_OnMovePost(self
, *_args
, **_kwargs
):
211 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMovePost
,(self
,) + _args
, _kwargs
)
213 def base_OnDragLeft(self
, *_args
, **_kwargs
):
214 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
216 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
217 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
219 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
220 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
222 def base_OnDragRight(self
, *_args
, **_kwargs
):
223 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDragRight
,(self
,) + _args
, _kwargs
)
225 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
226 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
228 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
229 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
231 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
232 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
234 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
235 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
237 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
238 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
240 def base_OnMoveLink(self
, *_args
, **_kwargs
):
241 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
243 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
244 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
246 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
247 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
249 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
250 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
252 def base_OnBeginSize(self
, *_args
, **_kwargs
):
253 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
255 def base_OnEndSize(self
, *_args
, **_kwargs
):
256 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndSize
,(self
,) + _args
, _kwargs
)
259 return "<C wxPyShapeEvtHandler instance at %s>" % (self
.this
,)
260 class wxPyShapeEvtHandler(wxPyShapeEvtHandlerPtr
):
261 def __init__(self
,*_args
,**_kwargs
):
262 self
.this
= apply(oglbasicc
.new_wxPyShapeEvtHandler
,_args
,_kwargs
)
264 self
._setSelf
(self
, wxPyShapeEvtHandler
)
269 class wxPyShapePtr(wxPyShapeEvtHandlerPtr
):
270 def __init__(self
,this
):
273 def _setSelf(self
, *_args
, **_kwargs
):
274 val
= apply(oglbasicc
.wxPyShape__setSelf
,(self
,) + _args
, _kwargs
)
276 def Destroy(self
, *_args
, **_kwargs
):
277 val
= apply(oglbasicc
.wxPyShape_Destroy
,(self
,) + _args
, _kwargs
)
279 def GetBoundingBoxMax(self
, *_args
, **_kwargs
):
280 val
= apply(oglbasicc
.wxPyShape_GetBoundingBoxMax
,(self
,) + _args
, _kwargs
)
282 def GetBoundingBoxMin(self
, *_args
, **_kwargs
):
283 val
= apply(oglbasicc
.wxPyShape_GetBoundingBoxMin
,(self
,) + _args
, _kwargs
)
285 def GetPerimeterPoint(self
, *_args
, **_kwargs
):
286 val
= apply(oglbasicc
.wxPyShape_GetPerimeterPoint
,(self
,) + _args
, _kwargs
)
288 def GetCanvas(self
, *_args
, **_kwargs
):
289 val
= apply(oglbasicc
.wxPyShape_GetCanvas
,(self
,) + _args
, _kwargs
)
291 def SetCanvas(self
, *_args
, **_kwargs
):
292 val
= apply(oglbasicc
.wxPyShape_SetCanvas
,(self
,) + _args
, _kwargs
)
294 def AddToCanvas(self
, *_args
, **_kwargs
):
295 val
= apply(oglbasicc
.wxPyShape_AddToCanvas
,(self
,) + _args
, _kwargs
)
297 def InsertInCanvas(self
, *_args
, **_kwargs
):
298 val
= apply(oglbasicc
.wxPyShape_InsertInCanvas
,(self
,) + _args
, _kwargs
)
300 def RemoveFromCanvas(self
, *_args
, **_kwargs
):
301 val
= apply(oglbasicc
.wxPyShape_RemoveFromCanvas
,(self
,) + _args
, _kwargs
)
303 def GetX(self
, *_args
, **_kwargs
):
304 val
= apply(oglbasicc
.wxPyShape_GetX
,(self
,) + _args
, _kwargs
)
306 def GetY(self
, *_args
, **_kwargs
):
307 val
= apply(oglbasicc
.wxPyShape_GetY
,(self
,) + _args
, _kwargs
)
309 def SetX(self
, *_args
, **_kwargs
):
310 val
= apply(oglbasicc
.wxPyShape_SetX
,(self
,) + _args
, _kwargs
)
312 def SetY(self
, *_args
, **_kwargs
):
313 val
= apply(oglbasicc
.wxPyShape_SetY
,(self
,) + _args
, _kwargs
)
315 def GetParent(self
, *_args
, **_kwargs
):
316 val
= apply(oglbasicc
.wxPyShape_GetParent
,(self
,) + _args
, _kwargs
)
318 def SetParent(self
, *_args
, **_kwargs
):
319 val
= apply(oglbasicc
.wxPyShape_SetParent
,(self
,) + _args
, _kwargs
)
321 def GetTopAncestor(self
, *_args
, **_kwargs
):
322 val
= apply(oglbasicc
.wxPyShape_GetTopAncestor
,(self
,) + _args
, _kwargs
)
324 def GetChildren(self
, *_args
, **_kwargs
):
325 val
= apply(oglbasicc
.wxPyShape_GetChildren
,(self
,) + _args
, _kwargs
)
327 def Unlink(self
, *_args
, **_kwargs
):
328 val
= apply(oglbasicc
.wxPyShape_Unlink
,(self
,) + _args
, _kwargs
)
330 def SetDrawHandles(self
, *_args
, **_kwargs
):
331 val
= apply(oglbasicc
.wxPyShape_SetDrawHandles
,(self
,) + _args
, _kwargs
)
333 def GetDrawHandles(self
, *_args
, **_kwargs
):
334 val
= apply(oglbasicc
.wxPyShape_GetDrawHandles
,(self
,) + _args
, _kwargs
)
336 def MakeControlPoints(self
, *_args
, **_kwargs
):
337 val
= apply(oglbasicc
.wxPyShape_MakeControlPoints
,(self
,) + _args
, _kwargs
)
339 def DeleteControlPoints(self
, *_args
, **_kwargs
):
340 val
= apply(oglbasicc
.wxPyShape_DeleteControlPoints
,(self
,) + _args
, _kwargs
)
342 def ResetControlPoints(self
, *_args
, **_kwargs
):
343 val
= apply(oglbasicc
.wxPyShape_ResetControlPoints
,(self
,) + _args
, _kwargs
)
345 def GetEventHandler(self
, *_args
, **_kwargs
):
346 val
= apply(oglbasicc
.wxPyShape_GetEventHandler
,(self
,) + _args
, _kwargs
)
348 def SetEventHandler(self
, *_args
, **_kwargs
):
349 val
= apply(oglbasicc
.wxPyShape_SetEventHandler
,(self
,) + _args
, _kwargs
)
351 def MakeMandatoryControlPoints(self
, *_args
, **_kwargs
):
352 val
= apply(oglbasicc
.wxPyShape_MakeMandatoryControlPoints
,(self
,) + _args
, _kwargs
)
354 def ResetMandatoryControlPoints(self
, *_args
, **_kwargs
):
355 val
= apply(oglbasicc
.wxPyShape_ResetMandatoryControlPoints
,(self
,) + _args
, _kwargs
)
357 def Recompute(self
, *_args
, **_kwargs
):
358 val
= apply(oglbasicc
.wxPyShape_Recompute
,(self
,) + _args
, _kwargs
)
360 def CalculateSize(self
, *_args
, **_kwargs
):
361 val
= apply(oglbasicc
.wxPyShape_CalculateSize
,(self
,) + _args
, _kwargs
)
363 def Select(self
, *_args
, **_kwargs
):
364 val
= apply(oglbasicc
.wxPyShape_Select
,(self
,) + _args
, _kwargs
)
366 def SetHighlight(self
, *_args
, **_kwargs
):
367 val
= apply(oglbasicc
.wxPyShape_SetHighlight
,(self
,) + _args
, _kwargs
)
369 def IsHighlighted(self
, *_args
, **_kwargs
):
370 val
= apply(oglbasicc
.wxPyShape_IsHighlighted
,(self
,) + _args
, _kwargs
)
372 def Selected(self
, *_args
, **_kwargs
):
373 val
= apply(oglbasicc
.wxPyShape_Selected
,(self
,) + _args
, _kwargs
)
375 def AncestorSelected(self
, *_args
, **_kwargs
):
376 val
= apply(oglbasicc
.wxPyShape_AncestorSelected
,(self
,) + _args
, _kwargs
)
378 def SetSensitivityFilter(self
, *_args
, **_kwargs
):
379 val
= apply(oglbasicc
.wxPyShape_SetSensitivityFilter
,(self
,) + _args
, _kwargs
)
381 def GetSensitivityFilter(self
, *_args
, **_kwargs
):
382 val
= apply(oglbasicc
.wxPyShape_GetSensitivityFilter
,(self
,) + _args
, _kwargs
)
384 def SetDraggable(self
, *_args
, **_kwargs
):
385 val
= apply(oglbasicc
.wxPyShape_SetDraggable
,(self
,) + _args
, _kwargs
)
387 def SetFixedSize(self
, *_args
, **_kwargs
):
388 val
= apply(oglbasicc
.wxPyShape_SetFixedSize
,(self
,) + _args
, _kwargs
)
390 def GetFixedSize(self
, *_args
, **_kwargs
):
391 val
= apply(oglbasicc
.wxPyShape_GetFixedSize
,(self
,) + _args
, _kwargs
)
393 def GetFixedWidth(self
, *_args
, **_kwargs
):
394 val
= apply(oglbasicc
.wxPyShape_GetFixedWidth
,(self
,) + _args
, _kwargs
)
396 def GetFixedHeight(self
, *_args
, **_kwargs
):
397 val
= apply(oglbasicc
.wxPyShape_GetFixedHeight
,(self
,) + _args
, _kwargs
)
399 def SetSpaceAttachments(self
, *_args
, **_kwargs
):
400 val
= apply(oglbasicc
.wxPyShape_SetSpaceAttachments
,(self
,) + _args
, _kwargs
)
402 def GetSpaceAttachments(self
, *_args
, **_kwargs
):
403 val
= apply(oglbasicc
.wxPyShape_GetSpaceAttachments
,(self
,) + _args
, _kwargs
)
405 def SetShadowMode(self
, *_args
, **_kwargs
):
406 val
= apply(oglbasicc
.wxPyShape_SetShadowMode
,(self
,) + _args
, _kwargs
)
408 def GetShadowMode(self
, *_args
, **_kwargs
):
409 val
= apply(oglbasicc
.wxPyShape_GetShadowMode
,(self
,) + _args
, _kwargs
)
411 def HitTest(self
, *_args
, **_kwargs
):
412 val
= apply(oglbasicc
.wxPyShape_HitTest
,(self
,) + _args
, _kwargs
)
414 def SetCentreResize(self
, *_args
, **_kwargs
):
415 val
= apply(oglbasicc
.wxPyShape_SetCentreResize
,(self
,) + _args
, _kwargs
)
417 def GetCentreResize(self
, *_args
, **_kwargs
):
418 val
= apply(oglbasicc
.wxPyShape_GetCentreResize
,(self
,) + _args
, _kwargs
)
420 def SetMaintainAspectRatio(self
, *_args
, **_kwargs
):
421 val
= apply(oglbasicc
.wxPyShape_SetMaintainAspectRatio
,(self
,) + _args
, _kwargs
)
423 def GetMaintainAspectRatio(self
, *_args
, **_kwargs
):
424 val
= apply(oglbasicc
.wxPyShape_GetMaintainAspectRatio
,(self
,) + _args
, _kwargs
)
426 def GetLines(self
, *_args
, **_kwargs
):
427 val
= apply(oglbasicc
.wxPyShape_GetLines
,(self
,) + _args
, _kwargs
)
429 def SetDisableLabel(self
, *_args
, **_kwargs
):
430 val
= apply(oglbasicc
.wxPyShape_SetDisableLabel
,(self
,) + _args
, _kwargs
)
432 def GetDisableLabel(self
, *_args
, **_kwargs
):
433 val
= apply(oglbasicc
.wxPyShape_GetDisableLabel
,(self
,) + _args
, _kwargs
)
435 def SetAttachmentMode(self
, *_args
, **_kwargs
):
436 val
= apply(oglbasicc
.wxPyShape_SetAttachmentMode
,(self
,) + _args
, _kwargs
)
438 def GetAttachmentMode(self
, *_args
, **_kwargs
):
439 val
= apply(oglbasicc
.wxPyShape_GetAttachmentMode
,(self
,) + _args
, _kwargs
)
441 def SetId(self
, *_args
, **_kwargs
):
442 val
= apply(oglbasicc
.wxPyShape_SetId
,(self
,) + _args
, _kwargs
)
444 def GetId(self
, *_args
, **_kwargs
):
445 val
= apply(oglbasicc
.wxPyShape_GetId
,(self
,) + _args
, _kwargs
)
447 def SetPen(self
, *_args
, **_kwargs
):
448 val
= apply(oglbasicc
.wxPyShape_SetPen
,(self
,) + _args
, _kwargs
)
450 def SetBrush(self
, *_args
, **_kwargs
):
451 val
= apply(oglbasicc
.wxPyShape_SetBrush
,(self
,) + _args
, _kwargs
)
453 def SetClientData(self
, *_args
, **_kwargs
):
454 val
= apply(oglbasicc
.wxPyShape_SetClientData
,(self
,) + _args
, _kwargs
)
456 def GetClientData(self
, *_args
, **_kwargs
):
457 val
= apply(oglbasicc
.wxPyShape_GetClientData
,(self
,) + _args
, _kwargs
)
459 def Show(self
, *_args
, **_kwargs
):
460 val
= apply(oglbasicc
.wxPyShape_Show
,(self
,) + _args
, _kwargs
)
462 def IsShown(self
, *_args
, **_kwargs
):
463 val
= apply(oglbasicc
.wxPyShape_IsShown
,(self
,) + _args
, _kwargs
)
465 def Move(self
, *_args
, **_kwargs
):
466 val
= apply(oglbasicc
.wxPyShape_Move
,(self
,) + _args
, _kwargs
)
468 def Erase(self
, *_args
, **_kwargs
):
469 val
= apply(oglbasicc
.wxPyShape_Erase
,(self
,) + _args
, _kwargs
)
471 def EraseContents(self
, *_args
, **_kwargs
):
472 val
= apply(oglbasicc
.wxPyShape_EraseContents
,(self
,) + _args
, _kwargs
)
474 def Draw(self
, *_args
, **_kwargs
):
475 val
= apply(oglbasicc
.wxPyShape_Draw
,(self
,) + _args
, _kwargs
)
477 def Flash(self
, *_args
, **_kwargs
):
478 val
= apply(oglbasicc
.wxPyShape_Flash
,(self
,) + _args
, _kwargs
)
480 def MoveLinks(self
, *_args
, **_kwargs
):
481 val
= apply(oglbasicc
.wxPyShape_MoveLinks
,(self
,) + _args
, _kwargs
)
483 def DrawContents(self
, *_args
, **_kwargs
):
484 val
= apply(oglbasicc
.wxPyShape_DrawContents
,(self
,) + _args
, _kwargs
)
486 def SetSize(self
, *_args
, **_kwargs
):
487 val
= apply(oglbasicc
.wxPyShape_SetSize
,(self
,) + _args
, _kwargs
)
489 def SetAttachmentSize(self
, *_args
, **_kwargs
):
490 val
= apply(oglbasicc
.wxPyShape_SetAttachmentSize
,(self
,) + _args
, _kwargs
)
492 def Attach(self
, *_args
, **_kwargs
):
493 val
= apply(oglbasicc
.wxPyShape_Attach
,(self
,) + _args
, _kwargs
)
495 def Detach(self
, *_args
, **_kwargs
):
496 val
= apply(oglbasicc
.wxPyShape_Detach
,(self
,) + _args
, _kwargs
)
498 def Constrain(self
, *_args
, **_kwargs
):
499 val
= apply(oglbasicc
.wxPyShape_Constrain
,(self
,) + _args
, _kwargs
)
501 def AddLine(self
, *_args
, **_kwargs
):
502 val
= apply(oglbasicc
.wxPyShape_AddLine
,(self
,) + _args
, _kwargs
)
504 def GetLinePosition(self
, *_args
, **_kwargs
):
505 val
= apply(oglbasicc
.wxPyShape_GetLinePosition
,(self
,) + _args
, _kwargs
)
507 def AddText(self
, *_args
, **_kwargs
):
508 val
= apply(oglbasicc
.wxPyShape_AddText
,(self
,) + _args
, _kwargs
)
510 def GetPen(self
, *_args
, **_kwargs
):
511 val
= apply(oglbasicc
.wxPyShape_GetPen
,(self
,) + _args
, _kwargs
)
512 if val
: val
= wxPenPtr(val
)
514 def GetBrush(self
, *_args
, **_kwargs
):
515 val
= apply(oglbasicc
.wxPyShape_GetBrush
,(self
,) + _args
, _kwargs
)
516 if val
: val
= wxBrushPtr(val
)
518 def SetDefaultRegionSize(self
, *_args
, **_kwargs
):
519 val
= apply(oglbasicc
.wxPyShape_SetDefaultRegionSize
,(self
,) + _args
, _kwargs
)
521 def FormatText(self
, *_args
, **_kwargs
):
522 val
= apply(oglbasicc
.wxPyShape_FormatText
,(self
,) + _args
, _kwargs
)
524 def SetFormatMode(self
, *_args
, **_kwargs
):
525 val
= apply(oglbasicc
.wxPyShape_SetFormatMode
,(self
,) + _args
, _kwargs
)
527 def GetFormatMode(self
, *_args
, **_kwargs
):
528 val
= apply(oglbasicc
.wxPyShape_GetFormatMode
,(self
,) + _args
, _kwargs
)
530 def SetFont(self
, *_args
, **_kwargs
):
531 val
= apply(oglbasicc
.wxPyShape_SetFont
,(self
,) + _args
, _kwargs
)
533 def GetFont(self
, *_args
, **_kwargs
):
534 val
= apply(oglbasicc
.wxPyShape_GetFont
,(self
,) + _args
, _kwargs
)
535 if val
: val
= wxFontPtr(val
)
537 def SetTextColour(self
, *_args
, **_kwargs
):
538 val
= apply(oglbasicc
.wxPyShape_SetTextColour
,(self
,) + _args
, _kwargs
)
540 def GetTextColour(self
, *_args
, **_kwargs
):
541 val
= apply(oglbasicc
.wxPyShape_GetTextColour
,(self
,) + _args
, _kwargs
)
543 def GetNumberOfTextRegions(self
, *_args
, **_kwargs
):
544 val
= apply(oglbasicc
.wxPyShape_GetNumberOfTextRegions
,(self
,) + _args
, _kwargs
)
546 def SetRegionName(self
, *_args
, **_kwargs
):
547 val
= apply(oglbasicc
.wxPyShape_SetRegionName
,(self
,) + _args
, _kwargs
)
549 def GetRegionName(self
, *_args
, **_kwargs
):
550 val
= apply(oglbasicc
.wxPyShape_GetRegionName
,(self
,) + _args
, _kwargs
)
552 def GetRegionId(self
, *_args
, **_kwargs
):
553 val
= apply(oglbasicc
.wxPyShape_GetRegionId
,(self
,) + _args
, _kwargs
)
555 def NameRegions(self
, *_args
, **_kwargs
):
556 val
= apply(oglbasicc
.wxPyShape_NameRegions
,(self
,) + _args
, _kwargs
)
558 def GetRegions(self
, *_args
, **_kwargs
):
559 val
= apply(oglbasicc
.wxPyShape_GetRegions
,(self
,) + _args
, _kwargs
)
561 def AddRegion(self
, *_args
, **_kwargs
):
562 val
= apply(oglbasicc
.wxPyShape_AddRegion
,(self
,) + _args
, _kwargs
)
564 def ClearRegions(self
, *_args
, **_kwargs
):
565 val
= apply(oglbasicc
.wxPyShape_ClearRegions
,(self
,) + _args
, _kwargs
)
567 def AssignNewIds(self
, *_args
, **_kwargs
):
568 val
= apply(oglbasicc
.wxPyShape_AssignNewIds
,(self
,) + _args
, _kwargs
)
570 def FindRegion(self
, *_args
, **_kwargs
):
571 val
= apply(oglbasicc
.wxPyShape_FindRegion
,(self
,) + _args
, _kwargs
)
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
)
665 def Copy(self
, *_args
, **_kwargs
):
666 val
= apply(oglbasicc
.wxPyShape_Copy
,(self
,) + _args
, _kwargs
)
668 def CopyWithHandler(self
, *_args
, **_kwargs
):
669 val
= apply(oglbasicc
.wxPyShape_CopyWithHandler
,(self
,) + _args
, _kwargs
)
671 def Rotate(self
, *_args
, **_kwargs
):
672 val
= apply(oglbasicc
.wxPyShape_Rotate
,(self
,) + _args
, _kwargs
)
674 def GetRotation(self
, *_args
, **_kwargs
):
675 val
= apply(oglbasicc
.wxPyShape_GetRotation
,(self
,) + _args
, _kwargs
)
677 def ClearAttachments(self
, *_args
, **_kwargs
):
678 val
= apply(oglbasicc
.wxPyShape_ClearAttachments
,(self
,) + _args
, _kwargs
)
680 def Recentre(self
, *_args
, **_kwargs
):
681 val
= apply(oglbasicc
.wxPyShape_Recentre
,(self
,) + _args
, _kwargs
)
683 def ClearPointList(self
, *_args
, **_kwargs
):
684 val
= apply(oglbasicc
.wxPyShape_ClearPointList
,(self
,) + _args
, _kwargs
)
686 def base_OnDelete(self
, *_args
, **_kwargs
):
687 val
= apply(oglbasicc
.wxPyShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
689 def base_OnDraw(self
, *_args
, **_kwargs
):
690 val
= apply(oglbasicc
.wxPyShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
692 def base_OnDrawContents(self
, *_args
, **_kwargs
):
693 val
= apply(oglbasicc
.wxPyShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
695 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
696 val
= apply(oglbasicc
.wxPyShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
698 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
699 val
= apply(oglbasicc
.wxPyShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
701 def base_OnErase(self
, *_args
, **_kwargs
):
702 val
= apply(oglbasicc
.wxPyShape_base_OnErase
,(self
,) + _args
, _kwargs
)
704 def base_OnEraseContents(self
, *_args
, **_kwargs
):
705 val
= apply(oglbasicc
.wxPyShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
707 def base_OnHighlight(self
, *_args
, **_kwargs
):
708 val
= apply(oglbasicc
.wxPyShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
710 def base_OnLeftClick(self
, *_args
, **_kwargs
):
711 val
= apply(oglbasicc
.wxPyShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
713 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
714 val
= apply(oglbasicc
.wxPyShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
716 def base_OnRightClick(self
, *_args
, **_kwargs
):
717 val
= apply(oglbasicc
.wxPyShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
719 def base_OnSize(self
, *_args
, **_kwargs
):
720 val
= apply(oglbasicc
.wxPyShape_base_OnSize
,(self
,) + _args
, _kwargs
)
722 def base_OnMovePre(self
, *_args
, **_kwargs
):
723 val
= apply(oglbasicc
.wxPyShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
725 def base_OnMovePost(self
, *_args
, **_kwargs
):
726 val
= apply(oglbasicc
.wxPyShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
728 def base_OnDragLeft(self
, *_args
, **_kwargs
):
729 val
= apply(oglbasicc
.wxPyShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
731 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
732 val
= apply(oglbasicc
.wxPyShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
734 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
735 val
= apply(oglbasicc
.wxPyShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
737 def base_OnDragRight(self
, *_args
, **_kwargs
):
738 val
= apply(oglbasicc
.wxPyShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
740 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
741 val
= apply(oglbasicc
.wxPyShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
743 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
744 val
= apply(oglbasicc
.wxPyShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
746 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
747 val
= apply(oglbasicc
.wxPyShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
749 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
750 val
= apply(oglbasicc
.wxPyShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
752 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
753 val
= apply(oglbasicc
.wxPyShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
755 def base_OnMoveLink(self
, *_args
, **_kwargs
):
756 val
= apply(oglbasicc
.wxPyShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
758 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
759 val
= apply(oglbasicc
.wxPyShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
761 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
762 val
= apply(oglbasicc
.wxPyShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
764 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
765 val
= apply(oglbasicc
.wxPyShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
767 def base_OnBeginSize(self
, *_args
, **_kwargs
):
768 val
= apply(oglbasicc
.wxPyShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
770 def base_OnEndSize(self
, *_args
, **_kwargs
):
771 val
= apply(oglbasicc
.wxPyShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
774 return "<C wxPyShape instance at %s>" % (self
.this
,)
775 class wxPyShape(wxPyShapePtr
):
776 def __init__(self
,this
):
784 #-------------- FUNCTION WRAPPERS ------------------
788 #-------------- VARIABLE WRAPPERS ------------------