1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
9 #---------------------------------------------------------------------------
11 class ShapeRegion(core
.Object
):
13 return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
14 def __init__(self
, *args
, **kwargs
):
15 """__init__() -> ShapeRegion"""
16 newobj
= _ogl
.new_ShapeRegion(*args
, **kwargs
)
17 self
.this
= newobj
.this
20 def SetText(*args
, **kwargs
):
21 """SetText(String s)"""
22 return _ogl
.ShapeRegion_SetText(*args
, **kwargs
)
24 def SetFont(*args
, **kwargs
):
26 return _ogl
.ShapeRegion_SetFont(*args
, **kwargs
)
28 def SetMinSize(*args
, **kwargs
):
29 """SetMinSize(double w, double h)"""
30 return _ogl
.ShapeRegion_SetMinSize(*args
, **kwargs
)
32 def SetSize(*args
, **kwargs
):
33 """SetSize(double w, double h)"""
34 return _ogl
.ShapeRegion_SetSize(*args
, **kwargs
)
36 def SetPosition(*args
, **kwargs
):
37 """SetPosition(double x, double y)"""
38 return _ogl
.ShapeRegion_SetPosition(*args
, **kwargs
)
40 def SetProportions(*args
, **kwargs
):
41 """SetProportions(double x, double y)"""
42 return _ogl
.ShapeRegion_SetProportions(*args
, **kwargs
)
44 def SetFormatMode(*args
, **kwargs
):
45 """SetFormatMode(int mode)"""
46 return _ogl
.ShapeRegion_SetFormatMode(*args
, **kwargs
)
48 def SetName(*args
, **kwargs
):
49 """SetName(String s)"""
50 return _ogl
.ShapeRegion_SetName(*args
, **kwargs
)
52 def SetColour(*args
, **kwargs
):
53 """SetColour(String col)"""
54 return _ogl
.ShapeRegion_SetColour(*args
, **kwargs
)
56 def GetText(*args
, **kwargs
):
57 """GetText() -> String"""
58 return _ogl
.ShapeRegion_GetText(*args
, **kwargs
)
60 def GetFont(*args
, **kwargs
):
61 """GetFont() -> Font"""
62 return _ogl
.ShapeRegion_GetFont(*args
, **kwargs
)
64 def GetMinSize(*args
, **kwargs
):
65 """GetMinSize(double OUTPUT, double OUTPUT)"""
66 return _ogl
.ShapeRegion_GetMinSize(*args
, **kwargs
)
68 def GetProportion(*args
, **kwargs
):
69 """GetProportion(double OUTPUT, double OUTPUT)"""
70 return _ogl
.ShapeRegion_GetProportion(*args
, **kwargs
)
72 def GetSize(*args
, **kwargs
):
73 """GetSize(double OUTPUT, double OUTPUT)"""
74 return _ogl
.ShapeRegion_GetSize(*args
, **kwargs
)
76 def GetPosition(*args
, **kwargs
):
77 """GetPosition(double OUTPUT, double OUTPUT)"""
78 return _ogl
.ShapeRegion_GetPosition(*args
, **kwargs
)
80 def GetFormatMode(*args
, **kwargs
):
81 """GetFormatMode() -> int"""
82 return _ogl
.ShapeRegion_GetFormatMode(*args
, **kwargs
)
84 def GetName(*args
, **kwargs
):
85 """GetName() -> String"""
86 return _ogl
.ShapeRegion_GetName(*args
, **kwargs
)
88 def GetColour(*args
, **kwargs
):
89 """GetColour() -> String"""
90 return _ogl
.ShapeRegion_GetColour(*args
, **kwargs
)
92 def GetActualColourObject(*args
, **kwargs
):
93 """GetActualColourObject() -> Colour"""
94 return _ogl
.ShapeRegion_GetActualColourObject(*args
, **kwargs
)
96 def GetFormattedText(*args
, **kwargs
):
97 """GetFormattedText() -> wxList"""
98 return _ogl
.ShapeRegion_GetFormattedText(*args
, **kwargs
)
100 def GetPenColour(*args
, **kwargs
):
101 """GetPenColour() -> String"""
102 return _ogl
.ShapeRegion_GetPenColour(*args
, **kwargs
)
104 def GetPenStyle(*args
, **kwargs
):
105 """GetPenStyle() -> int"""
106 return _ogl
.ShapeRegion_GetPenStyle(*args
, **kwargs
)
108 def SetPenStyle(*args
, **kwargs
):
109 """SetPenStyle(int style)"""
110 return _ogl
.ShapeRegion_SetPenStyle(*args
, **kwargs
)
112 def SetPenColour(*args
, **kwargs
):
113 """SetPenColour(String col)"""
114 return _ogl
.ShapeRegion_SetPenColour(*args
, **kwargs
)
116 def GetActualPen(*args
, **kwargs
):
117 """GetActualPen() -> wxPen"""
118 return _ogl
.ShapeRegion_GetActualPen(*args
, **kwargs
)
120 def GetWidth(*args
, **kwargs
):
121 """GetWidth() -> double"""
122 return _ogl
.ShapeRegion_GetWidth(*args
, **kwargs
)
124 def GetHeight(*args
, **kwargs
):
125 """GetHeight() -> double"""
126 return _ogl
.ShapeRegion_GetHeight(*args
, **kwargs
)
128 def ClearText(*args
, **kwargs
):
130 return _ogl
.ShapeRegion_ClearText(*args
, **kwargs
)
133 class ShapeRegionPtr(ShapeRegion
):
134 def __init__(self
, this
):
136 if not hasattr(self
,"thisown"): self
.thisown
= 0
137 self
.__class
__ = ShapeRegion
138 _ogl
.ShapeRegion_swigregister(ShapeRegionPtr
)
140 class AttachmentPoint(core
.Object
):
142 return "<%s.%s; proxy of C++ wxAttachmentPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
143 def __init__(self
, *args
, **kwargs
):
144 """__init__(int id=0, double x=0.0, double y=0.0) -> AttachmentPoint"""
145 newobj
= _ogl
.new_AttachmentPoint(*args
, **kwargs
)
146 self
.this
= newobj
.this
149 m_id
= property(_ogl
.AttachmentPoint_m_id_get
, _ogl
.AttachmentPoint_m_id_set
)
150 m_x
= property(_ogl
.AttachmentPoint_m_x_get
, _ogl
.AttachmentPoint_m_x_set
)
151 m_y
= property(_ogl
.AttachmentPoint_m_y_get
, _ogl
.AttachmentPoint_m_y_set
)
153 class AttachmentPointPtr(AttachmentPoint
):
154 def __init__(self
, this
):
156 if not hasattr(self
,"thisown"): self
.thisown
= 0
157 self
.__class
__ = AttachmentPoint
158 _ogl
.AttachmentPoint_swigregister(AttachmentPointPtr
)
160 class PyShapeEvtHandler(core
.Object
):
162 return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
163 def __init__(self
, *args
, **kwargs
):
164 """__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler"""
165 newobj
= _ogl
.new_PyShapeEvtHandler(*args
, **kwargs
)
166 self
.this
= newobj
.this
169 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
171 def _setCallbackInfo(*args
, **kwargs
):
172 """_setCallbackInfo(PyObject self, PyObject _class)"""
173 return _ogl
.PyShapeEvtHandler__setCallbackInfo(*args
, **kwargs
)
175 def _setOORInfo(*args
, **kwargs
):
176 """_setOORInfo(PyObject _self)"""
177 return _ogl
.PyShapeEvtHandler__setOORInfo(*args
, **kwargs
)
179 def _setOORandCallbackInfo(self
, _class
):
180 self
._setOORInfo
(self
)
181 self
._setCallbackInfo
(self
, _class
)
183 def SetShape(*args
, **kwargs
):
184 """SetShape(PyShape sh)"""
185 return _ogl
.PyShapeEvtHandler_SetShape(*args
, **kwargs
)
187 def GetShape(*args
, **kwargs
):
188 """GetShape() -> PyShape"""
189 return _ogl
.PyShapeEvtHandler_GetShape(*args
, **kwargs
)
191 def SetPreviousHandler(*args
, **kwargs
):
192 """SetPreviousHandler(PyShapeEvtHandler handler)"""
193 return _ogl
.PyShapeEvtHandler_SetPreviousHandler(*args
, **kwargs
)
195 def GetPreviousHandler(*args
, **kwargs
):
196 """GetPreviousHandler() -> PyShapeEvtHandler"""
197 return _ogl
.PyShapeEvtHandler_GetPreviousHandler(*args
, **kwargs
)
199 def CreateNewCopy(*args
, **kwargs
):
200 """CreateNewCopy() -> PyShapeEvtHandler"""
201 return _ogl
.PyShapeEvtHandler_CreateNewCopy(*args
, **kwargs
)
203 def base_OnDelete(*args
, **kwargs
):
204 """base_OnDelete()"""
205 return _ogl
.PyShapeEvtHandler_base_OnDelete(*args
, **kwargs
)
207 def base_OnDraw(*args
, **kwargs
):
208 """base_OnDraw(DC dc)"""
209 return _ogl
.PyShapeEvtHandler_base_OnDraw(*args
, **kwargs
)
211 def base_OnDrawContents(*args
, **kwargs
):
212 """base_OnDrawContents(DC dc)"""
213 return _ogl
.PyShapeEvtHandler_base_OnDrawContents(*args
, **kwargs
)
215 def base_OnDrawBranches(*args
, **kwargs
):
216 """base_OnDrawBranches(DC dc, bool erase=False)"""
217 return _ogl
.PyShapeEvtHandler_base_OnDrawBranches(*args
, **kwargs
)
219 def base_OnMoveLinks(*args
, **kwargs
):
220 """base_OnMoveLinks(DC dc)"""
221 return _ogl
.PyShapeEvtHandler_base_OnMoveLinks(*args
, **kwargs
)
223 def base_OnErase(*args
, **kwargs
):
224 """base_OnErase(DC dc)"""
225 return _ogl
.PyShapeEvtHandler_base_OnErase(*args
, **kwargs
)
227 def base_OnEraseContents(*args
, **kwargs
):
228 """base_OnEraseContents(DC dc)"""
229 return _ogl
.PyShapeEvtHandler_base_OnEraseContents(*args
, **kwargs
)
231 def base_OnHighlight(*args
, **kwargs
):
232 """base_OnHighlight(DC dc)"""
233 return _ogl
.PyShapeEvtHandler_base_OnHighlight(*args
, **kwargs
)
235 def base_OnLeftClick(*args
, **kwargs
):
236 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
237 return _ogl
.PyShapeEvtHandler_base_OnLeftClick(*args
, **kwargs
)
239 def base_OnLeftDoubleClick(*args
, **kwargs
):
240 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
241 return _ogl
.PyShapeEvtHandler_base_OnLeftDoubleClick(*args
, **kwargs
)
243 def base_OnRightClick(*args
, **kwargs
):
244 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
245 return _ogl
.PyShapeEvtHandler_base_OnRightClick(*args
, **kwargs
)
247 def base_OnSize(*args
, **kwargs
):
248 """base_OnSize(double x, double y)"""
249 return _ogl
.PyShapeEvtHandler_base_OnSize(*args
, **kwargs
)
251 def base_OnMovePre(*args
, **kwargs
):
253 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
254 bool display=True) -> bool
256 return _ogl
.PyShapeEvtHandler_base_OnMovePre(*args
, **kwargs
)
258 def base_OnMovePost(*args
, **kwargs
):
260 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
263 return _ogl
.PyShapeEvtHandler_base_OnMovePost(*args
, **kwargs
)
265 def base_OnDragLeft(*args
, **kwargs
):
266 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
267 return _ogl
.PyShapeEvtHandler_base_OnDragLeft(*args
, **kwargs
)
269 def base_OnBeginDragLeft(*args
, **kwargs
):
270 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
271 return _ogl
.PyShapeEvtHandler_base_OnBeginDragLeft(*args
, **kwargs
)
273 def base_OnEndDragLeft(*args
, **kwargs
):
274 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
275 return _ogl
.PyShapeEvtHandler_base_OnEndDragLeft(*args
, **kwargs
)
277 def base_OnDragRight(*args
, **kwargs
):
278 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
279 return _ogl
.PyShapeEvtHandler_base_OnDragRight(*args
, **kwargs
)
281 def base_OnBeginDragRight(*args
, **kwargs
):
282 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
283 return _ogl
.PyShapeEvtHandler_base_OnBeginDragRight(*args
, **kwargs
)
285 def base_OnEndDragRight(*args
, **kwargs
):
286 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
287 return _ogl
.PyShapeEvtHandler_base_OnEndDragRight(*args
, **kwargs
)
289 def base_OnDrawOutline(*args
, **kwargs
):
290 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
291 return _ogl
.PyShapeEvtHandler_base_OnDrawOutline(*args
, **kwargs
)
293 def base_OnDrawControlPoints(*args
, **kwargs
):
294 """base_OnDrawControlPoints(DC dc)"""
295 return _ogl
.PyShapeEvtHandler_base_OnDrawControlPoints(*args
, **kwargs
)
297 def base_OnEraseControlPoints(*args
, **kwargs
):
298 """base_OnEraseControlPoints(DC dc)"""
299 return _ogl
.PyShapeEvtHandler_base_OnEraseControlPoints(*args
, **kwargs
)
301 def base_OnMoveLink(*args
, **kwargs
):
302 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
303 return _ogl
.PyShapeEvtHandler_base_OnMoveLink(*args
, **kwargs
)
305 def base_OnSizingDragLeft(*args
, **kwargs
):
307 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
310 return _ogl
.PyShapeEvtHandler_base_OnSizingDragLeft(*args
, **kwargs
)
312 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
314 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
317 return _ogl
.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args
, **kwargs
)
319 def base_OnSizingEndDragLeft(*args
, **kwargs
):
321 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
324 return _ogl
.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args
, **kwargs
)
326 def base_OnBeginSize(*args
, **kwargs
):
327 """base_OnBeginSize(double w, double h)"""
328 return _ogl
.PyShapeEvtHandler_base_OnBeginSize(*args
, **kwargs
)
330 def base_OnEndSize(*args
, **kwargs
):
331 """base_OnEndSize(double w, double h)"""
332 return _ogl
.PyShapeEvtHandler_base_OnEndSize(*args
, **kwargs
)
335 class PyShapeEvtHandlerPtr(PyShapeEvtHandler
):
336 def __init__(self
, this
):
338 if not hasattr(self
,"thisown"): self
.thisown
= 0
339 self
.__class
__ = PyShapeEvtHandler
340 _ogl
.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr
)
342 class PyShape(PyShapeEvtHandler
):
344 return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
345 def __init__(self
, *args
, **kwargs
):
346 """__init__(PyShapeCanvas can=None) -> PyShape"""
347 newobj
= _ogl
.new_PyShape(*args
, **kwargs
)
348 self
.this
= newobj
.this
351 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
353 def _setCallbackInfo(*args
, **kwargs
):
354 """_setCallbackInfo(PyObject self, PyObject _class)"""
355 return _ogl
.PyShape__setCallbackInfo(*args
, **kwargs
)
357 def GetBoundingBoxMax(*args
, **kwargs
):
358 """GetBoundingBoxMax(double OUTPUT, double OUTPUT)"""
359 return _ogl
.PyShape_GetBoundingBoxMax(*args
, **kwargs
)
361 def GetBoundingBoxMin(*args
, **kwargs
):
362 """GetBoundingBoxMin(double OUTPUT, double OUTPUT)"""
363 return _ogl
.PyShape_GetBoundingBoxMin(*args
, **kwargs
)
365 def GetPerimeterPoint(*args
, **kwargs
):
367 GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT,
368 double OUTPUT) -> bool
370 return _ogl
.PyShape_GetPerimeterPoint(*args
, **kwargs
)
372 def GetCanvas(*args
, **kwargs
):
373 """GetCanvas() -> PyShapeCanvas"""
374 return _ogl
.PyShape_GetCanvas(*args
, **kwargs
)
376 def SetCanvas(*args
, **kwargs
):
377 """SetCanvas(PyShapeCanvas the_canvas)"""
378 return _ogl
.PyShape_SetCanvas(*args
, **kwargs
)
380 def AddToCanvas(*args
, **kwargs
):
381 """AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)"""
382 return _ogl
.PyShape_AddToCanvas(*args
, **kwargs
)
384 def InsertInCanvas(*args
, **kwargs
):
385 """InsertInCanvas(PyShapeCanvas the_canvas)"""
386 return _ogl
.PyShape_InsertInCanvas(*args
, **kwargs
)
388 def RemoveFromCanvas(*args
, **kwargs
):
389 """RemoveFromCanvas(PyShapeCanvas the_canvas)"""
390 return _ogl
.PyShape_RemoveFromCanvas(*args
, **kwargs
)
392 def GetX(*args
, **kwargs
):
393 """GetX() -> double"""
394 return _ogl
.PyShape_GetX(*args
, **kwargs
)
396 def GetY(*args
, **kwargs
):
397 """GetY() -> double"""
398 return _ogl
.PyShape_GetY(*args
, **kwargs
)
400 def SetX(*args
, **kwargs
):
402 return _ogl
.PyShape_SetX(*args
, **kwargs
)
404 def SetY(*args
, **kwargs
):
406 return _ogl
.PyShape_SetY(*args
, **kwargs
)
408 def GetParent(*args
, **kwargs
):
409 """GetParent() -> PyShape"""
410 return _ogl
.PyShape_GetParent(*args
, **kwargs
)
412 def SetParent(*args
, **kwargs
):
413 """SetParent(PyShape p)"""
414 return _ogl
.PyShape_SetParent(*args
, **kwargs
)
416 def GetTopAncestor(*args
, **kwargs
):
417 """GetTopAncestor() -> PyShape"""
418 return _ogl
.PyShape_GetTopAncestor(*args
, **kwargs
)
420 def GetChildren(*args
, **kwargs
):
421 """GetChildren() -> PyObject"""
422 return _ogl
.PyShape_GetChildren(*args
, **kwargs
)
424 def Unlink(*args
, **kwargs
):
426 return _ogl
.PyShape_Unlink(*args
, **kwargs
)
428 def SetDrawHandles(*args
, **kwargs
):
429 """SetDrawHandles(bool drawH)"""
430 return _ogl
.PyShape_SetDrawHandles(*args
, **kwargs
)
432 def GetDrawHandles(*args
, **kwargs
):
433 """GetDrawHandles() -> bool"""
434 return _ogl
.PyShape_GetDrawHandles(*args
, **kwargs
)
436 def MakeControlPoints(*args
, **kwargs
):
437 """MakeControlPoints()"""
438 return _ogl
.PyShape_MakeControlPoints(*args
, **kwargs
)
440 def DeleteControlPoints(*args
, **kwargs
):
441 """DeleteControlPoints(DC dc=None)"""
442 return _ogl
.PyShape_DeleteControlPoints(*args
, **kwargs
)
444 def ResetControlPoints(*args
, **kwargs
):
445 """ResetControlPoints()"""
446 return _ogl
.PyShape_ResetControlPoints(*args
, **kwargs
)
448 def GetEventHandler(*args
, **kwargs
):
449 """GetEventHandler() -> PyShapeEvtHandler"""
450 return _ogl
.PyShape_GetEventHandler(*args
, **kwargs
)
452 def SetEventHandler(*args
, **kwargs
):
453 """SetEventHandler(PyShapeEvtHandler handler)"""
454 return _ogl
.PyShape_SetEventHandler(*args
, **kwargs
)
456 def MakeMandatoryControlPoints(*args
, **kwargs
):
457 """MakeMandatoryControlPoints()"""
458 return _ogl
.PyShape_MakeMandatoryControlPoints(*args
, **kwargs
)
460 def ResetMandatoryControlPoints(*args
, **kwargs
):
461 """ResetMandatoryControlPoints()"""
462 return _ogl
.PyShape_ResetMandatoryControlPoints(*args
, **kwargs
)
464 def Recompute(*args
, **kwargs
):
465 """Recompute() -> bool"""
466 return _ogl
.PyShape_Recompute(*args
, **kwargs
)
468 def CalculateSize(*args
, **kwargs
):
469 """CalculateSize()"""
470 return _ogl
.PyShape_CalculateSize(*args
, **kwargs
)
472 def Select(*args
, **kwargs
):
473 """Select(bool select=True, DC dc=None)"""
474 return _ogl
.PyShape_Select(*args
, **kwargs
)
476 def SetHighlight(*args
, **kwargs
):
477 """SetHighlight(bool hi=True, bool recurse=False)"""
478 return _ogl
.PyShape_SetHighlight(*args
, **kwargs
)
480 def IsHighlighted(*args
, **kwargs
):
481 """IsHighlighted() -> bool"""
482 return _ogl
.PyShape_IsHighlighted(*args
, **kwargs
)
484 def Selected(*args
, **kwargs
):
485 """Selected() -> bool"""
486 return _ogl
.PyShape_Selected(*args
, **kwargs
)
488 def AncestorSelected(*args
, **kwargs
):
489 """AncestorSelected() -> bool"""
490 return _ogl
.PyShape_AncestorSelected(*args
, **kwargs
)
492 def SetSensitivityFilter(*args
, **kwargs
):
493 """SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)"""
494 return _ogl
.PyShape_SetSensitivityFilter(*args
, **kwargs
)
496 def GetSensitivityFilter(*args
, **kwargs
):
497 """GetSensitivityFilter() -> int"""
498 return _ogl
.PyShape_GetSensitivityFilter(*args
, **kwargs
)
500 def SetDraggable(*args
, **kwargs
):
501 """SetDraggable(bool drag, bool recursive=False)"""
502 return _ogl
.PyShape_SetDraggable(*args
, **kwargs
)
504 def SetFixedSize(*args
, **kwargs
):
505 """SetFixedSize(bool x, bool y)"""
506 return _ogl
.PyShape_SetFixedSize(*args
, **kwargs
)
508 def GetFixedSize(*args
, **kwargs
):
509 """GetFixedSize(bool OUTPUT, bool OUTPUT)"""
510 return _ogl
.PyShape_GetFixedSize(*args
, **kwargs
)
512 def GetFixedWidth(*args
, **kwargs
):
513 """GetFixedWidth() -> bool"""
514 return _ogl
.PyShape_GetFixedWidth(*args
, **kwargs
)
516 def GetFixedHeight(*args
, **kwargs
):
517 """GetFixedHeight() -> bool"""
518 return _ogl
.PyShape_GetFixedHeight(*args
, **kwargs
)
520 def SetSpaceAttachments(*args
, **kwargs
):
521 """SetSpaceAttachments(bool sp)"""
522 return _ogl
.PyShape_SetSpaceAttachments(*args
, **kwargs
)
524 def GetSpaceAttachments(*args
, **kwargs
):
525 """GetSpaceAttachments() -> bool"""
526 return _ogl
.PyShape_GetSpaceAttachments(*args
, **kwargs
)
528 def SetShadowMode(*args
, **kwargs
):
529 """SetShadowMode(int mode, bool redraw=False)"""
530 return _ogl
.PyShape_SetShadowMode(*args
, **kwargs
)
532 def GetShadowMode(*args
, **kwargs
):
533 """GetShadowMode() -> int"""
534 return _ogl
.PyShape_GetShadowMode(*args
, **kwargs
)
536 def HitTest(*args
, **kwargs
):
537 """HitTest(double x, double y, int OUTPUT, double OUTPUT) -> bool"""
538 return _ogl
.PyShape_HitTest(*args
, **kwargs
)
540 def SetCentreResize(*args
, **kwargs
):
541 """SetCentreResize(bool cr)"""
542 return _ogl
.PyShape_SetCentreResize(*args
, **kwargs
)
544 def GetCentreResize(*args
, **kwargs
):
545 """GetCentreResize() -> bool"""
546 return _ogl
.PyShape_GetCentreResize(*args
, **kwargs
)
548 def SetMaintainAspectRatio(*args
, **kwargs
):
549 """SetMaintainAspectRatio(bool ar)"""
550 return _ogl
.PyShape_SetMaintainAspectRatio(*args
, **kwargs
)
552 def GetMaintainAspectRatio(*args
, **kwargs
):
553 """GetMaintainAspectRatio() -> bool"""
554 return _ogl
.PyShape_GetMaintainAspectRatio(*args
, **kwargs
)
556 def GetLines(*args
, **kwargs
):
557 """GetLines() -> PyObject"""
558 return _ogl
.PyShape_GetLines(*args
, **kwargs
)
560 def SetDisableLabel(*args
, **kwargs
):
561 """SetDisableLabel(bool flag)"""
562 return _ogl
.PyShape_SetDisableLabel(*args
, **kwargs
)
564 def GetDisableLabel(*args
, **kwargs
):
565 """GetDisableLabel() -> bool"""
566 return _ogl
.PyShape_GetDisableLabel(*args
, **kwargs
)
568 def SetAttachmentMode(*args
, **kwargs
):
569 """SetAttachmentMode(int mode)"""
570 return _ogl
.PyShape_SetAttachmentMode(*args
, **kwargs
)
572 def GetAttachmentMode(*args
, **kwargs
):
573 """GetAttachmentMode() -> int"""
574 return _ogl
.PyShape_GetAttachmentMode(*args
, **kwargs
)
576 def SetId(*args
, **kwargs
):
578 return _ogl
.PyShape_SetId(*args
, **kwargs
)
580 def GetId(*args
, **kwargs
):
581 """GetId() -> long"""
582 return _ogl
.PyShape_GetId(*args
, **kwargs
)
584 def SetPen(*args
, **kwargs
):
585 """SetPen(wxPen pen)"""
586 return _ogl
.PyShape_SetPen(*args
, **kwargs
)
588 def SetBrush(*args
, **kwargs
):
589 """SetBrush(wxBrush brush)"""
590 return _ogl
.PyShape_SetBrush(*args
, **kwargs
)
592 def SetClientData(self
, data
):
593 self
.clientData
= data
594 def GetClientData(self
):
595 if hasattr(self
, 'clientData'):
596 return self
.clientData
600 def Show(*args
, **kwargs
):
601 """Show(bool show)"""
602 return _ogl
.PyShape_Show(*args
, **kwargs
)
604 def IsShown(*args
, **kwargs
):
605 """IsShown() -> bool"""
606 return _ogl
.PyShape_IsShown(*args
, **kwargs
)
608 def Move(*args
, **kwargs
):
609 """Move(DC dc, double x1, double y1, bool display=True)"""
610 return _ogl
.PyShape_Move(*args
, **kwargs
)
612 def Erase(*args
, **kwargs
):
614 return _ogl
.PyShape_Erase(*args
, **kwargs
)
616 def EraseContents(*args
, **kwargs
):
617 """EraseContents(DC dc)"""
618 return _ogl
.PyShape_EraseContents(*args
, **kwargs
)
620 def Draw(*args
, **kwargs
):
622 return _ogl
.PyShape_Draw(*args
, **kwargs
)
624 def Flash(*args
, **kwargs
):
626 return _ogl
.PyShape_Flash(*args
, **kwargs
)
628 def MoveLinks(*args
, **kwargs
):
629 """MoveLinks(DC dc)"""
630 return _ogl
.PyShape_MoveLinks(*args
, **kwargs
)
632 def DrawContents(*args
, **kwargs
):
633 """DrawContents(DC dc)"""
634 return _ogl
.PyShape_DrawContents(*args
, **kwargs
)
636 def SetSize(*args
, **kwargs
):
637 """SetSize(double x, double y, bool recursive=True)"""
638 return _ogl
.PyShape_SetSize(*args
, **kwargs
)
640 def SetAttachmentSize(*args
, **kwargs
):
641 """SetAttachmentSize(double x, double y)"""
642 return _ogl
.PyShape_SetAttachmentSize(*args
, **kwargs
)
644 def Attach(*args
, **kwargs
):
645 """Attach(PyShapeCanvas can)"""
646 return _ogl
.PyShape_Attach(*args
, **kwargs
)
648 def Detach(*args
, **kwargs
):
650 return _ogl
.PyShape_Detach(*args
, **kwargs
)
652 def Constrain(*args
, **kwargs
):
653 """Constrain() -> bool"""
654 return _ogl
.PyShape_Constrain(*args
, **kwargs
)
656 def AddLine(*args
, **kwargs
):
658 AddLine(PyLineShape line, PyShape other, int attachFrom=0,
659 int attachTo=0, int positionFrom=-1, int positionTo=-1)
661 return _ogl
.PyShape_AddLine(*args
, **kwargs
)
663 def GetLinePosition(*args
, **kwargs
):
664 """GetLinePosition(PyLineShape line) -> int"""
665 return _ogl
.PyShape_GetLinePosition(*args
, **kwargs
)
667 def AddText(*args
, **kwargs
):
668 """AddText(String string)"""
669 return _ogl
.PyShape_AddText(*args
, **kwargs
)
671 def GetPen(*args
, **kwargs
):
672 """GetPen() -> wxPen"""
673 return _ogl
.PyShape_GetPen(*args
, **kwargs
)
675 def GetBrush(*args
, **kwargs
):
676 """GetBrush() -> wxBrush"""
677 return _ogl
.PyShape_GetBrush(*args
, **kwargs
)
679 def SetDefaultRegionSize(*args
, **kwargs
):
680 """SetDefaultRegionSize()"""
681 return _ogl
.PyShape_SetDefaultRegionSize(*args
, **kwargs
)
683 def FormatText(*args
, **kwargs
):
684 """FormatText(DC dc, String s, int regionId=0)"""
685 return _ogl
.PyShape_FormatText(*args
, **kwargs
)
687 def SetFormatMode(*args
, **kwargs
):
688 """SetFormatMode(int mode, int regionId=0)"""
689 return _ogl
.PyShape_SetFormatMode(*args
, **kwargs
)
691 def GetFormatMode(*args
, **kwargs
):
692 """GetFormatMode(int regionId=0) -> int"""
693 return _ogl
.PyShape_GetFormatMode(*args
, **kwargs
)
695 def SetFont(*args
, **kwargs
):
696 """SetFont(Font font, int regionId=0)"""
697 return _ogl
.PyShape_SetFont(*args
, **kwargs
)
699 def GetFont(*args
, **kwargs
):
700 """GetFont(int regionId=0) -> Font"""
701 return _ogl
.PyShape_GetFont(*args
, **kwargs
)
703 def SetTextColour(*args
, **kwargs
):
704 """SetTextColour(String colour, int regionId=0)"""
705 return _ogl
.PyShape_SetTextColour(*args
, **kwargs
)
707 def GetTextColour(*args
, **kwargs
):
708 """GetTextColour(int regionId=0) -> String"""
709 return _ogl
.PyShape_GetTextColour(*args
, **kwargs
)
711 def GetNumberOfTextRegions(*args
, **kwargs
):
712 """GetNumberOfTextRegions() -> int"""
713 return _ogl
.PyShape_GetNumberOfTextRegions(*args
, **kwargs
)
715 def SetRegionName(*args
, **kwargs
):
716 """SetRegionName(String name, int regionId=0)"""
717 return _ogl
.PyShape_SetRegionName(*args
, **kwargs
)
719 def GetRegionName(*args
, **kwargs
):
720 """GetRegionName(int regionId) -> String"""
721 return _ogl
.PyShape_GetRegionName(*args
, **kwargs
)
723 def GetRegionId(*args
, **kwargs
):
724 """GetRegionId(String name) -> int"""
725 return _ogl
.PyShape_GetRegionId(*args
, **kwargs
)
727 def NameRegions(*args
, **kwargs
):
728 """NameRegions(String parentName=EmptyString)"""
729 return _ogl
.PyShape_NameRegions(*args
, **kwargs
)
731 def GetRegions(*args
, **kwargs
):
732 """GetRegions() -> PyObject"""
733 return _ogl
.PyShape_GetRegions(*args
, **kwargs
)
735 def AddRegion(*args
, **kwargs
):
736 """AddRegion(ShapeRegion region)"""
737 return _ogl
.PyShape_AddRegion(*args
, **kwargs
)
739 def ClearRegions(*args
, **kwargs
):
741 return _ogl
.PyShape_ClearRegions(*args
, **kwargs
)
743 def AssignNewIds(*args
, **kwargs
):
745 return _ogl
.PyShape_AssignNewIds(*args
, **kwargs
)
747 def FindRegion(*args
, **kwargs
):
748 """FindRegion(String regionName, int OUTPUT) -> PyShape"""
749 return _ogl
.PyShape_FindRegion(*args
, **kwargs
)
751 def FindRegionNames(*args
, **kwargs
):
752 """FindRegionNames(wxStringList list)"""
753 return _ogl
.PyShape_FindRegionNames(*args
, **kwargs
)
755 def ClearText(*args
, **kwargs
):
756 """ClearText(int regionId=0)"""
757 return _ogl
.PyShape_ClearText(*args
, **kwargs
)
759 def RemoveLine(*args
, **kwargs
):
760 """RemoveLine(PyLineShape line)"""
761 return _ogl
.PyShape_RemoveLine(*args
, **kwargs
)
763 def GetAttachmentPosition(*args
, **kwargs
):
765 GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0,
766 int no_arcs=1, PyLineShape line=None) -> bool
768 return _ogl
.PyShape_GetAttachmentPosition(*args
, **kwargs
)
770 def GetNumberOfAttachments(*args
, **kwargs
):
771 """GetNumberOfAttachments() -> int"""
772 return _ogl
.PyShape_GetNumberOfAttachments(*args
, **kwargs
)
774 def AttachmentIsValid(*args
, **kwargs
):
775 """AttachmentIsValid(int attachment) -> bool"""
776 return _ogl
.PyShape_AttachmentIsValid(*args
, **kwargs
)
778 def GetAttachments(*args
, **kwargs
):
779 """GetAttachments() -> PyObject"""
780 return _ogl
.PyShape_GetAttachments(*args
, **kwargs
)
782 def GetAttachmentPositionEdge(*args
, **kwargs
):
784 GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0,
785 int no_arcs=1, PyLineShape line=None) -> bool
787 return _ogl
.PyShape_GetAttachmentPositionEdge(*args
, **kwargs
)
789 def CalcSimpleAttachment(*args
, **kwargs
):
791 CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs,
792 PyLineShape line) -> RealPoint
794 return _ogl
.PyShape_CalcSimpleAttachment(*args
, **kwargs
)
796 def AttachmentSortTest(*args
, **kwargs
):
797 """AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool"""
798 return _ogl
.PyShape_AttachmentSortTest(*args
, **kwargs
)
800 def EraseLinks(*args
, **kwargs
):
801 """EraseLinks(DC dc, int attachment=-1, bool recurse=False)"""
802 return _ogl
.PyShape_EraseLinks(*args
, **kwargs
)
804 def DrawLinks(*args
, **kwargs
):
805 """DrawLinks(DC dc, int attachment=-1, bool recurse=False)"""
806 return _ogl
.PyShape_DrawLinks(*args
, **kwargs
)
808 def MoveLineToNewAttachment(*args
, **kwargs
):
809 """MoveLineToNewAttachment(DC dc, PyLineShape to_move, double x, double y) -> bool"""
810 return _ogl
.PyShape_MoveLineToNewAttachment(*args
, **kwargs
)
812 def ApplyAttachmentOrdering(*args
, **kwargs
):
813 """ApplyAttachmentOrdering(PyObject linesToSort)"""
814 return _ogl
.PyShape_ApplyAttachmentOrdering(*args
, **kwargs
)
816 def GetBranchingAttachmentRoot(*args
, **kwargs
):
817 """GetBranchingAttachmentRoot(int attachment) -> RealPoint"""
818 return _ogl
.PyShape_GetBranchingAttachmentRoot(*args
, **kwargs
)
820 def GetBranchingAttachmentInfo(*args
, **kwargs
):
822 GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
823 RealPoint shoulder2) -> bool
825 return _ogl
.PyShape_GetBranchingAttachmentInfo(*args
, **kwargs
)
827 def GetBranchingAttachmentPoint(*args
, **kwargs
):
828 """GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool"""
829 return _ogl
.PyShape_GetBranchingAttachmentPoint(*args
, **kwargs
)
831 def GetAttachmentLineCount(*args
, **kwargs
):
832 """GetAttachmentLineCount(int attachment) -> int"""
833 return _ogl
.PyShape_GetAttachmentLineCount(*args
, **kwargs
)
835 def SetBranchNeckLength(*args
, **kwargs
):
836 """SetBranchNeckLength(int len)"""
837 return _ogl
.PyShape_SetBranchNeckLength(*args
, **kwargs
)
839 def GetBranchNeckLength(*args
, **kwargs
):
840 """GetBranchNeckLength() -> int"""
841 return _ogl
.PyShape_GetBranchNeckLength(*args
, **kwargs
)
843 def SetBranchStemLength(*args
, **kwargs
):
844 """SetBranchStemLength(int len)"""
845 return _ogl
.PyShape_SetBranchStemLength(*args
, **kwargs
)
847 def GetBranchStemLength(*args
, **kwargs
):
848 """GetBranchStemLength() -> int"""
849 return _ogl
.PyShape_GetBranchStemLength(*args
, **kwargs
)
851 def SetBranchSpacing(*args
, **kwargs
):
852 """SetBranchSpacing(int len)"""
853 return _ogl
.PyShape_SetBranchSpacing(*args
, **kwargs
)
855 def GetBranchSpacing(*args
, **kwargs
):
856 """GetBranchSpacing() -> int"""
857 return _ogl
.PyShape_GetBranchSpacing(*args
, **kwargs
)
859 def SetBranchStyle(*args
, **kwargs
):
860 """SetBranchStyle(long style)"""
861 return _ogl
.PyShape_SetBranchStyle(*args
, **kwargs
)
863 def GetBranchStyle(*args
, **kwargs
):
864 """GetBranchStyle() -> long"""
865 return _ogl
.PyShape_GetBranchStyle(*args
, **kwargs
)
867 def PhysicalToLogicalAttachment(*args
, **kwargs
):
868 """PhysicalToLogicalAttachment(int physicalAttachment) -> int"""
869 return _ogl
.PyShape_PhysicalToLogicalAttachment(*args
, **kwargs
)
871 def LogicalToPhysicalAttachment(*args
, **kwargs
):
872 """LogicalToPhysicalAttachment(int logicalAttachment) -> int"""
873 return _ogl
.PyShape_LogicalToPhysicalAttachment(*args
, **kwargs
)
875 def Draggable(*args
, **kwargs
):
876 """Draggable() -> bool"""
877 return _ogl
.PyShape_Draggable(*args
, **kwargs
)
879 def HasDescendant(*args
, **kwargs
):
880 """HasDescendant(PyShape image) -> bool"""
881 return _ogl
.PyShape_HasDescendant(*args
, **kwargs
)
883 def CreateNewCopy(*args
, **kwargs
):
884 """CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape"""
885 return _ogl
.PyShape_CreateNewCopy(*args
, **kwargs
)
887 def Copy(*args
, **kwargs
):
888 """Copy(PyShape copy)"""
889 return _ogl
.PyShape_Copy(*args
, **kwargs
)
891 def CopyWithHandler(*args
, **kwargs
):
892 """CopyWithHandler(PyShape copy)"""
893 return _ogl
.PyShape_CopyWithHandler(*args
, **kwargs
)
895 def Rotate(*args
, **kwargs
):
896 """Rotate(double x, double y, double theta)"""
897 return _ogl
.PyShape_Rotate(*args
, **kwargs
)
899 def GetRotation(*args
, **kwargs
):
900 """GetRotation() -> double"""
901 return _ogl
.PyShape_GetRotation(*args
, **kwargs
)
903 def SetRotation(*args
, **kwargs
):
904 """SetRotation(double rotation)"""
905 return _ogl
.PyShape_SetRotation(*args
, **kwargs
)
907 def ClearAttachments(*args
, **kwargs
):
908 """ClearAttachments()"""
909 return _ogl
.PyShape_ClearAttachments(*args
, **kwargs
)
911 def Recentre(*args
, **kwargs
):
912 """Recentre(DC dc)"""
913 return _ogl
.PyShape_Recentre(*args
, **kwargs
)
915 def ClearPointList(*args
, **kwargs
):
916 """ClearPointList(wxList list)"""
917 return _ogl
.PyShape_ClearPointList(*args
, **kwargs
)
919 def GetBackgroundPen(*args
, **kwargs
):
920 """GetBackgroundPen() -> wxPen"""
921 return _ogl
.PyShape_GetBackgroundPen(*args
, **kwargs
)
923 def GetBackgroundBrush(*args
, **kwargs
):
924 """GetBackgroundBrush() -> wxBrush"""
925 return _ogl
.PyShape_GetBackgroundBrush(*args
, **kwargs
)
927 def base_OnDelete(*args
, **kwargs
):
928 """base_OnDelete()"""
929 return _ogl
.PyShape_base_OnDelete(*args
, **kwargs
)
931 def base_OnDraw(*args
, **kwargs
):
932 """base_OnDraw(DC dc)"""
933 return _ogl
.PyShape_base_OnDraw(*args
, **kwargs
)
935 def base_OnDrawContents(*args
, **kwargs
):
936 """base_OnDrawContents(DC dc)"""
937 return _ogl
.PyShape_base_OnDrawContents(*args
, **kwargs
)
939 def base_OnDrawBranches(*args
, **kwargs
):
940 """base_OnDrawBranches(DC dc, bool erase=False)"""
941 return _ogl
.PyShape_base_OnDrawBranches(*args
, **kwargs
)
943 def base_OnMoveLinks(*args
, **kwargs
):
944 """base_OnMoveLinks(DC dc)"""
945 return _ogl
.PyShape_base_OnMoveLinks(*args
, **kwargs
)
947 def base_OnErase(*args
, **kwargs
):
948 """base_OnErase(DC dc)"""
949 return _ogl
.PyShape_base_OnErase(*args
, **kwargs
)
951 def base_OnEraseContents(*args
, **kwargs
):
952 """base_OnEraseContents(DC dc)"""
953 return _ogl
.PyShape_base_OnEraseContents(*args
, **kwargs
)
955 def base_OnHighlight(*args
, **kwargs
):
956 """base_OnHighlight(DC dc)"""
957 return _ogl
.PyShape_base_OnHighlight(*args
, **kwargs
)
959 def base_OnLeftClick(*args
, **kwargs
):
960 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
961 return _ogl
.PyShape_base_OnLeftClick(*args
, **kwargs
)
963 def base_OnLeftDoubleClick(*args
, **kwargs
):
964 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
965 return _ogl
.PyShape_base_OnLeftDoubleClick(*args
, **kwargs
)
967 def base_OnRightClick(*args
, **kwargs
):
968 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
969 return _ogl
.PyShape_base_OnRightClick(*args
, **kwargs
)
971 def base_OnSize(*args
, **kwargs
):
972 """base_OnSize(double x, double y)"""
973 return _ogl
.PyShape_base_OnSize(*args
, **kwargs
)
975 def base_OnMovePre(*args
, **kwargs
):
977 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
978 bool display=True) -> bool
980 return _ogl
.PyShape_base_OnMovePre(*args
, **kwargs
)
982 def base_OnMovePost(*args
, **kwargs
):
984 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
987 return _ogl
.PyShape_base_OnMovePost(*args
, **kwargs
)
989 def base_OnDragLeft(*args
, **kwargs
):
990 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
991 return _ogl
.PyShape_base_OnDragLeft(*args
, **kwargs
)
993 def base_OnBeginDragLeft(*args
, **kwargs
):
994 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
995 return _ogl
.PyShape_base_OnBeginDragLeft(*args
, **kwargs
)
997 def base_OnEndDragLeft(*args
, **kwargs
):
998 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
999 return _ogl
.PyShape_base_OnEndDragLeft(*args
, **kwargs
)
1001 def base_OnDragRight(*args
, **kwargs
):
1002 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1003 return _ogl
.PyShape_base_OnDragRight(*args
, **kwargs
)
1005 def base_OnBeginDragRight(*args
, **kwargs
):
1006 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1007 return _ogl
.PyShape_base_OnBeginDragRight(*args
, **kwargs
)
1009 def base_OnEndDragRight(*args
, **kwargs
):
1010 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1011 return _ogl
.PyShape_base_OnEndDragRight(*args
, **kwargs
)
1013 def base_OnDrawOutline(*args
, **kwargs
):
1014 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
1015 return _ogl
.PyShape_base_OnDrawOutline(*args
, **kwargs
)
1017 def base_OnDrawControlPoints(*args
, **kwargs
):
1018 """base_OnDrawControlPoints(DC dc)"""
1019 return _ogl
.PyShape_base_OnDrawControlPoints(*args
, **kwargs
)
1021 def base_OnEraseControlPoints(*args
, **kwargs
):
1022 """base_OnEraseControlPoints(DC dc)"""
1023 return _ogl
.PyShape_base_OnEraseControlPoints(*args
, **kwargs
)
1025 def base_OnMoveLink(*args
, **kwargs
):
1026 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
1027 return _ogl
.PyShape_base_OnMoveLink(*args
, **kwargs
)
1029 def base_OnSizingDragLeft(*args
, **kwargs
):
1031 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1034 return _ogl
.PyShape_base_OnSizingDragLeft(*args
, **kwargs
)
1036 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1038 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1041 return _ogl
.PyShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1043 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1045 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1048 return _ogl
.PyShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1050 def base_OnBeginSize(*args
, **kwargs
):
1051 """base_OnBeginSize(double w, double h)"""
1052 return _ogl
.PyShape_base_OnBeginSize(*args
, **kwargs
)
1054 def base_OnEndSize(*args
, **kwargs
):
1055 """base_OnEndSize(double w, double h)"""
1056 return _ogl
.PyShape_base_OnEndSize(*args
, **kwargs
)
1059 class PyShapePtr(PyShape
):
1060 def __init__(self
, this
):
1062 if not hasattr(self
,"thisown"): self
.thisown
= 0
1063 self
.__class
__ = PyShape
1064 _ogl
.PyShape_swigregister(PyShapePtr
)
1066 oglMETAFLAGS_OUTLINE
= _ogl
.oglMETAFLAGS_OUTLINE
1067 oglMETAFLAGS_ATTACHMENTS
= _ogl
.oglMETAFLAGS_ATTACHMENTS
1068 class PseudoMetaFile(core
.Object
):
1070 return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1071 def __init__(self
, *args
, **kwargs
):
1072 """__init__() -> PseudoMetaFile"""
1073 newobj
= _ogl
.new_PseudoMetaFile(*args
, **kwargs
)
1074 self
.this
= newobj
.this
1077 def __del__(self
, destroy
=_ogl
.delete_PseudoMetaFile
):
1080 if self
.thisown
: destroy(self
)
1083 def Draw(*args
, **kwargs
):
1084 """Draw(DC dc, double xoffset, double yoffset)"""
1085 return _ogl
.PseudoMetaFile_Draw(*args
, **kwargs
)
1087 def Clear(*args
, **kwargs
):
1089 return _ogl
.PseudoMetaFile_Clear(*args
, **kwargs
)
1091 def Copy(*args
, **kwargs
):
1092 """Copy(PseudoMetaFile copy)"""
1093 return _ogl
.PseudoMetaFile_Copy(*args
, **kwargs
)
1095 def Scale(*args
, **kwargs
):
1096 """Scale(double sx, double sy)"""
1097 return _ogl
.PseudoMetaFile_Scale(*args
, **kwargs
)
1099 def ScaleTo(*args
, **kwargs
):
1100 """ScaleTo(double w, double h)"""
1101 return _ogl
.PseudoMetaFile_ScaleTo(*args
, **kwargs
)
1103 def Translate(*args
, **kwargs
):
1104 """Translate(double x, double y)"""
1105 return _ogl
.PseudoMetaFile_Translate(*args
, **kwargs
)
1107 def Rotate(*args
, **kwargs
):
1108 """Rotate(double x, double y, double theta)"""
1109 return _ogl
.PseudoMetaFile_Rotate(*args
, **kwargs
)
1111 def LoadFromMetaFile(*args
, **kwargs
):
1112 """LoadFromMetaFile(String filename, double width, double height) -> bool"""
1113 return _ogl
.PseudoMetaFile_LoadFromMetaFile(*args
, **kwargs
)
1115 def GetBounds(*args
, **kwargs
):
1116 """GetBounds(double minX, double minY, double maxX, double maxY)"""
1117 return _ogl
.PseudoMetaFile_GetBounds(*args
, **kwargs
)
1119 def CalculateSize(*args
, **kwargs
):
1120 """CalculateSize(PyDrawnShape shape)"""
1121 return _ogl
.PseudoMetaFile_CalculateSize(*args
, **kwargs
)
1123 def SetRotateable(*args
, **kwargs
):
1124 """SetRotateable(bool rot)"""
1125 return _ogl
.PseudoMetaFile_SetRotateable(*args
, **kwargs
)
1127 def GetRotateable(*args
, **kwargs
):
1128 """GetRotateable() -> bool"""
1129 return _ogl
.PseudoMetaFile_GetRotateable(*args
, **kwargs
)
1131 def SetSize(*args
, **kwargs
):
1132 """SetSize(double w, double h)"""
1133 return _ogl
.PseudoMetaFile_SetSize(*args
, **kwargs
)
1135 def SetFillBrush(*args
, **kwargs
):
1136 """SetFillBrush(wxBrush brush)"""
1137 return _ogl
.PseudoMetaFile_SetFillBrush(*args
, **kwargs
)
1139 def GetFillBrush(*args
, **kwargs
):
1140 """GetFillBrush() -> wxBrush"""
1141 return _ogl
.PseudoMetaFile_GetFillBrush(*args
, **kwargs
)
1143 def SetOutlinePen(*args
, **kwargs
):
1144 """SetOutlinePen(wxPen pen)"""
1145 return _ogl
.PseudoMetaFile_SetOutlinePen(*args
, **kwargs
)
1147 def GetOutlinePen(*args
, **kwargs
):
1148 """GetOutlinePen() -> wxPen"""
1149 return _ogl
.PseudoMetaFile_GetOutlinePen(*args
, **kwargs
)
1151 def SetOutlineOp(*args
, **kwargs
):
1152 """SetOutlineOp(int op)"""
1153 return _ogl
.PseudoMetaFile_SetOutlineOp(*args
, **kwargs
)
1155 def GetOutlineOp(*args
, **kwargs
):
1156 """GetOutlineOp() -> int"""
1157 return _ogl
.PseudoMetaFile_GetOutlineOp(*args
, **kwargs
)
1159 def IsValid(*args
, **kwargs
):
1160 """IsValid() -> bool"""
1161 return _ogl
.PseudoMetaFile_IsValid(*args
, **kwargs
)
1163 def DrawLine(*args
, **kwargs
):
1164 """DrawLine(Point pt1, Point pt2)"""
1165 return _ogl
.PseudoMetaFile_DrawLine(*args
, **kwargs
)
1167 def DrawRectangle(*args
, **kwargs
):
1168 """DrawRectangle(Rect rect)"""
1169 return _ogl
.PseudoMetaFile_DrawRectangle(*args
, **kwargs
)
1171 def DrawRoundedRectangle(*args
, **kwargs
):
1172 """DrawRoundedRectangle(Rect rect, double radius)"""
1173 return _ogl
.PseudoMetaFile_DrawRoundedRectangle(*args
, **kwargs
)
1175 def DrawArc(*args
, **kwargs
):
1176 """DrawArc(Point centrePt, Point startPt, Point endPt)"""
1177 return _ogl
.PseudoMetaFile_DrawArc(*args
, **kwargs
)
1179 def DrawEllipticArc(*args
, **kwargs
):
1180 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1181 return _ogl
.PseudoMetaFile_DrawEllipticArc(*args
, **kwargs
)
1183 def DrawEllipse(*args
, **kwargs
):
1184 """DrawEllipse(Rect rect)"""
1185 return _ogl
.PseudoMetaFile_DrawEllipse(*args
, **kwargs
)
1187 def DrawPoint(*args
, **kwargs
):
1188 """DrawPoint(Point pt)"""
1189 return _ogl
.PseudoMetaFile_DrawPoint(*args
, **kwargs
)
1191 def DrawText(*args
, **kwargs
):
1192 """DrawText(String text, Point pt)"""
1193 return _ogl
.PseudoMetaFile_DrawText(*args
, **kwargs
)
1195 def DrawLines(*args
, **kwargs
):
1196 """DrawLines(int PCOUNT, Point points)"""
1197 return _ogl
.PseudoMetaFile_DrawLines(*args
, **kwargs
)
1199 def DrawPolygon(*args
, **kwargs
):
1200 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1201 return _ogl
.PseudoMetaFile_DrawPolygon(*args
, **kwargs
)
1203 def DrawSpline(*args
, **kwargs
):
1204 """DrawSpline(int PCOUNT, Point points)"""
1205 return _ogl
.PseudoMetaFile_DrawSpline(*args
, **kwargs
)
1207 def SetClippingRect(*args
, **kwargs
):
1208 """SetClippingRect(Rect rect)"""
1209 return _ogl
.PseudoMetaFile_SetClippingRect(*args
, **kwargs
)
1211 def DestroyClippingRect(*args
, **kwargs
):
1212 """DestroyClippingRect()"""
1213 return _ogl
.PseudoMetaFile_DestroyClippingRect(*args
, **kwargs
)
1215 def SetPen(*args
, **kwargs
):
1216 """SetPen(wxPen pen, bool isOutline=FALSE)"""
1217 return _ogl
.PseudoMetaFile_SetPen(*args
, **kwargs
)
1219 def SetBrush(*args
, **kwargs
):
1220 """SetBrush(wxBrush brush, bool isFill=FALSE)"""
1221 return _ogl
.PseudoMetaFile_SetBrush(*args
, **kwargs
)
1223 def SetFont(*args
, **kwargs
):
1224 """SetFont(Font font)"""
1225 return _ogl
.PseudoMetaFile_SetFont(*args
, **kwargs
)
1227 def SetTextColour(*args
, **kwargs
):
1228 """SetTextColour(Colour colour)"""
1229 return _ogl
.PseudoMetaFile_SetTextColour(*args
, **kwargs
)
1231 def SetBackgroundColour(*args
, **kwargs
):
1232 """SetBackgroundColour(Colour colour)"""
1233 return _ogl
.PseudoMetaFile_SetBackgroundColour(*args
, **kwargs
)
1235 def SetBackgroundMode(*args
, **kwargs
):
1236 """SetBackgroundMode(int mode)"""
1237 return _ogl
.PseudoMetaFile_SetBackgroundMode(*args
, **kwargs
)
1240 class PseudoMetaFilePtr(PseudoMetaFile
):
1241 def __init__(self
, this
):
1243 if not hasattr(self
,"thisown"): self
.thisown
= 0
1244 self
.__class
__ = PseudoMetaFile
1245 _ogl
.PseudoMetaFile_swigregister(PseudoMetaFilePtr
)
1247 class PyRectangleShape(PyShape
):
1249 return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1250 def __init__(self
, *args
, **kwargs
):
1251 """__init__(double width=0.0, double height=0.0) -> PyRectangleShape"""
1252 newobj
= _ogl
.new_PyRectangleShape(*args
, **kwargs
)
1253 self
.this
= newobj
.this
1256 self
._setOORandCallbackInfo
(PyRectangleShape
)
1258 def _setCallbackInfo(*args
, **kwargs
):
1259 """_setCallbackInfo(PyObject self, PyObject _class)"""
1260 return _ogl
.PyRectangleShape__setCallbackInfo(*args
, **kwargs
)
1262 def SetCornerRadius(*args
, **kwargs
):
1263 """SetCornerRadius(double radius)"""
1264 return _ogl
.PyRectangleShape_SetCornerRadius(*args
, **kwargs
)
1266 def GetCornerRadius(*args
, **kwargs
):
1267 """GetCornerRadius() -> double"""
1268 return _ogl
.PyRectangleShape_GetCornerRadius(*args
, **kwargs
)
1270 def base_OnDelete(*args
, **kwargs
):
1271 """base_OnDelete()"""
1272 return _ogl
.PyRectangleShape_base_OnDelete(*args
, **kwargs
)
1274 def base_OnDraw(*args
, **kwargs
):
1275 """base_OnDraw(DC dc)"""
1276 return _ogl
.PyRectangleShape_base_OnDraw(*args
, **kwargs
)
1278 def base_OnDrawContents(*args
, **kwargs
):
1279 """base_OnDrawContents(DC dc)"""
1280 return _ogl
.PyRectangleShape_base_OnDrawContents(*args
, **kwargs
)
1282 def base_OnDrawBranches(*args
, **kwargs
):
1283 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
1284 return _ogl
.PyRectangleShape_base_OnDrawBranches(*args
, **kwargs
)
1286 def base_OnMoveLinks(*args
, **kwargs
):
1287 """base_OnMoveLinks(DC dc)"""
1288 return _ogl
.PyRectangleShape_base_OnMoveLinks(*args
, **kwargs
)
1290 def base_OnErase(*args
, **kwargs
):
1291 """base_OnErase(DC dc)"""
1292 return _ogl
.PyRectangleShape_base_OnErase(*args
, **kwargs
)
1294 def base_OnEraseContents(*args
, **kwargs
):
1295 """base_OnEraseContents(DC dc)"""
1296 return _ogl
.PyRectangleShape_base_OnEraseContents(*args
, **kwargs
)
1298 def base_OnHighlight(*args
, **kwargs
):
1299 """base_OnHighlight(DC dc)"""
1300 return _ogl
.PyRectangleShape_base_OnHighlight(*args
, **kwargs
)
1302 def base_OnLeftClick(*args
, **kwargs
):
1303 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1304 return _ogl
.PyRectangleShape_base_OnLeftClick(*args
, **kwargs
)
1306 def base_OnLeftDoubleClick(*args
, **kwargs
):
1307 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1308 return _ogl
.PyRectangleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1310 def base_OnRightClick(*args
, **kwargs
):
1311 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1312 return _ogl
.PyRectangleShape_base_OnRightClick(*args
, **kwargs
)
1314 def base_OnSize(*args
, **kwargs
):
1315 """base_OnSize(double x, double y)"""
1316 return _ogl
.PyRectangleShape_base_OnSize(*args
, **kwargs
)
1318 def base_OnMovePre(*args
, **kwargs
):
1320 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
1321 bool display=True) -> bool
1323 return _ogl
.PyRectangleShape_base_OnMovePre(*args
, **kwargs
)
1325 def base_OnMovePost(*args
, **kwargs
):
1327 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
1330 return _ogl
.PyRectangleShape_base_OnMovePost(*args
, **kwargs
)
1332 def base_OnDragLeft(*args
, **kwargs
):
1333 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1334 return _ogl
.PyRectangleShape_base_OnDragLeft(*args
, **kwargs
)
1336 def base_OnBeginDragLeft(*args
, **kwargs
):
1337 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1338 return _ogl
.PyRectangleShape_base_OnBeginDragLeft(*args
, **kwargs
)
1340 def base_OnEndDragLeft(*args
, **kwargs
):
1341 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1342 return _ogl
.PyRectangleShape_base_OnEndDragLeft(*args
, **kwargs
)
1344 def base_OnDragRight(*args
, **kwargs
):
1345 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1346 return _ogl
.PyRectangleShape_base_OnDragRight(*args
, **kwargs
)
1348 def base_OnBeginDragRight(*args
, **kwargs
):
1349 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1350 return _ogl
.PyRectangleShape_base_OnBeginDragRight(*args
, **kwargs
)
1352 def base_OnEndDragRight(*args
, **kwargs
):
1353 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1354 return _ogl
.PyRectangleShape_base_OnEndDragRight(*args
, **kwargs
)
1356 def base_OnDrawOutline(*args
, **kwargs
):
1357 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
1358 return _ogl
.PyRectangleShape_base_OnDrawOutline(*args
, **kwargs
)
1360 def base_OnDrawControlPoints(*args
, **kwargs
):
1361 """base_OnDrawControlPoints(DC dc)"""
1362 return _ogl
.PyRectangleShape_base_OnDrawControlPoints(*args
, **kwargs
)
1364 def base_OnEraseControlPoints(*args
, **kwargs
):
1365 """base_OnEraseControlPoints(DC dc)"""
1366 return _ogl
.PyRectangleShape_base_OnEraseControlPoints(*args
, **kwargs
)
1368 def base_OnMoveLink(*args
, **kwargs
):
1369 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
1370 return _ogl
.PyRectangleShape_base_OnMoveLink(*args
, **kwargs
)
1372 def base_OnSizingDragLeft(*args
, **kwargs
):
1374 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1377 return _ogl
.PyRectangleShape_base_OnSizingDragLeft(*args
, **kwargs
)
1379 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1381 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1384 return _ogl
.PyRectangleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1386 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1388 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1391 return _ogl
.PyRectangleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1393 def base_OnBeginSize(*args
, **kwargs
):
1394 """base_OnBeginSize(double w, double h)"""
1395 return _ogl
.PyRectangleShape_base_OnBeginSize(*args
, **kwargs
)
1397 def base_OnEndSize(*args
, **kwargs
):
1398 """base_OnEndSize(double w, double h)"""
1399 return _ogl
.PyRectangleShape_base_OnEndSize(*args
, **kwargs
)
1402 class PyRectangleShapePtr(PyRectangleShape
):
1403 def __init__(self
, this
):
1405 if not hasattr(self
,"thisown"): self
.thisown
= 0
1406 self
.__class
__ = PyRectangleShape
1407 _ogl
.PyRectangleShape_swigregister(PyRectangleShapePtr
)
1409 class PyControlPoint(PyRectangleShape
):
1411 return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1412 def __init__(self
, *args
, **kwargs
):
1414 __init__(PyShapeCanvas the_canvas=None, PyShape object=None,
1415 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
1416 int the_type=0) -> PyControlPoint
1418 newobj
= _ogl
.new_PyControlPoint(*args
, **kwargs
)
1419 self
.this
= newobj
.this
1422 self
._setOORandCallbackInfo
(PyControlPoint
)
1424 def _setCallbackInfo(*args
, **kwargs
):
1425 """_setCallbackInfo(PyObject self, PyObject _class)"""
1426 return _ogl
.PyControlPoint__setCallbackInfo(*args
, **kwargs
)
1428 def SetCornerRadius(*args
, **kwargs
):
1429 """SetCornerRadius(double radius)"""
1430 return _ogl
.PyControlPoint_SetCornerRadius(*args
, **kwargs
)
1432 def base_OnDelete(*args
, **kwargs
):
1433 """base_OnDelete()"""
1434 return _ogl
.PyControlPoint_base_OnDelete(*args
, **kwargs
)
1436 def base_OnDraw(*args
, **kwargs
):
1437 """base_OnDraw(DC dc)"""
1438 return _ogl
.PyControlPoint_base_OnDraw(*args
, **kwargs
)
1440 def base_OnDrawContents(*args
, **kwargs
):
1441 """base_OnDrawContents(DC dc)"""
1442 return _ogl
.PyControlPoint_base_OnDrawContents(*args
, **kwargs
)
1444 def base_OnDrawBranches(*args
, **kwargs
):
1445 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
1446 return _ogl
.PyControlPoint_base_OnDrawBranches(*args
, **kwargs
)
1448 def base_OnMoveLinks(*args
, **kwargs
):
1449 """base_OnMoveLinks(DC dc)"""
1450 return _ogl
.PyControlPoint_base_OnMoveLinks(*args
, **kwargs
)
1452 def base_OnErase(*args
, **kwargs
):
1453 """base_OnErase(DC dc)"""
1454 return _ogl
.PyControlPoint_base_OnErase(*args
, **kwargs
)
1456 def base_OnEraseContents(*args
, **kwargs
):
1457 """base_OnEraseContents(DC dc)"""
1458 return _ogl
.PyControlPoint_base_OnEraseContents(*args
, **kwargs
)
1460 def base_OnHighlight(*args
, **kwargs
):
1461 """base_OnHighlight(DC dc)"""
1462 return _ogl
.PyControlPoint_base_OnHighlight(*args
, **kwargs
)
1464 def base_OnLeftClick(*args
, **kwargs
):
1465 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1466 return _ogl
.PyControlPoint_base_OnLeftClick(*args
, **kwargs
)
1468 def base_OnLeftDoubleClick(*args
, **kwargs
):
1469 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1470 return _ogl
.PyControlPoint_base_OnLeftDoubleClick(*args
, **kwargs
)
1472 def base_OnRightClick(*args
, **kwargs
):
1473 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1474 return _ogl
.PyControlPoint_base_OnRightClick(*args
, **kwargs
)
1476 def base_OnSize(*args
, **kwargs
):
1477 """base_OnSize(double x, double y)"""
1478 return _ogl
.PyControlPoint_base_OnSize(*args
, **kwargs
)
1480 def base_OnMovePre(*args
, **kwargs
):
1482 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
1483 bool display=True) -> bool
1485 return _ogl
.PyControlPoint_base_OnMovePre(*args
, **kwargs
)
1487 def base_OnMovePost(*args
, **kwargs
):
1489 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
1492 return _ogl
.PyControlPoint_base_OnMovePost(*args
, **kwargs
)
1494 def base_OnDragLeft(*args
, **kwargs
):
1495 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1496 return _ogl
.PyControlPoint_base_OnDragLeft(*args
, **kwargs
)
1498 def base_OnBeginDragLeft(*args
, **kwargs
):
1499 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1500 return _ogl
.PyControlPoint_base_OnBeginDragLeft(*args
, **kwargs
)
1502 def base_OnEndDragLeft(*args
, **kwargs
):
1503 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1504 return _ogl
.PyControlPoint_base_OnEndDragLeft(*args
, **kwargs
)
1506 def base_OnDragRight(*args
, **kwargs
):
1507 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1508 return _ogl
.PyControlPoint_base_OnDragRight(*args
, **kwargs
)
1510 def base_OnBeginDragRight(*args
, **kwargs
):
1511 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1512 return _ogl
.PyControlPoint_base_OnBeginDragRight(*args
, **kwargs
)
1514 def base_OnEndDragRight(*args
, **kwargs
):
1515 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1516 return _ogl
.PyControlPoint_base_OnEndDragRight(*args
, **kwargs
)
1518 def base_OnDrawOutline(*args
, **kwargs
):
1519 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
1520 return _ogl
.PyControlPoint_base_OnDrawOutline(*args
, **kwargs
)
1522 def base_OnDrawControlPoints(*args
, **kwargs
):
1523 """base_OnDrawControlPoints(DC dc)"""
1524 return _ogl
.PyControlPoint_base_OnDrawControlPoints(*args
, **kwargs
)
1526 def base_OnEraseControlPoints(*args
, **kwargs
):
1527 """base_OnEraseControlPoints(DC dc)"""
1528 return _ogl
.PyControlPoint_base_OnEraseControlPoints(*args
, **kwargs
)
1530 def base_OnMoveLink(*args
, **kwargs
):
1531 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
1532 return _ogl
.PyControlPoint_base_OnMoveLink(*args
, **kwargs
)
1534 def base_OnSizingDragLeft(*args
, **kwargs
):
1536 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1539 return _ogl
.PyControlPoint_base_OnSizingDragLeft(*args
, **kwargs
)
1541 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1543 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1546 return _ogl
.PyControlPoint_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1548 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1550 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1553 return _ogl
.PyControlPoint_base_OnSizingEndDragLeft(*args
, **kwargs
)
1555 def base_OnBeginSize(*args
, **kwargs
):
1556 """base_OnBeginSize(double w, double h)"""
1557 return _ogl
.PyControlPoint_base_OnBeginSize(*args
, **kwargs
)
1559 def base_OnEndSize(*args
, **kwargs
):
1560 """base_OnEndSize(double w, double h)"""
1561 return _ogl
.PyControlPoint_base_OnEndSize(*args
, **kwargs
)
1564 class PyControlPointPtr(PyControlPoint
):
1565 def __init__(self
, this
):
1567 if not hasattr(self
,"thisown"): self
.thisown
= 0
1568 self
.__class
__ = PyControlPoint
1569 _ogl
.PyControlPoint_swigregister(PyControlPointPtr
)
1571 class PyBitmapShape(PyRectangleShape
):
1573 return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1574 def __init__(self
, *args
, **kwargs
):
1575 """__init__() -> PyBitmapShape"""
1576 newobj
= _ogl
.new_PyBitmapShape(*args
, **kwargs
)
1577 self
.this
= newobj
.this
1580 self
._setOORandCallbackInfo
(PyBitmapShape
)
1582 def _setCallbackInfo(*args
, **kwargs
):
1583 """_setCallbackInfo(PyObject self, PyObject _class)"""
1584 return _ogl
.PyBitmapShape__setCallbackInfo(*args
, **kwargs
)
1586 def GetBitmap(*args
, **kwargs
):
1587 """GetBitmap() -> Bitmap"""
1588 return _ogl
.PyBitmapShape_GetBitmap(*args
, **kwargs
)
1590 def GetFilename(*args
, **kwargs
):
1591 """GetFilename() -> String"""
1592 return _ogl
.PyBitmapShape_GetFilename(*args
, **kwargs
)
1594 def SetBitmap(*args
, **kwargs
):
1595 """SetBitmap(Bitmap bitmap)"""
1596 return _ogl
.PyBitmapShape_SetBitmap(*args
, **kwargs
)
1598 def SetFilename(*args
, **kwargs
):
1599 """SetFilename(String filename)"""
1600 return _ogl
.PyBitmapShape_SetFilename(*args
, **kwargs
)
1602 def base_OnDelete(*args
, **kwargs
):
1603 """base_OnDelete()"""
1604 return _ogl
.PyBitmapShape_base_OnDelete(*args
, **kwargs
)
1606 def base_OnDraw(*args
, **kwargs
):
1607 """base_OnDraw(DC dc)"""
1608 return _ogl
.PyBitmapShape_base_OnDraw(*args
, **kwargs
)
1610 def base_OnDrawContents(*args
, **kwargs
):
1611 """base_OnDrawContents(DC dc)"""
1612 return _ogl
.PyBitmapShape_base_OnDrawContents(*args
, **kwargs
)
1614 def base_OnDrawBranches(*args
, **kwargs
):
1615 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
1616 return _ogl
.PyBitmapShape_base_OnDrawBranches(*args
, **kwargs
)
1618 def base_OnMoveLinks(*args
, **kwargs
):
1619 """base_OnMoveLinks(DC dc)"""
1620 return _ogl
.PyBitmapShape_base_OnMoveLinks(*args
, **kwargs
)
1622 def base_OnErase(*args
, **kwargs
):
1623 """base_OnErase(DC dc)"""
1624 return _ogl
.PyBitmapShape_base_OnErase(*args
, **kwargs
)
1626 def base_OnEraseContents(*args
, **kwargs
):
1627 """base_OnEraseContents(DC dc)"""
1628 return _ogl
.PyBitmapShape_base_OnEraseContents(*args
, **kwargs
)
1630 def base_OnHighlight(*args
, **kwargs
):
1631 """base_OnHighlight(DC dc)"""
1632 return _ogl
.PyBitmapShape_base_OnHighlight(*args
, **kwargs
)
1634 def base_OnLeftClick(*args
, **kwargs
):
1635 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1636 return _ogl
.PyBitmapShape_base_OnLeftClick(*args
, **kwargs
)
1638 def base_OnLeftDoubleClick(*args
, **kwargs
):
1639 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1640 return _ogl
.PyBitmapShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1642 def base_OnRightClick(*args
, **kwargs
):
1643 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1644 return _ogl
.PyBitmapShape_base_OnRightClick(*args
, **kwargs
)
1646 def base_OnSize(*args
, **kwargs
):
1647 """base_OnSize(double x, double y)"""
1648 return _ogl
.PyBitmapShape_base_OnSize(*args
, **kwargs
)
1650 def base_OnMovePre(*args
, **kwargs
):
1652 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
1653 bool display=True) -> bool
1655 return _ogl
.PyBitmapShape_base_OnMovePre(*args
, **kwargs
)
1657 def base_OnMovePost(*args
, **kwargs
):
1659 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
1662 return _ogl
.PyBitmapShape_base_OnMovePost(*args
, **kwargs
)
1664 def base_OnDragLeft(*args
, **kwargs
):
1665 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1666 return _ogl
.PyBitmapShape_base_OnDragLeft(*args
, **kwargs
)
1668 def base_OnBeginDragLeft(*args
, **kwargs
):
1669 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1670 return _ogl
.PyBitmapShape_base_OnBeginDragLeft(*args
, **kwargs
)
1672 def base_OnEndDragLeft(*args
, **kwargs
):
1673 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1674 return _ogl
.PyBitmapShape_base_OnEndDragLeft(*args
, **kwargs
)
1676 def base_OnDragRight(*args
, **kwargs
):
1677 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1678 return _ogl
.PyBitmapShape_base_OnDragRight(*args
, **kwargs
)
1680 def base_OnBeginDragRight(*args
, **kwargs
):
1681 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1682 return _ogl
.PyBitmapShape_base_OnBeginDragRight(*args
, **kwargs
)
1684 def base_OnEndDragRight(*args
, **kwargs
):
1685 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1686 return _ogl
.PyBitmapShape_base_OnEndDragRight(*args
, **kwargs
)
1688 def base_OnDrawOutline(*args
, **kwargs
):
1689 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
1690 return _ogl
.PyBitmapShape_base_OnDrawOutline(*args
, **kwargs
)
1692 def base_OnDrawControlPoints(*args
, **kwargs
):
1693 """base_OnDrawControlPoints(DC dc)"""
1694 return _ogl
.PyBitmapShape_base_OnDrawControlPoints(*args
, **kwargs
)
1696 def base_OnEraseControlPoints(*args
, **kwargs
):
1697 """base_OnEraseControlPoints(DC dc)"""
1698 return _ogl
.PyBitmapShape_base_OnEraseControlPoints(*args
, **kwargs
)
1700 def base_OnMoveLink(*args
, **kwargs
):
1701 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
1702 return _ogl
.PyBitmapShape_base_OnMoveLink(*args
, **kwargs
)
1704 def base_OnSizingDragLeft(*args
, **kwargs
):
1706 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1709 return _ogl
.PyBitmapShape_base_OnSizingDragLeft(*args
, **kwargs
)
1711 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1713 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1716 return _ogl
.PyBitmapShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1718 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1720 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1723 return _ogl
.PyBitmapShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1725 def base_OnBeginSize(*args
, **kwargs
):
1726 """base_OnBeginSize(double w, double h)"""
1727 return _ogl
.PyBitmapShape_base_OnBeginSize(*args
, **kwargs
)
1729 def base_OnEndSize(*args
, **kwargs
):
1730 """base_OnEndSize(double w, double h)"""
1731 return _ogl
.PyBitmapShape_base_OnEndSize(*args
, **kwargs
)
1734 class PyBitmapShapePtr(PyBitmapShape
):
1735 def __init__(self
, this
):
1737 if not hasattr(self
,"thisown"): self
.thisown
= 0
1738 self
.__class
__ = PyBitmapShape
1739 _ogl
.PyBitmapShape_swigregister(PyBitmapShapePtr
)
1741 class PyDrawnShape(PyRectangleShape
):
1743 return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1744 def __init__(self
, *args
, **kwargs
):
1745 """__init__() -> PyDrawnShape"""
1746 newobj
= _ogl
.new_PyDrawnShape(*args
, **kwargs
)
1747 self
.this
= newobj
.this
1750 self
._setOORandCallbackInfo
(PyDrawnShape
)
1752 def _setCallbackInfo(*args
, **kwargs
):
1753 """_setCallbackInfo(PyObject self, PyObject _class)"""
1754 return _ogl
.PyDrawnShape__setCallbackInfo(*args
, **kwargs
)
1756 def CalculateSize(*args
, **kwargs
):
1757 """CalculateSize()"""
1758 return _ogl
.PyDrawnShape_CalculateSize(*args
, **kwargs
)
1760 def DestroyClippingRect(*args
, **kwargs
):
1761 """DestroyClippingRect()"""
1762 return _ogl
.PyDrawnShape_DestroyClippingRect(*args
, **kwargs
)
1764 def DrawArc(*args
, **kwargs
):
1765 """DrawArc(Point centrePoint, Point startPoint, Point endPoint)"""
1766 return _ogl
.PyDrawnShape_DrawArc(*args
, **kwargs
)
1768 def DrawAtAngle(*args
, **kwargs
):
1769 """DrawAtAngle(int angle)"""
1770 return _ogl
.PyDrawnShape_DrawAtAngle(*args
, **kwargs
)
1772 def DrawEllipticArc(*args
, **kwargs
):
1773 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1774 return _ogl
.PyDrawnShape_DrawEllipticArc(*args
, **kwargs
)
1776 def DrawLine(*args
, **kwargs
):
1777 """DrawLine(Point point1, Point point2)"""
1778 return _ogl
.PyDrawnShape_DrawLine(*args
, **kwargs
)
1780 def DrawLines(*args
, **kwargs
):
1781 """DrawLines(int PCOUNT, Point points)"""
1782 return _ogl
.PyDrawnShape_DrawLines(*args
, **kwargs
)
1784 def DrawPoint(*args
, **kwargs
):
1785 """DrawPoint(Point point)"""
1786 return _ogl
.PyDrawnShape_DrawPoint(*args
, **kwargs
)
1788 def DrawPolygon(*args
, **kwargs
):
1789 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1790 return _ogl
.PyDrawnShape_DrawPolygon(*args
, **kwargs
)
1792 def DrawRectangle(*args
, **kwargs
):
1793 """DrawRectangle(Rect rect)"""
1794 return _ogl
.PyDrawnShape_DrawRectangle(*args
, **kwargs
)
1796 def DrawRoundedRectangle(*args
, **kwargs
):
1797 """DrawRoundedRectangle(Rect rect, double radius)"""
1798 return _ogl
.PyDrawnShape_DrawRoundedRectangle(*args
, **kwargs
)
1800 def DrawSpline(*args
, **kwargs
):
1801 """DrawSpline(int PCOUNT, Point points)"""
1802 return _ogl
.PyDrawnShape_DrawSpline(*args
, **kwargs
)
1804 def DrawText(*args
, **kwargs
):
1805 """DrawText(String text, Point point)"""
1806 return _ogl
.PyDrawnShape_DrawText(*args
, **kwargs
)
1808 def GetAngle(*args
, **kwargs
):
1809 """GetAngle() -> int"""
1810 return _ogl
.PyDrawnShape_GetAngle(*args
, **kwargs
)
1812 def GetMetaFile(*args
, **kwargs
):
1813 """GetMetaFile() -> PseudoMetaFile"""
1814 return _ogl
.PyDrawnShape_GetMetaFile(*args
, **kwargs
)
1816 def GetRotation(*args
, **kwargs
):
1817 """GetRotation() -> double"""
1818 return _ogl
.PyDrawnShape_GetRotation(*args
, **kwargs
)
1820 def LoadFromMetaFile(*args
, **kwargs
):
1821 """LoadFromMetaFile(String filename) -> bool"""
1822 return _ogl
.PyDrawnShape_LoadFromMetaFile(*args
, **kwargs
)
1824 def Rotate(*args
, **kwargs
):
1825 """Rotate(double x, double y, double theta)"""
1826 return _ogl
.PyDrawnShape_Rotate(*args
, **kwargs
)
1828 def SetClippingRect(*args
, **kwargs
):
1829 """SetClippingRect(Rect rect)"""
1830 return _ogl
.PyDrawnShape_SetClippingRect(*args
, **kwargs
)
1832 def SetDrawnBackgroundColour(*args
, **kwargs
):
1833 """SetDrawnBackgroundColour(Colour colour)"""
1834 return _ogl
.PyDrawnShape_SetDrawnBackgroundColour(*args
, **kwargs
)
1836 def SetDrawnBackgroundMode(*args
, **kwargs
):
1837 """SetDrawnBackgroundMode(int mode)"""
1838 return _ogl
.PyDrawnShape_SetDrawnBackgroundMode(*args
, **kwargs
)
1840 def SetDrawnBrush(*args
, **kwargs
):
1841 """SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)"""
1842 return _ogl
.PyDrawnShape_SetDrawnBrush(*args
, **kwargs
)
1844 def SetDrawnFont(*args
, **kwargs
):
1845 """SetDrawnFont(Font font)"""
1846 return _ogl
.PyDrawnShape_SetDrawnFont(*args
, **kwargs
)
1848 def SetDrawnPen(*args
, **kwargs
):
1849 """SetDrawnPen(wxPen pen, bool isOutline=FALSE)"""
1850 return _ogl
.PyDrawnShape_SetDrawnPen(*args
, **kwargs
)
1852 def SetDrawnTextColour(*args
, **kwargs
):
1853 """SetDrawnTextColour(Colour colour)"""
1854 return _ogl
.PyDrawnShape_SetDrawnTextColour(*args
, **kwargs
)
1856 def Scale(*args
, **kwargs
):
1857 """Scale(double sx, double sy)"""
1858 return _ogl
.PyDrawnShape_Scale(*args
, **kwargs
)
1860 def SetSaveToFile(*args
, **kwargs
):
1861 """SetSaveToFile(bool save)"""
1862 return _ogl
.PyDrawnShape_SetSaveToFile(*args
, **kwargs
)
1864 def Translate(*args
, **kwargs
):
1865 """Translate(double x, double y)"""
1866 return _ogl
.PyDrawnShape_Translate(*args
, **kwargs
)
1868 def base_OnDelete(*args
, **kwargs
):
1869 """base_OnDelete()"""
1870 return _ogl
.PyDrawnShape_base_OnDelete(*args
, **kwargs
)
1872 def base_OnDraw(*args
, **kwargs
):
1873 """base_OnDraw(DC dc)"""
1874 return _ogl
.PyDrawnShape_base_OnDraw(*args
, **kwargs
)
1876 def base_OnDrawContents(*args
, **kwargs
):
1877 """base_OnDrawContents(DC dc)"""
1878 return _ogl
.PyDrawnShape_base_OnDrawContents(*args
, **kwargs
)
1880 def base_OnDrawBranches(*args
, **kwargs
):
1881 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
1882 return _ogl
.PyDrawnShape_base_OnDrawBranches(*args
, **kwargs
)
1884 def base_OnMoveLinks(*args
, **kwargs
):
1885 """base_OnMoveLinks(DC dc)"""
1886 return _ogl
.PyDrawnShape_base_OnMoveLinks(*args
, **kwargs
)
1888 def base_OnErase(*args
, **kwargs
):
1889 """base_OnErase(DC dc)"""
1890 return _ogl
.PyDrawnShape_base_OnErase(*args
, **kwargs
)
1892 def base_OnEraseContents(*args
, **kwargs
):
1893 """base_OnEraseContents(DC dc)"""
1894 return _ogl
.PyDrawnShape_base_OnEraseContents(*args
, **kwargs
)
1896 def base_OnHighlight(*args
, **kwargs
):
1897 """base_OnHighlight(DC dc)"""
1898 return _ogl
.PyDrawnShape_base_OnHighlight(*args
, **kwargs
)
1900 def base_OnLeftClick(*args
, **kwargs
):
1901 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1902 return _ogl
.PyDrawnShape_base_OnLeftClick(*args
, **kwargs
)
1904 def base_OnLeftDoubleClick(*args
, **kwargs
):
1905 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1906 return _ogl
.PyDrawnShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1908 def base_OnRightClick(*args
, **kwargs
):
1909 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1910 return _ogl
.PyDrawnShape_base_OnRightClick(*args
, **kwargs
)
1912 def base_OnSize(*args
, **kwargs
):
1913 """base_OnSize(double x, double y)"""
1914 return _ogl
.PyDrawnShape_base_OnSize(*args
, **kwargs
)
1916 def base_OnMovePre(*args
, **kwargs
):
1918 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
1919 bool display=True) -> bool
1921 return _ogl
.PyDrawnShape_base_OnMovePre(*args
, **kwargs
)
1923 def base_OnMovePost(*args
, **kwargs
):
1925 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
1928 return _ogl
.PyDrawnShape_base_OnMovePost(*args
, **kwargs
)
1930 def base_OnDragLeft(*args
, **kwargs
):
1931 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1932 return _ogl
.PyDrawnShape_base_OnDragLeft(*args
, **kwargs
)
1934 def base_OnBeginDragLeft(*args
, **kwargs
):
1935 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1936 return _ogl
.PyDrawnShape_base_OnBeginDragLeft(*args
, **kwargs
)
1938 def base_OnEndDragLeft(*args
, **kwargs
):
1939 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1940 return _ogl
.PyDrawnShape_base_OnEndDragLeft(*args
, **kwargs
)
1942 def base_OnDragRight(*args
, **kwargs
):
1943 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1944 return _ogl
.PyDrawnShape_base_OnDragRight(*args
, **kwargs
)
1946 def base_OnBeginDragRight(*args
, **kwargs
):
1947 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1948 return _ogl
.PyDrawnShape_base_OnBeginDragRight(*args
, **kwargs
)
1950 def base_OnEndDragRight(*args
, **kwargs
):
1951 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1952 return _ogl
.PyDrawnShape_base_OnEndDragRight(*args
, **kwargs
)
1954 def base_OnDrawOutline(*args
, **kwargs
):
1955 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
1956 return _ogl
.PyDrawnShape_base_OnDrawOutline(*args
, **kwargs
)
1958 def base_OnDrawControlPoints(*args
, **kwargs
):
1959 """base_OnDrawControlPoints(DC dc)"""
1960 return _ogl
.PyDrawnShape_base_OnDrawControlPoints(*args
, **kwargs
)
1962 def base_OnEraseControlPoints(*args
, **kwargs
):
1963 """base_OnEraseControlPoints(DC dc)"""
1964 return _ogl
.PyDrawnShape_base_OnEraseControlPoints(*args
, **kwargs
)
1966 def base_OnMoveLink(*args
, **kwargs
):
1967 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
1968 return _ogl
.PyDrawnShape_base_OnMoveLink(*args
, **kwargs
)
1970 def base_OnSizingDragLeft(*args
, **kwargs
):
1972 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1975 return _ogl
.PyDrawnShape_base_OnSizingDragLeft(*args
, **kwargs
)
1977 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1979 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1982 return _ogl
.PyDrawnShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1984 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1986 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1989 return _ogl
.PyDrawnShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1991 def base_OnBeginSize(*args
, **kwargs
):
1992 """base_OnBeginSize(double w, double h)"""
1993 return _ogl
.PyDrawnShape_base_OnBeginSize(*args
, **kwargs
)
1995 def base_OnEndSize(*args
, **kwargs
):
1996 """base_OnEndSize(double w, double h)"""
1997 return _ogl
.PyDrawnShape_base_OnEndSize(*args
, **kwargs
)
2000 class PyDrawnShapePtr(PyDrawnShape
):
2001 def __init__(self
, this
):
2003 if not hasattr(self
,"thisown"): self
.thisown
= 0
2004 self
.__class
__ = PyDrawnShape
2005 _ogl
.PyDrawnShape_swigregister(PyDrawnShapePtr
)
2007 class OGLConstraint(core
.Object
):
2009 return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2010 def __init__(self
, *args
, **kwargs
):
2011 """__init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2012 newobj
= _ogl
.new_OGLConstraint(*args
, **kwargs
)
2013 self
.this
= newobj
.this
2016 def Evaluate(*args
, **kwargs
):
2017 """Evaluate() -> bool"""
2018 return _ogl
.OGLConstraint_Evaluate(*args
, **kwargs
)
2020 def SetSpacing(*args
, **kwargs
):
2021 """SetSpacing(double x, double y)"""
2022 return _ogl
.OGLConstraint_SetSpacing(*args
, **kwargs
)
2024 def Equals(*args
, **kwargs
):
2025 """Equals(double a, double b) -> bool"""
2026 return _ogl
.OGLConstraint_Equals(*args
, **kwargs
)
2029 class OGLConstraintPtr(OGLConstraint
):
2030 def __init__(self
, this
):
2032 if not hasattr(self
,"thisown"): self
.thisown
= 0
2033 self
.__class
__ = OGLConstraint
2034 _ogl
.OGLConstraint_swigregister(OGLConstraintPtr
)
2036 class PyCompositeShape(PyRectangleShape
):
2038 return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2039 def __init__(self
, *args
, **kwargs
):
2040 """__init__() -> PyCompositeShape"""
2041 newobj
= _ogl
.new_PyCompositeShape(*args
, **kwargs
)
2042 self
.this
= newobj
.this
2045 self
._setOORandCallbackInfo
(PyCompositeShape
)
2047 def _setCallbackInfo(*args
, **kwargs
):
2048 """_setCallbackInfo(PyObject self, PyObject _class)"""
2049 return _ogl
.PyCompositeShape__setCallbackInfo(*args
, **kwargs
)
2051 def AddChild(*args
, **kwargs
):
2052 """AddChild(PyShape child, PyShape addAfter=None)"""
2053 return _ogl
.PyCompositeShape_AddChild(*args
, **kwargs
)
2055 def AddConstraint(*args
, **kwargs
):
2056 """AddConstraint(OGLConstraint constraint) -> OGLConstraint"""
2057 return _ogl
.PyCompositeShape_AddConstraint(*args
, **kwargs
)
2059 def AddConstrainedShapes(*args
, **kwargs
):
2060 """AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2061 return _ogl
.PyCompositeShape_AddConstrainedShapes(*args
, **kwargs
)
2063 def AddSimpleConstraint(*args
, **kwargs
):
2064 """AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint"""
2065 return _ogl
.PyCompositeShape_AddSimpleConstraint(*args
, **kwargs
)
2067 def CalculateSize(*args
, **kwargs
):
2068 """CalculateSize()"""
2069 return _ogl
.PyCompositeShape_CalculateSize(*args
, **kwargs
)
2071 def ContainsDivision(*args
, **kwargs
):
2072 """ContainsDivision(PyDivisionShape division) -> bool"""
2073 return _ogl
.PyCompositeShape_ContainsDivision(*args
, **kwargs
)
2075 def DeleteConstraint(*args
, **kwargs
):
2076 """DeleteConstraint(OGLConstraint constraint)"""
2077 return _ogl
.PyCompositeShape_DeleteConstraint(*args
, **kwargs
)
2079 def DeleteConstraintsInvolvingChild(*args
, **kwargs
):
2080 """DeleteConstraintsInvolvingChild(PyShape child)"""
2081 return _ogl
.PyCompositeShape_DeleteConstraintsInvolvingChild(*args
, **kwargs
)
2083 def FindContainerImage(*args
, **kwargs
):
2084 """FindContainerImage() -> PyShape"""
2085 return _ogl
.PyCompositeShape_FindContainerImage(*args
, **kwargs
)
2087 def GetConstraints(*args
, **kwargs
):
2088 """GetConstraints() -> PyObject"""
2089 return _ogl
.PyCompositeShape_GetConstraints(*args
, **kwargs
)
2091 def GetDivisions(*args
, **kwargs
):
2092 """GetDivisions() -> PyObject"""
2093 return _ogl
.PyCompositeShape_GetDivisions(*args
, **kwargs
)
2095 def MakeContainer(*args
, **kwargs
):
2096 """MakeContainer()"""
2097 return _ogl
.PyCompositeShape_MakeContainer(*args
, **kwargs
)
2099 def Recompute(*args
, **kwargs
):
2100 """Recompute() -> bool"""
2101 return _ogl
.PyCompositeShape_Recompute(*args
, **kwargs
)
2103 def RemoveChild(*args
, **kwargs
):
2104 """RemoveChild(PyShape child)"""
2105 return _ogl
.PyCompositeShape_RemoveChild(*args
, **kwargs
)
2107 def base_OnDelete(*args
, **kwargs
):
2108 """base_OnDelete()"""
2109 return _ogl
.PyCompositeShape_base_OnDelete(*args
, **kwargs
)
2111 def base_OnDraw(*args
, **kwargs
):
2112 """base_OnDraw(DC dc)"""
2113 return _ogl
.PyCompositeShape_base_OnDraw(*args
, **kwargs
)
2115 def base_OnDrawContents(*args
, **kwargs
):
2116 """base_OnDrawContents(DC dc)"""
2117 return _ogl
.PyCompositeShape_base_OnDrawContents(*args
, **kwargs
)
2119 def base_OnDrawBranches(*args
, **kwargs
):
2120 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
2121 return _ogl
.PyCompositeShape_base_OnDrawBranches(*args
, **kwargs
)
2123 def base_OnMoveLinks(*args
, **kwargs
):
2124 """base_OnMoveLinks(DC dc)"""
2125 return _ogl
.PyCompositeShape_base_OnMoveLinks(*args
, **kwargs
)
2127 def base_OnErase(*args
, **kwargs
):
2128 """base_OnErase(DC dc)"""
2129 return _ogl
.PyCompositeShape_base_OnErase(*args
, **kwargs
)
2131 def base_OnEraseContents(*args
, **kwargs
):
2132 """base_OnEraseContents(DC dc)"""
2133 return _ogl
.PyCompositeShape_base_OnEraseContents(*args
, **kwargs
)
2135 def base_OnHighlight(*args
, **kwargs
):
2136 """base_OnHighlight(DC dc)"""
2137 return _ogl
.PyCompositeShape_base_OnHighlight(*args
, **kwargs
)
2139 def base_OnLeftClick(*args
, **kwargs
):
2140 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2141 return _ogl
.PyCompositeShape_base_OnLeftClick(*args
, **kwargs
)
2143 def base_OnLeftDoubleClick(*args
, **kwargs
):
2144 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2145 return _ogl
.PyCompositeShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2147 def base_OnRightClick(*args
, **kwargs
):
2148 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2149 return _ogl
.PyCompositeShape_base_OnRightClick(*args
, **kwargs
)
2151 def base_OnSize(*args
, **kwargs
):
2152 """base_OnSize(double x, double y)"""
2153 return _ogl
.PyCompositeShape_base_OnSize(*args
, **kwargs
)
2155 def base_OnMovePre(*args
, **kwargs
):
2157 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
2158 bool display=True) -> bool
2160 return _ogl
.PyCompositeShape_base_OnMovePre(*args
, **kwargs
)
2162 def base_OnMovePost(*args
, **kwargs
):
2164 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
2167 return _ogl
.PyCompositeShape_base_OnMovePost(*args
, **kwargs
)
2169 def base_OnDragLeft(*args
, **kwargs
):
2170 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2171 return _ogl
.PyCompositeShape_base_OnDragLeft(*args
, **kwargs
)
2173 def base_OnBeginDragLeft(*args
, **kwargs
):
2174 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2175 return _ogl
.PyCompositeShape_base_OnBeginDragLeft(*args
, **kwargs
)
2177 def base_OnEndDragLeft(*args
, **kwargs
):
2178 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2179 return _ogl
.PyCompositeShape_base_OnEndDragLeft(*args
, **kwargs
)
2181 def base_OnDragRight(*args
, **kwargs
):
2182 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2183 return _ogl
.PyCompositeShape_base_OnDragRight(*args
, **kwargs
)
2185 def base_OnBeginDragRight(*args
, **kwargs
):
2186 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2187 return _ogl
.PyCompositeShape_base_OnBeginDragRight(*args
, **kwargs
)
2189 def base_OnEndDragRight(*args
, **kwargs
):
2190 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2191 return _ogl
.PyCompositeShape_base_OnEndDragRight(*args
, **kwargs
)
2193 def base_OnDrawOutline(*args
, **kwargs
):
2194 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
2195 return _ogl
.PyCompositeShape_base_OnDrawOutline(*args
, **kwargs
)
2197 def base_OnDrawControlPoints(*args
, **kwargs
):
2198 """base_OnDrawControlPoints(DC dc)"""
2199 return _ogl
.PyCompositeShape_base_OnDrawControlPoints(*args
, **kwargs
)
2201 def base_OnEraseControlPoints(*args
, **kwargs
):
2202 """base_OnEraseControlPoints(DC dc)"""
2203 return _ogl
.PyCompositeShape_base_OnEraseControlPoints(*args
, **kwargs
)
2205 def base_OnMoveLink(*args
, **kwargs
):
2206 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
2207 return _ogl
.PyCompositeShape_base_OnMoveLink(*args
, **kwargs
)
2209 def base_OnSizingDragLeft(*args
, **kwargs
):
2211 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2214 return _ogl
.PyCompositeShape_base_OnSizingDragLeft(*args
, **kwargs
)
2216 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2218 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2221 return _ogl
.PyCompositeShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2223 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2225 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2228 return _ogl
.PyCompositeShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2230 def base_OnBeginSize(*args
, **kwargs
):
2231 """base_OnBeginSize(double w, double h)"""
2232 return _ogl
.PyCompositeShape_base_OnBeginSize(*args
, **kwargs
)
2234 def base_OnEndSize(*args
, **kwargs
):
2235 """base_OnEndSize(double w, double h)"""
2236 return _ogl
.PyCompositeShape_base_OnEndSize(*args
, **kwargs
)
2239 class PyCompositeShapePtr(PyCompositeShape
):
2240 def __init__(self
, this
):
2242 if not hasattr(self
,"thisown"): self
.thisown
= 0
2243 self
.__class
__ = PyCompositeShape
2244 _ogl
.PyCompositeShape_swigregister(PyCompositeShapePtr
)
2246 class PyDividedShape(PyRectangleShape
):
2248 return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2249 def __init__(self
, *args
, **kwargs
):
2250 """__init__(double width=0.0, double height=0.0) -> PyDividedShape"""
2251 newobj
= _ogl
.new_PyDividedShape(*args
, **kwargs
)
2252 self
.this
= newobj
.this
2255 self
._setOORandCallbackInfo
(PyDividedShape
)
2257 def _setCallbackInfo(*args
, **kwargs
):
2258 """_setCallbackInfo(PyObject self, PyObject _class)"""
2259 return _ogl
.PyDividedShape__setCallbackInfo(*args
, **kwargs
)
2261 def EditRegions(*args
, **kwargs
):
2263 return _ogl
.PyDividedShape_EditRegions(*args
, **kwargs
)
2265 def SetRegionSizes(*args
, **kwargs
):
2266 """SetRegionSizes()"""
2267 return _ogl
.PyDividedShape_SetRegionSizes(*args
, **kwargs
)
2269 def base_OnDelete(*args
, **kwargs
):
2270 """base_OnDelete()"""
2271 return _ogl
.PyDividedShape_base_OnDelete(*args
, **kwargs
)
2273 def base_OnDraw(*args
, **kwargs
):
2274 """base_OnDraw(DC dc)"""
2275 return _ogl
.PyDividedShape_base_OnDraw(*args
, **kwargs
)
2277 def base_OnDrawContents(*args
, **kwargs
):
2278 """base_OnDrawContents(DC dc)"""
2279 return _ogl
.PyDividedShape_base_OnDrawContents(*args
, **kwargs
)
2281 def base_OnDrawBranches(*args
, **kwargs
):
2282 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
2283 return _ogl
.PyDividedShape_base_OnDrawBranches(*args
, **kwargs
)
2285 def base_OnMoveLinks(*args
, **kwargs
):
2286 """base_OnMoveLinks(DC dc)"""
2287 return _ogl
.PyDividedShape_base_OnMoveLinks(*args
, **kwargs
)
2289 def base_OnErase(*args
, **kwargs
):
2290 """base_OnErase(DC dc)"""
2291 return _ogl
.PyDividedShape_base_OnErase(*args
, **kwargs
)
2293 def base_OnEraseContents(*args
, **kwargs
):
2294 """base_OnEraseContents(DC dc)"""
2295 return _ogl
.PyDividedShape_base_OnEraseContents(*args
, **kwargs
)
2297 def base_OnHighlight(*args
, **kwargs
):
2298 """base_OnHighlight(DC dc)"""
2299 return _ogl
.PyDividedShape_base_OnHighlight(*args
, **kwargs
)
2301 def base_OnLeftClick(*args
, **kwargs
):
2302 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2303 return _ogl
.PyDividedShape_base_OnLeftClick(*args
, **kwargs
)
2305 def base_OnLeftDoubleClick(*args
, **kwargs
):
2306 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2307 return _ogl
.PyDividedShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2309 def base_OnRightClick(*args
, **kwargs
):
2310 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2311 return _ogl
.PyDividedShape_base_OnRightClick(*args
, **kwargs
)
2313 def base_OnSize(*args
, **kwargs
):
2314 """base_OnSize(double x, double y)"""
2315 return _ogl
.PyDividedShape_base_OnSize(*args
, **kwargs
)
2317 def base_OnMovePre(*args
, **kwargs
):
2319 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
2320 bool display=True) -> bool
2322 return _ogl
.PyDividedShape_base_OnMovePre(*args
, **kwargs
)
2324 def base_OnMovePost(*args
, **kwargs
):
2326 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
2329 return _ogl
.PyDividedShape_base_OnMovePost(*args
, **kwargs
)
2331 def base_OnDragLeft(*args
, **kwargs
):
2332 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2333 return _ogl
.PyDividedShape_base_OnDragLeft(*args
, **kwargs
)
2335 def base_OnBeginDragLeft(*args
, **kwargs
):
2336 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2337 return _ogl
.PyDividedShape_base_OnBeginDragLeft(*args
, **kwargs
)
2339 def base_OnEndDragLeft(*args
, **kwargs
):
2340 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2341 return _ogl
.PyDividedShape_base_OnEndDragLeft(*args
, **kwargs
)
2343 def base_OnDragRight(*args
, **kwargs
):
2344 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2345 return _ogl
.PyDividedShape_base_OnDragRight(*args
, **kwargs
)
2347 def base_OnBeginDragRight(*args
, **kwargs
):
2348 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2349 return _ogl
.PyDividedShape_base_OnBeginDragRight(*args
, **kwargs
)
2351 def base_OnEndDragRight(*args
, **kwargs
):
2352 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2353 return _ogl
.PyDividedShape_base_OnEndDragRight(*args
, **kwargs
)
2355 def base_OnDrawOutline(*args
, **kwargs
):
2356 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
2357 return _ogl
.PyDividedShape_base_OnDrawOutline(*args
, **kwargs
)
2359 def base_OnDrawControlPoints(*args
, **kwargs
):
2360 """base_OnDrawControlPoints(DC dc)"""
2361 return _ogl
.PyDividedShape_base_OnDrawControlPoints(*args
, **kwargs
)
2363 def base_OnEraseControlPoints(*args
, **kwargs
):
2364 """base_OnEraseControlPoints(DC dc)"""
2365 return _ogl
.PyDividedShape_base_OnEraseControlPoints(*args
, **kwargs
)
2367 def base_OnMoveLink(*args
, **kwargs
):
2368 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
2369 return _ogl
.PyDividedShape_base_OnMoveLink(*args
, **kwargs
)
2371 def base_OnSizingDragLeft(*args
, **kwargs
):
2373 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2376 return _ogl
.PyDividedShape_base_OnSizingDragLeft(*args
, **kwargs
)
2378 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2380 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2383 return _ogl
.PyDividedShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2385 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2387 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2390 return _ogl
.PyDividedShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2392 def base_OnBeginSize(*args
, **kwargs
):
2393 """base_OnBeginSize(double w, double h)"""
2394 return _ogl
.PyDividedShape_base_OnBeginSize(*args
, **kwargs
)
2396 def base_OnEndSize(*args
, **kwargs
):
2397 """base_OnEndSize(double w, double h)"""
2398 return _ogl
.PyDividedShape_base_OnEndSize(*args
, **kwargs
)
2401 class PyDividedShapePtr(PyDividedShape
):
2402 def __init__(self
, this
):
2404 if not hasattr(self
,"thisown"): self
.thisown
= 0
2405 self
.__class
__ = PyDividedShape
2406 _ogl
.PyDividedShape_swigregister(PyDividedShapePtr
)
2408 class PyDivisionShape(PyCompositeShape
):
2410 return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2411 def __init__(self
, *args
, **kwargs
):
2412 """__init__() -> PyDivisionShape"""
2413 newobj
= _ogl
.new_PyDivisionShape(*args
, **kwargs
)
2414 self
.this
= newobj
.this
2417 self
._setOORandCallbackInfo
(PyDivisionShape
)
2419 def _setCallbackInfo(*args
, **kwargs
):
2420 """_setCallbackInfo(PyObject self, PyObject _class)"""
2421 return _ogl
.PyDivisionShape__setCallbackInfo(*args
, **kwargs
)
2423 def AdjustBottom(*args
, **kwargs
):
2424 """AdjustBottom(double bottom, bool test)"""
2425 return _ogl
.PyDivisionShape_AdjustBottom(*args
, **kwargs
)
2427 def AdjustLeft(*args
, **kwargs
):
2428 """AdjustLeft(double left, bool test)"""
2429 return _ogl
.PyDivisionShape_AdjustLeft(*args
, **kwargs
)
2431 def AdjustRight(*args
, **kwargs
):
2432 """AdjustRight(double right, bool test)"""
2433 return _ogl
.PyDivisionShape_AdjustRight(*args
, **kwargs
)
2435 def AdjustTop(*args
, **kwargs
):
2436 """AdjustTop(double top, bool test)"""
2437 return _ogl
.PyDivisionShape_AdjustTop(*args
, **kwargs
)
2439 def Divide(*args
, **kwargs
):
2440 """Divide(int direction)"""
2441 return _ogl
.PyDivisionShape_Divide(*args
, **kwargs
)
2443 def EditEdge(*args
, **kwargs
):
2444 """EditEdge(int side)"""
2445 return _ogl
.PyDivisionShape_EditEdge(*args
, **kwargs
)
2447 def GetBottomSide(*args
, **kwargs
):
2448 """GetBottomSide() -> PyDivisionShape"""
2449 return _ogl
.PyDivisionShape_GetBottomSide(*args
, **kwargs
)
2451 def GetHandleSide(*args
, **kwargs
):
2452 """GetHandleSide() -> int"""
2453 return _ogl
.PyDivisionShape_GetHandleSide(*args
, **kwargs
)
2455 def GetLeftSide(*args
, **kwargs
):
2456 """GetLeftSide() -> PyDivisionShape"""
2457 return _ogl
.PyDivisionShape_GetLeftSide(*args
, **kwargs
)
2459 def GetLeftSideColour(*args
, **kwargs
):
2460 """GetLeftSideColour() -> String"""
2461 return _ogl
.PyDivisionShape_GetLeftSideColour(*args
, **kwargs
)
2463 def GetLeftSidePen(*args
, **kwargs
):
2464 """GetLeftSidePen() -> wxPen"""
2465 return _ogl
.PyDivisionShape_GetLeftSidePen(*args
, **kwargs
)
2467 def GetRightSide(*args
, **kwargs
):
2468 """GetRightSide() -> PyDivisionShape"""
2469 return _ogl
.PyDivisionShape_GetRightSide(*args
, **kwargs
)
2471 def GetTopSide(*args
, **kwargs
):
2472 """GetTopSide() -> PyDivisionShape"""
2473 return _ogl
.PyDivisionShape_GetTopSide(*args
, **kwargs
)
2475 def GetTopSidePen(*args
, **kwargs
):
2476 """GetTopSidePen() -> wxPen"""
2477 return _ogl
.PyDivisionShape_GetTopSidePen(*args
, **kwargs
)
2479 def ResizeAdjoining(*args
, **kwargs
):
2480 """ResizeAdjoining(int side, double newPos, bool test)"""
2481 return _ogl
.PyDivisionShape_ResizeAdjoining(*args
, **kwargs
)
2483 def PopupMenu(*args
, **kwargs
):
2484 """PopupMenu(double x, double y)"""
2485 return _ogl
.PyDivisionShape_PopupMenu(*args
, **kwargs
)
2487 def SetBottomSide(*args
, **kwargs
):
2488 """SetBottomSide(PyDivisionShape shape)"""
2489 return _ogl
.PyDivisionShape_SetBottomSide(*args
, **kwargs
)
2491 def SetHandleSide(*args
, **kwargs
):
2492 """SetHandleSide(int side)"""
2493 return _ogl
.PyDivisionShape_SetHandleSide(*args
, **kwargs
)
2495 def SetLeftSide(*args
, **kwargs
):
2496 """SetLeftSide(PyDivisionShape shape)"""
2497 return _ogl
.PyDivisionShape_SetLeftSide(*args
, **kwargs
)
2499 def SetLeftSideColour(*args
, **kwargs
):
2500 """SetLeftSideColour(String colour)"""
2501 return _ogl
.PyDivisionShape_SetLeftSideColour(*args
, **kwargs
)
2503 def SetLeftSidePen(*args
, **kwargs
):
2504 """SetLeftSidePen(wxPen pen)"""
2505 return _ogl
.PyDivisionShape_SetLeftSidePen(*args
, **kwargs
)
2507 def SetRightSide(*args
, **kwargs
):
2508 """SetRightSide(PyDivisionShape shape)"""
2509 return _ogl
.PyDivisionShape_SetRightSide(*args
, **kwargs
)
2511 def SetTopSide(*args
, **kwargs
):
2512 """SetTopSide(PyDivisionShape shape)"""
2513 return _ogl
.PyDivisionShape_SetTopSide(*args
, **kwargs
)
2515 def SetTopSideColour(*args
, **kwargs
):
2516 """SetTopSideColour(String colour)"""
2517 return _ogl
.PyDivisionShape_SetTopSideColour(*args
, **kwargs
)
2519 def SetTopSidePen(*args
, **kwargs
):
2520 """SetTopSidePen(wxPen pen)"""
2521 return _ogl
.PyDivisionShape_SetTopSidePen(*args
, **kwargs
)
2523 def base_OnDelete(*args
, **kwargs
):
2524 """base_OnDelete()"""
2525 return _ogl
.PyDivisionShape_base_OnDelete(*args
, **kwargs
)
2527 def base_OnDraw(*args
, **kwargs
):
2528 """base_OnDraw(DC dc)"""
2529 return _ogl
.PyDivisionShape_base_OnDraw(*args
, **kwargs
)
2531 def base_OnDrawContents(*args
, **kwargs
):
2532 """base_OnDrawContents(DC dc)"""
2533 return _ogl
.PyDivisionShape_base_OnDrawContents(*args
, **kwargs
)
2535 def base_OnDrawBranches(*args
, **kwargs
):
2536 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
2537 return _ogl
.PyDivisionShape_base_OnDrawBranches(*args
, **kwargs
)
2539 def base_OnMoveLinks(*args
, **kwargs
):
2540 """base_OnMoveLinks(DC dc)"""
2541 return _ogl
.PyDivisionShape_base_OnMoveLinks(*args
, **kwargs
)
2543 def base_OnErase(*args
, **kwargs
):
2544 """base_OnErase(DC dc)"""
2545 return _ogl
.PyDivisionShape_base_OnErase(*args
, **kwargs
)
2547 def base_OnEraseContents(*args
, **kwargs
):
2548 """base_OnEraseContents(DC dc)"""
2549 return _ogl
.PyDivisionShape_base_OnEraseContents(*args
, **kwargs
)
2551 def base_OnHighlight(*args
, **kwargs
):
2552 """base_OnHighlight(DC dc)"""
2553 return _ogl
.PyDivisionShape_base_OnHighlight(*args
, **kwargs
)
2555 def base_OnLeftClick(*args
, **kwargs
):
2556 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2557 return _ogl
.PyDivisionShape_base_OnLeftClick(*args
, **kwargs
)
2559 def base_OnLeftDoubleClick(*args
, **kwargs
):
2560 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2561 return _ogl
.PyDivisionShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2563 def base_OnRightClick(*args
, **kwargs
):
2564 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2565 return _ogl
.PyDivisionShape_base_OnRightClick(*args
, **kwargs
)
2567 def base_OnSize(*args
, **kwargs
):
2568 """base_OnSize(double x, double y)"""
2569 return _ogl
.PyDivisionShape_base_OnSize(*args
, **kwargs
)
2571 def base_OnMovePre(*args
, **kwargs
):
2573 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
2574 bool display=True) -> bool
2576 return _ogl
.PyDivisionShape_base_OnMovePre(*args
, **kwargs
)
2578 def base_OnMovePost(*args
, **kwargs
):
2580 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
2583 return _ogl
.PyDivisionShape_base_OnMovePost(*args
, **kwargs
)
2585 def base_OnDragLeft(*args
, **kwargs
):
2586 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2587 return _ogl
.PyDivisionShape_base_OnDragLeft(*args
, **kwargs
)
2589 def base_OnBeginDragLeft(*args
, **kwargs
):
2590 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2591 return _ogl
.PyDivisionShape_base_OnBeginDragLeft(*args
, **kwargs
)
2593 def base_OnEndDragLeft(*args
, **kwargs
):
2594 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2595 return _ogl
.PyDivisionShape_base_OnEndDragLeft(*args
, **kwargs
)
2597 def base_OnDragRight(*args
, **kwargs
):
2598 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2599 return _ogl
.PyDivisionShape_base_OnDragRight(*args
, **kwargs
)
2601 def base_OnBeginDragRight(*args
, **kwargs
):
2602 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2603 return _ogl
.PyDivisionShape_base_OnBeginDragRight(*args
, **kwargs
)
2605 def base_OnEndDragRight(*args
, **kwargs
):
2606 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2607 return _ogl
.PyDivisionShape_base_OnEndDragRight(*args
, **kwargs
)
2609 def base_OnDrawOutline(*args
, **kwargs
):
2610 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
2611 return _ogl
.PyDivisionShape_base_OnDrawOutline(*args
, **kwargs
)
2613 def base_OnDrawControlPoints(*args
, **kwargs
):
2614 """base_OnDrawControlPoints(DC dc)"""
2615 return _ogl
.PyDivisionShape_base_OnDrawControlPoints(*args
, **kwargs
)
2617 def base_OnEraseControlPoints(*args
, **kwargs
):
2618 """base_OnEraseControlPoints(DC dc)"""
2619 return _ogl
.PyDivisionShape_base_OnEraseControlPoints(*args
, **kwargs
)
2621 def base_OnMoveLink(*args
, **kwargs
):
2622 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
2623 return _ogl
.PyDivisionShape_base_OnMoveLink(*args
, **kwargs
)
2625 def base_OnSizingDragLeft(*args
, **kwargs
):
2627 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2630 return _ogl
.PyDivisionShape_base_OnSizingDragLeft(*args
, **kwargs
)
2632 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2634 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2637 return _ogl
.PyDivisionShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2639 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2641 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2644 return _ogl
.PyDivisionShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2646 def base_OnBeginSize(*args
, **kwargs
):
2647 """base_OnBeginSize(double w, double h)"""
2648 return _ogl
.PyDivisionShape_base_OnBeginSize(*args
, **kwargs
)
2650 def base_OnEndSize(*args
, **kwargs
):
2651 """base_OnEndSize(double w, double h)"""
2652 return _ogl
.PyDivisionShape_base_OnEndSize(*args
, **kwargs
)
2655 class PyDivisionShapePtr(PyDivisionShape
):
2656 def __init__(self
, this
):
2658 if not hasattr(self
,"thisown"): self
.thisown
= 0
2659 self
.__class
__ = PyDivisionShape
2660 _ogl
.PyDivisionShape_swigregister(PyDivisionShapePtr
)
2662 class PyEllipseShape(PyShape
):
2664 return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2665 def __init__(self
, *args
, **kwargs
):
2666 """__init__(double width=0.0, double height=0.0) -> PyEllipseShape"""
2667 newobj
= _ogl
.new_PyEllipseShape(*args
, **kwargs
)
2668 self
.this
= newobj
.this
2671 self
._setOORandCallbackInfo
(PyEllipseShape
)
2673 def _setCallbackInfo(*args
, **kwargs
):
2674 """_setCallbackInfo(PyObject self, PyObject _class)"""
2675 return _ogl
.PyEllipseShape__setCallbackInfo(*args
, **kwargs
)
2677 def base_OnDraw(*args
, **kwargs
):
2678 """base_OnDraw(DC dc)"""
2679 return _ogl
.PyEllipseShape_base_OnDraw(*args
, **kwargs
)
2681 def base_OnDrawContents(*args
, **kwargs
):
2682 """base_OnDrawContents(DC dc)"""
2683 return _ogl
.PyEllipseShape_base_OnDrawContents(*args
, **kwargs
)
2685 def base_OnDrawBranches(*args
, **kwargs
):
2686 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
2687 return _ogl
.PyEllipseShape_base_OnDrawBranches(*args
, **kwargs
)
2689 def base_OnMoveLinks(*args
, **kwargs
):
2690 """base_OnMoveLinks(DC dc)"""
2691 return _ogl
.PyEllipseShape_base_OnMoveLinks(*args
, **kwargs
)
2693 def base_OnErase(*args
, **kwargs
):
2694 """base_OnErase(DC dc)"""
2695 return _ogl
.PyEllipseShape_base_OnErase(*args
, **kwargs
)
2697 def base_OnEraseContents(*args
, **kwargs
):
2698 """base_OnEraseContents(DC dc)"""
2699 return _ogl
.PyEllipseShape_base_OnEraseContents(*args
, **kwargs
)
2701 def base_OnHighlight(*args
, **kwargs
):
2702 """base_OnHighlight(DC dc)"""
2703 return _ogl
.PyEllipseShape_base_OnHighlight(*args
, **kwargs
)
2705 def base_OnLeftClick(*args
, **kwargs
):
2706 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2707 return _ogl
.PyEllipseShape_base_OnLeftClick(*args
, **kwargs
)
2709 def base_OnLeftDoubleClick(*args
, **kwargs
):
2710 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2711 return _ogl
.PyEllipseShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2713 def base_OnRightClick(*args
, **kwargs
):
2714 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2715 return _ogl
.PyEllipseShape_base_OnRightClick(*args
, **kwargs
)
2717 def base_OnSize(*args
, **kwargs
):
2718 """base_OnSize(double x, double y)"""
2719 return _ogl
.PyEllipseShape_base_OnSize(*args
, **kwargs
)
2721 def base_OnMovePre(*args
, **kwargs
):
2723 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
2724 bool display=True) -> bool
2726 return _ogl
.PyEllipseShape_base_OnMovePre(*args
, **kwargs
)
2728 def base_OnMovePost(*args
, **kwargs
):
2730 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
2733 return _ogl
.PyEllipseShape_base_OnMovePost(*args
, **kwargs
)
2735 def base_OnDragLeft(*args
, **kwargs
):
2736 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2737 return _ogl
.PyEllipseShape_base_OnDragLeft(*args
, **kwargs
)
2739 def base_OnBeginDragLeft(*args
, **kwargs
):
2740 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2741 return _ogl
.PyEllipseShape_base_OnBeginDragLeft(*args
, **kwargs
)
2743 def base_OnEndDragLeft(*args
, **kwargs
):
2744 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2745 return _ogl
.PyEllipseShape_base_OnEndDragLeft(*args
, **kwargs
)
2747 def base_OnDragRight(*args
, **kwargs
):
2748 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2749 return _ogl
.PyEllipseShape_base_OnDragRight(*args
, **kwargs
)
2751 def base_OnBeginDragRight(*args
, **kwargs
):
2752 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2753 return _ogl
.PyEllipseShape_base_OnBeginDragRight(*args
, **kwargs
)
2755 def base_OnEndDragRight(*args
, **kwargs
):
2756 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2757 return _ogl
.PyEllipseShape_base_OnEndDragRight(*args
, **kwargs
)
2759 def base_OnDrawOutline(*args
, **kwargs
):
2760 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
2761 return _ogl
.PyEllipseShape_base_OnDrawOutline(*args
, **kwargs
)
2763 def base_OnDrawControlPoints(*args
, **kwargs
):
2764 """base_OnDrawControlPoints(DC dc)"""
2765 return _ogl
.PyEllipseShape_base_OnDrawControlPoints(*args
, **kwargs
)
2767 def base_OnEraseControlPoints(*args
, **kwargs
):
2768 """base_OnEraseControlPoints(DC dc)"""
2769 return _ogl
.PyEllipseShape_base_OnEraseControlPoints(*args
, **kwargs
)
2771 def base_OnMoveLink(*args
, **kwargs
):
2772 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
2773 return _ogl
.PyEllipseShape_base_OnMoveLink(*args
, **kwargs
)
2775 def base_OnSizingDragLeft(*args
, **kwargs
):
2777 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2780 return _ogl
.PyEllipseShape_base_OnSizingDragLeft(*args
, **kwargs
)
2782 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2784 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2787 return _ogl
.PyEllipseShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2789 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2791 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2794 return _ogl
.PyEllipseShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2796 def base_OnBeginSize(*args
, **kwargs
):
2797 """base_OnBeginSize(double w, double h)"""
2798 return _ogl
.PyEllipseShape_base_OnBeginSize(*args
, **kwargs
)
2800 def base_OnEndSize(*args
, **kwargs
):
2801 """base_OnEndSize(double w, double h)"""
2802 return _ogl
.PyEllipseShape_base_OnEndSize(*args
, **kwargs
)
2805 class PyEllipseShapePtr(PyEllipseShape
):
2806 def __init__(self
, this
):
2808 if not hasattr(self
,"thisown"): self
.thisown
= 0
2809 self
.__class
__ = PyEllipseShape
2810 _ogl
.PyEllipseShape_swigregister(PyEllipseShapePtr
)
2812 class PyCircleShape(PyEllipseShape
):
2814 return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2815 def __init__(self
, *args
, **kwargs
):
2816 """__init__(double width=0.0) -> PyCircleShape"""
2817 newobj
= _ogl
.new_PyCircleShape(*args
, **kwargs
)
2818 self
.this
= newobj
.this
2821 self
._setOORandCallbackInfo
(PyCircleShape
)
2823 def _setCallbackInfo(*args
, **kwargs
):
2824 """_setCallbackInfo(PyObject self, PyObject _class)"""
2825 return _ogl
.PyCircleShape__setCallbackInfo(*args
, **kwargs
)
2827 def base_OnDraw(*args
, **kwargs
):
2828 """base_OnDraw(DC dc)"""
2829 return _ogl
.PyCircleShape_base_OnDraw(*args
, **kwargs
)
2831 def base_OnDrawContents(*args
, **kwargs
):
2832 """base_OnDrawContents(DC dc)"""
2833 return _ogl
.PyCircleShape_base_OnDrawContents(*args
, **kwargs
)
2835 def base_OnDrawBranches(*args
, **kwargs
):
2836 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
2837 return _ogl
.PyCircleShape_base_OnDrawBranches(*args
, **kwargs
)
2839 def base_OnMoveLinks(*args
, **kwargs
):
2840 """base_OnMoveLinks(DC dc)"""
2841 return _ogl
.PyCircleShape_base_OnMoveLinks(*args
, **kwargs
)
2843 def base_OnErase(*args
, **kwargs
):
2844 """base_OnErase(DC dc)"""
2845 return _ogl
.PyCircleShape_base_OnErase(*args
, **kwargs
)
2847 def base_OnEraseContents(*args
, **kwargs
):
2848 """base_OnEraseContents(DC dc)"""
2849 return _ogl
.PyCircleShape_base_OnEraseContents(*args
, **kwargs
)
2851 def base_OnHighlight(*args
, **kwargs
):
2852 """base_OnHighlight(DC dc)"""
2853 return _ogl
.PyCircleShape_base_OnHighlight(*args
, **kwargs
)
2855 def base_OnLeftClick(*args
, **kwargs
):
2856 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2857 return _ogl
.PyCircleShape_base_OnLeftClick(*args
, **kwargs
)
2859 def base_OnLeftDoubleClick(*args
, **kwargs
):
2860 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2861 return _ogl
.PyCircleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2863 def base_OnRightClick(*args
, **kwargs
):
2864 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2865 return _ogl
.PyCircleShape_base_OnRightClick(*args
, **kwargs
)
2867 def base_OnSize(*args
, **kwargs
):
2868 """base_OnSize(double x, double y)"""
2869 return _ogl
.PyCircleShape_base_OnSize(*args
, **kwargs
)
2871 def base_OnMovePre(*args
, **kwargs
):
2873 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
2874 bool display=True) -> bool
2876 return _ogl
.PyCircleShape_base_OnMovePre(*args
, **kwargs
)
2878 def base_OnMovePost(*args
, **kwargs
):
2880 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
2883 return _ogl
.PyCircleShape_base_OnMovePost(*args
, **kwargs
)
2885 def base_OnDragLeft(*args
, **kwargs
):
2886 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2887 return _ogl
.PyCircleShape_base_OnDragLeft(*args
, **kwargs
)
2889 def base_OnBeginDragLeft(*args
, **kwargs
):
2890 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2891 return _ogl
.PyCircleShape_base_OnBeginDragLeft(*args
, **kwargs
)
2893 def base_OnEndDragLeft(*args
, **kwargs
):
2894 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2895 return _ogl
.PyCircleShape_base_OnEndDragLeft(*args
, **kwargs
)
2897 def base_OnDragRight(*args
, **kwargs
):
2898 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2899 return _ogl
.PyCircleShape_base_OnDragRight(*args
, **kwargs
)
2901 def base_OnBeginDragRight(*args
, **kwargs
):
2902 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2903 return _ogl
.PyCircleShape_base_OnBeginDragRight(*args
, **kwargs
)
2905 def base_OnEndDragRight(*args
, **kwargs
):
2906 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2907 return _ogl
.PyCircleShape_base_OnEndDragRight(*args
, **kwargs
)
2909 def base_OnDrawOutline(*args
, **kwargs
):
2910 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
2911 return _ogl
.PyCircleShape_base_OnDrawOutline(*args
, **kwargs
)
2913 def base_OnDrawControlPoints(*args
, **kwargs
):
2914 """base_OnDrawControlPoints(DC dc)"""
2915 return _ogl
.PyCircleShape_base_OnDrawControlPoints(*args
, **kwargs
)
2917 def base_OnEraseControlPoints(*args
, **kwargs
):
2918 """base_OnEraseControlPoints(DC dc)"""
2919 return _ogl
.PyCircleShape_base_OnEraseControlPoints(*args
, **kwargs
)
2921 def base_OnMoveLink(*args
, **kwargs
):
2922 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
2923 return _ogl
.PyCircleShape_base_OnMoveLink(*args
, **kwargs
)
2925 def base_OnSizingDragLeft(*args
, **kwargs
):
2927 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2930 return _ogl
.PyCircleShape_base_OnSizingDragLeft(*args
, **kwargs
)
2932 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2934 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2937 return _ogl
.PyCircleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2939 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2941 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2944 return _ogl
.PyCircleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2946 def base_OnBeginSize(*args
, **kwargs
):
2947 """base_OnBeginSize(double w, double h)"""
2948 return _ogl
.PyCircleShape_base_OnBeginSize(*args
, **kwargs
)
2950 def base_OnEndSize(*args
, **kwargs
):
2951 """base_OnEndSize(double w, double h)"""
2952 return _ogl
.PyCircleShape_base_OnEndSize(*args
, **kwargs
)
2955 class PyCircleShapePtr(PyCircleShape
):
2956 def __init__(self
, this
):
2958 if not hasattr(self
,"thisown"): self
.thisown
= 0
2959 self
.__class
__ = PyCircleShape
2960 _ogl
.PyCircleShape_swigregister(PyCircleShapePtr
)
2962 class ArrowHead(core
.Object
):
2964 return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2965 def __init__(self
, *args
, **kwargs
):
2967 __init__(int type=0, int end=0, double size=0.0, double dist=0.0,
2968 String name=EmptyString, PseudoMetaFile mf=None,
2969 long arrowId=-1) -> ArrowHead
2971 newobj
= _ogl
.new_ArrowHead(*args
, **kwargs
)
2972 self
.this
= newobj
.this
2975 def __del__(self
, destroy
=_ogl
.delete_ArrowHead
):
2978 if self
.thisown
: destroy(self
)
2981 def _GetType(*args
, **kwargs
):
2982 """_GetType() -> int"""
2983 return _ogl
.ArrowHead__GetType(*args
, **kwargs
)
2985 def GetPosition(*args
, **kwargs
):
2986 """GetPosition() -> int"""
2987 return _ogl
.ArrowHead_GetPosition(*args
, **kwargs
)
2989 def SetPosition(*args
, **kwargs
):
2990 """SetPosition(int pos)"""
2991 return _ogl
.ArrowHead_SetPosition(*args
, **kwargs
)
2993 def GetXOffset(*args
, **kwargs
):
2994 """GetXOffset() -> double"""
2995 return _ogl
.ArrowHead_GetXOffset(*args
, **kwargs
)
2997 def GetYOffset(*args
, **kwargs
):
2998 """GetYOffset() -> double"""
2999 return _ogl
.ArrowHead_GetYOffset(*args
, **kwargs
)
3001 def GetSpacing(*args
, **kwargs
):
3002 """GetSpacing() -> double"""
3003 return _ogl
.ArrowHead_GetSpacing(*args
, **kwargs
)
3005 def GetSize(*args
, **kwargs
):
3006 """GetSize() -> double"""
3007 return _ogl
.ArrowHead_GetSize(*args
, **kwargs
)
3009 def GetName(*args
, **kwargs
):
3010 """GetName() -> String"""
3011 return _ogl
.ArrowHead_GetName(*args
, **kwargs
)
3013 def SetXOffset(*args
, **kwargs
):
3014 """SetXOffset(double x)"""
3015 return _ogl
.ArrowHead_SetXOffset(*args
, **kwargs
)
3017 def SetYOffset(*args
, **kwargs
):
3018 """SetYOffset(double y)"""
3019 return _ogl
.ArrowHead_SetYOffset(*args
, **kwargs
)
3021 def GetMetaFile(*args
, **kwargs
):
3022 """GetMetaFile() -> PseudoMetaFile"""
3023 return _ogl
.ArrowHead_GetMetaFile(*args
, **kwargs
)
3025 def GetId(*args
, **kwargs
):
3026 """GetId() -> long"""
3027 return _ogl
.ArrowHead_GetId(*args
, **kwargs
)
3029 def GetArrowEnd(*args
, **kwargs
):
3030 """GetArrowEnd() -> int"""
3031 return _ogl
.ArrowHead_GetArrowEnd(*args
, **kwargs
)
3033 def GetArrowSize(*args
, **kwargs
):
3034 """GetArrowSize() -> double"""
3035 return _ogl
.ArrowHead_GetArrowSize(*args
, **kwargs
)
3037 def SetSize(*args
, **kwargs
):
3038 """SetSize(double size)"""
3039 return _ogl
.ArrowHead_SetSize(*args
, **kwargs
)
3041 def SetSpacing(*args
, **kwargs
):
3042 """SetSpacing(double sp)"""
3043 return _ogl
.ArrowHead_SetSpacing(*args
, **kwargs
)
3046 class ArrowHeadPtr(ArrowHead
):
3047 def __init__(self
, this
):
3049 if not hasattr(self
,"thisown"): self
.thisown
= 0
3050 self
.__class
__ = ArrowHead
3051 _ogl
.ArrowHead_swigregister(ArrowHeadPtr
)
3053 class PyLineShape(PyShape
):
3055 return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3056 def __init__(self
, *args
, **kwargs
):
3057 """__init__() -> PyLineShape"""
3058 newobj
= _ogl
.new_PyLineShape(*args
, **kwargs
)
3059 self
.this
= newobj
.this
3062 self
._setOORandCallbackInfo
(PyLineShape
)
3064 def _setCallbackInfo(*args
, **kwargs
):
3065 """_setCallbackInfo(PyObject self, PyObject _class)"""
3066 return _ogl
.PyLineShape__setCallbackInfo(*args
, **kwargs
)
3068 def AddArrow(*args
, **kwargs
):
3070 AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
3071 double xOffset=0.0, String name=EmptyString,
3072 PseudoMetaFile mf=None, long arrowId=-1)
3074 return _ogl
.PyLineShape_AddArrow(*args
, **kwargs
)
3076 def AddArrowOrdered(*args
, **kwargs
):
3077 """AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)"""
3078 return _ogl
.PyLineShape_AddArrowOrdered(*args
, **kwargs
)
3080 def ClearArrow(*args
, **kwargs
):
3081 """ClearArrow(String name) -> bool"""
3082 return _ogl
.PyLineShape_ClearArrow(*args
, **kwargs
)
3084 def ClearArrowsAtPosition(*args
, **kwargs
):
3085 """ClearArrowsAtPosition(int position=-1)"""
3086 return _ogl
.PyLineShape_ClearArrowsAtPosition(*args
, **kwargs
)
3088 def DrawArrow(*args
, **kwargs
):
3089 """DrawArrow(DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)"""
3090 return _ogl
.PyLineShape_DrawArrow(*args
, **kwargs
)
3092 def DeleteArrowHeadId(*args
, **kwargs
):
3093 """DeleteArrowHeadId(long arrowId) -> bool"""
3094 return _ogl
.PyLineShape_DeleteArrowHeadId(*args
, **kwargs
)
3096 def DeleteArrowHead(*args
, **kwargs
):
3097 """DeleteArrowHead(int position, String name) -> bool"""
3098 return _ogl
.PyLineShape_DeleteArrowHead(*args
, **kwargs
)
3100 def DeleteLineControlPoint(*args
, **kwargs
):
3101 """DeleteLineControlPoint() -> bool"""
3102 return _ogl
.PyLineShape_DeleteLineControlPoint(*args
, **kwargs
)
3104 def DrawArrows(*args
, **kwargs
):
3105 """DrawArrows(DC dc)"""
3106 return _ogl
.PyLineShape_DrawArrows(*args
, **kwargs
)
3108 def DrawRegion(*args
, **kwargs
):
3109 """DrawRegion(DC dc, ShapeRegion region, double x, double y)"""
3110 return _ogl
.PyLineShape_DrawRegion(*args
, **kwargs
)
3112 def EraseRegion(*args
, **kwargs
):
3113 """EraseRegion(DC dc, ShapeRegion region, double x, double y)"""
3114 return _ogl
.PyLineShape_EraseRegion(*args
, **kwargs
)
3116 def FindArrowHeadId(*args
, **kwargs
):
3117 """FindArrowHeadId(long arrowId) -> ArrowHead"""
3118 return _ogl
.PyLineShape_FindArrowHeadId(*args
, **kwargs
)
3120 def FindArrowHead(*args
, **kwargs
):
3121 """FindArrowHead(int position, String name) -> ArrowHead"""
3122 return _ogl
.PyLineShape_FindArrowHead(*args
, **kwargs
)
3124 def FindLineEndPoints(*args
, **kwargs
):
3125 """FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3126 return _ogl
.PyLineShape_FindLineEndPoints(*args
, **kwargs
)
3128 def FindLinePosition(*args
, **kwargs
):
3129 """FindLinePosition(double x, double y) -> int"""
3130 return _ogl
.PyLineShape_FindLinePosition(*args
, **kwargs
)
3132 def FindMinimumWidth(*args
, **kwargs
):
3133 """FindMinimumWidth() -> double"""
3134 return _ogl
.PyLineShape_FindMinimumWidth(*args
, **kwargs
)
3136 def FindNth(*args
, **kwargs
):
3137 """FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)"""
3138 return _ogl
.PyLineShape_FindNth(*args
, **kwargs
)
3140 def GetAttachmentFrom(*args
, **kwargs
):
3141 """GetAttachmentFrom() -> int"""
3142 return _ogl
.PyLineShape_GetAttachmentFrom(*args
, **kwargs
)
3144 def GetAttachmentTo(*args
, **kwargs
):
3145 """GetAttachmentTo() -> int"""
3146 return _ogl
.PyLineShape_GetAttachmentTo(*args
, **kwargs
)
3148 def GetEnds(*args
, **kwargs
):
3149 """GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3150 return _ogl
.PyLineShape_GetEnds(*args
, **kwargs
)
3152 def GetFrom(*args
, **kwargs
):
3153 """GetFrom() -> PyShape"""
3154 return _ogl
.PyLineShape_GetFrom(*args
, **kwargs
)
3156 def GetLabelPosition(*args
, **kwargs
):
3157 """GetLabelPosition(int position, double OUTPUT, double OUTPUT)"""
3158 return _ogl
.PyLineShape_GetLabelPosition(*args
, **kwargs
)
3160 def GetNextControlPoint(*args
, **kwargs
):
3161 """GetNextControlPoint(PyShape shape) -> RealPoint"""
3162 return _ogl
.PyLineShape_GetNextControlPoint(*args
, **kwargs
)
3164 def GetTo(*args
, **kwargs
):
3165 """GetTo() -> PyShape"""
3166 return _ogl
.PyLineShape_GetTo(*args
, **kwargs
)
3168 def Initialise(*args
, **kwargs
):
3170 return _ogl
.PyLineShape_Initialise(*args
, **kwargs
)
3172 def InsertLineControlPoint(*args
, **kwargs
):
3173 """InsertLineControlPoint(DC dc)"""
3174 return _ogl
.PyLineShape_InsertLineControlPoint(*args
, **kwargs
)
3176 def IsEnd(*args
, **kwargs
):
3177 """IsEnd(PyShape shape) -> bool"""
3178 return _ogl
.PyLineShape_IsEnd(*args
, **kwargs
)
3180 def IsSpline(*args
, **kwargs
):
3181 """IsSpline() -> bool"""
3182 return _ogl
.PyLineShape_IsSpline(*args
, **kwargs
)
3184 def MakeLineControlPoints(*args
, **kwargs
):
3185 """MakeLineControlPoints(int n)"""
3186 return _ogl
.PyLineShape_MakeLineControlPoints(*args
, **kwargs
)
3188 def GetLineControlPoints(*args
, **kwargs
):
3189 """GetLineControlPoints() -> PyObject"""
3190 return _ogl
.PyLineShape_GetLineControlPoints(*args
, **kwargs
)
3192 def SetAttachmentFrom(*args
, **kwargs
):
3193 """SetAttachmentFrom(int fromAttach)"""
3194 return _ogl
.PyLineShape_SetAttachmentFrom(*args
, **kwargs
)
3196 def SetAttachments(*args
, **kwargs
):
3197 """SetAttachments(int fromAttach, int toAttach)"""
3198 return _ogl
.PyLineShape_SetAttachments(*args
, **kwargs
)
3200 def SetAttachmentTo(*args
, **kwargs
):
3201 """SetAttachmentTo(int toAttach)"""
3202 return _ogl
.PyLineShape_SetAttachmentTo(*args
, **kwargs
)
3204 def SetEnds(*args
, **kwargs
):
3205 """SetEnds(double x1, double y1, double x2, double y2)"""
3206 return _ogl
.PyLineShape_SetEnds(*args
, **kwargs
)
3208 def SetFrom(*args
, **kwargs
):
3209 """SetFrom(PyShape object)"""
3210 return _ogl
.PyLineShape_SetFrom(*args
, **kwargs
)
3212 def SetIgnoreOffsets(*args
, **kwargs
):
3213 """SetIgnoreOffsets(bool ignore)"""
3214 return _ogl
.PyLineShape_SetIgnoreOffsets(*args
, **kwargs
)
3216 def SetSpline(*args
, **kwargs
):
3217 """SetSpline(bool spline)"""
3218 return _ogl
.PyLineShape_SetSpline(*args
, **kwargs
)
3220 def SetTo(*args
, **kwargs
):
3221 """SetTo(PyShape object)"""
3222 return _ogl
.PyLineShape_SetTo(*args
, **kwargs
)
3224 def Straighten(*args
, **kwargs
):
3225 """Straighten(DC dc=None)"""
3226 return _ogl
.PyLineShape_Straighten(*args
, **kwargs
)
3228 def Unlink(*args
, **kwargs
):
3230 return _ogl
.PyLineShape_Unlink(*args
, **kwargs
)
3232 def SetAlignmentOrientation(*args
, **kwargs
):
3233 """SetAlignmentOrientation(bool isEnd, bool isHoriz)"""
3234 return _ogl
.PyLineShape_SetAlignmentOrientation(*args
, **kwargs
)
3236 def SetAlignmentType(*args
, **kwargs
):
3237 """SetAlignmentType(bool isEnd, int alignType)"""
3238 return _ogl
.PyLineShape_SetAlignmentType(*args
, **kwargs
)
3240 def GetAlignmentOrientation(*args
, **kwargs
):
3241 """GetAlignmentOrientation(bool isEnd) -> bool"""
3242 return _ogl
.PyLineShape_GetAlignmentOrientation(*args
, **kwargs
)
3244 def GetAlignmentType(*args
, **kwargs
):
3245 """GetAlignmentType(bool isEnd) -> int"""
3246 return _ogl
.PyLineShape_GetAlignmentType(*args
, **kwargs
)
3248 def GetAlignmentStart(*args
, **kwargs
):
3249 """GetAlignmentStart() -> int"""
3250 return _ogl
.PyLineShape_GetAlignmentStart(*args
, **kwargs
)
3252 def GetAlignmentEnd(*args
, **kwargs
):
3253 """GetAlignmentEnd() -> int"""
3254 return _ogl
.PyLineShape_GetAlignmentEnd(*args
, **kwargs
)
3256 def base_OnDraw(*args
, **kwargs
):
3257 """base_OnDraw(DC dc)"""
3258 return _ogl
.PyLineShape_base_OnDraw(*args
, **kwargs
)
3260 def base_OnDrawContents(*args
, **kwargs
):
3261 """base_OnDrawContents(DC dc)"""
3262 return _ogl
.PyLineShape_base_OnDrawContents(*args
, **kwargs
)
3264 def base_OnDrawBranches(*args
, **kwargs
):
3265 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
3266 return _ogl
.PyLineShape_base_OnDrawBranches(*args
, **kwargs
)
3268 def base_OnMoveLinks(*args
, **kwargs
):
3269 """base_OnMoveLinks(DC dc)"""
3270 return _ogl
.PyLineShape_base_OnMoveLinks(*args
, **kwargs
)
3272 def base_OnErase(*args
, **kwargs
):
3273 """base_OnErase(DC dc)"""
3274 return _ogl
.PyLineShape_base_OnErase(*args
, **kwargs
)
3276 def base_OnEraseContents(*args
, **kwargs
):
3277 """base_OnEraseContents(DC dc)"""
3278 return _ogl
.PyLineShape_base_OnEraseContents(*args
, **kwargs
)
3280 def base_OnHighlight(*args
, **kwargs
):
3281 """base_OnHighlight(DC dc)"""
3282 return _ogl
.PyLineShape_base_OnHighlight(*args
, **kwargs
)
3284 def base_OnLeftClick(*args
, **kwargs
):
3285 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3286 return _ogl
.PyLineShape_base_OnLeftClick(*args
, **kwargs
)
3288 def base_OnLeftDoubleClick(*args
, **kwargs
):
3289 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3290 return _ogl
.PyLineShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3292 def base_OnRightClick(*args
, **kwargs
):
3293 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3294 return _ogl
.PyLineShape_base_OnRightClick(*args
, **kwargs
)
3296 def base_OnSize(*args
, **kwargs
):
3297 """base_OnSize(double x, double y)"""
3298 return _ogl
.PyLineShape_base_OnSize(*args
, **kwargs
)
3300 def base_OnMovePre(*args
, **kwargs
):
3302 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
3303 bool display=True) -> bool
3305 return _ogl
.PyLineShape_base_OnMovePre(*args
, **kwargs
)
3307 def base_OnMovePost(*args
, **kwargs
):
3309 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
3312 return _ogl
.PyLineShape_base_OnMovePost(*args
, **kwargs
)
3314 def base_OnDragLeft(*args
, **kwargs
):
3315 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3316 return _ogl
.PyLineShape_base_OnDragLeft(*args
, **kwargs
)
3318 def base_OnBeginDragLeft(*args
, **kwargs
):
3319 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3320 return _ogl
.PyLineShape_base_OnBeginDragLeft(*args
, **kwargs
)
3322 def base_OnEndDragLeft(*args
, **kwargs
):
3323 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3324 return _ogl
.PyLineShape_base_OnEndDragLeft(*args
, **kwargs
)
3326 def base_OnDragRight(*args
, **kwargs
):
3327 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3328 return _ogl
.PyLineShape_base_OnDragRight(*args
, **kwargs
)
3330 def base_OnBeginDragRight(*args
, **kwargs
):
3331 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3332 return _ogl
.PyLineShape_base_OnBeginDragRight(*args
, **kwargs
)
3334 def base_OnEndDragRight(*args
, **kwargs
):
3335 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3336 return _ogl
.PyLineShape_base_OnEndDragRight(*args
, **kwargs
)
3338 def base_OnDrawOutline(*args
, **kwargs
):
3339 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
3340 return _ogl
.PyLineShape_base_OnDrawOutline(*args
, **kwargs
)
3342 def base_OnDrawControlPoints(*args
, **kwargs
):
3343 """base_OnDrawControlPoints(DC dc)"""
3344 return _ogl
.PyLineShape_base_OnDrawControlPoints(*args
, **kwargs
)
3346 def base_OnEraseControlPoints(*args
, **kwargs
):
3347 """base_OnEraseControlPoints(DC dc)"""
3348 return _ogl
.PyLineShape_base_OnEraseControlPoints(*args
, **kwargs
)
3350 def base_OnMoveLink(*args
, **kwargs
):
3351 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
3352 return _ogl
.PyLineShape_base_OnMoveLink(*args
, **kwargs
)
3354 def base_OnSizingDragLeft(*args
, **kwargs
):
3356 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3359 return _ogl
.PyLineShape_base_OnSizingDragLeft(*args
, **kwargs
)
3361 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3363 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3366 return _ogl
.PyLineShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3368 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3370 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3373 return _ogl
.PyLineShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3375 def base_OnBeginSize(*args
, **kwargs
):
3376 """base_OnBeginSize(double w, double h)"""
3377 return _ogl
.PyLineShape_base_OnBeginSize(*args
, **kwargs
)
3379 def base_OnEndSize(*args
, **kwargs
):
3380 """base_OnEndSize(double w, double h)"""
3381 return _ogl
.PyLineShape_base_OnEndSize(*args
, **kwargs
)
3384 class PyLineShapePtr(PyLineShape
):
3385 def __init__(self
, this
):
3387 if not hasattr(self
,"thisown"): self
.thisown
= 0
3388 self
.__class
__ = PyLineShape
3389 _ogl
.PyLineShape_swigregister(PyLineShapePtr
)
3391 class PyPolygonShape(PyShape
):
3393 return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3394 def __init__(self
, *args
, **kwargs
):
3395 """__init__() -> PyPolygonShape"""
3396 newobj
= _ogl
.new_PyPolygonShape(*args
, **kwargs
)
3397 self
.this
= newobj
.this
3400 self
._setOORandCallbackInfo
(PyPolygonShape
)
3402 def _setCallbackInfo(*args
, **kwargs
):
3403 """_setCallbackInfo(PyObject self, PyObject _class)"""
3404 return _ogl
.PyPolygonShape__setCallbackInfo(*args
, **kwargs
)
3406 def Create(*args
, **kwargs
):
3407 """Create(PyObject points) -> PyObject"""
3408 return _ogl
.PyPolygonShape_Create(*args
, **kwargs
)
3410 def AddPolygonPoint(*args
, **kwargs
):
3411 """AddPolygonPoint(int pos=0)"""
3412 return _ogl
.PyPolygonShape_AddPolygonPoint(*args
, **kwargs
)
3414 def CalculatePolygonCentre(*args
, **kwargs
):
3415 """CalculatePolygonCentre()"""
3416 return _ogl
.PyPolygonShape_CalculatePolygonCentre(*args
, **kwargs
)
3418 def DeletePolygonPoint(*args
, **kwargs
):
3419 """DeletePolygonPoint(int pos=0)"""
3420 return _ogl
.PyPolygonShape_DeletePolygonPoint(*args
, **kwargs
)
3422 def GetPoints(*args
, **kwargs
):
3423 """GetPoints() -> PyObject"""
3424 return _ogl
.PyPolygonShape_GetPoints(*args
, **kwargs
)
3426 def GetOriginalPoints(*args
, **kwargs
):
3427 """GetOriginalPoints() -> PyObject"""
3428 return _ogl
.PyPolygonShape_GetOriginalPoints(*args
, **kwargs
)
3430 def GetOriginalWidth(*args
, **kwargs
):
3431 """GetOriginalWidth() -> double"""
3432 return _ogl
.PyPolygonShape_GetOriginalWidth(*args
, **kwargs
)
3434 def GetOriginalHeight(*args
, **kwargs
):
3435 """GetOriginalHeight() -> double"""
3436 return _ogl
.PyPolygonShape_GetOriginalHeight(*args
, **kwargs
)
3438 def SetOriginalWidth(*args
, **kwargs
):
3439 """SetOriginalWidth(double w)"""
3440 return _ogl
.PyPolygonShape_SetOriginalWidth(*args
, **kwargs
)
3442 def SetOriginalHeight(*args
, **kwargs
):
3443 """SetOriginalHeight(double h)"""
3444 return _ogl
.PyPolygonShape_SetOriginalHeight(*args
, **kwargs
)
3446 def UpdateOriginalPoints(*args
, **kwargs
):
3447 """UpdateOriginalPoints()"""
3448 return _ogl
.PyPolygonShape_UpdateOriginalPoints(*args
, **kwargs
)
3450 def base_OnDraw(*args
, **kwargs
):
3451 """base_OnDraw(DC dc)"""
3452 return _ogl
.PyPolygonShape_base_OnDraw(*args
, **kwargs
)
3454 def base_OnDrawContents(*args
, **kwargs
):
3455 """base_OnDrawContents(DC dc)"""
3456 return _ogl
.PyPolygonShape_base_OnDrawContents(*args
, **kwargs
)
3458 def base_OnDrawBranches(*args
, **kwargs
):
3459 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
3460 return _ogl
.PyPolygonShape_base_OnDrawBranches(*args
, **kwargs
)
3462 def base_OnMoveLinks(*args
, **kwargs
):
3463 """base_OnMoveLinks(DC dc)"""
3464 return _ogl
.PyPolygonShape_base_OnMoveLinks(*args
, **kwargs
)
3466 def base_OnErase(*args
, **kwargs
):
3467 """base_OnErase(DC dc)"""
3468 return _ogl
.PyPolygonShape_base_OnErase(*args
, **kwargs
)
3470 def base_OnEraseContents(*args
, **kwargs
):
3471 """base_OnEraseContents(DC dc)"""
3472 return _ogl
.PyPolygonShape_base_OnEraseContents(*args
, **kwargs
)
3474 def base_OnHighlight(*args
, **kwargs
):
3475 """base_OnHighlight(DC dc)"""
3476 return _ogl
.PyPolygonShape_base_OnHighlight(*args
, **kwargs
)
3478 def base_OnLeftClick(*args
, **kwargs
):
3479 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3480 return _ogl
.PyPolygonShape_base_OnLeftClick(*args
, **kwargs
)
3482 def base_OnLeftDoubleClick(*args
, **kwargs
):
3483 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3484 return _ogl
.PyPolygonShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3486 def base_OnRightClick(*args
, **kwargs
):
3487 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3488 return _ogl
.PyPolygonShape_base_OnRightClick(*args
, **kwargs
)
3490 def base_OnSize(*args
, **kwargs
):
3491 """base_OnSize(double x, double y)"""
3492 return _ogl
.PyPolygonShape_base_OnSize(*args
, **kwargs
)
3494 def base_OnMovePre(*args
, **kwargs
):
3496 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
3497 bool display=True) -> bool
3499 return _ogl
.PyPolygonShape_base_OnMovePre(*args
, **kwargs
)
3501 def base_OnMovePost(*args
, **kwargs
):
3503 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
3506 return _ogl
.PyPolygonShape_base_OnMovePost(*args
, **kwargs
)
3508 def base_OnDragLeft(*args
, **kwargs
):
3509 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3510 return _ogl
.PyPolygonShape_base_OnDragLeft(*args
, **kwargs
)
3512 def base_OnBeginDragLeft(*args
, **kwargs
):
3513 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3514 return _ogl
.PyPolygonShape_base_OnBeginDragLeft(*args
, **kwargs
)
3516 def base_OnEndDragLeft(*args
, **kwargs
):
3517 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3518 return _ogl
.PyPolygonShape_base_OnEndDragLeft(*args
, **kwargs
)
3520 def base_OnDragRight(*args
, **kwargs
):
3521 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3522 return _ogl
.PyPolygonShape_base_OnDragRight(*args
, **kwargs
)
3524 def base_OnBeginDragRight(*args
, **kwargs
):
3525 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3526 return _ogl
.PyPolygonShape_base_OnBeginDragRight(*args
, **kwargs
)
3528 def base_OnEndDragRight(*args
, **kwargs
):
3529 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3530 return _ogl
.PyPolygonShape_base_OnEndDragRight(*args
, **kwargs
)
3532 def base_OnDrawOutline(*args
, **kwargs
):
3533 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
3534 return _ogl
.PyPolygonShape_base_OnDrawOutline(*args
, **kwargs
)
3536 def base_OnDrawControlPoints(*args
, **kwargs
):
3537 """base_OnDrawControlPoints(DC dc)"""
3538 return _ogl
.PyPolygonShape_base_OnDrawControlPoints(*args
, **kwargs
)
3540 def base_OnEraseControlPoints(*args
, **kwargs
):
3541 """base_OnEraseControlPoints(DC dc)"""
3542 return _ogl
.PyPolygonShape_base_OnEraseControlPoints(*args
, **kwargs
)
3544 def base_OnMoveLink(*args
, **kwargs
):
3545 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
3546 return _ogl
.PyPolygonShape_base_OnMoveLink(*args
, **kwargs
)
3548 def base_OnSizingDragLeft(*args
, **kwargs
):
3550 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3553 return _ogl
.PyPolygonShape_base_OnSizingDragLeft(*args
, **kwargs
)
3555 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3557 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3560 return _ogl
.PyPolygonShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3562 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3564 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3567 return _ogl
.PyPolygonShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3569 def base_OnBeginSize(*args
, **kwargs
):
3570 """base_OnBeginSize(double w, double h)"""
3571 return _ogl
.PyPolygonShape_base_OnBeginSize(*args
, **kwargs
)
3573 def base_OnEndSize(*args
, **kwargs
):
3574 """base_OnEndSize(double w, double h)"""
3575 return _ogl
.PyPolygonShape_base_OnEndSize(*args
, **kwargs
)
3578 class PyPolygonShapePtr(PyPolygonShape
):
3579 def __init__(self
, this
):
3581 if not hasattr(self
,"thisown"): self
.thisown
= 0
3582 self
.__class
__ = PyPolygonShape
3583 _ogl
.PyPolygonShape_swigregister(PyPolygonShapePtr
)
3585 class PyTextShape(PyRectangleShape
):
3587 return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3588 def __init__(self
, *args
, **kwargs
):
3589 """__init__(double width=0.0, double height=0.0) -> PyTextShape"""
3590 newobj
= _ogl
.new_PyTextShape(*args
, **kwargs
)
3591 self
.this
= newobj
.this
3594 self
._setOORandCallbackInfo
(PyTextShape
)
3596 def _setCallbackInfo(*args
, **kwargs
):
3597 """_setCallbackInfo(PyObject self, PyObject _class)"""
3598 return _ogl
.PyTextShape__setCallbackInfo(*args
, **kwargs
)
3600 def base_OnDelete(*args
, **kwargs
):
3601 """base_OnDelete()"""
3602 return _ogl
.PyTextShape_base_OnDelete(*args
, **kwargs
)
3604 def base_OnDraw(*args
, **kwargs
):
3605 """base_OnDraw(DC dc)"""
3606 return _ogl
.PyTextShape_base_OnDraw(*args
, **kwargs
)
3608 def base_OnDrawContents(*args
, **kwargs
):
3609 """base_OnDrawContents(DC dc)"""
3610 return _ogl
.PyTextShape_base_OnDrawContents(*args
, **kwargs
)
3612 def base_OnDrawBranches(*args
, **kwargs
):
3613 """base_OnDrawBranches(DC dc, bool erase=FALSE)"""
3614 return _ogl
.PyTextShape_base_OnDrawBranches(*args
, **kwargs
)
3616 def base_OnMoveLinks(*args
, **kwargs
):
3617 """base_OnMoveLinks(DC dc)"""
3618 return _ogl
.PyTextShape_base_OnMoveLinks(*args
, **kwargs
)
3620 def base_OnErase(*args
, **kwargs
):
3621 """base_OnErase(DC dc)"""
3622 return _ogl
.PyTextShape_base_OnErase(*args
, **kwargs
)
3624 def base_OnEraseContents(*args
, **kwargs
):
3625 """base_OnEraseContents(DC dc)"""
3626 return _ogl
.PyTextShape_base_OnEraseContents(*args
, **kwargs
)
3628 def base_OnHighlight(*args
, **kwargs
):
3629 """base_OnHighlight(DC dc)"""
3630 return _ogl
.PyTextShape_base_OnHighlight(*args
, **kwargs
)
3632 def base_OnLeftClick(*args
, **kwargs
):
3633 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3634 return _ogl
.PyTextShape_base_OnLeftClick(*args
, **kwargs
)
3636 def base_OnLeftDoubleClick(*args
, **kwargs
):
3637 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3638 return _ogl
.PyTextShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3640 def base_OnRightClick(*args
, **kwargs
):
3641 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3642 return _ogl
.PyTextShape_base_OnRightClick(*args
, **kwargs
)
3644 def base_OnSize(*args
, **kwargs
):
3645 """base_OnSize(double x, double y)"""
3646 return _ogl
.PyTextShape_base_OnSize(*args
, **kwargs
)
3648 def base_OnMovePre(*args
, **kwargs
):
3650 base_OnMovePre(DC dc, double x, double y, double old_x, double old_y,
3651 bool display=True) -> bool
3653 return _ogl
.PyTextShape_base_OnMovePre(*args
, **kwargs
)
3655 def base_OnMovePost(*args
, **kwargs
):
3657 base_OnMovePost(DC dc, double x, double y, double old_x, double old_y,
3660 return _ogl
.PyTextShape_base_OnMovePost(*args
, **kwargs
)
3662 def base_OnDragLeft(*args
, **kwargs
):
3663 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3664 return _ogl
.PyTextShape_base_OnDragLeft(*args
, **kwargs
)
3666 def base_OnBeginDragLeft(*args
, **kwargs
):
3667 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3668 return _ogl
.PyTextShape_base_OnBeginDragLeft(*args
, **kwargs
)
3670 def base_OnEndDragLeft(*args
, **kwargs
):
3671 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3672 return _ogl
.PyTextShape_base_OnEndDragLeft(*args
, **kwargs
)
3674 def base_OnDragRight(*args
, **kwargs
):
3675 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3676 return _ogl
.PyTextShape_base_OnDragRight(*args
, **kwargs
)
3678 def base_OnBeginDragRight(*args
, **kwargs
):
3679 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3680 return _ogl
.PyTextShape_base_OnBeginDragRight(*args
, **kwargs
)
3682 def base_OnEndDragRight(*args
, **kwargs
):
3683 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3684 return _ogl
.PyTextShape_base_OnEndDragRight(*args
, **kwargs
)
3686 def base_OnDrawOutline(*args
, **kwargs
):
3687 """base_OnDrawOutline(DC dc, double x, double y, double w, double h)"""
3688 return _ogl
.PyTextShape_base_OnDrawOutline(*args
, **kwargs
)
3690 def base_OnDrawControlPoints(*args
, **kwargs
):
3691 """base_OnDrawControlPoints(DC dc)"""
3692 return _ogl
.PyTextShape_base_OnDrawControlPoints(*args
, **kwargs
)
3694 def base_OnEraseControlPoints(*args
, **kwargs
):
3695 """base_OnEraseControlPoints(DC dc)"""
3696 return _ogl
.PyTextShape_base_OnEraseControlPoints(*args
, **kwargs
)
3698 def base_OnMoveLink(*args
, **kwargs
):
3699 """base_OnMoveLink(DC dc, bool moveControlPoints=True)"""
3700 return _ogl
.PyTextShape_base_OnMoveLink(*args
, **kwargs
)
3702 def base_OnSizingDragLeft(*args
, **kwargs
):
3704 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3707 return _ogl
.PyTextShape_base_OnSizingDragLeft(*args
, **kwargs
)
3709 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3711 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3714 return _ogl
.PyTextShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3716 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3718 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3721 return _ogl
.PyTextShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3723 def base_OnBeginSize(*args
, **kwargs
):
3724 """base_OnBeginSize(double w, double h)"""
3725 return _ogl
.PyTextShape_base_OnBeginSize(*args
, **kwargs
)
3727 def base_OnEndSize(*args
, **kwargs
):
3728 """base_OnEndSize(double w, double h)"""
3729 return _ogl
.PyTextShape_base_OnEndSize(*args
, **kwargs
)
3732 class PyTextShapePtr(PyTextShape
):
3733 def __init__(self
, this
):
3735 if not hasattr(self
,"thisown"): self
.thisown
= 0
3736 self
.__class
__ = PyTextShape
3737 _ogl
.PyTextShape_swigregister(PyTextShapePtr
)
3739 class Diagram(core
.Object
):
3741 return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3742 def __init__(self
, *args
, **kwargs
):
3743 """__init__() -> Diagram"""
3744 newobj
= _ogl
.new_Diagram(*args
, **kwargs
)
3745 self
.this
= newobj
.this
3748 def AddShape(*args
, **kwargs
):
3749 """AddShape(PyShape shape, PyShape addAfter=None)"""
3750 return _ogl
.Diagram_AddShape(*args
, **kwargs
)
3752 def Clear(*args
, **kwargs
):
3754 return _ogl
.Diagram_Clear(*args
, **kwargs
)
3756 def DeleteAllShapes(*args
, **kwargs
):
3757 """DeleteAllShapes()"""
3758 return _ogl
.Diagram_DeleteAllShapes(*args
, **kwargs
)
3760 def DrawOutline(*args
, **kwargs
):
3761 """DrawOutline(DC dc, double x1, double y1, double x2, double y2)"""
3762 return _ogl
.Diagram_DrawOutline(*args
, **kwargs
)
3764 def FindShape(*args
, **kwargs
):
3765 """FindShape(long id) -> PyShape"""
3766 return _ogl
.Diagram_FindShape(*args
, **kwargs
)
3768 def GetCanvas(*args
, **kwargs
):
3769 """GetCanvas() -> PyShapeCanvas"""
3770 return _ogl
.Diagram_GetCanvas(*args
, **kwargs
)
3772 def GetCount(*args
, **kwargs
):
3773 """GetCount() -> int"""
3774 return _ogl
.Diagram_GetCount(*args
, **kwargs
)
3776 def GetGridSpacing(*args
, **kwargs
):
3777 """GetGridSpacing() -> double"""
3778 return _ogl
.Diagram_GetGridSpacing(*args
, **kwargs
)
3780 def GetMouseTolerance(*args
, **kwargs
):
3781 """GetMouseTolerance() -> int"""
3782 return _ogl
.Diagram_GetMouseTolerance(*args
, **kwargs
)
3784 def GetShapeList(*args
, **kwargs
):
3785 """GetShapeList() -> PyObject"""
3786 return _ogl
.Diagram_GetShapeList(*args
, **kwargs
)
3788 def GetQuickEditMode(*args
, **kwargs
):
3789 """GetQuickEditMode() -> bool"""
3790 return _ogl
.Diagram_GetQuickEditMode(*args
, **kwargs
)
3792 def GetSnapToGrid(*args
, **kwargs
):
3793 """GetSnapToGrid() -> bool"""
3794 return _ogl
.Diagram_GetSnapToGrid(*args
, **kwargs
)
3796 def InsertShape(*args
, **kwargs
):
3797 """InsertShape(PyShape shape)"""
3798 return _ogl
.Diagram_InsertShape(*args
, **kwargs
)
3800 def RecentreAll(*args
, **kwargs
):
3801 """RecentreAll(DC dc)"""
3802 return _ogl
.Diagram_RecentreAll(*args
, **kwargs
)
3804 def Redraw(*args
, **kwargs
):
3806 return _ogl
.Diagram_Redraw(*args
, **kwargs
)
3808 def RemoveAllShapes(*args
, **kwargs
):
3809 """RemoveAllShapes()"""
3810 return _ogl
.Diagram_RemoveAllShapes(*args
, **kwargs
)
3812 def RemoveShape(*args
, **kwargs
):
3813 """RemoveShape(PyShape shape)"""
3814 return _ogl
.Diagram_RemoveShape(*args
, **kwargs
)
3816 def SetCanvas(*args
, **kwargs
):
3817 """SetCanvas(PyShapeCanvas canvas)"""
3818 return _ogl
.Diagram_SetCanvas(*args
, **kwargs
)
3820 def SetGridSpacing(*args
, **kwargs
):
3821 """SetGridSpacing(double spacing)"""
3822 return _ogl
.Diagram_SetGridSpacing(*args
, **kwargs
)
3824 def SetMouseTolerance(*args
, **kwargs
):
3825 """SetMouseTolerance(int tolerance)"""
3826 return _ogl
.Diagram_SetMouseTolerance(*args
, **kwargs
)
3828 def SetQuickEditMode(*args
, **kwargs
):
3829 """SetQuickEditMode(bool mode)"""
3830 return _ogl
.Diagram_SetQuickEditMode(*args
, **kwargs
)
3832 def SetSnapToGrid(*args
, **kwargs
):
3833 """SetSnapToGrid(bool snap)"""
3834 return _ogl
.Diagram_SetSnapToGrid(*args
, **kwargs
)
3836 def ShowAll(*args
, **kwargs
):
3837 """ShowAll(bool show)"""
3838 return _ogl
.Diagram_ShowAll(*args
, **kwargs
)
3840 def Snap(*args
, **kwargs
):
3841 """Snap(double INOUT, double INOUT)"""
3842 return _ogl
.Diagram_Snap(*args
, **kwargs
)
3845 class DiagramPtr(Diagram
):
3846 def __init__(self
, this
):
3848 if not hasattr(self
,"thisown"): self
.thisown
= 0
3849 self
.__class
__ = Diagram
3850 _ogl
.Diagram_swigregister(DiagramPtr
)
3852 class PyShapeCanvas(windows
.ScrolledWindow
):
3854 return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3855 def __init__(self
, *args
, **kwargs
):
3857 __init__(Window parent=None, int id=-1, Point pos=DefaultPosition,
3858 Size size=DefaultSize, long style=BORDER,
3859 String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas
3861 newobj
= _ogl
.new_PyShapeCanvas(*args
, **kwargs
)
3862 self
.this
= newobj
.this
3865 def _setCallbackInfo(*args
, **kwargs
):
3866 """_setCallbackInfo(PyObject self, PyObject _class)"""
3867 return _ogl
.PyShapeCanvas__setCallbackInfo(*args
, **kwargs
)
3869 def _setOORandCallbackInfo(self
, _class
):
3870 self
._setOORInfo
(self
)
3871 self
._setCallbackInfo
(self
, _class
)
3873 def AddShape(*args
, **kwargs
):
3874 """AddShape(PyShape shape, PyShape addAfter=None)"""
3875 return _ogl
.PyShapeCanvas_AddShape(*args
, **kwargs
)
3877 def FindShape(*args
, **kwargs
):
3879 FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None,
3880 PyShape notImage=None) -> PyShape
3882 return _ogl
.PyShapeCanvas_FindShape(*args
, **kwargs
)
3884 def FindFirstSensitiveShape(*args
, **kwargs
):
3885 """FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape"""
3886 return _ogl
.PyShapeCanvas_FindFirstSensitiveShape(*args
, **kwargs
)
3888 def GetDiagram(*args
, **kwargs
):
3889 """GetDiagram() -> Diagram"""
3890 return _ogl
.PyShapeCanvas_GetDiagram(*args
, **kwargs
)
3892 def GetQuickEditMode(*args
, **kwargs
):
3893 """GetQuickEditMode() -> bool"""
3894 return _ogl
.PyShapeCanvas_GetQuickEditMode(*args
, **kwargs
)
3896 def InsertShape(*args
, **kwargs
):
3897 """InsertShape(PyShape shape)"""
3898 return _ogl
.PyShapeCanvas_InsertShape(*args
, **kwargs
)
3900 def base_OnBeginDragLeft(*args
, **kwargs
):
3901 """base_OnBeginDragLeft(double x, double y, int keys=0)"""
3902 return _ogl
.PyShapeCanvas_base_OnBeginDragLeft(*args
, **kwargs
)
3904 def base_OnBeginDragRight(*args
, **kwargs
):
3905 """base_OnBeginDragRight(double x, double y, int keys=0)"""
3906 return _ogl
.PyShapeCanvas_base_OnBeginDragRight(*args
, **kwargs
)
3908 def base_OnEndDragLeft(*args
, **kwargs
):
3909 """base_OnEndDragLeft(double x, double y, int keys=0)"""
3910 return _ogl
.PyShapeCanvas_base_OnEndDragLeft(*args
, **kwargs
)
3912 def base_OnEndDragRight(*args
, **kwargs
):
3913 """base_OnEndDragRight(double x, double y, int keys=0)"""
3914 return _ogl
.PyShapeCanvas_base_OnEndDragRight(*args
, **kwargs
)
3916 def base_OnDragLeft(*args
, **kwargs
):
3917 """base_OnDragLeft(bool draw, double x, double y, int keys=0)"""
3918 return _ogl
.PyShapeCanvas_base_OnDragLeft(*args
, **kwargs
)
3920 def base_OnDragRight(*args
, **kwargs
):
3921 """base_OnDragRight(bool draw, double x, double y, int keys=0)"""
3922 return _ogl
.PyShapeCanvas_base_OnDragRight(*args
, **kwargs
)
3924 def base_OnLeftClick(*args
, **kwargs
):
3925 """base_OnLeftClick(double x, double y, int keys=0)"""
3926 return _ogl
.PyShapeCanvas_base_OnLeftClick(*args
, **kwargs
)
3928 def base_OnRightClick(*args
, **kwargs
):
3929 """base_OnRightClick(double x, double y, int keys=0)"""
3930 return _ogl
.PyShapeCanvas_base_OnRightClick(*args
, **kwargs
)
3932 def Redraw(*args
, **kwargs
):
3934 return _ogl
.PyShapeCanvas_Redraw(*args
, **kwargs
)
3936 def RemoveShape(*args
, **kwargs
):
3937 """RemoveShape(PyShape shape)"""
3938 return _ogl
.PyShapeCanvas_RemoveShape(*args
, **kwargs
)
3940 def SetDiagram(*args
, **kwargs
):
3941 """SetDiagram(Diagram diagram)"""
3942 return _ogl
.PyShapeCanvas_SetDiagram(*args
, **kwargs
)
3944 def Snap(*args
, **kwargs
):
3945 """Snap(double INOUT, double INOUT)"""
3946 return _ogl
.PyShapeCanvas_Snap(*args
, **kwargs
)
3948 def GetShapeList(self
):
3949 return self
.GetDiagram().GetShapeList()
3952 class PyShapeCanvasPtr(PyShapeCanvas
):
3953 def __init__(self
, this
):
3955 if not hasattr(self
,"thisown"): self
.thisown
= 0
3956 self
.__class
__ = PyShapeCanvas
3957 _ogl
.PyShapeCanvas_swigregister(PyShapeCanvasPtr
)
3960 ShapeCanvas
= PyShapeCanvas
3961 ShapeEvtHandler
= PyShapeEvtHandler
3963 RectangleShape
= PyRectangleShape
3964 BitmapShape
= PyBitmapShape
3965 DrawnShape
= PyDrawnShape
3966 CompositeShape
= PyCompositeShape
3967 DividedShape
= PyDividedShape
3968 DivisionShape
= PyDivisionShape
3969 EllipseShape
= PyEllipseShape
3970 CircleShape
= PyCircleShape
3971 LineShape
= PyLineShape
3972 PolygonShape
= PyPolygonShape
3973 TextShape
= PyTextShape
3974 ControlPoint
= PyControlPoint
3976 KEY_SHIFT
= _ogl
.KEY_SHIFT
3977 KEY_CTRL
= _ogl
.KEY_CTRL
3978 ARROW_NONE
= _ogl
.ARROW_NONE
3979 ARROW_END
= _ogl
.ARROW_END
3980 ARROW_BOTH
= _ogl
.ARROW_BOTH
3981 ARROW_MIDDLE
= _ogl
.ARROW_MIDDLE
3982 ARROW_START
= _ogl
.ARROW_START
3983 ARROW_HOLLOW_CIRCLE
= _ogl
.ARROW_HOLLOW_CIRCLE
3984 ARROW_FILLED_CIRCLE
= _ogl
.ARROW_FILLED_CIRCLE
3985 ARROW_ARROW
= _ogl
.ARROW_ARROW
3986 ARROW_SINGLE_OBLIQUE
= _ogl
.ARROW_SINGLE_OBLIQUE
3987 ARROW_DOUBLE_OBLIQUE
= _ogl
.ARROW_DOUBLE_OBLIQUE
3988 ARROW_METAFILE
= _ogl
.ARROW_METAFILE
3989 ARROW_POSITION_END
= _ogl
.ARROW_POSITION_END
3990 ARROW_POSITION_START
= _ogl
.ARROW_POSITION_START
3991 CONTROL_POINT_VERTICAL
= _ogl
.CONTROL_POINT_VERTICAL
3992 CONTROL_POINT_HORIZONTAL
= _ogl
.CONTROL_POINT_HORIZONTAL
3993 CONTROL_POINT_DIAGONAL
= _ogl
.CONTROL_POINT_DIAGONAL
3994 CONTROL_POINT_ENDPOINT_TO
= _ogl
.CONTROL_POINT_ENDPOINT_TO
3995 CONTROL_POINT_ENDPOINT_FROM
= _ogl
.CONTROL_POINT_ENDPOINT_FROM
3996 CONTROL_POINT_LINE
= _ogl
.CONTROL_POINT_LINE
3997 FORMAT_NONE
= _ogl
.FORMAT_NONE
3998 FORMAT_CENTRE_HORIZ
= _ogl
.FORMAT_CENTRE_HORIZ
3999 FORMAT_CENTRE_VERT
= _ogl
.FORMAT_CENTRE_VERT
4000 FORMAT_SIZE_TO_CONTENTS
= _ogl
.FORMAT_SIZE_TO_CONTENTS
4001 LINE_ALIGNMENT_HORIZ
= _ogl
.LINE_ALIGNMENT_HORIZ
4002 LINE_ALIGNMENT_VERT
= _ogl
.LINE_ALIGNMENT_VERT
4003 LINE_ALIGNMENT_TO_NEXT_HANDLE
= _ogl
.LINE_ALIGNMENT_TO_NEXT_HANDLE
4004 LINE_ALIGNMENT_NONE
= _ogl
.LINE_ALIGNMENT_NONE
4005 SHADOW_NONE
= _ogl
.SHADOW_NONE
4006 SHADOW_LEFT
= _ogl
.SHADOW_LEFT
4007 SHADOW_RIGHT
= _ogl
.SHADOW_RIGHT
4008 OP_CLICK_LEFT
= _ogl
.OP_CLICK_LEFT
4009 OP_CLICK_RIGHT
= _ogl
.OP_CLICK_RIGHT
4010 OP_DRAG_LEFT
= _ogl
.OP_DRAG_LEFT
4011 OP_DRAG_RIGHT
= _ogl
.OP_DRAG_RIGHT
4012 OP_ALL
= _ogl
.OP_ALL
4013 ATTACHMENT_MODE_NONE
= _ogl
.ATTACHMENT_MODE_NONE
4014 ATTACHMENT_MODE_EDGE
= _ogl
.ATTACHMENT_MODE_EDGE
4015 ATTACHMENT_MODE_BRANCHING
= _ogl
.ATTACHMENT_MODE_BRANCHING
4016 BRANCHING_ATTACHMENT_NORMAL
= _ogl
.BRANCHING_ATTACHMENT_NORMAL
4017 BRANCHING_ATTACHMENT_BLOB
= _ogl
.BRANCHING_ATTACHMENT_BLOB
4018 gyCONSTRAINT_CENTRED_VERTICALLY
= _ogl
.gyCONSTRAINT_CENTRED_VERTICALLY
4019 gyCONSTRAINT_CENTRED_HORIZONTALLY
= _ogl
.gyCONSTRAINT_CENTRED_HORIZONTALLY
4020 gyCONSTRAINT_CENTRED_BOTH
= _ogl
.gyCONSTRAINT_CENTRED_BOTH
4021 gyCONSTRAINT_LEFT_OF
= _ogl
.gyCONSTRAINT_LEFT_OF
4022 gyCONSTRAINT_RIGHT_OF
= _ogl
.gyCONSTRAINT_RIGHT_OF
4023 gyCONSTRAINT_ABOVE
= _ogl
.gyCONSTRAINT_ABOVE
4024 gyCONSTRAINT_BELOW
= _ogl
.gyCONSTRAINT_BELOW
4025 gyCONSTRAINT_ALIGNED_TOP
= _ogl
.gyCONSTRAINT_ALIGNED_TOP
4026 gyCONSTRAINT_ALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_ALIGNED_BOTTOM
4027 gyCONSTRAINT_ALIGNED_LEFT
= _ogl
.gyCONSTRAINT_ALIGNED_LEFT
4028 gyCONSTRAINT_ALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_ALIGNED_RIGHT
4029 gyCONSTRAINT_MIDALIGNED_TOP
= _ogl
.gyCONSTRAINT_MIDALIGNED_TOP
4030 gyCONSTRAINT_MIDALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_MIDALIGNED_BOTTOM
4031 gyCONSTRAINT_MIDALIGNED_LEFT
= _ogl
.gyCONSTRAINT_MIDALIGNED_LEFT
4032 gyCONSTRAINT_MIDALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_MIDALIGNED_RIGHT
4033 DIVISION_SIDE_NONE
= _ogl
.DIVISION_SIDE_NONE
4034 DIVISION_SIDE_LEFT
= _ogl
.DIVISION_SIDE_LEFT
4035 DIVISION_SIDE_TOP
= _ogl
.DIVISION_SIDE_TOP
4036 DIVISION_SIDE_RIGHT
= _ogl
.DIVISION_SIDE_RIGHT
4037 DIVISION_SIDE_BOTTOM
= _ogl
.DIVISION_SIDE_BOTTOM
4039 def OGLInitialize(*args
, **kwargs
):
4040 """OGLInitialize()"""
4041 return _ogl
.OGLInitialize(*args
, **kwargs
)
4043 def OGLCleanUp(*args
, **kwargs
):
4045 return _ogl
.OGLCleanUp(*args
, **kwargs
)