1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
9 __docfilter__
= wx
.__DocFilter
(globals())
10 #---------------------------------------------------------------------------
12 class ShapeRegion(_core
.Object
):
14 return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
15 def __init__(self
, *args
, **kwargs
):
16 """__init__(self) -> ShapeRegion"""
17 newobj
= _ogl
.new_ShapeRegion(*args
, **kwargs
)
18 self
.this
= newobj
.this
21 def SetText(*args
, **kwargs
):
22 """SetText(self, String s)"""
23 return _ogl
.ShapeRegion_SetText(*args
, **kwargs
)
25 def SetFont(*args
, **kwargs
):
26 """SetFont(self, Font f)"""
27 return _ogl
.ShapeRegion_SetFont(*args
, **kwargs
)
29 def SetMinSize(*args
, **kwargs
):
30 """SetMinSize(self, double w, double h)"""
31 return _ogl
.ShapeRegion_SetMinSize(*args
, **kwargs
)
33 def SetSize(*args
, **kwargs
):
34 """SetSize(self, double w, double h)"""
35 return _ogl
.ShapeRegion_SetSize(*args
, **kwargs
)
37 def SetPosition(*args
, **kwargs
):
38 """SetPosition(self, double x, double y)"""
39 return _ogl
.ShapeRegion_SetPosition(*args
, **kwargs
)
41 def SetProportions(*args
, **kwargs
):
42 """SetProportions(self, double x, double y)"""
43 return _ogl
.ShapeRegion_SetProportions(*args
, **kwargs
)
45 def SetFormatMode(*args
, **kwargs
):
46 """SetFormatMode(self, int mode)"""
47 return _ogl
.ShapeRegion_SetFormatMode(*args
, **kwargs
)
49 def SetName(*args
, **kwargs
):
50 """SetName(self, String s)"""
51 return _ogl
.ShapeRegion_SetName(*args
, **kwargs
)
53 def SetColour(*args
, **kwargs
):
54 """SetColour(self, String col)"""
55 return _ogl
.ShapeRegion_SetColour(*args
, **kwargs
)
57 def GetText(*args
, **kwargs
):
58 """GetText(self) -> String"""
59 return _ogl
.ShapeRegion_GetText(*args
, **kwargs
)
61 def GetFont(*args
, **kwargs
):
62 """GetFont(self) -> Font"""
63 return _ogl
.ShapeRegion_GetFont(*args
, **kwargs
)
65 def GetMinSize(*args
, **kwargs
):
66 """GetMinSize(self, double OUTPUT, double OUTPUT)"""
67 return _ogl
.ShapeRegion_GetMinSize(*args
, **kwargs
)
69 def GetProportion(*args
, **kwargs
):
70 """GetProportion(self, double OUTPUT, double OUTPUT)"""
71 return _ogl
.ShapeRegion_GetProportion(*args
, **kwargs
)
73 def GetSize(*args
, **kwargs
):
74 """GetSize(self, double OUTPUT, double OUTPUT)"""
75 return _ogl
.ShapeRegion_GetSize(*args
, **kwargs
)
77 def GetPosition(*args
, **kwargs
):
78 """GetPosition(self, double OUTPUT, double OUTPUT)"""
79 return _ogl
.ShapeRegion_GetPosition(*args
, **kwargs
)
81 def GetFormatMode(*args
, **kwargs
):
82 """GetFormatMode(self) -> int"""
83 return _ogl
.ShapeRegion_GetFormatMode(*args
, **kwargs
)
85 def GetName(*args
, **kwargs
):
86 """GetName(self) -> String"""
87 return _ogl
.ShapeRegion_GetName(*args
, **kwargs
)
89 def GetColour(*args
, **kwargs
):
90 """GetColour(self) -> String"""
91 return _ogl
.ShapeRegion_GetColour(*args
, **kwargs
)
93 def GetActualColourObject(*args
, **kwargs
):
94 """GetActualColourObject(self) -> Colour"""
95 return _ogl
.ShapeRegion_GetActualColourObject(*args
, **kwargs
)
97 def GetFormattedText(*args
, **kwargs
):
98 """GetFormattedText(self) -> wxList"""
99 return _ogl
.ShapeRegion_GetFormattedText(*args
, **kwargs
)
101 def GetPenColour(*args
, **kwargs
):
102 """GetPenColour(self) -> String"""
103 return _ogl
.ShapeRegion_GetPenColour(*args
, **kwargs
)
105 def GetPenStyle(*args
, **kwargs
):
106 """GetPenStyle(self) -> int"""
107 return _ogl
.ShapeRegion_GetPenStyle(*args
, **kwargs
)
109 def SetPenStyle(*args
, **kwargs
):
110 """SetPenStyle(self, int style)"""
111 return _ogl
.ShapeRegion_SetPenStyle(*args
, **kwargs
)
113 def SetPenColour(*args
, **kwargs
):
114 """SetPenColour(self, String col)"""
115 return _ogl
.ShapeRegion_SetPenColour(*args
, **kwargs
)
117 def GetActualPen(*args
, **kwargs
):
118 """GetActualPen(self) -> wxPen"""
119 return _ogl
.ShapeRegion_GetActualPen(*args
, **kwargs
)
121 def GetWidth(*args
, **kwargs
):
122 """GetWidth(self) -> double"""
123 return _ogl
.ShapeRegion_GetWidth(*args
, **kwargs
)
125 def GetHeight(*args
, **kwargs
):
126 """GetHeight(self) -> double"""
127 return _ogl
.ShapeRegion_GetHeight(*args
, **kwargs
)
129 def ClearText(*args
, **kwargs
):
130 """ClearText(self)"""
131 return _ogl
.ShapeRegion_ClearText(*args
, **kwargs
)
134 class ShapeRegionPtr(ShapeRegion
):
135 def __init__(self
, this
):
137 if not hasattr(self
,"thisown"): self
.thisown
= 0
138 self
.__class
__ = ShapeRegion
139 _ogl
.ShapeRegion_swigregister(ShapeRegionPtr
)
141 class AttachmentPoint(_core
.Object
):
143 return "<%s.%s; proxy of C++ wxAttachmentPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
144 def __init__(self
, *args
, **kwargs
):
145 """__init__(self, int id=0, double x=0.0, double y=0.0) -> AttachmentPoint"""
146 newobj
= _ogl
.new_AttachmentPoint(*args
, **kwargs
)
147 self
.this
= newobj
.this
150 m_id
= property(_ogl
.AttachmentPoint_m_id_get
, _ogl
.AttachmentPoint_m_id_set
)
151 m_x
= property(_ogl
.AttachmentPoint_m_x_get
, _ogl
.AttachmentPoint_m_x_set
)
152 m_y
= property(_ogl
.AttachmentPoint_m_y_get
, _ogl
.AttachmentPoint_m_y_set
)
154 class AttachmentPointPtr(AttachmentPoint
):
155 def __init__(self
, this
):
157 if not hasattr(self
,"thisown"): self
.thisown
= 0
158 self
.__class
__ = AttachmentPoint
159 _ogl
.AttachmentPoint_swigregister(AttachmentPointPtr
)
161 class PyShapeEvtHandler(_core
.Object
):
163 return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
164 def __init__(self
, *args
, **kwargs
):
165 """__init__(self, PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler"""
166 newobj
= _ogl
.new_PyShapeEvtHandler(*args
, **kwargs
)
167 self
.this
= newobj
.this
170 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
172 def _setCallbackInfo(*args
, **kwargs
):
173 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
174 return _ogl
.PyShapeEvtHandler__setCallbackInfo(*args
, **kwargs
)
176 def _setOORInfo(*args
, **kwargs
):
177 """_setOORInfo(self, PyObject _self)"""
178 return _ogl
.PyShapeEvtHandler__setOORInfo(*args
, **kwargs
)
180 def _setOORandCallbackInfo(self
, _class
):
181 self
._setOORInfo
(self
)
182 self
._setCallbackInfo
(self
, _class
)
184 def SetShape(*args
, **kwargs
):
185 """SetShape(self, PyShape sh)"""
186 return _ogl
.PyShapeEvtHandler_SetShape(*args
, **kwargs
)
188 def GetShape(*args
, **kwargs
):
189 """GetShape(self) -> PyShape"""
190 return _ogl
.PyShapeEvtHandler_GetShape(*args
, **kwargs
)
192 def SetPreviousHandler(*args
, **kwargs
):
193 """SetPreviousHandler(self, PyShapeEvtHandler handler)"""
194 return _ogl
.PyShapeEvtHandler_SetPreviousHandler(*args
, **kwargs
)
196 def GetPreviousHandler(*args
, **kwargs
):
197 """GetPreviousHandler(self) -> PyShapeEvtHandler"""
198 return _ogl
.PyShapeEvtHandler_GetPreviousHandler(*args
, **kwargs
)
200 def CreateNewCopy(*args
, **kwargs
):
201 """CreateNewCopy(self) -> PyShapeEvtHandler"""
202 return _ogl
.PyShapeEvtHandler_CreateNewCopy(*args
, **kwargs
)
204 def base_OnDelete(*args
, **kwargs
):
205 """base_OnDelete(self)"""
206 return _ogl
.PyShapeEvtHandler_base_OnDelete(*args
, **kwargs
)
208 def base_OnDraw(*args
, **kwargs
):
209 """base_OnDraw(self, DC dc)"""
210 return _ogl
.PyShapeEvtHandler_base_OnDraw(*args
, **kwargs
)
212 def base_OnDrawContents(*args
, **kwargs
):
213 """base_OnDrawContents(self, DC dc)"""
214 return _ogl
.PyShapeEvtHandler_base_OnDrawContents(*args
, **kwargs
)
216 def base_OnDrawBranches(*args
, **kwargs
):
217 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
218 return _ogl
.PyShapeEvtHandler_base_OnDrawBranches(*args
, **kwargs
)
220 def base_OnMoveLinks(*args
, **kwargs
):
221 """base_OnMoveLinks(self, DC dc)"""
222 return _ogl
.PyShapeEvtHandler_base_OnMoveLinks(*args
, **kwargs
)
224 def base_OnErase(*args
, **kwargs
):
225 """base_OnErase(self, DC dc)"""
226 return _ogl
.PyShapeEvtHandler_base_OnErase(*args
, **kwargs
)
228 def base_OnEraseContents(*args
, **kwargs
):
229 """base_OnEraseContents(self, DC dc)"""
230 return _ogl
.PyShapeEvtHandler_base_OnEraseContents(*args
, **kwargs
)
232 def base_OnHighlight(*args
, **kwargs
):
233 """base_OnHighlight(self, DC dc)"""
234 return _ogl
.PyShapeEvtHandler_base_OnHighlight(*args
, **kwargs
)
236 def base_OnLeftClick(*args
, **kwargs
):
237 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
238 return _ogl
.PyShapeEvtHandler_base_OnLeftClick(*args
, **kwargs
)
240 def base_OnLeftDoubleClick(*args
, **kwargs
):
241 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
242 return _ogl
.PyShapeEvtHandler_base_OnLeftDoubleClick(*args
, **kwargs
)
244 def base_OnRightClick(*args
, **kwargs
):
245 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
246 return _ogl
.PyShapeEvtHandler_base_OnRightClick(*args
, **kwargs
)
248 def base_OnSize(*args
, **kwargs
):
249 """base_OnSize(self, double x, double y)"""
250 return _ogl
.PyShapeEvtHandler_base_OnSize(*args
, **kwargs
)
252 def base_OnMovePre(*args
, **kwargs
):
254 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
255 bool display=True) -> bool
257 return _ogl
.PyShapeEvtHandler_base_OnMovePre(*args
, **kwargs
)
259 def base_OnMovePost(*args
, **kwargs
):
261 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
264 return _ogl
.PyShapeEvtHandler_base_OnMovePost(*args
, **kwargs
)
266 def base_OnDragLeft(*args
, **kwargs
):
267 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
268 return _ogl
.PyShapeEvtHandler_base_OnDragLeft(*args
, **kwargs
)
270 def base_OnBeginDragLeft(*args
, **kwargs
):
271 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
272 return _ogl
.PyShapeEvtHandler_base_OnBeginDragLeft(*args
, **kwargs
)
274 def base_OnEndDragLeft(*args
, **kwargs
):
275 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
276 return _ogl
.PyShapeEvtHandler_base_OnEndDragLeft(*args
, **kwargs
)
278 def base_OnDragRight(*args
, **kwargs
):
279 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
280 return _ogl
.PyShapeEvtHandler_base_OnDragRight(*args
, **kwargs
)
282 def base_OnBeginDragRight(*args
, **kwargs
):
283 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
284 return _ogl
.PyShapeEvtHandler_base_OnBeginDragRight(*args
, **kwargs
)
286 def base_OnEndDragRight(*args
, **kwargs
):
287 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
288 return _ogl
.PyShapeEvtHandler_base_OnEndDragRight(*args
, **kwargs
)
290 def base_OnDrawOutline(*args
, **kwargs
):
291 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
292 return _ogl
.PyShapeEvtHandler_base_OnDrawOutline(*args
, **kwargs
)
294 def base_OnDrawControlPoints(*args
, **kwargs
):
295 """base_OnDrawControlPoints(self, DC dc)"""
296 return _ogl
.PyShapeEvtHandler_base_OnDrawControlPoints(*args
, **kwargs
)
298 def base_OnEraseControlPoints(*args
, **kwargs
):
299 """base_OnEraseControlPoints(self, DC dc)"""
300 return _ogl
.PyShapeEvtHandler_base_OnEraseControlPoints(*args
, **kwargs
)
302 def base_OnMoveLink(*args
, **kwargs
):
303 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
304 return _ogl
.PyShapeEvtHandler_base_OnMoveLink(*args
, **kwargs
)
306 def base_OnSizingDragLeft(*args
, **kwargs
):
308 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
311 return _ogl
.PyShapeEvtHandler_base_OnSizingDragLeft(*args
, **kwargs
)
313 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
315 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
318 return _ogl
.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args
, **kwargs
)
320 def base_OnSizingEndDragLeft(*args
, **kwargs
):
322 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
325 return _ogl
.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args
, **kwargs
)
327 def base_OnBeginSize(*args
, **kwargs
):
328 """base_OnBeginSize(self, double w, double h)"""
329 return _ogl
.PyShapeEvtHandler_base_OnBeginSize(*args
, **kwargs
)
331 def base_OnEndSize(*args
, **kwargs
):
332 """base_OnEndSize(self, double w, double h)"""
333 return _ogl
.PyShapeEvtHandler_base_OnEndSize(*args
, **kwargs
)
336 class PyShapeEvtHandlerPtr(PyShapeEvtHandler
):
337 def __init__(self
, this
):
339 if not hasattr(self
,"thisown"): self
.thisown
= 0
340 self
.__class
__ = PyShapeEvtHandler
341 _ogl
.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr
)
343 class PyShape(PyShapeEvtHandler
):
345 return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
346 def __init__(self
, *args
, **kwargs
):
347 """__init__(self, PyShapeCanvas can=None) -> PyShape"""
348 newobj
= _ogl
.new_PyShape(*args
, **kwargs
)
349 self
.this
= newobj
.this
352 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
354 def _setCallbackInfo(*args
, **kwargs
):
355 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
356 return _ogl
.PyShape__setCallbackInfo(*args
, **kwargs
)
358 def GetBoundingBoxMax(*args
, **kwargs
):
359 """GetBoundingBoxMax(self, double OUTPUT, double OUTPUT)"""
360 return _ogl
.PyShape_GetBoundingBoxMax(*args
, **kwargs
)
362 def GetBoundingBoxMin(*args
, **kwargs
):
363 """GetBoundingBoxMin(self, double OUTPUT, double OUTPUT)"""
364 return _ogl
.PyShape_GetBoundingBoxMin(*args
, **kwargs
)
366 def GetPerimeterPoint(*args
, **kwargs
):
368 GetPerimeterPoint(self, double x1, double y1, double x2, double y2, double OUTPUT,
369 double OUTPUT) -> bool
371 return _ogl
.PyShape_GetPerimeterPoint(*args
, **kwargs
)
373 def GetCanvas(*args
, **kwargs
):
374 """GetCanvas(self) -> PyShapeCanvas"""
375 return _ogl
.PyShape_GetCanvas(*args
, **kwargs
)
377 def SetCanvas(*args
, **kwargs
):
378 """SetCanvas(self, PyShapeCanvas the_canvas)"""
379 return _ogl
.PyShape_SetCanvas(*args
, **kwargs
)
381 def AddToCanvas(*args
, **kwargs
):
382 """AddToCanvas(self, PyShapeCanvas the_canvas, PyShape addAfter=None)"""
383 return _ogl
.PyShape_AddToCanvas(*args
, **kwargs
)
385 def InsertInCanvas(*args
, **kwargs
):
386 """InsertInCanvas(self, PyShapeCanvas the_canvas)"""
387 return _ogl
.PyShape_InsertInCanvas(*args
, **kwargs
)
389 def RemoveFromCanvas(*args
, **kwargs
):
390 """RemoveFromCanvas(self, PyShapeCanvas the_canvas)"""
391 return _ogl
.PyShape_RemoveFromCanvas(*args
, **kwargs
)
393 def GetX(*args
, **kwargs
):
394 """GetX(self) -> double"""
395 return _ogl
.PyShape_GetX(*args
, **kwargs
)
397 def GetY(*args
, **kwargs
):
398 """GetY(self) -> double"""
399 return _ogl
.PyShape_GetY(*args
, **kwargs
)
401 def SetX(*args
, **kwargs
):
402 """SetX(self, double x)"""
403 return _ogl
.PyShape_SetX(*args
, **kwargs
)
405 def SetY(*args
, **kwargs
):
406 """SetY(self, double y)"""
407 return _ogl
.PyShape_SetY(*args
, **kwargs
)
409 def GetParent(*args
, **kwargs
):
410 """GetParent(self) -> PyShape"""
411 return _ogl
.PyShape_GetParent(*args
, **kwargs
)
413 def SetParent(*args
, **kwargs
):
414 """SetParent(self, PyShape p)"""
415 return _ogl
.PyShape_SetParent(*args
, **kwargs
)
417 def GetTopAncestor(*args
, **kwargs
):
418 """GetTopAncestor(self) -> PyShape"""
419 return _ogl
.PyShape_GetTopAncestor(*args
, **kwargs
)
421 def GetChildren(*args
, **kwargs
):
422 """GetChildren(self) -> PyObject"""
423 return _ogl
.PyShape_GetChildren(*args
, **kwargs
)
425 def Unlink(*args
, **kwargs
):
427 return _ogl
.PyShape_Unlink(*args
, **kwargs
)
429 def SetDrawHandles(*args
, **kwargs
):
430 """SetDrawHandles(self, bool drawH)"""
431 return _ogl
.PyShape_SetDrawHandles(*args
, **kwargs
)
433 def GetDrawHandles(*args
, **kwargs
):
434 """GetDrawHandles(self) -> bool"""
435 return _ogl
.PyShape_GetDrawHandles(*args
, **kwargs
)
437 def MakeControlPoints(*args
, **kwargs
):
438 """MakeControlPoints(self)"""
439 return _ogl
.PyShape_MakeControlPoints(*args
, **kwargs
)
441 def DeleteControlPoints(*args
, **kwargs
):
442 """DeleteControlPoints(self, DC dc=None)"""
443 return _ogl
.PyShape_DeleteControlPoints(*args
, **kwargs
)
445 def ResetControlPoints(*args
, **kwargs
):
446 """ResetControlPoints(self)"""
447 return _ogl
.PyShape_ResetControlPoints(*args
, **kwargs
)
449 def GetEventHandler(*args
, **kwargs
):
450 """GetEventHandler(self) -> PyShapeEvtHandler"""
451 return _ogl
.PyShape_GetEventHandler(*args
, **kwargs
)
453 def SetEventHandler(*args
, **kwargs
):
454 """SetEventHandler(self, PyShapeEvtHandler handler)"""
455 return _ogl
.PyShape_SetEventHandler(*args
, **kwargs
)
457 def MakeMandatoryControlPoints(*args
, **kwargs
):
458 """MakeMandatoryControlPoints(self)"""
459 return _ogl
.PyShape_MakeMandatoryControlPoints(*args
, **kwargs
)
461 def ResetMandatoryControlPoints(*args
, **kwargs
):
462 """ResetMandatoryControlPoints(self)"""
463 return _ogl
.PyShape_ResetMandatoryControlPoints(*args
, **kwargs
)
465 def Recompute(*args
, **kwargs
):
466 """Recompute(self) -> bool"""
467 return _ogl
.PyShape_Recompute(*args
, **kwargs
)
469 def CalculateSize(*args
, **kwargs
):
470 """CalculateSize(self)"""
471 return _ogl
.PyShape_CalculateSize(*args
, **kwargs
)
473 def Select(*args
, **kwargs
):
474 """Select(self, bool select=True, DC dc=None)"""
475 return _ogl
.PyShape_Select(*args
, **kwargs
)
477 def SetHighlight(*args
, **kwargs
):
478 """SetHighlight(self, bool hi=True, bool recurse=False)"""
479 return _ogl
.PyShape_SetHighlight(*args
, **kwargs
)
481 def IsHighlighted(*args
, **kwargs
):
482 """IsHighlighted(self) -> bool"""
483 return _ogl
.PyShape_IsHighlighted(*args
, **kwargs
)
485 def Selected(*args
, **kwargs
):
486 """Selected(self) -> bool"""
487 return _ogl
.PyShape_Selected(*args
, **kwargs
)
489 def AncestorSelected(*args
, **kwargs
):
490 """AncestorSelected(self) -> bool"""
491 return _ogl
.PyShape_AncestorSelected(*args
, **kwargs
)
493 def SetSensitivityFilter(*args
, **kwargs
):
494 """SetSensitivityFilter(self, int sens=OP_ALL, bool recursive=False)"""
495 return _ogl
.PyShape_SetSensitivityFilter(*args
, **kwargs
)
497 def GetSensitivityFilter(*args
, **kwargs
):
498 """GetSensitivityFilter(self) -> int"""
499 return _ogl
.PyShape_GetSensitivityFilter(*args
, **kwargs
)
501 def SetDraggable(*args
, **kwargs
):
502 """SetDraggable(self, bool drag, bool recursive=False)"""
503 return _ogl
.PyShape_SetDraggable(*args
, **kwargs
)
505 def SetFixedSize(*args
, **kwargs
):
506 """SetFixedSize(self, bool x, bool y)"""
507 return _ogl
.PyShape_SetFixedSize(*args
, **kwargs
)
509 def GetFixedSize(*args
, **kwargs
):
510 """GetFixedSize(self, bool OUTPUT, bool OUTPUT)"""
511 return _ogl
.PyShape_GetFixedSize(*args
, **kwargs
)
513 def GetFixedWidth(*args
, **kwargs
):
514 """GetFixedWidth(self) -> bool"""
515 return _ogl
.PyShape_GetFixedWidth(*args
, **kwargs
)
517 def GetFixedHeight(*args
, **kwargs
):
518 """GetFixedHeight(self) -> bool"""
519 return _ogl
.PyShape_GetFixedHeight(*args
, **kwargs
)
521 def SetSpaceAttachments(*args
, **kwargs
):
522 """SetSpaceAttachments(self, bool sp)"""
523 return _ogl
.PyShape_SetSpaceAttachments(*args
, **kwargs
)
525 def GetSpaceAttachments(*args
, **kwargs
):
526 """GetSpaceAttachments(self) -> bool"""
527 return _ogl
.PyShape_GetSpaceAttachments(*args
, **kwargs
)
529 def SetShadowMode(*args
, **kwargs
):
530 """SetShadowMode(self, int mode, bool redraw=False)"""
531 return _ogl
.PyShape_SetShadowMode(*args
, **kwargs
)
533 def GetShadowMode(*args
, **kwargs
):
534 """GetShadowMode(self) -> int"""
535 return _ogl
.PyShape_GetShadowMode(*args
, **kwargs
)
537 def HitTest(*args
, **kwargs
):
538 """HitTest(self, double x, double y, int OUTPUT, double OUTPUT) -> bool"""
539 return _ogl
.PyShape_HitTest(*args
, **kwargs
)
541 def SetCentreResize(*args
, **kwargs
):
542 """SetCentreResize(self, bool cr)"""
543 return _ogl
.PyShape_SetCentreResize(*args
, **kwargs
)
545 def GetCentreResize(*args
, **kwargs
):
546 """GetCentreResize(self) -> bool"""
547 return _ogl
.PyShape_GetCentreResize(*args
, **kwargs
)
549 def SetMaintainAspectRatio(*args
, **kwargs
):
550 """SetMaintainAspectRatio(self, bool ar)"""
551 return _ogl
.PyShape_SetMaintainAspectRatio(*args
, **kwargs
)
553 def GetMaintainAspectRatio(*args
, **kwargs
):
554 """GetMaintainAspectRatio(self) -> bool"""
555 return _ogl
.PyShape_GetMaintainAspectRatio(*args
, **kwargs
)
557 def GetLines(*args
, **kwargs
):
558 """GetLines(self) -> PyObject"""
559 return _ogl
.PyShape_GetLines(*args
, **kwargs
)
561 def SetDisableLabel(*args
, **kwargs
):
562 """SetDisableLabel(self, bool flag)"""
563 return _ogl
.PyShape_SetDisableLabel(*args
, **kwargs
)
565 def GetDisableLabel(*args
, **kwargs
):
566 """GetDisableLabel(self) -> bool"""
567 return _ogl
.PyShape_GetDisableLabel(*args
, **kwargs
)
569 def SetAttachmentMode(*args
, **kwargs
):
570 """SetAttachmentMode(self, int mode)"""
571 return _ogl
.PyShape_SetAttachmentMode(*args
, **kwargs
)
573 def GetAttachmentMode(*args
, **kwargs
):
574 """GetAttachmentMode(self) -> int"""
575 return _ogl
.PyShape_GetAttachmentMode(*args
, **kwargs
)
577 def SetId(*args
, **kwargs
):
578 """SetId(self, long i)"""
579 return _ogl
.PyShape_SetId(*args
, **kwargs
)
581 def GetId(*args
, **kwargs
):
582 """GetId(self) -> long"""
583 return _ogl
.PyShape_GetId(*args
, **kwargs
)
585 def SetPen(*args
, **kwargs
):
586 """SetPen(self, wxPen pen)"""
587 return _ogl
.PyShape_SetPen(*args
, **kwargs
)
589 def SetBrush(*args
, **kwargs
):
590 """SetBrush(self, wxBrush brush)"""
591 return _ogl
.PyShape_SetBrush(*args
, **kwargs
)
593 def SetClientData(self
, data
):
594 self
.clientData
= data
595 def GetClientData(self
):
596 if hasattr(self
, 'clientData'):
597 return self
.clientData
601 def Show(*args
, **kwargs
):
602 """Show(self, bool show)"""
603 return _ogl
.PyShape_Show(*args
, **kwargs
)
605 def IsShown(*args
, **kwargs
):
606 """IsShown(self) -> bool"""
607 return _ogl
.PyShape_IsShown(*args
, **kwargs
)
609 def Move(*args
, **kwargs
):
610 """Move(self, DC dc, double x1, double y1, bool display=True)"""
611 return _ogl
.PyShape_Move(*args
, **kwargs
)
613 def Erase(*args
, **kwargs
):
614 """Erase(self, DC dc)"""
615 return _ogl
.PyShape_Erase(*args
, **kwargs
)
617 def EraseContents(*args
, **kwargs
):
618 """EraseContents(self, DC dc)"""
619 return _ogl
.PyShape_EraseContents(*args
, **kwargs
)
621 def Draw(*args
, **kwargs
):
622 """Draw(self, DC dc)"""
623 return _ogl
.PyShape_Draw(*args
, **kwargs
)
625 def Flash(*args
, **kwargs
):
627 return _ogl
.PyShape_Flash(*args
, **kwargs
)
629 def MoveLinks(*args
, **kwargs
):
630 """MoveLinks(self, DC dc)"""
631 return _ogl
.PyShape_MoveLinks(*args
, **kwargs
)
633 def DrawContents(*args
, **kwargs
):
634 """DrawContents(self, DC dc)"""
635 return _ogl
.PyShape_DrawContents(*args
, **kwargs
)
637 def SetSize(*args
, **kwargs
):
638 """SetSize(self, double x, double y, bool recursive=True)"""
639 return _ogl
.PyShape_SetSize(*args
, **kwargs
)
641 def SetAttachmentSize(*args
, **kwargs
):
642 """SetAttachmentSize(self, double x, double y)"""
643 return _ogl
.PyShape_SetAttachmentSize(*args
, **kwargs
)
645 def Attach(*args
, **kwargs
):
646 """Attach(self, PyShapeCanvas can)"""
647 return _ogl
.PyShape_Attach(*args
, **kwargs
)
649 def Detach(*args
, **kwargs
):
651 return _ogl
.PyShape_Detach(*args
, **kwargs
)
653 def Constrain(*args
, **kwargs
):
654 """Constrain(self) -> bool"""
655 return _ogl
.PyShape_Constrain(*args
, **kwargs
)
657 def AddLine(*args
, **kwargs
):
659 AddLine(self, PyLineShape line, PyShape other, int attachFrom=0,
660 int attachTo=0, int positionFrom=-1, int positionTo=-1)
662 return _ogl
.PyShape_AddLine(*args
, **kwargs
)
664 def GetLinePosition(*args
, **kwargs
):
665 """GetLinePosition(self, PyLineShape line) -> int"""
666 return _ogl
.PyShape_GetLinePosition(*args
, **kwargs
)
668 def AddText(*args
, **kwargs
):
669 """AddText(self, String string)"""
670 return _ogl
.PyShape_AddText(*args
, **kwargs
)
672 def GetPen(*args
, **kwargs
):
673 """GetPen(self) -> wxPen"""
674 return _ogl
.PyShape_GetPen(*args
, **kwargs
)
676 def GetBrush(*args
, **kwargs
):
677 """GetBrush(self) -> wxBrush"""
678 return _ogl
.PyShape_GetBrush(*args
, **kwargs
)
680 def SetDefaultRegionSize(*args
, **kwargs
):
681 """SetDefaultRegionSize(self)"""
682 return _ogl
.PyShape_SetDefaultRegionSize(*args
, **kwargs
)
684 def FormatText(*args
, **kwargs
):
685 """FormatText(self, DC dc, String s, int regionId=0)"""
686 return _ogl
.PyShape_FormatText(*args
, **kwargs
)
688 def SetFormatMode(*args
, **kwargs
):
689 """SetFormatMode(self, int mode, int regionId=0)"""
690 return _ogl
.PyShape_SetFormatMode(*args
, **kwargs
)
692 def GetFormatMode(*args
, **kwargs
):
693 """GetFormatMode(self, int regionId=0) -> int"""
694 return _ogl
.PyShape_GetFormatMode(*args
, **kwargs
)
696 def SetFont(*args
, **kwargs
):
697 """SetFont(self, Font font, int regionId=0)"""
698 return _ogl
.PyShape_SetFont(*args
, **kwargs
)
700 def GetFont(*args
, **kwargs
):
701 """GetFont(self, int regionId=0) -> Font"""
702 return _ogl
.PyShape_GetFont(*args
, **kwargs
)
704 def SetTextColour(*args
, **kwargs
):
705 """SetTextColour(self, String colour, int regionId=0)"""
706 return _ogl
.PyShape_SetTextColour(*args
, **kwargs
)
708 def GetTextColour(*args
, **kwargs
):
709 """GetTextColour(self, int regionId=0) -> String"""
710 return _ogl
.PyShape_GetTextColour(*args
, **kwargs
)
712 def GetNumberOfTextRegions(*args
, **kwargs
):
713 """GetNumberOfTextRegions(self) -> int"""
714 return _ogl
.PyShape_GetNumberOfTextRegions(*args
, **kwargs
)
716 def SetRegionName(*args
, **kwargs
):
717 """SetRegionName(self, String name, int regionId=0)"""
718 return _ogl
.PyShape_SetRegionName(*args
, **kwargs
)
720 def GetRegionName(*args
, **kwargs
):
721 """GetRegionName(self, int regionId) -> String"""
722 return _ogl
.PyShape_GetRegionName(*args
, **kwargs
)
724 def GetRegionId(*args
, **kwargs
):
725 """GetRegionId(self, String name) -> int"""
726 return _ogl
.PyShape_GetRegionId(*args
, **kwargs
)
728 def NameRegions(*args
, **kwargs
):
729 """NameRegions(self, String parentName=EmptyString)"""
730 return _ogl
.PyShape_NameRegions(*args
, **kwargs
)
732 def GetRegions(*args
, **kwargs
):
733 """GetRegions(self) -> PyObject"""
734 return _ogl
.PyShape_GetRegions(*args
, **kwargs
)
736 def AddRegion(*args
, **kwargs
):
737 """AddRegion(self, ShapeRegion region)"""
738 return _ogl
.PyShape_AddRegion(*args
, **kwargs
)
740 def ClearRegions(*args
, **kwargs
):
741 """ClearRegions(self)"""
742 return _ogl
.PyShape_ClearRegions(*args
, **kwargs
)
744 def AssignNewIds(*args
, **kwargs
):
745 """AssignNewIds(self)"""
746 return _ogl
.PyShape_AssignNewIds(*args
, **kwargs
)
748 def FindRegion(*args
, **kwargs
):
749 """FindRegion(self, String regionName, int OUTPUT) -> PyShape"""
750 return _ogl
.PyShape_FindRegion(*args
, **kwargs
)
752 def FindRegionNames(*args
, **kwargs
):
753 """FindRegionNames(self, wxStringList list)"""
754 return _ogl
.PyShape_FindRegionNames(*args
, **kwargs
)
756 def ClearText(*args
, **kwargs
):
757 """ClearText(self, int regionId=0)"""
758 return _ogl
.PyShape_ClearText(*args
, **kwargs
)
760 def RemoveLine(*args
, **kwargs
):
761 """RemoveLine(self, PyLineShape line)"""
762 return _ogl
.PyShape_RemoveLine(*args
, **kwargs
)
764 def GetAttachmentPosition(*args
, **kwargs
):
766 GetAttachmentPosition(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
767 int no_arcs=1, PyLineShape line=None) -> bool
769 return _ogl
.PyShape_GetAttachmentPosition(*args
, **kwargs
)
771 def GetNumberOfAttachments(*args
, **kwargs
):
772 """GetNumberOfAttachments(self) -> int"""
773 return _ogl
.PyShape_GetNumberOfAttachments(*args
, **kwargs
)
775 def AttachmentIsValid(*args
, **kwargs
):
776 """AttachmentIsValid(self, int attachment) -> bool"""
777 return _ogl
.PyShape_AttachmentIsValid(*args
, **kwargs
)
779 def GetAttachments(*args
, **kwargs
):
780 """GetAttachments(self) -> PyObject"""
781 return _ogl
.PyShape_GetAttachments(*args
, **kwargs
)
783 def GetAttachmentPositionEdge(*args
, **kwargs
):
785 GetAttachmentPositionEdge(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
786 int no_arcs=1, PyLineShape line=None) -> bool
788 return _ogl
.PyShape_GetAttachmentPositionEdge(*args
, **kwargs
)
790 def CalcSimpleAttachment(*args
, **kwargs
):
792 CalcSimpleAttachment(self, RealPoint pt1, RealPoint pt2, int nth, int noArcs,
793 PyLineShape line) -> RealPoint
795 return _ogl
.PyShape_CalcSimpleAttachment(*args
, **kwargs
)
797 def AttachmentSortTest(*args
, **kwargs
):
798 """AttachmentSortTest(self, int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool"""
799 return _ogl
.PyShape_AttachmentSortTest(*args
, **kwargs
)
801 def EraseLinks(*args
, **kwargs
):
802 """EraseLinks(self, DC dc, int attachment=-1, bool recurse=False)"""
803 return _ogl
.PyShape_EraseLinks(*args
, **kwargs
)
805 def DrawLinks(*args
, **kwargs
):
806 """DrawLinks(self, DC dc, int attachment=-1, bool recurse=False)"""
807 return _ogl
.PyShape_DrawLinks(*args
, **kwargs
)
809 def MoveLineToNewAttachment(*args
, **kwargs
):
810 """MoveLineToNewAttachment(self, DC dc, PyLineShape to_move, double x, double y) -> bool"""
811 return _ogl
.PyShape_MoveLineToNewAttachment(*args
, **kwargs
)
813 def ApplyAttachmentOrdering(*args
, **kwargs
):
814 """ApplyAttachmentOrdering(self, PyObject linesToSort)"""
815 return _ogl
.PyShape_ApplyAttachmentOrdering(*args
, **kwargs
)
817 def GetBranchingAttachmentRoot(*args
, **kwargs
):
818 """GetBranchingAttachmentRoot(self, int attachment) -> RealPoint"""
819 return _ogl
.PyShape_GetBranchingAttachmentRoot(*args
, **kwargs
)
821 def GetBranchingAttachmentInfo(*args
, **kwargs
):
823 GetBranchingAttachmentInfo(self, int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
824 RealPoint shoulder2) -> bool
826 return _ogl
.PyShape_GetBranchingAttachmentInfo(*args
, **kwargs
)
828 def GetBranchingAttachmentPoint(*args
, **kwargs
):
829 """GetBranchingAttachmentPoint(self, int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool"""
830 return _ogl
.PyShape_GetBranchingAttachmentPoint(*args
, **kwargs
)
832 def GetAttachmentLineCount(*args
, **kwargs
):
833 """GetAttachmentLineCount(self, int attachment) -> int"""
834 return _ogl
.PyShape_GetAttachmentLineCount(*args
, **kwargs
)
836 def SetBranchNeckLength(*args
, **kwargs
):
837 """SetBranchNeckLength(self, int len)"""
838 return _ogl
.PyShape_SetBranchNeckLength(*args
, **kwargs
)
840 def GetBranchNeckLength(*args
, **kwargs
):
841 """GetBranchNeckLength(self) -> int"""
842 return _ogl
.PyShape_GetBranchNeckLength(*args
, **kwargs
)
844 def SetBranchStemLength(*args
, **kwargs
):
845 """SetBranchStemLength(self, int len)"""
846 return _ogl
.PyShape_SetBranchStemLength(*args
, **kwargs
)
848 def GetBranchStemLength(*args
, **kwargs
):
849 """GetBranchStemLength(self) -> int"""
850 return _ogl
.PyShape_GetBranchStemLength(*args
, **kwargs
)
852 def SetBranchSpacing(*args
, **kwargs
):
853 """SetBranchSpacing(self, int len)"""
854 return _ogl
.PyShape_SetBranchSpacing(*args
, **kwargs
)
856 def GetBranchSpacing(*args
, **kwargs
):
857 """GetBranchSpacing(self) -> int"""
858 return _ogl
.PyShape_GetBranchSpacing(*args
, **kwargs
)
860 def SetBranchStyle(*args
, **kwargs
):
861 """SetBranchStyle(self, long style)"""
862 return _ogl
.PyShape_SetBranchStyle(*args
, **kwargs
)
864 def GetBranchStyle(*args
, **kwargs
):
865 """GetBranchStyle(self) -> long"""
866 return _ogl
.PyShape_GetBranchStyle(*args
, **kwargs
)
868 def PhysicalToLogicalAttachment(*args
, **kwargs
):
869 """PhysicalToLogicalAttachment(self, int physicalAttachment) -> int"""
870 return _ogl
.PyShape_PhysicalToLogicalAttachment(*args
, **kwargs
)
872 def LogicalToPhysicalAttachment(*args
, **kwargs
):
873 """LogicalToPhysicalAttachment(self, int logicalAttachment) -> int"""
874 return _ogl
.PyShape_LogicalToPhysicalAttachment(*args
, **kwargs
)
876 def Draggable(*args
, **kwargs
):
877 """Draggable(self) -> bool"""
878 return _ogl
.PyShape_Draggable(*args
, **kwargs
)
880 def HasDescendant(*args
, **kwargs
):
881 """HasDescendant(self, PyShape image) -> bool"""
882 return _ogl
.PyShape_HasDescendant(*args
, **kwargs
)
884 def CreateNewCopy(*args
, **kwargs
):
885 """CreateNewCopy(self, bool resetMapping=True, bool recompute=True) -> PyShape"""
886 return _ogl
.PyShape_CreateNewCopy(*args
, **kwargs
)
888 def Copy(*args
, **kwargs
):
889 """Copy(self, PyShape copy)"""
890 return _ogl
.PyShape_Copy(*args
, **kwargs
)
892 def CopyWithHandler(*args
, **kwargs
):
893 """CopyWithHandler(self, PyShape copy)"""
894 return _ogl
.PyShape_CopyWithHandler(*args
, **kwargs
)
896 def Rotate(*args
, **kwargs
):
897 """Rotate(self, double x, double y, double theta)"""
898 return _ogl
.PyShape_Rotate(*args
, **kwargs
)
900 def GetRotation(*args
, **kwargs
):
901 """GetRotation(self) -> double"""
902 return _ogl
.PyShape_GetRotation(*args
, **kwargs
)
904 def SetRotation(*args
, **kwargs
):
905 """SetRotation(self, double rotation)"""
906 return _ogl
.PyShape_SetRotation(*args
, **kwargs
)
908 def ClearAttachments(*args
, **kwargs
):
909 """ClearAttachments(self)"""
910 return _ogl
.PyShape_ClearAttachments(*args
, **kwargs
)
912 def Recentre(*args
, **kwargs
):
913 """Recentre(self, DC dc)"""
914 return _ogl
.PyShape_Recentre(*args
, **kwargs
)
916 def ClearPointList(*args
, **kwargs
):
917 """ClearPointList(self, wxList list)"""
918 return _ogl
.PyShape_ClearPointList(*args
, **kwargs
)
920 def GetBackgroundPen(*args
, **kwargs
):
921 """GetBackgroundPen(self) -> wxPen"""
922 return _ogl
.PyShape_GetBackgroundPen(*args
, **kwargs
)
924 def GetBackgroundBrush(*args
, **kwargs
):
925 """GetBackgroundBrush(self) -> wxBrush"""
926 return _ogl
.PyShape_GetBackgroundBrush(*args
, **kwargs
)
928 def base_OnDelete(*args
, **kwargs
):
929 """base_OnDelete(self)"""
930 return _ogl
.PyShape_base_OnDelete(*args
, **kwargs
)
932 def base_OnDraw(*args
, **kwargs
):
933 """base_OnDraw(self, DC dc)"""
934 return _ogl
.PyShape_base_OnDraw(*args
, **kwargs
)
936 def base_OnDrawContents(*args
, **kwargs
):
937 """base_OnDrawContents(self, DC dc)"""
938 return _ogl
.PyShape_base_OnDrawContents(*args
, **kwargs
)
940 def base_OnDrawBranches(*args
, **kwargs
):
941 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
942 return _ogl
.PyShape_base_OnDrawBranches(*args
, **kwargs
)
944 def base_OnMoveLinks(*args
, **kwargs
):
945 """base_OnMoveLinks(self, DC dc)"""
946 return _ogl
.PyShape_base_OnMoveLinks(*args
, **kwargs
)
948 def base_OnErase(*args
, **kwargs
):
949 """base_OnErase(self, DC dc)"""
950 return _ogl
.PyShape_base_OnErase(*args
, **kwargs
)
952 def base_OnEraseContents(*args
, **kwargs
):
953 """base_OnEraseContents(self, DC dc)"""
954 return _ogl
.PyShape_base_OnEraseContents(*args
, **kwargs
)
956 def base_OnHighlight(*args
, **kwargs
):
957 """base_OnHighlight(self, DC dc)"""
958 return _ogl
.PyShape_base_OnHighlight(*args
, **kwargs
)
960 def base_OnLeftClick(*args
, **kwargs
):
961 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
962 return _ogl
.PyShape_base_OnLeftClick(*args
, **kwargs
)
964 def base_OnLeftDoubleClick(*args
, **kwargs
):
965 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
966 return _ogl
.PyShape_base_OnLeftDoubleClick(*args
, **kwargs
)
968 def base_OnRightClick(*args
, **kwargs
):
969 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
970 return _ogl
.PyShape_base_OnRightClick(*args
, **kwargs
)
972 def base_OnSize(*args
, **kwargs
):
973 """base_OnSize(self, double x, double y)"""
974 return _ogl
.PyShape_base_OnSize(*args
, **kwargs
)
976 def base_OnMovePre(*args
, **kwargs
):
978 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
979 bool display=True) -> bool
981 return _ogl
.PyShape_base_OnMovePre(*args
, **kwargs
)
983 def base_OnMovePost(*args
, **kwargs
):
985 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
988 return _ogl
.PyShape_base_OnMovePost(*args
, **kwargs
)
990 def base_OnDragLeft(*args
, **kwargs
):
991 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
992 return _ogl
.PyShape_base_OnDragLeft(*args
, **kwargs
)
994 def base_OnBeginDragLeft(*args
, **kwargs
):
995 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
996 return _ogl
.PyShape_base_OnBeginDragLeft(*args
, **kwargs
)
998 def base_OnEndDragLeft(*args
, **kwargs
):
999 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1000 return _ogl
.PyShape_base_OnEndDragLeft(*args
, **kwargs
)
1002 def base_OnDragRight(*args
, **kwargs
):
1003 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1004 return _ogl
.PyShape_base_OnDragRight(*args
, **kwargs
)
1006 def base_OnBeginDragRight(*args
, **kwargs
):
1007 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1008 return _ogl
.PyShape_base_OnBeginDragRight(*args
, **kwargs
)
1010 def base_OnEndDragRight(*args
, **kwargs
):
1011 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1012 return _ogl
.PyShape_base_OnEndDragRight(*args
, **kwargs
)
1014 def base_OnDrawOutline(*args
, **kwargs
):
1015 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1016 return _ogl
.PyShape_base_OnDrawOutline(*args
, **kwargs
)
1018 def base_OnDrawControlPoints(*args
, **kwargs
):
1019 """base_OnDrawControlPoints(self, DC dc)"""
1020 return _ogl
.PyShape_base_OnDrawControlPoints(*args
, **kwargs
)
1022 def base_OnEraseControlPoints(*args
, **kwargs
):
1023 """base_OnEraseControlPoints(self, DC dc)"""
1024 return _ogl
.PyShape_base_OnEraseControlPoints(*args
, **kwargs
)
1026 def base_OnMoveLink(*args
, **kwargs
):
1027 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1028 return _ogl
.PyShape_base_OnMoveLink(*args
, **kwargs
)
1030 def base_OnSizingDragLeft(*args
, **kwargs
):
1032 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1035 return _ogl
.PyShape_base_OnSizingDragLeft(*args
, **kwargs
)
1037 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1039 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1042 return _ogl
.PyShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1044 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1046 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1049 return _ogl
.PyShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1051 def base_OnBeginSize(*args
, **kwargs
):
1052 """base_OnBeginSize(self, double w, double h)"""
1053 return _ogl
.PyShape_base_OnBeginSize(*args
, **kwargs
)
1055 def base_OnEndSize(*args
, **kwargs
):
1056 """base_OnEndSize(self, double w, double h)"""
1057 return _ogl
.PyShape_base_OnEndSize(*args
, **kwargs
)
1060 class PyShapePtr(PyShape
):
1061 def __init__(self
, this
):
1063 if not hasattr(self
,"thisown"): self
.thisown
= 0
1064 self
.__class
__ = PyShape
1065 _ogl
.PyShape_swigregister(PyShapePtr
)
1067 oglMETAFLAGS_OUTLINE
= _ogl
.oglMETAFLAGS_OUTLINE
1068 oglMETAFLAGS_ATTACHMENTS
= _ogl
.oglMETAFLAGS_ATTACHMENTS
1069 class PseudoMetaFile(_core
.Object
):
1071 return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1072 def __init__(self
, *args
, **kwargs
):
1073 """__init__(self) -> PseudoMetaFile"""
1074 newobj
= _ogl
.new_PseudoMetaFile(*args
, **kwargs
)
1075 self
.this
= newobj
.this
1078 def __del__(self
, destroy
=_ogl
.delete_PseudoMetaFile
):
1081 if self
.thisown
: destroy(self
)
1084 def Draw(*args
, **kwargs
):
1085 """Draw(self, DC dc, double xoffset, double yoffset)"""
1086 return _ogl
.PseudoMetaFile_Draw(*args
, **kwargs
)
1088 def Clear(*args
, **kwargs
):
1090 return _ogl
.PseudoMetaFile_Clear(*args
, **kwargs
)
1092 def Copy(*args
, **kwargs
):
1093 """Copy(self, PseudoMetaFile copy)"""
1094 return _ogl
.PseudoMetaFile_Copy(*args
, **kwargs
)
1096 def Scale(*args
, **kwargs
):
1097 """Scale(self, double sx, double sy)"""
1098 return _ogl
.PseudoMetaFile_Scale(*args
, **kwargs
)
1100 def ScaleTo(*args
, **kwargs
):
1101 """ScaleTo(self, double w, double h)"""
1102 return _ogl
.PseudoMetaFile_ScaleTo(*args
, **kwargs
)
1104 def Translate(*args
, **kwargs
):
1105 """Translate(self, double x, double y)"""
1106 return _ogl
.PseudoMetaFile_Translate(*args
, **kwargs
)
1108 def Rotate(*args
, **kwargs
):
1109 """Rotate(self, double x, double y, double theta)"""
1110 return _ogl
.PseudoMetaFile_Rotate(*args
, **kwargs
)
1112 def LoadFromMetaFile(*args
, **kwargs
):
1113 """LoadFromMetaFile(self, String filename, double width, double height) -> bool"""
1114 return _ogl
.PseudoMetaFile_LoadFromMetaFile(*args
, **kwargs
)
1116 def GetBounds(*args
, **kwargs
):
1117 """GetBounds(self, double minX, double minY, double maxX, double maxY)"""
1118 return _ogl
.PseudoMetaFile_GetBounds(*args
, **kwargs
)
1120 def CalculateSize(*args
, **kwargs
):
1121 """CalculateSize(self, PyDrawnShape shape)"""
1122 return _ogl
.PseudoMetaFile_CalculateSize(*args
, **kwargs
)
1124 def SetRotateable(*args
, **kwargs
):
1125 """SetRotateable(self, bool rot)"""
1126 return _ogl
.PseudoMetaFile_SetRotateable(*args
, **kwargs
)
1128 def GetRotateable(*args
, **kwargs
):
1129 """GetRotateable(self) -> bool"""
1130 return _ogl
.PseudoMetaFile_GetRotateable(*args
, **kwargs
)
1132 def SetSize(*args
, **kwargs
):
1133 """SetSize(self, double w, double h)"""
1134 return _ogl
.PseudoMetaFile_SetSize(*args
, **kwargs
)
1136 def SetFillBrush(*args
, **kwargs
):
1137 """SetFillBrush(self, wxBrush brush)"""
1138 return _ogl
.PseudoMetaFile_SetFillBrush(*args
, **kwargs
)
1140 def GetFillBrush(*args
, **kwargs
):
1141 """GetFillBrush(self) -> wxBrush"""
1142 return _ogl
.PseudoMetaFile_GetFillBrush(*args
, **kwargs
)
1144 def SetOutlinePen(*args
, **kwargs
):
1145 """SetOutlinePen(self, wxPen pen)"""
1146 return _ogl
.PseudoMetaFile_SetOutlinePen(*args
, **kwargs
)
1148 def GetOutlinePen(*args
, **kwargs
):
1149 """GetOutlinePen(self) -> wxPen"""
1150 return _ogl
.PseudoMetaFile_GetOutlinePen(*args
, **kwargs
)
1152 def SetOutlineOp(*args
, **kwargs
):
1153 """SetOutlineOp(self, int op)"""
1154 return _ogl
.PseudoMetaFile_SetOutlineOp(*args
, **kwargs
)
1156 def GetOutlineOp(*args
, **kwargs
):
1157 """GetOutlineOp(self) -> int"""
1158 return _ogl
.PseudoMetaFile_GetOutlineOp(*args
, **kwargs
)
1160 def IsValid(*args
, **kwargs
):
1161 """IsValid(self) -> bool"""
1162 return _ogl
.PseudoMetaFile_IsValid(*args
, **kwargs
)
1164 def DrawLine(*args
, **kwargs
):
1165 """DrawLine(self, Point pt1, Point pt2)"""
1166 return _ogl
.PseudoMetaFile_DrawLine(*args
, **kwargs
)
1168 def DrawRectangle(*args
, **kwargs
):
1169 """DrawRectangle(self, Rect rect)"""
1170 return _ogl
.PseudoMetaFile_DrawRectangle(*args
, **kwargs
)
1172 def DrawRoundedRectangle(*args
, **kwargs
):
1173 """DrawRoundedRectangle(self, Rect rect, double radius)"""
1174 return _ogl
.PseudoMetaFile_DrawRoundedRectangle(*args
, **kwargs
)
1176 def DrawArc(*args
, **kwargs
):
1177 """DrawArc(self, Point centrePt, Point startPt, Point endPt)"""
1178 return _ogl
.PseudoMetaFile_DrawArc(*args
, **kwargs
)
1180 def DrawEllipticArc(*args
, **kwargs
):
1181 """DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)"""
1182 return _ogl
.PseudoMetaFile_DrawEllipticArc(*args
, **kwargs
)
1184 def DrawEllipse(*args
, **kwargs
):
1185 """DrawEllipse(self, Rect rect)"""
1186 return _ogl
.PseudoMetaFile_DrawEllipse(*args
, **kwargs
)
1188 def DrawPoint(*args
, **kwargs
):
1189 """DrawPoint(self, Point pt)"""
1190 return _ogl
.PseudoMetaFile_DrawPoint(*args
, **kwargs
)
1192 def DrawText(*args
, **kwargs
):
1193 """DrawText(self, String text, Point pt)"""
1194 return _ogl
.PseudoMetaFile_DrawText(*args
, **kwargs
)
1196 def DrawLines(*args
, **kwargs
):
1197 """DrawLines(self, int PCOUNT, Point points)"""
1198 return _ogl
.PseudoMetaFile_DrawLines(*args
, **kwargs
)
1200 def DrawPolygon(*args
, **kwargs
):
1201 """DrawPolygon(self, int PCOUNT, Point points, int flags=0)"""
1202 return _ogl
.PseudoMetaFile_DrawPolygon(*args
, **kwargs
)
1204 def DrawSpline(*args
, **kwargs
):
1205 """DrawSpline(self, int PCOUNT, Point points)"""
1206 return _ogl
.PseudoMetaFile_DrawSpline(*args
, **kwargs
)
1208 def SetClippingRect(*args
, **kwargs
):
1209 """SetClippingRect(self, Rect rect)"""
1210 return _ogl
.PseudoMetaFile_SetClippingRect(*args
, **kwargs
)
1212 def DestroyClippingRect(*args
, **kwargs
):
1213 """DestroyClippingRect(self)"""
1214 return _ogl
.PseudoMetaFile_DestroyClippingRect(*args
, **kwargs
)
1216 def SetPen(*args
, **kwargs
):
1217 """SetPen(self, wxPen pen, bool isOutline=FALSE)"""
1218 return _ogl
.PseudoMetaFile_SetPen(*args
, **kwargs
)
1220 def SetBrush(*args
, **kwargs
):
1221 """SetBrush(self, wxBrush brush, bool isFill=FALSE)"""
1222 return _ogl
.PseudoMetaFile_SetBrush(*args
, **kwargs
)
1224 def SetFont(*args
, **kwargs
):
1225 """SetFont(self, Font font)"""
1226 return _ogl
.PseudoMetaFile_SetFont(*args
, **kwargs
)
1228 def SetTextColour(*args
, **kwargs
):
1229 """SetTextColour(self, Colour colour)"""
1230 return _ogl
.PseudoMetaFile_SetTextColour(*args
, **kwargs
)
1232 def SetBackgroundColour(*args
, **kwargs
):
1233 """SetBackgroundColour(self, Colour colour)"""
1234 return _ogl
.PseudoMetaFile_SetBackgroundColour(*args
, **kwargs
)
1236 def SetBackgroundMode(*args
, **kwargs
):
1237 """SetBackgroundMode(self, int mode)"""
1238 return _ogl
.PseudoMetaFile_SetBackgroundMode(*args
, **kwargs
)
1241 class PseudoMetaFilePtr(PseudoMetaFile
):
1242 def __init__(self
, this
):
1244 if not hasattr(self
,"thisown"): self
.thisown
= 0
1245 self
.__class
__ = PseudoMetaFile
1246 _ogl
.PseudoMetaFile_swigregister(PseudoMetaFilePtr
)
1248 class PyRectangleShape(PyShape
):
1250 return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1251 def __init__(self
, *args
, **kwargs
):
1252 """__init__(self, double width=0.0, double height=0.0) -> PyRectangleShape"""
1253 newobj
= _ogl
.new_PyRectangleShape(*args
, **kwargs
)
1254 self
.this
= newobj
.this
1257 self
._setOORandCallbackInfo
(PyRectangleShape
)
1259 def _setCallbackInfo(*args
, **kwargs
):
1260 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1261 return _ogl
.PyRectangleShape__setCallbackInfo(*args
, **kwargs
)
1263 def SetCornerRadius(*args
, **kwargs
):
1264 """SetCornerRadius(self, double radius)"""
1265 return _ogl
.PyRectangleShape_SetCornerRadius(*args
, **kwargs
)
1267 def GetCornerRadius(*args
, **kwargs
):
1268 """GetCornerRadius(self) -> double"""
1269 return _ogl
.PyRectangleShape_GetCornerRadius(*args
, **kwargs
)
1271 def base_OnDelete(*args
, **kwargs
):
1272 """base_OnDelete(self)"""
1273 return _ogl
.PyRectangleShape_base_OnDelete(*args
, **kwargs
)
1275 def base_OnDraw(*args
, **kwargs
):
1276 """base_OnDraw(self, DC dc)"""
1277 return _ogl
.PyRectangleShape_base_OnDraw(*args
, **kwargs
)
1279 def base_OnDrawContents(*args
, **kwargs
):
1280 """base_OnDrawContents(self, DC dc)"""
1281 return _ogl
.PyRectangleShape_base_OnDrawContents(*args
, **kwargs
)
1283 def base_OnDrawBranches(*args
, **kwargs
):
1284 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1285 return _ogl
.PyRectangleShape_base_OnDrawBranches(*args
, **kwargs
)
1287 def base_OnMoveLinks(*args
, **kwargs
):
1288 """base_OnMoveLinks(self, DC dc)"""
1289 return _ogl
.PyRectangleShape_base_OnMoveLinks(*args
, **kwargs
)
1291 def base_OnErase(*args
, **kwargs
):
1292 """base_OnErase(self, DC dc)"""
1293 return _ogl
.PyRectangleShape_base_OnErase(*args
, **kwargs
)
1295 def base_OnEraseContents(*args
, **kwargs
):
1296 """base_OnEraseContents(self, DC dc)"""
1297 return _ogl
.PyRectangleShape_base_OnEraseContents(*args
, **kwargs
)
1299 def base_OnHighlight(*args
, **kwargs
):
1300 """base_OnHighlight(self, DC dc)"""
1301 return _ogl
.PyRectangleShape_base_OnHighlight(*args
, **kwargs
)
1303 def base_OnLeftClick(*args
, **kwargs
):
1304 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1305 return _ogl
.PyRectangleShape_base_OnLeftClick(*args
, **kwargs
)
1307 def base_OnLeftDoubleClick(*args
, **kwargs
):
1308 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1309 return _ogl
.PyRectangleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1311 def base_OnRightClick(*args
, **kwargs
):
1312 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1313 return _ogl
.PyRectangleShape_base_OnRightClick(*args
, **kwargs
)
1315 def base_OnSize(*args
, **kwargs
):
1316 """base_OnSize(self, double x, double y)"""
1317 return _ogl
.PyRectangleShape_base_OnSize(*args
, **kwargs
)
1319 def base_OnMovePre(*args
, **kwargs
):
1321 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1322 bool display=True) -> bool
1324 return _ogl
.PyRectangleShape_base_OnMovePre(*args
, **kwargs
)
1326 def base_OnMovePost(*args
, **kwargs
):
1328 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1331 return _ogl
.PyRectangleShape_base_OnMovePost(*args
, **kwargs
)
1333 def base_OnDragLeft(*args
, **kwargs
):
1334 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1335 return _ogl
.PyRectangleShape_base_OnDragLeft(*args
, **kwargs
)
1337 def base_OnBeginDragLeft(*args
, **kwargs
):
1338 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1339 return _ogl
.PyRectangleShape_base_OnBeginDragLeft(*args
, **kwargs
)
1341 def base_OnEndDragLeft(*args
, **kwargs
):
1342 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1343 return _ogl
.PyRectangleShape_base_OnEndDragLeft(*args
, **kwargs
)
1345 def base_OnDragRight(*args
, **kwargs
):
1346 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1347 return _ogl
.PyRectangleShape_base_OnDragRight(*args
, **kwargs
)
1349 def base_OnBeginDragRight(*args
, **kwargs
):
1350 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1351 return _ogl
.PyRectangleShape_base_OnBeginDragRight(*args
, **kwargs
)
1353 def base_OnEndDragRight(*args
, **kwargs
):
1354 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1355 return _ogl
.PyRectangleShape_base_OnEndDragRight(*args
, **kwargs
)
1357 def base_OnDrawOutline(*args
, **kwargs
):
1358 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1359 return _ogl
.PyRectangleShape_base_OnDrawOutline(*args
, **kwargs
)
1361 def base_OnDrawControlPoints(*args
, **kwargs
):
1362 """base_OnDrawControlPoints(self, DC dc)"""
1363 return _ogl
.PyRectangleShape_base_OnDrawControlPoints(*args
, **kwargs
)
1365 def base_OnEraseControlPoints(*args
, **kwargs
):
1366 """base_OnEraseControlPoints(self, DC dc)"""
1367 return _ogl
.PyRectangleShape_base_OnEraseControlPoints(*args
, **kwargs
)
1369 def base_OnMoveLink(*args
, **kwargs
):
1370 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1371 return _ogl
.PyRectangleShape_base_OnMoveLink(*args
, **kwargs
)
1373 def base_OnSizingDragLeft(*args
, **kwargs
):
1375 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1378 return _ogl
.PyRectangleShape_base_OnSizingDragLeft(*args
, **kwargs
)
1380 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1382 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1385 return _ogl
.PyRectangleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1387 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1389 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1392 return _ogl
.PyRectangleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1394 def base_OnBeginSize(*args
, **kwargs
):
1395 """base_OnBeginSize(self, double w, double h)"""
1396 return _ogl
.PyRectangleShape_base_OnBeginSize(*args
, **kwargs
)
1398 def base_OnEndSize(*args
, **kwargs
):
1399 """base_OnEndSize(self, double w, double h)"""
1400 return _ogl
.PyRectangleShape_base_OnEndSize(*args
, **kwargs
)
1403 class PyRectangleShapePtr(PyRectangleShape
):
1404 def __init__(self
, this
):
1406 if not hasattr(self
,"thisown"): self
.thisown
= 0
1407 self
.__class
__ = PyRectangleShape
1408 _ogl
.PyRectangleShape_swigregister(PyRectangleShapePtr
)
1410 class PyControlPoint(PyRectangleShape
):
1412 return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1413 def __init__(self
, *args
, **kwargs
):
1415 __init__(self, PyShapeCanvas the_canvas=None, PyShape object=None,
1416 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
1417 int the_type=0) -> PyControlPoint
1419 newobj
= _ogl
.new_PyControlPoint(*args
, **kwargs
)
1420 self
.this
= newobj
.this
1423 self
._setOORandCallbackInfo
(PyControlPoint
)
1425 def _setCallbackInfo(*args
, **kwargs
):
1426 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1427 return _ogl
.PyControlPoint__setCallbackInfo(*args
, **kwargs
)
1429 def SetCornerRadius(*args
, **kwargs
):
1430 """SetCornerRadius(self, double radius)"""
1431 return _ogl
.PyControlPoint_SetCornerRadius(*args
, **kwargs
)
1433 def base_OnDelete(*args
, **kwargs
):
1434 """base_OnDelete(self)"""
1435 return _ogl
.PyControlPoint_base_OnDelete(*args
, **kwargs
)
1437 def base_OnDraw(*args
, **kwargs
):
1438 """base_OnDraw(self, DC dc)"""
1439 return _ogl
.PyControlPoint_base_OnDraw(*args
, **kwargs
)
1441 def base_OnDrawContents(*args
, **kwargs
):
1442 """base_OnDrawContents(self, DC dc)"""
1443 return _ogl
.PyControlPoint_base_OnDrawContents(*args
, **kwargs
)
1445 def base_OnDrawBranches(*args
, **kwargs
):
1446 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1447 return _ogl
.PyControlPoint_base_OnDrawBranches(*args
, **kwargs
)
1449 def base_OnMoveLinks(*args
, **kwargs
):
1450 """base_OnMoveLinks(self, DC dc)"""
1451 return _ogl
.PyControlPoint_base_OnMoveLinks(*args
, **kwargs
)
1453 def base_OnErase(*args
, **kwargs
):
1454 """base_OnErase(self, DC dc)"""
1455 return _ogl
.PyControlPoint_base_OnErase(*args
, **kwargs
)
1457 def base_OnEraseContents(*args
, **kwargs
):
1458 """base_OnEraseContents(self, DC dc)"""
1459 return _ogl
.PyControlPoint_base_OnEraseContents(*args
, **kwargs
)
1461 def base_OnHighlight(*args
, **kwargs
):
1462 """base_OnHighlight(self, DC dc)"""
1463 return _ogl
.PyControlPoint_base_OnHighlight(*args
, **kwargs
)
1465 def base_OnLeftClick(*args
, **kwargs
):
1466 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1467 return _ogl
.PyControlPoint_base_OnLeftClick(*args
, **kwargs
)
1469 def base_OnLeftDoubleClick(*args
, **kwargs
):
1470 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1471 return _ogl
.PyControlPoint_base_OnLeftDoubleClick(*args
, **kwargs
)
1473 def base_OnRightClick(*args
, **kwargs
):
1474 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1475 return _ogl
.PyControlPoint_base_OnRightClick(*args
, **kwargs
)
1477 def base_OnSize(*args
, **kwargs
):
1478 """base_OnSize(self, double x, double y)"""
1479 return _ogl
.PyControlPoint_base_OnSize(*args
, **kwargs
)
1481 def base_OnMovePre(*args
, **kwargs
):
1483 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1484 bool display=True) -> bool
1486 return _ogl
.PyControlPoint_base_OnMovePre(*args
, **kwargs
)
1488 def base_OnMovePost(*args
, **kwargs
):
1490 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1493 return _ogl
.PyControlPoint_base_OnMovePost(*args
, **kwargs
)
1495 def base_OnDragLeft(*args
, **kwargs
):
1496 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1497 return _ogl
.PyControlPoint_base_OnDragLeft(*args
, **kwargs
)
1499 def base_OnBeginDragLeft(*args
, **kwargs
):
1500 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1501 return _ogl
.PyControlPoint_base_OnBeginDragLeft(*args
, **kwargs
)
1503 def base_OnEndDragLeft(*args
, **kwargs
):
1504 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1505 return _ogl
.PyControlPoint_base_OnEndDragLeft(*args
, **kwargs
)
1507 def base_OnDragRight(*args
, **kwargs
):
1508 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1509 return _ogl
.PyControlPoint_base_OnDragRight(*args
, **kwargs
)
1511 def base_OnBeginDragRight(*args
, **kwargs
):
1512 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1513 return _ogl
.PyControlPoint_base_OnBeginDragRight(*args
, **kwargs
)
1515 def base_OnEndDragRight(*args
, **kwargs
):
1516 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1517 return _ogl
.PyControlPoint_base_OnEndDragRight(*args
, **kwargs
)
1519 def base_OnDrawOutline(*args
, **kwargs
):
1520 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1521 return _ogl
.PyControlPoint_base_OnDrawOutline(*args
, **kwargs
)
1523 def base_OnDrawControlPoints(*args
, **kwargs
):
1524 """base_OnDrawControlPoints(self, DC dc)"""
1525 return _ogl
.PyControlPoint_base_OnDrawControlPoints(*args
, **kwargs
)
1527 def base_OnEraseControlPoints(*args
, **kwargs
):
1528 """base_OnEraseControlPoints(self, DC dc)"""
1529 return _ogl
.PyControlPoint_base_OnEraseControlPoints(*args
, **kwargs
)
1531 def base_OnMoveLink(*args
, **kwargs
):
1532 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1533 return _ogl
.PyControlPoint_base_OnMoveLink(*args
, **kwargs
)
1535 def base_OnSizingDragLeft(*args
, **kwargs
):
1537 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1540 return _ogl
.PyControlPoint_base_OnSizingDragLeft(*args
, **kwargs
)
1542 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1544 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1547 return _ogl
.PyControlPoint_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1549 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1551 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1554 return _ogl
.PyControlPoint_base_OnSizingEndDragLeft(*args
, **kwargs
)
1556 def base_OnBeginSize(*args
, **kwargs
):
1557 """base_OnBeginSize(self, double w, double h)"""
1558 return _ogl
.PyControlPoint_base_OnBeginSize(*args
, **kwargs
)
1560 def base_OnEndSize(*args
, **kwargs
):
1561 """base_OnEndSize(self, double w, double h)"""
1562 return _ogl
.PyControlPoint_base_OnEndSize(*args
, **kwargs
)
1565 class PyControlPointPtr(PyControlPoint
):
1566 def __init__(self
, this
):
1568 if not hasattr(self
,"thisown"): self
.thisown
= 0
1569 self
.__class
__ = PyControlPoint
1570 _ogl
.PyControlPoint_swigregister(PyControlPointPtr
)
1572 class PyBitmapShape(PyRectangleShape
):
1574 return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1575 def __init__(self
, *args
, **kwargs
):
1576 """__init__(self) -> PyBitmapShape"""
1577 newobj
= _ogl
.new_PyBitmapShape(*args
, **kwargs
)
1578 self
.this
= newobj
.this
1581 self
._setOORandCallbackInfo
(PyBitmapShape
)
1583 def _setCallbackInfo(*args
, **kwargs
):
1584 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1585 return _ogl
.PyBitmapShape__setCallbackInfo(*args
, **kwargs
)
1587 def GetBitmap(*args
, **kwargs
):
1588 """GetBitmap(self) -> Bitmap"""
1589 return _ogl
.PyBitmapShape_GetBitmap(*args
, **kwargs
)
1591 def GetFilename(*args
, **kwargs
):
1592 """GetFilename(self) -> String"""
1593 return _ogl
.PyBitmapShape_GetFilename(*args
, **kwargs
)
1595 def SetBitmap(*args
, **kwargs
):
1596 """SetBitmap(self, Bitmap bitmap)"""
1597 return _ogl
.PyBitmapShape_SetBitmap(*args
, **kwargs
)
1599 def SetFilename(*args
, **kwargs
):
1600 """SetFilename(self, String filename)"""
1601 return _ogl
.PyBitmapShape_SetFilename(*args
, **kwargs
)
1603 def base_OnDelete(*args
, **kwargs
):
1604 """base_OnDelete(self)"""
1605 return _ogl
.PyBitmapShape_base_OnDelete(*args
, **kwargs
)
1607 def base_OnDraw(*args
, **kwargs
):
1608 """base_OnDraw(self, DC dc)"""
1609 return _ogl
.PyBitmapShape_base_OnDraw(*args
, **kwargs
)
1611 def base_OnDrawContents(*args
, **kwargs
):
1612 """base_OnDrawContents(self, DC dc)"""
1613 return _ogl
.PyBitmapShape_base_OnDrawContents(*args
, **kwargs
)
1615 def base_OnDrawBranches(*args
, **kwargs
):
1616 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1617 return _ogl
.PyBitmapShape_base_OnDrawBranches(*args
, **kwargs
)
1619 def base_OnMoveLinks(*args
, **kwargs
):
1620 """base_OnMoveLinks(self, DC dc)"""
1621 return _ogl
.PyBitmapShape_base_OnMoveLinks(*args
, **kwargs
)
1623 def base_OnErase(*args
, **kwargs
):
1624 """base_OnErase(self, DC dc)"""
1625 return _ogl
.PyBitmapShape_base_OnErase(*args
, **kwargs
)
1627 def base_OnEraseContents(*args
, **kwargs
):
1628 """base_OnEraseContents(self, DC dc)"""
1629 return _ogl
.PyBitmapShape_base_OnEraseContents(*args
, **kwargs
)
1631 def base_OnHighlight(*args
, **kwargs
):
1632 """base_OnHighlight(self, DC dc)"""
1633 return _ogl
.PyBitmapShape_base_OnHighlight(*args
, **kwargs
)
1635 def base_OnLeftClick(*args
, **kwargs
):
1636 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1637 return _ogl
.PyBitmapShape_base_OnLeftClick(*args
, **kwargs
)
1639 def base_OnLeftDoubleClick(*args
, **kwargs
):
1640 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1641 return _ogl
.PyBitmapShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1643 def base_OnRightClick(*args
, **kwargs
):
1644 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1645 return _ogl
.PyBitmapShape_base_OnRightClick(*args
, **kwargs
)
1647 def base_OnSize(*args
, **kwargs
):
1648 """base_OnSize(self, double x, double y)"""
1649 return _ogl
.PyBitmapShape_base_OnSize(*args
, **kwargs
)
1651 def base_OnMovePre(*args
, **kwargs
):
1653 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1654 bool display=True) -> bool
1656 return _ogl
.PyBitmapShape_base_OnMovePre(*args
, **kwargs
)
1658 def base_OnMovePost(*args
, **kwargs
):
1660 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1663 return _ogl
.PyBitmapShape_base_OnMovePost(*args
, **kwargs
)
1665 def base_OnDragLeft(*args
, **kwargs
):
1666 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1667 return _ogl
.PyBitmapShape_base_OnDragLeft(*args
, **kwargs
)
1669 def base_OnBeginDragLeft(*args
, **kwargs
):
1670 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1671 return _ogl
.PyBitmapShape_base_OnBeginDragLeft(*args
, **kwargs
)
1673 def base_OnEndDragLeft(*args
, **kwargs
):
1674 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1675 return _ogl
.PyBitmapShape_base_OnEndDragLeft(*args
, **kwargs
)
1677 def base_OnDragRight(*args
, **kwargs
):
1678 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1679 return _ogl
.PyBitmapShape_base_OnDragRight(*args
, **kwargs
)
1681 def base_OnBeginDragRight(*args
, **kwargs
):
1682 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1683 return _ogl
.PyBitmapShape_base_OnBeginDragRight(*args
, **kwargs
)
1685 def base_OnEndDragRight(*args
, **kwargs
):
1686 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1687 return _ogl
.PyBitmapShape_base_OnEndDragRight(*args
, **kwargs
)
1689 def base_OnDrawOutline(*args
, **kwargs
):
1690 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1691 return _ogl
.PyBitmapShape_base_OnDrawOutline(*args
, **kwargs
)
1693 def base_OnDrawControlPoints(*args
, **kwargs
):
1694 """base_OnDrawControlPoints(self, DC dc)"""
1695 return _ogl
.PyBitmapShape_base_OnDrawControlPoints(*args
, **kwargs
)
1697 def base_OnEraseControlPoints(*args
, **kwargs
):
1698 """base_OnEraseControlPoints(self, DC dc)"""
1699 return _ogl
.PyBitmapShape_base_OnEraseControlPoints(*args
, **kwargs
)
1701 def base_OnMoveLink(*args
, **kwargs
):
1702 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1703 return _ogl
.PyBitmapShape_base_OnMoveLink(*args
, **kwargs
)
1705 def base_OnSizingDragLeft(*args
, **kwargs
):
1707 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1710 return _ogl
.PyBitmapShape_base_OnSizingDragLeft(*args
, **kwargs
)
1712 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1714 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1717 return _ogl
.PyBitmapShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1719 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1721 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1724 return _ogl
.PyBitmapShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1726 def base_OnBeginSize(*args
, **kwargs
):
1727 """base_OnBeginSize(self, double w, double h)"""
1728 return _ogl
.PyBitmapShape_base_OnBeginSize(*args
, **kwargs
)
1730 def base_OnEndSize(*args
, **kwargs
):
1731 """base_OnEndSize(self, double w, double h)"""
1732 return _ogl
.PyBitmapShape_base_OnEndSize(*args
, **kwargs
)
1735 class PyBitmapShapePtr(PyBitmapShape
):
1736 def __init__(self
, this
):
1738 if not hasattr(self
,"thisown"): self
.thisown
= 0
1739 self
.__class
__ = PyBitmapShape
1740 _ogl
.PyBitmapShape_swigregister(PyBitmapShapePtr
)
1742 class PyDrawnShape(PyRectangleShape
):
1744 return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1745 def __init__(self
, *args
, **kwargs
):
1746 """__init__(self) -> PyDrawnShape"""
1747 newobj
= _ogl
.new_PyDrawnShape(*args
, **kwargs
)
1748 self
.this
= newobj
.this
1751 self
._setOORandCallbackInfo
(PyDrawnShape
)
1753 def _setCallbackInfo(*args
, **kwargs
):
1754 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1755 return _ogl
.PyDrawnShape__setCallbackInfo(*args
, **kwargs
)
1757 def CalculateSize(*args
, **kwargs
):
1758 """CalculateSize(self)"""
1759 return _ogl
.PyDrawnShape_CalculateSize(*args
, **kwargs
)
1761 def DestroyClippingRect(*args
, **kwargs
):
1762 """DestroyClippingRect(self)"""
1763 return _ogl
.PyDrawnShape_DestroyClippingRect(*args
, **kwargs
)
1765 def DrawArc(*args
, **kwargs
):
1766 """DrawArc(self, Point centrePoint, Point startPoint, Point endPoint)"""
1767 return _ogl
.PyDrawnShape_DrawArc(*args
, **kwargs
)
1769 def DrawAtAngle(*args
, **kwargs
):
1770 """DrawAtAngle(self, int angle)"""
1771 return _ogl
.PyDrawnShape_DrawAtAngle(*args
, **kwargs
)
1773 def DrawEllipticArc(*args
, **kwargs
):
1774 """DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)"""
1775 return _ogl
.PyDrawnShape_DrawEllipticArc(*args
, **kwargs
)
1777 def DrawLine(*args
, **kwargs
):
1778 """DrawLine(self, Point point1, Point point2)"""
1779 return _ogl
.PyDrawnShape_DrawLine(*args
, **kwargs
)
1781 def DrawLines(*args
, **kwargs
):
1782 """DrawLines(self, int PCOUNT, Point points)"""
1783 return _ogl
.PyDrawnShape_DrawLines(*args
, **kwargs
)
1785 def DrawPoint(*args
, **kwargs
):
1786 """DrawPoint(self, Point point)"""
1787 return _ogl
.PyDrawnShape_DrawPoint(*args
, **kwargs
)
1789 def DrawPolygon(*args
, **kwargs
):
1790 """DrawPolygon(self, int PCOUNT, Point points, int flags=0)"""
1791 return _ogl
.PyDrawnShape_DrawPolygon(*args
, **kwargs
)
1793 def DrawRectangle(*args
, **kwargs
):
1794 """DrawRectangle(self, Rect rect)"""
1795 return _ogl
.PyDrawnShape_DrawRectangle(*args
, **kwargs
)
1797 def DrawRoundedRectangle(*args
, **kwargs
):
1798 """DrawRoundedRectangle(self, Rect rect, double radius)"""
1799 return _ogl
.PyDrawnShape_DrawRoundedRectangle(*args
, **kwargs
)
1801 def DrawSpline(*args
, **kwargs
):
1802 """DrawSpline(self, int PCOUNT, Point points)"""
1803 return _ogl
.PyDrawnShape_DrawSpline(*args
, **kwargs
)
1805 def DrawText(*args
, **kwargs
):
1806 """DrawText(self, String text, Point point)"""
1807 return _ogl
.PyDrawnShape_DrawText(*args
, **kwargs
)
1809 def GetAngle(*args
, **kwargs
):
1810 """GetAngle(self) -> int"""
1811 return _ogl
.PyDrawnShape_GetAngle(*args
, **kwargs
)
1813 def GetMetaFile(*args
, **kwargs
):
1814 """GetMetaFile(self) -> PseudoMetaFile"""
1815 return _ogl
.PyDrawnShape_GetMetaFile(*args
, **kwargs
)
1817 def GetRotation(*args
, **kwargs
):
1818 """GetRotation(self) -> double"""
1819 return _ogl
.PyDrawnShape_GetRotation(*args
, **kwargs
)
1821 def LoadFromMetaFile(*args
, **kwargs
):
1822 """LoadFromMetaFile(self, String filename) -> bool"""
1823 return _ogl
.PyDrawnShape_LoadFromMetaFile(*args
, **kwargs
)
1825 def Rotate(*args
, **kwargs
):
1826 """Rotate(self, double x, double y, double theta)"""
1827 return _ogl
.PyDrawnShape_Rotate(*args
, **kwargs
)
1829 def SetClippingRect(*args
, **kwargs
):
1830 """SetClippingRect(self, Rect rect)"""
1831 return _ogl
.PyDrawnShape_SetClippingRect(*args
, **kwargs
)
1833 def SetDrawnBackgroundColour(*args
, **kwargs
):
1834 """SetDrawnBackgroundColour(self, Colour colour)"""
1835 return _ogl
.PyDrawnShape_SetDrawnBackgroundColour(*args
, **kwargs
)
1837 def SetDrawnBackgroundMode(*args
, **kwargs
):
1838 """SetDrawnBackgroundMode(self, int mode)"""
1839 return _ogl
.PyDrawnShape_SetDrawnBackgroundMode(*args
, **kwargs
)
1841 def SetDrawnBrush(*args
, **kwargs
):
1842 """SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)"""
1843 return _ogl
.PyDrawnShape_SetDrawnBrush(*args
, **kwargs
)
1845 def SetDrawnFont(*args
, **kwargs
):
1846 """SetDrawnFont(self, Font font)"""
1847 return _ogl
.PyDrawnShape_SetDrawnFont(*args
, **kwargs
)
1849 def SetDrawnPen(*args
, **kwargs
):
1850 """SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)"""
1851 return _ogl
.PyDrawnShape_SetDrawnPen(*args
, **kwargs
)
1853 def SetDrawnTextColour(*args
, **kwargs
):
1854 """SetDrawnTextColour(self, Colour colour)"""
1855 return _ogl
.PyDrawnShape_SetDrawnTextColour(*args
, **kwargs
)
1857 def Scale(*args
, **kwargs
):
1858 """Scale(self, double sx, double sy)"""
1859 return _ogl
.PyDrawnShape_Scale(*args
, **kwargs
)
1861 def SetSaveToFile(*args
, **kwargs
):
1862 """SetSaveToFile(self, bool save)"""
1863 return _ogl
.PyDrawnShape_SetSaveToFile(*args
, **kwargs
)
1865 def Translate(*args
, **kwargs
):
1866 """Translate(self, double x, double y)"""
1867 return _ogl
.PyDrawnShape_Translate(*args
, **kwargs
)
1869 def base_OnDelete(*args
, **kwargs
):
1870 """base_OnDelete(self)"""
1871 return _ogl
.PyDrawnShape_base_OnDelete(*args
, **kwargs
)
1873 def base_OnDraw(*args
, **kwargs
):
1874 """base_OnDraw(self, DC dc)"""
1875 return _ogl
.PyDrawnShape_base_OnDraw(*args
, **kwargs
)
1877 def base_OnDrawContents(*args
, **kwargs
):
1878 """base_OnDrawContents(self, DC dc)"""
1879 return _ogl
.PyDrawnShape_base_OnDrawContents(*args
, **kwargs
)
1881 def base_OnDrawBranches(*args
, **kwargs
):
1882 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
1883 return _ogl
.PyDrawnShape_base_OnDrawBranches(*args
, **kwargs
)
1885 def base_OnMoveLinks(*args
, **kwargs
):
1886 """base_OnMoveLinks(self, DC dc)"""
1887 return _ogl
.PyDrawnShape_base_OnMoveLinks(*args
, **kwargs
)
1889 def base_OnErase(*args
, **kwargs
):
1890 """base_OnErase(self, DC dc)"""
1891 return _ogl
.PyDrawnShape_base_OnErase(*args
, **kwargs
)
1893 def base_OnEraseContents(*args
, **kwargs
):
1894 """base_OnEraseContents(self, DC dc)"""
1895 return _ogl
.PyDrawnShape_base_OnEraseContents(*args
, **kwargs
)
1897 def base_OnHighlight(*args
, **kwargs
):
1898 """base_OnHighlight(self, DC dc)"""
1899 return _ogl
.PyDrawnShape_base_OnHighlight(*args
, **kwargs
)
1901 def base_OnLeftClick(*args
, **kwargs
):
1902 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1903 return _ogl
.PyDrawnShape_base_OnLeftClick(*args
, **kwargs
)
1905 def base_OnLeftDoubleClick(*args
, **kwargs
):
1906 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1907 return _ogl
.PyDrawnShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1909 def base_OnRightClick(*args
, **kwargs
):
1910 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1911 return _ogl
.PyDrawnShape_base_OnRightClick(*args
, **kwargs
)
1913 def base_OnSize(*args
, **kwargs
):
1914 """base_OnSize(self, double x, double y)"""
1915 return _ogl
.PyDrawnShape_base_OnSize(*args
, **kwargs
)
1917 def base_OnMovePre(*args
, **kwargs
):
1919 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1920 bool display=True) -> bool
1922 return _ogl
.PyDrawnShape_base_OnMovePre(*args
, **kwargs
)
1924 def base_OnMovePost(*args
, **kwargs
):
1926 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1929 return _ogl
.PyDrawnShape_base_OnMovePost(*args
, **kwargs
)
1931 def base_OnDragLeft(*args
, **kwargs
):
1932 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1933 return _ogl
.PyDrawnShape_base_OnDragLeft(*args
, **kwargs
)
1935 def base_OnBeginDragLeft(*args
, **kwargs
):
1936 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1937 return _ogl
.PyDrawnShape_base_OnBeginDragLeft(*args
, **kwargs
)
1939 def base_OnEndDragLeft(*args
, **kwargs
):
1940 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1941 return _ogl
.PyDrawnShape_base_OnEndDragLeft(*args
, **kwargs
)
1943 def base_OnDragRight(*args
, **kwargs
):
1944 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1945 return _ogl
.PyDrawnShape_base_OnDragRight(*args
, **kwargs
)
1947 def base_OnBeginDragRight(*args
, **kwargs
):
1948 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1949 return _ogl
.PyDrawnShape_base_OnBeginDragRight(*args
, **kwargs
)
1951 def base_OnEndDragRight(*args
, **kwargs
):
1952 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1953 return _ogl
.PyDrawnShape_base_OnEndDragRight(*args
, **kwargs
)
1955 def base_OnDrawOutline(*args
, **kwargs
):
1956 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1957 return _ogl
.PyDrawnShape_base_OnDrawOutline(*args
, **kwargs
)
1959 def base_OnDrawControlPoints(*args
, **kwargs
):
1960 """base_OnDrawControlPoints(self, DC dc)"""
1961 return _ogl
.PyDrawnShape_base_OnDrawControlPoints(*args
, **kwargs
)
1963 def base_OnEraseControlPoints(*args
, **kwargs
):
1964 """base_OnEraseControlPoints(self, DC dc)"""
1965 return _ogl
.PyDrawnShape_base_OnEraseControlPoints(*args
, **kwargs
)
1967 def base_OnMoveLink(*args
, **kwargs
):
1968 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1969 return _ogl
.PyDrawnShape_base_OnMoveLink(*args
, **kwargs
)
1971 def base_OnSizingDragLeft(*args
, **kwargs
):
1973 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1976 return _ogl
.PyDrawnShape_base_OnSizingDragLeft(*args
, **kwargs
)
1978 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1980 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1983 return _ogl
.PyDrawnShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1985 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1987 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1990 return _ogl
.PyDrawnShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1992 def base_OnBeginSize(*args
, **kwargs
):
1993 """base_OnBeginSize(self, double w, double h)"""
1994 return _ogl
.PyDrawnShape_base_OnBeginSize(*args
, **kwargs
)
1996 def base_OnEndSize(*args
, **kwargs
):
1997 """base_OnEndSize(self, double w, double h)"""
1998 return _ogl
.PyDrawnShape_base_OnEndSize(*args
, **kwargs
)
2001 class PyDrawnShapePtr(PyDrawnShape
):
2002 def __init__(self
, this
):
2004 if not hasattr(self
,"thisown"): self
.thisown
= 0
2005 self
.__class
__ = PyDrawnShape
2006 _ogl
.PyDrawnShape_swigregister(PyDrawnShapePtr
)
2008 class OGLConstraint(_core
.Object
):
2010 return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2011 def __init__(self
, *args
, **kwargs
):
2012 """__init__(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2013 newobj
= _ogl
.new_OGLConstraint(*args
, **kwargs
)
2014 self
.this
= newobj
.this
2017 def Evaluate(*args
, **kwargs
):
2018 """Evaluate(self) -> bool"""
2019 return _ogl
.OGLConstraint_Evaluate(*args
, **kwargs
)
2021 def SetSpacing(*args
, **kwargs
):
2022 """SetSpacing(self, double x, double y)"""
2023 return _ogl
.OGLConstraint_SetSpacing(*args
, **kwargs
)
2025 def Equals(*args
, **kwargs
):
2026 """Equals(self, double a, double b) -> bool"""
2027 return _ogl
.OGLConstraint_Equals(*args
, **kwargs
)
2030 class OGLConstraintPtr(OGLConstraint
):
2031 def __init__(self
, this
):
2033 if not hasattr(self
,"thisown"): self
.thisown
= 0
2034 self
.__class
__ = OGLConstraint
2035 _ogl
.OGLConstraint_swigregister(OGLConstraintPtr
)
2037 class PyCompositeShape(PyRectangleShape
):
2039 return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2040 def __init__(self
, *args
, **kwargs
):
2041 """__init__(self) -> PyCompositeShape"""
2042 newobj
= _ogl
.new_PyCompositeShape(*args
, **kwargs
)
2043 self
.this
= newobj
.this
2046 self
._setOORandCallbackInfo
(PyCompositeShape
)
2048 def _setCallbackInfo(*args
, **kwargs
):
2049 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2050 return _ogl
.PyCompositeShape__setCallbackInfo(*args
, **kwargs
)
2052 def AddChild(*args
, **kwargs
):
2053 """AddChild(self, PyShape child, PyShape addAfter=None)"""
2054 return _ogl
.PyCompositeShape_AddChild(*args
, **kwargs
)
2056 def AddConstraint(*args
, **kwargs
):
2057 """AddConstraint(self, OGLConstraint constraint) -> OGLConstraint"""
2058 return _ogl
.PyCompositeShape_AddConstraint(*args
, **kwargs
)
2060 def AddConstrainedShapes(*args
, **kwargs
):
2061 """AddConstrainedShapes(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2062 return _ogl
.PyCompositeShape_AddConstrainedShapes(*args
, **kwargs
)
2064 def AddSimpleConstraint(*args
, **kwargs
):
2065 """AddSimpleConstraint(self, int type, PyShape constraining, PyShape constrained) -> OGLConstraint"""
2066 return _ogl
.PyCompositeShape_AddSimpleConstraint(*args
, **kwargs
)
2068 def CalculateSize(*args
, **kwargs
):
2069 """CalculateSize(self)"""
2070 return _ogl
.PyCompositeShape_CalculateSize(*args
, **kwargs
)
2072 def ContainsDivision(*args
, **kwargs
):
2073 """ContainsDivision(self, PyDivisionShape division) -> bool"""
2074 return _ogl
.PyCompositeShape_ContainsDivision(*args
, **kwargs
)
2076 def DeleteConstraint(*args
, **kwargs
):
2077 """DeleteConstraint(self, OGLConstraint constraint)"""
2078 return _ogl
.PyCompositeShape_DeleteConstraint(*args
, **kwargs
)
2080 def DeleteConstraintsInvolvingChild(*args
, **kwargs
):
2081 """DeleteConstraintsInvolvingChild(self, PyShape child)"""
2082 return _ogl
.PyCompositeShape_DeleteConstraintsInvolvingChild(*args
, **kwargs
)
2084 def FindContainerImage(*args
, **kwargs
):
2085 """FindContainerImage(self) -> PyShape"""
2086 return _ogl
.PyCompositeShape_FindContainerImage(*args
, **kwargs
)
2088 def GetConstraints(*args
, **kwargs
):
2089 """GetConstraints(self) -> PyObject"""
2090 return _ogl
.PyCompositeShape_GetConstraints(*args
, **kwargs
)
2092 def GetDivisions(*args
, **kwargs
):
2093 """GetDivisions(self) -> PyObject"""
2094 return _ogl
.PyCompositeShape_GetDivisions(*args
, **kwargs
)
2096 def MakeContainer(*args
, **kwargs
):
2097 """MakeContainer(self)"""
2098 return _ogl
.PyCompositeShape_MakeContainer(*args
, **kwargs
)
2100 def Recompute(*args
, **kwargs
):
2101 """Recompute(self) -> bool"""
2102 return _ogl
.PyCompositeShape_Recompute(*args
, **kwargs
)
2104 def RemoveChild(*args
, **kwargs
):
2105 """RemoveChild(self, PyShape child)"""
2106 return _ogl
.PyCompositeShape_RemoveChild(*args
, **kwargs
)
2108 def base_OnDelete(*args
, **kwargs
):
2109 """base_OnDelete(self)"""
2110 return _ogl
.PyCompositeShape_base_OnDelete(*args
, **kwargs
)
2112 def base_OnDraw(*args
, **kwargs
):
2113 """base_OnDraw(self, DC dc)"""
2114 return _ogl
.PyCompositeShape_base_OnDraw(*args
, **kwargs
)
2116 def base_OnDrawContents(*args
, **kwargs
):
2117 """base_OnDrawContents(self, DC dc)"""
2118 return _ogl
.PyCompositeShape_base_OnDrawContents(*args
, **kwargs
)
2120 def base_OnDrawBranches(*args
, **kwargs
):
2121 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2122 return _ogl
.PyCompositeShape_base_OnDrawBranches(*args
, **kwargs
)
2124 def base_OnMoveLinks(*args
, **kwargs
):
2125 """base_OnMoveLinks(self, DC dc)"""
2126 return _ogl
.PyCompositeShape_base_OnMoveLinks(*args
, **kwargs
)
2128 def base_OnErase(*args
, **kwargs
):
2129 """base_OnErase(self, DC dc)"""
2130 return _ogl
.PyCompositeShape_base_OnErase(*args
, **kwargs
)
2132 def base_OnEraseContents(*args
, **kwargs
):
2133 """base_OnEraseContents(self, DC dc)"""
2134 return _ogl
.PyCompositeShape_base_OnEraseContents(*args
, **kwargs
)
2136 def base_OnHighlight(*args
, **kwargs
):
2137 """base_OnHighlight(self, DC dc)"""
2138 return _ogl
.PyCompositeShape_base_OnHighlight(*args
, **kwargs
)
2140 def base_OnLeftClick(*args
, **kwargs
):
2141 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2142 return _ogl
.PyCompositeShape_base_OnLeftClick(*args
, **kwargs
)
2144 def base_OnLeftDoubleClick(*args
, **kwargs
):
2145 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2146 return _ogl
.PyCompositeShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2148 def base_OnRightClick(*args
, **kwargs
):
2149 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2150 return _ogl
.PyCompositeShape_base_OnRightClick(*args
, **kwargs
)
2152 def base_OnSize(*args
, **kwargs
):
2153 """base_OnSize(self, double x, double y)"""
2154 return _ogl
.PyCompositeShape_base_OnSize(*args
, **kwargs
)
2156 def base_OnMovePre(*args
, **kwargs
):
2158 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2159 bool display=True) -> bool
2161 return _ogl
.PyCompositeShape_base_OnMovePre(*args
, **kwargs
)
2163 def base_OnMovePost(*args
, **kwargs
):
2165 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2168 return _ogl
.PyCompositeShape_base_OnMovePost(*args
, **kwargs
)
2170 def base_OnDragLeft(*args
, **kwargs
):
2171 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2172 return _ogl
.PyCompositeShape_base_OnDragLeft(*args
, **kwargs
)
2174 def base_OnBeginDragLeft(*args
, **kwargs
):
2175 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2176 return _ogl
.PyCompositeShape_base_OnBeginDragLeft(*args
, **kwargs
)
2178 def base_OnEndDragLeft(*args
, **kwargs
):
2179 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2180 return _ogl
.PyCompositeShape_base_OnEndDragLeft(*args
, **kwargs
)
2182 def base_OnDragRight(*args
, **kwargs
):
2183 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2184 return _ogl
.PyCompositeShape_base_OnDragRight(*args
, **kwargs
)
2186 def base_OnBeginDragRight(*args
, **kwargs
):
2187 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2188 return _ogl
.PyCompositeShape_base_OnBeginDragRight(*args
, **kwargs
)
2190 def base_OnEndDragRight(*args
, **kwargs
):
2191 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2192 return _ogl
.PyCompositeShape_base_OnEndDragRight(*args
, **kwargs
)
2194 def base_OnDrawOutline(*args
, **kwargs
):
2195 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2196 return _ogl
.PyCompositeShape_base_OnDrawOutline(*args
, **kwargs
)
2198 def base_OnDrawControlPoints(*args
, **kwargs
):
2199 """base_OnDrawControlPoints(self, DC dc)"""
2200 return _ogl
.PyCompositeShape_base_OnDrawControlPoints(*args
, **kwargs
)
2202 def base_OnEraseControlPoints(*args
, **kwargs
):
2203 """base_OnEraseControlPoints(self, DC dc)"""
2204 return _ogl
.PyCompositeShape_base_OnEraseControlPoints(*args
, **kwargs
)
2206 def base_OnMoveLink(*args
, **kwargs
):
2207 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2208 return _ogl
.PyCompositeShape_base_OnMoveLink(*args
, **kwargs
)
2210 def base_OnSizingDragLeft(*args
, **kwargs
):
2212 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2215 return _ogl
.PyCompositeShape_base_OnSizingDragLeft(*args
, **kwargs
)
2217 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2219 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2222 return _ogl
.PyCompositeShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2224 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2226 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2229 return _ogl
.PyCompositeShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2231 def base_OnBeginSize(*args
, **kwargs
):
2232 """base_OnBeginSize(self, double w, double h)"""
2233 return _ogl
.PyCompositeShape_base_OnBeginSize(*args
, **kwargs
)
2235 def base_OnEndSize(*args
, **kwargs
):
2236 """base_OnEndSize(self, double w, double h)"""
2237 return _ogl
.PyCompositeShape_base_OnEndSize(*args
, **kwargs
)
2240 class PyCompositeShapePtr(PyCompositeShape
):
2241 def __init__(self
, this
):
2243 if not hasattr(self
,"thisown"): self
.thisown
= 0
2244 self
.__class
__ = PyCompositeShape
2245 _ogl
.PyCompositeShape_swigregister(PyCompositeShapePtr
)
2247 class PyDividedShape(PyRectangleShape
):
2249 return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2250 def __init__(self
, *args
, **kwargs
):
2251 """__init__(self, double width=0.0, double height=0.0) -> PyDividedShape"""
2252 newobj
= _ogl
.new_PyDividedShape(*args
, **kwargs
)
2253 self
.this
= newobj
.this
2256 self
._setOORandCallbackInfo
(PyDividedShape
)
2258 def _setCallbackInfo(*args
, **kwargs
):
2259 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2260 return _ogl
.PyDividedShape__setCallbackInfo(*args
, **kwargs
)
2262 def EditRegions(*args
, **kwargs
):
2263 """EditRegions(self)"""
2264 return _ogl
.PyDividedShape_EditRegions(*args
, **kwargs
)
2266 def SetRegionSizes(*args
, **kwargs
):
2267 """SetRegionSizes(self)"""
2268 return _ogl
.PyDividedShape_SetRegionSizes(*args
, **kwargs
)
2270 def base_OnDelete(*args
, **kwargs
):
2271 """base_OnDelete(self)"""
2272 return _ogl
.PyDividedShape_base_OnDelete(*args
, **kwargs
)
2274 def base_OnDraw(*args
, **kwargs
):
2275 """base_OnDraw(self, DC dc)"""
2276 return _ogl
.PyDividedShape_base_OnDraw(*args
, **kwargs
)
2278 def base_OnDrawContents(*args
, **kwargs
):
2279 """base_OnDrawContents(self, DC dc)"""
2280 return _ogl
.PyDividedShape_base_OnDrawContents(*args
, **kwargs
)
2282 def base_OnDrawBranches(*args
, **kwargs
):
2283 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2284 return _ogl
.PyDividedShape_base_OnDrawBranches(*args
, **kwargs
)
2286 def base_OnMoveLinks(*args
, **kwargs
):
2287 """base_OnMoveLinks(self, DC dc)"""
2288 return _ogl
.PyDividedShape_base_OnMoveLinks(*args
, **kwargs
)
2290 def base_OnErase(*args
, **kwargs
):
2291 """base_OnErase(self, DC dc)"""
2292 return _ogl
.PyDividedShape_base_OnErase(*args
, **kwargs
)
2294 def base_OnEraseContents(*args
, **kwargs
):
2295 """base_OnEraseContents(self, DC dc)"""
2296 return _ogl
.PyDividedShape_base_OnEraseContents(*args
, **kwargs
)
2298 def base_OnHighlight(*args
, **kwargs
):
2299 """base_OnHighlight(self, DC dc)"""
2300 return _ogl
.PyDividedShape_base_OnHighlight(*args
, **kwargs
)
2302 def base_OnLeftClick(*args
, **kwargs
):
2303 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2304 return _ogl
.PyDividedShape_base_OnLeftClick(*args
, **kwargs
)
2306 def base_OnLeftDoubleClick(*args
, **kwargs
):
2307 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2308 return _ogl
.PyDividedShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2310 def base_OnRightClick(*args
, **kwargs
):
2311 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2312 return _ogl
.PyDividedShape_base_OnRightClick(*args
, **kwargs
)
2314 def base_OnSize(*args
, **kwargs
):
2315 """base_OnSize(self, double x, double y)"""
2316 return _ogl
.PyDividedShape_base_OnSize(*args
, **kwargs
)
2318 def base_OnMovePre(*args
, **kwargs
):
2320 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2321 bool display=True) -> bool
2323 return _ogl
.PyDividedShape_base_OnMovePre(*args
, **kwargs
)
2325 def base_OnMovePost(*args
, **kwargs
):
2327 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2330 return _ogl
.PyDividedShape_base_OnMovePost(*args
, **kwargs
)
2332 def base_OnDragLeft(*args
, **kwargs
):
2333 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2334 return _ogl
.PyDividedShape_base_OnDragLeft(*args
, **kwargs
)
2336 def base_OnBeginDragLeft(*args
, **kwargs
):
2337 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2338 return _ogl
.PyDividedShape_base_OnBeginDragLeft(*args
, **kwargs
)
2340 def base_OnEndDragLeft(*args
, **kwargs
):
2341 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2342 return _ogl
.PyDividedShape_base_OnEndDragLeft(*args
, **kwargs
)
2344 def base_OnDragRight(*args
, **kwargs
):
2345 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2346 return _ogl
.PyDividedShape_base_OnDragRight(*args
, **kwargs
)
2348 def base_OnBeginDragRight(*args
, **kwargs
):
2349 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2350 return _ogl
.PyDividedShape_base_OnBeginDragRight(*args
, **kwargs
)
2352 def base_OnEndDragRight(*args
, **kwargs
):
2353 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2354 return _ogl
.PyDividedShape_base_OnEndDragRight(*args
, **kwargs
)
2356 def base_OnDrawOutline(*args
, **kwargs
):
2357 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2358 return _ogl
.PyDividedShape_base_OnDrawOutline(*args
, **kwargs
)
2360 def base_OnDrawControlPoints(*args
, **kwargs
):
2361 """base_OnDrawControlPoints(self, DC dc)"""
2362 return _ogl
.PyDividedShape_base_OnDrawControlPoints(*args
, **kwargs
)
2364 def base_OnEraseControlPoints(*args
, **kwargs
):
2365 """base_OnEraseControlPoints(self, DC dc)"""
2366 return _ogl
.PyDividedShape_base_OnEraseControlPoints(*args
, **kwargs
)
2368 def base_OnMoveLink(*args
, **kwargs
):
2369 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2370 return _ogl
.PyDividedShape_base_OnMoveLink(*args
, **kwargs
)
2372 def base_OnSizingDragLeft(*args
, **kwargs
):
2374 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2377 return _ogl
.PyDividedShape_base_OnSizingDragLeft(*args
, **kwargs
)
2379 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2381 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2384 return _ogl
.PyDividedShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2386 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2388 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2391 return _ogl
.PyDividedShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2393 def base_OnBeginSize(*args
, **kwargs
):
2394 """base_OnBeginSize(self, double w, double h)"""
2395 return _ogl
.PyDividedShape_base_OnBeginSize(*args
, **kwargs
)
2397 def base_OnEndSize(*args
, **kwargs
):
2398 """base_OnEndSize(self, double w, double h)"""
2399 return _ogl
.PyDividedShape_base_OnEndSize(*args
, **kwargs
)
2402 class PyDividedShapePtr(PyDividedShape
):
2403 def __init__(self
, this
):
2405 if not hasattr(self
,"thisown"): self
.thisown
= 0
2406 self
.__class
__ = PyDividedShape
2407 _ogl
.PyDividedShape_swigregister(PyDividedShapePtr
)
2409 class PyDivisionShape(PyCompositeShape
):
2411 return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2412 def __init__(self
, *args
, **kwargs
):
2413 """__init__(self) -> PyDivisionShape"""
2414 newobj
= _ogl
.new_PyDivisionShape(*args
, **kwargs
)
2415 self
.this
= newobj
.this
2418 self
._setOORandCallbackInfo
(PyDivisionShape
)
2420 def _setCallbackInfo(*args
, **kwargs
):
2421 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2422 return _ogl
.PyDivisionShape__setCallbackInfo(*args
, **kwargs
)
2424 def AdjustBottom(*args
, **kwargs
):
2425 """AdjustBottom(self, double bottom, bool test)"""
2426 return _ogl
.PyDivisionShape_AdjustBottom(*args
, **kwargs
)
2428 def AdjustLeft(*args
, **kwargs
):
2429 """AdjustLeft(self, double left, bool test)"""
2430 return _ogl
.PyDivisionShape_AdjustLeft(*args
, **kwargs
)
2432 def AdjustRight(*args
, **kwargs
):
2433 """AdjustRight(self, double right, bool test)"""
2434 return _ogl
.PyDivisionShape_AdjustRight(*args
, **kwargs
)
2436 def AdjustTop(*args
, **kwargs
):
2437 """AdjustTop(self, double top, bool test)"""
2438 return _ogl
.PyDivisionShape_AdjustTop(*args
, **kwargs
)
2440 def Divide(*args
, **kwargs
):
2441 """Divide(self, int direction)"""
2442 return _ogl
.PyDivisionShape_Divide(*args
, **kwargs
)
2444 def EditEdge(*args
, **kwargs
):
2445 """EditEdge(self, int side)"""
2446 return _ogl
.PyDivisionShape_EditEdge(*args
, **kwargs
)
2448 def GetBottomSide(*args
, **kwargs
):
2449 """GetBottomSide(self) -> PyDivisionShape"""
2450 return _ogl
.PyDivisionShape_GetBottomSide(*args
, **kwargs
)
2452 def GetHandleSide(*args
, **kwargs
):
2453 """GetHandleSide(self) -> int"""
2454 return _ogl
.PyDivisionShape_GetHandleSide(*args
, **kwargs
)
2456 def GetLeftSide(*args
, **kwargs
):
2457 """GetLeftSide(self) -> PyDivisionShape"""
2458 return _ogl
.PyDivisionShape_GetLeftSide(*args
, **kwargs
)
2460 def GetLeftSideColour(*args
, **kwargs
):
2461 """GetLeftSideColour(self) -> String"""
2462 return _ogl
.PyDivisionShape_GetLeftSideColour(*args
, **kwargs
)
2464 def GetLeftSidePen(*args
, **kwargs
):
2465 """GetLeftSidePen(self) -> wxPen"""
2466 return _ogl
.PyDivisionShape_GetLeftSidePen(*args
, **kwargs
)
2468 def GetRightSide(*args
, **kwargs
):
2469 """GetRightSide(self) -> PyDivisionShape"""
2470 return _ogl
.PyDivisionShape_GetRightSide(*args
, **kwargs
)
2472 def GetTopSide(*args
, **kwargs
):
2473 """GetTopSide(self) -> PyDivisionShape"""
2474 return _ogl
.PyDivisionShape_GetTopSide(*args
, **kwargs
)
2476 def GetTopSidePen(*args
, **kwargs
):
2477 """GetTopSidePen(self) -> wxPen"""
2478 return _ogl
.PyDivisionShape_GetTopSidePen(*args
, **kwargs
)
2480 def ResizeAdjoining(*args
, **kwargs
):
2481 """ResizeAdjoining(self, int side, double newPos, bool test)"""
2482 return _ogl
.PyDivisionShape_ResizeAdjoining(*args
, **kwargs
)
2484 def PopupMenu(*args
, **kwargs
):
2485 """PopupMenu(self, double x, double y)"""
2486 return _ogl
.PyDivisionShape_PopupMenu(*args
, **kwargs
)
2488 def SetBottomSide(*args
, **kwargs
):
2489 """SetBottomSide(self, PyDivisionShape shape)"""
2490 return _ogl
.PyDivisionShape_SetBottomSide(*args
, **kwargs
)
2492 def SetHandleSide(*args
, **kwargs
):
2493 """SetHandleSide(self, int side)"""
2494 return _ogl
.PyDivisionShape_SetHandleSide(*args
, **kwargs
)
2496 def SetLeftSide(*args
, **kwargs
):
2497 """SetLeftSide(self, PyDivisionShape shape)"""
2498 return _ogl
.PyDivisionShape_SetLeftSide(*args
, **kwargs
)
2500 def SetLeftSideColour(*args
, **kwargs
):
2501 """SetLeftSideColour(self, String colour)"""
2502 return _ogl
.PyDivisionShape_SetLeftSideColour(*args
, **kwargs
)
2504 def SetLeftSidePen(*args
, **kwargs
):
2505 """SetLeftSidePen(self, wxPen pen)"""
2506 return _ogl
.PyDivisionShape_SetLeftSidePen(*args
, **kwargs
)
2508 def SetRightSide(*args
, **kwargs
):
2509 """SetRightSide(self, PyDivisionShape shape)"""
2510 return _ogl
.PyDivisionShape_SetRightSide(*args
, **kwargs
)
2512 def SetTopSide(*args
, **kwargs
):
2513 """SetTopSide(self, PyDivisionShape shape)"""
2514 return _ogl
.PyDivisionShape_SetTopSide(*args
, **kwargs
)
2516 def SetTopSideColour(*args
, **kwargs
):
2517 """SetTopSideColour(self, String colour)"""
2518 return _ogl
.PyDivisionShape_SetTopSideColour(*args
, **kwargs
)
2520 def SetTopSidePen(*args
, **kwargs
):
2521 """SetTopSidePen(self, wxPen pen)"""
2522 return _ogl
.PyDivisionShape_SetTopSidePen(*args
, **kwargs
)
2524 def base_OnDelete(*args
, **kwargs
):
2525 """base_OnDelete(self)"""
2526 return _ogl
.PyDivisionShape_base_OnDelete(*args
, **kwargs
)
2528 def base_OnDraw(*args
, **kwargs
):
2529 """base_OnDraw(self, DC dc)"""
2530 return _ogl
.PyDivisionShape_base_OnDraw(*args
, **kwargs
)
2532 def base_OnDrawContents(*args
, **kwargs
):
2533 """base_OnDrawContents(self, DC dc)"""
2534 return _ogl
.PyDivisionShape_base_OnDrawContents(*args
, **kwargs
)
2536 def base_OnDrawBranches(*args
, **kwargs
):
2537 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2538 return _ogl
.PyDivisionShape_base_OnDrawBranches(*args
, **kwargs
)
2540 def base_OnMoveLinks(*args
, **kwargs
):
2541 """base_OnMoveLinks(self, DC dc)"""
2542 return _ogl
.PyDivisionShape_base_OnMoveLinks(*args
, **kwargs
)
2544 def base_OnErase(*args
, **kwargs
):
2545 """base_OnErase(self, DC dc)"""
2546 return _ogl
.PyDivisionShape_base_OnErase(*args
, **kwargs
)
2548 def base_OnEraseContents(*args
, **kwargs
):
2549 """base_OnEraseContents(self, DC dc)"""
2550 return _ogl
.PyDivisionShape_base_OnEraseContents(*args
, **kwargs
)
2552 def base_OnHighlight(*args
, **kwargs
):
2553 """base_OnHighlight(self, DC dc)"""
2554 return _ogl
.PyDivisionShape_base_OnHighlight(*args
, **kwargs
)
2556 def base_OnLeftClick(*args
, **kwargs
):
2557 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2558 return _ogl
.PyDivisionShape_base_OnLeftClick(*args
, **kwargs
)
2560 def base_OnLeftDoubleClick(*args
, **kwargs
):
2561 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2562 return _ogl
.PyDivisionShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2564 def base_OnRightClick(*args
, **kwargs
):
2565 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2566 return _ogl
.PyDivisionShape_base_OnRightClick(*args
, **kwargs
)
2568 def base_OnSize(*args
, **kwargs
):
2569 """base_OnSize(self, double x, double y)"""
2570 return _ogl
.PyDivisionShape_base_OnSize(*args
, **kwargs
)
2572 def base_OnMovePre(*args
, **kwargs
):
2574 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2575 bool display=True) -> bool
2577 return _ogl
.PyDivisionShape_base_OnMovePre(*args
, **kwargs
)
2579 def base_OnMovePost(*args
, **kwargs
):
2581 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2584 return _ogl
.PyDivisionShape_base_OnMovePost(*args
, **kwargs
)
2586 def base_OnDragLeft(*args
, **kwargs
):
2587 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2588 return _ogl
.PyDivisionShape_base_OnDragLeft(*args
, **kwargs
)
2590 def base_OnBeginDragLeft(*args
, **kwargs
):
2591 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2592 return _ogl
.PyDivisionShape_base_OnBeginDragLeft(*args
, **kwargs
)
2594 def base_OnEndDragLeft(*args
, **kwargs
):
2595 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2596 return _ogl
.PyDivisionShape_base_OnEndDragLeft(*args
, **kwargs
)
2598 def base_OnDragRight(*args
, **kwargs
):
2599 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2600 return _ogl
.PyDivisionShape_base_OnDragRight(*args
, **kwargs
)
2602 def base_OnBeginDragRight(*args
, **kwargs
):
2603 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2604 return _ogl
.PyDivisionShape_base_OnBeginDragRight(*args
, **kwargs
)
2606 def base_OnEndDragRight(*args
, **kwargs
):
2607 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2608 return _ogl
.PyDivisionShape_base_OnEndDragRight(*args
, **kwargs
)
2610 def base_OnDrawOutline(*args
, **kwargs
):
2611 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2612 return _ogl
.PyDivisionShape_base_OnDrawOutline(*args
, **kwargs
)
2614 def base_OnDrawControlPoints(*args
, **kwargs
):
2615 """base_OnDrawControlPoints(self, DC dc)"""
2616 return _ogl
.PyDivisionShape_base_OnDrawControlPoints(*args
, **kwargs
)
2618 def base_OnEraseControlPoints(*args
, **kwargs
):
2619 """base_OnEraseControlPoints(self, DC dc)"""
2620 return _ogl
.PyDivisionShape_base_OnEraseControlPoints(*args
, **kwargs
)
2622 def base_OnMoveLink(*args
, **kwargs
):
2623 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2624 return _ogl
.PyDivisionShape_base_OnMoveLink(*args
, **kwargs
)
2626 def base_OnSizingDragLeft(*args
, **kwargs
):
2628 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2631 return _ogl
.PyDivisionShape_base_OnSizingDragLeft(*args
, **kwargs
)
2633 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2635 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2638 return _ogl
.PyDivisionShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2640 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2642 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2645 return _ogl
.PyDivisionShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2647 def base_OnBeginSize(*args
, **kwargs
):
2648 """base_OnBeginSize(self, double w, double h)"""
2649 return _ogl
.PyDivisionShape_base_OnBeginSize(*args
, **kwargs
)
2651 def base_OnEndSize(*args
, **kwargs
):
2652 """base_OnEndSize(self, double w, double h)"""
2653 return _ogl
.PyDivisionShape_base_OnEndSize(*args
, **kwargs
)
2656 class PyDivisionShapePtr(PyDivisionShape
):
2657 def __init__(self
, this
):
2659 if not hasattr(self
,"thisown"): self
.thisown
= 0
2660 self
.__class
__ = PyDivisionShape
2661 _ogl
.PyDivisionShape_swigregister(PyDivisionShapePtr
)
2663 class PyEllipseShape(PyShape
):
2665 return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2666 def __init__(self
, *args
, **kwargs
):
2667 """__init__(self, double width=0.0, double height=0.0) -> PyEllipseShape"""
2668 newobj
= _ogl
.new_PyEllipseShape(*args
, **kwargs
)
2669 self
.this
= newobj
.this
2672 self
._setOORandCallbackInfo
(PyEllipseShape
)
2674 def _setCallbackInfo(*args
, **kwargs
):
2675 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2676 return _ogl
.PyEllipseShape__setCallbackInfo(*args
, **kwargs
)
2678 def base_OnDraw(*args
, **kwargs
):
2679 """base_OnDraw(self, DC dc)"""
2680 return _ogl
.PyEllipseShape_base_OnDraw(*args
, **kwargs
)
2682 def base_OnDrawContents(*args
, **kwargs
):
2683 """base_OnDrawContents(self, DC dc)"""
2684 return _ogl
.PyEllipseShape_base_OnDrawContents(*args
, **kwargs
)
2686 def base_OnDrawBranches(*args
, **kwargs
):
2687 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2688 return _ogl
.PyEllipseShape_base_OnDrawBranches(*args
, **kwargs
)
2690 def base_OnMoveLinks(*args
, **kwargs
):
2691 """base_OnMoveLinks(self, DC dc)"""
2692 return _ogl
.PyEllipseShape_base_OnMoveLinks(*args
, **kwargs
)
2694 def base_OnErase(*args
, **kwargs
):
2695 """base_OnErase(self, DC dc)"""
2696 return _ogl
.PyEllipseShape_base_OnErase(*args
, **kwargs
)
2698 def base_OnEraseContents(*args
, **kwargs
):
2699 """base_OnEraseContents(self, DC dc)"""
2700 return _ogl
.PyEllipseShape_base_OnEraseContents(*args
, **kwargs
)
2702 def base_OnHighlight(*args
, **kwargs
):
2703 """base_OnHighlight(self, DC dc)"""
2704 return _ogl
.PyEllipseShape_base_OnHighlight(*args
, **kwargs
)
2706 def base_OnLeftClick(*args
, **kwargs
):
2707 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2708 return _ogl
.PyEllipseShape_base_OnLeftClick(*args
, **kwargs
)
2710 def base_OnLeftDoubleClick(*args
, **kwargs
):
2711 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2712 return _ogl
.PyEllipseShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2714 def base_OnRightClick(*args
, **kwargs
):
2715 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2716 return _ogl
.PyEllipseShape_base_OnRightClick(*args
, **kwargs
)
2718 def base_OnSize(*args
, **kwargs
):
2719 """base_OnSize(self, double x, double y)"""
2720 return _ogl
.PyEllipseShape_base_OnSize(*args
, **kwargs
)
2722 def base_OnMovePre(*args
, **kwargs
):
2724 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2725 bool display=True) -> bool
2727 return _ogl
.PyEllipseShape_base_OnMovePre(*args
, **kwargs
)
2729 def base_OnMovePost(*args
, **kwargs
):
2731 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2734 return _ogl
.PyEllipseShape_base_OnMovePost(*args
, **kwargs
)
2736 def base_OnDragLeft(*args
, **kwargs
):
2737 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2738 return _ogl
.PyEllipseShape_base_OnDragLeft(*args
, **kwargs
)
2740 def base_OnBeginDragLeft(*args
, **kwargs
):
2741 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2742 return _ogl
.PyEllipseShape_base_OnBeginDragLeft(*args
, **kwargs
)
2744 def base_OnEndDragLeft(*args
, **kwargs
):
2745 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2746 return _ogl
.PyEllipseShape_base_OnEndDragLeft(*args
, **kwargs
)
2748 def base_OnDragRight(*args
, **kwargs
):
2749 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2750 return _ogl
.PyEllipseShape_base_OnDragRight(*args
, **kwargs
)
2752 def base_OnBeginDragRight(*args
, **kwargs
):
2753 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2754 return _ogl
.PyEllipseShape_base_OnBeginDragRight(*args
, **kwargs
)
2756 def base_OnEndDragRight(*args
, **kwargs
):
2757 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2758 return _ogl
.PyEllipseShape_base_OnEndDragRight(*args
, **kwargs
)
2760 def base_OnDrawOutline(*args
, **kwargs
):
2761 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2762 return _ogl
.PyEllipseShape_base_OnDrawOutline(*args
, **kwargs
)
2764 def base_OnDrawControlPoints(*args
, **kwargs
):
2765 """base_OnDrawControlPoints(self, DC dc)"""
2766 return _ogl
.PyEllipseShape_base_OnDrawControlPoints(*args
, **kwargs
)
2768 def base_OnEraseControlPoints(*args
, **kwargs
):
2769 """base_OnEraseControlPoints(self, DC dc)"""
2770 return _ogl
.PyEllipseShape_base_OnEraseControlPoints(*args
, **kwargs
)
2772 def base_OnMoveLink(*args
, **kwargs
):
2773 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2774 return _ogl
.PyEllipseShape_base_OnMoveLink(*args
, **kwargs
)
2776 def base_OnSizingDragLeft(*args
, **kwargs
):
2778 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2781 return _ogl
.PyEllipseShape_base_OnSizingDragLeft(*args
, **kwargs
)
2783 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2785 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2788 return _ogl
.PyEllipseShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2790 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2792 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2795 return _ogl
.PyEllipseShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2797 def base_OnBeginSize(*args
, **kwargs
):
2798 """base_OnBeginSize(self, double w, double h)"""
2799 return _ogl
.PyEllipseShape_base_OnBeginSize(*args
, **kwargs
)
2801 def base_OnEndSize(*args
, **kwargs
):
2802 """base_OnEndSize(self, double w, double h)"""
2803 return _ogl
.PyEllipseShape_base_OnEndSize(*args
, **kwargs
)
2806 class PyEllipseShapePtr(PyEllipseShape
):
2807 def __init__(self
, this
):
2809 if not hasattr(self
,"thisown"): self
.thisown
= 0
2810 self
.__class
__ = PyEllipseShape
2811 _ogl
.PyEllipseShape_swigregister(PyEllipseShapePtr
)
2813 class PyCircleShape(PyEllipseShape
):
2815 return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2816 def __init__(self
, *args
, **kwargs
):
2817 """__init__(self, double width=0.0) -> PyCircleShape"""
2818 newobj
= _ogl
.new_PyCircleShape(*args
, **kwargs
)
2819 self
.this
= newobj
.this
2822 self
._setOORandCallbackInfo
(PyCircleShape
)
2824 def _setCallbackInfo(*args
, **kwargs
):
2825 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2826 return _ogl
.PyCircleShape__setCallbackInfo(*args
, **kwargs
)
2828 def base_OnDraw(*args
, **kwargs
):
2829 """base_OnDraw(self, DC dc)"""
2830 return _ogl
.PyCircleShape_base_OnDraw(*args
, **kwargs
)
2832 def base_OnDrawContents(*args
, **kwargs
):
2833 """base_OnDrawContents(self, DC dc)"""
2834 return _ogl
.PyCircleShape_base_OnDrawContents(*args
, **kwargs
)
2836 def base_OnDrawBranches(*args
, **kwargs
):
2837 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
2838 return _ogl
.PyCircleShape_base_OnDrawBranches(*args
, **kwargs
)
2840 def base_OnMoveLinks(*args
, **kwargs
):
2841 """base_OnMoveLinks(self, DC dc)"""
2842 return _ogl
.PyCircleShape_base_OnMoveLinks(*args
, **kwargs
)
2844 def base_OnErase(*args
, **kwargs
):
2845 """base_OnErase(self, DC dc)"""
2846 return _ogl
.PyCircleShape_base_OnErase(*args
, **kwargs
)
2848 def base_OnEraseContents(*args
, **kwargs
):
2849 """base_OnEraseContents(self, DC dc)"""
2850 return _ogl
.PyCircleShape_base_OnEraseContents(*args
, **kwargs
)
2852 def base_OnHighlight(*args
, **kwargs
):
2853 """base_OnHighlight(self, DC dc)"""
2854 return _ogl
.PyCircleShape_base_OnHighlight(*args
, **kwargs
)
2856 def base_OnLeftClick(*args
, **kwargs
):
2857 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2858 return _ogl
.PyCircleShape_base_OnLeftClick(*args
, **kwargs
)
2860 def base_OnLeftDoubleClick(*args
, **kwargs
):
2861 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2862 return _ogl
.PyCircleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2864 def base_OnRightClick(*args
, **kwargs
):
2865 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2866 return _ogl
.PyCircleShape_base_OnRightClick(*args
, **kwargs
)
2868 def base_OnSize(*args
, **kwargs
):
2869 """base_OnSize(self, double x, double y)"""
2870 return _ogl
.PyCircleShape_base_OnSize(*args
, **kwargs
)
2872 def base_OnMovePre(*args
, **kwargs
):
2874 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2875 bool display=True) -> bool
2877 return _ogl
.PyCircleShape_base_OnMovePre(*args
, **kwargs
)
2879 def base_OnMovePost(*args
, **kwargs
):
2881 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2884 return _ogl
.PyCircleShape_base_OnMovePost(*args
, **kwargs
)
2886 def base_OnDragLeft(*args
, **kwargs
):
2887 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2888 return _ogl
.PyCircleShape_base_OnDragLeft(*args
, **kwargs
)
2890 def base_OnBeginDragLeft(*args
, **kwargs
):
2891 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2892 return _ogl
.PyCircleShape_base_OnBeginDragLeft(*args
, **kwargs
)
2894 def base_OnEndDragLeft(*args
, **kwargs
):
2895 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2896 return _ogl
.PyCircleShape_base_OnEndDragLeft(*args
, **kwargs
)
2898 def base_OnDragRight(*args
, **kwargs
):
2899 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2900 return _ogl
.PyCircleShape_base_OnDragRight(*args
, **kwargs
)
2902 def base_OnBeginDragRight(*args
, **kwargs
):
2903 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2904 return _ogl
.PyCircleShape_base_OnBeginDragRight(*args
, **kwargs
)
2906 def base_OnEndDragRight(*args
, **kwargs
):
2907 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2908 return _ogl
.PyCircleShape_base_OnEndDragRight(*args
, **kwargs
)
2910 def base_OnDrawOutline(*args
, **kwargs
):
2911 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2912 return _ogl
.PyCircleShape_base_OnDrawOutline(*args
, **kwargs
)
2914 def base_OnDrawControlPoints(*args
, **kwargs
):
2915 """base_OnDrawControlPoints(self, DC dc)"""
2916 return _ogl
.PyCircleShape_base_OnDrawControlPoints(*args
, **kwargs
)
2918 def base_OnEraseControlPoints(*args
, **kwargs
):
2919 """base_OnEraseControlPoints(self, DC dc)"""
2920 return _ogl
.PyCircleShape_base_OnEraseControlPoints(*args
, **kwargs
)
2922 def base_OnMoveLink(*args
, **kwargs
):
2923 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2924 return _ogl
.PyCircleShape_base_OnMoveLink(*args
, **kwargs
)
2926 def base_OnSizingDragLeft(*args
, **kwargs
):
2928 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2931 return _ogl
.PyCircleShape_base_OnSizingDragLeft(*args
, **kwargs
)
2933 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2935 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2938 return _ogl
.PyCircleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2940 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2942 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2945 return _ogl
.PyCircleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2947 def base_OnBeginSize(*args
, **kwargs
):
2948 """base_OnBeginSize(self, double w, double h)"""
2949 return _ogl
.PyCircleShape_base_OnBeginSize(*args
, **kwargs
)
2951 def base_OnEndSize(*args
, **kwargs
):
2952 """base_OnEndSize(self, double w, double h)"""
2953 return _ogl
.PyCircleShape_base_OnEndSize(*args
, **kwargs
)
2956 class PyCircleShapePtr(PyCircleShape
):
2957 def __init__(self
, this
):
2959 if not hasattr(self
,"thisown"): self
.thisown
= 0
2960 self
.__class
__ = PyCircleShape
2961 _ogl
.PyCircleShape_swigregister(PyCircleShapePtr
)
2963 class ArrowHead(_core
.Object
):
2965 return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2966 def __init__(self
, *args
, **kwargs
):
2968 __init__(self, int type=0, int end=0, double size=0.0, double dist=0.0,
2969 String name=EmptyString, PseudoMetaFile mf=None,
2970 long arrowId=-1) -> ArrowHead
2972 newobj
= _ogl
.new_ArrowHead(*args
, **kwargs
)
2973 self
.this
= newobj
.this
2976 def __del__(self
, destroy
=_ogl
.delete_ArrowHead
):
2979 if self
.thisown
: destroy(self
)
2982 def _GetType(*args
, **kwargs
):
2983 """_GetType(self) -> int"""
2984 return _ogl
.ArrowHead__GetType(*args
, **kwargs
)
2986 def GetPosition(*args
, **kwargs
):
2987 """GetPosition(self) -> int"""
2988 return _ogl
.ArrowHead_GetPosition(*args
, **kwargs
)
2990 def SetPosition(*args
, **kwargs
):
2991 """SetPosition(self, int pos)"""
2992 return _ogl
.ArrowHead_SetPosition(*args
, **kwargs
)
2994 def GetXOffset(*args
, **kwargs
):
2995 """GetXOffset(self) -> double"""
2996 return _ogl
.ArrowHead_GetXOffset(*args
, **kwargs
)
2998 def GetYOffset(*args
, **kwargs
):
2999 """GetYOffset(self) -> double"""
3000 return _ogl
.ArrowHead_GetYOffset(*args
, **kwargs
)
3002 def GetSpacing(*args
, **kwargs
):
3003 """GetSpacing(self) -> double"""
3004 return _ogl
.ArrowHead_GetSpacing(*args
, **kwargs
)
3006 def GetSize(*args
, **kwargs
):
3007 """GetSize(self) -> double"""
3008 return _ogl
.ArrowHead_GetSize(*args
, **kwargs
)
3010 def GetName(*args
, **kwargs
):
3011 """GetName(self) -> String"""
3012 return _ogl
.ArrowHead_GetName(*args
, **kwargs
)
3014 def SetXOffset(*args
, **kwargs
):
3015 """SetXOffset(self, double x)"""
3016 return _ogl
.ArrowHead_SetXOffset(*args
, **kwargs
)
3018 def SetYOffset(*args
, **kwargs
):
3019 """SetYOffset(self, double y)"""
3020 return _ogl
.ArrowHead_SetYOffset(*args
, **kwargs
)
3022 def GetMetaFile(*args
, **kwargs
):
3023 """GetMetaFile(self) -> PseudoMetaFile"""
3024 return _ogl
.ArrowHead_GetMetaFile(*args
, **kwargs
)
3026 def GetId(*args
, **kwargs
):
3027 """GetId(self) -> long"""
3028 return _ogl
.ArrowHead_GetId(*args
, **kwargs
)
3030 def GetArrowEnd(*args
, **kwargs
):
3031 """GetArrowEnd(self) -> int"""
3032 return _ogl
.ArrowHead_GetArrowEnd(*args
, **kwargs
)
3034 def GetArrowSize(*args
, **kwargs
):
3035 """GetArrowSize(self) -> double"""
3036 return _ogl
.ArrowHead_GetArrowSize(*args
, **kwargs
)
3038 def SetSize(*args
, **kwargs
):
3039 """SetSize(self, double size)"""
3040 return _ogl
.ArrowHead_SetSize(*args
, **kwargs
)
3042 def SetSpacing(*args
, **kwargs
):
3043 """SetSpacing(self, double sp)"""
3044 return _ogl
.ArrowHead_SetSpacing(*args
, **kwargs
)
3047 class ArrowHeadPtr(ArrowHead
):
3048 def __init__(self
, this
):
3050 if not hasattr(self
,"thisown"): self
.thisown
= 0
3051 self
.__class
__ = ArrowHead
3052 _ogl
.ArrowHead_swigregister(ArrowHeadPtr
)
3054 class PyLineShape(PyShape
):
3056 return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3057 def __init__(self
, *args
, **kwargs
):
3058 """__init__(self) -> PyLineShape"""
3059 newobj
= _ogl
.new_PyLineShape(*args
, **kwargs
)
3060 self
.this
= newobj
.this
3063 self
._setOORandCallbackInfo
(PyLineShape
)
3065 def _setCallbackInfo(*args
, **kwargs
):
3066 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3067 return _ogl
.PyLineShape__setCallbackInfo(*args
, **kwargs
)
3069 def AddArrow(*args
, **kwargs
):
3071 AddArrow(self, int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
3072 double xOffset=0.0, String name=EmptyString,
3073 PseudoMetaFile mf=None, long arrowId=-1)
3075 return _ogl
.PyLineShape_AddArrow(*args
, **kwargs
)
3077 def AddArrowOrdered(*args
, **kwargs
):
3078 """AddArrowOrdered(self, ArrowHead arrow, PyObject referenceList, int end)"""
3079 return _ogl
.PyLineShape_AddArrowOrdered(*args
, **kwargs
)
3081 def ClearArrow(*args
, **kwargs
):
3082 """ClearArrow(self, String name) -> bool"""
3083 return _ogl
.PyLineShape_ClearArrow(*args
, **kwargs
)
3085 def ClearArrowsAtPosition(*args
, **kwargs
):
3086 """ClearArrowsAtPosition(self, int position=-1)"""
3087 return _ogl
.PyLineShape_ClearArrowsAtPosition(*args
, **kwargs
)
3089 def DrawArrow(*args
, **kwargs
):
3090 """DrawArrow(self, DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)"""
3091 return _ogl
.PyLineShape_DrawArrow(*args
, **kwargs
)
3093 def DeleteArrowHeadId(*args
, **kwargs
):
3094 """DeleteArrowHeadId(self, long arrowId) -> bool"""
3095 return _ogl
.PyLineShape_DeleteArrowHeadId(*args
, **kwargs
)
3097 def DeleteArrowHead(*args
, **kwargs
):
3098 """DeleteArrowHead(self, int position, String name) -> bool"""
3099 return _ogl
.PyLineShape_DeleteArrowHead(*args
, **kwargs
)
3101 def DeleteLineControlPoint(*args
, **kwargs
):
3102 """DeleteLineControlPoint(self) -> bool"""
3103 return _ogl
.PyLineShape_DeleteLineControlPoint(*args
, **kwargs
)
3105 def DrawArrows(*args
, **kwargs
):
3106 """DrawArrows(self, DC dc)"""
3107 return _ogl
.PyLineShape_DrawArrows(*args
, **kwargs
)
3109 def DrawRegion(*args
, **kwargs
):
3110 """DrawRegion(self, DC dc, ShapeRegion region, double x, double y)"""
3111 return _ogl
.PyLineShape_DrawRegion(*args
, **kwargs
)
3113 def EraseRegion(*args
, **kwargs
):
3114 """EraseRegion(self, DC dc, ShapeRegion region, double x, double y)"""
3115 return _ogl
.PyLineShape_EraseRegion(*args
, **kwargs
)
3117 def FindArrowHeadId(*args
, **kwargs
):
3118 """FindArrowHeadId(self, long arrowId) -> ArrowHead"""
3119 return _ogl
.PyLineShape_FindArrowHeadId(*args
, **kwargs
)
3121 def FindArrowHead(*args
, **kwargs
):
3122 """FindArrowHead(self, int position, String name) -> ArrowHead"""
3123 return _ogl
.PyLineShape_FindArrowHead(*args
, **kwargs
)
3125 def FindLineEndPoints(*args
, **kwargs
):
3126 """FindLineEndPoints(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3127 return _ogl
.PyLineShape_FindLineEndPoints(*args
, **kwargs
)
3129 def FindLinePosition(*args
, **kwargs
):
3130 """FindLinePosition(self, double x, double y) -> int"""
3131 return _ogl
.PyLineShape_FindLinePosition(*args
, **kwargs
)
3133 def FindMinimumWidth(*args
, **kwargs
):
3134 """FindMinimumWidth(self) -> double"""
3135 return _ogl
.PyLineShape_FindMinimumWidth(*args
, **kwargs
)
3137 def FindNth(*args
, **kwargs
):
3138 """FindNth(self, PyShape image, int OUTPUT, int OUTPUT, bool incoming)"""
3139 return _ogl
.PyLineShape_FindNth(*args
, **kwargs
)
3141 def GetAttachmentFrom(*args
, **kwargs
):
3142 """GetAttachmentFrom(self) -> int"""
3143 return _ogl
.PyLineShape_GetAttachmentFrom(*args
, **kwargs
)
3145 def GetAttachmentTo(*args
, **kwargs
):
3146 """GetAttachmentTo(self) -> int"""
3147 return _ogl
.PyLineShape_GetAttachmentTo(*args
, **kwargs
)
3149 def GetEnds(*args
, **kwargs
):
3150 """GetEnds(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3151 return _ogl
.PyLineShape_GetEnds(*args
, **kwargs
)
3153 def GetFrom(*args
, **kwargs
):
3154 """GetFrom(self) -> PyShape"""
3155 return _ogl
.PyLineShape_GetFrom(*args
, **kwargs
)
3157 def GetLabelPosition(*args
, **kwargs
):
3158 """GetLabelPosition(self, int position, double OUTPUT, double OUTPUT)"""
3159 return _ogl
.PyLineShape_GetLabelPosition(*args
, **kwargs
)
3161 def GetNextControlPoint(*args
, **kwargs
):
3162 """GetNextControlPoint(self, PyShape shape) -> RealPoint"""
3163 return _ogl
.PyLineShape_GetNextControlPoint(*args
, **kwargs
)
3165 def GetTo(*args
, **kwargs
):
3166 """GetTo(self) -> PyShape"""
3167 return _ogl
.PyLineShape_GetTo(*args
, **kwargs
)
3169 def Initialise(*args
, **kwargs
):
3170 """Initialise(self)"""
3171 return _ogl
.PyLineShape_Initialise(*args
, **kwargs
)
3173 def InsertLineControlPoint(*args
, **kwargs
):
3174 """InsertLineControlPoint(self, DC dc)"""
3175 return _ogl
.PyLineShape_InsertLineControlPoint(*args
, **kwargs
)
3177 def IsEnd(*args
, **kwargs
):
3178 """IsEnd(self, PyShape shape) -> bool"""
3179 return _ogl
.PyLineShape_IsEnd(*args
, **kwargs
)
3181 def IsSpline(*args
, **kwargs
):
3182 """IsSpline(self) -> bool"""
3183 return _ogl
.PyLineShape_IsSpline(*args
, **kwargs
)
3185 def MakeLineControlPoints(*args
, **kwargs
):
3186 """MakeLineControlPoints(self, int n)"""
3187 return _ogl
.PyLineShape_MakeLineControlPoints(*args
, **kwargs
)
3189 def GetLineControlPoints(*args
, **kwargs
):
3190 """GetLineControlPoints(self) -> PyObject"""
3191 return _ogl
.PyLineShape_GetLineControlPoints(*args
, **kwargs
)
3193 def SetAttachmentFrom(*args
, **kwargs
):
3194 """SetAttachmentFrom(self, int fromAttach)"""
3195 return _ogl
.PyLineShape_SetAttachmentFrom(*args
, **kwargs
)
3197 def SetAttachments(*args
, **kwargs
):
3198 """SetAttachments(self, int fromAttach, int toAttach)"""
3199 return _ogl
.PyLineShape_SetAttachments(*args
, **kwargs
)
3201 def SetAttachmentTo(*args
, **kwargs
):
3202 """SetAttachmentTo(self, int toAttach)"""
3203 return _ogl
.PyLineShape_SetAttachmentTo(*args
, **kwargs
)
3205 def SetEnds(*args
, **kwargs
):
3206 """SetEnds(self, double x1, double y1, double x2, double y2)"""
3207 return _ogl
.PyLineShape_SetEnds(*args
, **kwargs
)
3209 def SetFrom(*args
, **kwargs
):
3210 """SetFrom(self, PyShape object)"""
3211 return _ogl
.PyLineShape_SetFrom(*args
, **kwargs
)
3213 def SetIgnoreOffsets(*args
, **kwargs
):
3214 """SetIgnoreOffsets(self, bool ignore)"""
3215 return _ogl
.PyLineShape_SetIgnoreOffsets(*args
, **kwargs
)
3217 def SetSpline(*args
, **kwargs
):
3218 """SetSpline(self, bool spline)"""
3219 return _ogl
.PyLineShape_SetSpline(*args
, **kwargs
)
3221 def SetTo(*args
, **kwargs
):
3222 """SetTo(self, PyShape object)"""
3223 return _ogl
.PyLineShape_SetTo(*args
, **kwargs
)
3225 def Straighten(*args
, **kwargs
):
3226 """Straighten(self, DC dc=None)"""
3227 return _ogl
.PyLineShape_Straighten(*args
, **kwargs
)
3229 def Unlink(*args
, **kwargs
):
3231 return _ogl
.PyLineShape_Unlink(*args
, **kwargs
)
3233 def SetAlignmentOrientation(*args
, **kwargs
):
3234 """SetAlignmentOrientation(self, bool isEnd, bool isHoriz)"""
3235 return _ogl
.PyLineShape_SetAlignmentOrientation(*args
, **kwargs
)
3237 def SetAlignmentType(*args
, **kwargs
):
3238 """SetAlignmentType(self, bool isEnd, int alignType)"""
3239 return _ogl
.PyLineShape_SetAlignmentType(*args
, **kwargs
)
3241 def GetAlignmentOrientation(*args
, **kwargs
):
3242 """GetAlignmentOrientation(self, bool isEnd) -> bool"""
3243 return _ogl
.PyLineShape_GetAlignmentOrientation(*args
, **kwargs
)
3245 def GetAlignmentType(*args
, **kwargs
):
3246 """GetAlignmentType(self, bool isEnd) -> int"""
3247 return _ogl
.PyLineShape_GetAlignmentType(*args
, **kwargs
)
3249 def GetAlignmentStart(*args
, **kwargs
):
3250 """GetAlignmentStart(self) -> int"""
3251 return _ogl
.PyLineShape_GetAlignmentStart(*args
, **kwargs
)
3253 def GetAlignmentEnd(*args
, **kwargs
):
3254 """GetAlignmentEnd(self) -> int"""
3255 return _ogl
.PyLineShape_GetAlignmentEnd(*args
, **kwargs
)
3257 def base_OnDraw(*args
, **kwargs
):
3258 """base_OnDraw(self, DC dc)"""
3259 return _ogl
.PyLineShape_base_OnDraw(*args
, **kwargs
)
3261 def base_OnDrawContents(*args
, **kwargs
):
3262 """base_OnDrawContents(self, DC dc)"""
3263 return _ogl
.PyLineShape_base_OnDrawContents(*args
, **kwargs
)
3265 def base_OnDrawBranches(*args
, **kwargs
):
3266 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
3267 return _ogl
.PyLineShape_base_OnDrawBranches(*args
, **kwargs
)
3269 def base_OnMoveLinks(*args
, **kwargs
):
3270 """base_OnMoveLinks(self, DC dc)"""
3271 return _ogl
.PyLineShape_base_OnMoveLinks(*args
, **kwargs
)
3273 def base_OnErase(*args
, **kwargs
):
3274 """base_OnErase(self, DC dc)"""
3275 return _ogl
.PyLineShape_base_OnErase(*args
, **kwargs
)
3277 def base_OnEraseContents(*args
, **kwargs
):
3278 """base_OnEraseContents(self, DC dc)"""
3279 return _ogl
.PyLineShape_base_OnEraseContents(*args
, **kwargs
)
3281 def base_OnHighlight(*args
, **kwargs
):
3282 """base_OnHighlight(self, DC dc)"""
3283 return _ogl
.PyLineShape_base_OnHighlight(*args
, **kwargs
)
3285 def base_OnLeftClick(*args
, **kwargs
):
3286 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3287 return _ogl
.PyLineShape_base_OnLeftClick(*args
, **kwargs
)
3289 def base_OnLeftDoubleClick(*args
, **kwargs
):
3290 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3291 return _ogl
.PyLineShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3293 def base_OnRightClick(*args
, **kwargs
):
3294 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3295 return _ogl
.PyLineShape_base_OnRightClick(*args
, **kwargs
)
3297 def base_OnSize(*args
, **kwargs
):
3298 """base_OnSize(self, double x, double y)"""
3299 return _ogl
.PyLineShape_base_OnSize(*args
, **kwargs
)
3301 def base_OnMovePre(*args
, **kwargs
):
3303 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3304 bool display=True) -> bool
3306 return _ogl
.PyLineShape_base_OnMovePre(*args
, **kwargs
)
3308 def base_OnMovePost(*args
, **kwargs
):
3310 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3313 return _ogl
.PyLineShape_base_OnMovePost(*args
, **kwargs
)
3315 def base_OnDragLeft(*args
, **kwargs
):
3316 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3317 return _ogl
.PyLineShape_base_OnDragLeft(*args
, **kwargs
)
3319 def base_OnBeginDragLeft(*args
, **kwargs
):
3320 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3321 return _ogl
.PyLineShape_base_OnBeginDragLeft(*args
, **kwargs
)
3323 def base_OnEndDragLeft(*args
, **kwargs
):
3324 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3325 return _ogl
.PyLineShape_base_OnEndDragLeft(*args
, **kwargs
)
3327 def base_OnDragRight(*args
, **kwargs
):
3328 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3329 return _ogl
.PyLineShape_base_OnDragRight(*args
, **kwargs
)
3331 def base_OnBeginDragRight(*args
, **kwargs
):
3332 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3333 return _ogl
.PyLineShape_base_OnBeginDragRight(*args
, **kwargs
)
3335 def base_OnEndDragRight(*args
, **kwargs
):
3336 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3337 return _ogl
.PyLineShape_base_OnEndDragRight(*args
, **kwargs
)
3339 def base_OnDrawOutline(*args
, **kwargs
):
3340 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3341 return _ogl
.PyLineShape_base_OnDrawOutline(*args
, **kwargs
)
3343 def base_OnDrawControlPoints(*args
, **kwargs
):
3344 """base_OnDrawControlPoints(self, DC dc)"""
3345 return _ogl
.PyLineShape_base_OnDrawControlPoints(*args
, **kwargs
)
3347 def base_OnEraseControlPoints(*args
, **kwargs
):
3348 """base_OnEraseControlPoints(self, DC dc)"""
3349 return _ogl
.PyLineShape_base_OnEraseControlPoints(*args
, **kwargs
)
3351 def base_OnMoveLink(*args
, **kwargs
):
3352 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3353 return _ogl
.PyLineShape_base_OnMoveLink(*args
, **kwargs
)
3355 def base_OnSizingDragLeft(*args
, **kwargs
):
3357 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3360 return _ogl
.PyLineShape_base_OnSizingDragLeft(*args
, **kwargs
)
3362 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3364 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3367 return _ogl
.PyLineShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3369 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3371 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3374 return _ogl
.PyLineShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3376 def base_OnBeginSize(*args
, **kwargs
):
3377 """base_OnBeginSize(self, double w, double h)"""
3378 return _ogl
.PyLineShape_base_OnBeginSize(*args
, **kwargs
)
3380 def base_OnEndSize(*args
, **kwargs
):
3381 """base_OnEndSize(self, double w, double h)"""
3382 return _ogl
.PyLineShape_base_OnEndSize(*args
, **kwargs
)
3385 class PyLineShapePtr(PyLineShape
):
3386 def __init__(self
, this
):
3388 if not hasattr(self
,"thisown"): self
.thisown
= 0
3389 self
.__class
__ = PyLineShape
3390 _ogl
.PyLineShape_swigregister(PyLineShapePtr
)
3392 class PyPolygonShape(PyShape
):
3394 return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3395 def __init__(self
, *args
, **kwargs
):
3396 """__init__(self) -> PyPolygonShape"""
3397 newobj
= _ogl
.new_PyPolygonShape(*args
, **kwargs
)
3398 self
.this
= newobj
.this
3401 self
._setOORandCallbackInfo
(PyPolygonShape
)
3403 def _setCallbackInfo(*args
, **kwargs
):
3404 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3405 return _ogl
.PyPolygonShape__setCallbackInfo(*args
, **kwargs
)
3407 def Create(*args
, **kwargs
):
3408 """Create(self, PyObject points) -> PyObject"""
3409 return _ogl
.PyPolygonShape_Create(*args
, **kwargs
)
3411 def AddPolygonPoint(*args
, **kwargs
):
3412 """AddPolygonPoint(self, int pos=0)"""
3413 return _ogl
.PyPolygonShape_AddPolygonPoint(*args
, **kwargs
)
3415 def CalculatePolygonCentre(*args
, **kwargs
):
3416 """CalculatePolygonCentre(self)"""
3417 return _ogl
.PyPolygonShape_CalculatePolygonCentre(*args
, **kwargs
)
3419 def DeletePolygonPoint(*args
, **kwargs
):
3420 """DeletePolygonPoint(self, int pos=0)"""
3421 return _ogl
.PyPolygonShape_DeletePolygonPoint(*args
, **kwargs
)
3423 def GetPoints(*args
, **kwargs
):
3424 """GetPoints(self) -> PyObject"""
3425 return _ogl
.PyPolygonShape_GetPoints(*args
, **kwargs
)
3427 def GetOriginalPoints(*args
, **kwargs
):
3428 """GetOriginalPoints(self) -> PyObject"""
3429 return _ogl
.PyPolygonShape_GetOriginalPoints(*args
, **kwargs
)
3431 def GetOriginalWidth(*args
, **kwargs
):
3432 """GetOriginalWidth(self) -> double"""
3433 return _ogl
.PyPolygonShape_GetOriginalWidth(*args
, **kwargs
)
3435 def GetOriginalHeight(*args
, **kwargs
):
3436 """GetOriginalHeight(self) -> double"""
3437 return _ogl
.PyPolygonShape_GetOriginalHeight(*args
, **kwargs
)
3439 def SetOriginalWidth(*args
, **kwargs
):
3440 """SetOriginalWidth(self, double w)"""
3441 return _ogl
.PyPolygonShape_SetOriginalWidth(*args
, **kwargs
)
3443 def SetOriginalHeight(*args
, **kwargs
):
3444 """SetOriginalHeight(self, double h)"""
3445 return _ogl
.PyPolygonShape_SetOriginalHeight(*args
, **kwargs
)
3447 def UpdateOriginalPoints(*args
, **kwargs
):
3448 """UpdateOriginalPoints(self)"""
3449 return _ogl
.PyPolygonShape_UpdateOriginalPoints(*args
, **kwargs
)
3451 def base_OnDraw(*args
, **kwargs
):
3452 """base_OnDraw(self, DC dc)"""
3453 return _ogl
.PyPolygonShape_base_OnDraw(*args
, **kwargs
)
3455 def base_OnDrawContents(*args
, **kwargs
):
3456 """base_OnDrawContents(self, DC dc)"""
3457 return _ogl
.PyPolygonShape_base_OnDrawContents(*args
, **kwargs
)
3459 def base_OnDrawBranches(*args
, **kwargs
):
3460 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
3461 return _ogl
.PyPolygonShape_base_OnDrawBranches(*args
, **kwargs
)
3463 def base_OnMoveLinks(*args
, **kwargs
):
3464 """base_OnMoveLinks(self, DC dc)"""
3465 return _ogl
.PyPolygonShape_base_OnMoveLinks(*args
, **kwargs
)
3467 def base_OnErase(*args
, **kwargs
):
3468 """base_OnErase(self, DC dc)"""
3469 return _ogl
.PyPolygonShape_base_OnErase(*args
, **kwargs
)
3471 def base_OnEraseContents(*args
, **kwargs
):
3472 """base_OnEraseContents(self, DC dc)"""
3473 return _ogl
.PyPolygonShape_base_OnEraseContents(*args
, **kwargs
)
3475 def base_OnHighlight(*args
, **kwargs
):
3476 """base_OnHighlight(self, DC dc)"""
3477 return _ogl
.PyPolygonShape_base_OnHighlight(*args
, **kwargs
)
3479 def base_OnLeftClick(*args
, **kwargs
):
3480 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3481 return _ogl
.PyPolygonShape_base_OnLeftClick(*args
, **kwargs
)
3483 def base_OnLeftDoubleClick(*args
, **kwargs
):
3484 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3485 return _ogl
.PyPolygonShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3487 def base_OnRightClick(*args
, **kwargs
):
3488 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3489 return _ogl
.PyPolygonShape_base_OnRightClick(*args
, **kwargs
)
3491 def base_OnSize(*args
, **kwargs
):
3492 """base_OnSize(self, double x, double y)"""
3493 return _ogl
.PyPolygonShape_base_OnSize(*args
, **kwargs
)
3495 def base_OnMovePre(*args
, **kwargs
):
3497 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3498 bool display=True) -> bool
3500 return _ogl
.PyPolygonShape_base_OnMovePre(*args
, **kwargs
)
3502 def base_OnMovePost(*args
, **kwargs
):
3504 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3507 return _ogl
.PyPolygonShape_base_OnMovePost(*args
, **kwargs
)
3509 def base_OnDragLeft(*args
, **kwargs
):
3510 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3511 return _ogl
.PyPolygonShape_base_OnDragLeft(*args
, **kwargs
)
3513 def base_OnBeginDragLeft(*args
, **kwargs
):
3514 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3515 return _ogl
.PyPolygonShape_base_OnBeginDragLeft(*args
, **kwargs
)
3517 def base_OnEndDragLeft(*args
, **kwargs
):
3518 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3519 return _ogl
.PyPolygonShape_base_OnEndDragLeft(*args
, **kwargs
)
3521 def base_OnDragRight(*args
, **kwargs
):
3522 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3523 return _ogl
.PyPolygonShape_base_OnDragRight(*args
, **kwargs
)
3525 def base_OnBeginDragRight(*args
, **kwargs
):
3526 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3527 return _ogl
.PyPolygonShape_base_OnBeginDragRight(*args
, **kwargs
)
3529 def base_OnEndDragRight(*args
, **kwargs
):
3530 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3531 return _ogl
.PyPolygonShape_base_OnEndDragRight(*args
, **kwargs
)
3533 def base_OnDrawOutline(*args
, **kwargs
):
3534 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3535 return _ogl
.PyPolygonShape_base_OnDrawOutline(*args
, **kwargs
)
3537 def base_OnDrawControlPoints(*args
, **kwargs
):
3538 """base_OnDrawControlPoints(self, DC dc)"""
3539 return _ogl
.PyPolygonShape_base_OnDrawControlPoints(*args
, **kwargs
)
3541 def base_OnEraseControlPoints(*args
, **kwargs
):
3542 """base_OnEraseControlPoints(self, DC dc)"""
3543 return _ogl
.PyPolygonShape_base_OnEraseControlPoints(*args
, **kwargs
)
3545 def base_OnMoveLink(*args
, **kwargs
):
3546 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3547 return _ogl
.PyPolygonShape_base_OnMoveLink(*args
, **kwargs
)
3549 def base_OnSizingDragLeft(*args
, **kwargs
):
3551 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3554 return _ogl
.PyPolygonShape_base_OnSizingDragLeft(*args
, **kwargs
)
3556 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3558 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3561 return _ogl
.PyPolygonShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3563 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3565 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3568 return _ogl
.PyPolygonShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3570 def base_OnBeginSize(*args
, **kwargs
):
3571 """base_OnBeginSize(self, double w, double h)"""
3572 return _ogl
.PyPolygonShape_base_OnBeginSize(*args
, **kwargs
)
3574 def base_OnEndSize(*args
, **kwargs
):
3575 """base_OnEndSize(self, double w, double h)"""
3576 return _ogl
.PyPolygonShape_base_OnEndSize(*args
, **kwargs
)
3579 class PyPolygonShapePtr(PyPolygonShape
):
3580 def __init__(self
, this
):
3582 if not hasattr(self
,"thisown"): self
.thisown
= 0
3583 self
.__class
__ = PyPolygonShape
3584 _ogl
.PyPolygonShape_swigregister(PyPolygonShapePtr
)
3586 class PyTextShape(PyRectangleShape
):
3588 return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3589 def __init__(self
, *args
, **kwargs
):
3590 """__init__(self, double width=0.0, double height=0.0) -> PyTextShape"""
3591 newobj
= _ogl
.new_PyTextShape(*args
, **kwargs
)
3592 self
.this
= newobj
.this
3595 self
._setOORandCallbackInfo
(PyTextShape
)
3597 def _setCallbackInfo(*args
, **kwargs
):
3598 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3599 return _ogl
.PyTextShape__setCallbackInfo(*args
, **kwargs
)
3601 def base_OnDelete(*args
, **kwargs
):
3602 """base_OnDelete(self)"""
3603 return _ogl
.PyTextShape_base_OnDelete(*args
, **kwargs
)
3605 def base_OnDraw(*args
, **kwargs
):
3606 """base_OnDraw(self, DC dc)"""
3607 return _ogl
.PyTextShape_base_OnDraw(*args
, **kwargs
)
3609 def base_OnDrawContents(*args
, **kwargs
):
3610 """base_OnDrawContents(self, DC dc)"""
3611 return _ogl
.PyTextShape_base_OnDrawContents(*args
, **kwargs
)
3613 def base_OnDrawBranches(*args
, **kwargs
):
3614 """base_OnDrawBranches(self, DC dc, bool erase=FALSE)"""
3615 return _ogl
.PyTextShape_base_OnDrawBranches(*args
, **kwargs
)
3617 def base_OnMoveLinks(*args
, **kwargs
):
3618 """base_OnMoveLinks(self, DC dc)"""
3619 return _ogl
.PyTextShape_base_OnMoveLinks(*args
, **kwargs
)
3621 def base_OnErase(*args
, **kwargs
):
3622 """base_OnErase(self, DC dc)"""
3623 return _ogl
.PyTextShape_base_OnErase(*args
, **kwargs
)
3625 def base_OnEraseContents(*args
, **kwargs
):
3626 """base_OnEraseContents(self, DC dc)"""
3627 return _ogl
.PyTextShape_base_OnEraseContents(*args
, **kwargs
)
3629 def base_OnHighlight(*args
, **kwargs
):
3630 """base_OnHighlight(self, DC dc)"""
3631 return _ogl
.PyTextShape_base_OnHighlight(*args
, **kwargs
)
3633 def base_OnLeftClick(*args
, **kwargs
):
3634 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3635 return _ogl
.PyTextShape_base_OnLeftClick(*args
, **kwargs
)
3637 def base_OnLeftDoubleClick(*args
, **kwargs
):
3638 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3639 return _ogl
.PyTextShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3641 def base_OnRightClick(*args
, **kwargs
):
3642 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3643 return _ogl
.PyTextShape_base_OnRightClick(*args
, **kwargs
)
3645 def base_OnSize(*args
, **kwargs
):
3646 """base_OnSize(self, double x, double y)"""
3647 return _ogl
.PyTextShape_base_OnSize(*args
, **kwargs
)
3649 def base_OnMovePre(*args
, **kwargs
):
3651 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3652 bool display=True) -> bool
3654 return _ogl
.PyTextShape_base_OnMovePre(*args
, **kwargs
)
3656 def base_OnMovePost(*args
, **kwargs
):
3658 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3661 return _ogl
.PyTextShape_base_OnMovePost(*args
, **kwargs
)
3663 def base_OnDragLeft(*args
, **kwargs
):
3664 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3665 return _ogl
.PyTextShape_base_OnDragLeft(*args
, **kwargs
)
3667 def base_OnBeginDragLeft(*args
, **kwargs
):
3668 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3669 return _ogl
.PyTextShape_base_OnBeginDragLeft(*args
, **kwargs
)
3671 def base_OnEndDragLeft(*args
, **kwargs
):
3672 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3673 return _ogl
.PyTextShape_base_OnEndDragLeft(*args
, **kwargs
)
3675 def base_OnDragRight(*args
, **kwargs
):
3676 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3677 return _ogl
.PyTextShape_base_OnDragRight(*args
, **kwargs
)
3679 def base_OnBeginDragRight(*args
, **kwargs
):
3680 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3681 return _ogl
.PyTextShape_base_OnBeginDragRight(*args
, **kwargs
)
3683 def base_OnEndDragRight(*args
, **kwargs
):
3684 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3685 return _ogl
.PyTextShape_base_OnEndDragRight(*args
, **kwargs
)
3687 def base_OnDrawOutline(*args
, **kwargs
):
3688 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3689 return _ogl
.PyTextShape_base_OnDrawOutline(*args
, **kwargs
)
3691 def base_OnDrawControlPoints(*args
, **kwargs
):
3692 """base_OnDrawControlPoints(self, DC dc)"""
3693 return _ogl
.PyTextShape_base_OnDrawControlPoints(*args
, **kwargs
)
3695 def base_OnEraseControlPoints(*args
, **kwargs
):
3696 """base_OnEraseControlPoints(self, DC dc)"""
3697 return _ogl
.PyTextShape_base_OnEraseControlPoints(*args
, **kwargs
)
3699 def base_OnMoveLink(*args
, **kwargs
):
3700 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3701 return _ogl
.PyTextShape_base_OnMoveLink(*args
, **kwargs
)
3703 def base_OnSizingDragLeft(*args
, **kwargs
):
3705 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3708 return _ogl
.PyTextShape_base_OnSizingDragLeft(*args
, **kwargs
)
3710 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3712 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3715 return _ogl
.PyTextShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3717 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3719 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3722 return _ogl
.PyTextShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3724 def base_OnBeginSize(*args
, **kwargs
):
3725 """base_OnBeginSize(self, double w, double h)"""
3726 return _ogl
.PyTextShape_base_OnBeginSize(*args
, **kwargs
)
3728 def base_OnEndSize(*args
, **kwargs
):
3729 """base_OnEndSize(self, double w, double h)"""
3730 return _ogl
.PyTextShape_base_OnEndSize(*args
, **kwargs
)
3733 class PyTextShapePtr(PyTextShape
):
3734 def __init__(self
, this
):
3736 if not hasattr(self
,"thisown"): self
.thisown
= 0
3737 self
.__class
__ = PyTextShape
3738 _ogl
.PyTextShape_swigregister(PyTextShapePtr
)
3740 class Diagram(_core
.Object
):
3742 return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3743 def __init__(self
, *args
, **kwargs
):
3744 """__init__(self) -> Diagram"""
3745 newobj
= _ogl
.new_Diagram(*args
, **kwargs
)
3746 self
.this
= newobj
.this
3749 def AddShape(*args
, **kwargs
):
3750 """AddShape(self, PyShape shape, PyShape addAfter=None)"""
3751 return _ogl
.Diagram_AddShape(*args
, **kwargs
)
3753 def Clear(*args
, **kwargs
):
3754 """Clear(self, DC dc)"""
3755 return _ogl
.Diagram_Clear(*args
, **kwargs
)
3757 def DeleteAllShapes(*args
, **kwargs
):
3758 """DeleteAllShapes(self)"""
3759 return _ogl
.Diagram_DeleteAllShapes(*args
, **kwargs
)
3761 def DrawOutline(*args
, **kwargs
):
3762 """DrawOutline(self, DC dc, double x1, double y1, double x2, double y2)"""
3763 return _ogl
.Diagram_DrawOutline(*args
, **kwargs
)
3765 def FindShape(*args
, **kwargs
):
3766 """FindShape(self, long id) -> PyShape"""
3767 return _ogl
.Diagram_FindShape(*args
, **kwargs
)
3769 def GetCanvas(*args
, **kwargs
):
3770 """GetCanvas(self) -> PyShapeCanvas"""
3771 return _ogl
.Diagram_GetCanvas(*args
, **kwargs
)
3773 def GetCount(*args
, **kwargs
):
3774 """GetCount(self) -> int"""
3775 return _ogl
.Diagram_GetCount(*args
, **kwargs
)
3777 def GetGridSpacing(*args
, **kwargs
):
3778 """GetGridSpacing(self) -> double"""
3779 return _ogl
.Diagram_GetGridSpacing(*args
, **kwargs
)
3781 def GetMouseTolerance(*args
, **kwargs
):
3782 """GetMouseTolerance(self) -> int"""
3783 return _ogl
.Diagram_GetMouseTolerance(*args
, **kwargs
)
3785 def GetShapeList(*args
, **kwargs
):
3786 """GetShapeList(self) -> PyObject"""
3787 return _ogl
.Diagram_GetShapeList(*args
, **kwargs
)
3789 def GetQuickEditMode(*args
, **kwargs
):
3790 """GetQuickEditMode(self) -> bool"""
3791 return _ogl
.Diagram_GetQuickEditMode(*args
, **kwargs
)
3793 def GetSnapToGrid(*args
, **kwargs
):
3794 """GetSnapToGrid(self) -> bool"""
3795 return _ogl
.Diagram_GetSnapToGrid(*args
, **kwargs
)
3797 def InsertShape(*args
, **kwargs
):
3798 """InsertShape(self, PyShape shape)"""
3799 return _ogl
.Diagram_InsertShape(*args
, **kwargs
)
3801 def RecentreAll(*args
, **kwargs
):
3802 """RecentreAll(self, DC dc)"""
3803 return _ogl
.Diagram_RecentreAll(*args
, **kwargs
)
3805 def Redraw(*args
, **kwargs
):
3806 """Redraw(self, DC dc)"""
3807 return _ogl
.Diagram_Redraw(*args
, **kwargs
)
3809 def RemoveAllShapes(*args
, **kwargs
):
3810 """RemoveAllShapes(self)"""
3811 return _ogl
.Diagram_RemoveAllShapes(*args
, **kwargs
)
3813 def RemoveShape(*args
, **kwargs
):
3814 """RemoveShape(self, PyShape shape)"""
3815 return _ogl
.Diagram_RemoveShape(*args
, **kwargs
)
3817 def SetCanvas(*args
, **kwargs
):
3818 """SetCanvas(self, PyShapeCanvas canvas)"""
3819 return _ogl
.Diagram_SetCanvas(*args
, **kwargs
)
3821 def SetGridSpacing(*args
, **kwargs
):
3822 """SetGridSpacing(self, double spacing)"""
3823 return _ogl
.Diagram_SetGridSpacing(*args
, **kwargs
)
3825 def SetMouseTolerance(*args
, **kwargs
):
3826 """SetMouseTolerance(self, int tolerance)"""
3827 return _ogl
.Diagram_SetMouseTolerance(*args
, **kwargs
)
3829 def SetQuickEditMode(*args
, **kwargs
):
3830 """SetQuickEditMode(self, bool mode)"""
3831 return _ogl
.Diagram_SetQuickEditMode(*args
, **kwargs
)
3833 def SetSnapToGrid(*args
, **kwargs
):
3834 """SetSnapToGrid(self, bool snap)"""
3835 return _ogl
.Diagram_SetSnapToGrid(*args
, **kwargs
)
3837 def ShowAll(*args
, **kwargs
):
3838 """ShowAll(self, bool show)"""
3839 return _ogl
.Diagram_ShowAll(*args
, **kwargs
)
3841 def Snap(*args
, **kwargs
):
3842 """Snap(self, double INOUT, double INOUT)"""
3843 return _ogl
.Diagram_Snap(*args
, **kwargs
)
3846 class DiagramPtr(Diagram
):
3847 def __init__(self
, this
):
3849 if not hasattr(self
,"thisown"): self
.thisown
= 0
3850 self
.__class
__ = Diagram
3851 _ogl
.Diagram_swigregister(DiagramPtr
)
3853 class PyShapeCanvas(_windows
.ScrolledWindow
):
3855 return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3856 def __init__(self
, *args
, **kwargs
):
3858 __init__(self, Window parent=None, int id=-1, Point pos=DefaultPosition,
3859 Size size=DefaultSize, long style=BORDER,
3860 String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas
3862 newobj
= _ogl
.new_PyShapeCanvas(*args
, **kwargs
)
3863 self
.this
= newobj
.this
3866 def _setCallbackInfo(*args
, **kwargs
):
3867 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3868 return _ogl
.PyShapeCanvas__setCallbackInfo(*args
, **kwargs
)
3870 def _setOORandCallbackInfo(self
, _class
):
3871 self
._setOORInfo
(self
)
3872 self
._setCallbackInfo
(self
, _class
)
3874 def AddShape(*args
, **kwargs
):
3875 """AddShape(self, PyShape shape, PyShape addAfter=None)"""
3876 return _ogl
.PyShapeCanvas_AddShape(*args
, **kwargs
)
3878 def FindShape(*args
, **kwargs
):
3880 FindShape(self, double x1, double y, int OUTPUT, wxClassInfo info=None,
3881 PyShape notImage=None) -> PyShape
3883 return _ogl
.PyShapeCanvas_FindShape(*args
, **kwargs
)
3885 def FindFirstSensitiveShape(*args
, **kwargs
):
3886 """FindFirstSensitiveShape(self, double x1, double y, int OUTPUT, int op) -> PyShape"""
3887 return _ogl
.PyShapeCanvas_FindFirstSensitiveShape(*args
, **kwargs
)
3889 def GetDiagram(*args
, **kwargs
):
3890 """GetDiagram(self) -> Diagram"""
3891 return _ogl
.PyShapeCanvas_GetDiagram(*args
, **kwargs
)
3893 def GetQuickEditMode(*args
, **kwargs
):
3894 """GetQuickEditMode(self) -> bool"""
3895 return _ogl
.PyShapeCanvas_GetQuickEditMode(*args
, **kwargs
)
3897 def InsertShape(*args
, **kwargs
):
3898 """InsertShape(self, PyShape shape)"""
3899 return _ogl
.PyShapeCanvas_InsertShape(*args
, **kwargs
)
3901 def base_OnBeginDragLeft(*args
, **kwargs
):
3902 """base_OnBeginDragLeft(self, double x, double y, int keys=0)"""
3903 return _ogl
.PyShapeCanvas_base_OnBeginDragLeft(*args
, **kwargs
)
3905 def base_OnBeginDragRight(*args
, **kwargs
):
3906 """base_OnBeginDragRight(self, double x, double y, int keys=0)"""
3907 return _ogl
.PyShapeCanvas_base_OnBeginDragRight(*args
, **kwargs
)
3909 def base_OnEndDragLeft(*args
, **kwargs
):
3910 """base_OnEndDragLeft(self, double x, double y, int keys=0)"""
3911 return _ogl
.PyShapeCanvas_base_OnEndDragLeft(*args
, **kwargs
)
3913 def base_OnEndDragRight(*args
, **kwargs
):
3914 """base_OnEndDragRight(self, double x, double y, int keys=0)"""
3915 return _ogl
.PyShapeCanvas_base_OnEndDragRight(*args
, **kwargs
)
3917 def base_OnDragLeft(*args
, **kwargs
):
3918 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0)"""
3919 return _ogl
.PyShapeCanvas_base_OnDragLeft(*args
, **kwargs
)
3921 def base_OnDragRight(*args
, **kwargs
):
3922 """base_OnDragRight(self, bool draw, double x, double y, int keys=0)"""
3923 return _ogl
.PyShapeCanvas_base_OnDragRight(*args
, **kwargs
)
3925 def base_OnLeftClick(*args
, **kwargs
):
3926 """base_OnLeftClick(self, double x, double y, int keys=0)"""
3927 return _ogl
.PyShapeCanvas_base_OnLeftClick(*args
, **kwargs
)
3929 def base_OnRightClick(*args
, **kwargs
):
3930 """base_OnRightClick(self, double x, double y, int keys=0)"""
3931 return _ogl
.PyShapeCanvas_base_OnRightClick(*args
, **kwargs
)
3933 def Redraw(*args
, **kwargs
):
3934 """Redraw(self, DC dc)"""
3935 return _ogl
.PyShapeCanvas_Redraw(*args
, **kwargs
)
3937 def RemoveShape(*args
, **kwargs
):
3938 """RemoveShape(self, PyShape shape)"""
3939 return _ogl
.PyShapeCanvas_RemoveShape(*args
, **kwargs
)
3941 def SetDiagram(*args
, **kwargs
):
3942 """SetDiagram(self, Diagram diagram)"""
3943 return _ogl
.PyShapeCanvas_SetDiagram(*args
, **kwargs
)
3945 def Snap(*args
, **kwargs
):
3946 """Snap(self, double INOUT, double INOUT)"""
3947 return _ogl
.PyShapeCanvas_Snap(*args
, **kwargs
)
3949 def GetShapeList(self
):
3950 return self
.GetDiagram().GetShapeList()
3953 class PyShapeCanvasPtr(PyShapeCanvas
):
3954 def __init__(self
, this
):
3956 if not hasattr(self
,"thisown"): self
.thisown
= 0
3957 self
.__class
__ = PyShapeCanvas
3958 _ogl
.PyShapeCanvas_swigregister(PyShapeCanvasPtr
)
3961 ShapeCanvas
= PyShapeCanvas
3962 ShapeEvtHandler
= PyShapeEvtHandler
3964 RectangleShape
= PyRectangleShape
3965 BitmapShape
= PyBitmapShape
3966 DrawnShape
= PyDrawnShape
3967 CompositeShape
= PyCompositeShape
3968 DividedShape
= PyDividedShape
3969 DivisionShape
= PyDivisionShape
3970 EllipseShape
= PyEllipseShape
3971 CircleShape
= PyCircleShape
3972 LineShape
= PyLineShape
3973 PolygonShape
= PyPolygonShape
3974 TextShape
= PyTextShape
3975 ControlPoint
= PyControlPoint
3977 KEY_SHIFT
= _ogl
.KEY_SHIFT
3978 KEY_CTRL
= _ogl
.KEY_CTRL
3979 ARROW_NONE
= _ogl
.ARROW_NONE
3980 ARROW_END
= _ogl
.ARROW_END
3981 ARROW_BOTH
= _ogl
.ARROW_BOTH
3982 ARROW_MIDDLE
= _ogl
.ARROW_MIDDLE
3983 ARROW_START
= _ogl
.ARROW_START
3984 ARROW_HOLLOW_CIRCLE
= _ogl
.ARROW_HOLLOW_CIRCLE
3985 ARROW_FILLED_CIRCLE
= _ogl
.ARROW_FILLED_CIRCLE
3986 ARROW_ARROW
= _ogl
.ARROW_ARROW
3987 ARROW_SINGLE_OBLIQUE
= _ogl
.ARROW_SINGLE_OBLIQUE
3988 ARROW_DOUBLE_OBLIQUE
= _ogl
.ARROW_DOUBLE_OBLIQUE
3989 ARROW_METAFILE
= _ogl
.ARROW_METAFILE
3990 ARROW_POSITION_END
= _ogl
.ARROW_POSITION_END
3991 ARROW_POSITION_START
= _ogl
.ARROW_POSITION_START
3992 CONTROL_POINT_VERTICAL
= _ogl
.CONTROL_POINT_VERTICAL
3993 CONTROL_POINT_HORIZONTAL
= _ogl
.CONTROL_POINT_HORIZONTAL
3994 CONTROL_POINT_DIAGONAL
= _ogl
.CONTROL_POINT_DIAGONAL
3995 CONTROL_POINT_ENDPOINT_TO
= _ogl
.CONTROL_POINT_ENDPOINT_TO
3996 CONTROL_POINT_ENDPOINT_FROM
= _ogl
.CONTROL_POINT_ENDPOINT_FROM
3997 CONTROL_POINT_LINE
= _ogl
.CONTROL_POINT_LINE
3998 FORMAT_NONE
= _ogl
.FORMAT_NONE
3999 FORMAT_CENTRE_HORIZ
= _ogl
.FORMAT_CENTRE_HORIZ
4000 FORMAT_CENTRE_VERT
= _ogl
.FORMAT_CENTRE_VERT
4001 FORMAT_SIZE_TO_CONTENTS
= _ogl
.FORMAT_SIZE_TO_CONTENTS
4002 LINE_ALIGNMENT_HORIZ
= _ogl
.LINE_ALIGNMENT_HORIZ
4003 LINE_ALIGNMENT_VERT
= _ogl
.LINE_ALIGNMENT_VERT
4004 LINE_ALIGNMENT_TO_NEXT_HANDLE
= _ogl
.LINE_ALIGNMENT_TO_NEXT_HANDLE
4005 LINE_ALIGNMENT_NONE
= _ogl
.LINE_ALIGNMENT_NONE
4006 SHADOW_NONE
= _ogl
.SHADOW_NONE
4007 SHADOW_LEFT
= _ogl
.SHADOW_LEFT
4008 SHADOW_RIGHT
= _ogl
.SHADOW_RIGHT
4009 OP_CLICK_LEFT
= _ogl
.OP_CLICK_LEFT
4010 OP_CLICK_RIGHT
= _ogl
.OP_CLICK_RIGHT
4011 OP_DRAG_LEFT
= _ogl
.OP_DRAG_LEFT
4012 OP_DRAG_RIGHT
= _ogl
.OP_DRAG_RIGHT
4013 OP_ALL
= _ogl
.OP_ALL
4014 ATTACHMENT_MODE_NONE
= _ogl
.ATTACHMENT_MODE_NONE
4015 ATTACHMENT_MODE_EDGE
= _ogl
.ATTACHMENT_MODE_EDGE
4016 ATTACHMENT_MODE_BRANCHING
= _ogl
.ATTACHMENT_MODE_BRANCHING
4017 BRANCHING_ATTACHMENT_NORMAL
= _ogl
.BRANCHING_ATTACHMENT_NORMAL
4018 BRANCHING_ATTACHMENT_BLOB
= _ogl
.BRANCHING_ATTACHMENT_BLOB
4019 gyCONSTRAINT_CENTRED_VERTICALLY
= _ogl
.gyCONSTRAINT_CENTRED_VERTICALLY
4020 gyCONSTRAINT_CENTRED_HORIZONTALLY
= _ogl
.gyCONSTRAINT_CENTRED_HORIZONTALLY
4021 gyCONSTRAINT_CENTRED_BOTH
= _ogl
.gyCONSTRAINT_CENTRED_BOTH
4022 gyCONSTRAINT_LEFT_OF
= _ogl
.gyCONSTRAINT_LEFT_OF
4023 gyCONSTRAINT_RIGHT_OF
= _ogl
.gyCONSTRAINT_RIGHT_OF
4024 gyCONSTRAINT_ABOVE
= _ogl
.gyCONSTRAINT_ABOVE
4025 gyCONSTRAINT_BELOW
= _ogl
.gyCONSTRAINT_BELOW
4026 gyCONSTRAINT_ALIGNED_TOP
= _ogl
.gyCONSTRAINT_ALIGNED_TOP
4027 gyCONSTRAINT_ALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_ALIGNED_BOTTOM
4028 gyCONSTRAINT_ALIGNED_LEFT
= _ogl
.gyCONSTRAINT_ALIGNED_LEFT
4029 gyCONSTRAINT_ALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_ALIGNED_RIGHT
4030 gyCONSTRAINT_MIDALIGNED_TOP
= _ogl
.gyCONSTRAINT_MIDALIGNED_TOP
4031 gyCONSTRAINT_MIDALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_MIDALIGNED_BOTTOM
4032 gyCONSTRAINT_MIDALIGNED_LEFT
= _ogl
.gyCONSTRAINT_MIDALIGNED_LEFT
4033 gyCONSTRAINT_MIDALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_MIDALIGNED_RIGHT
4034 DIVISION_SIDE_NONE
= _ogl
.DIVISION_SIDE_NONE
4035 DIVISION_SIDE_LEFT
= _ogl
.DIVISION_SIDE_LEFT
4036 DIVISION_SIDE_TOP
= _ogl
.DIVISION_SIDE_TOP
4037 DIVISION_SIDE_RIGHT
= _ogl
.DIVISION_SIDE_RIGHT
4038 DIVISION_SIDE_BOTTOM
= _ogl
.DIVISION_SIDE_BOTTOM
4040 def OGLInitialize(*args
, **kwargs
):
4041 """OGLInitialize()"""
4042 return _ogl
.OGLInitialize(*args
, **kwargs
)
4044 def OGLCleanUp(*args
, **kwargs
):
4046 return _ogl
.OGLCleanUp(*args
, **kwargs
)