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 oglcanvas
import wxPyShapeCanvasPtr
35 class wxShapeRegionPtr
:
36 def __init__(self
,this
):
39 def SetText(self
, *_args
, **_kwargs
):
40 val
= apply(oglbasicc
.wxShapeRegion_SetText
,(self
,) + _args
, _kwargs
)
42 def SetFont(self
, *_args
, **_kwargs
):
43 val
= apply(oglbasicc
.wxShapeRegion_SetFont
,(self
,) + _args
, _kwargs
)
45 def SetMinSize(self
, *_args
, **_kwargs
):
46 val
= apply(oglbasicc
.wxShapeRegion_SetMinSize
,(self
,) + _args
, _kwargs
)
48 def SetSize(self
, *_args
, **_kwargs
):
49 val
= apply(oglbasicc
.wxShapeRegion_SetSize
,(self
,) + _args
, _kwargs
)
51 def SetPosition(self
, *_args
, **_kwargs
):
52 val
= apply(oglbasicc
.wxShapeRegion_SetPosition
,(self
,) + _args
, _kwargs
)
54 def SetProportions(self
, *_args
, **_kwargs
):
55 val
= apply(oglbasicc
.wxShapeRegion_SetProportions
,(self
,) + _args
, _kwargs
)
57 def SetFormatMode(self
, *_args
, **_kwargs
):
58 val
= apply(oglbasicc
.wxShapeRegion_SetFormatMode
,(self
,) + _args
, _kwargs
)
60 def SetName(self
, *_args
, **_kwargs
):
61 val
= apply(oglbasicc
.wxShapeRegion_SetName
,(self
,) + _args
, _kwargs
)
63 def SetColour(self
, *_args
, **_kwargs
):
64 val
= apply(oglbasicc
.wxShapeRegion_SetColour
,(self
,) + _args
, _kwargs
)
66 def GetText(self
, *_args
, **_kwargs
):
67 val
= apply(oglbasicc
.wxShapeRegion_GetText
,(self
,) + _args
, _kwargs
)
69 def GetFont(self
, *_args
, **_kwargs
):
70 val
= apply(oglbasicc
.wxShapeRegion_GetFont
,(self
,) + _args
, _kwargs
)
71 if val
: val
= wxFontPtr(val
)
73 def GetMinSize(self
, *_args
, **_kwargs
):
74 val
= apply(oglbasicc
.wxShapeRegion_GetMinSize
,(self
,) + _args
, _kwargs
)
76 def GetProportion(self
, *_args
, **_kwargs
):
77 val
= apply(oglbasicc
.wxShapeRegion_GetProportion
,(self
,) + _args
, _kwargs
)
79 def GetSize(self
, *_args
, **_kwargs
):
80 val
= apply(oglbasicc
.wxShapeRegion_GetSize
,(self
,) + _args
, _kwargs
)
82 def GetPosition(self
, *_args
, **_kwargs
):
83 val
= apply(oglbasicc
.wxShapeRegion_GetPosition
,(self
,) + _args
, _kwargs
)
85 def GetFormatMode(self
, *_args
, **_kwargs
):
86 val
= apply(oglbasicc
.wxShapeRegion_GetFormatMode
,(self
,) + _args
, _kwargs
)
88 def GetName(self
, *_args
, **_kwargs
):
89 val
= apply(oglbasicc
.wxShapeRegion_GetName
,(self
,) + _args
, _kwargs
)
91 def GetColour(self
, *_args
, **_kwargs
):
92 val
= apply(oglbasicc
.wxShapeRegion_GetColour
,(self
,) + _args
, _kwargs
)
94 def GetActualColourObject(self
, *_args
, **_kwargs
):
95 val
= apply(oglbasicc
.wxShapeRegion_GetActualColourObject
,(self
,) + _args
, _kwargs
)
96 if val
: val
= wxColourPtr(val
)
98 def GetFormattedText(self
, *_args
, **_kwargs
):
99 val
= apply(oglbasicc
.wxShapeRegion_GetFormattedText
,(self
,) + _args
, _kwargs
)
101 def GetPenColour(self
, *_args
, **_kwargs
):
102 val
= apply(oglbasicc
.wxShapeRegion_GetPenColour
,(self
,) + _args
, _kwargs
)
104 def GetPenStyle(self
, *_args
, **_kwargs
):
105 val
= apply(oglbasicc
.wxShapeRegion_GetPenStyle
,(self
,) + _args
, _kwargs
)
107 def SetPenStyle(self
, *_args
, **_kwargs
):
108 val
= apply(oglbasicc
.wxShapeRegion_SetPenStyle
,(self
,) + _args
, _kwargs
)
110 def SetPenColour(self
, *_args
, **_kwargs
):
111 val
= apply(oglbasicc
.wxShapeRegion_SetPenColour
,(self
,) + _args
, _kwargs
)
113 def GetActualPen(self
, *_args
, **_kwargs
):
114 val
= apply(oglbasicc
.wxShapeRegion_GetActualPen
,(self
,) + _args
, _kwargs
)
115 if val
: val
= wxPenPtr(val
)
117 def GetWidth(self
, *_args
, **_kwargs
):
118 val
= apply(oglbasicc
.wxShapeRegion_GetWidth
,(self
,) + _args
, _kwargs
)
120 def GetHeight(self
, *_args
, **_kwargs
):
121 val
= apply(oglbasicc
.wxShapeRegion_GetHeight
,(self
,) + _args
, _kwargs
)
123 def ClearText(self
, *_args
, **_kwargs
):
124 val
= apply(oglbasicc
.wxShapeRegion_ClearText
,(self
,) + _args
, _kwargs
)
127 return "<C wxShapeRegion instance at %s>" % (self
.this
,)
128 class wxShapeRegion(wxShapeRegionPtr
):
129 def __init__(self
,*_args
,**_kwargs
):
130 self
.this
= apply(oglbasicc
.new_wxShapeRegion
,_args
,_kwargs
)
136 class wxPyShapeEvtHandlerPtr
:
137 def __init__(self
,this
):
140 def _setSelf(self
, *_args
, **_kwargs
):
141 val
= apply(oglbasicc
.wxPyShapeEvtHandler__setSelf
,(self
,) + _args
, _kwargs
)
143 def Destroy(self
, *_args
, **_kwargs
):
144 val
= apply(oglbasicc
.wxPyShapeEvtHandler_Destroy
,(self
,) + _args
, _kwargs
)
146 def SetShape(self
, *_args
, **_kwargs
):
147 val
= apply(oglbasicc
.wxPyShapeEvtHandler_SetShape
,(self
,) + _args
, _kwargs
)
149 def GetShape(self
, *_args
, **_kwargs
):
150 val
= apply(oglbasicc
.wxPyShapeEvtHandler_GetShape
,(self
,) + _args
, _kwargs
)
151 if val
: val
= wxPyShapePtr(val
)
153 def SetPreviousHandler(self
, *_args
, **_kwargs
):
154 val
= apply(oglbasicc
.wxPyShapeEvtHandler_SetPreviousHandler
,(self
,) + _args
, _kwargs
)
156 def GetPreviousHandler(self
, *_args
, **_kwargs
):
157 val
= apply(oglbasicc
.wxPyShapeEvtHandler_GetPreviousHandler
,(self
,) + _args
, _kwargs
)
158 if val
: val
= wxPyShapeEvtHandlerPtr(val
)
160 def CreateNewCopy(self
, *_args
, **_kwargs
):
161 val
= apply(oglbasicc
.wxPyShapeEvtHandler_CreateNewCopy
,(self
,) + _args
, _kwargs
)
162 if val
: val
= wxPyShapeEvtHandlerPtr(val
)
164 def base_OnDelete(self
, *_args
, **_kwargs
):
165 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDelete
,(self
,) + _args
, _kwargs
)
167 def base_OnDraw(self
, *_args
, **_kwargs
):
168 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDraw
,(self
,) + _args
, _kwargs
)
170 def base_OnDrawContents(self
, *_args
, **_kwargs
):
171 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
173 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
174 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
176 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
177 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
179 def base_OnErase(self
, *_args
, **_kwargs
):
180 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnErase
,(self
,) + _args
, _kwargs
)
182 def base_OnEraseContents(self
, *_args
, **_kwargs
):
183 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
185 def base_OnHighlight(self
, *_args
, **_kwargs
):
186 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnHighlight
,(self
,) + _args
, _kwargs
)
188 def base_OnLeftClick(self
, *_args
, **_kwargs
):
189 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
191 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
192 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
194 def base_OnRightClick(self
, *_args
, **_kwargs
):
195 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnRightClick
,(self
,) + _args
, _kwargs
)
197 def base_OnSize(self
, *_args
, **_kwargs
):
198 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSize
,(self
,) + _args
, _kwargs
)
200 def base_OnMovePre(self
, *_args
, **_kwargs
):
201 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMovePre
,(self
,) + _args
, _kwargs
)
203 def base_OnMovePost(self
, *_args
, **_kwargs
):
204 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMovePost
,(self
,) + _args
, _kwargs
)
206 def base_OnDragLeft(self
, *_args
, **_kwargs
):
207 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
209 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
210 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
212 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
213 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
215 def base_OnDragRight(self
, *_args
, **_kwargs
):
216 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDragRight
,(self
,) + _args
, _kwargs
)
218 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
219 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
221 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
222 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
224 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
225 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
227 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
228 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
230 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
231 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
233 def base_OnMoveLink(self
, *_args
, **_kwargs
):
234 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
236 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
237 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
239 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
240 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
242 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
243 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
245 def base_OnBeginSize(self
, *_args
, **_kwargs
):
246 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
248 def base_OnEndSize(self
, *_args
, **_kwargs
):
249 val
= apply(oglbasicc
.wxPyShapeEvtHandler_base_OnEndSize
,(self
,) + _args
, _kwargs
)
252 return "<C wxPyShapeEvtHandler instance at %s>" % (self
.this
,)
253 class wxPyShapeEvtHandler(wxPyShapeEvtHandlerPtr
):
254 def __init__(self
,*_args
,**_kwargs
):
255 self
.this
= apply(oglbasicc
.new_wxPyShapeEvtHandler
,_args
,_kwargs
)
262 class wxPyShapePtr(wxPyShapeEvtHandlerPtr
):
263 def __init__(self
,this
):
266 def _setSelf(self
, *_args
, **_kwargs
):
267 val
= apply(oglbasicc
.wxPyShape__setSelf
,(self
,) + _args
, _kwargs
)
269 def Destroy(self
, *_args
, **_kwargs
):
270 val
= apply(oglbasicc
.wxPyShape_Destroy
,(self
,) + _args
, _kwargs
)
272 def GetBoundingBoxMax(self
, *_args
, **_kwargs
):
273 val
= apply(oglbasicc
.wxPyShape_GetBoundingBoxMax
,(self
,) + _args
, _kwargs
)
275 def GetBoundingBoxMin(self
, *_args
, **_kwargs
):
276 val
= apply(oglbasicc
.wxPyShape_GetBoundingBoxMin
,(self
,) + _args
, _kwargs
)
278 def GetPerimeterPoint(self
, *_args
, **_kwargs
):
279 val
= apply(oglbasicc
.wxPyShape_GetPerimeterPoint
,(self
,) + _args
, _kwargs
)
281 def GetCanvas(self
, *_args
, **_kwargs
):
282 val
= apply(oglbasicc
.wxPyShape_GetCanvas
,(self
,) + _args
, _kwargs
)
283 if val
: val
= wxPyShapeCanvasPtr(val
)
285 def SetCanvas(self
, *_args
, **_kwargs
):
286 val
= apply(oglbasicc
.wxPyShape_SetCanvas
,(self
,) + _args
, _kwargs
)
288 def AddToCanvas(self
, *_args
, **_kwargs
):
289 val
= apply(oglbasicc
.wxPyShape_AddToCanvas
,(self
,) + _args
, _kwargs
)
291 def InsertInCanvas(self
, *_args
, **_kwargs
):
292 val
= apply(oglbasicc
.wxPyShape_InsertInCanvas
,(self
,) + _args
, _kwargs
)
294 def RemoveFromCanvas(self
, *_args
, **_kwargs
):
295 val
= apply(oglbasicc
.wxPyShape_RemoveFromCanvas
,(self
,) + _args
, _kwargs
)
297 def GetX(self
, *_args
, **_kwargs
):
298 val
= apply(oglbasicc
.wxPyShape_GetX
,(self
,) + _args
, _kwargs
)
300 def GetY(self
, *_args
, **_kwargs
):
301 val
= apply(oglbasicc
.wxPyShape_GetY
,(self
,) + _args
, _kwargs
)
303 def SetX(self
, *_args
, **_kwargs
):
304 val
= apply(oglbasicc
.wxPyShape_SetX
,(self
,) + _args
, _kwargs
)
306 def SetY(self
, *_args
, **_kwargs
):
307 val
= apply(oglbasicc
.wxPyShape_SetY
,(self
,) + _args
, _kwargs
)
309 def GetParent(self
, *_args
, **_kwargs
):
310 val
= apply(oglbasicc
.wxPyShape_GetParent
,(self
,) + _args
, _kwargs
)
311 if val
: val
= wxPyShapePtr(val
)
313 def SetParent(self
, *_args
, **_kwargs
):
314 val
= apply(oglbasicc
.wxPyShape_SetParent
,(self
,) + _args
, _kwargs
)
316 def GetTopAncestor(self
, *_args
, **_kwargs
):
317 val
= apply(oglbasicc
.wxPyShape_GetTopAncestor
,(self
,) + _args
, _kwargs
)
318 if val
: val
= wxPyShapePtr(val
)
320 def GetChildren(self
, *_args
, **_kwargs
):
321 val
= apply(oglbasicc
.wxPyShape_GetChildren
,(self
,) + _args
, _kwargs
)
323 def Unlink(self
, *_args
, **_kwargs
):
324 val
= apply(oglbasicc
.wxPyShape_Unlink
,(self
,) + _args
, _kwargs
)
326 def SetDrawHandles(self
, *_args
, **_kwargs
):
327 val
= apply(oglbasicc
.wxPyShape_SetDrawHandles
,(self
,) + _args
, _kwargs
)
329 def GetDrawHandles(self
, *_args
, **_kwargs
):
330 val
= apply(oglbasicc
.wxPyShape_GetDrawHandles
,(self
,) + _args
, _kwargs
)
332 def MakeControlPoints(self
, *_args
, **_kwargs
):
333 val
= apply(oglbasicc
.wxPyShape_MakeControlPoints
,(self
,) + _args
, _kwargs
)
335 def DeleteControlPoints(self
, *_args
, **_kwargs
):
336 val
= apply(oglbasicc
.wxPyShape_DeleteControlPoints
,(self
,) + _args
, _kwargs
)
338 def ResetControlPoints(self
, *_args
, **_kwargs
):
339 val
= apply(oglbasicc
.wxPyShape_ResetControlPoints
,(self
,) + _args
, _kwargs
)
341 def GetEventHandler(self
, *_args
, **_kwargs
):
342 val
= apply(oglbasicc
.wxPyShape_GetEventHandler
,(self
,) + _args
, _kwargs
)
343 if val
: val
= wxPyShapeEvtHandlerPtr(val
)
345 def SetEventHandler(self
, *_args
, **_kwargs
):
346 val
= apply(oglbasicc
.wxPyShape_SetEventHandler
,(self
,) + _args
, _kwargs
)
348 def MakeMandatoryControlPoints(self
, *_args
, **_kwargs
):
349 val
= apply(oglbasicc
.wxPyShape_MakeMandatoryControlPoints
,(self
,) + _args
, _kwargs
)
351 def ResetMandatoryControlPoints(self
, *_args
, **_kwargs
):
352 val
= apply(oglbasicc
.wxPyShape_ResetMandatoryControlPoints
,(self
,) + _args
, _kwargs
)
354 def Recompute(self
, *_args
, **_kwargs
):
355 val
= apply(oglbasicc
.wxPyShape_Recompute
,(self
,) + _args
, _kwargs
)
357 def CalculateSize(self
, *_args
, **_kwargs
):
358 val
= apply(oglbasicc
.wxPyShape_CalculateSize
,(self
,) + _args
, _kwargs
)
360 def Select(self
, *_args
, **_kwargs
):
361 val
= apply(oglbasicc
.wxPyShape_Select
,(self
,) + _args
, _kwargs
)
363 def SetHighlight(self
, *_args
, **_kwargs
):
364 val
= apply(oglbasicc
.wxPyShape_SetHighlight
,(self
,) + _args
, _kwargs
)
366 def IsHighlighted(self
, *_args
, **_kwargs
):
367 val
= apply(oglbasicc
.wxPyShape_IsHighlighted
,(self
,) + _args
, _kwargs
)
369 def Selected(self
, *_args
, **_kwargs
):
370 val
= apply(oglbasicc
.wxPyShape_Selected
,(self
,) + _args
, _kwargs
)
372 def AncestorSelected(self
, *_args
, **_kwargs
):
373 val
= apply(oglbasicc
.wxPyShape_AncestorSelected
,(self
,) + _args
, _kwargs
)
375 def SetSensitivityFilter(self
, *_args
, **_kwargs
):
376 val
= apply(oglbasicc
.wxPyShape_SetSensitivityFilter
,(self
,) + _args
, _kwargs
)
378 def GetSensitivityFilter(self
, *_args
, **_kwargs
):
379 val
= apply(oglbasicc
.wxPyShape_GetSensitivityFilter
,(self
,) + _args
, _kwargs
)
381 def SetDraggable(self
, *_args
, **_kwargs
):
382 val
= apply(oglbasicc
.wxPyShape_SetDraggable
,(self
,) + _args
, _kwargs
)
384 def SetFixedSize(self
, *_args
, **_kwargs
):
385 val
= apply(oglbasicc
.wxPyShape_SetFixedSize
,(self
,) + _args
, _kwargs
)
387 def GetFixedSize(self
, *_args
, **_kwargs
):
388 val
= apply(oglbasicc
.wxPyShape_GetFixedSize
,(self
,) + _args
, _kwargs
)
390 def GetFixedWidth(self
, *_args
, **_kwargs
):
391 val
= apply(oglbasicc
.wxPyShape_GetFixedWidth
,(self
,) + _args
, _kwargs
)
393 def GetFixedHeight(self
, *_args
, **_kwargs
):
394 val
= apply(oglbasicc
.wxPyShape_GetFixedHeight
,(self
,) + _args
, _kwargs
)
396 def SetSpaceAttachments(self
, *_args
, **_kwargs
):
397 val
= apply(oglbasicc
.wxPyShape_SetSpaceAttachments
,(self
,) + _args
, _kwargs
)
399 def GetSpaceAttachments(self
, *_args
, **_kwargs
):
400 val
= apply(oglbasicc
.wxPyShape_GetSpaceAttachments
,(self
,) + _args
, _kwargs
)
402 def SetShadowMode(self
, *_args
, **_kwargs
):
403 val
= apply(oglbasicc
.wxPyShape_SetShadowMode
,(self
,) + _args
, _kwargs
)
405 def GetShadowMode(self
, *_args
, **_kwargs
):
406 val
= apply(oglbasicc
.wxPyShape_GetShadowMode
,(self
,) + _args
, _kwargs
)
408 def HitTest(self
, *_args
, **_kwargs
):
409 val
= apply(oglbasicc
.wxPyShape_HitTest
,(self
,) + _args
, _kwargs
)
411 def SetCentreResize(self
, *_args
, **_kwargs
):
412 val
= apply(oglbasicc
.wxPyShape_SetCentreResize
,(self
,) + _args
, _kwargs
)
414 def GetCentreResize(self
, *_args
, **_kwargs
):
415 val
= apply(oglbasicc
.wxPyShape_GetCentreResize
,(self
,) + _args
, _kwargs
)
417 def SetMaintainAspectRatio(self
, *_args
, **_kwargs
):
418 val
= apply(oglbasicc
.wxPyShape_SetMaintainAspectRatio
,(self
,) + _args
, _kwargs
)
420 def GetMaintainAspectRatio(self
, *_args
, **_kwargs
):
421 val
= apply(oglbasicc
.wxPyShape_GetMaintainAspectRatio
,(self
,) + _args
, _kwargs
)
423 def GetLines(self
, *_args
, **_kwargs
):
424 val
= apply(oglbasicc
.wxPyShape_GetLines
,(self
,) + _args
, _kwargs
)
426 def SetDisableLabel(self
, *_args
, **_kwargs
):
427 val
= apply(oglbasicc
.wxPyShape_SetDisableLabel
,(self
,) + _args
, _kwargs
)
429 def GetDisableLabel(self
, *_args
, **_kwargs
):
430 val
= apply(oglbasicc
.wxPyShape_GetDisableLabel
,(self
,) + _args
, _kwargs
)
432 def SetAttachmentMode(self
, *_args
, **_kwargs
):
433 val
= apply(oglbasicc
.wxPyShape_SetAttachmentMode
,(self
,) + _args
, _kwargs
)
435 def GetAttachmentMode(self
, *_args
, **_kwargs
):
436 val
= apply(oglbasicc
.wxPyShape_GetAttachmentMode
,(self
,) + _args
, _kwargs
)
438 def SetId(self
, *_args
, **_kwargs
):
439 val
= apply(oglbasicc
.wxPyShape_SetId
,(self
,) + _args
, _kwargs
)
441 def GetId(self
, *_args
, **_kwargs
):
442 val
= apply(oglbasicc
.wxPyShape_GetId
,(self
,) + _args
, _kwargs
)
444 def SetPen(self
, *_args
, **_kwargs
):
445 val
= apply(oglbasicc
.wxPyShape_SetPen
,(self
,) + _args
, _kwargs
)
447 def SetBrush(self
, *_args
, **_kwargs
):
448 val
= apply(oglbasicc
.wxPyShape_SetBrush
,(self
,) + _args
, _kwargs
)
450 def SetClientData(self
, *_args
, **_kwargs
):
451 val
= apply(oglbasicc
.wxPyShape_SetClientData
,(self
,) + _args
, _kwargs
)
453 def GetClientData(self
, *_args
, **_kwargs
):
454 val
= apply(oglbasicc
.wxPyShape_GetClientData
,(self
,) + _args
, _kwargs
)
456 def Show(self
, *_args
, **_kwargs
):
457 val
= apply(oglbasicc
.wxPyShape_Show
,(self
,) + _args
, _kwargs
)
459 def IsShown(self
, *_args
, **_kwargs
):
460 val
= apply(oglbasicc
.wxPyShape_IsShown
,(self
,) + _args
, _kwargs
)
462 def Move(self
, *_args
, **_kwargs
):
463 val
= apply(oglbasicc
.wxPyShape_Move
,(self
,) + _args
, _kwargs
)
465 def Erase(self
, *_args
, **_kwargs
):
466 val
= apply(oglbasicc
.wxPyShape_Erase
,(self
,) + _args
, _kwargs
)
468 def EraseContents(self
, *_args
, **_kwargs
):
469 val
= apply(oglbasicc
.wxPyShape_EraseContents
,(self
,) + _args
, _kwargs
)
471 def Draw(self
, *_args
, **_kwargs
):
472 val
= apply(oglbasicc
.wxPyShape_Draw
,(self
,) + _args
, _kwargs
)
474 def Flash(self
, *_args
, **_kwargs
):
475 val
= apply(oglbasicc
.wxPyShape_Flash
,(self
,) + _args
, _kwargs
)
477 def MoveLinks(self
, *_args
, **_kwargs
):
478 val
= apply(oglbasicc
.wxPyShape_MoveLinks
,(self
,) + _args
, _kwargs
)
480 def DrawContents(self
, *_args
, **_kwargs
):
481 val
= apply(oglbasicc
.wxPyShape_DrawContents
,(self
,) + _args
, _kwargs
)
483 def SetSize(self
, *_args
, **_kwargs
):
484 val
= apply(oglbasicc
.wxPyShape_SetSize
,(self
,) + _args
, _kwargs
)
486 def SetAttachmentSize(self
, *_args
, **_kwargs
):
487 val
= apply(oglbasicc
.wxPyShape_SetAttachmentSize
,(self
,) + _args
, _kwargs
)
489 def Attach(self
, *_args
, **_kwargs
):
490 val
= apply(oglbasicc
.wxPyShape_Attach
,(self
,) + _args
, _kwargs
)
492 def Detach(self
, *_args
, **_kwargs
):
493 val
= apply(oglbasicc
.wxPyShape_Detach
,(self
,) + _args
, _kwargs
)
495 def Constrain(self
, *_args
, **_kwargs
):
496 val
= apply(oglbasicc
.wxPyShape_Constrain
,(self
,) + _args
, _kwargs
)
498 def AddLine(self
, *_args
, **_kwargs
):
499 val
= apply(oglbasicc
.wxPyShape_AddLine
,(self
,) + _args
, _kwargs
)
501 def GetLinePosition(self
, *_args
, **_kwargs
):
502 val
= apply(oglbasicc
.wxPyShape_GetLinePosition
,(self
,) + _args
, _kwargs
)
504 def AddText(self
, *_args
, **_kwargs
):
505 val
= apply(oglbasicc
.wxPyShape_AddText
,(self
,) + _args
, _kwargs
)
507 def GetPen(self
, *_args
, **_kwargs
):
508 val
= apply(oglbasicc
.wxPyShape_GetPen
,(self
,) + _args
, _kwargs
)
509 if val
: val
= wxPenPtr(val
)
511 def GetBrush(self
, *_args
, **_kwargs
):
512 val
= apply(oglbasicc
.wxPyShape_GetBrush
,(self
,) + _args
, _kwargs
)
513 if val
: val
= wxBrushPtr(val
)
515 def SetDefaultRegionSize(self
, *_args
, **_kwargs
):
516 val
= apply(oglbasicc
.wxPyShape_SetDefaultRegionSize
,(self
,) + _args
, _kwargs
)
518 def FormatText(self
, *_args
, **_kwargs
):
519 val
= apply(oglbasicc
.wxPyShape_FormatText
,(self
,) + _args
, _kwargs
)
521 def SetFormatMode(self
, *_args
, **_kwargs
):
522 val
= apply(oglbasicc
.wxPyShape_SetFormatMode
,(self
,) + _args
, _kwargs
)
524 def GetFormatMode(self
, *_args
, **_kwargs
):
525 val
= apply(oglbasicc
.wxPyShape_GetFormatMode
,(self
,) + _args
, _kwargs
)
527 def SetFont(self
, *_args
, **_kwargs
):
528 val
= apply(oglbasicc
.wxPyShape_SetFont
,(self
,) + _args
, _kwargs
)
530 def GetFont(self
, *_args
, **_kwargs
):
531 val
= apply(oglbasicc
.wxPyShape_GetFont
,(self
,) + _args
, _kwargs
)
532 if val
: val
= wxFontPtr(val
)
534 def SetTextColour(self
, *_args
, **_kwargs
):
535 val
= apply(oglbasicc
.wxPyShape_SetTextColour
,(self
,) + _args
, _kwargs
)
537 def GetTextColour(self
, *_args
, **_kwargs
):
538 val
= apply(oglbasicc
.wxPyShape_GetTextColour
,(self
,) + _args
, _kwargs
)
540 def GetNumberOfTextRegions(self
, *_args
, **_kwargs
):
541 val
= apply(oglbasicc
.wxPyShape_GetNumberOfTextRegions
,(self
,) + _args
, _kwargs
)
543 def SetRegionName(self
, *_args
, **_kwargs
):
544 val
= apply(oglbasicc
.wxPyShape_SetRegionName
,(self
,) + _args
, _kwargs
)
546 def GetRegionName(self
, *_args
, **_kwargs
):
547 val
= apply(oglbasicc
.wxPyShape_GetRegionName
,(self
,) + _args
, _kwargs
)
549 def GetRegionId(self
, *_args
, **_kwargs
):
550 val
= apply(oglbasicc
.wxPyShape_GetRegionId
,(self
,) + _args
, _kwargs
)
552 def NameRegions(self
, *_args
, **_kwargs
):
553 val
= apply(oglbasicc
.wxPyShape_NameRegions
,(self
,) + _args
, _kwargs
)
555 def GetRegions(self
, *_args
, **_kwargs
):
556 val
= apply(oglbasicc
.wxPyShape_GetRegions
,(self
,) + _args
, _kwargs
)
558 def AddRegion(self
, *_args
, **_kwargs
):
559 val
= apply(oglbasicc
.wxPyShape_AddRegion
,(self
,) + _args
, _kwargs
)
561 def ClearRegions(self
, *_args
, **_kwargs
):
562 val
= apply(oglbasicc
.wxPyShape_ClearRegions
,(self
,) + _args
, _kwargs
)
564 def AssignNewIds(self
, *_args
, **_kwargs
):
565 val
= apply(oglbasicc
.wxPyShape_AssignNewIds
,(self
,) + _args
, _kwargs
)
567 def FindRegion(self
, *_args
, **_kwargs
):
568 val
= apply(oglbasicc
.wxPyShape_FindRegion
,(self
,) + _args
, _kwargs
)
569 if val
: val
= wxPyShapePtr(val
)
571 def FindRegionNames(self
, *_args
, **_kwargs
):
572 val
= apply(oglbasicc
.wxPyShape_FindRegionNames
,(self
,) + _args
, _kwargs
)
574 def ClearText(self
, *_args
, **_kwargs
):
575 val
= apply(oglbasicc
.wxPyShape_ClearText
,(self
,) + _args
, _kwargs
)
577 def RemoveLine(self
, *_args
, **_kwargs
):
578 val
= apply(oglbasicc
.wxPyShape_RemoveLine
,(self
,) + _args
, _kwargs
)
580 def GetAttachmentPosition(self
, *_args
, **_kwargs
):
581 val
= apply(oglbasicc
.wxPyShape_GetAttachmentPosition
,(self
,) + _args
, _kwargs
)
583 def GetNumberOfAttachments(self
, *_args
, **_kwargs
):
584 val
= apply(oglbasicc
.wxPyShape_GetNumberOfAttachments
,(self
,) + _args
, _kwargs
)
586 def AttachmentIsValid(self
, *_args
, **_kwargs
):
587 val
= apply(oglbasicc
.wxPyShape_AttachmentIsValid
,(self
,) + _args
, _kwargs
)
589 def GetAttachmentPositionEdge(self
, *_args
, **_kwargs
):
590 val
= apply(oglbasicc
.wxPyShape_GetAttachmentPositionEdge
,(self
,) + _args
, _kwargs
)
592 def CalcSimpleAttachment(self
, *_args
, **_kwargs
):
593 val
= apply(oglbasicc
.wxPyShape_CalcSimpleAttachment
,(self
,) + _args
, _kwargs
)
594 if val
: val
= wxRealPointPtr(val
) ; val
.thisown
= 1
596 def AttachmentSortTest(self
, *_args
, **_kwargs
):
597 val
= apply(oglbasicc
.wxPyShape_AttachmentSortTest
,(self
,) + _args
, _kwargs
)
599 def EraseLinks(self
, *_args
, **_kwargs
):
600 val
= apply(oglbasicc
.wxPyShape_EraseLinks
,(self
,) + _args
, _kwargs
)
602 def DrawLinks(self
, *_args
, **_kwargs
):
603 val
= apply(oglbasicc
.wxPyShape_DrawLinks
,(self
,) + _args
, _kwargs
)
605 def MoveLineToNewAttachment(self
, *_args
, **_kwargs
):
606 val
= apply(oglbasicc
.wxPyShape_MoveLineToNewAttachment
,(self
,) + _args
, _kwargs
)
608 def ApplyAttachmentOrdering(self
, *_args
, **_kwargs
):
609 val
= apply(oglbasicc
.wxPyShape_ApplyAttachmentOrdering
,(self
,) + _args
, _kwargs
)
611 def GetBranchingAttachmentRoot(self
, *_args
, **_kwargs
):
612 val
= apply(oglbasicc
.wxPyShape_GetBranchingAttachmentRoot
,(self
,) + _args
, _kwargs
)
613 if val
: val
= wxRealPointPtr(val
) ; val
.thisown
= 1
615 def GetBranchingAttachmentInfo(self
, *_args
, **_kwargs
):
616 val
= apply(oglbasicc
.wxPyShape_GetBranchingAttachmentInfo
,(self
,) + _args
, _kwargs
)
618 def GetBranchingAttachmentPoint(self
, *_args
, **_kwargs
):
619 val
= apply(oglbasicc
.wxPyShape_GetBranchingAttachmentPoint
,(self
,) + _args
, _kwargs
)
621 def GetAttachmentLineCount(self
, *_args
, **_kwargs
):
622 val
= apply(oglbasicc
.wxPyShape_GetAttachmentLineCount
,(self
,) + _args
, _kwargs
)
624 def SetBranchNeckLength(self
, *_args
, **_kwargs
):
625 val
= apply(oglbasicc
.wxPyShape_SetBranchNeckLength
,(self
,) + _args
, _kwargs
)
627 def GetBranchNeckLength(self
, *_args
, **_kwargs
):
628 val
= apply(oglbasicc
.wxPyShape_GetBranchNeckLength
,(self
,) + _args
, _kwargs
)
630 def SetBranchStemLength(self
, *_args
, **_kwargs
):
631 val
= apply(oglbasicc
.wxPyShape_SetBranchStemLength
,(self
,) + _args
, _kwargs
)
633 def GetBranchStemLength(self
, *_args
, **_kwargs
):
634 val
= apply(oglbasicc
.wxPyShape_GetBranchStemLength
,(self
,) + _args
, _kwargs
)
636 def SetBranchSpacing(self
, *_args
, **_kwargs
):
637 val
= apply(oglbasicc
.wxPyShape_SetBranchSpacing
,(self
,) + _args
, _kwargs
)
639 def GetBranchSpacing(self
, *_args
, **_kwargs
):
640 val
= apply(oglbasicc
.wxPyShape_GetBranchSpacing
,(self
,) + _args
, _kwargs
)
642 def SetBranchStyle(self
, *_args
, **_kwargs
):
643 val
= apply(oglbasicc
.wxPyShape_SetBranchStyle
,(self
,) + _args
, _kwargs
)
645 def GetBranchStyle(self
, *_args
, **_kwargs
):
646 val
= apply(oglbasicc
.wxPyShape_GetBranchStyle
,(self
,) + _args
, _kwargs
)
648 def PhysicalToLogicalAttachment(self
, *_args
, **_kwargs
):
649 val
= apply(oglbasicc
.wxPyShape_PhysicalToLogicalAttachment
,(self
,) + _args
, _kwargs
)
651 def LogicalToPhysicalAttachment(self
, *_args
, **_kwargs
):
652 val
= apply(oglbasicc
.wxPyShape_LogicalToPhysicalAttachment
,(self
,) + _args
, _kwargs
)
654 def Draggable(self
, *_args
, **_kwargs
):
655 val
= apply(oglbasicc
.wxPyShape_Draggable
,(self
,) + _args
, _kwargs
)
657 def HasDescendant(self
, *_args
, **_kwargs
):
658 val
= apply(oglbasicc
.wxPyShape_HasDescendant
,(self
,) + _args
, _kwargs
)
660 def CreateNewCopy(self
, *_args
, **_kwargs
):
661 val
= apply(oglbasicc
.wxPyShape_CreateNewCopy
,(self
,) + _args
, _kwargs
)
662 if val
: val
= wxPyShapePtr(val
)
664 def Copy(self
, *_args
, **_kwargs
):
665 val
= apply(oglbasicc
.wxPyShape_Copy
,(self
,) + _args
, _kwargs
)
667 def CopyWithHandler(self
, *_args
, **_kwargs
):
668 val
= apply(oglbasicc
.wxPyShape_CopyWithHandler
,(self
,) + _args
, _kwargs
)
670 def Rotate(self
, *_args
, **_kwargs
):
671 val
= apply(oglbasicc
.wxPyShape_Rotate
,(self
,) + _args
, _kwargs
)
673 def GetRotation(self
, *_args
, **_kwargs
):
674 val
= apply(oglbasicc
.wxPyShape_GetRotation
,(self
,) + _args
, _kwargs
)
676 def ClearAttachments(self
, *_args
, **_kwargs
):
677 val
= apply(oglbasicc
.wxPyShape_ClearAttachments
,(self
,) + _args
, _kwargs
)
679 def Recentre(self
, *_args
, **_kwargs
):
680 val
= apply(oglbasicc
.wxPyShape_Recentre
,(self
,) + _args
, _kwargs
)
682 def ClearPointList(self
, *_args
, **_kwargs
):
683 val
= apply(oglbasicc
.wxPyShape_ClearPointList
,(self
,) + _args
, _kwargs
)
685 def base_OnDelete(self
, *_args
, **_kwargs
):
686 val
= apply(oglbasicc
.wxPyShape_base_OnDelete
,(self
,) + _args
, _kwargs
)
688 def base_OnDraw(self
, *_args
, **_kwargs
):
689 val
= apply(oglbasicc
.wxPyShape_base_OnDraw
,(self
,) + _args
, _kwargs
)
691 def base_OnDrawContents(self
, *_args
, **_kwargs
):
692 val
= apply(oglbasicc
.wxPyShape_base_OnDrawContents
,(self
,) + _args
, _kwargs
)
694 def base_OnDrawBranches(self
, *_args
, **_kwargs
):
695 val
= apply(oglbasicc
.wxPyShape_base_OnDrawBranches
,(self
,) + _args
, _kwargs
)
697 def base_OnMoveLinks(self
, *_args
, **_kwargs
):
698 val
= apply(oglbasicc
.wxPyShape_base_OnMoveLinks
,(self
,) + _args
, _kwargs
)
700 def base_OnErase(self
, *_args
, **_kwargs
):
701 val
= apply(oglbasicc
.wxPyShape_base_OnErase
,(self
,) + _args
, _kwargs
)
703 def base_OnEraseContents(self
, *_args
, **_kwargs
):
704 val
= apply(oglbasicc
.wxPyShape_base_OnEraseContents
,(self
,) + _args
, _kwargs
)
706 def base_OnHighlight(self
, *_args
, **_kwargs
):
707 val
= apply(oglbasicc
.wxPyShape_base_OnHighlight
,(self
,) + _args
, _kwargs
)
709 def base_OnLeftClick(self
, *_args
, **_kwargs
):
710 val
= apply(oglbasicc
.wxPyShape_base_OnLeftClick
,(self
,) + _args
, _kwargs
)
712 def base_OnLeftDoubleClick(self
, *_args
, **_kwargs
):
713 val
= apply(oglbasicc
.wxPyShape_base_OnLeftDoubleClick
,(self
,) + _args
, _kwargs
)
715 def base_OnRightClick(self
, *_args
, **_kwargs
):
716 val
= apply(oglbasicc
.wxPyShape_base_OnRightClick
,(self
,) + _args
, _kwargs
)
718 def base_OnSize(self
, *_args
, **_kwargs
):
719 val
= apply(oglbasicc
.wxPyShape_base_OnSize
,(self
,) + _args
, _kwargs
)
721 def base_OnMovePre(self
, *_args
, **_kwargs
):
722 val
= apply(oglbasicc
.wxPyShape_base_OnMovePre
,(self
,) + _args
, _kwargs
)
724 def base_OnMovePost(self
, *_args
, **_kwargs
):
725 val
= apply(oglbasicc
.wxPyShape_base_OnMovePost
,(self
,) + _args
, _kwargs
)
727 def base_OnDragLeft(self
, *_args
, **_kwargs
):
728 val
= apply(oglbasicc
.wxPyShape_base_OnDragLeft
,(self
,) + _args
, _kwargs
)
730 def base_OnBeginDragLeft(self
, *_args
, **_kwargs
):
731 val
= apply(oglbasicc
.wxPyShape_base_OnBeginDragLeft
,(self
,) + _args
, _kwargs
)
733 def base_OnEndDragLeft(self
, *_args
, **_kwargs
):
734 val
= apply(oglbasicc
.wxPyShape_base_OnEndDragLeft
,(self
,) + _args
, _kwargs
)
736 def base_OnDragRight(self
, *_args
, **_kwargs
):
737 val
= apply(oglbasicc
.wxPyShape_base_OnDragRight
,(self
,) + _args
, _kwargs
)
739 def base_OnBeginDragRight(self
, *_args
, **_kwargs
):
740 val
= apply(oglbasicc
.wxPyShape_base_OnBeginDragRight
,(self
,) + _args
, _kwargs
)
742 def base_OnEndDragRight(self
, *_args
, **_kwargs
):
743 val
= apply(oglbasicc
.wxPyShape_base_OnEndDragRight
,(self
,) + _args
, _kwargs
)
745 def base_OnDrawOutline(self
, *_args
, **_kwargs
):
746 val
= apply(oglbasicc
.wxPyShape_base_OnDrawOutline
,(self
,) + _args
, _kwargs
)
748 def base_OnDrawControlPoints(self
, *_args
, **_kwargs
):
749 val
= apply(oglbasicc
.wxPyShape_base_OnDrawControlPoints
,(self
,) + _args
, _kwargs
)
751 def base_OnEraseControlPoints(self
, *_args
, **_kwargs
):
752 val
= apply(oglbasicc
.wxPyShape_base_OnEraseControlPoints
,(self
,) + _args
, _kwargs
)
754 def base_OnMoveLink(self
, *_args
, **_kwargs
):
755 val
= apply(oglbasicc
.wxPyShape_base_OnMoveLink
,(self
,) + _args
, _kwargs
)
757 def base_OnSizingDragLeft(self
, *_args
, **_kwargs
):
758 val
= apply(oglbasicc
.wxPyShape_base_OnSizingDragLeft
,(self
,) + _args
, _kwargs
)
760 def base_OnSizingBeginDragLeft(self
, *_args
, **_kwargs
):
761 val
= apply(oglbasicc
.wxPyShape_base_OnSizingBeginDragLeft
,(self
,) + _args
, _kwargs
)
763 def base_OnSizingEndDragLeft(self
, *_args
, **_kwargs
):
764 val
= apply(oglbasicc
.wxPyShape_base_OnSizingEndDragLeft
,(self
,) + _args
, _kwargs
)
766 def base_OnBeginSize(self
, *_args
, **_kwargs
):
767 val
= apply(oglbasicc
.wxPyShape_base_OnBeginSize
,(self
,) + _args
, _kwargs
)
769 def base_OnEndSize(self
, *_args
, **_kwargs
):
770 val
= apply(oglbasicc
.wxPyShape_base_OnEndSize
,(self
,) + _args
, _kwargs
)
773 return "<C wxPyShape instance at %s>" % (self
.this
,)
774 class wxPyShape(wxPyShapePtr
):
775 def __init__(self
,this
):
783 #-------------- FUNCTION WRAPPERS ------------------
787 #-------------- VARIABLE WRAPPERS ------------------