1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 The Object Graphics Library provides for simple drawing and manipulation
6 of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)
14 __docfilter__
= wx
.__DocFilter
(globals())
16 warnings
.warn("This module is deprecated. Please use the wx.lib.ogl package instead.",
17 DeprecationWarning, stacklevel
=2)
19 #---------------------------------------------------------------------------
21 class ShapeRegion(_core
.Object
):
23 return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
24 def __init__(self
, *args
, **kwargs
):
25 """__init__(self) -> ShapeRegion"""
26 newobj
= _ogl
.new_ShapeRegion(*args
, **kwargs
)
27 self
.this
= newobj
.this
30 def SetText(*args
, **kwargs
):
31 """SetText(self, String s)"""
32 return _ogl
.ShapeRegion_SetText(*args
, **kwargs
)
34 def SetFont(*args
, **kwargs
):
35 """SetFont(self, Font f)"""
36 return _ogl
.ShapeRegion_SetFont(*args
, **kwargs
)
38 def SetMinSize(*args
, **kwargs
):
39 """SetMinSize(self, double w, double h)"""
40 return _ogl
.ShapeRegion_SetMinSize(*args
, **kwargs
)
42 def SetSize(*args
, **kwargs
):
43 """SetSize(self, double w, double h)"""
44 return _ogl
.ShapeRegion_SetSize(*args
, **kwargs
)
46 def SetPosition(*args
, **kwargs
):
47 """SetPosition(self, double x, double y)"""
48 return _ogl
.ShapeRegion_SetPosition(*args
, **kwargs
)
50 def SetProportions(*args
, **kwargs
):
51 """SetProportions(self, double x, double y)"""
52 return _ogl
.ShapeRegion_SetProportions(*args
, **kwargs
)
54 def SetFormatMode(*args
, **kwargs
):
55 """SetFormatMode(self, int mode)"""
56 return _ogl
.ShapeRegion_SetFormatMode(*args
, **kwargs
)
58 def SetName(*args
, **kwargs
):
59 """SetName(self, String s)"""
60 return _ogl
.ShapeRegion_SetName(*args
, **kwargs
)
62 def SetColour(*args
, **kwargs
):
63 """SetColour(self, String col)"""
64 return _ogl
.ShapeRegion_SetColour(*args
, **kwargs
)
66 def GetText(*args
, **kwargs
):
67 """GetText(self) -> String"""
68 return _ogl
.ShapeRegion_GetText(*args
, **kwargs
)
70 def GetFont(*args
, **kwargs
):
71 """GetFont(self) -> Font"""
72 return _ogl
.ShapeRegion_GetFont(*args
, **kwargs
)
74 def GetMinSize(*args
, **kwargs
):
75 """GetMinSize(self, double OUTPUT, double OUTPUT)"""
76 return _ogl
.ShapeRegion_GetMinSize(*args
, **kwargs
)
78 def GetProportion(*args
, **kwargs
):
79 """GetProportion(self, double OUTPUT, double OUTPUT)"""
80 return _ogl
.ShapeRegion_GetProportion(*args
, **kwargs
)
82 def GetSize(*args
, **kwargs
):
83 """GetSize(self, double OUTPUT, double OUTPUT)"""
84 return _ogl
.ShapeRegion_GetSize(*args
, **kwargs
)
86 def GetPosition(*args
, **kwargs
):
87 """GetPosition(self, double OUTPUT, double OUTPUT)"""
88 return _ogl
.ShapeRegion_GetPosition(*args
, **kwargs
)
90 def GetFormatMode(*args
, **kwargs
):
91 """GetFormatMode(self) -> int"""
92 return _ogl
.ShapeRegion_GetFormatMode(*args
, **kwargs
)
94 def GetName(*args
, **kwargs
):
95 """GetName(self) -> String"""
96 return _ogl
.ShapeRegion_GetName(*args
, **kwargs
)
98 def GetColour(*args
, **kwargs
):
99 """GetColour(self) -> String"""
100 return _ogl
.ShapeRegion_GetColour(*args
, **kwargs
)
102 def GetActualColourObject(*args
, **kwargs
):
103 """GetActualColourObject(self) -> Colour"""
104 return _ogl
.ShapeRegion_GetActualColourObject(*args
, **kwargs
)
106 def GetFormattedText(*args
, **kwargs
):
107 """GetFormattedText(self) -> wxList"""
108 return _ogl
.ShapeRegion_GetFormattedText(*args
, **kwargs
)
110 def GetPenColour(*args
, **kwargs
):
111 """GetPenColour(self) -> String"""
112 return _ogl
.ShapeRegion_GetPenColour(*args
, **kwargs
)
114 def GetPenStyle(*args
, **kwargs
):
115 """GetPenStyle(self) -> int"""
116 return _ogl
.ShapeRegion_GetPenStyle(*args
, **kwargs
)
118 def SetPenStyle(*args
, **kwargs
):
119 """SetPenStyle(self, int style)"""
120 return _ogl
.ShapeRegion_SetPenStyle(*args
, **kwargs
)
122 def SetPenColour(*args
, **kwargs
):
123 """SetPenColour(self, String col)"""
124 return _ogl
.ShapeRegion_SetPenColour(*args
, **kwargs
)
126 def GetActualPen(*args
, **kwargs
):
127 """GetActualPen(self) -> wxPen"""
128 return _ogl
.ShapeRegion_GetActualPen(*args
, **kwargs
)
130 def GetWidth(*args
, **kwargs
):
131 """GetWidth(self) -> double"""
132 return _ogl
.ShapeRegion_GetWidth(*args
, **kwargs
)
134 def GetHeight(*args
, **kwargs
):
135 """GetHeight(self) -> double"""
136 return _ogl
.ShapeRegion_GetHeight(*args
, **kwargs
)
138 def ClearText(*args
, **kwargs
):
139 """ClearText(self)"""
140 return _ogl
.ShapeRegion_ClearText(*args
, **kwargs
)
143 class ShapeRegionPtr(ShapeRegion
):
144 def __init__(self
, this
):
146 if not hasattr(self
,"thisown"): self
.thisown
= 0
147 self
.__class
__ = ShapeRegion
148 _ogl
.ShapeRegion_swigregister(ShapeRegionPtr
)
150 class AttachmentPoint(_core
.Object
):
152 return "<%s.%s; proxy of C++ wxAttachmentPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
153 def __init__(self
, *args
, **kwargs
):
154 """__init__(self, int id=0, double x=0.0, double y=0.0) -> AttachmentPoint"""
155 newobj
= _ogl
.new_AttachmentPoint(*args
, **kwargs
)
156 self
.this
= newobj
.this
159 m_id
= property(_ogl
.AttachmentPoint_m_id_get
, _ogl
.AttachmentPoint_m_id_set
)
160 m_x
= property(_ogl
.AttachmentPoint_m_x_get
, _ogl
.AttachmentPoint_m_x_set
)
161 m_y
= property(_ogl
.AttachmentPoint_m_y_get
, _ogl
.AttachmentPoint_m_y_set
)
163 class AttachmentPointPtr(AttachmentPoint
):
164 def __init__(self
, this
):
166 if not hasattr(self
,"thisown"): self
.thisown
= 0
167 self
.__class
__ = AttachmentPoint
168 _ogl
.AttachmentPoint_swigregister(AttachmentPointPtr
)
170 class PyShapeEvtHandler(_core
.Object
):
172 return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
173 def __init__(self
, *args
, **kwargs
):
174 """__init__(self, PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler"""
175 newobj
= _ogl
.new_PyShapeEvtHandler(*args
, **kwargs
)
176 self
.this
= newobj
.this
179 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
181 def _setCallbackInfo(*args
, **kwargs
):
182 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
183 return _ogl
.PyShapeEvtHandler__setCallbackInfo(*args
, **kwargs
)
185 def _setOORInfo(*args
, **kwargs
):
186 """_setOORInfo(self, PyObject _self)"""
187 return _ogl
.PyShapeEvtHandler__setOORInfo(*args
, **kwargs
)
189 def _setOORandCallbackInfo(self
, _class
):
190 self
._setOORInfo
(self
)
191 self
._setCallbackInfo
(self
, _class
)
193 def SetShape(*args
, **kwargs
):
194 """SetShape(self, PyShape sh)"""
195 return _ogl
.PyShapeEvtHandler_SetShape(*args
, **kwargs
)
197 def GetShape(*args
, **kwargs
):
198 """GetShape(self) -> PyShape"""
199 return _ogl
.PyShapeEvtHandler_GetShape(*args
, **kwargs
)
201 def SetPreviousHandler(*args
, **kwargs
):
202 """SetPreviousHandler(self, PyShapeEvtHandler handler)"""
203 return _ogl
.PyShapeEvtHandler_SetPreviousHandler(*args
, **kwargs
)
205 def GetPreviousHandler(*args
, **kwargs
):
206 """GetPreviousHandler(self) -> PyShapeEvtHandler"""
207 return _ogl
.PyShapeEvtHandler_GetPreviousHandler(*args
, **kwargs
)
209 def CreateNewCopy(*args
, **kwargs
):
210 """CreateNewCopy(self) -> PyShapeEvtHandler"""
211 return _ogl
.PyShapeEvtHandler_CreateNewCopy(*args
, **kwargs
)
213 def base_OnDelete(*args
, **kwargs
):
214 """base_OnDelete(self)"""
215 return _ogl
.PyShapeEvtHandler_base_OnDelete(*args
, **kwargs
)
217 def base_OnDraw(*args
, **kwargs
):
218 """base_OnDraw(self, DC dc)"""
219 return _ogl
.PyShapeEvtHandler_base_OnDraw(*args
, **kwargs
)
221 def base_OnDrawContents(*args
, **kwargs
):
222 """base_OnDrawContents(self, DC dc)"""
223 return _ogl
.PyShapeEvtHandler_base_OnDrawContents(*args
, **kwargs
)
225 def base_OnDrawBranches(*args
, **kwargs
):
226 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
227 return _ogl
.PyShapeEvtHandler_base_OnDrawBranches(*args
, **kwargs
)
229 def base_OnMoveLinks(*args
, **kwargs
):
230 """base_OnMoveLinks(self, DC dc)"""
231 return _ogl
.PyShapeEvtHandler_base_OnMoveLinks(*args
, **kwargs
)
233 def base_OnErase(*args
, **kwargs
):
234 """base_OnErase(self, DC dc)"""
235 return _ogl
.PyShapeEvtHandler_base_OnErase(*args
, **kwargs
)
237 def base_OnEraseContents(*args
, **kwargs
):
238 """base_OnEraseContents(self, DC dc)"""
239 return _ogl
.PyShapeEvtHandler_base_OnEraseContents(*args
, **kwargs
)
241 def base_OnHighlight(*args
, **kwargs
):
242 """base_OnHighlight(self, DC dc)"""
243 return _ogl
.PyShapeEvtHandler_base_OnHighlight(*args
, **kwargs
)
245 def base_OnLeftClick(*args
, **kwargs
):
246 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
247 return _ogl
.PyShapeEvtHandler_base_OnLeftClick(*args
, **kwargs
)
249 def base_OnLeftDoubleClick(*args
, **kwargs
):
250 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
251 return _ogl
.PyShapeEvtHandler_base_OnLeftDoubleClick(*args
, **kwargs
)
253 def base_OnRightClick(*args
, **kwargs
):
254 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
255 return _ogl
.PyShapeEvtHandler_base_OnRightClick(*args
, **kwargs
)
257 def base_OnSize(*args
, **kwargs
):
258 """base_OnSize(self, double x, double y)"""
259 return _ogl
.PyShapeEvtHandler_base_OnSize(*args
, **kwargs
)
261 def base_OnMovePre(*args
, **kwargs
):
263 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
264 bool display=True) -> bool
266 return _ogl
.PyShapeEvtHandler_base_OnMovePre(*args
, **kwargs
)
268 def base_OnMovePost(*args
, **kwargs
):
270 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
273 return _ogl
.PyShapeEvtHandler_base_OnMovePost(*args
, **kwargs
)
275 def base_OnDragLeft(*args
, **kwargs
):
276 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
277 return _ogl
.PyShapeEvtHandler_base_OnDragLeft(*args
, **kwargs
)
279 def base_OnBeginDragLeft(*args
, **kwargs
):
280 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
281 return _ogl
.PyShapeEvtHandler_base_OnBeginDragLeft(*args
, **kwargs
)
283 def base_OnEndDragLeft(*args
, **kwargs
):
284 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
285 return _ogl
.PyShapeEvtHandler_base_OnEndDragLeft(*args
, **kwargs
)
287 def base_OnDragRight(*args
, **kwargs
):
288 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
289 return _ogl
.PyShapeEvtHandler_base_OnDragRight(*args
, **kwargs
)
291 def base_OnBeginDragRight(*args
, **kwargs
):
292 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
293 return _ogl
.PyShapeEvtHandler_base_OnBeginDragRight(*args
, **kwargs
)
295 def base_OnEndDragRight(*args
, **kwargs
):
296 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
297 return _ogl
.PyShapeEvtHandler_base_OnEndDragRight(*args
, **kwargs
)
299 def base_OnDrawOutline(*args
, **kwargs
):
300 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
301 return _ogl
.PyShapeEvtHandler_base_OnDrawOutline(*args
, **kwargs
)
303 def base_OnDrawControlPoints(*args
, **kwargs
):
304 """base_OnDrawControlPoints(self, DC dc)"""
305 return _ogl
.PyShapeEvtHandler_base_OnDrawControlPoints(*args
, **kwargs
)
307 def base_OnEraseControlPoints(*args
, **kwargs
):
308 """base_OnEraseControlPoints(self, DC dc)"""
309 return _ogl
.PyShapeEvtHandler_base_OnEraseControlPoints(*args
, **kwargs
)
311 def base_OnMoveLink(*args
, **kwargs
):
312 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
313 return _ogl
.PyShapeEvtHandler_base_OnMoveLink(*args
, **kwargs
)
315 def base_OnSizingDragLeft(*args
, **kwargs
):
317 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
320 return _ogl
.PyShapeEvtHandler_base_OnSizingDragLeft(*args
, **kwargs
)
322 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
324 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
327 return _ogl
.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args
, **kwargs
)
329 def base_OnSizingEndDragLeft(*args
, **kwargs
):
331 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
334 return _ogl
.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args
, **kwargs
)
336 def base_OnBeginSize(*args
, **kwargs
):
337 """base_OnBeginSize(self, double w, double h)"""
338 return _ogl
.PyShapeEvtHandler_base_OnBeginSize(*args
, **kwargs
)
340 def base_OnEndSize(*args
, **kwargs
):
341 """base_OnEndSize(self, double w, double h)"""
342 return _ogl
.PyShapeEvtHandler_base_OnEndSize(*args
, **kwargs
)
345 class PyShapeEvtHandlerPtr(PyShapeEvtHandler
):
346 def __init__(self
, this
):
348 if not hasattr(self
,"thisown"): self
.thisown
= 0
349 self
.__class
__ = PyShapeEvtHandler
350 _ogl
.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr
)
352 class PyShape(PyShapeEvtHandler
):
354 return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
355 def __init__(self
, *args
, **kwargs
):
356 """__init__(self, PyShapeCanvas can=None) -> PyShape"""
357 newobj
= _ogl
.new_PyShape(*args
, **kwargs
)
358 self
.this
= newobj
.this
361 self
._setOORandCallbackInfo
(PyShape
)
363 def _setCallbackInfo(*args
, **kwargs
):
364 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
365 return _ogl
.PyShape__setCallbackInfo(*args
, **kwargs
)
367 def GetBoundingBoxMax(*args
, **kwargs
):
368 """GetBoundingBoxMax(self, double OUTPUT, double OUTPUT)"""
369 return _ogl
.PyShape_GetBoundingBoxMax(*args
, **kwargs
)
371 def GetBoundingBoxMin(*args
, **kwargs
):
372 """GetBoundingBoxMin(self, double OUTPUT, double OUTPUT)"""
373 return _ogl
.PyShape_GetBoundingBoxMin(*args
, **kwargs
)
375 def GetPerimeterPoint(*args
, **kwargs
):
377 GetPerimeterPoint(self, double x1, double y1, double x2, double y2, double OUTPUT,
378 double OUTPUT) -> bool
380 return _ogl
.PyShape_GetPerimeterPoint(*args
, **kwargs
)
382 def GetCanvas(*args
, **kwargs
):
383 """GetCanvas(self) -> PyShapeCanvas"""
384 return _ogl
.PyShape_GetCanvas(*args
, **kwargs
)
386 def SetCanvas(*args
, **kwargs
):
387 """SetCanvas(self, PyShapeCanvas the_canvas)"""
388 return _ogl
.PyShape_SetCanvas(*args
, **kwargs
)
390 def AddToCanvas(*args
, **kwargs
):
391 """AddToCanvas(self, PyShapeCanvas the_canvas, PyShape addAfter=None)"""
392 return _ogl
.PyShape_AddToCanvas(*args
, **kwargs
)
394 def InsertInCanvas(*args
, **kwargs
):
395 """InsertInCanvas(self, PyShapeCanvas the_canvas)"""
396 return _ogl
.PyShape_InsertInCanvas(*args
, **kwargs
)
398 def RemoveFromCanvas(*args
, **kwargs
):
399 """RemoveFromCanvas(self, PyShapeCanvas the_canvas)"""
400 return _ogl
.PyShape_RemoveFromCanvas(*args
, **kwargs
)
402 def GetX(*args
, **kwargs
):
403 """GetX(self) -> double"""
404 return _ogl
.PyShape_GetX(*args
, **kwargs
)
406 def GetY(*args
, **kwargs
):
407 """GetY(self) -> double"""
408 return _ogl
.PyShape_GetY(*args
, **kwargs
)
410 def SetX(*args
, **kwargs
):
411 """SetX(self, double x)"""
412 return _ogl
.PyShape_SetX(*args
, **kwargs
)
414 def SetY(*args
, **kwargs
):
415 """SetY(self, double y)"""
416 return _ogl
.PyShape_SetY(*args
, **kwargs
)
418 def GetParent(*args
, **kwargs
):
419 """GetParent(self) -> PyShape"""
420 return _ogl
.PyShape_GetParent(*args
, **kwargs
)
422 def SetParent(*args
, **kwargs
):
423 """SetParent(self, PyShape p)"""
424 return _ogl
.PyShape_SetParent(*args
, **kwargs
)
426 def GetTopAncestor(*args
, **kwargs
):
427 """GetTopAncestor(self) -> PyShape"""
428 return _ogl
.PyShape_GetTopAncestor(*args
, **kwargs
)
430 def GetChildren(*args
, **kwargs
):
431 """GetChildren(self) -> PyObject"""
432 return _ogl
.PyShape_GetChildren(*args
, **kwargs
)
434 def Unlink(*args
, **kwargs
):
436 return _ogl
.PyShape_Unlink(*args
, **kwargs
)
438 def SetDrawHandles(*args
, **kwargs
):
439 """SetDrawHandles(self, bool drawH)"""
440 return _ogl
.PyShape_SetDrawHandles(*args
, **kwargs
)
442 def GetDrawHandles(*args
, **kwargs
):
443 """GetDrawHandles(self) -> bool"""
444 return _ogl
.PyShape_GetDrawHandles(*args
, **kwargs
)
446 def MakeControlPoints(*args
, **kwargs
):
447 """MakeControlPoints(self)"""
448 return _ogl
.PyShape_MakeControlPoints(*args
, **kwargs
)
450 def DeleteControlPoints(*args
, **kwargs
):
451 """DeleteControlPoints(self, DC dc=None)"""
452 return _ogl
.PyShape_DeleteControlPoints(*args
, **kwargs
)
454 def ResetControlPoints(*args
, **kwargs
):
455 """ResetControlPoints(self)"""
456 return _ogl
.PyShape_ResetControlPoints(*args
, **kwargs
)
458 def GetEventHandler(*args
, **kwargs
):
459 """GetEventHandler(self) -> PyShapeEvtHandler"""
460 return _ogl
.PyShape_GetEventHandler(*args
, **kwargs
)
462 def SetEventHandler(*args
, **kwargs
):
463 """SetEventHandler(self, PyShapeEvtHandler handler)"""
464 return _ogl
.PyShape_SetEventHandler(*args
, **kwargs
)
466 def MakeMandatoryControlPoints(*args
, **kwargs
):
467 """MakeMandatoryControlPoints(self)"""
468 return _ogl
.PyShape_MakeMandatoryControlPoints(*args
, **kwargs
)
470 def ResetMandatoryControlPoints(*args
, **kwargs
):
471 """ResetMandatoryControlPoints(self)"""
472 return _ogl
.PyShape_ResetMandatoryControlPoints(*args
, **kwargs
)
474 def Recompute(*args
, **kwargs
):
475 """Recompute(self) -> bool"""
476 return _ogl
.PyShape_Recompute(*args
, **kwargs
)
478 def CalculateSize(*args
, **kwargs
):
479 """CalculateSize(self)"""
480 return _ogl
.PyShape_CalculateSize(*args
, **kwargs
)
482 def Select(*args
, **kwargs
):
483 """Select(self, bool select=True, DC dc=None)"""
484 return _ogl
.PyShape_Select(*args
, **kwargs
)
486 def SetHighlight(*args
, **kwargs
):
487 """SetHighlight(self, bool hi=True, bool recurse=False)"""
488 return _ogl
.PyShape_SetHighlight(*args
, **kwargs
)
490 def IsHighlighted(*args
, **kwargs
):
491 """IsHighlighted(self) -> bool"""
492 return _ogl
.PyShape_IsHighlighted(*args
, **kwargs
)
494 def Selected(*args
, **kwargs
):
495 """Selected(self) -> bool"""
496 return _ogl
.PyShape_Selected(*args
, **kwargs
)
498 def AncestorSelected(*args
, **kwargs
):
499 """AncestorSelected(self) -> bool"""
500 return _ogl
.PyShape_AncestorSelected(*args
, **kwargs
)
502 def SetSensitivityFilter(*args
, **kwargs
):
503 """SetSensitivityFilter(self, int sens=OP_ALL, bool recursive=False)"""
504 return _ogl
.PyShape_SetSensitivityFilter(*args
, **kwargs
)
506 def GetSensitivityFilter(*args
, **kwargs
):
507 """GetSensitivityFilter(self) -> int"""
508 return _ogl
.PyShape_GetSensitivityFilter(*args
, **kwargs
)
510 def SetDraggable(*args
, **kwargs
):
511 """SetDraggable(self, bool drag, bool recursive=False)"""
512 return _ogl
.PyShape_SetDraggable(*args
, **kwargs
)
514 def SetFixedSize(*args
, **kwargs
):
515 """SetFixedSize(self, bool x, bool y)"""
516 return _ogl
.PyShape_SetFixedSize(*args
, **kwargs
)
518 def GetFixedSize(*args
, **kwargs
):
519 """GetFixedSize(self, bool OUTPUT, bool OUTPUT)"""
520 return _ogl
.PyShape_GetFixedSize(*args
, **kwargs
)
522 def GetFixedWidth(*args
, **kwargs
):
523 """GetFixedWidth(self) -> bool"""
524 return _ogl
.PyShape_GetFixedWidth(*args
, **kwargs
)
526 def GetFixedHeight(*args
, **kwargs
):
527 """GetFixedHeight(self) -> bool"""
528 return _ogl
.PyShape_GetFixedHeight(*args
, **kwargs
)
530 def SetSpaceAttachments(*args
, **kwargs
):
531 """SetSpaceAttachments(self, bool sp)"""
532 return _ogl
.PyShape_SetSpaceAttachments(*args
, **kwargs
)
534 def GetSpaceAttachments(*args
, **kwargs
):
535 """GetSpaceAttachments(self) -> bool"""
536 return _ogl
.PyShape_GetSpaceAttachments(*args
, **kwargs
)
538 def SetShadowMode(*args
, **kwargs
):
539 """SetShadowMode(self, int mode, bool redraw=False)"""
540 return _ogl
.PyShape_SetShadowMode(*args
, **kwargs
)
542 def GetShadowMode(*args
, **kwargs
):
543 """GetShadowMode(self) -> int"""
544 return _ogl
.PyShape_GetShadowMode(*args
, **kwargs
)
546 def HitTest(*args
, **kwargs
):
547 """HitTest(self, double x, double y, int OUTPUT, double OUTPUT) -> bool"""
548 return _ogl
.PyShape_HitTest(*args
, **kwargs
)
550 def SetCentreResize(*args
, **kwargs
):
551 """SetCentreResize(self, bool cr)"""
552 return _ogl
.PyShape_SetCentreResize(*args
, **kwargs
)
554 def GetCentreResize(*args
, **kwargs
):
555 """GetCentreResize(self) -> bool"""
556 return _ogl
.PyShape_GetCentreResize(*args
, **kwargs
)
558 def SetMaintainAspectRatio(*args
, **kwargs
):
559 """SetMaintainAspectRatio(self, bool ar)"""
560 return _ogl
.PyShape_SetMaintainAspectRatio(*args
, **kwargs
)
562 def GetMaintainAspectRatio(*args
, **kwargs
):
563 """GetMaintainAspectRatio(self) -> bool"""
564 return _ogl
.PyShape_GetMaintainAspectRatio(*args
, **kwargs
)
566 def GetLines(*args
, **kwargs
):
567 """GetLines(self) -> PyObject"""
568 return _ogl
.PyShape_GetLines(*args
, **kwargs
)
570 def SetDisableLabel(*args
, **kwargs
):
571 """SetDisableLabel(self, bool flag)"""
572 return _ogl
.PyShape_SetDisableLabel(*args
, **kwargs
)
574 def GetDisableLabel(*args
, **kwargs
):
575 """GetDisableLabel(self) -> bool"""
576 return _ogl
.PyShape_GetDisableLabel(*args
, **kwargs
)
578 def SetAttachmentMode(*args
, **kwargs
):
579 """SetAttachmentMode(self, int mode)"""
580 return _ogl
.PyShape_SetAttachmentMode(*args
, **kwargs
)
582 def GetAttachmentMode(*args
, **kwargs
):
583 """GetAttachmentMode(self) -> int"""
584 return _ogl
.PyShape_GetAttachmentMode(*args
, **kwargs
)
586 def SetId(*args
, **kwargs
):
587 """SetId(self, long i)"""
588 return _ogl
.PyShape_SetId(*args
, **kwargs
)
590 def GetId(*args
, **kwargs
):
591 """GetId(self) -> long"""
592 return _ogl
.PyShape_GetId(*args
, **kwargs
)
594 def SetPen(*args
, **kwargs
):
595 """SetPen(self, wxPen pen)"""
596 return _ogl
.PyShape_SetPen(*args
, **kwargs
)
598 def SetBrush(*args
, **kwargs
):
599 """SetBrush(self, wxBrush brush)"""
600 return _ogl
.PyShape_SetBrush(*args
, **kwargs
)
602 def SetClientData(self
, data
):
603 self
.clientData
= data
604 def GetClientData(self
):
605 if hasattr(self
, 'clientData'):
606 return self
.clientData
610 def Show(*args
, **kwargs
):
611 """Show(self, bool show)"""
612 return _ogl
.PyShape_Show(*args
, **kwargs
)
614 def IsShown(*args
, **kwargs
):
615 """IsShown(self) -> bool"""
616 return _ogl
.PyShape_IsShown(*args
, **kwargs
)
618 def Move(*args
, **kwargs
):
619 """Move(self, DC dc, double x1, double y1, bool display=True)"""
620 return _ogl
.PyShape_Move(*args
, **kwargs
)
622 def Erase(*args
, **kwargs
):
623 """Erase(self, DC dc)"""
624 return _ogl
.PyShape_Erase(*args
, **kwargs
)
626 def EraseContents(*args
, **kwargs
):
627 """EraseContents(self, DC dc)"""
628 return _ogl
.PyShape_EraseContents(*args
, **kwargs
)
630 def Draw(*args
, **kwargs
):
631 """Draw(self, DC dc)"""
632 return _ogl
.PyShape_Draw(*args
, **kwargs
)
634 def Flash(*args
, **kwargs
):
636 return _ogl
.PyShape_Flash(*args
, **kwargs
)
638 def MoveLinks(*args
, **kwargs
):
639 """MoveLinks(self, DC dc)"""
640 return _ogl
.PyShape_MoveLinks(*args
, **kwargs
)
642 def DrawContents(*args
, **kwargs
):
643 """DrawContents(self, DC dc)"""
644 return _ogl
.PyShape_DrawContents(*args
, **kwargs
)
646 def SetSize(*args
, **kwargs
):
647 """SetSize(self, double x, double y, bool recursive=True)"""
648 return _ogl
.PyShape_SetSize(*args
, **kwargs
)
650 def SetAttachmentSize(*args
, **kwargs
):
651 """SetAttachmentSize(self, double x, double y)"""
652 return _ogl
.PyShape_SetAttachmentSize(*args
, **kwargs
)
654 def Attach(*args
, **kwargs
):
655 """Attach(self, PyShapeCanvas can)"""
656 return _ogl
.PyShape_Attach(*args
, **kwargs
)
658 def Detach(*args
, **kwargs
):
660 return _ogl
.PyShape_Detach(*args
, **kwargs
)
662 def Constrain(*args
, **kwargs
):
663 """Constrain(self) -> bool"""
664 return _ogl
.PyShape_Constrain(*args
, **kwargs
)
666 def AddLine(*args
, **kwargs
):
668 AddLine(self, PyLineShape line, PyShape other, int attachFrom=0,
669 int attachTo=0, int positionFrom=-1, int positionTo=-1)
671 return _ogl
.PyShape_AddLine(*args
, **kwargs
)
673 def GetLinePosition(*args
, **kwargs
):
674 """GetLinePosition(self, PyLineShape line) -> int"""
675 return _ogl
.PyShape_GetLinePosition(*args
, **kwargs
)
677 def AddText(*args
, **kwargs
):
678 """AddText(self, String string)"""
679 return _ogl
.PyShape_AddText(*args
, **kwargs
)
681 def GetPen(*args
, **kwargs
):
682 """GetPen(self) -> wxPen"""
683 return _ogl
.PyShape_GetPen(*args
, **kwargs
)
685 def GetBrush(*args
, **kwargs
):
686 """GetBrush(self) -> wxBrush"""
687 return _ogl
.PyShape_GetBrush(*args
, **kwargs
)
689 def SetDefaultRegionSize(*args
, **kwargs
):
690 """SetDefaultRegionSize(self)"""
691 return _ogl
.PyShape_SetDefaultRegionSize(*args
, **kwargs
)
693 def FormatText(*args
, **kwargs
):
694 """FormatText(self, DC dc, String s, int regionId=0)"""
695 return _ogl
.PyShape_FormatText(*args
, **kwargs
)
697 def SetFormatMode(*args
, **kwargs
):
698 """SetFormatMode(self, int mode, int regionId=0)"""
699 return _ogl
.PyShape_SetFormatMode(*args
, **kwargs
)
701 def GetFormatMode(*args
, **kwargs
):
702 """GetFormatMode(self, int regionId=0) -> int"""
703 return _ogl
.PyShape_GetFormatMode(*args
, **kwargs
)
705 def SetFont(*args
, **kwargs
):
706 """SetFont(self, Font font, int regionId=0)"""
707 return _ogl
.PyShape_SetFont(*args
, **kwargs
)
709 def GetFont(*args
, **kwargs
):
710 """GetFont(self, int regionId=0) -> Font"""
711 return _ogl
.PyShape_GetFont(*args
, **kwargs
)
713 def SetTextColour(*args
, **kwargs
):
714 """SetTextColour(self, String colour, int regionId=0)"""
715 return _ogl
.PyShape_SetTextColour(*args
, **kwargs
)
717 def GetTextColour(*args
, **kwargs
):
718 """GetTextColour(self, int regionId=0) -> String"""
719 return _ogl
.PyShape_GetTextColour(*args
, **kwargs
)
721 def GetNumberOfTextRegions(*args
, **kwargs
):
722 """GetNumberOfTextRegions(self) -> int"""
723 return _ogl
.PyShape_GetNumberOfTextRegions(*args
, **kwargs
)
725 def SetRegionName(*args
, **kwargs
):
726 """SetRegionName(self, String name, int regionId=0)"""
727 return _ogl
.PyShape_SetRegionName(*args
, **kwargs
)
729 def GetRegionName(*args
, **kwargs
):
730 """GetRegionName(self, int regionId) -> String"""
731 return _ogl
.PyShape_GetRegionName(*args
, **kwargs
)
733 def GetRegionId(*args
, **kwargs
):
734 """GetRegionId(self, String name) -> int"""
735 return _ogl
.PyShape_GetRegionId(*args
, **kwargs
)
737 def NameRegions(*args
, **kwargs
):
738 """NameRegions(self, String parentName=EmptyString)"""
739 return _ogl
.PyShape_NameRegions(*args
, **kwargs
)
741 def GetRegions(*args
, **kwargs
):
742 """GetRegions(self) -> PyObject"""
743 return _ogl
.PyShape_GetRegions(*args
, **kwargs
)
745 def AddRegion(*args
, **kwargs
):
746 """AddRegion(self, ShapeRegion region)"""
747 return _ogl
.PyShape_AddRegion(*args
, **kwargs
)
749 def ClearRegions(*args
, **kwargs
):
750 """ClearRegions(self)"""
751 return _ogl
.PyShape_ClearRegions(*args
, **kwargs
)
753 def AssignNewIds(*args
, **kwargs
):
754 """AssignNewIds(self)"""
755 return _ogl
.PyShape_AssignNewIds(*args
, **kwargs
)
757 def FindRegion(*args
, **kwargs
):
758 """FindRegion(self, String regionName, int OUTPUT) -> PyShape"""
759 return _ogl
.PyShape_FindRegion(*args
, **kwargs
)
761 def FindRegionNames(*args
, **kwargs
):
762 """FindRegionNames(self, wxStringList list)"""
763 return _ogl
.PyShape_FindRegionNames(*args
, **kwargs
)
765 def ClearText(*args
, **kwargs
):
766 """ClearText(self, int regionId=0)"""
767 return _ogl
.PyShape_ClearText(*args
, **kwargs
)
769 def RemoveLine(*args
, **kwargs
):
770 """RemoveLine(self, PyLineShape line)"""
771 return _ogl
.PyShape_RemoveLine(*args
, **kwargs
)
773 def GetAttachmentPosition(*args
, **kwargs
):
775 GetAttachmentPosition(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
776 int no_arcs=1, PyLineShape line=None) -> bool
778 return _ogl
.PyShape_GetAttachmentPosition(*args
, **kwargs
)
780 def GetNumberOfAttachments(*args
, **kwargs
):
781 """GetNumberOfAttachments(self) -> int"""
782 return _ogl
.PyShape_GetNumberOfAttachments(*args
, **kwargs
)
784 def AttachmentIsValid(*args
, **kwargs
):
785 """AttachmentIsValid(self, int attachment) -> bool"""
786 return _ogl
.PyShape_AttachmentIsValid(*args
, **kwargs
)
788 def GetAttachments(*args
, **kwargs
):
789 """GetAttachments(self) -> PyObject"""
790 return _ogl
.PyShape_GetAttachments(*args
, **kwargs
)
792 def GetAttachmentPositionEdge(*args
, **kwargs
):
794 GetAttachmentPositionEdge(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
795 int no_arcs=1, PyLineShape line=None) -> bool
797 return _ogl
.PyShape_GetAttachmentPositionEdge(*args
, **kwargs
)
799 def CalcSimpleAttachment(*args
, **kwargs
):
801 CalcSimpleAttachment(self, RealPoint pt1, RealPoint pt2, int nth, int noArcs,
802 PyLineShape line) -> RealPoint
804 return _ogl
.PyShape_CalcSimpleAttachment(*args
, **kwargs
)
806 def AttachmentSortTest(*args
, **kwargs
):
807 """AttachmentSortTest(self, int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool"""
808 return _ogl
.PyShape_AttachmentSortTest(*args
, **kwargs
)
810 def EraseLinks(*args
, **kwargs
):
811 """EraseLinks(self, DC dc, int attachment=-1, bool recurse=False)"""
812 return _ogl
.PyShape_EraseLinks(*args
, **kwargs
)
814 def DrawLinks(*args
, **kwargs
):
815 """DrawLinks(self, DC dc, int attachment=-1, bool recurse=False)"""
816 return _ogl
.PyShape_DrawLinks(*args
, **kwargs
)
818 def MoveLineToNewAttachment(*args
, **kwargs
):
819 """MoveLineToNewAttachment(self, DC dc, PyLineShape to_move, double x, double y) -> bool"""
820 return _ogl
.PyShape_MoveLineToNewAttachment(*args
, **kwargs
)
822 def ApplyAttachmentOrdering(*args
, **kwargs
):
823 """ApplyAttachmentOrdering(self, PyObject linesToSort)"""
824 return _ogl
.PyShape_ApplyAttachmentOrdering(*args
, **kwargs
)
826 def GetBranchingAttachmentRoot(*args
, **kwargs
):
827 """GetBranchingAttachmentRoot(self, int attachment) -> RealPoint"""
828 return _ogl
.PyShape_GetBranchingAttachmentRoot(*args
, **kwargs
)
830 def GetBranchingAttachmentInfo(*args
, **kwargs
):
832 GetBranchingAttachmentInfo(self, int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
833 RealPoint shoulder2) -> bool
835 return _ogl
.PyShape_GetBranchingAttachmentInfo(*args
, **kwargs
)
837 def GetBranchingAttachmentPoint(*args
, **kwargs
):
838 """GetBranchingAttachmentPoint(self, int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool"""
839 return _ogl
.PyShape_GetBranchingAttachmentPoint(*args
, **kwargs
)
841 def GetAttachmentLineCount(*args
, **kwargs
):
842 """GetAttachmentLineCount(self, int attachment) -> int"""
843 return _ogl
.PyShape_GetAttachmentLineCount(*args
, **kwargs
)
845 def SetBranchNeckLength(*args
, **kwargs
):
846 """SetBranchNeckLength(self, int len)"""
847 return _ogl
.PyShape_SetBranchNeckLength(*args
, **kwargs
)
849 def GetBranchNeckLength(*args
, **kwargs
):
850 """GetBranchNeckLength(self) -> int"""
851 return _ogl
.PyShape_GetBranchNeckLength(*args
, **kwargs
)
853 def SetBranchStemLength(*args
, **kwargs
):
854 """SetBranchStemLength(self, int len)"""
855 return _ogl
.PyShape_SetBranchStemLength(*args
, **kwargs
)
857 def GetBranchStemLength(*args
, **kwargs
):
858 """GetBranchStemLength(self) -> int"""
859 return _ogl
.PyShape_GetBranchStemLength(*args
, **kwargs
)
861 def SetBranchSpacing(*args
, **kwargs
):
862 """SetBranchSpacing(self, int len)"""
863 return _ogl
.PyShape_SetBranchSpacing(*args
, **kwargs
)
865 def GetBranchSpacing(*args
, **kwargs
):
866 """GetBranchSpacing(self) -> int"""
867 return _ogl
.PyShape_GetBranchSpacing(*args
, **kwargs
)
869 def SetBranchStyle(*args
, **kwargs
):
870 """SetBranchStyle(self, long style)"""
871 return _ogl
.PyShape_SetBranchStyle(*args
, **kwargs
)
873 def GetBranchStyle(*args
, **kwargs
):
874 """GetBranchStyle(self) -> long"""
875 return _ogl
.PyShape_GetBranchStyle(*args
, **kwargs
)
877 def PhysicalToLogicalAttachment(*args
, **kwargs
):
878 """PhysicalToLogicalAttachment(self, int physicalAttachment) -> int"""
879 return _ogl
.PyShape_PhysicalToLogicalAttachment(*args
, **kwargs
)
881 def LogicalToPhysicalAttachment(*args
, **kwargs
):
882 """LogicalToPhysicalAttachment(self, int logicalAttachment) -> int"""
883 return _ogl
.PyShape_LogicalToPhysicalAttachment(*args
, **kwargs
)
885 def Draggable(*args
, **kwargs
):
886 """Draggable(self) -> bool"""
887 return _ogl
.PyShape_Draggable(*args
, **kwargs
)
889 def HasDescendant(*args
, **kwargs
):
890 """HasDescendant(self, PyShape image) -> bool"""
891 return _ogl
.PyShape_HasDescendant(*args
, **kwargs
)
893 def CreateNewCopy(*args
, **kwargs
):
894 """CreateNewCopy(self, bool resetMapping=True, bool recompute=True) -> PyShape"""
895 return _ogl
.PyShape_CreateNewCopy(*args
, **kwargs
)
897 def Copy(*args
, **kwargs
):
898 """Copy(self, PyShape copy)"""
899 return _ogl
.PyShape_Copy(*args
, **kwargs
)
901 def CopyWithHandler(*args
, **kwargs
):
902 """CopyWithHandler(self, PyShape copy)"""
903 return _ogl
.PyShape_CopyWithHandler(*args
, **kwargs
)
905 def Rotate(*args
, **kwargs
):
906 """Rotate(self, double x, double y, double theta)"""
907 return _ogl
.PyShape_Rotate(*args
, **kwargs
)
909 def GetRotation(*args
, **kwargs
):
910 """GetRotation(self) -> double"""
911 return _ogl
.PyShape_GetRotation(*args
, **kwargs
)
913 def SetRotation(*args
, **kwargs
):
914 """SetRotation(self, double rotation)"""
915 return _ogl
.PyShape_SetRotation(*args
, **kwargs
)
917 def ClearAttachments(*args
, **kwargs
):
918 """ClearAttachments(self)"""
919 return _ogl
.PyShape_ClearAttachments(*args
, **kwargs
)
921 def Recentre(*args
, **kwargs
):
922 """Recentre(self, DC dc)"""
923 return _ogl
.PyShape_Recentre(*args
, **kwargs
)
925 def ClearPointList(*args
, **kwargs
):
926 """ClearPointList(self, wxList list)"""
927 return _ogl
.PyShape_ClearPointList(*args
, **kwargs
)
929 def GetBackgroundPen(*args
, **kwargs
):
930 """GetBackgroundPen(self) -> wxPen"""
931 return _ogl
.PyShape_GetBackgroundPen(*args
, **kwargs
)
933 def GetBackgroundBrush(*args
, **kwargs
):
934 """GetBackgroundBrush(self) -> wxBrush"""
935 return _ogl
.PyShape_GetBackgroundBrush(*args
, **kwargs
)
937 def base_OnDelete(*args
, **kwargs
):
938 """base_OnDelete(self)"""
939 return _ogl
.PyShape_base_OnDelete(*args
, **kwargs
)
941 def base_OnDraw(*args
, **kwargs
):
942 """base_OnDraw(self, DC dc)"""
943 return _ogl
.PyShape_base_OnDraw(*args
, **kwargs
)
945 def base_OnDrawContents(*args
, **kwargs
):
946 """base_OnDrawContents(self, DC dc)"""
947 return _ogl
.PyShape_base_OnDrawContents(*args
, **kwargs
)
949 def base_OnDrawBranches(*args
, **kwargs
):
950 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
951 return _ogl
.PyShape_base_OnDrawBranches(*args
, **kwargs
)
953 def base_OnMoveLinks(*args
, **kwargs
):
954 """base_OnMoveLinks(self, DC dc)"""
955 return _ogl
.PyShape_base_OnMoveLinks(*args
, **kwargs
)
957 def base_OnErase(*args
, **kwargs
):
958 """base_OnErase(self, DC dc)"""
959 return _ogl
.PyShape_base_OnErase(*args
, **kwargs
)
961 def base_OnEraseContents(*args
, **kwargs
):
962 """base_OnEraseContents(self, DC dc)"""
963 return _ogl
.PyShape_base_OnEraseContents(*args
, **kwargs
)
965 def base_OnHighlight(*args
, **kwargs
):
966 """base_OnHighlight(self, DC dc)"""
967 return _ogl
.PyShape_base_OnHighlight(*args
, **kwargs
)
969 def base_OnLeftClick(*args
, **kwargs
):
970 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
971 return _ogl
.PyShape_base_OnLeftClick(*args
, **kwargs
)
973 def base_OnLeftDoubleClick(*args
, **kwargs
):
974 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
975 return _ogl
.PyShape_base_OnLeftDoubleClick(*args
, **kwargs
)
977 def base_OnRightClick(*args
, **kwargs
):
978 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
979 return _ogl
.PyShape_base_OnRightClick(*args
, **kwargs
)
981 def base_OnSize(*args
, **kwargs
):
982 """base_OnSize(self, double x, double y)"""
983 return _ogl
.PyShape_base_OnSize(*args
, **kwargs
)
985 def base_OnMovePre(*args
, **kwargs
):
987 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
988 bool display=True) -> bool
990 return _ogl
.PyShape_base_OnMovePre(*args
, **kwargs
)
992 def base_OnMovePost(*args
, **kwargs
):
994 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
997 return _ogl
.PyShape_base_OnMovePost(*args
, **kwargs
)
999 def base_OnDragLeft(*args
, **kwargs
):
1000 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1001 return _ogl
.PyShape_base_OnDragLeft(*args
, **kwargs
)
1003 def base_OnBeginDragLeft(*args
, **kwargs
):
1004 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1005 return _ogl
.PyShape_base_OnBeginDragLeft(*args
, **kwargs
)
1007 def base_OnEndDragLeft(*args
, **kwargs
):
1008 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1009 return _ogl
.PyShape_base_OnEndDragLeft(*args
, **kwargs
)
1011 def base_OnDragRight(*args
, **kwargs
):
1012 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1013 return _ogl
.PyShape_base_OnDragRight(*args
, **kwargs
)
1015 def base_OnBeginDragRight(*args
, **kwargs
):
1016 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1017 return _ogl
.PyShape_base_OnBeginDragRight(*args
, **kwargs
)
1019 def base_OnEndDragRight(*args
, **kwargs
):
1020 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1021 return _ogl
.PyShape_base_OnEndDragRight(*args
, **kwargs
)
1023 def base_OnDrawOutline(*args
, **kwargs
):
1024 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1025 return _ogl
.PyShape_base_OnDrawOutline(*args
, **kwargs
)
1027 def base_OnDrawControlPoints(*args
, **kwargs
):
1028 """base_OnDrawControlPoints(self, DC dc)"""
1029 return _ogl
.PyShape_base_OnDrawControlPoints(*args
, **kwargs
)
1031 def base_OnEraseControlPoints(*args
, **kwargs
):
1032 """base_OnEraseControlPoints(self, DC dc)"""
1033 return _ogl
.PyShape_base_OnEraseControlPoints(*args
, **kwargs
)
1035 def base_OnMoveLink(*args
, **kwargs
):
1036 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1037 return _ogl
.PyShape_base_OnMoveLink(*args
, **kwargs
)
1039 def base_OnSizingDragLeft(*args
, **kwargs
):
1041 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1044 return _ogl
.PyShape_base_OnSizingDragLeft(*args
, **kwargs
)
1046 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1048 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1051 return _ogl
.PyShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1053 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1055 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1058 return _ogl
.PyShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1060 def base_OnBeginSize(*args
, **kwargs
):
1061 """base_OnBeginSize(self, double w, double h)"""
1062 return _ogl
.PyShape_base_OnBeginSize(*args
, **kwargs
)
1064 def base_OnEndSize(*args
, **kwargs
):
1065 """base_OnEndSize(self, double w, double h)"""
1066 return _ogl
.PyShape_base_OnEndSize(*args
, **kwargs
)
1069 class PyShapePtr(PyShape
):
1070 def __init__(self
, this
):
1072 if not hasattr(self
,"thisown"): self
.thisown
= 0
1073 self
.__class
__ = PyShape
1074 _ogl
.PyShape_swigregister(PyShapePtr
)
1076 oglMETAFLAGS_OUTLINE
= _ogl
.oglMETAFLAGS_OUTLINE
1077 oglMETAFLAGS_ATTACHMENTS
= _ogl
.oglMETAFLAGS_ATTACHMENTS
1078 class PseudoMetaFile(_core
.Object
):
1080 return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1081 def __init__(self
, *args
, **kwargs
):
1082 """__init__(self) -> PseudoMetaFile"""
1083 newobj
= _ogl
.new_PseudoMetaFile(*args
, **kwargs
)
1084 self
.this
= newobj
.this
1087 def __del__(self
, destroy
=_ogl
.delete_PseudoMetaFile
):
1090 if self
.thisown
: destroy(self
)
1093 def Draw(*args
, **kwargs
):
1094 """Draw(self, DC dc, double xoffset, double yoffset)"""
1095 return _ogl
.PseudoMetaFile_Draw(*args
, **kwargs
)
1097 def Clear(*args
, **kwargs
):
1099 return _ogl
.PseudoMetaFile_Clear(*args
, **kwargs
)
1101 def Copy(*args
, **kwargs
):
1102 """Copy(self, PseudoMetaFile copy)"""
1103 return _ogl
.PseudoMetaFile_Copy(*args
, **kwargs
)
1105 def Scale(*args
, **kwargs
):
1106 """Scale(self, double sx, double sy)"""
1107 return _ogl
.PseudoMetaFile_Scale(*args
, **kwargs
)
1109 def ScaleTo(*args
, **kwargs
):
1110 """ScaleTo(self, double w, double h)"""
1111 return _ogl
.PseudoMetaFile_ScaleTo(*args
, **kwargs
)
1113 def Translate(*args
, **kwargs
):
1114 """Translate(self, double x, double y)"""
1115 return _ogl
.PseudoMetaFile_Translate(*args
, **kwargs
)
1117 def Rotate(*args
, **kwargs
):
1118 """Rotate(self, double x, double y, double theta)"""
1119 return _ogl
.PseudoMetaFile_Rotate(*args
, **kwargs
)
1121 def LoadFromMetaFile(*args
, **kwargs
):
1122 """LoadFromMetaFile(self, String filename, double width, double height) -> bool"""
1123 return _ogl
.PseudoMetaFile_LoadFromMetaFile(*args
, **kwargs
)
1125 def GetBounds(*args
, **kwargs
):
1126 """GetBounds(self, double minX, double minY, double maxX, double maxY)"""
1127 return _ogl
.PseudoMetaFile_GetBounds(*args
, **kwargs
)
1129 def CalculateSize(*args
, **kwargs
):
1130 """CalculateSize(self, PyDrawnShape shape)"""
1131 return _ogl
.PseudoMetaFile_CalculateSize(*args
, **kwargs
)
1133 def SetRotateable(*args
, **kwargs
):
1134 """SetRotateable(self, bool rot)"""
1135 return _ogl
.PseudoMetaFile_SetRotateable(*args
, **kwargs
)
1137 def GetRotateable(*args
, **kwargs
):
1138 """GetRotateable(self) -> bool"""
1139 return _ogl
.PseudoMetaFile_GetRotateable(*args
, **kwargs
)
1141 def SetSize(*args
, **kwargs
):
1142 """SetSize(self, double w, double h)"""
1143 return _ogl
.PseudoMetaFile_SetSize(*args
, **kwargs
)
1145 def SetFillBrush(*args
, **kwargs
):
1146 """SetFillBrush(self, wxBrush brush)"""
1147 return _ogl
.PseudoMetaFile_SetFillBrush(*args
, **kwargs
)
1149 def GetFillBrush(*args
, **kwargs
):
1150 """GetFillBrush(self) -> wxBrush"""
1151 return _ogl
.PseudoMetaFile_GetFillBrush(*args
, **kwargs
)
1153 def SetOutlinePen(*args
, **kwargs
):
1154 """SetOutlinePen(self, wxPen pen)"""
1155 return _ogl
.PseudoMetaFile_SetOutlinePen(*args
, **kwargs
)
1157 def GetOutlinePen(*args
, **kwargs
):
1158 """GetOutlinePen(self) -> wxPen"""
1159 return _ogl
.PseudoMetaFile_GetOutlinePen(*args
, **kwargs
)
1161 def SetOutlineOp(*args
, **kwargs
):
1162 """SetOutlineOp(self, int op)"""
1163 return _ogl
.PseudoMetaFile_SetOutlineOp(*args
, **kwargs
)
1165 def GetOutlineOp(*args
, **kwargs
):
1166 """GetOutlineOp(self) -> int"""
1167 return _ogl
.PseudoMetaFile_GetOutlineOp(*args
, **kwargs
)
1169 def IsValid(*args
, **kwargs
):
1170 """IsValid(self) -> bool"""
1171 return _ogl
.PseudoMetaFile_IsValid(*args
, **kwargs
)
1173 def DrawLine(*args
, **kwargs
):
1174 """DrawLine(self, Point pt1, Point pt2)"""
1175 return _ogl
.PseudoMetaFile_DrawLine(*args
, **kwargs
)
1177 def DrawRectangle(*args
, **kwargs
):
1178 """DrawRectangle(self, Rect rect)"""
1179 return _ogl
.PseudoMetaFile_DrawRectangle(*args
, **kwargs
)
1181 def DrawRoundedRectangle(*args
, **kwargs
):
1182 """DrawRoundedRectangle(self, Rect rect, double radius)"""
1183 return _ogl
.PseudoMetaFile_DrawRoundedRectangle(*args
, **kwargs
)
1185 def DrawArc(*args
, **kwargs
):
1186 """DrawArc(self, Point centrePt, Point startPt, Point endPt)"""
1187 return _ogl
.PseudoMetaFile_DrawArc(*args
, **kwargs
)
1189 def DrawEllipticArc(*args
, **kwargs
):
1190 """DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)"""
1191 return _ogl
.PseudoMetaFile_DrawEllipticArc(*args
, **kwargs
)
1193 def DrawEllipse(*args
, **kwargs
):
1194 """DrawEllipse(self, Rect rect)"""
1195 return _ogl
.PseudoMetaFile_DrawEllipse(*args
, **kwargs
)
1197 def DrawPoint(*args
, **kwargs
):
1198 """DrawPoint(self, Point pt)"""
1199 return _ogl
.PseudoMetaFile_DrawPoint(*args
, **kwargs
)
1201 def DrawText(*args
, **kwargs
):
1202 """DrawText(self, String text, Point pt)"""
1203 return _ogl
.PseudoMetaFile_DrawText(*args
, **kwargs
)
1205 def DrawLines(*args
, **kwargs
):
1206 """DrawLines(self, int points, Point points_array)"""
1207 return _ogl
.PseudoMetaFile_DrawLines(*args
, **kwargs
)
1209 def DrawPolygon(*args
, **kwargs
):
1210 """DrawPolygon(self, int points, Point points_array, int flags=0)"""
1211 return _ogl
.PseudoMetaFile_DrawPolygon(*args
, **kwargs
)
1213 def DrawSpline(*args
, **kwargs
):
1214 """DrawSpline(self, int points, Point points_array)"""
1215 return _ogl
.PseudoMetaFile_DrawSpline(*args
, **kwargs
)
1217 def SetClippingRect(*args
, **kwargs
):
1218 """SetClippingRect(self, Rect rect)"""
1219 return _ogl
.PseudoMetaFile_SetClippingRect(*args
, **kwargs
)
1221 def DestroyClippingRect(*args
, **kwargs
):
1222 """DestroyClippingRect(self)"""
1223 return _ogl
.PseudoMetaFile_DestroyClippingRect(*args
, **kwargs
)
1225 def SetPen(*args
, **kwargs
):
1226 """SetPen(self, wxPen pen, bool isOutline=FALSE)"""
1227 return _ogl
.PseudoMetaFile_SetPen(*args
, **kwargs
)
1229 def SetBrush(*args
, **kwargs
):
1230 """SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
1231 return _ogl
.PseudoMetaFile_SetBrush(*args
, **kwargs
)
1233 def SetFont(*args
, **kwargs
):
1234 """SetFont(self, Font font)"""
1235 return _ogl
.PseudoMetaFile_SetFont(*args
, **kwargs
)
1237 def SetTextColour(*args
, **kwargs
):
1238 """SetTextColour(self, Colour colour)"""
1239 return _ogl
.PseudoMetaFile_SetTextColour(*args
, **kwargs
)
1241 def SetBackgroundColour(*args
, **kwargs
):
1242 """SetBackgroundColour(self, Colour colour)"""
1243 return _ogl
.PseudoMetaFile_SetBackgroundColour(*args
, **kwargs
)
1245 def SetBackgroundMode(*args
, **kwargs
):
1246 """SetBackgroundMode(self, int mode)"""
1247 return _ogl
.PseudoMetaFile_SetBackgroundMode(*args
, **kwargs
)
1250 class PseudoMetaFilePtr(PseudoMetaFile
):
1251 def __init__(self
, this
):
1253 if not hasattr(self
,"thisown"): self
.thisown
= 0
1254 self
.__class
__ = PseudoMetaFile
1255 _ogl
.PseudoMetaFile_swigregister(PseudoMetaFilePtr
)
1257 class PyRectangleShape(PyShape
):
1259 return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1260 def __init__(self
, *args
, **kwargs
):
1261 """__init__(self, double width=0.0, double height=0.0) -> PyRectangleShape"""
1262 newobj
= _ogl
.new_PyRectangleShape(*args
, **kwargs
)
1263 self
.this
= newobj
.this
1266 self
._setOORandCallbackInfo
(PyRectangleShape
)
1268 def _setCallbackInfo(*args
, **kwargs
):
1269 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1270 return _ogl
.PyRectangleShape__setCallbackInfo(*args
, **kwargs
)
1272 def SetCornerRadius(*args
, **kwargs
):
1273 """SetCornerRadius(self, double radius)"""
1274 return _ogl
.PyRectangleShape_SetCornerRadius(*args
, **kwargs
)
1276 def GetCornerRadius(*args
, **kwargs
):
1277 """GetCornerRadius(self) -> double"""
1278 return _ogl
.PyRectangleShape_GetCornerRadius(*args
, **kwargs
)
1280 def base_OnDelete(*args
, **kwargs
):
1281 """base_OnDelete(self)"""
1282 return _ogl
.PyRectangleShape_base_OnDelete(*args
, **kwargs
)
1284 def base_OnDraw(*args
, **kwargs
):
1285 """base_OnDraw(self, DC dc)"""
1286 return _ogl
.PyRectangleShape_base_OnDraw(*args
, **kwargs
)
1288 def base_OnDrawContents(*args
, **kwargs
):
1289 """base_OnDrawContents(self, DC dc)"""
1290 return _ogl
.PyRectangleShape_base_OnDrawContents(*args
, **kwargs
)
1292 def base_OnDrawBranches(*args
, **kwargs
):
1293 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1294 return _ogl
.PyRectangleShape_base_OnDrawBranches(*args
, **kwargs
)
1296 def base_OnMoveLinks(*args
, **kwargs
):
1297 """base_OnMoveLinks(self, DC dc)"""
1298 return _ogl
.PyRectangleShape_base_OnMoveLinks(*args
, **kwargs
)
1300 def base_OnErase(*args
, **kwargs
):
1301 """base_OnErase(self, DC dc)"""
1302 return _ogl
.PyRectangleShape_base_OnErase(*args
, **kwargs
)
1304 def base_OnEraseContents(*args
, **kwargs
):
1305 """base_OnEraseContents(self, DC dc)"""
1306 return _ogl
.PyRectangleShape_base_OnEraseContents(*args
, **kwargs
)
1308 def base_OnHighlight(*args
, **kwargs
):
1309 """base_OnHighlight(self, DC dc)"""
1310 return _ogl
.PyRectangleShape_base_OnHighlight(*args
, **kwargs
)
1312 def base_OnLeftClick(*args
, **kwargs
):
1313 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1314 return _ogl
.PyRectangleShape_base_OnLeftClick(*args
, **kwargs
)
1316 def base_OnLeftDoubleClick(*args
, **kwargs
):
1317 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1318 return _ogl
.PyRectangleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1320 def base_OnRightClick(*args
, **kwargs
):
1321 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1322 return _ogl
.PyRectangleShape_base_OnRightClick(*args
, **kwargs
)
1324 def base_OnSize(*args
, **kwargs
):
1325 """base_OnSize(self, double x, double y)"""
1326 return _ogl
.PyRectangleShape_base_OnSize(*args
, **kwargs
)
1328 def base_OnMovePre(*args
, **kwargs
):
1330 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1331 bool display=True) -> bool
1333 return _ogl
.PyRectangleShape_base_OnMovePre(*args
, **kwargs
)
1335 def base_OnMovePost(*args
, **kwargs
):
1337 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1340 return _ogl
.PyRectangleShape_base_OnMovePost(*args
, **kwargs
)
1342 def base_OnDragLeft(*args
, **kwargs
):
1343 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1344 return _ogl
.PyRectangleShape_base_OnDragLeft(*args
, **kwargs
)
1346 def base_OnBeginDragLeft(*args
, **kwargs
):
1347 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1348 return _ogl
.PyRectangleShape_base_OnBeginDragLeft(*args
, **kwargs
)
1350 def base_OnEndDragLeft(*args
, **kwargs
):
1351 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1352 return _ogl
.PyRectangleShape_base_OnEndDragLeft(*args
, **kwargs
)
1354 def base_OnDragRight(*args
, **kwargs
):
1355 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1356 return _ogl
.PyRectangleShape_base_OnDragRight(*args
, **kwargs
)
1358 def base_OnBeginDragRight(*args
, **kwargs
):
1359 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1360 return _ogl
.PyRectangleShape_base_OnBeginDragRight(*args
, **kwargs
)
1362 def base_OnEndDragRight(*args
, **kwargs
):
1363 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1364 return _ogl
.PyRectangleShape_base_OnEndDragRight(*args
, **kwargs
)
1366 def base_OnDrawOutline(*args
, **kwargs
):
1367 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1368 return _ogl
.PyRectangleShape_base_OnDrawOutline(*args
, **kwargs
)
1370 def base_OnDrawControlPoints(*args
, **kwargs
):
1371 """base_OnDrawControlPoints(self, DC dc)"""
1372 return _ogl
.PyRectangleShape_base_OnDrawControlPoints(*args
, **kwargs
)
1374 def base_OnEraseControlPoints(*args
, **kwargs
):
1375 """base_OnEraseControlPoints(self, DC dc)"""
1376 return _ogl
.PyRectangleShape_base_OnEraseControlPoints(*args
, **kwargs
)
1378 def base_OnMoveLink(*args
, **kwargs
):
1379 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1380 return _ogl
.PyRectangleShape_base_OnMoveLink(*args
, **kwargs
)
1382 def base_OnSizingDragLeft(*args
, **kwargs
):
1384 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1387 return _ogl
.PyRectangleShape_base_OnSizingDragLeft(*args
, **kwargs
)
1389 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1391 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1394 return _ogl
.PyRectangleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1396 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1398 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1401 return _ogl
.PyRectangleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1403 def base_OnBeginSize(*args
, **kwargs
):
1404 """base_OnBeginSize(self, double w, double h)"""
1405 return _ogl
.PyRectangleShape_base_OnBeginSize(*args
, **kwargs
)
1407 def base_OnEndSize(*args
, **kwargs
):
1408 """base_OnEndSize(self, double w, double h)"""
1409 return _ogl
.PyRectangleShape_base_OnEndSize(*args
, **kwargs
)
1412 class PyRectangleShapePtr(PyRectangleShape
):
1413 def __init__(self
, this
):
1415 if not hasattr(self
,"thisown"): self
.thisown
= 0
1416 self
.__class
__ = PyRectangleShape
1417 _ogl
.PyRectangleShape_swigregister(PyRectangleShapePtr
)
1419 class PyControlPoint(PyRectangleShape
):
1421 return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1422 def __init__(self
, *args
, **kwargs
):
1424 __init__(self, PyShapeCanvas the_canvas=None, PyShape object=None,
1425 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
1426 int the_type=0) -> PyControlPoint
1428 newobj
= _ogl
.new_PyControlPoint(*args
, **kwargs
)
1429 self
.this
= newobj
.this
1432 self
._setOORandCallbackInfo
(PyControlPoint
)
1434 def _setCallbackInfo(*args
, **kwargs
):
1435 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1436 return _ogl
.PyControlPoint__setCallbackInfo(*args
, **kwargs
)
1438 def SetCornerRadius(*args
, **kwargs
):
1439 """SetCornerRadius(self, double radius)"""
1440 return _ogl
.PyControlPoint_SetCornerRadius(*args
, **kwargs
)
1442 def base_OnDelete(*args
, **kwargs
):
1443 """base_OnDelete(self)"""
1444 return _ogl
.PyControlPoint_base_OnDelete(*args
, **kwargs
)
1446 def base_OnDraw(*args
, **kwargs
):
1447 """base_OnDraw(self, DC dc)"""
1448 return _ogl
.PyControlPoint_base_OnDraw(*args
, **kwargs
)
1450 def base_OnDrawContents(*args
, **kwargs
):
1451 """base_OnDrawContents(self, DC dc)"""
1452 return _ogl
.PyControlPoint_base_OnDrawContents(*args
, **kwargs
)
1454 def base_OnDrawBranches(*args
, **kwargs
):
1455 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1456 return _ogl
.PyControlPoint_base_OnDrawBranches(*args
, **kwargs
)
1458 def base_OnMoveLinks(*args
, **kwargs
):
1459 """base_OnMoveLinks(self, DC dc)"""
1460 return _ogl
.PyControlPoint_base_OnMoveLinks(*args
, **kwargs
)
1462 def base_OnErase(*args
, **kwargs
):
1463 """base_OnErase(self, DC dc)"""
1464 return _ogl
.PyControlPoint_base_OnErase(*args
, **kwargs
)
1466 def base_OnEraseContents(*args
, **kwargs
):
1467 """base_OnEraseContents(self, DC dc)"""
1468 return _ogl
.PyControlPoint_base_OnEraseContents(*args
, **kwargs
)
1470 def base_OnHighlight(*args
, **kwargs
):
1471 """base_OnHighlight(self, DC dc)"""
1472 return _ogl
.PyControlPoint_base_OnHighlight(*args
, **kwargs
)
1474 def base_OnLeftClick(*args
, **kwargs
):
1475 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1476 return _ogl
.PyControlPoint_base_OnLeftClick(*args
, **kwargs
)
1478 def base_OnLeftDoubleClick(*args
, **kwargs
):
1479 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1480 return _ogl
.PyControlPoint_base_OnLeftDoubleClick(*args
, **kwargs
)
1482 def base_OnRightClick(*args
, **kwargs
):
1483 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1484 return _ogl
.PyControlPoint_base_OnRightClick(*args
, **kwargs
)
1486 def base_OnSize(*args
, **kwargs
):
1487 """base_OnSize(self, double x, double y)"""
1488 return _ogl
.PyControlPoint_base_OnSize(*args
, **kwargs
)
1490 def base_OnMovePre(*args
, **kwargs
):
1492 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1493 bool display=True) -> bool
1495 return _ogl
.PyControlPoint_base_OnMovePre(*args
, **kwargs
)
1497 def base_OnMovePost(*args
, **kwargs
):
1499 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1502 return _ogl
.PyControlPoint_base_OnMovePost(*args
, **kwargs
)
1504 def base_OnDragLeft(*args
, **kwargs
):
1505 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1506 return _ogl
.PyControlPoint_base_OnDragLeft(*args
, **kwargs
)
1508 def base_OnBeginDragLeft(*args
, **kwargs
):
1509 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1510 return _ogl
.PyControlPoint_base_OnBeginDragLeft(*args
, **kwargs
)
1512 def base_OnEndDragLeft(*args
, **kwargs
):
1513 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1514 return _ogl
.PyControlPoint_base_OnEndDragLeft(*args
, **kwargs
)
1516 def base_OnDragRight(*args
, **kwargs
):
1517 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1518 return _ogl
.PyControlPoint_base_OnDragRight(*args
, **kwargs
)
1520 def base_OnBeginDragRight(*args
, **kwargs
):
1521 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1522 return _ogl
.PyControlPoint_base_OnBeginDragRight(*args
, **kwargs
)
1524 def base_OnEndDragRight(*args
, **kwargs
):
1525 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1526 return _ogl
.PyControlPoint_base_OnEndDragRight(*args
, **kwargs
)
1528 def base_OnDrawOutline(*args
, **kwargs
):
1529 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1530 return _ogl
.PyControlPoint_base_OnDrawOutline(*args
, **kwargs
)
1532 def base_OnDrawControlPoints(*args
, **kwargs
):
1533 """base_OnDrawControlPoints(self, DC dc)"""
1534 return _ogl
.PyControlPoint_base_OnDrawControlPoints(*args
, **kwargs
)
1536 def base_OnEraseControlPoints(*args
, **kwargs
):
1537 """base_OnEraseControlPoints(self, DC dc)"""
1538 return _ogl
.PyControlPoint_base_OnEraseControlPoints(*args
, **kwargs
)
1540 def base_OnMoveLink(*args
, **kwargs
):
1541 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1542 return _ogl
.PyControlPoint_base_OnMoveLink(*args
, **kwargs
)
1544 def base_OnSizingDragLeft(*args
, **kwargs
):
1546 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1549 return _ogl
.PyControlPoint_base_OnSizingDragLeft(*args
, **kwargs
)
1551 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1553 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1556 return _ogl
.PyControlPoint_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1558 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1560 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1563 return _ogl
.PyControlPoint_base_OnSizingEndDragLeft(*args
, **kwargs
)
1565 def base_OnBeginSize(*args
, **kwargs
):
1566 """base_OnBeginSize(self, double w, double h)"""
1567 return _ogl
.PyControlPoint_base_OnBeginSize(*args
, **kwargs
)
1569 def base_OnEndSize(*args
, **kwargs
):
1570 """base_OnEndSize(self, double w, double h)"""
1571 return _ogl
.PyControlPoint_base_OnEndSize(*args
, **kwargs
)
1574 class PyControlPointPtr(PyControlPoint
):
1575 def __init__(self
, this
):
1577 if not hasattr(self
,"thisown"): self
.thisown
= 0
1578 self
.__class
__ = PyControlPoint
1579 _ogl
.PyControlPoint_swigregister(PyControlPointPtr
)
1581 class PyBitmapShape(PyRectangleShape
):
1583 return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1584 def __init__(self
, *args
, **kwargs
):
1585 """__init__(self) -> PyBitmapShape"""
1586 newobj
= _ogl
.new_PyBitmapShape(*args
, **kwargs
)
1587 self
.this
= newobj
.this
1590 self
._setOORandCallbackInfo
(PyBitmapShape
)
1592 def _setCallbackInfo(*args
, **kwargs
):
1593 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1594 return _ogl
.PyBitmapShape__setCallbackInfo(*args
, **kwargs
)
1596 def GetBitmap(*args
, **kwargs
):
1597 """GetBitmap(self) -> Bitmap"""
1598 return _ogl
.PyBitmapShape_GetBitmap(*args
, **kwargs
)
1600 def GetFilename(*args
, **kwargs
):
1601 """GetFilename(self) -> String"""
1602 return _ogl
.PyBitmapShape_GetFilename(*args
, **kwargs
)
1604 def SetBitmap(*args
, **kwargs
):
1605 """SetBitmap(self, Bitmap bitmap)"""
1606 return _ogl
.PyBitmapShape_SetBitmap(*args
, **kwargs
)
1608 def SetFilename(*args
, **kwargs
):
1609 """SetFilename(self, String filename)"""
1610 return _ogl
.PyBitmapShape_SetFilename(*args
, **kwargs
)
1612 def base_OnDelete(*args
, **kwargs
):
1613 """base_OnDelete(self)"""
1614 return _ogl
.PyBitmapShape_base_OnDelete(*args
, **kwargs
)
1616 def base_OnDraw(*args
, **kwargs
):
1617 """base_OnDraw(self, DC dc)"""
1618 return _ogl
.PyBitmapShape_base_OnDraw(*args
, **kwargs
)
1620 def base_OnDrawContents(*args
, **kwargs
):
1621 """base_OnDrawContents(self, DC dc)"""
1622 return _ogl
.PyBitmapShape_base_OnDrawContents(*args
, **kwargs
)
1624 def base_OnDrawBranches(*args
, **kwargs
):
1625 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1626 return _ogl
.PyBitmapShape_base_OnDrawBranches(*args
, **kwargs
)
1628 def base_OnMoveLinks(*args
, **kwargs
):
1629 """base_OnMoveLinks(self, DC dc)"""
1630 return _ogl
.PyBitmapShape_base_OnMoveLinks(*args
, **kwargs
)
1632 def base_OnErase(*args
, **kwargs
):
1633 """base_OnErase(self, DC dc)"""
1634 return _ogl
.PyBitmapShape_base_OnErase(*args
, **kwargs
)
1636 def base_OnEraseContents(*args
, **kwargs
):
1637 """base_OnEraseContents(self, DC dc)"""
1638 return _ogl
.PyBitmapShape_base_OnEraseContents(*args
, **kwargs
)
1640 def base_OnHighlight(*args
, **kwargs
):
1641 """base_OnHighlight(self, DC dc)"""
1642 return _ogl
.PyBitmapShape_base_OnHighlight(*args
, **kwargs
)
1644 def base_OnLeftClick(*args
, **kwargs
):
1645 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1646 return _ogl
.PyBitmapShape_base_OnLeftClick(*args
, **kwargs
)
1648 def base_OnLeftDoubleClick(*args
, **kwargs
):
1649 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1650 return _ogl
.PyBitmapShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1652 def base_OnRightClick(*args
, **kwargs
):
1653 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1654 return _ogl
.PyBitmapShape_base_OnRightClick(*args
, **kwargs
)
1656 def base_OnSize(*args
, **kwargs
):
1657 """base_OnSize(self, double x, double y)"""
1658 return _ogl
.PyBitmapShape_base_OnSize(*args
, **kwargs
)
1660 def base_OnMovePre(*args
, **kwargs
):
1662 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1663 bool display=True) -> bool
1665 return _ogl
.PyBitmapShape_base_OnMovePre(*args
, **kwargs
)
1667 def base_OnMovePost(*args
, **kwargs
):
1669 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1672 return _ogl
.PyBitmapShape_base_OnMovePost(*args
, **kwargs
)
1674 def base_OnDragLeft(*args
, **kwargs
):
1675 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1676 return _ogl
.PyBitmapShape_base_OnDragLeft(*args
, **kwargs
)
1678 def base_OnBeginDragLeft(*args
, **kwargs
):
1679 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1680 return _ogl
.PyBitmapShape_base_OnBeginDragLeft(*args
, **kwargs
)
1682 def base_OnEndDragLeft(*args
, **kwargs
):
1683 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1684 return _ogl
.PyBitmapShape_base_OnEndDragLeft(*args
, **kwargs
)
1686 def base_OnDragRight(*args
, **kwargs
):
1687 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1688 return _ogl
.PyBitmapShape_base_OnDragRight(*args
, **kwargs
)
1690 def base_OnBeginDragRight(*args
, **kwargs
):
1691 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1692 return _ogl
.PyBitmapShape_base_OnBeginDragRight(*args
, **kwargs
)
1694 def base_OnEndDragRight(*args
, **kwargs
):
1695 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1696 return _ogl
.PyBitmapShape_base_OnEndDragRight(*args
, **kwargs
)
1698 def base_OnDrawOutline(*args
, **kwargs
):
1699 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1700 return _ogl
.PyBitmapShape_base_OnDrawOutline(*args
, **kwargs
)
1702 def base_OnDrawControlPoints(*args
, **kwargs
):
1703 """base_OnDrawControlPoints(self, DC dc)"""
1704 return _ogl
.PyBitmapShape_base_OnDrawControlPoints(*args
, **kwargs
)
1706 def base_OnEraseControlPoints(*args
, **kwargs
):
1707 """base_OnEraseControlPoints(self, DC dc)"""
1708 return _ogl
.PyBitmapShape_base_OnEraseControlPoints(*args
, **kwargs
)
1710 def base_OnMoveLink(*args
, **kwargs
):
1711 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1712 return _ogl
.PyBitmapShape_base_OnMoveLink(*args
, **kwargs
)
1714 def base_OnSizingDragLeft(*args
, **kwargs
):
1716 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1719 return _ogl
.PyBitmapShape_base_OnSizingDragLeft(*args
, **kwargs
)
1721 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1723 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1726 return _ogl
.PyBitmapShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1728 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1730 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1733 return _ogl
.PyBitmapShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1735 def base_OnBeginSize(*args
, **kwargs
):
1736 """base_OnBeginSize(self, double w, double h)"""
1737 return _ogl
.PyBitmapShape_base_OnBeginSize(*args
, **kwargs
)
1739 def base_OnEndSize(*args
, **kwargs
):
1740 """base_OnEndSize(self, double w, double h)"""
1741 return _ogl
.PyBitmapShape_base_OnEndSize(*args
, **kwargs
)
1744 class PyBitmapShapePtr(PyBitmapShape
):
1745 def __init__(self
, this
):
1747 if not hasattr(self
,"thisown"): self
.thisown
= 0
1748 self
.__class
__ = PyBitmapShape
1749 _ogl
.PyBitmapShape_swigregister(PyBitmapShapePtr
)
1751 class PyDrawnShape(PyRectangleShape
):
1753 return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1754 def __init__(self
, *args
, **kwargs
):
1755 """__init__(self) -> PyDrawnShape"""
1756 newobj
= _ogl
.new_PyDrawnShape(*args
, **kwargs
)
1757 self
.this
= newobj
.this
1760 self
._setOORandCallbackInfo
(PyDrawnShape
)
1762 def _setCallbackInfo(*args
, **kwargs
):
1763 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1764 return _ogl
.PyDrawnShape__setCallbackInfo(*args
, **kwargs
)
1766 def CalculateSize(*args
, **kwargs
):
1767 """CalculateSize(self)"""
1768 return _ogl
.PyDrawnShape_CalculateSize(*args
, **kwargs
)
1770 def DestroyClippingRect(*args
, **kwargs
):
1771 """DestroyClippingRect(self)"""
1772 return _ogl
.PyDrawnShape_DestroyClippingRect(*args
, **kwargs
)
1774 def DrawArc(*args
, **kwargs
):
1775 """DrawArc(self, Point centrePoint, Point startPoint, Point endPoint)"""
1776 return _ogl
.PyDrawnShape_DrawArc(*args
, **kwargs
)
1778 def DrawAtAngle(*args
, **kwargs
):
1779 """DrawAtAngle(self, int angle)"""
1780 return _ogl
.PyDrawnShape_DrawAtAngle(*args
, **kwargs
)
1782 def DrawEllipticArc(*args
, **kwargs
):
1783 """DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)"""
1784 return _ogl
.PyDrawnShape_DrawEllipticArc(*args
, **kwargs
)
1786 def DrawLine(*args
, **kwargs
):
1787 """DrawLine(self, Point point1, Point point2)"""
1788 return _ogl
.PyDrawnShape_DrawLine(*args
, **kwargs
)
1790 def DrawLines(*args
, **kwargs
):
1791 """DrawLines(self, int points, Point points_array)"""
1792 return _ogl
.PyDrawnShape_DrawLines(*args
, **kwargs
)
1794 def DrawPoint(*args
, **kwargs
):
1795 """DrawPoint(self, Point point)"""
1796 return _ogl
.PyDrawnShape_DrawPoint(*args
, **kwargs
)
1798 def DrawPolygon(*args
, **kwargs
):
1799 """DrawPolygon(self, int points, Point points_array, int flags=0)"""
1800 return _ogl
.PyDrawnShape_DrawPolygon(*args
, **kwargs
)
1802 def DrawRectangle(*args
, **kwargs
):
1803 """DrawRectangle(self, Rect rect)"""
1804 return _ogl
.PyDrawnShape_DrawRectangle(*args
, **kwargs
)
1806 def DrawRoundedRectangle(*args
, **kwargs
):
1807 """DrawRoundedRectangle(self, Rect rect, double radius)"""
1808 return _ogl
.PyDrawnShape_DrawRoundedRectangle(*args
, **kwargs
)
1810 def DrawSpline(*args
, **kwargs
):
1811 """DrawSpline(self, int points, Point points_array)"""
1812 return _ogl
.PyDrawnShape_DrawSpline(*args
, **kwargs
)
1814 def DrawText(*args
, **kwargs
):
1815 """DrawText(self, String text, Point point)"""
1816 return _ogl
.PyDrawnShape_DrawText(*args
, **kwargs
)
1818 def GetAngle(*args
, **kwargs
):
1819 """GetAngle(self) -> int"""
1820 return _ogl
.PyDrawnShape_GetAngle(*args
, **kwargs
)
1822 def GetMetaFile(*args
, **kwargs
):
1823 """GetMetaFile(self) -> PseudoMetaFile"""
1824 return _ogl
.PyDrawnShape_GetMetaFile(*args
, **kwargs
)
1826 def GetRotation(*args
, **kwargs
):
1827 """GetRotation(self) -> double"""
1828 return _ogl
.PyDrawnShape_GetRotation(*args
, **kwargs
)
1830 def LoadFromMetaFile(*args
, **kwargs
):
1831 """LoadFromMetaFile(self, String filename) -> bool"""
1832 return _ogl
.PyDrawnShape_LoadFromMetaFile(*args
, **kwargs
)
1834 def Rotate(*args
, **kwargs
):
1835 """Rotate(self, double x, double y, double theta)"""
1836 return _ogl
.PyDrawnShape_Rotate(*args
, **kwargs
)
1838 def SetClippingRect(*args
, **kwargs
):
1839 """SetClippingRect(self, Rect rect)"""
1840 return _ogl
.PyDrawnShape_SetClippingRect(*args
, **kwargs
)
1842 def SetDrawnBackgroundColour(*args
, **kwargs
):
1843 """SetDrawnBackgroundColour(self, Colour colour)"""
1844 return _ogl
.PyDrawnShape_SetDrawnBackgroundColour(*args
, **kwargs
)
1846 def SetDrawnBackgroundMode(*args
, **kwargs
):
1847 """SetDrawnBackgroundMode(self, int mode)"""
1848 return _ogl
.PyDrawnShape_SetDrawnBackgroundMode(*args
, **kwargs
)
1850 def SetDrawnBrush(*args
, **kwargs
):
1851 """SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
1852 return _ogl
.PyDrawnShape_SetDrawnBrush(*args
, **kwargs
)
1854 def SetDrawnFont(*args
, **kwargs
):
1855 """SetDrawnFont(self, Font font)"""
1856 return _ogl
.PyDrawnShape_SetDrawnFont(*args
, **kwargs
)
1858 def SetDrawnPen(*args
, **kwargs
):
1859 """SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
1860 return _ogl
.PyDrawnShape_SetDrawnPen(*args
, **kwargs
)
1862 def SetDrawnTextColour(*args
, **kwargs
):
1863 """SetDrawnTextColour(self, Colour colour)"""
1864 return _ogl
.PyDrawnShape_SetDrawnTextColour(*args
, **kwargs
)
1866 def Scale(*args
, **kwargs
):
1867 """Scale(self, double sx, double sy)"""
1868 return _ogl
.PyDrawnShape_Scale(*args
, **kwargs
)
1870 def SetSaveToFile(*args
, **kwargs
):
1871 """SetSaveToFile(self, bool save)"""
1872 return _ogl
.PyDrawnShape_SetSaveToFile(*args
, **kwargs
)
1874 def Translate(*args
, **kwargs
):
1875 """Translate(self, double x, double y)"""
1876 return _ogl
.PyDrawnShape_Translate(*args
, **kwargs
)
1878 def base_OnDelete(*args
, **kwargs
):
1879 """base_OnDelete(self)"""
1880 return _ogl
.PyDrawnShape_base_OnDelete(*args
, **kwargs
)
1882 def base_OnDraw(*args
, **kwargs
):
1883 """base_OnDraw(self, DC dc)"""
1884 return _ogl
.PyDrawnShape_base_OnDraw(*args
, **kwargs
)
1886 def base_OnDrawContents(*args
, **kwargs
):
1887 """base_OnDrawContents(self, DC dc)"""
1888 return _ogl
.PyDrawnShape_base_OnDrawContents(*args
, **kwargs
)
1890 def base_OnDrawBranches(*args
, **kwargs
):
1891 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1892 return _ogl
.PyDrawnShape_base_OnDrawBranches(*args
, **kwargs
)
1894 def base_OnMoveLinks(*args
, **kwargs
):
1895 """base_OnMoveLinks(self, DC dc)"""
1896 return _ogl
.PyDrawnShape_base_OnMoveLinks(*args
, **kwargs
)
1898 def base_OnErase(*args
, **kwargs
):
1899 """base_OnErase(self, DC dc)"""
1900 return _ogl
.PyDrawnShape_base_OnErase(*args
, **kwargs
)
1902 def base_OnEraseContents(*args
, **kwargs
):
1903 """base_OnEraseContents(self, DC dc)"""
1904 return _ogl
.PyDrawnShape_base_OnEraseContents(*args
, **kwargs
)
1906 def base_OnHighlight(*args
, **kwargs
):
1907 """base_OnHighlight(self, DC dc)"""
1908 return _ogl
.PyDrawnShape_base_OnHighlight(*args
, **kwargs
)
1910 def base_OnLeftClick(*args
, **kwargs
):
1911 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1912 return _ogl
.PyDrawnShape_base_OnLeftClick(*args
, **kwargs
)
1914 def base_OnLeftDoubleClick(*args
, **kwargs
):
1915 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1916 return _ogl
.PyDrawnShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1918 def base_OnRightClick(*args
, **kwargs
):
1919 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1920 return _ogl
.PyDrawnShape_base_OnRightClick(*args
, **kwargs
)
1922 def base_OnSize(*args
, **kwargs
):
1923 """base_OnSize(self, double x, double y)"""
1924 return _ogl
.PyDrawnShape_base_OnSize(*args
, **kwargs
)
1926 def base_OnMovePre(*args
, **kwargs
):
1928 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1929 bool display=True) -> bool
1931 return _ogl
.PyDrawnShape_base_OnMovePre(*args
, **kwargs
)
1933 def base_OnMovePost(*args
, **kwargs
):
1935 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1938 return _ogl
.PyDrawnShape_base_OnMovePost(*args
, **kwargs
)
1940 def base_OnDragLeft(*args
, **kwargs
):
1941 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1942 return _ogl
.PyDrawnShape_base_OnDragLeft(*args
, **kwargs
)
1944 def base_OnBeginDragLeft(*args
, **kwargs
):
1945 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1946 return _ogl
.PyDrawnShape_base_OnBeginDragLeft(*args
, **kwargs
)
1948 def base_OnEndDragLeft(*args
, **kwargs
):
1949 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1950 return _ogl
.PyDrawnShape_base_OnEndDragLeft(*args
, **kwargs
)
1952 def base_OnDragRight(*args
, **kwargs
):
1953 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1954 return _ogl
.PyDrawnShape_base_OnDragRight(*args
, **kwargs
)
1956 def base_OnBeginDragRight(*args
, **kwargs
):
1957 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1958 return _ogl
.PyDrawnShape_base_OnBeginDragRight(*args
, **kwargs
)
1960 def base_OnEndDragRight(*args
, **kwargs
):
1961 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1962 return _ogl
.PyDrawnShape_base_OnEndDragRight(*args
, **kwargs
)
1964 def base_OnDrawOutline(*args
, **kwargs
):
1965 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1966 return _ogl
.PyDrawnShape_base_OnDrawOutline(*args
, **kwargs
)
1968 def base_OnDrawControlPoints(*args
, **kwargs
):
1969 """base_OnDrawControlPoints(self, DC dc)"""
1970 return _ogl
.PyDrawnShape_base_OnDrawControlPoints(*args
, **kwargs
)
1972 def base_OnEraseControlPoints(*args
, **kwargs
):
1973 """base_OnEraseControlPoints(self, DC dc)"""
1974 return _ogl
.PyDrawnShape_base_OnEraseControlPoints(*args
, **kwargs
)
1976 def base_OnMoveLink(*args
, **kwargs
):
1977 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1978 return _ogl
.PyDrawnShape_base_OnMoveLink(*args
, **kwargs
)
1980 def base_OnSizingDragLeft(*args
, **kwargs
):
1982 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1985 return _ogl
.PyDrawnShape_base_OnSizingDragLeft(*args
, **kwargs
)
1987 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1989 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1992 return _ogl
.PyDrawnShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1994 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1996 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1999 return _ogl
.PyDrawnShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2001 def base_OnBeginSize(*args
, **kwargs
):
2002 """base_OnBeginSize(self, double w, double h)"""
2003 return _ogl
.PyDrawnShape_base_OnBeginSize(*args
, **kwargs
)
2005 def base_OnEndSize(*args
, **kwargs
):
2006 """base_OnEndSize(self, double w, double h)"""
2007 return _ogl
.PyDrawnShape_base_OnEndSize(*args
, **kwargs
)
2010 class PyDrawnShapePtr(PyDrawnShape
):
2011 def __init__(self
, this
):
2013 if not hasattr(self
,"thisown"): self
.thisown
= 0
2014 self
.__class
__ = PyDrawnShape
2015 _ogl
.PyDrawnShape_swigregister(PyDrawnShapePtr
)
2017 class OGLConstraint(_core
.Object
):
2019 return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2020 def __init__(self
, *args
, **kwargs
):
2021 """__init__(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2022 newobj
= _ogl
.new_OGLConstraint(*args
, **kwargs
)
2023 self
.this
= newobj
.this
2026 def Evaluate(*args
, **kwargs
):
2027 """Evaluate(self) -> bool"""
2028 return _ogl
.OGLConstraint_Evaluate(*args
, **kwargs
)
2030 def SetSpacing(*args
, **kwargs
):
2031 """SetSpacing(self, double x, double y)"""
2032 return _ogl
.OGLConstraint_SetSpacing(*args
, **kwargs
)
2034 def Equals(*args
, **kwargs
):
2035 """Equals(self, double a, double b) -> bool"""
2036 return _ogl
.OGLConstraint_Equals(*args
, **kwargs
)
2039 class OGLConstraintPtr(OGLConstraint
):
2040 def __init__(self
, this
):
2042 if not hasattr(self
,"thisown"): self
.thisown
= 0
2043 self
.__class
__ = OGLConstraint
2044 _ogl
.OGLConstraint_swigregister(OGLConstraintPtr
)
2046 class PyCompositeShape(PyRectangleShape
):
2048 return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2049 def __init__(self
, *args
, **kwargs
):
2050 """__init__(self) -> PyCompositeShape"""
2051 newobj
= _ogl
.new_PyCompositeShape(*args
, **kwargs
)
2052 self
.this
= newobj
.this
2055 self
._setOORandCallbackInfo
(PyCompositeShape
)
2057 def _setCallbackInfo(*args
, **kwargs
):
2058 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2059 return _ogl
.PyCompositeShape__setCallbackInfo(*args
, **kwargs
)
2061 def AddChild(*args
, **kwargs
):
2062 """AddChild(self, PyShape child, PyShape addAfter=None)"""
2063 return _ogl
.PyCompositeShape_AddChild(*args
, **kwargs
)
2065 def AddConstraint(*args
, **kwargs
):
2066 """AddConstraint(self, OGLConstraint constraint) -> OGLConstraint"""
2067 return _ogl
.PyCompositeShape_AddConstraint(*args
, **kwargs
)
2069 def AddConstrainedShapes(*args
, **kwargs
):
2070 """AddConstrainedShapes(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2071 return _ogl
.PyCompositeShape_AddConstrainedShapes(*args
, **kwargs
)
2073 def AddSimpleConstraint(*args
, **kwargs
):
2074 """AddSimpleConstraint(self, int type, PyShape constraining, PyShape constrained) -> OGLConstraint"""
2075 return _ogl
.PyCompositeShape_AddSimpleConstraint(*args
, **kwargs
)
2077 def CalculateSize(*args
, **kwargs
):
2078 """CalculateSize(self)"""
2079 return _ogl
.PyCompositeShape_CalculateSize(*args
, **kwargs
)
2081 def ContainsDivision(*args
, **kwargs
):
2082 """ContainsDivision(self, PyDivisionShape division) -> bool"""
2083 return _ogl
.PyCompositeShape_ContainsDivision(*args
, **kwargs
)
2085 def DeleteConstraint(*args
, **kwargs
):
2086 """DeleteConstraint(self, OGLConstraint constraint)"""
2087 return _ogl
.PyCompositeShape_DeleteConstraint(*args
, **kwargs
)
2089 def DeleteConstraintsInvolvingChild(*args
, **kwargs
):
2090 """DeleteConstraintsInvolvingChild(self, PyShape child)"""
2091 return _ogl
.PyCompositeShape_DeleteConstraintsInvolvingChild(*args
, **kwargs
)
2093 def FindContainerImage(*args
, **kwargs
):
2094 """FindContainerImage(self) -> PyShape"""
2095 return _ogl
.PyCompositeShape_FindContainerImage(*args
, **kwargs
)
2097 def GetConstraints(*args
, **kwargs
):
2098 """GetConstraints(self) -> PyObject"""
2099 return _ogl
.PyCompositeShape_GetConstraints(*args
, **kwargs
)
2101 def GetDivisions(*args
, **kwargs
):
2102 """GetDivisions(self) -> PyObject"""
2103 return _ogl
.PyCompositeShape_GetDivisions(*args
, **kwargs
)
2105 def MakeContainer(*args
, **kwargs
):
2106 """MakeContainer(self)"""
2107 return _ogl
.PyCompositeShape_MakeContainer(*args
, **kwargs
)
2109 def Recompute(*args
, **kwargs
):
2110 """Recompute(self) -> bool"""
2111 return _ogl
.PyCompositeShape_Recompute(*args
, **kwargs
)
2113 def RemoveChild(*args
, **kwargs
):
2114 """RemoveChild(self, PyShape child)"""
2115 return _ogl
.PyCompositeShape_RemoveChild(*args
, **kwargs
)
2117 def base_OnDelete(*args
, **kwargs
):
2118 """base_OnDelete(self)"""
2119 return _ogl
.PyCompositeShape_base_OnDelete(*args
, **kwargs
)
2121 def base_OnDraw(*args
, **kwargs
):
2122 """base_OnDraw(self, DC dc)"""
2123 return _ogl
.PyCompositeShape_base_OnDraw(*args
, **kwargs
)
2125 def base_OnDrawContents(*args
, **kwargs
):
2126 """base_OnDrawContents(self, DC dc)"""
2127 return _ogl
.PyCompositeShape_base_OnDrawContents(*args
, **kwargs
)
2129 def base_OnDrawBranches(*args
, **kwargs
):
2130 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2131 return _ogl
.PyCompositeShape_base_OnDrawBranches(*args
, **kwargs
)
2133 def base_OnMoveLinks(*args
, **kwargs
):
2134 """base_OnMoveLinks(self, DC dc)"""
2135 return _ogl
.PyCompositeShape_base_OnMoveLinks(*args
, **kwargs
)
2137 def base_OnErase(*args
, **kwargs
):
2138 """base_OnErase(self, DC dc)"""
2139 return _ogl
.PyCompositeShape_base_OnErase(*args
, **kwargs
)
2141 def base_OnEraseContents(*args
, **kwargs
):
2142 """base_OnEraseContents(self, DC dc)"""
2143 return _ogl
.PyCompositeShape_base_OnEraseContents(*args
, **kwargs
)
2145 def base_OnHighlight(*args
, **kwargs
):
2146 """base_OnHighlight(self, DC dc)"""
2147 return _ogl
.PyCompositeShape_base_OnHighlight(*args
, **kwargs
)
2149 def base_OnLeftClick(*args
, **kwargs
):
2150 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2151 return _ogl
.PyCompositeShape_base_OnLeftClick(*args
, **kwargs
)
2153 def base_OnLeftDoubleClick(*args
, **kwargs
):
2154 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2155 return _ogl
.PyCompositeShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2157 def base_OnRightClick(*args
, **kwargs
):
2158 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2159 return _ogl
.PyCompositeShape_base_OnRightClick(*args
, **kwargs
)
2161 def base_OnSize(*args
, **kwargs
):
2162 """base_OnSize(self, double x, double y)"""
2163 return _ogl
.PyCompositeShape_base_OnSize(*args
, **kwargs
)
2165 def base_OnMovePre(*args
, **kwargs
):
2167 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2168 bool display=True) -> bool
2170 return _ogl
.PyCompositeShape_base_OnMovePre(*args
, **kwargs
)
2172 def base_OnMovePost(*args
, **kwargs
):
2174 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2177 return _ogl
.PyCompositeShape_base_OnMovePost(*args
, **kwargs
)
2179 def base_OnDragLeft(*args
, **kwargs
):
2180 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2181 return _ogl
.PyCompositeShape_base_OnDragLeft(*args
, **kwargs
)
2183 def base_OnBeginDragLeft(*args
, **kwargs
):
2184 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2185 return _ogl
.PyCompositeShape_base_OnBeginDragLeft(*args
, **kwargs
)
2187 def base_OnEndDragLeft(*args
, **kwargs
):
2188 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2189 return _ogl
.PyCompositeShape_base_OnEndDragLeft(*args
, **kwargs
)
2191 def base_OnDragRight(*args
, **kwargs
):
2192 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2193 return _ogl
.PyCompositeShape_base_OnDragRight(*args
, **kwargs
)
2195 def base_OnBeginDragRight(*args
, **kwargs
):
2196 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2197 return _ogl
.PyCompositeShape_base_OnBeginDragRight(*args
, **kwargs
)
2199 def base_OnEndDragRight(*args
, **kwargs
):
2200 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2201 return _ogl
.PyCompositeShape_base_OnEndDragRight(*args
, **kwargs
)
2203 def base_OnDrawOutline(*args
, **kwargs
):
2204 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2205 return _ogl
.PyCompositeShape_base_OnDrawOutline(*args
, **kwargs
)
2207 def base_OnDrawControlPoints(*args
, **kwargs
):
2208 """base_OnDrawControlPoints(self, DC dc)"""
2209 return _ogl
.PyCompositeShape_base_OnDrawControlPoints(*args
, **kwargs
)
2211 def base_OnEraseControlPoints(*args
, **kwargs
):
2212 """base_OnEraseControlPoints(self, DC dc)"""
2213 return _ogl
.PyCompositeShape_base_OnEraseControlPoints(*args
, **kwargs
)
2215 def base_OnMoveLink(*args
, **kwargs
):
2216 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2217 return _ogl
.PyCompositeShape_base_OnMoveLink(*args
, **kwargs
)
2219 def base_OnSizingDragLeft(*args
, **kwargs
):
2221 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2224 return _ogl
.PyCompositeShape_base_OnSizingDragLeft(*args
, **kwargs
)
2226 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2228 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2231 return _ogl
.PyCompositeShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2233 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2235 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2238 return _ogl
.PyCompositeShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2240 def base_OnBeginSize(*args
, **kwargs
):
2241 """base_OnBeginSize(self, double w, double h)"""
2242 return _ogl
.PyCompositeShape_base_OnBeginSize(*args
, **kwargs
)
2244 def base_OnEndSize(*args
, **kwargs
):
2245 """base_OnEndSize(self, double w, double h)"""
2246 return _ogl
.PyCompositeShape_base_OnEndSize(*args
, **kwargs
)
2249 class PyCompositeShapePtr(PyCompositeShape
):
2250 def __init__(self
, this
):
2252 if not hasattr(self
,"thisown"): self
.thisown
= 0
2253 self
.__class
__ = PyCompositeShape
2254 _ogl
.PyCompositeShape_swigregister(PyCompositeShapePtr
)
2256 class PyDividedShape(PyRectangleShape
):
2258 return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2259 def __init__(self
, *args
, **kwargs
):
2260 """__init__(self, double width=0.0, double height=0.0) -> PyDividedShape"""
2261 newobj
= _ogl
.new_PyDividedShape(*args
, **kwargs
)
2262 self
.this
= newobj
.this
2265 self
._setOORandCallbackInfo
(PyDividedShape
)
2267 def _setCallbackInfo(*args
, **kwargs
):
2268 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2269 return _ogl
.PyDividedShape__setCallbackInfo(*args
, **kwargs
)
2271 def EditRegions(*args
, **kwargs
):
2272 """EditRegions(self)"""
2273 return _ogl
.PyDividedShape_EditRegions(*args
, **kwargs
)
2275 def SetRegionSizes(*args
, **kwargs
):
2276 """SetRegionSizes(self)"""
2277 return _ogl
.PyDividedShape_SetRegionSizes(*args
, **kwargs
)
2279 def base_OnDelete(*args
, **kwargs
):
2280 """base_OnDelete(self)"""
2281 return _ogl
.PyDividedShape_base_OnDelete(*args
, **kwargs
)
2283 def base_OnDraw(*args
, **kwargs
):
2284 """base_OnDraw(self, DC dc)"""
2285 return _ogl
.PyDividedShape_base_OnDraw(*args
, **kwargs
)
2287 def base_OnDrawContents(*args
, **kwargs
):
2288 """base_OnDrawContents(self, DC dc)"""
2289 return _ogl
.PyDividedShape_base_OnDrawContents(*args
, **kwargs
)
2291 def base_OnDrawBranches(*args
, **kwargs
):
2292 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2293 return _ogl
.PyDividedShape_base_OnDrawBranches(*args
, **kwargs
)
2295 def base_OnMoveLinks(*args
, **kwargs
):
2296 """base_OnMoveLinks(self, DC dc)"""
2297 return _ogl
.PyDividedShape_base_OnMoveLinks(*args
, **kwargs
)
2299 def base_OnErase(*args
, **kwargs
):
2300 """base_OnErase(self, DC dc)"""
2301 return _ogl
.PyDividedShape_base_OnErase(*args
, **kwargs
)
2303 def base_OnEraseContents(*args
, **kwargs
):
2304 """base_OnEraseContents(self, DC dc)"""
2305 return _ogl
.PyDividedShape_base_OnEraseContents(*args
, **kwargs
)
2307 def base_OnHighlight(*args
, **kwargs
):
2308 """base_OnHighlight(self, DC dc)"""
2309 return _ogl
.PyDividedShape_base_OnHighlight(*args
, **kwargs
)
2311 def base_OnLeftClick(*args
, **kwargs
):
2312 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2313 return _ogl
.PyDividedShape_base_OnLeftClick(*args
, **kwargs
)
2315 def base_OnLeftDoubleClick(*args
, **kwargs
):
2316 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2317 return _ogl
.PyDividedShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2319 def base_OnRightClick(*args
, **kwargs
):
2320 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2321 return _ogl
.PyDividedShape_base_OnRightClick(*args
, **kwargs
)
2323 def base_OnSize(*args
, **kwargs
):
2324 """base_OnSize(self, double x, double y)"""
2325 return _ogl
.PyDividedShape_base_OnSize(*args
, **kwargs
)
2327 def base_OnMovePre(*args
, **kwargs
):
2329 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2330 bool display=True) -> bool
2332 return _ogl
.PyDividedShape_base_OnMovePre(*args
, **kwargs
)
2334 def base_OnMovePost(*args
, **kwargs
):
2336 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2339 return _ogl
.PyDividedShape_base_OnMovePost(*args
, **kwargs
)
2341 def base_OnDragLeft(*args
, **kwargs
):
2342 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2343 return _ogl
.PyDividedShape_base_OnDragLeft(*args
, **kwargs
)
2345 def base_OnBeginDragLeft(*args
, **kwargs
):
2346 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2347 return _ogl
.PyDividedShape_base_OnBeginDragLeft(*args
, **kwargs
)
2349 def base_OnEndDragLeft(*args
, **kwargs
):
2350 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2351 return _ogl
.PyDividedShape_base_OnEndDragLeft(*args
, **kwargs
)
2353 def base_OnDragRight(*args
, **kwargs
):
2354 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2355 return _ogl
.PyDividedShape_base_OnDragRight(*args
, **kwargs
)
2357 def base_OnBeginDragRight(*args
, **kwargs
):
2358 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2359 return _ogl
.PyDividedShape_base_OnBeginDragRight(*args
, **kwargs
)
2361 def base_OnEndDragRight(*args
, **kwargs
):
2362 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2363 return _ogl
.PyDividedShape_base_OnEndDragRight(*args
, **kwargs
)
2365 def base_OnDrawOutline(*args
, **kwargs
):
2366 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2367 return _ogl
.PyDividedShape_base_OnDrawOutline(*args
, **kwargs
)
2369 def base_OnDrawControlPoints(*args
, **kwargs
):
2370 """base_OnDrawControlPoints(self, DC dc)"""
2371 return _ogl
.PyDividedShape_base_OnDrawControlPoints(*args
, **kwargs
)
2373 def base_OnEraseControlPoints(*args
, **kwargs
):
2374 """base_OnEraseControlPoints(self, DC dc)"""
2375 return _ogl
.PyDividedShape_base_OnEraseControlPoints(*args
, **kwargs
)
2377 def base_OnMoveLink(*args
, **kwargs
):
2378 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2379 return _ogl
.PyDividedShape_base_OnMoveLink(*args
, **kwargs
)
2381 def base_OnSizingDragLeft(*args
, **kwargs
):
2383 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2386 return _ogl
.PyDividedShape_base_OnSizingDragLeft(*args
, **kwargs
)
2388 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2390 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2393 return _ogl
.PyDividedShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2395 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2397 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2400 return _ogl
.PyDividedShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2402 def base_OnBeginSize(*args
, **kwargs
):
2403 """base_OnBeginSize(self, double w, double h)"""
2404 return _ogl
.PyDividedShape_base_OnBeginSize(*args
, **kwargs
)
2406 def base_OnEndSize(*args
, **kwargs
):
2407 """base_OnEndSize(self, double w, double h)"""
2408 return _ogl
.PyDividedShape_base_OnEndSize(*args
, **kwargs
)
2411 class PyDividedShapePtr(PyDividedShape
):
2412 def __init__(self
, this
):
2414 if not hasattr(self
,"thisown"): self
.thisown
= 0
2415 self
.__class
__ = PyDividedShape
2416 _ogl
.PyDividedShape_swigregister(PyDividedShapePtr
)
2418 class PyDivisionShape(PyCompositeShape
):
2420 return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2421 def __init__(self
, *args
, **kwargs
):
2422 """__init__(self) -> PyDivisionShape"""
2423 newobj
= _ogl
.new_PyDivisionShape(*args
, **kwargs
)
2424 self
.this
= newobj
.this
2427 self
._setOORandCallbackInfo
(PyDivisionShape
)
2429 def _setCallbackInfo(*args
, **kwargs
):
2430 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2431 return _ogl
.PyDivisionShape__setCallbackInfo(*args
, **kwargs
)
2433 def AdjustBottom(*args
, **kwargs
):
2434 """AdjustBottom(self, double bottom, bool test)"""
2435 return _ogl
.PyDivisionShape_AdjustBottom(*args
, **kwargs
)
2437 def AdjustLeft(*args
, **kwargs
):
2438 """AdjustLeft(self, double left, bool test)"""
2439 return _ogl
.PyDivisionShape_AdjustLeft(*args
, **kwargs
)
2441 def AdjustRight(*args
, **kwargs
):
2442 """AdjustRight(self, double right, bool test)"""
2443 return _ogl
.PyDivisionShape_AdjustRight(*args
, **kwargs
)
2445 def AdjustTop(*args
, **kwargs
):
2446 """AdjustTop(self, double top, bool test)"""
2447 return _ogl
.PyDivisionShape_AdjustTop(*args
, **kwargs
)
2449 def Divide(*args
, **kwargs
):
2450 """Divide(self, int direction)"""
2451 return _ogl
.PyDivisionShape_Divide(*args
, **kwargs
)
2453 def EditEdge(*args
, **kwargs
):
2454 """EditEdge(self, int side)"""
2455 return _ogl
.PyDivisionShape_EditEdge(*args
, **kwargs
)
2457 def GetBottomSide(*args
, **kwargs
):
2458 """GetBottomSide(self) -> PyDivisionShape"""
2459 return _ogl
.PyDivisionShape_GetBottomSide(*args
, **kwargs
)
2461 def GetHandleSide(*args
, **kwargs
):
2462 """GetHandleSide(self) -> int"""
2463 return _ogl
.PyDivisionShape_GetHandleSide(*args
, **kwargs
)
2465 def GetLeftSide(*args
, **kwargs
):
2466 """GetLeftSide(self) -> PyDivisionShape"""
2467 return _ogl
.PyDivisionShape_GetLeftSide(*args
, **kwargs
)
2469 def GetLeftSideColour(*args
, **kwargs
):
2470 """GetLeftSideColour(self) -> String"""
2471 return _ogl
.PyDivisionShape_GetLeftSideColour(*args
, **kwargs
)
2473 def GetLeftSidePen(*args
, **kwargs
):
2474 """GetLeftSidePen(self) -> wxPen"""
2475 return _ogl
.PyDivisionShape_GetLeftSidePen(*args
, **kwargs
)
2477 def GetRightSide(*args
, **kwargs
):
2478 """GetRightSide(self) -> PyDivisionShape"""
2479 return _ogl
.PyDivisionShape_GetRightSide(*args
, **kwargs
)
2481 def GetTopSide(*args
, **kwargs
):
2482 """GetTopSide(self) -> PyDivisionShape"""
2483 return _ogl
.PyDivisionShape_GetTopSide(*args
, **kwargs
)
2485 def GetTopSidePen(*args
, **kwargs
):
2486 """GetTopSidePen(self) -> wxPen"""
2487 return _ogl
.PyDivisionShape_GetTopSidePen(*args
, **kwargs
)
2489 def ResizeAdjoining(*args
, **kwargs
):
2490 """ResizeAdjoining(self, int side, double newPos, bool test)"""
2491 return _ogl
.PyDivisionShape_ResizeAdjoining(*args
, **kwargs
)
2493 def PopupMenu(*args
, **kwargs
):
2494 """PopupMenu(self, double x, double y)"""
2495 return _ogl
.PyDivisionShape_PopupMenu(*args
, **kwargs
)
2497 def SetBottomSide(*args
, **kwargs
):
2498 """SetBottomSide(self, PyDivisionShape shape)"""
2499 return _ogl
.PyDivisionShape_SetBottomSide(*args
, **kwargs
)
2501 def SetHandleSide(*args
, **kwargs
):
2502 """SetHandleSide(self, int side)"""
2503 return _ogl
.PyDivisionShape_SetHandleSide(*args
, **kwargs
)
2505 def SetLeftSide(*args
, **kwargs
):
2506 """SetLeftSide(self, PyDivisionShape shape)"""
2507 return _ogl
.PyDivisionShape_SetLeftSide(*args
, **kwargs
)
2509 def SetLeftSideColour(*args
, **kwargs
):
2510 """SetLeftSideColour(self, String colour)"""
2511 return _ogl
.PyDivisionShape_SetLeftSideColour(*args
, **kwargs
)
2513 def SetLeftSidePen(*args
, **kwargs
):
2514 """SetLeftSidePen(self, wxPen pen)"""
2515 return _ogl
.PyDivisionShape_SetLeftSidePen(*args
, **kwargs
)
2517 def SetRightSide(*args
, **kwargs
):
2518 """SetRightSide(self, PyDivisionShape shape)"""
2519 return _ogl
.PyDivisionShape_SetRightSide(*args
, **kwargs
)
2521 def SetTopSide(*args
, **kwargs
):
2522 """SetTopSide(self, PyDivisionShape shape)"""
2523 return _ogl
.PyDivisionShape_SetTopSide(*args
, **kwargs
)
2525 def SetTopSideColour(*args
, **kwargs
):
2526 """SetTopSideColour(self, String colour)"""
2527 return _ogl
.PyDivisionShape_SetTopSideColour(*args
, **kwargs
)
2529 def SetTopSidePen(*args
, **kwargs
):
2530 """SetTopSidePen(self, wxPen pen)"""
2531 return _ogl
.PyDivisionShape_SetTopSidePen(*args
, **kwargs
)
2533 def base_OnDelete(*args
, **kwargs
):
2534 """base_OnDelete(self)"""
2535 return _ogl
.PyDivisionShape_base_OnDelete(*args
, **kwargs
)
2537 def base_OnDraw(*args
, **kwargs
):
2538 """base_OnDraw(self, DC dc)"""
2539 return _ogl
.PyDivisionShape_base_OnDraw(*args
, **kwargs
)
2541 def base_OnDrawContents(*args
, **kwargs
):
2542 """base_OnDrawContents(self, DC dc)"""
2543 return _ogl
.PyDivisionShape_base_OnDrawContents(*args
, **kwargs
)
2545 def base_OnDrawBranches(*args
, **kwargs
):
2546 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2547 return _ogl
.PyDivisionShape_base_OnDrawBranches(*args
, **kwargs
)
2549 def base_OnMoveLinks(*args
, **kwargs
):
2550 """base_OnMoveLinks(self, DC dc)"""
2551 return _ogl
.PyDivisionShape_base_OnMoveLinks(*args
, **kwargs
)
2553 def base_OnErase(*args
, **kwargs
):
2554 """base_OnErase(self, DC dc)"""
2555 return _ogl
.PyDivisionShape_base_OnErase(*args
, **kwargs
)
2557 def base_OnEraseContents(*args
, **kwargs
):
2558 """base_OnEraseContents(self, DC dc)"""
2559 return _ogl
.PyDivisionShape_base_OnEraseContents(*args
, **kwargs
)
2561 def base_OnHighlight(*args
, **kwargs
):
2562 """base_OnHighlight(self, DC dc)"""
2563 return _ogl
.PyDivisionShape_base_OnHighlight(*args
, **kwargs
)
2565 def base_OnLeftClick(*args
, **kwargs
):
2566 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2567 return _ogl
.PyDivisionShape_base_OnLeftClick(*args
, **kwargs
)
2569 def base_OnLeftDoubleClick(*args
, **kwargs
):
2570 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2571 return _ogl
.PyDivisionShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2573 def base_OnRightClick(*args
, **kwargs
):
2574 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2575 return _ogl
.PyDivisionShape_base_OnRightClick(*args
, **kwargs
)
2577 def base_OnSize(*args
, **kwargs
):
2578 """base_OnSize(self, double x, double y)"""
2579 return _ogl
.PyDivisionShape_base_OnSize(*args
, **kwargs
)
2581 def base_OnMovePre(*args
, **kwargs
):
2583 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2584 bool display=True) -> bool
2586 return _ogl
.PyDivisionShape_base_OnMovePre(*args
, **kwargs
)
2588 def base_OnMovePost(*args
, **kwargs
):
2590 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2593 return _ogl
.PyDivisionShape_base_OnMovePost(*args
, **kwargs
)
2595 def base_OnDragLeft(*args
, **kwargs
):
2596 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2597 return _ogl
.PyDivisionShape_base_OnDragLeft(*args
, **kwargs
)
2599 def base_OnBeginDragLeft(*args
, **kwargs
):
2600 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2601 return _ogl
.PyDivisionShape_base_OnBeginDragLeft(*args
, **kwargs
)
2603 def base_OnEndDragLeft(*args
, **kwargs
):
2604 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2605 return _ogl
.PyDivisionShape_base_OnEndDragLeft(*args
, **kwargs
)
2607 def base_OnDragRight(*args
, **kwargs
):
2608 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2609 return _ogl
.PyDivisionShape_base_OnDragRight(*args
, **kwargs
)
2611 def base_OnBeginDragRight(*args
, **kwargs
):
2612 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2613 return _ogl
.PyDivisionShape_base_OnBeginDragRight(*args
, **kwargs
)
2615 def base_OnEndDragRight(*args
, **kwargs
):
2616 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2617 return _ogl
.PyDivisionShape_base_OnEndDragRight(*args
, **kwargs
)
2619 def base_OnDrawOutline(*args
, **kwargs
):
2620 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2621 return _ogl
.PyDivisionShape_base_OnDrawOutline(*args
, **kwargs
)
2623 def base_OnDrawControlPoints(*args
, **kwargs
):
2624 """base_OnDrawControlPoints(self, DC dc)"""
2625 return _ogl
.PyDivisionShape_base_OnDrawControlPoints(*args
, **kwargs
)
2627 def base_OnEraseControlPoints(*args
, **kwargs
):
2628 """base_OnEraseControlPoints(self, DC dc)"""
2629 return _ogl
.PyDivisionShape_base_OnEraseControlPoints(*args
, **kwargs
)
2631 def base_OnMoveLink(*args
, **kwargs
):
2632 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2633 return _ogl
.PyDivisionShape_base_OnMoveLink(*args
, **kwargs
)
2635 def base_OnSizingDragLeft(*args
, **kwargs
):
2637 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2640 return _ogl
.PyDivisionShape_base_OnSizingDragLeft(*args
, **kwargs
)
2642 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2644 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2647 return _ogl
.PyDivisionShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2649 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2651 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2654 return _ogl
.PyDivisionShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2656 def base_OnBeginSize(*args
, **kwargs
):
2657 """base_OnBeginSize(self, double w, double h)"""
2658 return _ogl
.PyDivisionShape_base_OnBeginSize(*args
, **kwargs
)
2660 def base_OnEndSize(*args
, **kwargs
):
2661 """base_OnEndSize(self, double w, double h)"""
2662 return _ogl
.PyDivisionShape_base_OnEndSize(*args
, **kwargs
)
2665 class PyDivisionShapePtr(PyDivisionShape
):
2666 def __init__(self
, this
):
2668 if not hasattr(self
,"thisown"): self
.thisown
= 0
2669 self
.__class
__ = PyDivisionShape
2670 _ogl
.PyDivisionShape_swigregister(PyDivisionShapePtr
)
2672 class PyEllipseShape(PyShape
):
2674 return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2675 def __init__(self
, *args
, **kwargs
):
2676 """__init__(self, double width=0.0, double height=0.0) -> PyEllipseShape"""
2677 newobj
= _ogl
.new_PyEllipseShape(*args
, **kwargs
)
2678 self
.this
= newobj
.this
2681 self
._setOORandCallbackInfo
(PyEllipseShape
)
2683 def _setCallbackInfo(*args
, **kwargs
):
2684 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2685 return _ogl
.PyEllipseShape__setCallbackInfo(*args
, **kwargs
)
2687 def base_OnDraw(*args
, **kwargs
):
2688 """base_OnDraw(self, DC dc)"""
2689 return _ogl
.PyEllipseShape_base_OnDraw(*args
, **kwargs
)
2691 def base_OnDrawContents(*args
, **kwargs
):
2692 """base_OnDrawContents(self, DC dc)"""
2693 return _ogl
.PyEllipseShape_base_OnDrawContents(*args
, **kwargs
)
2695 def base_OnDrawBranches(*args
, **kwargs
):
2696 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2697 return _ogl
.PyEllipseShape_base_OnDrawBranches(*args
, **kwargs
)
2699 def base_OnMoveLinks(*args
, **kwargs
):
2700 """base_OnMoveLinks(self, DC dc)"""
2701 return _ogl
.PyEllipseShape_base_OnMoveLinks(*args
, **kwargs
)
2703 def base_OnErase(*args
, **kwargs
):
2704 """base_OnErase(self, DC dc)"""
2705 return _ogl
.PyEllipseShape_base_OnErase(*args
, **kwargs
)
2707 def base_OnEraseContents(*args
, **kwargs
):
2708 """base_OnEraseContents(self, DC dc)"""
2709 return _ogl
.PyEllipseShape_base_OnEraseContents(*args
, **kwargs
)
2711 def base_OnHighlight(*args
, **kwargs
):
2712 """base_OnHighlight(self, DC dc)"""
2713 return _ogl
.PyEllipseShape_base_OnHighlight(*args
, **kwargs
)
2715 def base_OnLeftClick(*args
, **kwargs
):
2716 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2717 return _ogl
.PyEllipseShape_base_OnLeftClick(*args
, **kwargs
)
2719 def base_OnLeftDoubleClick(*args
, **kwargs
):
2720 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2721 return _ogl
.PyEllipseShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2723 def base_OnRightClick(*args
, **kwargs
):
2724 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2725 return _ogl
.PyEllipseShape_base_OnRightClick(*args
, **kwargs
)
2727 def base_OnSize(*args
, **kwargs
):
2728 """base_OnSize(self, double x, double y)"""
2729 return _ogl
.PyEllipseShape_base_OnSize(*args
, **kwargs
)
2731 def base_OnMovePre(*args
, **kwargs
):
2733 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2734 bool display=True) -> bool
2736 return _ogl
.PyEllipseShape_base_OnMovePre(*args
, **kwargs
)
2738 def base_OnMovePost(*args
, **kwargs
):
2740 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2743 return _ogl
.PyEllipseShape_base_OnMovePost(*args
, **kwargs
)
2745 def base_OnDragLeft(*args
, **kwargs
):
2746 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2747 return _ogl
.PyEllipseShape_base_OnDragLeft(*args
, **kwargs
)
2749 def base_OnBeginDragLeft(*args
, **kwargs
):
2750 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2751 return _ogl
.PyEllipseShape_base_OnBeginDragLeft(*args
, **kwargs
)
2753 def base_OnEndDragLeft(*args
, **kwargs
):
2754 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2755 return _ogl
.PyEllipseShape_base_OnEndDragLeft(*args
, **kwargs
)
2757 def base_OnDragRight(*args
, **kwargs
):
2758 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2759 return _ogl
.PyEllipseShape_base_OnDragRight(*args
, **kwargs
)
2761 def base_OnBeginDragRight(*args
, **kwargs
):
2762 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2763 return _ogl
.PyEllipseShape_base_OnBeginDragRight(*args
, **kwargs
)
2765 def base_OnEndDragRight(*args
, **kwargs
):
2766 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2767 return _ogl
.PyEllipseShape_base_OnEndDragRight(*args
, **kwargs
)
2769 def base_OnDrawOutline(*args
, **kwargs
):
2770 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2771 return _ogl
.PyEllipseShape_base_OnDrawOutline(*args
, **kwargs
)
2773 def base_OnDrawControlPoints(*args
, **kwargs
):
2774 """base_OnDrawControlPoints(self, DC dc)"""
2775 return _ogl
.PyEllipseShape_base_OnDrawControlPoints(*args
, **kwargs
)
2777 def base_OnEraseControlPoints(*args
, **kwargs
):
2778 """base_OnEraseControlPoints(self, DC dc)"""
2779 return _ogl
.PyEllipseShape_base_OnEraseControlPoints(*args
, **kwargs
)
2781 def base_OnMoveLink(*args
, **kwargs
):
2782 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2783 return _ogl
.PyEllipseShape_base_OnMoveLink(*args
, **kwargs
)
2785 def base_OnSizingDragLeft(*args
, **kwargs
):
2787 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2790 return _ogl
.PyEllipseShape_base_OnSizingDragLeft(*args
, **kwargs
)
2792 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2794 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2797 return _ogl
.PyEllipseShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2799 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2801 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2804 return _ogl
.PyEllipseShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2806 def base_OnBeginSize(*args
, **kwargs
):
2807 """base_OnBeginSize(self, double w, double h)"""
2808 return _ogl
.PyEllipseShape_base_OnBeginSize(*args
, **kwargs
)
2810 def base_OnEndSize(*args
, **kwargs
):
2811 """base_OnEndSize(self, double w, double h)"""
2812 return _ogl
.PyEllipseShape_base_OnEndSize(*args
, **kwargs
)
2815 class PyEllipseShapePtr(PyEllipseShape
):
2816 def __init__(self
, this
):
2818 if not hasattr(self
,"thisown"): self
.thisown
= 0
2819 self
.__class
__ = PyEllipseShape
2820 _ogl
.PyEllipseShape_swigregister(PyEllipseShapePtr
)
2822 class PyCircleShape(PyEllipseShape
):
2824 return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2825 def __init__(self
, *args
, **kwargs
):
2826 """__init__(self, double width=0.0) -> PyCircleShape"""
2827 newobj
= _ogl
.new_PyCircleShape(*args
, **kwargs
)
2828 self
.this
= newobj
.this
2831 self
._setOORandCallbackInfo
(PyCircleShape
)
2833 def _setCallbackInfo(*args
, **kwargs
):
2834 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2835 return _ogl
.PyCircleShape__setCallbackInfo(*args
, **kwargs
)
2837 def base_OnDraw(*args
, **kwargs
):
2838 """base_OnDraw(self, DC dc)"""
2839 return _ogl
.PyCircleShape_base_OnDraw(*args
, **kwargs
)
2841 def base_OnDrawContents(*args
, **kwargs
):
2842 """base_OnDrawContents(self, DC dc)"""
2843 return _ogl
.PyCircleShape_base_OnDrawContents(*args
, **kwargs
)
2845 def base_OnDrawBranches(*args
, **kwargs
):
2846 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2847 return _ogl
.PyCircleShape_base_OnDrawBranches(*args
, **kwargs
)
2849 def base_OnMoveLinks(*args
, **kwargs
):
2850 """base_OnMoveLinks(self, DC dc)"""
2851 return _ogl
.PyCircleShape_base_OnMoveLinks(*args
, **kwargs
)
2853 def base_OnErase(*args
, **kwargs
):
2854 """base_OnErase(self, DC dc)"""
2855 return _ogl
.PyCircleShape_base_OnErase(*args
, **kwargs
)
2857 def base_OnEraseContents(*args
, **kwargs
):
2858 """base_OnEraseContents(self, DC dc)"""
2859 return _ogl
.PyCircleShape_base_OnEraseContents(*args
, **kwargs
)
2861 def base_OnHighlight(*args
, **kwargs
):
2862 """base_OnHighlight(self, DC dc)"""
2863 return _ogl
.PyCircleShape_base_OnHighlight(*args
, **kwargs
)
2865 def base_OnLeftClick(*args
, **kwargs
):
2866 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2867 return _ogl
.PyCircleShape_base_OnLeftClick(*args
, **kwargs
)
2869 def base_OnLeftDoubleClick(*args
, **kwargs
):
2870 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2871 return _ogl
.PyCircleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2873 def base_OnRightClick(*args
, **kwargs
):
2874 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2875 return _ogl
.PyCircleShape_base_OnRightClick(*args
, **kwargs
)
2877 def base_OnSize(*args
, **kwargs
):
2878 """base_OnSize(self, double x, double y)"""
2879 return _ogl
.PyCircleShape_base_OnSize(*args
, **kwargs
)
2881 def base_OnMovePre(*args
, **kwargs
):
2883 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2884 bool display=True) -> bool
2886 return _ogl
.PyCircleShape_base_OnMovePre(*args
, **kwargs
)
2888 def base_OnMovePost(*args
, **kwargs
):
2890 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2893 return _ogl
.PyCircleShape_base_OnMovePost(*args
, **kwargs
)
2895 def base_OnDragLeft(*args
, **kwargs
):
2896 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2897 return _ogl
.PyCircleShape_base_OnDragLeft(*args
, **kwargs
)
2899 def base_OnBeginDragLeft(*args
, **kwargs
):
2900 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2901 return _ogl
.PyCircleShape_base_OnBeginDragLeft(*args
, **kwargs
)
2903 def base_OnEndDragLeft(*args
, **kwargs
):
2904 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2905 return _ogl
.PyCircleShape_base_OnEndDragLeft(*args
, **kwargs
)
2907 def base_OnDragRight(*args
, **kwargs
):
2908 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2909 return _ogl
.PyCircleShape_base_OnDragRight(*args
, **kwargs
)
2911 def base_OnBeginDragRight(*args
, **kwargs
):
2912 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2913 return _ogl
.PyCircleShape_base_OnBeginDragRight(*args
, **kwargs
)
2915 def base_OnEndDragRight(*args
, **kwargs
):
2916 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2917 return _ogl
.PyCircleShape_base_OnEndDragRight(*args
, **kwargs
)
2919 def base_OnDrawOutline(*args
, **kwargs
):
2920 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2921 return _ogl
.PyCircleShape_base_OnDrawOutline(*args
, **kwargs
)
2923 def base_OnDrawControlPoints(*args
, **kwargs
):
2924 """base_OnDrawControlPoints(self, DC dc)"""
2925 return _ogl
.PyCircleShape_base_OnDrawControlPoints(*args
, **kwargs
)
2927 def base_OnEraseControlPoints(*args
, **kwargs
):
2928 """base_OnEraseControlPoints(self, DC dc)"""
2929 return _ogl
.PyCircleShape_base_OnEraseControlPoints(*args
, **kwargs
)
2931 def base_OnMoveLink(*args
, **kwargs
):
2932 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2933 return _ogl
.PyCircleShape_base_OnMoveLink(*args
, **kwargs
)
2935 def base_OnSizingDragLeft(*args
, **kwargs
):
2937 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2940 return _ogl
.PyCircleShape_base_OnSizingDragLeft(*args
, **kwargs
)
2942 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2944 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2947 return _ogl
.PyCircleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2949 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2951 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2954 return _ogl
.PyCircleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2956 def base_OnBeginSize(*args
, **kwargs
):
2957 """base_OnBeginSize(self, double w, double h)"""
2958 return _ogl
.PyCircleShape_base_OnBeginSize(*args
, **kwargs
)
2960 def base_OnEndSize(*args
, **kwargs
):
2961 """base_OnEndSize(self, double w, double h)"""
2962 return _ogl
.PyCircleShape_base_OnEndSize(*args
, **kwargs
)
2965 class PyCircleShapePtr(PyCircleShape
):
2966 def __init__(self
, this
):
2968 if not hasattr(self
,"thisown"): self
.thisown
= 0
2969 self
.__class
__ = PyCircleShape
2970 _ogl
.PyCircleShape_swigregister(PyCircleShapePtr
)
2972 class ArrowHead(_core
.Object
):
2974 return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2975 def __init__(self
, *args
, **kwargs
):
2977 __init__(self, int type=0, int end=0, double size=0.0, double dist=0.0,
2978 String name=EmptyString, PseudoMetaFile mf=None,
2979 long arrowId=-1) -> ArrowHead
2981 newobj
= _ogl
.new_ArrowHead(*args
, **kwargs
)
2982 self
.this
= newobj
.this
2985 def __del__(self
, destroy
=_ogl
.delete_ArrowHead
):
2988 if self
.thisown
: destroy(self
)
2991 def _GetType(*args
, **kwargs
):
2992 """_GetType(self) -> int"""
2993 return _ogl
.ArrowHead__GetType(*args
, **kwargs
)
2995 def GetPosition(*args
, **kwargs
):
2996 """GetPosition(self) -> int"""
2997 return _ogl
.ArrowHead_GetPosition(*args
, **kwargs
)
2999 def SetPosition(*args
, **kwargs
):
3000 """SetPosition(self, int pos)"""
3001 return _ogl
.ArrowHead_SetPosition(*args
, **kwargs
)
3003 def GetXOffset(*args
, **kwargs
):
3004 """GetXOffset(self) -> double"""
3005 return _ogl
.ArrowHead_GetXOffset(*args
, **kwargs
)
3007 def GetYOffset(*args
, **kwargs
):
3008 """GetYOffset(self) -> double"""
3009 return _ogl
.ArrowHead_GetYOffset(*args
, **kwargs
)
3011 def GetSpacing(*args
, **kwargs
):
3012 """GetSpacing(self) -> double"""
3013 return _ogl
.ArrowHead_GetSpacing(*args
, **kwargs
)
3015 def GetSize(*args
, **kwargs
):
3016 """GetSize(self) -> double"""
3017 return _ogl
.ArrowHead_GetSize(*args
, **kwargs
)
3019 def GetName(*args
, **kwargs
):
3020 """GetName(self) -> String"""
3021 return _ogl
.ArrowHead_GetName(*args
, **kwargs
)
3023 def SetXOffset(*args
, **kwargs
):
3024 """SetXOffset(self, double x)"""
3025 return _ogl
.ArrowHead_SetXOffset(*args
, **kwargs
)
3027 def SetYOffset(*args
, **kwargs
):
3028 """SetYOffset(self, double y)"""
3029 return _ogl
.ArrowHead_SetYOffset(*args
, **kwargs
)
3031 def GetMetaFile(*args
, **kwargs
):
3032 """GetMetaFile(self) -> PseudoMetaFile"""
3033 return _ogl
.ArrowHead_GetMetaFile(*args
, **kwargs
)
3035 def GetId(*args
, **kwargs
):
3036 """GetId(self) -> long"""
3037 return _ogl
.ArrowHead_GetId(*args
, **kwargs
)
3039 def GetArrowEnd(*args
, **kwargs
):
3040 """GetArrowEnd(self) -> int"""
3041 return _ogl
.ArrowHead_GetArrowEnd(*args
, **kwargs
)
3043 def GetArrowSize(*args
, **kwargs
):
3044 """GetArrowSize(self) -> double"""
3045 return _ogl
.ArrowHead_GetArrowSize(*args
, **kwargs
)
3047 def SetSize(*args
, **kwargs
):
3048 """SetSize(self, double size)"""
3049 return _ogl
.ArrowHead_SetSize(*args
, **kwargs
)
3051 def SetSpacing(*args
, **kwargs
):
3052 """SetSpacing(self, double sp)"""
3053 return _ogl
.ArrowHead_SetSpacing(*args
, **kwargs
)
3056 class ArrowHeadPtr(ArrowHead
):
3057 def __init__(self
, this
):
3059 if not hasattr(self
,"thisown"): self
.thisown
= 0
3060 self
.__class
__ = ArrowHead
3061 _ogl
.ArrowHead_swigregister(ArrowHeadPtr
)
3063 class PyLineShape(PyShape
):
3065 return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3066 def __init__(self
, *args
, **kwargs
):
3067 """__init__(self) -> PyLineShape"""
3068 newobj
= _ogl
.new_PyLineShape(*args
, **kwargs
)
3069 self
.this
= newobj
.this
3072 self
._setOORandCallbackInfo
(PyLineShape
)
3074 def _setCallbackInfo(*args
, **kwargs
):
3075 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3076 return _ogl
.PyLineShape__setCallbackInfo(*args
, **kwargs
)
3078 def AddArrow(*args
, **kwargs
):
3080 AddArrow(self, int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
3081 double xOffset=0.0, String name=EmptyString,
3082 PseudoMetaFile mf=None, long arrowId=-1)
3084 return _ogl
.PyLineShape_AddArrow(*args
, **kwargs
)
3086 def AddArrowOrdered(*args
, **kwargs
):
3087 """AddArrowOrdered(self, ArrowHead arrow, PyObject referenceList, int end)"""
3088 return _ogl
.PyLineShape_AddArrowOrdered(*args
, **kwargs
)
3090 def ClearArrow(*args
, **kwargs
):
3091 """ClearArrow(self, String name) -> bool"""
3092 return _ogl
.PyLineShape_ClearArrow(*args
, **kwargs
)
3094 def ClearArrowsAtPosition(*args
, **kwargs
):
3095 """ClearArrowsAtPosition(self, int position=-1)"""
3096 return _ogl
.PyLineShape_ClearArrowsAtPosition(*args
, **kwargs
)
3098 def DrawArrow(*args
, **kwargs
):
3099 """DrawArrow(self, DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)"""
3100 return _ogl
.PyLineShape_DrawArrow(*args
, **kwargs
)
3102 def DeleteArrowHeadId(*args
, **kwargs
):
3103 """DeleteArrowHeadId(self, long arrowId) -> bool"""
3104 return _ogl
.PyLineShape_DeleteArrowHeadId(*args
, **kwargs
)
3106 def DeleteArrowHead(*args
, **kwargs
):
3107 """DeleteArrowHead(self, int position, String name) -> bool"""
3108 return _ogl
.PyLineShape_DeleteArrowHead(*args
, **kwargs
)
3110 def DeleteLineControlPoint(*args
, **kwargs
):
3111 """DeleteLineControlPoint(self) -> bool"""
3112 return _ogl
.PyLineShape_DeleteLineControlPoint(*args
, **kwargs
)
3114 def DrawArrows(*args
, **kwargs
):
3115 """DrawArrows(self, DC dc)"""
3116 return _ogl
.PyLineShape_DrawArrows(*args
, **kwargs
)
3118 def DrawRegion(*args
, **kwargs
):
3119 """DrawRegion(self, DC dc, ShapeRegion region, double x, double y)"""
3120 return _ogl
.PyLineShape_DrawRegion(*args
, **kwargs
)
3122 def EraseRegion(*args
, **kwargs
):
3123 """EraseRegion(self, DC dc, ShapeRegion region, double x, double y)"""
3124 return _ogl
.PyLineShape_EraseRegion(*args
, **kwargs
)
3126 def FindArrowHeadId(*args
, **kwargs
):
3127 """FindArrowHeadId(self, long arrowId) -> ArrowHead"""
3128 return _ogl
.PyLineShape_FindArrowHeadId(*args
, **kwargs
)
3130 def FindArrowHead(*args
, **kwargs
):
3131 """FindArrowHead(self, int position, String name) -> ArrowHead"""
3132 return _ogl
.PyLineShape_FindArrowHead(*args
, **kwargs
)
3134 def FindLineEndPoints(*args
, **kwargs
):
3135 """FindLineEndPoints(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3136 return _ogl
.PyLineShape_FindLineEndPoints(*args
, **kwargs
)
3138 def FindLinePosition(*args
, **kwargs
):
3139 """FindLinePosition(self, double x, double y) -> int"""
3140 return _ogl
.PyLineShape_FindLinePosition(*args
, **kwargs
)
3142 def FindMinimumWidth(*args
, **kwargs
):
3143 """FindMinimumWidth(self) -> double"""
3144 return _ogl
.PyLineShape_FindMinimumWidth(*args
, **kwargs
)
3146 def FindNth(*args
, **kwargs
):
3147 """FindNth(self, PyShape image, int OUTPUT, int OUTPUT, bool incoming)"""
3148 return _ogl
.PyLineShape_FindNth(*args
, **kwargs
)
3150 def GetAttachmentFrom(*args
, **kwargs
):
3151 """GetAttachmentFrom(self) -> int"""
3152 return _ogl
.PyLineShape_GetAttachmentFrom(*args
, **kwargs
)
3154 def GetAttachmentTo(*args
, **kwargs
):
3155 """GetAttachmentTo(self) -> int"""
3156 return _ogl
.PyLineShape_GetAttachmentTo(*args
, **kwargs
)
3158 def GetEnds(*args
, **kwargs
):
3159 """GetEnds(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3160 return _ogl
.PyLineShape_GetEnds(*args
, **kwargs
)
3162 def GetFrom(*args
, **kwargs
):
3163 """GetFrom(self) -> PyShape"""
3164 return _ogl
.PyLineShape_GetFrom(*args
, **kwargs
)
3166 def GetLabelPosition(*args
, **kwargs
):
3167 """GetLabelPosition(self, int position, double OUTPUT, double OUTPUT)"""
3168 return _ogl
.PyLineShape_GetLabelPosition(*args
, **kwargs
)
3170 def GetNextControlPoint(*args
, **kwargs
):
3171 """GetNextControlPoint(self, PyShape shape) -> RealPoint"""
3172 return _ogl
.PyLineShape_GetNextControlPoint(*args
, **kwargs
)
3174 def GetTo(*args
, **kwargs
):
3175 """GetTo(self) -> PyShape"""
3176 return _ogl
.PyLineShape_GetTo(*args
, **kwargs
)
3178 def Initialise(*args
, **kwargs
):
3179 """Initialise(self)"""
3180 return _ogl
.PyLineShape_Initialise(*args
, **kwargs
)
3182 def InsertLineControlPoint(*args
, **kwargs
):
3183 """InsertLineControlPoint(self, DC dc)"""
3184 return _ogl
.PyLineShape_InsertLineControlPoint(*args
, **kwargs
)
3186 def IsEnd(*args
, **kwargs
):
3187 """IsEnd(self, PyShape shape) -> bool"""
3188 return _ogl
.PyLineShape_IsEnd(*args
, **kwargs
)
3190 def IsSpline(*args
, **kwargs
):
3191 """IsSpline(self) -> bool"""
3192 return _ogl
.PyLineShape_IsSpline(*args
, **kwargs
)
3194 def MakeLineControlPoints(*args
, **kwargs
):
3195 """MakeLineControlPoints(self, int n)"""
3196 return _ogl
.PyLineShape_MakeLineControlPoints(*args
, **kwargs
)
3198 def GetLineControlPoints(*args
, **kwargs
):
3199 """GetLineControlPoints(self) -> PyObject"""
3200 return _ogl
.PyLineShape_GetLineControlPoints(*args
, **kwargs
)
3202 def SetLineControlPoints(*args
, **kwargs
):
3203 """SetLineControlPoints(self, PyObject list)"""
3204 return _ogl
.PyLineShape_SetLineControlPoints(*args
, **kwargs
)
3206 def SetAttachmentFrom(*args
, **kwargs
):
3207 """SetAttachmentFrom(self, int fromAttach)"""
3208 return _ogl
.PyLineShape_SetAttachmentFrom(*args
, **kwargs
)
3210 def SetAttachments(*args
, **kwargs
):
3211 """SetAttachments(self, int fromAttach, int toAttach)"""
3212 return _ogl
.PyLineShape_SetAttachments(*args
, **kwargs
)
3214 def SetAttachmentTo(*args
, **kwargs
):
3215 """SetAttachmentTo(self, int toAttach)"""
3216 return _ogl
.PyLineShape_SetAttachmentTo(*args
, **kwargs
)
3218 def SetEnds(*args
, **kwargs
):
3219 """SetEnds(self, double x1, double y1, double x2, double y2)"""
3220 return _ogl
.PyLineShape_SetEnds(*args
, **kwargs
)
3222 def SetFrom(*args
, **kwargs
):
3223 """SetFrom(self, PyShape object)"""
3224 return _ogl
.PyLineShape_SetFrom(*args
, **kwargs
)
3226 def SetIgnoreOffsets(*args
, **kwargs
):
3227 """SetIgnoreOffsets(self, bool ignore)"""
3228 return _ogl
.PyLineShape_SetIgnoreOffsets(*args
, **kwargs
)
3230 def SetSpline(*args
, **kwargs
):
3231 """SetSpline(self, bool spline)"""
3232 return _ogl
.PyLineShape_SetSpline(*args
, **kwargs
)
3234 def SetTo(*args
, **kwargs
):
3235 """SetTo(self, PyShape object)"""
3236 return _ogl
.PyLineShape_SetTo(*args
, **kwargs
)
3238 def Straighten(*args
, **kwargs
):
3239 """Straighten(self, DC dc=None)"""
3240 return _ogl
.PyLineShape_Straighten(*args
, **kwargs
)
3242 def Unlink(*args
, **kwargs
):
3244 return _ogl
.PyLineShape_Unlink(*args
, **kwargs
)
3246 def SetAlignmentOrientation(*args
, **kwargs
):
3247 """SetAlignmentOrientation(self, bool isEnd, bool isHoriz)"""
3248 return _ogl
.PyLineShape_SetAlignmentOrientation(*args
, **kwargs
)
3250 def SetAlignmentType(*args
, **kwargs
):
3251 """SetAlignmentType(self, bool isEnd, int alignType)"""
3252 return _ogl
.PyLineShape_SetAlignmentType(*args
, **kwargs
)
3254 def GetAlignmentOrientation(*args
, **kwargs
):
3255 """GetAlignmentOrientation(self, bool isEnd) -> bool"""
3256 return _ogl
.PyLineShape_GetAlignmentOrientation(*args
, **kwargs
)
3258 def GetAlignmentType(*args
, **kwargs
):
3259 """GetAlignmentType(self, bool isEnd) -> int"""
3260 return _ogl
.PyLineShape_GetAlignmentType(*args
, **kwargs
)
3262 def GetAlignmentStart(*args
, **kwargs
):
3263 """GetAlignmentStart(self) -> int"""
3264 return _ogl
.PyLineShape_GetAlignmentStart(*args
, **kwargs
)
3266 def GetAlignmentEnd(*args
, **kwargs
):
3267 """GetAlignmentEnd(self) -> int"""
3268 return _ogl
.PyLineShape_GetAlignmentEnd(*args
, **kwargs
)
3270 def base_OnDraw(*args
, **kwargs
):
3271 """base_OnDraw(self, DC dc)"""
3272 return _ogl
.PyLineShape_base_OnDraw(*args
, **kwargs
)
3274 def base_OnDrawContents(*args
, **kwargs
):
3275 """base_OnDrawContents(self, DC dc)"""
3276 return _ogl
.PyLineShape_base_OnDrawContents(*args
, **kwargs
)
3278 def base_OnDrawBranches(*args
, **kwargs
):
3279 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
3280 return _ogl
.PyLineShape_base_OnDrawBranches(*args
, **kwargs
)
3282 def base_OnMoveLinks(*args
, **kwargs
):
3283 """base_OnMoveLinks(self, DC dc)"""
3284 return _ogl
.PyLineShape_base_OnMoveLinks(*args
, **kwargs
)
3286 def base_OnErase(*args
, **kwargs
):
3287 """base_OnErase(self, DC dc)"""
3288 return _ogl
.PyLineShape_base_OnErase(*args
, **kwargs
)
3290 def base_OnEraseContents(*args
, **kwargs
):
3291 """base_OnEraseContents(self, DC dc)"""
3292 return _ogl
.PyLineShape_base_OnEraseContents(*args
, **kwargs
)
3294 def base_OnHighlight(*args
, **kwargs
):
3295 """base_OnHighlight(self, DC dc)"""
3296 return _ogl
.PyLineShape_base_OnHighlight(*args
, **kwargs
)
3298 def base_OnLeftClick(*args
, **kwargs
):
3299 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3300 return _ogl
.PyLineShape_base_OnLeftClick(*args
, **kwargs
)
3302 def base_OnLeftDoubleClick(*args
, **kwargs
):
3303 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3304 return _ogl
.PyLineShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3306 def base_OnRightClick(*args
, **kwargs
):
3307 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3308 return _ogl
.PyLineShape_base_OnRightClick(*args
, **kwargs
)
3310 def base_OnSize(*args
, **kwargs
):
3311 """base_OnSize(self, double x, double y)"""
3312 return _ogl
.PyLineShape_base_OnSize(*args
, **kwargs
)
3314 def base_OnMovePre(*args
, **kwargs
):
3316 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3317 bool display=True) -> bool
3319 return _ogl
.PyLineShape_base_OnMovePre(*args
, **kwargs
)
3321 def base_OnMovePost(*args
, **kwargs
):
3323 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3326 return _ogl
.PyLineShape_base_OnMovePost(*args
, **kwargs
)
3328 def base_OnDragLeft(*args
, **kwargs
):
3329 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3330 return _ogl
.PyLineShape_base_OnDragLeft(*args
, **kwargs
)
3332 def base_OnBeginDragLeft(*args
, **kwargs
):
3333 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3334 return _ogl
.PyLineShape_base_OnBeginDragLeft(*args
, **kwargs
)
3336 def base_OnEndDragLeft(*args
, **kwargs
):
3337 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3338 return _ogl
.PyLineShape_base_OnEndDragLeft(*args
, **kwargs
)
3340 def base_OnDragRight(*args
, **kwargs
):
3341 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3342 return _ogl
.PyLineShape_base_OnDragRight(*args
, **kwargs
)
3344 def base_OnBeginDragRight(*args
, **kwargs
):
3345 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3346 return _ogl
.PyLineShape_base_OnBeginDragRight(*args
, **kwargs
)
3348 def base_OnEndDragRight(*args
, **kwargs
):
3349 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3350 return _ogl
.PyLineShape_base_OnEndDragRight(*args
, **kwargs
)
3352 def base_OnDrawOutline(*args
, **kwargs
):
3353 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3354 return _ogl
.PyLineShape_base_OnDrawOutline(*args
, **kwargs
)
3356 def base_OnDrawControlPoints(*args
, **kwargs
):
3357 """base_OnDrawControlPoints(self, DC dc)"""
3358 return _ogl
.PyLineShape_base_OnDrawControlPoints(*args
, **kwargs
)
3360 def base_OnEraseControlPoints(*args
, **kwargs
):
3361 """base_OnEraseControlPoints(self, DC dc)"""
3362 return _ogl
.PyLineShape_base_OnEraseControlPoints(*args
, **kwargs
)
3364 def base_OnMoveLink(*args
, **kwargs
):
3365 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3366 return _ogl
.PyLineShape_base_OnMoveLink(*args
, **kwargs
)
3368 def base_OnSizingDragLeft(*args
, **kwargs
):
3370 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3373 return _ogl
.PyLineShape_base_OnSizingDragLeft(*args
, **kwargs
)
3375 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3377 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3380 return _ogl
.PyLineShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3382 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3384 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3387 return _ogl
.PyLineShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3389 def base_OnBeginSize(*args
, **kwargs
):
3390 """base_OnBeginSize(self, double w, double h)"""
3391 return _ogl
.PyLineShape_base_OnBeginSize(*args
, **kwargs
)
3393 def base_OnEndSize(*args
, **kwargs
):
3394 """base_OnEndSize(self, double w, double h)"""
3395 return _ogl
.PyLineShape_base_OnEndSize(*args
, **kwargs
)
3398 class PyLineShapePtr(PyLineShape
):
3399 def __init__(self
, this
):
3401 if not hasattr(self
,"thisown"): self
.thisown
= 0
3402 self
.__class
__ = PyLineShape
3403 _ogl
.PyLineShape_swigregister(PyLineShapePtr
)
3405 class PyPolygonShape(PyShape
):
3407 return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3408 def __init__(self
, *args
, **kwargs
):
3409 """__init__(self) -> PyPolygonShape"""
3410 newobj
= _ogl
.new_PyPolygonShape(*args
, **kwargs
)
3411 self
.this
= newobj
.this
3414 self
._setOORandCallbackInfo
(PyPolygonShape
)
3416 def _setCallbackInfo(*args
, **kwargs
):
3417 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3418 return _ogl
.PyPolygonShape__setCallbackInfo(*args
, **kwargs
)
3420 def Create(*args
, **kwargs
):
3421 """Create(self, PyObject points) -> PyObject"""
3422 return _ogl
.PyPolygonShape_Create(*args
, **kwargs
)
3424 def AddPolygonPoint(*args
, **kwargs
):
3425 """AddPolygonPoint(self, int pos=0)"""
3426 return _ogl
.PyPolygonShape_AddPolygonPoint(*args
, **kwargs
)
3428 def CalculatePolygonCentre(*args
, **kwargs
):
3429 """CalculatePolygonCentre(self)"""
3430 return _ogl
.PyPolygonShape_CalculatePolygonCentre(*args
, **kwargs
)
3432 def DeletePolygonPoint(*args
, **kwargs
):
3433 """DeletePolygonPoint(self, int pos=0)"""
3434 return _ogl
.PyPolygonShape_DeletePolygonPoint(*args
, **kwargs
)
3436 def GetPoints(*args
, **kwargs
):
3437 """GetPoints(self) -> PyObject"""
3438 return _ogl
.PyPolygonShape_GetPoints(*args
, **kwargs
)
3440 def GetOriginalPoints(*args
, **kwargs
):
3441 """GetOriginalPoints(self) -> PyObject"""
3442 return _ogl
.PyPolygonShape_GetOriginalPoints(*args
, **kwargs
)
3444 def GetOriginalWidth(*args
, **kwargs
):
3445 """GetOriginalWidth(self) -> double"""
3446 return _ogl
.PyPolygonShape_GetOriginalWidth(*args
, **kwargs
)
3448 def GetOriginalHeight(*args
, **kwargs
):
3449 """GetOriginalHeight(self) -> double"""
3450 return _ogl
.PyPolygonShape_GetOriginalHeight(*args
, **kwargs
)
3452 def SetOriginalWidth(*args
, **kwargs
):
3453 """SetOriginalWidth(self, double w)"""
3454 return _ogl
.PyPolygonShape_SetOriginalWidth(*args
, **kwargs
)
3456 def SetOriginalHeight(*args
, **kwargs
):
3457 """SetOriginalHeight(self, double h)"""
3458 return _ogl
.PyPolygonShape_SetOriginalHeight(*args
, **kwargs
)
3460 def UpdateOriginalPoints(*args
, **kwargs
):
3461 """UpdateOriginalPoints(self)"""
3462 return _ogl
.PyPolygonShape_UpdateOriginalPoints(*args
, **kwargs
)
3464 def base_OnDraw(*args
, **kwargs
):
3465 """base_OnDraw(self, DC dc)"""
3466 return _ogl
.PyPolygonShape_base_OnDraw(*args
, **kwargs
)
3468 def base_OnDrawContents(*args
, **kwargs
):
3469 """base_OnDrawContents(self, DC dc)"""
3470 return _ogl
.PyPolygonShape_base_OnDrawContents(*args
, **kwargs
)
3472 def base_OnDrawBranches(*args
, **kwargs
):
3473 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
3474 return _ogl
.PyPolygonShape_base_OnDrawBranches(*args
, **kwargs
)
3476 def base_OnMoveLinks(*args
, **kwargs
):
3477 """base_OnMoveLinks(self, DC dc)"""
3478 return _ogl
.PyPolygonShape_base_OnMoveLinks(*args
, **kwargs
)
3480 def base_OnErase(*args
, **kwargs
):
3481 """base_OnErase(self, DC dc)"""
3482 return _ogl
.PyPolygonShape_base_OnErase(*args
, **kwargs
)
3484 def base_OnEraseContents(*args
, **kwargs
):
3485 """base_OnEraseContents(self, DC dc)"""
3486 return _ogl
.PyPolygonShape_base_OnEraseContents(*args
, **kwargs
)
3488 def base_OnHighlight(*args
, **kwargs
):
3489 """base_OnHighlight(self, DC dc)"""
3490 return _ogl
.PyPolygonShape_base_OnHighlight(*args
, **kwargs
)
3492 def base_OnLeftClick(*args
, **kwargs
):
3493 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3494 return _ogl
.PyPolygonShape_base_OnLeftClick(*args
, **kwargs
)
3496 def base_OnLeftDoubleClick(*args
, **kwargs
):
3497 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3498 return _ogl
.PyPolygonShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3500 def base_OnRightClick(*args
, **kwargs
):
3501 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3502 return _ogl
.PyPolygonShape_base_OnRightClick(*args
, **kwargs
)
3504 def base_OnSize(*args
, **kwargs
):
3505 """base_OnSize(self, double x, double y)"""
3506 return _ogl
.PyPolygonShape_base_OnSize(*args
, **kwargs
)
3508 def base_OnMovePre(*args
, **kwargs
):
3510 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3511 bool display=True) -> bool
3513 return _ogl
.PyPolygonShape_base_OnMovePre(*args
, **kwargs
)
3515 def base_OnMovePost(*args
, **kwargs
):
3517 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3520 return _ogl
.PyPolygonShape_base_OnMovePost(*args
, **kwargs
)
3522 def base_OnDragLeft(*args
, **kwargs
):
3523 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3524 return _ogl
.PyPolygonShape_base_OnDragLeft(*args
, **kwargs
)
3526 def base_OnBeginDragLeft(*args
, **kwargs
):
3527 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3528 return _ogl
.PyPolygonShape_base_OnBeginDragLeft(*args
, **kwargs
)
3530 def base_OnEndDragLeft(*args
, **kwargs
):
3531 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3532 return _ogl
.PyPolygonShape_base_OnEndDragLeft(*args
, **kwargs
)
3534 def base_OnDragRight(*args
, **kwargs
):
3535 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3536 return _ogl
.PyPolygonShape_base_OnDragRight(*args
, **kwargs
)
3538 def base_OnBeginDragRight(*args
, **kwargs
):
3539 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3540 return _ogl
.PyPolygonShape_base_OnBeginDragRight(*args
, **kwargs
)
3542 def base_OnEndDragRight(*args
, **kwargs
):
3543 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3544 return _ogl
.PyPolygonShape_base_OnEndDragRight(*args
, **kwargs
)
3546 def base_OnDrawOutline(*args
, **kwargs
):
3547 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3548 return _ogl
.PyPolygonShape_base_OnDrawOutline(*args
, **kwargs
)
3550 def base_OnDrawControlPoints(*args
, **kwargs
):
3551 """base_OnDrawControlPoints(self, DC dc)"""
3552 return _ogl
.PyPolygonShape_base_OnDrawControlPoints(*args
, **kwargs
)
3554 def base_OnEraseControlPoints(*args
, **kwargs
):
3555 """base_OnEraseControlPoints(self, DC dc)"""
3556 return _ogl
.PyPolygonShape_base_OnEraseControlPoints(*args
, **kwargs
)
3558 def base_OnMoveLink(*args
, **kwargs
):
3559 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3560 return _ogl
.PyPolygonShape_base_OnMoveLink(*args
, **kwargs
)
3562 def base_OnSizingDragLeft(*args
, **kwargs
):
3564 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3567 return _ogl
.PyPolygonShape_base_OnSizingDragLeft(*args
, **kwargs
)
3569 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3571 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3574 return _ogl
.PyPolygonShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3576 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3578 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3581 return _ogl
.PyPolygonShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3583 def base_OnBeginSize(*args
, **kwargs
):
3584 """base_OnBeginSize(self, double w, double h)"""
3585 return _ogl
.PyPolygonShape_base_OnBeginSize(*args
, **kwargs
)
3587 def base_OnEndSize(*args
, **kwargs
):
3588 """base_OnEndSize(self, double w, double h)"""
3589 return _ogl
.PyPolygonShape_base_OnEndSize(*args
, **kwargs
)
3592 class PyPolygonShapePtr(PyPolygonShape
):
3593 def __init__(self
, this
):
3595 if not hasattr(self
,"thisown"): self
.thisown
= 0
3596 self
.__class
__ = PyPolygonShape
3597 _ogl
.PyPolygonShape_swigregister(PyPolygonShapePtr
)
3599 class PyTextShape(PyRectangleShape
):
3601 return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3602 def __init__(self
, *args
, **kwargs
):
3603 """__init__(self, double width=0.0, double height=0.0) -> PyTextShape"""
3604 newobj
= _ogl
.new_PyTextShape(*args
, **kwargs
)
3605 self
.this
= newobj
.this
3608 self
._setOORandCallbackInfo
(PyTextShape
)
3610 def _setCallbackInfo(*args
, **kwargs
):
3611 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3612 return _ogl
.PyTextShape__setCallbackInfo(*args
, **kwargs
)
3614 def base_OnDelete(*args
, **kwargs
):
3615 """base_OnDelete(self)"""
3616 return _ogl
.PyTextShape_base_OnDelete(*args
, **kwargs
)
3618 def base_OnDraw(*args
, **kwargs
):
3619 """base_OnDraw(self, DC dc)"""
3620 return _ogl
.PyTextShape_base_OnDraw(*args
, **kwargs
)
3622 def base_OnDrawContents(*args
, **kwargs
):
3623 """base_OnDrawContents(self, DC dc)"""
3624 return _ogl
.PyTextShape_base_OnDrawContents(*args
, **kwargs
)
3626 def base_OnDrawBranches(*args
, **kwargs
):
3627 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
3628 return _ogl
.PyTextShape_base_OnDrawBranches(*args
, **kwargs
)
3630 def base_OnMoveLinks(*args
, **kwargs
):
3631 """base_OnMoveLinks(self, DC dc)"""
3632 return _ogl
.PyTextShape_base_OnMoveLinks(*args
, **kwargs
)
3634 def base_OnErase(*args
, **kwargs
):
3635 """base_OnErase(self, DC dc)"""
3636 return _ogl
.PyTextShape_base_OnErase(*args
, **kwargs
)
3638 def base_OnEraseContents(*args
, **kwargs
):
3639 """base_OnEraseContents(self, DC dc)"""
3640 return _ogl
.PyTextShape_base_OnEraseContents(*args
, **kwargs
)
3642 def base_OnHighlight(*args
, **kwargs
):
3643 """base_OnHighlight(self, DC dc)"""
3644 return _ogl
.PyTextShape_base_OnHighlight(*args
, **kwargs
)
3646 def base_OnLeftClick(*args
, **kwargs
):
3647 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3648 return _ogl
.PyTextShape_base_OnLeftClick(*args
, **kwargs
)
3650 def base_OnLeftDoubleClick(*args
, **kwargs
):
3651 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3652 return _ogl
.PyTextShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3654 def base_OnRightClick(*args
, **kwargs
):
3655 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3656 return _ogl
.PyTextShape_base_OnRightClick(*args
, **kwargs
)
3658 def base_OnSize(*args
, **kwargs
):
3659 """base_OnSize(self, double x, double y)"""
3660 return _ogl
.PyTextShape_base_OnSize(*args
, **kwargs
)
3662 def base_OnMovePre(*args
, **kwargs
):
3664 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3665 bool display=True) -> bool
3667 return _ogl
.PyTextShape_base_OnMovePre(*args
, **kwargs
)
3669 def base_OnMovePost(*args
, **kwargs
):
3671 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3674 return _ogl
.PyTextShape_base_OnMovePost(*args
, **kwargs
)
3676 def base_OnDragLeft(*args
, **kwargs
):
3677 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3678 return _ogl
.PyTextShape_base_OnDragLeft(*args
, **kwargs
)
3680 def base_OnBeginDragLeft(*args
, **kwargs
):
3681 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3682 return _ogl
.PyTextShape_base_OnBeginDragLeft(*args
, **kwargs
)
3684 def base_OnEndDragLeft(*args
, **kwargs
):
3685 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3686 return _ogl
.PyTextShape_base_OnEndDragLeft(*args
, **kwargs
)
3688 def base_OnDragRight(*args
, **kwargs
):
3689 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3690 return _ogl
.PyTextShape_base_OnDragRight(*args
, **kwargs
)
3692 def base_OnBeginDragRight(*args
, **kwargs
):
3693 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3694 return _ogl
.PyTextShape_base_OnBeginDragRight(*args
, **kwargs
)
3696 def base_OnEndDragRight(*args
, **kwargs
):
3697 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3698 return _ogl
.PyTextShape_base_OnEndDragRight(*args
, **kwargs
)
3700 def base_OnDrawOutline(*args
, **kwargs
):
3701 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3702 return _ogl
.PyTextShape_base_OnDrawOutline(*args
, **kwargs
)
3704 def base_OnDrawControlPoints(*args
, **kwargs
):
3705 """base_OnDrawControlPoints(self, DC dc)"""
3706 return _ogl
.PyTextShape_base_OnDrawControlPoints(*args
, **kwargs
)
3708 def base_OnEraseControlPoints(*args
, **kwargs
):
3709 """base_OnEraseControlPoints(self, DC dc)"""
3710 return _ogl
.PyTextShape_base_OnEraseControlPoints(*args
, **kwargs
)
3712 def base_OnMoveLink(*args
, **kwargs
):
3713 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3714 return _ogl
.PyTextShape_base_OnMoveLink(*args
, **kwargs
)
3716 def base_OnSizingDragLeft(*args
, **kwargs
):
3718 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3721 return _ogl
.PyTextShape_base_OnSizingDragLeft(*args
, **kwargs
)
3723 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3725 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3728 return _ogl
.PyTextShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3730 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3732 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3735 return _ogl
.PyTextShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3737 def base_OnBeginSize(*args
, **kwargs
):
3738 """base_OnBeginSize(self, double w, double h)"""
3739 return _ogl
.PyTextShape_base_OnBeginSize(*args
, **kwargs
)
3741 def base_OnEndSize(*args
, **kwargs
):
3742 """base_OnEndSize(self, double w, double h)"""
3743 return _ogl
.PyTextShape_base_OnEndSize(*args
, **kwargs
)
3746 class PyTextShapePtr(PyTextShape
):
3747 def __init__(self
, this
):
3749 if not hasattr(self
,"thisown"): self
.thisown
= 0
3750 self
.__class
__ = PyTextShape
3751 _ogl
.PyTextShape_swigregister(PyTextShapePtr
)
3753 class Diagram(_core
.Object
):
3755 return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3756 def __init__(self
, *args
, **kwargs
):
3757 """__init__(self) -> Diagram"""
3758 newobj
= _ogl
.new_Diagram(*args
, **kwargs
)
3759 self
.this
= newobj
.this
3762 def AddShape(*args
, **kwargs
):
3763 """AddShape(self, PyShape shape, PyShape addAfter=None)"""
3764 return _ogl
.Diagram_AddShape(*args
, **kwargs
)
3766 def Clear(*args
, **kwargs
):
3767 """Clear(self, DC dc)"""
3768 return _ogl
.Diagram_Clear(*args
, **kwargs
)
3770 def DeleteAllShapes(*args
, **kwargs
):
3771 """DeleteAllShapes(self)"""
3772 return _ogl
.Diagram_DeleteAllShapes(*args
, **kwargs
)
3774 def DrawOutline(*args
, **kwargs
):
3775 """DrawOutline(self, DC dc, double x1, double y1, double x2, double y2)"""
3776 return _ogl
.Diagram_DrawOutline(*args
, **kwargs
)
3778 def FindShape(*args
, **kwargs
):
3779 """FindShape(self, long id) -> PyShape"""
3780 return _ogl
.Diagram_FindShape(*args
, **kwargs
)
3782 def GetCanvas(*args
, **kwargs
):
3783 """GetCanvas(self) -> PyShapeCanvas"""
3784 return _ogl
.Diagram_GetCanvas(*args
, **kwargs
)
3786 def GetCount(*args
, **kwargs
):
3787 """GetCount(self) -> int"""
3788 return _ogl
.Diagram_GetCount(*args
, **kwargs
)
3790 def GetGridSpacing(*args
, **kwargs
):
3791 """GetGridSpacing(self) -> double"""
3792 return _ogl
.Diagram_GetGridSpacing(*args
, **kwargs
)
3794 def GetMouseTolerance(*args
, **kwargs
):
3795 """GetMouseTolerance(self) -> int"""
3796 return _ogl
.Diagram_GetMouseTolerance(*args
, **kwargs
)
3798 def GetShapeList(*args
, **kwargs
):
3799 """GetShapeList(self) -> PyObject"""
3800 return _ogl
.Diagram_GetShapeList(*args
, **kwargs
)
3802 def GetQuickEditMode(*args
, **kwargs
):
3803 """GetQuickEditMode(self) -> bool"""
3804 return _ogl
.Diagram_GetQuickEditMode(*args
, **kwargs
)
3806 def GetSnapToGrid(*args
, **kwargs
):
3807 """GetSnapToGrid(self) -> bool"""
3808 return _ogl
.Diagram_GetSnapToGrid(*args
, **kwargs
)
3810 def InsertShape(*args
, **kwargs
):
3811 """InsertShape(self, PyShape shape)"""
3812 return _ogl
.Diagram_InsertShape(*args
, **kwargs
)
3814 def RecentreAll(*args
, **kwargs
):
3815 """RecentreAll(self, DC dc)"""
3816 return _ogl
.Diagram_RecentreAll(*args
, **kwargs
)
3818 def Redraw(*args
, **kwargs
):
3819 """Redraw(self, DC dc)"""
3820 return _ogl
.Diagram_Redraw(*args
, **kwargs
)
3822 def RemoveAllShapes(*args
, **kwargs
):
3823 """RemoveAllShapes(self)"""
3824 return _ogl
.Diagram_RemoveAllShapes(*args
, **kwargs
)
3826 def RemoveShape(*args
, **kwargs
):
3827 """RemoveShape(self, PyShape shape)"""
3828 return _ogl
.Diagram_RemoveShape(*args
, **kwargs
)
3830 def SetCanvas(*args
, **kwargs
):
3831 """SetCanvas(self, PyShapeCanvas canvas)"""
3832 return _ogl
.Diagram_SetCanvas(*args
, **kwargs
)
3834 def SetGridSpacing(*args
, **kwargs
):
3835 """SetGridSpacing(self, double spacing)"""
3836 return _ogl
.Diagram_SetGridSpacing(*args
, **kwargs
)
3838 def SetMouseTolerance(*args
, **kwargs
):
3839 """SetMouseTolerance(self, int tolerance)"""
3840 return _ogl
.Diagram_SetMouseTolerance(*args
, **kwargs
)
3842 def SetQuickEditMode(*args
, **kwargs
):
3843 """SetQuickEditMode(self, bool mode)"""
3844 return _ogl
.Diagram_SetQuickEditMode(*args
, **kwargs
)
3846 def SetSnapToGrid(*args
, **kwargs
):
3847 """SetSnapToGrid(self, bool snap)"""
3848 return _ogl
.Diagram_SetSnapToGrid(*args
, **kwargs
)
3850 def ShowAll(*args
, **kwargs
):
3851 """ShowAll(self, bool show)"""
3852 return _ogl
.Diagram_ShowAll(*args
, **kwargs
)
3854 def Snap(*args
, **kwargs
):
3855 """Snap(self, double INOUT, double INOUT)"""
3856 return _ogl
.Diagram_Snap(*args
, **kwargs
)
3859 class DiagramPtr(Diagram
):
3860 def __init__(self
, this
):
3862 if not hasattr(self
,"thisown"): self
.thisown
= 0
3863 self
.__class
__ = Diagram
3864 _ogl
.Diagram_swigregister(DiagramPtr
)
3866 class PyShapeCanvas(_windows
.ScrolledWindow
):
3868 return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3869 def __init__(self
, *args
, **kwargs
):
3871 __init__(self, Window parent=None, int id=-1, Point pos=DefaultPosition,
3872 Size size=DefaultSize, long style=BORDER,
3873 String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas
3875 newobj
= _ogl
.new_PyShapeCanvas(*args
, **kwargs
)
3876 self
.this
= newobj
.this
3879 self
._setOORandCallbackInfo
(PyShapeCanvas
)
3881 def _setCallbackInfo(*args
, **kwargs
):
3882 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3883 return _ogl
.PyShapeCanvas__setCallbackInfo(*args
, **kwargs
)
3885 def _setOORandCallbackInfo(self
, _class
):
3886 self
._setOORInfo
(self
)
3887 self
._setCallbackInfo
(self
, _class
)
3889 def AddShape(*args
, **kwargs
):
3890 """AddShape(self, PyShape shape, PyShape addAfter=None)"""
3891 return _ogl
.PyShapeCanvas_AddShape(*args
, **kwargs
)
3893 def FindShape(*args
, **kwargs
):
3895 FindShape(self, double x1, double y, int OUTPUT, wxClassInfo info=None,
3896 PyShape notImage=None) -> PyShape
3898 return _ogl
.PyShapeCanvas_FindShape(*args
, **kwargs
)
3900 def FindFirstSensitiveShape(*args
, **kwargs
):
3901 """FindFirstSensitiveShape(self, double x1, double y, int OUTPUT, int op) -> PyShape"""
3902 return _ogl
.PyShapeCanvas_FindFirstSensitiveShape(*args
, **kwargs
)
3904 def GetDiagram(*args
, **kwargs
):
3905 """GetDiagram(self) -> Diagram"""
3906 return _ogl
.PyShapeCanvas_GetDiagram(*args
, **kwargs
)
3908 def GetQuickEditMode(*args
, **kwargs
):
3909 """GetQuickEditMode(self) -> bool"""
3910 return _ogl
.PyShapeCanvas_GetQuickEditMode(*args
, **kwargs
)
3912 def InsertShape(*args
, **kwargs
):
3913 """InsertShape(self, PyShape shape)"""
3914 return _ogl
.PyShapeCanvas_InsertShape(*args
, **kwargs
)
3916 def base_OnBeginDragLeft(*args
, **kwargs
):
3917 """base_OnBeginDragLeft(self, double x, double y, int keys=0)"""
3918 return _ogl
.PyShapeCanvas_base_OnBeginDragLeft(*args
, **kwargs
)
3920 def base_OnBeginDragRight(*args
, **kwargs
):
3921 """base_OnBeginDragRight(self, double x, double y, int keys=0)"""
3922 return _ogl
.PyShapeCanvas_base_OnBeginDragRight(*args
, **kwargs
)
3924 def base_OnEndDragLeft(*args
, **kwargs
):
3925 """base_OnEndDragLeft(self, double x, double y, int keys=0)"""
3926 return _ogl
.PyShapeCanvas_base_OnEndDragLeft(*args
, **kwargs
)
3928 def base_OnEndDragRight(*args
, **kwargs
):
3929 """base_OnEndDragRight(self, double x, double y, int keys=0)"""
3930 return _ogl
.PyShapeCanvas_base_OnEndDragRight(*args
, **kwargs
)
3932 def base_OnDragLeft(*args
, **kwargs
):
3933 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0)"""
3934 return _ogl
.PyShapeCanvas_base_OnDragLeft(*args
, **kwargs
)
3936 def base_OnDragRight(*args
, **kwargs
):
3937 """base_OnDragRight(self, bool draw, double x, double y, int keys=0)"""
3938 return _ogl
.PyShapeCanvas_base_OnDragRight(*args
, **kwargs
)
3940 def base_OnLeftClick(*args
, **kwargs
):
3941 """base_OnLeftClick(self, double x, double y, int keys=0)"""
3942 return _ogl
.PyShapeCanvas_base_OnLeftClick(*args
, **kwargs
)
3944 def base_OnRightClick(*args
, **kwargs
):
3945 """base_OnRightClick(self, double x, double y, int keys=0)"""
3946 return _ogl
.PyShapeCanvas_base_OnRightClick(*args
, **kwargs
)
3948 def Redraw(*args
, **kwargs
):
3949 """Redraw(self, DC dc)"""
3950 return _ogl
.PyShapeCanvas_Redraw(*args
, **kwargs
)
3952 def RemoveShape(*args
, **kwargs
):
3953 """RemoveShape(self, PyShape shape)"""
3954 return _ogl
.PyShapeCanvas_RemoveShape(*args
, **kwargs
)
3956 def SetDiagram(*args
, **kwargs
):
3957 """SetDiagram(self, Diagram diagram)"""
3958 return _ogl
.PyShapeCanvas_SetDiagram(*args
, **kwargs
)
3960 def Snap(*args
, **kwargs
):
3961 """Snap(self, double INOUT, double INOUT)"""
3962 return _ogl
.PyShapeCanvas_Snap(*args
, **kwargs
)
3964 def GetShapeList(self
):
3965 return self
.GetDiagram().GetShapeList()
3968 class PyShapeCanvasPtr(PyShapeCanvas
):
3969 def __init__(self
, this
):
3971 if not hasattr(self
,"thisown"): self
.thisown
= 0
3972 self
.__class
__ = PyShapeCanvas
3973 _ogl
.PyShapeCanvas_swigregister(PyShapeCanvasPtr
)
3976 ShapeCanvas
= PyShapeCanvas
3977 ShapeEvtHandler
= PyShapeEvtHandler
3979 RectangleShape
= PyRectangleShape
3980 BitmapShape
= PyBitmapShape
3981 DrawnShape
= PyDrawnShape
3982 CompositeShape
= PyCompositeShape
3983 DividedShape
= PyDividedShape
3984 DivisionShape
= PyDivisionShape
3985 EllipseShape
= PyEllipseShape
3986 CircleShape
= PyCircleShape
3987 LineShape
= PyLineShape
3988 PolygonShape
= PyPolygonShape
3989 TextShape
= PyTextShape
3990 ControlPoint
= PyControlPoint
3992 KEY_SHIFT
= _ogl
.KEY_SHIFT
3993 KEY_CTRL
= _ogl
.KEY_CTRL
3994 ARROW_NONE
= _ogl
.ARROW_NONE
3995 ARROW_END
= _ogl
.ARROW_END
3996 ARROW_BOTH
= _ogl
.ARROW_BOTH
3997 ARROW_MIDDLE
= _ogl
.ARROW_MIDDLE
3998 ARROW_START
= _ogl
.ARROW_START
3999 ARROW_HOLLOW_CIRCLE
= _ogl
.ARROW_HOLLOW_CIRCLE
4000 ARROW_FILLED_CIRCLE
= _ogl
.ARROW_FILLED_CIRCLE
4001 ARROW_ARROW
= _ogl
.ARROW_ARROW
4002 ARROW_SINGLE_OBLIQUE
= _ogl
.ARROW_SINGLE_OBLIQUE
4003 ARROW_DOUBLE_OBLIQUE
= _ogl
.ARROW_DOUBLE_OBLIQUE
4004 ARROW_METAFILE
= _ogl
.ARROW_METAFILE
4005 ARROW_POSITION_END
= _ogl
.ARROW_POSITION_END
4006 ARROW_POSITION_START
= _ogl
.ARROW_POSITION_START
4007 CONTROL_POINT_VERTICAL
= _ogl
.CONTROL_POINT_VERTICAL
4008 CONTROL_POINT_HORIZONTAL
= _ogl
.CONTROL_POINT_HORIZONTAL
4009 CONTROL_POINT_DIAGONAL
= _ogl
.CONTROL_POINT_DIAGONAL
4010 CONTROL_POINT_ENDPOINT_TO
= _ogl
.CONTROL_POINT_ENDPOINT_TO
4011 CONTROL_POINT_ENDPOINT_FROM
= _ogl
.CONTROL_POINT_ENDPOINT_FROM
4012 CONTROL_POINT_LINE
= _ogl
.CONTROL_POINT_LINE
4013 FORMAT_NONE
= _ogl
.FORMAT_NONE
4014 FORMAT_CENTRE_HORIZ
= _ogl
.FORMAT_CENTRE_HORIZ
4015 FORMAT_CENTRE_VERT
= _ogl
.FORMAT_CENTRE_VERT
4016 FORMAT_SIZE_TO_CONTENTS
= _ogl
.FORMAT_SIZE_TO_CONTENTS
4017 LINE_ALIGNMENT_HORIZ
= _ogl
.LINE_ALIGNMENT_HORIZ
4018 LINE_ALIGNMENT_VERT
= _ogl
.LINE_ALIGNMENT_VERT
4019 LINE_ALIGNMENT_TO_NEXT_HANDLE
= _ogl
.LINE_ALIGNMENT_TO_NEXT_HANDLE
4020 LINE_ALIGNMENT_NONE
= _ogl
.LINE_ALIGNMENT_NONE
4021 SHADOW_NONE
= _ogl
.SHADOW_NONE
4022 SHADOW_LEFT
= _ogl
.SHADOW_LEFT
4023 SHADOW_RIGHT
= _ogl
.SHADOW_RIGHT
4024 OP_CLICK_LEFT
= _ogl
.OP_CLICK_LEFT
4025 OP_CLICK_RIGHT
= _ogl
.OP_CLICK_RIGHT
4026 OP_DRAG_LEFT
= _ogl
.OP_DRAG_LEFT
4027 OP_DRAG_RIGHT
= _ogl
.OP_DRAG_RIGHT
4028 OP_ALL
= _ogl
.OP_ALL
4029 ATTACHMENT_MODE_NONE
= _ogl
.ATTACHMENT_MODE_NONE
4030 ATTACHMENT_MODE_EDGE
= _ogl
.ATTACHMENT_MODE_EDGE
4031 ATTACHMENT_MODE_BRANCHING
= _ogl
.ATTACHMENT_MODE_BRANCHING
4032 BRANCHING_ATTACHMENT_NORMAL
= _ogl
.BRANCHING_ATTACHMENT_NORMAL
4033 BRANCHING_ATTACHMENT_BLOB
= _ogl
.BRANCHING_ATTACHMENT_BLOB
4034 gyCONSTRAINT_CENTRED_VERTICALLY
= _ogl
.gyCONSTRAINT_CENTRED_VERTICALLY
4035 gyCONSTRAINT_CENTRED_HORIZONTALLY
= _ogl
.gyCONSTRAINT_CENTRED_HORIZONTALLY
4036 gyCONSTRAINT_CENTRED_BOTH
= _ogl
.gyCONSTRAINT_CENTRED_BOTH
4037 gyCONSTRAINT_LEFT_OF
= _ogl
.gyCONSTRAINT_LEFT_OF
4038 gyCONSTRAINT_RIGHT_OF
= _ogl
.gyCONSTRAINT_RIGHT_OF
4039 gyCONSTRAINT_ABOVE
= _ogl
.gyCONSTRAINT_ABOVE
4040 gyCONSTRAINT_BELOW
= _ogl
.gyCONSTRAINT_BELOW
4041 gyCONSTRAINT_ALIGNED_TOP
= _ogl
.gyCONSTRAINT_ALIGNED_TOP
4042 gyCONSTRAINT_ALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_ALIGNED_BOTTOM
4043 gyCONSTRAINT_ALIGNED_LEFT
= _ogl
.gyCONSTRAINT_ALIGNED_LEFT
4044 gyCONSTRAINT_ALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_ALIGNED_RIGHT
4045 gyCONSTRAINT_MIDALIGNED_TOP
= _ogl
.gyCONSTRAINT_MIDALIGNED_TOP
4046 gyCONSTRAINT_MIDALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_MIDALIGNED_BOTTOM
4047 gyCONSTRAINT_MIDALIGNED_LEFT
= _ogl
.gyCONSTRAINT_MIDALIGNED_LEFT
4048 gyCONSTRAINT_MIDALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_MIDALIGNED_RIGHT
4049 DIVISION_SIDE_NONE
= _ogl
.DIVISION_SIDE_NONE
4050 DIVISION_SIDE_LEFT
= _ogl
.DIVISION_SIDE_LEFT
4051 DIVISION_SIDE_TOP
= _ogl
.DIVISION_SIDE_TOP
4052 DIVISION_SIDE_RIGHT
= _ogl
.DIVISION_SIDE_RIGHT
4053 DIVISION_SIDE_BOTTOM
= _ogl
.DIVISION_SIDE_BOTTOM
4055 def OGLInitialize(*args
, **kwargs
):
4056 """OGLInitialize()"""
4057 return _ogl
.OGLInitialize(*args
, **kwargs
)
4059 def OGLCleanUp(*args
, **kwargs
):
4061 return _ogl
.OGLCleanUp(*args
, **kwargs
)