1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 The Object Graphics Library provides for simple drawing and manipulation
6 of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)
11 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
13 if isinstance(value
, class_type
):
14 self
.__dict
__[name
] = value
.this
15 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
18 method
= class_type
.__swig
_setmethods
__.get(name
,None)
19 if method
: return method(self
,value
)
20 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
21 self
.__dict
__[name
] = value
23 raise AttributeError("You cannot add attributes to %s" % self
)
25 def _swig_setattr(self
,class_type
,name
,value
):
26 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
28 def _swig_getattr(self
,class_type
,name
):
29 method
= class_type
.__swig
_getmethods
__.get(name
,None)
30 if method
: return method(self
)
31 raise AttributeError,name
35 _object
= types
.ObjectType
37 except AttributeError:
43 def _swig_setattr_nondynamic_method(set):
44 def set_attr(self
,name
,value
):
45 if hasattr(self
,name
) or (name
in ("this", "thisown")):
48 raise AttributeError("You cannot add attributes to %s" % self
)
55 __docfilter__
= wx
.__DocFilter
(globals())
57 warnings
.warn("This module is deprecated. Please use the wx.lib.ogl package instead.",
58 DeprecationWarning, stacklevel
=2)
60 #---------------------------------------------------------------------------
62 class ShapeRegion(_core
.Object
):
63 """Proxy of C++ ShapeRegion class"""
65 return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
66 def __init__(self
, *args
, **kwargs
):
67 """__init__(self) -> ShapeRegion"""
68 newobj
= _ogl
.new_ShapeRegion(*args
, **kwargs
)
69 self
.this
= newobj
.this
72 def SetText(*args
, **kwargs
):
73 """SetText(self, String s)"""
74 return _ogl
.ShapeRegion_SetText(*args
, **kwargs
)
76 def SetFont(*args
, **kwargs
):
77 """SetFont(self, Font f)"""
78 return _ogl
.ShapeRegion_SetFont(*args
, **kwargs
)
80 def SetMinSize(*args
, **kwargs
):
81 """SetMinSize(self, double w, double h)"""
82 return _ogl
.ShapeRegion_SetMinSize(*args
, **kwargs
)
84 def SetSize(*args
, **kwargs
):
85 """SetSize(self, double w, double h)"""
86 return _ogl
.ShapeRegion_SetSize(*args
, **kwargs
)
88 def SetPosition(*args
, **kwargs
):
89 """SetPosition(self, double x, double y)"""
90 return _ogl
.ShapeRegion_SetPosition(*args
, **kwargs
)
92 def SetProportions(*args
, **kwargs
):
93 """SetProportions(self, double x, double y)"""
94 return _ogl
.ShapeRegion_SetProportions(*args
, **kwargs
)
96 def SetFormatMode(*args
, **kwargs
):
97 """SetFormatMode(self, int mode)"""
98 return _ogl
.ShapeRegion_SetFormatMode(*args
, **kwargs
)
100 def SetName(*args
, **kwargs
):
101 """SetName(self, String s)"""
102 return _ogl
.ShapeRegion_SetName(*args
, **kwargs
)
104 def SetColour(*args
, **kwargs
):
105 """SetColour(self, String col)"""
106 return _ogl
.ShapeRegion_SetColour(*args
, **kwargs
)
108 def GetText(*args
, **kwargs
):
109 """GetText(self) -> String"""
110 return _ogl
.ShapeRegion_GetText(*args
, **kwargs
)
112 def GetFont(*args
, **kwargs
):
113 """GetFont(self) -> Font"""
114 return _ogl
.ShapeRegion_GetFont(*args
, **kwargs
)
116 def GetMinSize(*args
, **kwargs
):
117 """GetMinSize(self, double OUTPUT, double OUTPUT)"""
118 return _ogl
.ShapeRegion_GetMinSize(*args
, **kwargs
)
120 def GetProportion(*args
, **kwargs
):
121 """GetProportion(self, double OUTPUT, double OUTPUT)"""
122 return _ogl
.ShapeRegion_GetProportion(*args
, **kwargs
)
124 def GetSize(*args
, **kwargs
):
125 """GetSize(self, double OUTPUT, double OUTPUT)"""
126 return _ogl
.ShapeRegion_GetSize(*args
, **kwargs
)
128 def GetPosition(*args
, **kwargs
):
129 """GetPosition(self, double OUTPUT, double OUTPUT)"""
130 return _ogl
.ShapeRegion_GetPosition(*args
, **kwargs
)
132 def GetFormatMode(*args
, **kwargs
):
133 """GetFormatMode(self) -> int"""
134 return _ogl
.ShapeRegion_GetFormatMode(*args
, **kwargs
)
136 def GetName(*args
, **kwargs
):
137 """GetName(self) -> String"""
138 return _ogl
.ShapeRegion_GetName(*args
, **kwargs
)
140 def GetColour(*args
, **kwargs
):
141 """GetColour(self) -> String"""
142 return _ogl
.ShapeRegion_GetColour(*args
, **kwargs
)
144 def GetActualColourObject(*args
, **kwargs
):
145 """GetActualColourObject(self) -> Colour"""
146 return _ogl
.ShapeRegion_GetActualColourObject(*args
, **kwargs
)
148 def GetFormattedText(*args
, **kwargs
):
149 """GetFormattedText(self) -> wxList"""
150 return _ogl
.ShapeRegion_GetFormattedText(*args
, **kwargs
)
152 def GetPenColour(*args
, **kwargs
):
153 """GetPenColour(self) -> String"""
154 return _ogl
.ShapeRegion_GetPenColour(*args
, **kwargs
)
156 def GetPenStyle(*args
, **kwargs
):
157 """GetPenStyle(self) -> int"""
158 return _ogl
.ShapeRegion_GetPenStyle(*args
, **kwargs
)
160 def SetPenStyle(*args
, **kwargs
):
161 """SetPenStyle(self, int style)"""
162 return _ogl
.ShapeRegion_SetPenStyle(*args
, **kwargs
)
164 def SetPenColour(*args
, **kwargs
):
165 """SetPenColour(self, String col)"""
166 return _ogl
.ShapeRegion_SetPenColour(*args
, **kwargs
)
168 def GetActualPen(*args
, **kwargs
):
169 """GetActualPen(self) -> wxPen"""
170 return _ogl
.ShapeRegion_GetActualPen(*args
, **kwargs
)
172 def GetWidth(*args
, **kwargs
):
173 """GetWidth(self) -> double"""
174 return _ogl
.ShapeRegion_GetWidth(*args
, **kwargs
)
176 def GetHeight(*args
, **kwargs
):
177 """GetHeight(self) -> double"""
178 return _ogl
.ShapeRegion_GetHeight(*args
, **kwargs
)
180 def ClearText(*args
, **kwargs
):
181 """ClearText(self)"""
182 return _ogl
.ShapeRegion_ClearText(*args
, **kwargs
)
185 class ShapeRegionPtr(ShapeRegion
):
186 def __init__(self
, this
):
188 if not hasattr(self
,"thisown"): self
.thisown
= 0
189 self
.__class
__ = ShapeRegion
190 _ogl
.ShapeRegion_swigregister(ShapeRegionPtr
)
192 class AttachmentPoint(_core
.Object
):
193 """Proxy of C++ AttachmentPoint class"""
195 return "<%s.%s; proxy of C++ wxAttachmentPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
196 def __init__(self
, *args
, **kwargs
):
197 """__init__(self, int id=0, double x=0.0, double y=0.0) -> AttachmentPoint"""
198 newobj
= _ogl
.new_AttachmentPoint(*args
, **kwargs
)
199 self
.this
= newobj
.this
202 m_id
= property(_ogl
.AttachmentPoint_m_id_get
, _ogl
.AttachmentPoint_m_id_set
)
203 m_x
= property(_ogl
.AttachmentPoint_m_x_get
, _ogl
.AttachmentPoint_m_x_set
)
204 m_y
= property(_ogl
.AttachmentPoint_m_y_get
, _ogl
.AttachmentPoint_m_y_set
)
206 class AttachmentPointPtr(AttachmentPoint
):
207 def __init__(self
, this
):
209 if not hasattr(self
,"thisown"): self
.thisown
= 0
210 self
.__class
__ = AttachmentPoint
211 _ogl
.AttachmentPoint_swigregister(AttachmentPointPtr
)
213 class PyShapeEvtHandler(_core
.Object
):
214 """Proxy of C++ PyShapeEvtHandler class"""
216 return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
217 def __init__(self
, *args
, **kwargs
):
218 """__init__(self, PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler"""
219 newobj
= _ogl
.new_PyShapeEvtHandler(*args
, **kwargs
)
220 self
.this
= newobj
.this
223 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
225 def _setCallbackInfo(*args
, **kwargs
):
226 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
227 return _ogl
.PyShapeEvtHandler__setCallbackInfo(*args
, **kwargs
)
229 def _setOORInfo(*args
, **kwargs
):
230 """_setOORInfo(self, PyObject _self)"""
231 return _ogl
.PyShapeEvtHandler__setOORInfo(*args
, **kwargs
)
233 def _setOORandCallbackInfo(self
, _class
):
234 self
._setOORInfo
(self
)
235 self
._setCallbackInfo
(self
, _class
)
237 def SetShape(*args
, **kwargs
):
238 """SetShape(self, PyShape sh)"""
239 return _ogl
.PyShapeEvtHandler_SetShape(*args
, **kwargs
)
241 def GetShape(*args
, **kwargs
):
242 """GetShape(self) -> PyShape"""
243 return _ogl
.PyShapeEvtHandler_GetShape(*args
, **kwargs
)
245 def SetPreviousHandler(*args
, **kwargs
):
246 """SetPreviousHandler(self, PyShapeEvtHandler handler)"""
247 return _ogl
.PyShapeEvtHandler_SetPreviousHandler(*args
, **kwargs
)
249 def GetPreviousHandler(*args
, **kwargs
):
250 """GetPreviousHandler(self) -> PyShapeEvtHandler"""
251 return _ogl
.PyShapeEvtHandler_GetPreviousHandler(*args
, **kwargs
)
253 def CreateNewCopy(*args
, **kwargs
):
254 """CreateNewCopy(self) -> PyShapeEvtHandler"""
255 return _ogl
.PyShapeEvtHandler_CreateNewCopy(*args
, **kwargs
)
257 def base_OnDelete(*args
, **kwargs
):
258 """base_OnDelete(self)"""
259 return _ogl
.PyShapeEvtHandler_base_OnDelete(*args
, **kwargs
)
261 def base_OnDraw(*args
, **kwargs
):
262 """base_OnDraw(self, DC dc)"""
263 return _ogl
.PyShapeEvtHandler_base_OnDraw(*args
, **kwargs
)
265 def base_OnDrawContents(*args
, **kwargs
):
266 """base_OnDrawContents(self, DC dc)"""
267 return _ogl
.PyShapeEvtHandler_base_OnDrawContents(*args
, **kwargs
)
269 def base_OnDrawBranches(*args
, **kwargs
):
270 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
271 return _ogl
.PyShapeEvtHandler_base_OnDrawBranches(*args
, **kwargs
)
273 def base_OnMoveLinks(*args
, **kwargs
):
274 """base_OnMoveLinks(self, DC dc)"""
275 return _ogl
.PyShapeEvtHandler_base_OnMoveLinks(*args
, **kwargs
)
277 def base_OnErase(*args
, **kwargs
):
278 """base_OnErase(self, DC dc)"""
279 return _ogl
.PyShapeEvtHandler_base_OnErase(*args
, **kwargs
)
281 def base_OnEraseContents(*args
, **kwargs
):
282 """base_OnEraseContents(self, DC dc)"""
283 return _ogl
.PyShapeEvtHandler_base_OnEraseContents(*args
, **kwargs
)
285 def base_OnHighlight(*args
, **kwargs
):
286 """base_OnHighlight(self, DC dc)"""
287 return _ogl
.PyShapeEvtHandler_base_OnHighlight(*args
, **kwargs
)
289 def base_OnLeftClick(*args
, **kwargs
):
290 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
291 return _ogl
.PyShapeEvtHandler_base_OnLeftClick(*args
, **kwargs
)
293 def base_OnLeftDoubleClick(*args
, **kwargs
):
294 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
295 return _ogl
.PyShapeEvtHandler_base_OnLeftDoubleClick(*args
, **kwargs
)
297 def base_OnRightClick(*args
, **kwargs
):
298 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
299 return _ogl
.PyShapeEvtHandler_base_OnRightClick(*args
, **kwargs
)
301 def base_OnSize(*args
, **kwargs
):
302 """base_OnSize(self, double x, double y)"""
303 return _ogl
.PyShapeEvtHandler_base_OnSize(*args
, **kwargs
)
305 def base_OnMovePre(*args
, **kwargs
):
307 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
308 bool display=True) -> bool
310 return _ogl
.PyShapeEvtHandler_base_OnMovePre(*args
, **kwargs
)
312 def base_OnMovePost(*args
, **kwargs
):
314 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
317 return _ogl
.PyShapeEvtHandler_base_OnMovePost(*args
, **kwargs
)
319 def base_OnDragLeft(*args
, **kwargs
):
320 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
321 return _ogl
.PyShapeEvtHandler_base_OnDragLeft(*args
, **kwargs
)
323 def base_OnBeginDragLeft(*args
, **kwargs
):
324 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
325 return _ogl
.PyShapeEvtHandler_base_OnBeginDragLeft(*args
, **kwargs
)
327 def base_OnEndDragLeft(*args
, **kwargs
):
328 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
329 return _ogl
.PyShapeEvtHandler_base_OnEndDragLeft(*args
, **kwargs
)
331 def base_OnDragRight(*args
, **kwargs
):
332 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
333 return _ogl
.PyShapeEvtHandler_base_OnDragRight(*args
, **kwargs
)
335 def base_OnBeginDragRight(*args
, **kwargs
):
336 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
337 return _ogl
.PyShapeEvtHandler_base_OnBeginDragRight(*args
, **kwargs
)
339 def base_OnEndDragRight(*args
, **kwargs
):
340 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
341 return _ogl
.PyShapeEvtHandler_base_OnEndDragRight(*args
, **kwargs
)
343 def base_OnDrawOutline(*args
, **kwargs
):
344 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
345 return _ogl
.PyShapeEvtHandler_base_OnDrawOutline(*args
, **kwargs
)
347 def base_OnDrawControlPoints(*args
, **kwargs
):
348 """base_OnDrawControlPoints(self, DC dc)"""
349 return _ogl
.PyShapeEvtHandler_base_OnDrawControlPoints(*args
, **kwargs
)
351 def base_OnEraseControlPoints(*args
, **kwargs
):
352 """base_OnEraseControlPoints(self, DC dc)"""
353 return _ogl
.PyShapeEvtHandler_base_OnEraseControlPoints(*args
, **kwargs
)
355 def base_OnMoveLink(*args
, **kwargs
):
356 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
357 return _ogl
.PyShapeEvtHandler_base_OnMoveLink(*args
, **kwargs
)
359 def base_OnSizingDragLeft(*args
, **kwargs
):
361 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
364 return _ogl
.PyShapeEvtHandler_base_OnSizingDragLeft(*args
, **kwargs
)
366 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
368 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
371 return _ogl
.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args
, **kwargs
)
373 def base_OnSizingEndDragLeft(*args
, **kwargs
):
375 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
378 return _ogl
.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args
, **kwargs
)
380 def base_OnBeginSize(*args
, **kwargs
):
381 """base_OnBeginSize(self, double w, double h)"""
382 return _ogl
.PyShapeEvtHandler_base_OnBeginSize(*args
, **kwargs
)
384 def base_OnEndSize(*args
, **kwargs
):
385 """base_OnEndSize(self, double w, double h)"""
386 return _ogl
.PyShapeEvtHandler_base_OnEndSize(*args
, **kwargs
)
389 class PyShapeEvtHandlerPtr(PyShapeEvtHandler
):
390 def __init__(self
, this
):
392 if not hasattr(self
,"thisown"): self
.thisown
= 0
393 self
.__class
__ = PyShapeEvtHandler
394 _ogl
.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr
)
396 class PyShape(PyShapeEvtHandler
):
397 """Proxy of C++ PyShape class"""
399 return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
400 def __init__(self
, *args
, **kwargs
):
401 """__init__(self, PyShapeCanvas can=None) -> PyShape"""
402 newobj
= _ogl
.new_PyShape(*args
, **kwargs
)
403 self
.this
= newobj
.this
406 self
._setOORandCallbackInfo
(PyShape
)
408 def _setCallbackInfo(*args
, **kwargs
):
409 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
410 return _ogl
.PyShape__setCallbackInfo(*args
, **kwargs
)
412 def GetBoundingBoxMax(*args
, **kwargs
):
413 """GetBoundingBoxMax(self, double OUTPUT, double OUTPUT)"""
414 return _ogl
.PyShape_GetBoundingBoxMax(*args
, **kwargs
)
416 def GetBoundingBoxMin(*args
, **kwargs
):
417 """GetBoundingBoxMin(self, double OUTPUT, double OUTPUT)"""
418 return _ogl
.PyShape_GetBoundingBoxMin(*args
, **kwargs
)
420 def GetPerimeterPoint(*args
, **kwargs
):
422 GetPerimeterPoint(self, double x1, double y1, double x2, double y2, double OUTPUT,
423 double OUTPUT) -> bool
425 return _ogl
.PyShape_GetPerimeterPoint(*args
, **kwargs
)
427 def GetCanvas(*args
, **kwargs
):
428 """GetCanvas(self) -> PyShapeCanvas"""
429 return _ogl
.PyShape_GetCanvas(*args
, **kwargs
)
431 def SetCanvas(*args
, **kwargs
):
432 """SetCanvas(self, PyShapeCanvas the_canvas)"""
433 return _ogl
.PyShape_SetCanvas(*args
, **kwargs
)
435 def AddToCanvas(*args
, **kwargs
):
436 """AddToCanvas(self, PyShapeCanvas the_canvas, PyShape addAfter=None)"""
437 return _ogl
.PyShape_AddToCanvas(*args
, **kwargs
)
439 def InsertInCanvas(*args
, **kwargs
):
440 """InsertInCanvas(self, PyShapeCanvas the_canvas)"""
441 return _ogl
.PyShape_InsertInCanvas(*args
, **kwargs
)
443 def RemoveFromCanvas(*args
, **kwargs
):
444 """RemoveFromCanvas(self, PyShapeCanvas the_canvas)"""
445 return _ogl
.PyShape_RemoveFromCanvas(*args
, **kwargs
)
447 def GetX(*args
, **kwargs
):
448 """GetX(self) -> double"""
449 return _ogl
.PyShape_GetX(*args
, **kwargs
)
451 def GetY(*args
, **kwargs
):
452 """GetY(self) -> double"""
453 return _ogl
.PyShape_GetY(*args
, **kwargs
)
455 def SetX(*args
, **kwargs
):
456 """SetX(self, double x)"""
457 return _ogl
.PyShape_SetX(*args
, **kwargs
)
459 def SetY(*args
, **kwargs
):
460 """SetY(self, double y)"""
461 return _ogl
.PyShape_SetY(*args
, **kwargs
)
463 def GetParent(*args
, **kwargs
):
464 """GetParent(self) -> PyShape"""
465 return _ogl
.PyShape_GetParent(*args
, **kwargs
)
467 def SetParent(*args
, **kwargs
):
468 """SetParent(self, PyShape p)"""
469 return _ogl
.PyShape_SetParent(*args
, **kwargs
)
471 def GetTopAncestor(*args
, **kwargs
):
472 """GetTopAncestor(self) -> PyShape"""
473 return _ogl
.PyShape_GetTopAncestor(*args
, **kwargs
)
475 def GetChildren(*args
, **kwargs
):
476 """GetChildren(self) -> PyObject"""
477 return _ogl
.PyShape_GetChildren(*args
, **kwargs
)
479 def Unlink(*args
, **kwargs
):
481 return _ogl
.PyShape_Unlink(*args
, **kwargs
)
483 def SetDrawHandles(*args
, **kwargs
):
484 """SetDrawHandles(self, bool drawH)"""
485 return _ogl
.PyShape_SetDrawHandles(*args
, **kwargs
)
487 def GetDrawHandles(*args
, **kwargs
):
488 """GetDrawHandles(self) -> bool"""
489 return _ogl
.PyShape_GetDrawHandles(*args
, **kwargs
)
491 def MakeControlPoints(*args
, **kwargs
):
492 """MakeControlPoints(self)"""
493 return _ogl
.PyShape_MakeControlPoints(*args
, **kwargs
)
495 def DeleteControlPoints(*args
, **kwargs
):
496 """DeleteControlPoints(self, DC dc=None)"""
497 return _ogl
.PyShape_DeleteControlPoints(*args
, **kwargs
)
499 def ResetControlPoints(*args
, **kwargs
):
500 """ResetControlPoints(self)"""
501 return _ogl
.PyShape_ResetControlPoints(*args
, **kwargs
)
503 def GetEventHandler(*args
, **kwargs
):
504 """GetEventHandler(self) -> PyShapeEvtHandler"""
505 return _ogl
.PyShape_GetEventHandler(*args
, **kwargs
)
507 def SetEventHandler(*args
, **kwargs
):
508 """SetEventHandler(self, PyShapeEvtHandler handler)"""
509 return _ogl
.PyShape_SetEventHandler(*args
, **kwargs
)
511 def MakeMandatoryControlPoints(*args
, **kwargs
):
512 """MakeMandatoryControlPoints(self)"""
513 return _ogl
.PyShape_MakeMandatoryControlPoints(*args
, **kwargs
)
515 def ResetMandatoryControlPoints(*args
, **kwargs
):
516 """ResetMandatoryControlPoints(self)"""
517 return _ogl
.PyShape_ResetMandatoryControlPoints(*args
, **kwargs
)
519 def Recompute(*args
, **kwargs
):
520 """Recompute(self) -> bool"""
521 return _ogl
.PyShape_Recompute(*args
, **kwargs
)
523 def CalculateSize(*args
, **kwargs
):
524 """CalculateSize(self)"""
525 return _ogl
.PyShape_CalculateSize(*args
, **kwargs
)
527 def Select(*args
, **kwargs
):
528 """Select(self, bool select=True, DC dc=None)"""
529 return _ogl
.PyShape_Select(*args
, **kwargs
)
531 def SetHighlight(*args
, **kwargs
):
532 """SetHighlight(self, bool hi=True, bool recurse=False)"""
533 return _ogl
.PyShape_SetHighlight(*args
, **kwargs
)
535 def IsHighlighted(*args
, **kwargs
):
536 """IsHighlighted(self) -> bool"""
537 return _ogl
.PyShape_IsHighlighted(*args
, **kwargs
)
539 def Selected(*args
, **kwargs
):
540 """Selected(self) -> bool"""
541 return _ogl
.PyShape_Selected(*args
, **kwargs
)
543 def AncestorSelected(*args
, **kwargs
):
544 """AncestorSelected(self) -> bool"""
545 return _ogl
.PyShape_AncestorSelected(*args
, **kwargs
)
547 def SetSensitivityFilter(*args
, **kwargs
):
548 """SetSensitivityFilter(self, int sens=OP_ALL, bool recursive=False)"""
549 return _ogl
.PyShape_SetSensitivityFilter(*args
, **kwargs
)
551 def GetSensitivityFilter(*args
, **kwargs
):
552 """GetSensitivityFilter(self) -> int"""
553 return _ogl
.PyShape_GetSensitivityFilter(*args
, **kwargs
)
555 def SetDraggable(*args
, **kwargs
):
556 """SetDraggable(self, bool drag, bool recursive=False)"""
557 return _ogl
.PyShape_SetDraggable(*args
, **kwargs
)
559 def SetFixedSize(*args
, **kwargs
):
560 """SetFixedSize(self, bool x, bool y)"""
561 return _ogl
.PyShape_SetFixedSize(*args
, **kwargs
)
563 def GetFixedSize(*args
, **kwargs
):
564 """GetFixedSize(self, bool OUTPUT, bool OUTPUT)"""
565 return _ogl
.PyShape_GetFixedSize(*args
, **kwargs
)
567 def GetFixedWidth(*args
, **kwargs
):
568 """GetFixedWidth(self) -> bool"""
569 return _ogl
.PyShape_GetFixedWidth(*args
, **kwargs
)
571 def GetFixedHeight(*args
, **kwargs
):
572 """GetFixedHeight(self) -> bool"""
573 return _ogl
.PyShape_GetFixedHeight(*args
, **kwargs
)
575 def SetSpaceAttachments(*args
, **kwargs
):
576 """SetSpaceAttachments(self, bool sp)"""
577 return _ogl
.PyShape_SetSpaceAttachments(*args
, **kwargs
)
579 def GetSpaceAttachments(*args
, **kwargs
):
580 """GetSpaceAttachments(self) -> bool"""
581 return _ogl
.PyShape_GetSpaceAttachments(*args
, **kwargs
)
583 def SetShadowMode(*args
, **kwargs
):
584 """SetShadowMode(self, int mode, bool redraw=False)"""
585 return _ogl
.PyShape_SetShadowMode(*args
, **kwargs
)
587 def GetShadowMode(*args
, **kwargs
):
588 """GetShadowMode(self) -> int"""
589 return _ogl
.PyShape_GetShadowMode(*args
, **kwargs
)
591 def HitTest(*args
, **kwargs
):
592 """HitTest(self, double x, double y, int OUTPUT, double OUTPUT) -> bool"""
593 return _ogl
.PyShape_HitTest(*args
, **kwargs
)
595 def SetCentreResize(*args
, **kwargs
):
596 """SetCentreResize(self, bool cr)"""
597 return _ogl
.PyShape_SetCentreResize(*args
, **kwargs
)
599 def GetCentreResize(*args
, **kwargs
):
600 """GetCentreResize(self) -> bool"""
601 return _ogl
.PyShape_GetCentreResize(*args
, **kwargs
)
603 def SetMaintainAspectRatio(*args
, **kwargs
):
604 """SetMaintainAspectRatio(self, bool ar)"""
605 return _ogl
.PyShape_SetMaintainAspectRatio(*args
, **kwargs
)
607 def GetMaintainAspectRatio(*args
, **kwargs
):
608 """GetMaintainAspectRatio(self) -> bool"""
609 return _ogl
.PyShape_GetMaintainAspectRatio(*args
, **kwargs
)
611 def GetLines(*args
, **kwargs
):
612 """GetLines(self) -> PyObject"""
613 return _ogl
.PyShape_GetLines(*args
, **kwargs
)
615 def SetDisableLabel(*args
, **kwargs
):
616 """SetDisableLabel(self, bool flag)"""
617 return _ogl
.PyShape_SetDisableLabel(*args
, **kwargs
)
619 def GetDisableLabel(*args
, **kwargs
):
620 """GetDisableLabel(self) -> bool"""
621 return _ogl
.PyShape_GetDisableLabel(*args
, **kwargs
)
623 def SetAttachmentMode(*args
, **kwargs
):
624 """SetAttachmentMode(self, int mode)"""
625 return _ogl
.PyShape_SetAttachmentMode(*args
, **kwargs
)
627 def GetAttachmentMode(*args
, **kwargs
):
628 """GetAttachmentMode(self) -> int"""
629 return _ogl
.PyShape_GetAttachmentMode(*args
, **kwargs
)
631 def SetId(*args
, **kwargs
):
632 """SetId(self, long i)"""
633 return _ogl
.PyShape_SetId(*args
, **kwargs
)
635 def GetId(*args
, **kwargs
):
636 """GetId(self) -> long"""
637 return _ogl
.PyShape_GetId(*args
, **kwargs
)
639 def SetPen(*args
, **kwargs
):
640 """SetPen(self, wxPen pen)"""
641 return _ogl
.PyShape_SetPen(*args
, **kwargs
)
643 def SetBrush(*args
, **kwargs
):
644 """SetBrush(self, wxBrush brush)"""
645 return _ogl
.PyShape_SetBrush(*args
, **kwargs
)
647 def SetClientData(self
, data
):
648 self
.clientData
= data
649 def GetClientData(self
):
650 if hasattr(self
, 'clientData'):
651 return self
.clientData
655 def Show(*args
, **kwargs
):
656 """Show(self, bool show)"""
657 return _ogl
.PyShape_Show(*args
, **kwargs
)
659 def IsShown(*args
, **kwargs
):
660 """IsShown(self) -> bool"""
661 return _ogl
.PyShape_IsShown(*args
, **kwargs
)
663 def Move(*args
, **kwargs
):
664 """Move(self, DC dc, double x1, double y1, bool display=True)"""
665 return _ogl
.PyShape_Move(*args
, **kwargs
)
667 def Erase(*args
, **kwargs
):
668 """Erase(self, DC dc)"""
669 return _ogl
.PyShape_Erase(*args
, **kwargs
)
671 def EraseContents(*args
, **kwargs
):
672 """EraseContents(self, DC dc)"""
673 return _ogl
.PyShape_EraseContents(*args
, **kwargs
)
675 def Draw(*args
, **kwargs
):
676 """Draw(self, DC dc)"""
677 return _ogl
.PyShape_Draw(*args
, **kwargs
)
679 def Flash(*args
, **kwargs
):
681 return _ogl
.PyShape_Flash(*args
, **kwargs
)
683 def MoveLinks(*args
, **kwargs
):
684 """MoveLinks(self, DC dc)"""
685 return _ogl
.PyShape_MoveLinks(*args
, **kwargs
)
687 def DrawContents(*args
, **kwargs
):
688 """DrawContents(self, DC dc)"""
689 return _ogl
.PyShape_DrawContents(*args
, **kwargs
)
691 def SetSize(*args
, **kwargs
):
692 """SetSize(self, double x, double y, bool recursive=True)"""
693 return _ogl
.PyShape_SetSize(*args
, **kwargs
)
695 def SetAttachmentSize(*args
, **kwargs
):
696 """SetAttachmentSize(self, double x, double y)"""
697 return _ogl
.PyShape_SetAttachmentSize(*args
, **kwargs
)
699 def Attach(*args
, **kwargs
):
700 """Attach(self, PyShapeCanvas can)"""
701 return _ogl
.PyShape_Attach(*args
, **kwargs
)
703 def Detach(*args
, **kwargs
):
705 return _ogl
.PyShape_Detach(*args
, **kwargs
)
707 def Constrain(*args
, **kwargs
):
708 """Constrain(self) -> bool"""
709 return _ogl
.PyShape_Constrain(*args
, **kwargs
)
711 def AddLine(*args
, **kwargs
):
713 AddLine(self, PyLineShape line, PyShape other, int attachFrom=0,
714 int attachTo=0, int positionFrom=-1, int positionTo=-1)
716 return _ogl
.PyShape_AddLine(*args
, **kwargs
)
718 def GetLinePosition(*args
, **kwargs
):
719 """GetLinePosition(self, PyLineShape line) -> int"""
720 return _ogl
.PyShape_GetLinePosition(*args
, **kwargs
)
722 def AddText(*args
, **kwargs
):
723 """AddText(self, String string)"""
724 return _ogl
.PyShape_AddText(*args
, **kwargs
)
726 def GetPen(*args
, **kwargs
):
727 """GetPen(self) -> wxPen"""
728 return _ogl
.PyShape_GetPen(*args
, **kwargs
)
730 def GetBrush(*args
, **kwargs
):
731 """GetBrush(self) -> wxBrush"""
732 return _ogl
.PyShape_GetBrush(*args
, **kwargs
)
734 def SetDefaultRegionSize(*args
, **kwargs
):
735 """SetDefaultRegionSize(self)"""
736 return _ogl
.PyShape_SetDefaultRegionSize(*args
, **kwargs
)
738 def FormatText(*args
, **kwargs
):
739 """FormatText(self, DC dc, String s, int regionId=0)"""
740 return _ogl
.PyShape_FormatText(*args
, **kwargs
)
742 def SetFormatMode(*args
, **kwargs
):
743 """SetFormatMode(self, int mode, int regionId=0)"""
744 return _ogl
.PyShape_SetFormatMode(*args
, **kwargs
)
746 def GetFormatMode(*args
, **kwargs
):
747 """GetFormatMode(self, int regionId=0) -> int"""
748 return _ogl
.PyShape_GetFormatMode(*args
, **kwargs
)
750 def SetFont(*args
, **kwargs
):
751 """SetFont(self, Font font, int regionId=0)"""
752 return _ogl
.PyShape_SetFont(*args
, **kwargs
)
754 def GetFont(*args
, **kwargs
):
755 """GetFont(self, int regionId=0) -> Font"""
756 return _ogl
.PyShape_GetFont(*args
, **kwargs
)
758 def SetTextColour(*args
, **kwargs
):
759 """SetTextColour(self, String colour, int regionId=0)"""
760 return _ogl
.PyShape_SetTextColour(*args
, **kwargs
)
762 def GetTextColour(*args
, **kwargs
):
763 """GetTextColour(self, int regionId=0) -> String"""
764 return _ogl
.PyShape_GetTextColour(*args
, **kwargs
)
766 def GetNumberOfTextRegions(*args
, **kwargs
):
767 """GetNumberOfTextRegions(self) -> int"""
768 return _ogl
.PyShape_GetNumberOfTextRegions(*args
, **kwargs
)
770 def SetRegionName(*args
, **kwargs
):
771 """SetRegionName(self, String name, int regionId=0)"""
772 return _ogl
.PyShape_SetRegionName(*args
, **kwargs
)
774 def GetRegionName(*args
, **kwargs
):
775 """GetRegionName(self, int regionId) -> String"""
776 return _ogl
.PyShape_GetRegionName(*args
, **kwargs
)
778 def GetRegionId(*args
, **kwargs
):
779 """GetRegionId(self, String name) -> int"""
780 return _ogl
.PyShape_GetRegionId(*args
, **kwargs
)
782 def NameRegions(*args
, **kwargs
):
783 """NameRegions(self, String parentName=EmptyString)"""
784 return _ogl
.PyShape_NameRegions(*args
, **kwargs
)
786 def GetRegions(*args
, **kwargs
):
787 """GetRegions(self) -> PyObject"""
788 return _ogl
.PyShape_GetRegions(*args
, **kwargs
)
790 def AddRegion(*args
, **kwargs
):
791 """AddRegion(self, ShapeRegion region)"""
792 return _ogl
.PyShape_AddRegion(*args
, **kwargs
)
794 def ClearRegions(*args
, **kwargs
):
795 """ClearRegions(self)"""
796 return _ogl
.PyShape_ClearRegions(*args
, **kwargs
)
798 def AssignNewIds(*args
, **kwargs
):
799 """AssignNewIds(self)"""
800 return _ogl
.PyShape_AssignNewIds(*args
, **kwargs
)
802 def FindRegion(*args
, **kwargs
):
803 """FindRegion(self, String regionName, int OUTPUT) -> PyShape"""
804 return _ogl
.PyShape_FindRegion(*args
, **kwargs
)
806 def FindRegionNames(*args
, **kwargs
):
807 """FindRegionNames(self, wxStringList list)"""
808 return _ogl
.PyShape_FindRegionNames(*args
, **kwargs
)
810 def ClearText(*args
, **kwargs
):
811 """ClearText(self, int regionId=0)"""
812 return _ogl
.PyShape_ClearText(*args
, **kwargs
)
814 def RemoveLine(*args
, **kwargs
):
815 """RemoveLine(self, PyLineShape line)"""
816 return _ogl
.PyShape_RemoveLine(*args
, **kwargs
)
818 def GetAttachmentPosition(*args
, **kwargs
):
820 GetAttachmentPosition(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
821 int no_arcs=1, PyLineShape line=None) -> bool
823 return _ogl
.PyShape_GetAttachmentPosition(*args
, **kwargs
)
825 def GetNumberOfAttachments(*args
, **kwargs
):
826 """GetNumberOfAttachments(self) -> int"""
827 return _ogl
.PyShape_GetNumberOfAttachments(*args
, **kwargs
)
829 def AttachmentIsValid(*args
, **kwargs
):
830 """AttachmentIsValid(self, int attachment) -> bool"""
831 return _ogl
.PyShape_AttachmentIsValid(*args
, **kwargs
)
833 def GetAttachments(*args
, **kwargs
):
834 """GetAttachments(self) -> PyObject"""
835 return _ogl
.PyShape_GetAttachments(*args
, **kwargs
)
837 def GetAttachmentPositionEdge(*args
, **kwargs
):
839 GetAttachmentPositionEdge(self, int attachment, double OUTPUT, double OUTPUT, int nth=0,
840 int no_arcs=1, PyLineShape line=None) -> bool
842 return _ogl
.PyShape_GetAttachmentPositionEdge(*args
, **kwargs
)
844 def CalcSimpleAttachment(*args
, **kwargs
):
846 CalcSimpleAttachment(self, RealPoint pt1, RealPoint pt2, int nth, int noArcs,
847 PyLineShape line) -> RealPoint
849 return _ogl
.PyShape_CalcSimpleAttachment(*args
, **kwargs
)
851 def AttachmentSortTest(*args
, **kwargs
):
852 """AttachmentSortTest(self, int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool"""
853 return _ogl
.PyShape_AttachmentSortTest(*args
, **kwargs
)
855 def EraseLinks(*args
, **kwargs
):
856 """EraseLinks(self, DC dc, int attachment=-1, bool recurse=False)"""
857 return _ogl
.PyShape_EraseLinks(*args
, **kwargs
)
859 def DrawLinks(*args
, **kwargs
):
860 """DrawLinks(self, DC dc, int attachment=-1, bool recurse=False)"""
861 return _ogl
.PyShape_DrawLinks(*args
, **kwargs
)
863 def MoveLineToNewAttachment(*args
, **kwargs
):
864 """MoveLineToNewAttachment(self, DC dc, PyLineShape to_move, double x, double y) -> bool"""
865 return _ogl
.PyShape_MoveLineToNewAttachment(*args
, **kwargs
)
867 def ApplyAttachmentOrdering(*args
, **kwargs
):
868 """ApplyAttachmentOrdering(self, PyObject linesToSort)"""
869 return _ogl
.PyShape_ApplyAttachmentOrdering(*args
, **kwargs
)
871 def GetBranchingAttachmentRoot(*args
, **kwargs
):
872 """GetBranchingAttachmentRoot(self, int attachment) -> RealPoint"""
873 return _ogl
.PyShape_GetBranchingAttachmentRoot(*args
, **kwargs
)
875 def GetBranchingAttachmentInfo(*args
, **kwargs
):
877 GetBranchingAttachmentInfo(self, int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
878 RealPoint shoulder2) -> bool
880 return _ogl
.PyShape_GetBranchingAttachmentInfo(*args
, **kwargs
)
882 def GetBranchingAttachmentPoint(*args
, **kwargs
):
883 """GetBranchingAttachmentPoint(self, int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool"""
884 return _ogl
.PyShape_GetBranchingAttachmentPoint(*args
, **kwargs
)
886 def GetAttachmentLineCount(*args
, **kwargs
):
887 """GetAttachmentLineCount(self, int attachment) -> int"""
888 return _ogl
.PyShape_GetAttachmentLineCount(*args
, **kwargs
)
890 def SetBranchNeckLength(*args
, **kwargs
):
891 """SetBranchNeckLength(self, int len)"""
892 return _ogl
.PyShape_SetBranchNeckLength(*args
, **kwargs
)
894 def GetBranchNeckLength(*args
, **kwargs
):
895 """GetBranchNeckLength(self) -> int"""
896 return _ogl
.PyShape_GetBranchNeckLength(*args
, **kwargs
)
898 def SetBranchStemLength(*args
, **kwargs
):
899 """SetBranchStemLength(self, int len)"""
900 return _ogl
.PyShape_SetBranchStemLength(*args
, **kwargs
)
902 def GetBranchStemLength(*args
, **kwargs
):
903 """GetBranchStemLength(self) -> int"""
904 return _ogl
.PyShape_GetBranchStemLength(*args
, **kwargs
)
906 def SetBranchSpacing(*args
, **kwargs
):
907 """SetBranchSpacing(self, int len)"""
908 return _ogl
.PyShape_SetBranchSpacing(*args
, **kwargs
)
910 def GetBranchSpacing(*args
, **kwargs
):
911 """GetBranchSpacing(self) -> int"""
912 return _ogl
.PyShape_GetBranchSpacing(*args
, **kwargs
)
914 def SetBranchStyle(*args
, **kwargs
):
915 """SetBranchStyle(self, long style)"""
916 return _ogl
.PyShape_SetBranchStyle(*args
, **kwargs
)
918 def GetBranchStyle(*args
, **kwargs
):
919 """GetBranchStyle(self) -> long"""
920 return _ogl
.PyShape_GetBranchStyle(*args
, **kwargs
)
922 def PhysicalToLogicalAttachment(*args
, **kwargs
):
923 """PhysicalToLogicalAttachment(self, int physicalAttachment) -> int"""
924 return _ogl
.PyShape_PhysicalToLogicalAttachment(*args
, **kwargs
)
926 def LogicalToPhysicalAttachment(*args
, **kwargs
):
927 """LogicalToPhysicalAttachment(self, int logicalAttachment) -> int"""
928 return _ogl
.PyShape_LogicalToPhysicalAttachment(*args
, **kwargs
)
930 def Draggable(*args
, **kwargs
):
931 """Draggable(self) -> bool"""
932 return _ogl
.PyShape_Draggable(*args
, **kwargs
)
934 def HasDescendant(*args
, **kwargs
):
935 """HasDescendant(self, PyShape image) -> bool"""
936 return _ogl
.PyShape_HasDescendant(*args
, **kwargs
)
938 def CreateNewCopy(*args
, **kwargs
):
939 """CreateNewCopy(self, bool resetMapping=True, bool recompute=True) -> PyShape"""
940 return _ogl
.PyShape_CreateNewCopy(*args
, **kwargs
)
942 def Copy(*args
, **kwargs
):
943 """Copy(self, PyShape copy)"""
944 return _ogl
.PyShape_Copy(*args
, **kwargs
)
946 def CopyWithHandler(*args
, **kwargs
):
947 """CopyWithHandler(self, PyShape copy)"""
948 return _ogl
.PyShape_CopyWithHandler(*args
, **kwargs
)
950 def Rotate(*args
, **kwargs
):
951 """Rotate(self, double x, double y, double theta)"""
952 return _ogl
.PyShape_Rotate(*args
, **kwargs
)
954 def GetRotation(*args
, **kwargs
):
955 """GetRotation(self) -> double"""
956 return _ogl
.PyShape_GetRotation(*args
, **kwargs
)
958 def SetRotation(*args
, **kwargs
):
959 """SetRotation(self, double rotation)"""
960 return _ogl
.PyShape_SetRotation(*args
, **kwargs
)
962 def ClearAttachments(*args
, **kwargs
):
963 """ClearAttachments(self)"""
964 return _ogl
.PyShape_ClearAttachments(*args
, **kwargs
)
966 def Recentre(*args
, **kwargs
):
967 """Recentre(self, DC dc)"""
968 return _ogl
.PyShape_Recentre(*args
, **kwargs
)
970 def ClearPointList(*args
, **kwargs
):
971 """ClearPointList(self, wxList list)"""
972 return _ogl
.PyShape_ClearPointList(*args
, **kwargs
)
974 def GetBackgroundPen(*args
, **kwargs
):
975 """GetBackgroundPen(self) -> wxPen"""
976 return _ogl
.PyShape_GetBackgroundPen(*args
, **kwargs
)
978 def GetBackgroundBrush(*args
, **kwargs
):
979 """GetBackgroundBrush(self) -> wxBrush"""
980 return _ogl
.PyShape_GetBackgroundBrush(*args
, **kwargs
)
982 def base_OnDelete(*args
, **kwargs
):
983 """base_OnDelete(self)"""
984 return _ogl
.PyShape_base_OnDelete(*args
, **kwargs
)
986 def base_OnDraw(*args
, **kwargs
):
987 """base_OnDraw(self, DC dc)"""
988 return _ogl
.PyShape_base_OnDraw(*args
, **kwargs
)
990 def base_OnDrawContents(*args
, **kwargs
):
991 """base_OnDrawContents(self, DC dc)"""
992 return _ogl
.PyShape_base_OnDrawContents(*args
, **kwargs
)
994 def base_OnDrawBranches(*args
, **kwargs
):
995 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
996 return _ogl
.PyShape_base_OnDrawBranches(*args
, **kwargs
)
998 def base_OnMoveLinks(*args
, **kwargs
):
999 """base_OnMoveLinks(self, DC dc)"""
1000 return _ogl
.PyShape_base_OnMoveLinks(*args
, **kwargs
)
1002 def base_OnErase(*args
, **kwargs
):
1003 """base_OnErase(self, DC dc)"""
1004 return _ogl
.PyShape_base_OnErase(*args
, **kwargs
)
1006 def base_OnEraseContents(*args
, **kwargs
):
1007 """base_OnEraseContents(self, DC dc)"""
1008 return _ogl
.PyShape_base_OnEraseContents(*args
, **kwargs
)
1010 def base_OnHighlight(*args
, **kwargs
):
1011 """base_OnHighlight(self, DC dc)"""
1012 return _ogl
.PyShape_base_OnHighlight(*args
, **kwargs
)
1014 def base_OnLeftClick(*args
, **kwargs
):
1015 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1016 return _ogl
.PyShape_base_OnLeftClick(*args
, **kwargs
)
1018 def base_OnLeftDoubleClick(*args
, **kwargs
):
1019 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1020 return _ogl
.PyShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1022 def base_OnRightClick(*args
, **kwargs
):
1023 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1024 return _ogl
.PyShape_base_OnRightClick(*args
, **kwargs
)
1026 def base_OnSize(*args
, **kwargs
):
1027 """base_OnSize(self, double x, double y)"""
1028 return _ogl
.PyShape_base_OnSize(*args
, **kwargs
)
1030 def base_OnMovePre(*args
, **kwargs
):
1032 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1033 bool display=True) -> bool
1035 return _ogl
.PyShape_base_OnMovePre(*args
, **kwargs
)
1037 def base_OnMovePost(*args
, **kwargs
):
1039 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1042 return _ogl
.PyShape_base_OnMovePost(*args
, **kwargs
)
1044 def base_OnDragLeft(*args
, **kwargs
):
1045 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1046 return _ogl
.PyShape_base_OnDragLeft(*args
, **kwargs
)
1048 def base_OnBeginDragLeft(*args
, **kwargs
):
1049 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1050 return _ogl
.PyShape_base_OnBeginDragLeft(*args
, **kwargs
)
1052 def base_OnEndDragLeft(*args
, **kwargs
):
1053 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1054 return _ogl
.PyShape_base_OnEndDragLeft(*args
, **kwargs
)
1056 def base_OnDragRight(*args
, **kwargs
):
1057 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1058 return _ogl
.PyShape_base_OnDragRight(*args
, **kwargs
)
1060 def base_OnBeginDragRight(*args
, **kwargs
):
1061 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1062 return _ogl
.PyShape_base_OnBeginDragRight(*args
, **kwargs
)
1064 def base_OnEndDragRight(*args
, **kwargs
):
1065 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1066 return _ogl
.PyShape_base_OnEndDragRight(*args
, **kwargs
)
1068 def base_OnDrawOutline(*args
, **kwargs
):
1069 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1070 return _ogl
.PyShape_base_OnDrawOutline(*args
, **kwargs
)
1072 def base_OnDrawControlPoints(*args
, **kwargs
):
1073 """base_OnDrawControlPoints(self, DC dc)"""
1074 return _ogl
.PyShape_base_OnDrawControlPoints(*args
, **kwargs
)
1076 def base_OnEraseControlPoints(*args
, **kwargs
):
1077 """base_OnEraseControlPoints(self, DC dc)"""
1078 return _ogl
.PyShape_base_OnEraseControlPoints(*args
, **kwargs
)
1080 def base_OnMoveLink(*args
, **kwargs
):
1081 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1082 return _ogl
.PyShape_base_OnMoveLink(*args
, **kwargs
)
1084 def base_OnSizingDragLeft(*args
, **kwargs
):
1086 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1089 return _ogl
.PyShape_base_OnSizingDragLeft(*args
, **kwargs
)
1091 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1093 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1096 return _ogl
.PyShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1098 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1100 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1103 return _ogl
.PyShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1105 def base_OnBeginSize(*args
, **kwargs
):
1106 """base_OnBeginSize(self, double w, double h)"""
1107 return _ogl
.PyShape_base_OnBeginSize(*args
, **kwargs
)
1109 def base_OnEndSize(*args
, **kwargs
):
1110 """base_OnEndSize(self, double w, double h)"""
1111 return _ogl
.PyShape_base_OnEndSize(*args
, **kwargs
)
1114 class PyShapePtr(PyShape
):
1115 def __init__(self
, this
):
1117 if not hasattr(self
,"thisown"): self
.thisown
= 0
1118 self
.__class
__ = PyShape
1119 _ogl
.PyShape_swigregister(PyShapePtr
)
1121 oglMETAFLAGS_OUTLINE
= _ogl
.oglMETAFLAGS_OUTLINE
1122 oglMETAFLAGS_ATTACHMENTS
= _ogl
.oglMETAFLAGS_ATTACHMENTS
1123 class PseudoMetaFile(_core
.Object
):
1124 """Proxy of C++ PseudoMetaFile class"""
1126 return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1127 def __init__(self
, *args
, **kwargs
):
1128 """__init__(self) -> PseudoMetaFile"""
1129 newobj
= _ogl
.new_PseudoMetaFile(*args
, **kwargs
)
1130 self
.this
= newobj
.this
1133 def __del__(self
, destroy
=_ogl
.delete_PseudoMetaFile
):
1136 if self
.thisown
: destroy(self
)
1139 def Draw(*args
, **kwargs
):
1140 """Draw(self, DC dc, double xoffset, double yoffset)"""
1141 return _ogl
.PseudoMetaFile_Draw(*args
, **kwargs
)
1143 def Clear(*args
, **kwargs
):
1145 return _ogl
.PseudoMetaFile_Clear(*args
, **kwargs
)
1147 def Copy(*args
, **kwargs
):
1148 """Copy(self, PseudoMetaFile copy)"""
1149 return _ogl
.PseudoMetaFile_Copy(*args
, **kwargs
)
1151 def Scale(*args
, **kwargs
):
1152 """Scale(self, double sx, double sy)"""
1153 return _ogl
.PseudoMetaFile_Scale(*args
, **kwargs
)
1155 def ScaleTo(*args
, **kwargs
):
1156 """ScaleTo(self, double w, double h)"""
1157 return _ogl
.PseudoMetaFile_ScaleTo(*args
, **kwargs
)
1159 def Translate(*args
, **kwargs
):
1160 """Translate(self, double x, double y)"""
1161 return _ogl
.PseudoMetaFile_Translate(*args
, **kwargs
)
1163 def Rotate(*args
, **kwargs
):
1164 """Rotate(self, double x, double y, double theta)"""
1165 return _ogl
.PseudoMetaFile_Rotate(*args
, **kwargs
)
1167 def LoadFromMetaFile(*args
, **kwargs
):
1168 """LoadFromMetaFile(self, String filename, double width, double height) -> bool"""
1169 return _ogl
.PseudoMetaFile_LoadFromMetaFile(*args
, **kwargs
)
1171 def GetBounds(*args
, **kwargs
):
1172 """GetBounds(self, double minX, double minY, double maxX, double maxY)"""
1173 return _ogl
.PseudoMetaFile_GetBounds(*args
, **kwargs
)
1175 def CalculateSize(*args
, **kwargs
):
1176 """CalculateSize(self, PyDrawnShape shape)"""
1177 return _ogl
.PseudoMetaFile_CalculateSize(*args
, **kwargs
)
1179 def SetRotateable(*args
, **kwargs
):
1180 """SetRotateable(self, bool rot)"""
1181 return _ogl
.PseudoMetaFile_SetRotateable(*args
, **kwargs
)
1183 def GetRotateable(*args
, **kwargs
):
1184 """GetRotateable(self) -> bool"""
1185 return _ogl
.PseudoMetaFile_GetRotateable(*args
, **kwargs
)
1187 def SetSize(*args
, **kwargs
):
1188 """SetSize(self, double w, double h)"""
1189 return _ogl
.PseudoMetaFile_SetSize(*args
, **kwargs
)
1191 def SetFillBrush(*args
, **kwargs
):
1192 """SetFillBrush(self, wxBrush brush)"""
1193 return _ogl
.PseudoMetaFile_SetFillBrush(*args
, **kwargs
)
1195 def GetFillBrush(*args
, **kwargs
):
1196 """GetFillBrush(self) -> wxBrush"""
1197 return _ogl
.PseudoMetaFile_GetFillBrush(*args
, **kwargs
)
1199 def SetOutlinePen(*args
, **kwargs
):
1200 """SetOutlinePen(self, wxPen pen)"""
1201 return _ogl
.PseudoMetaFile_SetOutlinePen(*args
, **kwargs
)
1203 def GetOutlinePen(*args
, **kwargs
):
1204 """GetOutlinePen(self) -> wxPen"""
1205 return _ogl
.PseudoMetaFile_GetOutlinePen(*args
, **kwargs
)
1207 def SetOutlineOp(*args
, **kwargs
):
1208 """SetOutlineOp(self, int op)"""
1209 return _ogl
.PseudoMetaFile_SetOutlineOp(*args
, **kwargs
)
1211 def GetOutlineOp(*args
, **kwargs
):
1212 """GetOutlineOp(self) -> int"""
1213 return _ogl
.PseudoMetaFile_GetOutlineOp(*args
, **kwargs
)
1215 def IsValid(*args
, **kwargs
):
1216 """IsValid(self) -> bool"""
1217 return _ogl
.PseudoMetaFile_IsValid(*args
, **kwargs
)
1219 def DrawLine(*args
, **kwargs
):
1220 """DrawLine(self, Point pt1, Point pt2)"""
1221 return _ogl
.PseudoMetaFile_DrawLine(*args
, **kwargs
)
1223 def DrawRectangle(*args
, **kwargs
):
1224 """DrawRectangle(self, Rect rect)"""
1225 return _ogl
.PseudoMetaFile_DrawRectangle(*args
, **kwargs
)
1227 def DrawRoundedRectangle(*args
, **kwargs
):
1228 """DrawRoundedRectangle(self, Rect rect, double radius)"""
1229 return _ogl
.PseudoMetaFile_DrawRoundedRectangle(*args
, **kwargs
)
1231 def DrawArc(*args
, **kwargs
):
1232 """DrawArc(self, Point centrePt, Point startPt, Point endPt)"""
1233 return _ogl
.PseudoMetaFile_DrawArc(*args
, **kwargs
)
1235 def DrawEllipticArc(*args
, **kwargs
):
1236 """DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)"""
1237 return _ogl
.PseudoMetaFile_DrawEllipticArc(*args
, **kwargs
)
1239 def DrawEllipse(*args
, **kwargs
):
1240 """DrawEllipse(self, Rect rect)"""
1241 return _ogl
.PseudoMetaFile_DrawEllipse(*args
, **kwargs
)
1243 def DrawPoint(*args
, **kwargs
):
1244 """DrawPoint(self, Point pt)"""
1245 return _ogl
.PseudoMetaFile_DrawPoint(*args
, **kwargs
)
1247 def DrawText(*args
, **kwargs
):
1248 """DrawText(self, String text, Point pt)"""
1249 return _ogl
.PseudoMetaFile_DrawText(*args
, **kwargs
)
1251 def DrawLines(*args
, **kwargs
):
1252 """DrawLines(self, int points)"""
1253 return _ogl
.PseudoMetaFile_DrawLines(*args
, **kwargs
)
1255 def DrawPolygon(*args
, **kwargs
):
1256 """DrawPolygon(self, int points, int flags=0)"""
1257 return _ogl
.PseudoMetaFile_DrawPolygon(*args
, **kwargs
)
1259 def DrawSpline(*args
, **kwargs
):
1260 """DrawSpline(self, int points)"""
1261 return _ogl
.PseudoMetaFile_DrawSpline(*args
, **kwargs
)
1263 def SetClippingRect(*args
, **kwargs
):
1264 """SetClippingRect(self, Rect rect)"""
1265 return _ogl
.PseudoMetaFile_SetClippingRect(*args
, **kwargs
)
1267 def DestroyClippingRect(*args
, **kwargs
):
1268 """DestroyClippingRect(self)"""
1269 return _ogl
.PseudoMetaFile_DestroyClippingRect(*args
, **kwargs
)
1271 def SetPen(*args
, **kwargs
):
1272 """SetPen(self, wxPen pen, bool isOutline=False)"""
1273 return _ogl
.PseudoMetaFile_SetPen(*args
, **kwargs
)
1275 def SetBrush(*args
, **kwargs
):
1276 """SetBrush(self, wxBrush brush, bool isFill=False)"""
1277 return _ogl
.PseudoMetaFile_SetBrush(*args
, **kwargs
)
1279 def SetFont(*args
, **kwargs
):
1280 """SetFont(self, Font font)"""
1281 return _ogl
.PseudoMetaFile_SetFont(*args
, **kwargs
)
1283 def SetTextColour(*args
, **kwargs
):
1284 """SetTextColour(self, Colour colour)"""
1285 return _ogl
.PseudoMetaFile_SetTextColour(*args
, **kwargs
)
1287 def SetBackgroundColour(*args
, **kwargs
):
1288 """SetBackgroundColour(self, Colour colour)"""
1289 return _ogl
.PseudoMetaFile_SetBackgroundColour(*args
, **kwargs
)
1291 def SetBackgroundMode(*args
, **kwargs
):
1292 """SetBackgroundMode(self, int mode)"""
1293 return _ogl
.PseudoMetaFile_SetBackgroundMode(*args
, **kwargs
)
1296 class PseudoMetaFilePtr(PseudoMetaFile
):
1297 def __init__(self
, this
):
1299 if not hasattr(self
,"thisown"): self
.thisown
= 0
1300 self
.__class
__ = PseudoMetaFile
1301 _ogl
.PseudoMetaFile_swigregister(PseudoMetaFilePtr
)
1303 class PyRectangleShape(PyShape
):
1304 """Proxy of C++ PyRectangleShape class"""
1306 return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1307 def __init__(self
, *args
, **kwargs
):
1308 """__init__(self, double width=0.0, double height=0.0) -> PyRectangleShape"""
1309 newobj
= _ogl
.new_PyRectangleShape(*args
, **kwargs
)
1310 self
.this
= newobj
.this
1313 self
._setOORandCallbackInfo
(PyRectangleShape
)
1315 def _setCallbackInfo(*args
, **kwargs
):
1316 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1317 return _ogl
.PyRectangleShape__setCallbackInfo(*args
, **kwargs
)
1319 def SetCornerRadius(*args
, **kwargs
):
1320 """SetCornerRadius(self, double radius)"""
1321 return _ogl
.PyRectangleShape_SetCornerRadius(*args
, **kwargs
)
1323 def GetCornerRadius(*args
, **kwargs
):
1324 """GetCornerRadius(self) -> double"""
1325 return _ogl
.PyRectangleShape_GetCornerRadius(*args
, **kwargs
)
1327 def base_OnDelete(*args
, **kwargs
):
1328 """base_OnDelete(self)"""
1329 return _ogl
.PyRectangleShape_base_OnDelete(*args
, **kwargs
)
1331 def base_OnDraw(*args
, **kwargs
):
1332 """base_OnDraw(self, DC dc)"""
1333 return _ogl
.PyRectangleShape_base_OnDraw(*args
, **kwargs
)
1335 def base_OnDrawContents(*args
, **kwargs
):
1336 """base_OnDrawContents(self, DC dc)"""
1337 return _ogl
.PyRectangleShape_base_OnDrawContents(*args
, **kwargs
)
1339 def base_OnDrawBranches(*args
, **kwargs
):
1340 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
1341 return _ogl
.PyRectangleShape_base_OnDrawBranches(*args
, **kwargs
)
1343 def base_OnMoveLinks(*args
, **kwargs
):
1344 """base_OnMoveLinks(self, DC dc)"""
1345 return _ogl
.PyRectangleShape_base_OnMoveLinks(*args
, **kwargs
)
1347 def base_OnErase(*args
, **kwargs
):
1348 """base_OnErase(self, DC dc)"""
1349 return _ogl
.PyRectangleShape_base_OnErase(*args
, **kwargs
)
1351 def base_OnEraseContents(*args
, **kwargs
):
1352 """base_OnEraseContents(self, DC dc)"""
1353 return _ogl
.PyRectangleShape_base_OnEraseContents(*args
, **kwargs
)
1355 def base_OnHighlight(*args
, **kwargs
):
1356 """base_OnHighlight(self, DC dc)"""
1357 return _ogl
.PyRectangleShape_base_OnHighlight(*args
, **kwargs
)
1359 def base_OnLeftClick(*args
, **kwargs
):
1360 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1361 return _ogl
.PyRectangleShape_base_OnLeftClick(*args
, **kwargs
)
1363 def base_OnLeftDoubleClick(*args
, **kwargs
):
1364 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1365 return _ogl
.PyRectangleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1367 def base_OnRightClick(*args
, **kwargs
):
1368 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1369 return _ogl
.PyRectangleShape_base_OnRightClick(*args
, **kwargs
)
1371 def base_OnSize(*args
, **kwargs
):
1372 """base_OnSize(self, double x, double y)"""
1373 return _ogl
.PyRectangleShape_base_OnSize(*args
, **kwargs
)
1375 def base_OnMovePre(*args
, **kwargs
):
1377 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1378 bool display=True) -> bool
1380 return _ogl
.PyRectangleShape_base_OnMovePre(*args
, **kwargs
)
1382 def base_OnMovePost(*args
, **kwargs
):
1384 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1387 return _ogl
.PyRectangleShape_base_OnMovePost(*args
, **kwargs
)
1389 def base_OnDragLeft(*args
, **kwargs
):
1390 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1391 return _ogl
.PyRectangleShape_base_OnDragLeft(*args
, **kwargs
)
1393 def base_OnBeginDragLeft(*args
, **kwargs
):
1394 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1395 return _ogl
.PyRectangleShape_base_OnBeginDragLeft(*args
, **kwargs
)
1397 def base_OnEndDragLeft(*args
, **kwargs
):
1398 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1399 return _ogl
.PyRectangleShape_base_OnEndDragLeft(*args
, **kwargs
)
1401 def base_OnDragRight(*args
, **kwargs
):
1402 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1403 return _ogl
.PyRectangleShape_base_OnDragRight(*args
, **kwargs
)
1405 def base_OnBeginDragRight(*args
, **kwargs
):
1406 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1407 return _ogl
.PyRectangleShape_base_OnBeginDragRight(*args
, **kwargs
)
1409 def base_OnEndDragRight(*args
, **kwargs
):
1410 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1411 return _ogl
.PyRectangleShape_base_OnEndDragRight(*args
, **kwargs
)
1413 def base_OnDrawOutline(*args
, **kwargs
):
1414 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1415 return _ogl
.PyRectangleShape_base_OnDrawOutline(*args
, **kwargs
)
1417 def base_OnDrawControlPoints(*args
, **kwargs
):
1418 """base_OnDrawControlPoints(self, DC dc)"""
1419 return _ogl
.PyRectangleShape_base_OnDrawControlPoints(*args
, **kwargs
)
1421 def base_OnEraseControlPoints(*args
, **kwargs
):
1422 """base_OnEraseControlPoints(self, DC dc)"""
1423 return _ogl
.PyRectangleShape_base_OnEraseControlPoints(*args
, **kwargs
)
1425 def base_OnMoveLink(*args
, **kwargs
):
1426 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1427 return _ogl
.PyRectangleShape_base_OnMoveLink(*args
, **kwargs
)
1429 def base_OnSizingDragLeft(*args
, **kwargs
):
1431 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1434 return _ogl
.PyRectangleShape_base_OnSizingDragLeft(*args
, **kwargs
)
1436 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1438 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1441 return _ogl
.PyRectangleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1443 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1445 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1448 return _ogl
.PyRectangleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1450 def base_OnBeginSize(*args
, **kwargs
):
1451 """base_OnBeginSize(self, double w, double h)"""
1452 return _ogl
.PyRectangleShape_base_OnBeginSize(*args
, **kwargs
)
1454 def base_OnEndSize(*args
, **kwargs
):
1455 """base_OnEndSize(self, double w, double h)"""
1456 return _ogl
.PyRectangleShape_base_OnEndSize(*args
, **kwargs
)
1459 class PyRectangleShapePtr(PyRectangleShape
):
1460 def __init__(self
, this
):
1462 if not hasattr(self
,"thisown"): self
.thisown
= 0
1463 self
.__class
__ = PyRectangleShape
1464 _ogl
.PyRectangleShape_swigregister(PyRectangleShapePtr
)
1466 class PyControlPoint(PyRectangleShape
):
1467 """Proxy of C++ PyControlPoint class"""
1469 return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1470 def __init__(self
, *args
, **kwargs
):
1472 __init__(self, PyShapeCanvas the_canvas=None, PyShape object=None,
1473 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
1474 int the_type=0) -> PyControlPoint
1476 newobj
= _ogl
.new_PyControlPoint(*args
, **kwargs
)
1477 self
.this
= newobj
.this
1480 self
._setOORandCallbackInfo
(PyControlPoint
)
1482 def _setCallbackInfo(*args
, **kwargs
):
1483 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1484 return _ogl
.PyControlPoint__setCallbackInfo(*args
, **kwargs
)
1486 def SetCornerRadius(*args
, **kwargs
):
1487 """SetCornerRadius(self, double radius)"""
1488 return _ogl
.PyControlPoint_SetCornerRadius(*args
, **kwargs
)
1490 def base_OnDelete(*args
, **kwargs
):
1491 """base_OnDelete(self)"""
1492 return _ogl
.PyControlPoint_base_OnDelete(*args
, **kwargs
)
1494 def base_OnDraw(*args
, **kwargs
):
1495 """base_OnDraw(self, DC dc)"""
1496 return _ogl
.PyControlPoint_base_OnDraw(*args
, **kwargs
)
1498 def base_OnDrawContents(*args
, **kwargs
):
1499 """base_OnDrawContents(self, DC dc)"""
1500 return _ogl
.PyControlPoint_base_OnDrawContents(*args
, **kwargs
)
1502 def base_OnDrawBranches(*args
, **kwargs
):
1503 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
1504 return _ogl
.PyControlPoint_base_OnDrawBranches(*args
, **kwargs
)
1506 def base_OnMoveLinks(*args
, **kwargs
):
1507 """base_OnMoveLinks(self, DC dc)"""
1508 return _ogl
.PyControlPoint_base_OnMoveLinks(*args
, **kwargs
)
1510 def base_OnErase(*args
, **kwargs
):
1511 """base_OnErase(self, DC dc)"""
1512 return _ogl
.PyControlPoint_base_OnErase(*args
, **kwargs
)
1514 def base_OnEraseContents(*args
, **kwargs
):
1515 """base_OnEraseContents(self, DC dc)"""
1516 return _ogl
.PyControlPoint_base_OnEraseContents(*args
, **kwargs
)
1518 def base_OnHighlight(*args
, **kwargs
):
1519 """base_OnHighlight(self, DC dc)"""
1520 return _ogl
.PyControlPoint_base_OnHighlight(*args
, **kwargs
)
1522 def base_OnLeftClick(*args
, **kwargs
):
1523 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1524 return _ogl
.PyControlPoint_base_OnLeftClick(*args
, **kwargs
)
1526 def base_OnLeftDoubleClick(*args
, **kwargs
):
1527 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1528 return _ogl
.PyControlPoint_base_OnLeftDoubleClick(*args
, **kwargs
)
1530 def base_OnRightClick(*args
, **kwargs
):
1531 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1532 return _ogl
.PyControlPoint_base_OnRightClick(*args
, **kwargs
)
1534 def base_OnSize(*args
, **kwargs
):
1535 """base_OnSize(self, double x, double y)"""
1536 return _ogl
.PyControlPoint_base_OnSize(*args
, **kwargs
)
1538 def base_OnMovePre(*args
, **kwargs
):
1540 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1541 bool display=True) -> bool
1543 return _ogl
.PyControlPoint_base_OnMovePre(*args
, **kwargs
)
1545 def base_OnMovePost(*args
, **kwargs
):
1547 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1550 return _ogl
.PyControlPoint_base_OnMovePost(*args
, **kwargs
)
1552 def base_OnDragLeft(*args
, **kwargs
):
1553 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1554 return _ogl
.PyControlPoint_base_OnDragLeft(*args
, **kwargs
)
1556 def base_OnBeginDragLeft(*args
, **kwargs
):
1557 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1558 return _ogl
.PyControlPoint_base_OnBeginDragLeft(*args
, **kwargs
)
1560 def base_OnEndDragLeft(*args
, **kwargs
):
1561 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1562 return _ogl
.PyControlPoint_base_OnEndDragLeft(*args
, **kwargs
)
1564 def base_OnDragRight(*args
, **kwargs
):
1565 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1566 return _ogl
.PyControlPoint_base_OnDragRight(*args
, **kwargs
)
1568 def base_OnBeginDragRight(*args
, **kwargs
):
1569 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1570 return _ogl
.PyControlPoint_base_OnBeginDragRight(*args
, **kwargs
)
1572 def base_OnEndDragRight(*args
, **kwargs
):
1573 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1574 return _ogl
.PyControlPoint_base_OnEndDragRight(*args
, **kwargs
)
1576 def base_OnDrawOutline(*args
, **kwargs
):
1577 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1578 return _ogl
.PyControlPoint_base_OnDrawOutline(*args
, **kwargs
)
1580 def base_OnDrawControlPoints(*args
, **kwargs
):
1581 """base_OnDrawControlPoints(self, DC dc)"""
1582 return _ogl
.PyControlPoint_base_OnDrawControlPoints(*args
, **kwargs
)
1584 def base_OnEraseControlPoints(*args
, **kwargs
):
1585 """base_OnEraseControlPoints(self, DC dc)"""
1586 return _ogl
.PyControlPoint_base_OnEraseControlPoints(*args
, **kwargs
)
1588 def base_OnMoveLink(*args
, **kwargs
):
1589 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1590 return _ogl
.PyControlPoint_base_OnMoveLink(*args
, **kwargs
)
1592 def base_OnSizingDragLeft(*args
, **kwargs
):
1594 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1597 return _ogl
.PyControlPoint_base_OnSizingDragLeft(*args
, **kwargs
)
1599 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1601 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1604 return _ogl
.PyControlPoint_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1606 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1608 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1611 return _ogl
.PyControlPoint_base_OnSizingEndDragLeft(*args
, **kwargs
)
1613 def base_OnBeginSize(*args
, **kwargs
):
1614 """base_OnBeginSize(self, double w, double h)"""
1615 return _ogl
.PyControlPoint_base_OnBeginSize(*args
, **kwargs
)
1617 def base_OnEndSize(*args
, **kwargs
):
1618 """base_OnEndSize(self, double w, double h)"""
1619 return _ogl
.PyControlPoint_base_OnEndSize(*args
, **kwargs
)
1622 class PyControlPointPtr(PyControlPoint
):
1623 def __init__(self
, this
):
1625 if not hasattr(self
,"thisown"): self
.thisown
= 0
1626 self
.__class
__ = PyControlPoint
1627 _ogl
.PyControlPoint_swigregister(PyControlPointPtr
)
1629 class PyBitmapShape(PyRectangleShape
):
1630 """Proxy of C++ PyBitmapShape class"""
1632 return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1633 def __init__(self
, *args
, **kwargs
):
1634 """__init__(self) -> PyBitmapShape"""
1635 newobj
= _ogl
.new_PyBitmapShape(*args
, **kwargs
)
1636 self
.this
= newobj
.this
1639 self
._setOORandCallbackInfo
(PyBitmapShape
)
1641 def _setCallbackInfo(*args
, **kwargs
):
1642 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1643 return _ogl
.PyBitmapShape__setCallbackInfo(*args
, **kwargs
)
1645 def GetBitmap(*args
, **kwargs
):
1646 """GetBitmap(self) -> Bitmap"""
1647 return _ogl
.PyBitmapShape_GetBitmap(*args
, **kwargs
)
1649 def GetFilename(*args
, **kwargs
):
1650 """GetFilename(self) -> String"""
1651 return _ogl
.PyBitmapShape_GetFilename(*args
, **kwargs
)
1653 def SetBitmap(*args
, **kwargs
):
1654 """SetBitmap(self, Bitmap bitmap)"""
1655 return _ogl
.PyBitmapShape_SetBitmap(*args
, **kwargs
)
1657 def SetFilename(*args
, **kwargs
):
1658 """SetFilename(self, String filename)"""
1659 return _ogl
.PyBitmapShape_SetFilename(*args
, **kwargs
)
1661 def base_OnDelete(*args
, **kwargs
):
1662 """base_OnDelete(self)"""
1663 return _ogl
.PyBitmapShape_base_OnDelete(*args
, **kwargs
)
1665 def base_OnDraw(*args
, **kwargs
):
1666 """base_OnDraw(self, DC dc)"""
1667 return _ogl
.PyBitmapShape_base_OnDraw(*args
, **kwargs
)
1669 def base_OnDrawContents(*args
, **kwargs
):
1670 """base_OnDrawContents(self, DC dc)"""
1671 return _ogl
.PyBitmapShape_base_OnDrawContents(*args
, **kwargs
)
1673 def base_OnDrawBranches(*args
, **kwargs
):
1674 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
1675 return _ogl
.PyBitmapShape_base_OnDrawBranches(*args
, **kwargs
)
1677 def base_OnMoveLinks(*args
, **kwargs
):
1678 """base_OnMoveLinks(self, DC dc)"""
1679 return _ogl
.PyBitmapShape_base_OnMoveLinks(*args
, **kwargs
)
1681 def base_OnErase(*args
, **kwargs
):
1682 """base_OnErase(self, DC dc)"""
1683 return _ogl
.PyBitmapShape_base_OnErase(*args
, **kwargs
)
1685 def base_OnEraseContents(*args
, **kwargs
):
1686 """base_OnEraseContents(self, DC dc)"""
1687 return _ogl
.PyBitmapShape_base_OnEraseContents(*args
, **kwargs
)
1689 def base_OnHighlight(*args
, **kwargs
):
1690 """base_OnHighlight(self, DC dc)"""
1691 return _ogl
.PyBitmapShape_base_OnHighlight(*args
, **kwargs
)
1693 def base_OnLeftClick(*args
, **kwargs
):
1694 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1695 return _ogl
.PyBitmapShape_base_OnLeftClick(*args
, **kwargs
)
1697 def base_OnLeftDoubleClick(*args
, **kwargs
):
1698 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1699 return _ogl
.PyBitmapShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1701 def base_OnRightClick(*args
, **kwargs
):
1702 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1703 return _ogl
.PyBitmapShape_base_OnRightClick(*args
, **kwargs
)
1705 def base_OnSize(*args
, **kwargs
):
1706 """base_OnSize(self, double x, double y)"""
1707 return _ogl
.PyBitmapShape_base_OnSize(*args
, **kwargs
)
1709 def base_OnMovePre(*args
, **kwargs
):
1711 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1712 bool display=True) -> bool
1714 return _ogl
.PyBitmapShape_base_OnMovePre(*args
, **kwargs
)
1716 def base_OnMovePost(*args
, **kwargs
):
1718 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1721 return _ogl
.PyBitmapShape_base_OnMovePost(*args
, **kwargs
)
1723 def base_OnDragLeft(*args
, **kwargs
):
1724 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1725 return _ogl
.PyBitmapShape_base_OnDragLeft(*args
, **kwargs
)
1727 def base_OnBeginDragLeft(*args
, **kwargs
):
1728 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1729 return _ogl
.PyBitmapShape_base_OnBeginDragLeft(*args
, **kwargs
)
1731 def base_OnEndDragLeft(*args
, **kwargs
):
1732 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1733 return _ogl
.PyBitmapShape_base_OnEndDragLeft(*args
, **kwargs
)
1735 def base_OnDragRight(*args
, **kwargs
):
1736 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1737 return _ogl
.PyBitmapShape_base_OnDragRight(*args
, **kwargs
)
1739 def base_OnBeginDragRight(*args
, **kwargs
):
1740 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1741 return _ogl
.PyBitmapShape_base_OnBeginDragRight(*args
, **kwargs
)
1743 def base_OnEndDragRight(*args
, **kwargs
):
1744 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
1745 return _ogl
.PyBitmapShape_base_OnEndDragRight(*args
, **kwargs
)
1747 def base_OnDrawOutline(*args
, **kwargs
):
1748 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
1749 return _ogl
.PyBitmapShape_base_OnDrawOutline(*args
, **kwargs
)
1751 def base_OnDrawControlPoints(*args
, **kwargs
):
1752 """base_OnDrawControlPoints(self, DC dc)"""
1753 return _ogl
.PyBitmapShape_base_OnDrawControlPoints(*args
, **kwargs
)
1755 def base_OnEraseControlPoints(*args
, **kwargs
):
1756 """base_OnEraseControlPoints(self, DC dc)"""
1757 return _ogl
.PyBitmapShape_base_OnEraseControlPoints(*args
, **kwargs
)
1759 def base_OnMoveLink(*args
, **kwargs
):
1760 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
1761 return _ogl
.PyBitmapShape_base_OnMoveLink(*args
, **kwargs
)
1763 def base_OnSizingDragLeft(*args
, **kwargs
):
1765 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
1768 return _ogl
.PyBitmapShape_base_OnSizingDragLeft(*args
, **kwargs
)
1770 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1772 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1775 return _ogl
.PyBitmapShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1777 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1779 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
1782 return _ogl
.PyBitmapShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1784 def base_OnBeginSize(*args
, **kwargs
):
1785 """base_OnBeginSize(self, double w, double h)"""
1786 return _ogl
.PyBitmapShape_base_OnBeginSize(*args
, **kwargs
)
1788 def base_OnEndSize(*args
, **kwargs
):
1789 """base_OnEndSize(self, double w, double h)"""
1790 return _ogl
.PyBitmapShape_base_OnEndSize(*args
, **kwargs
)
1793 class PyBitmapShapePtr(PyBitmapShape
):
1794 def __init__(self
, this
):
1796 if not hasattr(self
,"thisown"): self
.thisown
= 0
1797 self
.__class
__ = PyBitmapShape
1798 _ogl
.PyBitmapShape_swigregister(PyBitmapShapePtr
)
1800 class PyDrawnShape(PyRectangleShape
):
1801 """Proxy of C++ PyDrawnShape class"""
1803 return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1804 def __init__(self
, *args
, **kwargs
):
1805 """__init__(self) -> PyDrawnShape"""
1806 newobj
= _ogl
.new_PyDrawnShape(*args
, **kwargs
)
1807 self
.this
= newobj
.this
1810 self
._setOORandCallbackInfo
(PyDrawnShape
)
1812 def _setCallbackInfo(*args
, **kwargs
):
1813 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1814 return _ogl
.PyDrawnShape__setCallbackInfo(*args
, **kwargs
)
1816 def CalculateSize(*args
, **kwargs
):
1817 """CalculateSize(self)"""
1818 return _ogl
.PyDrawnShape_CalculateSize(*args
, **kwargs
)
1820 def DestroyClippingRect(*args
, **kwargs
):
1821 """DestroyClippingRect(self)"""
1822 return _ogl
.PyDrawnShape_DestroyClippingRect(*args
, **kwargs
)
1824 def DrawArc(*args
, **kwargs
):
1825 """DrawArc(self, Point centrePoint, Point startPoint, Point endPoint)"""
1826 return _ogl
.PyDrawnShape_DrawArc(*args
, **kwargs
)
1828 def DrawAtAngle(*args
, **kwargs
):
1829 """DrawAtAngle(self, int angle)"""
1830 return _ogl
.PyDrawnShape_DrawAtAngle(*args
, **kwargs
)
1832 def DrawEllipticArc(*args
, **kwargs
):
1833 """DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)"""
1834 return _ogl
.PyDrawnShape_DrawEllipticArc(*args
, **kwargs
)
1836 def DrawLine(*args
, **kwargs
):
1837 """DrawLine(self, Point point1, Point point2)"""
1838 return _ogl
.PyDrawnShape_DrawLine(*args
, **kwargs
)
1840 def DrawLines(*args
, **kwargs
):
1841 """DrawLines(self, int points)"""
1842 return _ogl
.PyDrawnShape_DrawLines(*args
, **kwargs
)
1844 def DrawPoint(*args
, **kwargs
):
1845 """DrawPoint(self, Point point)"""
1846 return _ogl
.PyDrawnShape_DrawPoint(*args
, **kwargs
)
1848 def DrawPolygon(*args
, **kwargs
):
1849 """DrawPolygon(self, int points, int flags=0)"""
1850 return _ogl
.PyDrawnShape_DrawPolygon(*args
, **kwargs
)
1852 def DrawRectangle(*args
, **kwargs
):
1853 """DrawRectangle(self, Rect rect)"""
1854 return _ogl
.PyDrawnShape_DrawRectangle(*args
, **kwargs
)
1856 def DrawRoundedRectangle(*args
, **kwargs
):
1857 """DrawRoundedRectangle(self, Rect rect, double radius)"""
1858 return _ogl
.PyDrawnShape_DrawRoundedRectangle(*args
, **kwargs
)
1860 def DrawSpline(*args
, **kwargs
):
1861 """DrawSpline(self, int points)"""
1862 return _ogl
.PyDrawnShape_DrawSpline(*args
, **kwargs
)
1864 def DrawText(*args
, **kwargs
):
1865 """DrawText(self, String text, Point point)"""
1866 return _ogl
.PyDrawnShape_DrawText(*args
, **kwargs
)
1868 def GetAngle(*args
, **kwargs
):
1869 """GetAngle(self) -> int"""
1870 return _ogl
.PyDrawnShape_GetAngle(*args
, **kwargs
)
1872 def GetMetaFile(*args
, **kwargs
):
1873 """GetMetaFile(self) -> PseudoMetaFile"""
1874 return _ogl
.PyDrawnShape_GetMetaFile(*args
, **kwargs
)
1876 def GetRotation(*args
, **kwargs
):
1877 """GetRotation(self) -> double"""
1878 return _ogl
.PyDrawnShape_GetRotation(*args
, **kwargs
)
1880 def LoadFromMetaFile(*args
, **kwargs
):
1881 """LoadFromMetaFile(self, String filename) -> bool"""
1882 return _ogl
.PyDrawnShape_LoadFromMetaFile(*args
, **kwargs
)
1884 def Rotate(*args
, **kwargs
):
1885 """Rotate(self, double x, double y, double theta)"""
1886 return _ogl
.PyDrawnShape_Rotate(*args
, **kwargs
)
1888 def SetClippingRect(*args
, **kwargs
):
1889 """SetClippingRect(self, Rect rect)"""
1890 return _ogl
.PyDrawnShape_SetClippingRect(*args
, **kwargs
)
1892 def SetDrawnBackgroundColour(*args
, **kwargs
):
1893 """SetDrawnBackgroundColour(self, Colour colour)"""
1894 return _ogl
.PyDrawnShape_SetDrawnBackgroundColour(*args
, **kwargs
)
1896 def SetDrawnBackgroundMode(*args
, **kwargs
):
1897 """SetDrawnBackgroundMode(self, int mode)"""
1898 return _ogl
.PyDrawnShape_SetDrawnBackgroundMode(*args
, **kwargs
)
1900 def SetDrawnBrush(*args
, **kwargs
):
1901 """SetDrawnBrush(self, wxBrush pen, bool isOutline=False)"""
1902 return _ogl
.PyDrawnShape_SetDrawnBrush(*args
, **kwargs
)
1904 def SetDrawnFont(*args
, **kwargs
):
1905 """SetDrawnFont(self, Font font)"""
1906 return _ogl
.PyDrawnShape_SetDrawnFont(*args
, **kwargs
)
1908 def SetDrawnPen(*args
, **kwargs
):
1909 """SetDrawnPen(self, wxPen pen, bool isOutline=False)"""
1910 return _ogl
.PyDrawnShape_SetDrawnPen(*args
, **kwargs
)
1912 def SetDrawnTextColour(*args
, **kwargs
):
1913 """SetDrawnTextColour(self, Colour colour)"""
1914 return _ogl
.PyDrawnShape_SetDrawnTextColour(*args
, **kwargs
)
1916 def Scale(*args
, **kwargs
):
1917 """Scale(self, double sx, double sy)"""
1918 return _ogl
.PyDrawnShape_Scale(*args
, **kwargs
)
1920 def SetSaveToFile(*args
, **kwargs
):
1921 """SetSaveToFile(self, bool save)"""
1922 return _ogl
.PyDrawnShape_SetSaveToFile(*args
, **kwargs
)
1924 def Translate(*args
, **kwargs
):
1925 """Translate(self, double x, double y)"""
1926 return _ogl
.PyDrawnShape_Translate(*args
, **kwargs
)
1928 def base_OnDelete(*args
, **kwargs
):
1929 """base_OnDelete(self)"""
1930 return _ogl
.PyDrawnShape_base_OnDelete(*args
, **kwargs
)
1932 def base_OnDraw(*args
, **kwargs
):
1933 """base_OnDraw(self, DC dc)"""
1934 return _ogl
.PyDrawnShape_base_OnDraw(*args
, **kwargs
)
1936 def base_OnDrawContents(*args
, **kwargs
):
1937 """base_OnDrawContents(self, DC dc)"""
1938 return _ogl
.PyDrawnShape_base_OnDrawContents(*args
, **kwargs
)
1940 def base_OnDrawBranches(*args
, **kwargs
):
1941 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
1942 return _ogl
.PyDrawnShape_base_OnDrawBranches(*args
, **kwargs
)
1944 def base_OnMoveLinks(*args
, **kwargs
):
1945 """base_OnMoveLinks(self, DC dc)"""
1946 return _ogl
.PyDrawnShape_base_OnMoveLinks(*args
, **kwargs
)
1948 def base_OnErase(*args
, **kwargs
):
1949 """base_OnErase(self, DC dc)"""
1950 return _ogl
.PyDrawnShape_base_OnErase(*args
, **kwargs
)
1952 def base_OnEraseContents(*args
, **kwargs
):
1953 """base_OnEraseContents(self, DC dc)"""
1954 return _ogl
.PyDrawnShape_base_OnEraseContents(*args
, **kwargs
)
1956 def base_OnHighlight(*args
, **kwargs
):
1957 """base_OnHighlight(self, DC dc)"""
1958 return _ogl
.PyDrawnShape_base_OnHighlight(*args
, **kwargs
)
1960 def base_OnLeftClick(*args
, **kwargs
):
1961 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
1962 return _ogl
.PyDrawnShape_base_OnLeftClick(*args
, **kwargs
)
1964 def base_OnLeftDoubleClick(*args
, **kwargs
):
1965 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
1966 return _ogl
.PyDrawnShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1968 def base_OnRightClick(*args
, **kwargs
):
1969 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
1970 return _ogl
.PyDrawnShape_base_OnRightClick(*args
, **kwargs
)
1972 def base_OnSize(*args
, **kwargs
):
1973 """base_OnSize(self, double x, double y)"""
1974 return _ogl
.PyDrawnShape_base_OnSize(*args
, **kwargs
)
1976 def base_OnMovePre(*args
, **kwargs
):
1978 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
1979 bool display=True) -> bool
1981 return _ogl
.PyDrawnShape_base_OnMovePre(*args
, **kwargs
)
1983 def base_OnMovePost(*args
, **kwargs
):
1985 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
1988 return _ogl
.PyDrawnShape_base_OnMovePost(*args
, **kwargs
)
1990 def base_OnDragLeft(*args
, **kwargs
):
1991 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
1992 return _ogl
.PyDrawnShape_base_OnDragLeft(*args
, **kwargs
)
1994 def base_OnBeginDragLeft(*args
, **kwargs
):
1995 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
1996 return _ogl
.PyDrawnShape_base_OnBeginDragLeft(*args
, **kwargs
)
1998 def base_OnEndDragLeft(*args
, **kwargs
):
1999 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2000 return _ogl
.PyDrawnShape_base_OnEndDragLeft(*args
, **kwargs
)
2002 def base_OnDragRight(*args
, **kwargs
):
2003 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2004 return _ogl
.PyDrawnShape_base_OnDragRight(*args
, **kwargs
)
2006 def base_OnBeginDragRight(*args
, **kwargs
):
2007 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2008 return _ogl
.PyDrawnShape_base_OnBeginDragRight(*args
, **kwargs
)
2010 def base_OnEndDragRight(*args
, **kwargs
):
2011 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2012 return _ogl
.PyDrawnShape_base_OnEndDragRight(*args
, **kwargs
)
2014 def base_OnDrawOutline(*args
, **kwargs
):
2015 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2016 return _ogl
.PyDrawnShape_base_OnDrawOutline(*args
, **kwargs
)
2018 def base_OnDrawControlPoints(*args
, **kwargs
):
2019 """base_OnDrawControlPoints(self, DC dc)"""
2020 return _ogl
.PyDrawnShape_base_OnDrawControlPoints(*args
, **kwargs
)
2022 def base_OnEraseControlPoints(*args
, **kwargs
):
2023 """base_OnEraseControlPoints(self, DC dc)"""
2024 return _ogl
.PyDrawnShape_base_OnEraseControlPoints(*args
, **kwargs
)
2026 def base_OnMoveLink(*args
, **kwargs
):
2027 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2028 return _ogl
.PyDrawnShape_base_OnMoveLink(*args
, **kwargs
)
2030 def base_OnSizingDragLeft(*args
, **kwargs
):
2032 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2035 return _ogl
.PyDrawnShape_base_OnSizingDragLeft(*args
, **kwargs
)
2037 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2039 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2042 return _ogl
.PyDrawnShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2044 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2046 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2049 return _ogl
.PyDrawnShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2051 def base_OnBeginSize(*args
, **kwargs
):
2052 """base_OnBeginSize(self, double w, double h)"""
2053 return _ogl
.PyDrawnShape_base_OnBeginSize(*args
, **kwargs
)
2055 def base_OnEndSize(*args
, **kwargs
):
2056 """base_OnEndSize(self, double w, double h)"""
2057 return _ogl
.PyDrawnShape_base_OnEndSize(*args
, **kwargs
)
2060 class PyDrawnShapePtr(PyDrawnShape
):
2061 def __init__(self
, this
):
2063 if not hasattr(self
,"thisown"): self
.thisown
= 0
2064 self
.__class
__ = PyDrawnShape
2065 _ogl
.PyDrawnShape_swigregister(PyDrawnShapePtr
)
2067 class OGLConstraint(_core
.Object
):
2068 """Proxy of C++ OGLConstraint class"""
2070 return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2071 def __init__(self
, *args
, **kwargs
):
2072 """__init__(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2073 newobj
= _ogl
.new_OGLConstraint(*args
, **kwargs
)
2074 self
.this
= newobj
.this
2077 def Evaluate(*args
, **kwargs
):
2078 """Evaluate(self) -> bool"""
2079 return _ogl
.OGLConstraint_Evaluate(*args
, **kwargs
)
2081 def SetSpacing(*args
, **kwargs
):
2082 """SetSpacing(self, double x, double y)"""
2083 return _ogl
.OGLConstraint_SetSpacing(*args
, **kwargs
)
2085 def Equals(*args
, **kwargs
):
2086 """Equals(self, double a, double b) -> bool"""
2087 return _ogl
.OGLConstraint_Equals(*args
, **kwargs
)
2090 class OGLConstraintPtr(OGLConstraint
):
2091 def __init__(self
, this
):
2093 if not hasattr(self
,"thisown"): self
.thisown
= 0
2094 self
.__class
__ = OGLConstraint
2095 _ogl
.OGLConstraint_swigregister(OGLConstraintPtr
)
2097 class PyCompositeShape(PyRectangleShape
):
2098 """Proxy of C++ PyCompositeShape class"""
2100 return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2101 def __init__(self
, *args
, **kwargs
):
2102 """__init__(self) -> PyCompositeShape"""
2103 newobj
= _ogl
.new_PyCompositeShape(*args
, **kwargs
)
2104 self
.this
= newobj
.this
2107 self
._setOORandCallbackInfo
(PyCompositeShape
)
2109 def _setCallbackInfo(*args
, **kwargs
):
2110 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2111 return _ogl
.PyCompositeShape__setCallbackInfo(*args
, **kwargs
)
2113 def AddChild(*args
, **kwargs
):
2114 """AddChild(self, PyShape child, PyShape addAfter=None)"""
2115 return _ogl
.PyCompositeShape_AddChild(*args
, **kwargs
)
2117 def AddConstraint(*args
, **kwargs
):
2118 """AddConstraint(self, OGLConstraint constraint) -> OGLConstraint"""
2119 return _ogl
.PyCompositeShape_AddConstraint(*args
, **kwargs
)
2121 def AddConstrainedShapes(*args
, **kwargs
):
2122 """AddConstrainedShapes(self, int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2123 return _ogl
.PyCompositeShape_AddConstrainedShapes(*args
, **kwargs
)
2125 def AddSimpleConstraint(*args
, **kwargs
):
2126 """AddSimpleConstraint(self, int type, PyShape constraining, PyShape constrained) -> OGLConstraint"""
2127 return _ogl
.PyCompositeShape_AddSimpleConstraint(*args
, **kwargs
)
2129 def CalculateSize(*args
, **kwargs
):
2130 """CalculateSize(self)"""
2131 return _ogl
.PyCompositeShape_CalculateSize(*args
, **kwargs
)
2133 def ContainsDivision(*args
, **kwargs
):
2134 """ContainsDivision(self, PyDivisionShape division) -> bool"""
2135 return _ogl
.PyCompositeShape_ContainsDivision(*args
, **kwargs
)
2137 def DeleteConstraint(*args
, **kwargs
):
2138 """DeleteConstraint(self, OGLConstraint constraint)"""
2139 return _ogl
.PyCompositeShape_DeleteConstraint(*args
, **kwargs
)
2141 def DeleteConstraintsInvolvingChild(*args
, **kwargs
):
2142 """DeleteConstraintsInvolvingChild(self, PyShape child)"""
2143 return _ogl
.PyCompositeShape_DeleteConstraintsInvolvingChild(*args
, **kwargs
)
2145 def FindContainerImage(*args
, **kwargs
):
2146 """FindContainerImage(self) -> PyShape"""
2147 return _ogl
.PyCompositeShape_FindContainerImage(*args
, **kwargs
)
2149 def GetConstraints(*args
, **kwargs
):
2150 """GetConstraints(self) -> PyObject"""
2151 return _ogl
.PyCompositeShape_GetConstraints(*args
, **kwargs
)
2153 def GetDivisions(*args
, **kwargs
):
2154 """GetDivisions(self) -> PyObject"""
2155 return _ogl
.PyCompositeShape_GetDivisions(*args
, **kwargs
)
2157 def MakeContainer(*args
, **kwargs
):
2158 """MakeContainer(self)"""
2159 return _ogl
.PyCompositeShape_MakeContainer(*args
, **kwargs
)
2161 def Recompute(*args
, **kwargs
):
2162 """Recompute(self) -> bool"""
2163 return _ogl
.PyCompositeShape_Recompute(*args
, **kwargs
)
2165 def RemoveChild(*args
, **kwargs
):
2166 """RemoveChild(self, PyShape child)"""
2167 return _ogl
.PyCompositeShape_RemoveChild(*args
, **kwargs
)
2169 def base_OnDelete(*args
, **kwargs
):
2170 """base_OnDelete(self)"""
2171 return _ogl
.PyCompositeShape_base_OnDelete(*args
, **kwargs
)
2173 def base_OnDraw(*args
, **kwargs
):
2174 """base_OnDraw(self, DC dc)"""
2175 return _ogl
.PyCompositeShape_base_OnDraw(*args
, **kwargs
)
2177 def base_OnDrawContents(*args
, **kwargs
):
2178 """base_OnDrawContents(self, DC dc)"""
2179 return _ogl
.PyCompositeShape_base_OnDrawContents(*args
, **kwargs
)
2181 def base_OnDrawBranches(*args
, **kwargs
):
2182 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
2183 return _ogl
.PyCompositeShape_base_OnDrawBranches(*args
, **kwargs
)
2185 def base_OnMoveLinks(*args
, **kwargs
):
2186 """base_OnMoveLinks(self, DC dc)"""
2187 return _ogl
.PyCompositeShape_base_OnMoveLinks(*args
, **kwargs
)
2189 def base_OnErase(*args
, **kwargs
):
2190 """base_OnErase(self, DC dc)"""
2191 return _ogl
.PyCompositeShape_base_OnErase(*args
, **kwargs
)
2193 def base_OnEraseContents(*args
, **kwargs
):
2194 """base_OnEraseContents(self, DC dc)"""
2195 return _ogl
.PyCompositeShape_base_OnEraseContents(*args
, **kwargs
)
2197 def base_OnHighlight(*args
, **kwargs
):
2198 """base_OnHighlight(self, DC dc)"""
2199 return _ogl
.PyCompositeShape_base_OnHighlight(*args
, **kwargs
)
2201 def base_OnLeftClick(*args
, **kwargs
):
2202 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2203 return _ogl
.PyCompositeShape_base_OnLeftClick(*args
, **kwargs
)
2205 def base_OnLeftDoubleClick(*args
, **kwargs
):
2206 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2207 return _ogl
.PyCompositeShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2209 def base_OnRightClick(*args
, **kwargs
):
2210 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2211 return _ogl
.PyCompositeShape_base_OnRightClick(*args
, **kwargs
)
2213 def base_OnSize(*args
, **kwargs
):
2214 """base_OnSize(self, double x, double y)"""
2215 return _ogl
.PyCompositeShape_base_OnSize(*args
, **kwargs
)
2217 def base_OnMovePre(*args
, **kwargs
):
2219 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2220 bool display=True) -> bool
2222 return _ogl
.PyCompositeShape_base_OnMovePre(*args
, **kwargs
)
2224 def base_OnMovePost(*args
, **kwargs
):
2226 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2229 return _ogl
.PyCompositeShape_base_OnMovePost(*args
, **kwargs
)
2231 def base_OnDragLeft(*args
, **kwargs
):
2232 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2233 return _ogl
.PyCompositeShape_base_OnDragLeft(*args
, **kwargs
)
2235 def base_OnBeginDragLeft(*args
, **kwargs
):
2236 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2237 return _ogl
.PyCompositeShape_base_OnBeginDragLeft(*args
, **kwargs
)
2239 def base_OnEndDragLeft(*args
, **kwargs
):
2240 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2241 return _ogl
.PyCompositeShape_base_OnEndDragLeft(*args
, **kwargs
)
2243 def base_OnDragRight(*args
, **kwargs
):
2244 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2245 return _ogl
.PyCompositeShape_base_OnDragRight(*args
, **kwargs
)
2247 def base_OnBeginDragRight(*args
, **kwargs
):
2248 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2249 return _ogl
.PyCompositeShape_base_OnBeginDragRight(*args
, **kwargs
)
2251 def base_OnEndDragRight(*args
, **kwargs
):
2252 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2253 return _ogl
.PyCompositeShape_base_OnEndDragRight(*args
, **kwargs
)
2255 def base_OnDrawOutline(*args
, **kwargs
):
2256 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2257 return _ogl
.PyCompositeShape_base_OnDrawOutline(*args
, **kwargs
)
2259 def base_OnDrawControlPoints(*args
, **kwargs
):
2260 """base_OnDrawControlPoints(self, DC dc)"""
2261 return _ogl
.PyCompositeShape_base_OnDrawControlPoints(*args
, **kwargs
)
2263 def base_OnEraseControlPoints(*args
, **kwargs
):
2264 """base_OnEraseControlPoints(self, DC dc)"""
2265 return _ogl
.PyCompositeShape_base_OnEraseControlPoints(*args
, **kwargs
)
2267 def base_OnMoveLink(*args
, **kwargs
):
2268 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2269 return _ogl
.PyCompositeShape_base_OnMoveLink(*args
, **kwargs
)
2271 def base_OnSizingDragLeft(*args
, **kwargs
):
2273 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2276 return _ogl
.PyCompositeShape_base_OnSizingDragLeft(*args
, **kwargs
)
2278 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2280 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2283 return _ogl
.PyCompositeShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2285 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2287 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2290 return _ogl
.PyCompositeShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2292 def base_OnBeginSize(*args
, **kwargs
):
2293 """base_OnBeginSize(self, double w, double h)"""
2294 return _ogl
.PyCompositeShape_base_OnBeginSize(*args
, **kwargs
)
2296 def base_OnEndSize(*args
, **kwargs
):
2297 """base_OnEndSize(self, double w, double h)"""
2298 return _ogl
.PyCompositeShape_base_OnEndSize(*args
, **kwargs
)
2301 class PyCompositeShapePtr(PyCompositeShape
):
2302 def __init__(self
, this
):
2304 if not hasattr(self
,"thisown"): self
.thisown
= 0
2305 self
.__class
__ = PyCompositeShape
2306 _ogl
.PyCompositeShape_swigregister(PyCompositeShapePtr
)
2308 class PyDividedShape(PyRectangleShape
):
2309 """Proxy of C++ PyDividedShape class"""
2311 return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2312 def __init__(self
, *args
, **kwargs
):
2313 """__init__(self, double width=0.0, double height=0.0) -> PyDividedShape"""
2314 newobj
= _ogl
.new_PyDividedShape(*args
, **kwargs
)
2315 self
.this
= newobj
.this
2318 self
._setOORandCallbackInfo
(PyDividedShape
)
2320 def _setCallbackInfo(*args
, **kwargs
):
2321 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2322 return _ogl
.PyDividedShape__setCallbackInfo(*args
, **kwargs
)
2324 def EditRegions(*args
, **kwargs
):
2325 """EditRegions(self)"""
2326 return _ogl
.PyDividedShape_EditRegions(*args
, **kwargs
)
2328 def SetRegionSizes(*args
, **kwargs
):
2329 """SetRegionSizes(self)"""
2330 return _ogl
.PyDividedShape_SetRegionSizes(*args
, **kwargs
)
2332 def base_OnDelete(*args
, **kwargs
):
2333 """base_OnDelete(self)"""
2334 return _ogl
.PyDividedShape_base_OnDelete(*args
, **kwargs
)
2336 def base_OnDraw(*args
, **kwargs
):
2337 """base_OnDraw(self, DC dc)"""
2338 return _ogl
.PyDividedShape_base_OnDraw(*args
, **kwargs
)
2340 def base_OnDrawContents(*args
, **kwargs
):
2341 """base_OnDrawContents(self, DC dc)"""
2342 return _ogl
.PyDividedShape_base_OnDrawContents(*args
, **kwargs
)
2344 def base_OnDrawBranches(*args
, **kwargs
):
2345 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
2346 return _ogl
.PyDividedShape_base_OnDrawBranches(*args
, **kwargs
)
2348 def base_OnMoveLinks(*args
, **kwargs
):
2349 """base_OnMoveLinks(self, DC dc)"""
2350 return _ogl
.PyDividedShape_base_OnMoveLinks(*args
, **kwargs
)
2352 def base_OnErase(*args
, **kwargs
):
2353 """base_OnErase(self, DC dc)"""
2354 return _ogl
.PyDividedShape_base_OnErase(*args
, **kwargs
)
2356 def base_OnEraseContents(*args
, **kwargs
):
2357 """base_OnEraseContents(self, DC dc)"""
2358 return _ogl
.PyDividedShape_base_OnEraseContents(*args
, **kwargs
)
2360 def base_OnHighlight(*args
, **kwargs
):
2361 """base_OnHighlight(self, DC dc)"""
2362 return _ogl
.PyDividedShape_base_OnHighlight(*args
, **kwargs
)
2364 def base_OnLeftClick(*args
, **kwargs
):
2365 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2366 return _ogl
.PyDividedShape_base_OnLeftClick(*args
, **kwargs
)
2368 def base_OnLeftDoubleClick(*args
, **kwargs
):
2369 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2370 return _ogl
.PyDividedShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2372 def base_OnRightClick(*args
, **kwargs
):
2373 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2374 return _ogl
.PyDividedShape_base_OnRightClick(*args
, **kwargs
)
2376 def base_OnSize(*args
, **kwargs
):
2377 """base_OnSize(self, double x, double y)"""
2378 return _ogl
.PyDividedShape_base_OnSize(*args
, **kwargs
)
2380 def base_OnMovePre(*args
, **kwargs
):
2382 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2383 bool display=True) -> bool
2385 return _ogl
.PyDividedShape_base_OnMovePre(*args
, **kwargs
)
2387 def base_OnMovePost(*args
, **kwargs
):
2389 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2392 return _ogl
.PyDividedShape_base_OnMovePost(*args
, **kwargs
)
2394 def base_OnDragLeft(*args
, **kwargs
):
2395 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2396 return _ogl
.PyDividedShape_base_OnDragLeft(*args
, **kwargs
)
2398 def base_OnBeginDragLeft(*args
, **kwargs
):
2399 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2400 return _ogl
.PyDividedShape_base_OnBeginDragLeft(*args
, **kwargs
)
2402 def base_OnEndDragLeft(*args
, **kwargs
):
2403 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2404 return _ogl
.PyDividedShape_base_OnEndDragLeft(*args
, **kwargs
)
2406 def base_OnDragRight(*args
, **kwargs
):
2407 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2408 return _ogl
.PyDividedShape_base_OnDragRight(*args
, **kwargs
)
2410 def base_OnBeginDragRight(*args
, **kwargs
):
2411 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2412 return _ogl
.PyDividedShape_base_OnBeginDragRight(*args
, **kwargs
)
2414 def base_OnEndDragRight(*args
, **kwargs
):
2415 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2416 return _ogl
.PyDividedShape_base_OnEndDragRight(*args
, **kwargs
)
2418 def base_OnDrawOutline(*args
, **kwargs
):
2419 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2420 return _ogl
.PyDividedShape_base_OnDrawOutline(*args
, **kwargs
)
2422 def base_OnDrawControlPoints(*args
, **kwargs
):
2423 """base_OnDrawControlPoints(self, DC dc)"""
2424 return _ogl
.PyDividedShape_base_OnDrawControlPoints(*args
, **kwargs
)
2426 def base_OnEraseControlPoints(*args
, **kwargs
):
2427 """base_OnEraseControlPoints(self, DC dc)"""
2428 return _ogl
.PyDividedShape_base_OnEraseControlPoints(*args
, **kwargs
)
2430 def base_OnMoveLink(*args
, **kwargs
):
2431 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2432 return _ogl
.PyDividedShape_base_OnMoveLink(*args
, **kwargs
)
2434 def base_OnSizingDragLeft(*args
, **kwargs
):
2436 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2439 return _ogl
.PyDividedShape_base_OnSizingDragLeft(*args
, **kwargs
)
2441 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2443 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2446 return _ogl
.PyDividedShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2448 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2450 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2453 return _ogl
.PyDividedShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2455 def base_OnBeginSize(*args
, **kwargs
):
2456 """base_OnBeginSize(self, double w, double h)"""
2457 return _ogl
.PyDividedShape_base_OnBeginSize(*args
, **kwargs
)
2459 def base_OnEndSize(*args
, **kwargs
):
2460 """base_OnEndSize(self, double w, double h)"""
2461 return _ogl
.PyDividedShape_base_OnEndSize(*args
, **kwargs
)
2464 class PyDividedShapePtr(PyDividedShape
):
2465 def __init__(self
, this
):
2467 if not hasattr(self
,"thisown"): self
.thisown
= 0
2468 self
.__class
__ = PyDividedShape
2469 _ogl
.PyDividedShape_swigregister(PyDividedShapePtr
)
2471 class PyDivisionShape(PyCompositeShape
):
2472 """Proxy of C++ PyDivisionShape class"""
2474 return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2475 def __init__(self
, *args
, **kwargs
):
2476 """__init__(self) -> PyDivisionShape"""
2477 newobj
= _ogl
.new_PyDivisionShape(*args
, **kwargs
)
2478 self
.this
= newobj
.this
2481 self
._setOORandCallbackInfo
(PyDivisionShape
)
2483 def _setCallbackInfo(*args
, **kwargs
):
2484 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2485 return _ogl
.PyDivisionShape__setCallbackInfo(*args
, **kwargs
)
2487 def AdjustBottom(*args
, **kwargs
):
2488 """AdjustBottom(self, double bottom, bool test)"""
2489 return _ogl
.PyDivisionShape_AdjustBottom(*args
, **kwargs
)
2491 def AdjustLeft(*args
, **kwargs
):
2492 """AdjustLeft(self, double left, bool test)"""
2493 return _ogl
.PyDivisionShape_AdjustLeft(*args
, **kwargs
)
2495 def AdjustRight(*args
, **kwargs
):
2496 """AdjustRight(self, double right, bool test)"""
2497 return _ogl
.PyDivisionShape_AdjustRight(*args
, **kwargs
)
2499 def AdjustTop(*args
, **kwargs
):
2500 """AdjustTop(self, double top, bool test)"""
2501 return _ogl
.PyDivisionShape_AdjustTop(*args
, **kwargs
)
2503 def Divide(*args
, **kwargs
):
2504 """Divide(self, int direction)"""
2505 return _ogl
.PyDivisionShape_Divide(*args
, **kwargs
)
2507 def EditEdge(*args
, **kwargs
):
2508 """EditEdge(self, int side)"""
2509 return _ogl
.PyDivisionShape_EditEdge(*args
, **kwargs
)
2511 def GetBottomSide(*args
, **kwargs
):
2512 """GetBottomSide(self) -> PyDivisionShape"""
2513 return _ogl
.PyDivisionShape_GetBottomSide(*args
, **kwargs
)
2515 def GetHandleSide(*args
, **kwargs
):
2516 """GetHandleSide(self) -> int"""
2517 return _ogl
.PyDivisionShape_GetHandleSide(*args
, **kwargs
)
2519 def GetLeftSide(*args
, **kwargs
):
2520 """GetLeftSide(self) -> PyDivisionShape"""
2521 return _ogl
.PyDivisionShape_GetLeftSide(*args
, **kwargs
)
2523 def GetLeftSideColour(*args
, **kwargs
):
2524 """GetLeftSideColour(self) -> String"""
2525 return _ogl
.PyDivisionShape_GetLeftSideColour(*args
, **kwargs
)
2527 def GetLeftSidePen(*args
, **kwargs
):
2528 """GetLeftSidePen(self) -> wxPen"""
2529 return _ogl
.PyDivisionShape_GetLeftSidePen(*args
, **kwargs
)
2531 def GetRightSide(*args
, **kwargs
):
2532 """GetRightSide(self) -> PyDivisionShape"""
2533 return _ogl
.PyDivisionShape_GetRightSide(*args
, **kwargs
)
2535 def GetTopSide(*args
, **kwargs
):
2536 """GetTopSide(self) -> PyDivisionShape"""
2537 return _ogl
.PyDivisionShape_GetTopSide(*args
, **kwargs
)
2539 def GetTopSidePen(*args
, **kwargs
):
2540 """GetTopSidePen(self) -> wxPen"""
2541 return _ogl
.PyDivisionShape_GetTopSidePen(*args
, **kwargs
)
2543 def ResizeAdjoining(*args
, **kwargs
):
2544 """ResizeAdjoining(self, int side, double newPos, bool test)"""
2545 return _ogl
.PyDivisionShape_ResizeAdjoining(*args
, **kwargs
)
2547 def PopupMenu(*args
, **kwargs
):
2548 """PopupMenu(self, double x, double y)"""
2549 return _ogl
.PyDivisionShape_PopupMenu(*args
, **kwargs
)
2551 def SetBottomSide(*args
, **kwargs
):
2552 """SetBottomSide(self, PyDivisionShape shape)"""
2553 return _ogl
.PyDivisionShape_SetBottomSide(*args
, **kwargs
)
2555 def SetHandleSide(*args
, **kwargs
):
2556 """SetHandleSide(self, int side)"""
2557 return _ogl
.PyDivisionShape_SetHandleSide(*args
, **kwargs
)
2559 def SetLeftSide(*args
, **kwargs
):
2560 """SetLeftSide(self, PyDivisionShape shape)"""
2561 return _ogl
.PyDivisionShape_SetLeftSide(*args
, **kwargs
)
2563 def SetLeftSideColour(*args
, **kwargs
):
2564 """SetLeftSideColour(self, String colour)"""
2565 return _ogl
.PyDivisionShape_SetLeftSideColour(*args
, **kwargs
)
2567 def SetLeftSidePen(*args
, **kwargs
):
2568 """SetLeftSidePen(self, wxPen pen)"""
2569 return _ogl
.PyDivisionShape_SetLeftSidePen(*args
, **kwargs
)
2571 def SetRightSide(*args
, **kwargs
):
2572 """SetRightSide(self, PyDivisionShape shape)"""
2573 return _ogl
.PyDivisionShape_SetRightSide(*args
, **kwargs
)
2575 def SetTopSide(*args
, **kwargs
):
2576 """SetTopSide(self, PyDivisionShape shape)"""
2577 return _ogl
.PyDivisionShape_SetTopSide(*args
, **kwargs
)
2579 def SetTopSideColour(*args
, **kwargs
):
2580 """SetTopSideColour(self, String colour)"""
2581 return _ogl
.PyDivisionShape_SetTopSideColour(*args
, **kwargs
)
2583 def SetTopSidePen(*args
, **kwargs
):
2584 """SetTopSidePen(self, wxPen pen)"""
2585 return _ogl
.PyDivisionShape_SetTopSidePen(*args
, **kwargs
)
2587 def base_OnDelete(*args
, **kwargs
):
2588 """base_OnDelete(self)"""
2589 return _ogl
.PyDivisionShape_base_OnDelete(*args
, **kwargs
)
2591 def base_OnDraw(*args
, **kwargs
):
2592 """base_OnDraw(self, DC dc)"""
2593 return _ogl
.PyDivisionShape_base_OnDraw(*args
, **kwargs
)
2595 def base_OnDrawContents(*args
, **kwargs
):
2596 """base_OnDrawContents(self, DC dc)"""
2597 return _ogl
.PyDivisionShape_base_OnDrawContents(*args
, **kwargs
)
2599 def base_OnDrawBranches(*args
, **kwargs
):
2600 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
2601 return _ogl
.PyDivisionShape_base_OnDrawBranches(*args
, **kwargs
)
2603 def base_OnMoveLinks(*args
, **kwargs
):
2604 """base_OnMoveLinks(self, DC dc)"""
2605 return _ogl
.PyDivisionShape_base_OnMoveLinks(*args
, **kwargs
)
2607 def base_OnErase(*args
, **kwargs
):
2608 """base_OnErase(self, DC dc)"""
2609 return _ogl
.PyDivisionShape_base_OnErase(*args
, **kwargs
)
2611 def base_OnEraseContents(*args
, **kwargs
):
2612 """base_OnEraseContents(self, DC dc)"""
2613 return _ogl
.PyDivisionShape_base_OnEraseContents(*args
, **kwargs
)
2615 def base_OnHighlight(*args
, **kwargs
):
2616 """base_OnHighlight(self, DC dc)"""
2617 return _ogl
.PyDivisionShape_base_OnHighlight(*args
, **kwargs
)
2619 def base_OnLeftClick(*args
, **kwargs
):
2620 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2621 return _ogl
.PyDivisionShape_base_OnLeftClick(*args
, **kwargs
)
2623 def base_OnLeftDoubleClick(*args
, **kwargs
):
2624 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2625 return _ogl
.PyDivisionShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2627 def base_OnRightClick(*args
, **kwargs
):
2628 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2629 return _ogl
.PyDivisionShape_base_OnRightClick(*args
, **kwargs
)
2631 def base_OnSize(*args
, **kwargs
):
2632 """base_OnSize(self, double x, double y)"""
2633 return _ogl
.PyDivisionShape_base_OnSize(*args
, **kwargs
)
2635 def base_OnMovePre(*args
, **kwargs
):
2637 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2638 bool display=True) -> bool
2640 return _ogl
.PyDivisionShape_base_OnMovePre(*args
, **kwargs
)
2642 def base_OnMovePost(*args
, **kwargs
):
2644 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2647 return _ogl
.PyDivisionShape_base_OnMovePost(*args
, **kwargs
)
2649 def base_OnDragLeft(*args
, **kwargs
):
2650 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2651 return _ogl
.PyDivisionShape_base_OnDragLeft(*args
, **kwargs
)
2653 def base_OnBeginDragLeft(*args
, **kwargs
):
2654 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2655 return _ogl
.PyDivisionShape_base_OnBeginDragLeft(*args
, **kwargs
)
2657 def base_OnEndDragLeft(*args
, **kwargs
):
2658 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2659 return _ogl
.PyDivisionShape_base_OnEndDragLeft(*args
, **kwargs
)
2661 def base_OnDragRight(*args
, **kwargs
):
2662 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2663 return _ogl
.PyDivisionShape_base_OnDragRight(*args
, **kwargs
)
2665 def base_OnBeginDragRight(*args
, **kwargs
):
2666 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2667 return _ogl
.PyDivisionShape_base_OnBeginDragRight(*args
, **kwargs
)
2669 def base_OnEndDragRight(*args
, **kwargs
):
2670 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2671 return _ogl
.PyDivisionShape_base_OnEndDragRight(*args
, **kwargs
)
2673 def base_OnDrawOutline(*args
, **kwargs
):
2674 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2675 return _ogl
.PyDivisionShape_base_OnDrawOutline(*args
, **kwargs
)
2677 def base_OnDrawControlPoints(*args
, **kwargs
):
2678 """base_OnDrawControlPoints(self, DC dc)"""
2679 return _ogl
.PyDivisionShape_base_OnDrawControlPoints(*args
, **kwargs
)
2681 def base_OnEraseControlPoints(*args
, **kwargs
):
2682 """base_OnEraseControlPoints(self, DC dc)"""
2683 return _ogl
.PyDivisionShape_base_OnEraseControlPoints(*args
, **kwargs
)
2685 def base_OnMoveLink(*args
, **kwargs
):
2686 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2687 return _ogl
.PyDivisionShape_base_OnMoveLink(*args
, **kwargs
)
2689 def base_OnSizingDragLeft(*args
, **kwargs
):
2691 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2694 return _ogl
.PyDivisionShape_base_OnSizingDragLeft(*args
, **kwargs
)
2696 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2698 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2701 return _ogl
.PyDivisionShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2703 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2705 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2708 return _ogl
.PyDivisionShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2710 def base_OnBeginSize(*args
, **kwargs
):
2711 """base_OnBeginSize(self, double w, double h)"""
2712 return _ogl
.PyDivisionShape_base_OnBeginSize(*args
, **kwargs
)
2714 def base_OnEndSize(*args
, **kwargs
):
2715 """base_OnEndSize(self, double w, double h)"""
2716 return _ogl
.PyDivisionShape_base_OnEndSize(*args
, **kwargs
)
2719 class PyDivisionShapePtr(PyDivisionShape
):
2720 def __init__(self
, this
):
2722 if not hasattr(self
,"thisown"): self
.thisown
= 0
2723 self
.__class
__ = PyDivisionShape
2724 _ogl
.PyDivisionShape_swigregister(PyDivisionShapePtr
)
2726 class PyEllipseShape(PyShape
):
2727 """Proxy of C++ PyEllipseShape class"""
2729 return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2730 def __init__(self
, *args
, **kwargs
):
2731 """__init__(self, double width=0.0, double height=0.0) -> PyEllipseShape"""
2732 newobj
= _ogl
.new_PyEllipseShape(*args
, **kwargs
)
2733 self
.this
= newobj
.this
2736 self
._setOORandCallbackInfo
(PyEllipseShape
)
2738 def _setCallbackInfo(*args
, **kwargs
):
2739 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2740 return _ogl
.PyEllipseShape__setCallbackInfo(*args
, **kwargs
)
2742 def base_OnDraw(*args
, **kwargs
):
2743 """base_OnDraw(self, DC dc)"""
2744 return _ogl
.PyEllipseShape_base_OnDraw(*args
, **kwargs
)
2746 def base_OnDrawContents(*args
, **kwargs
):
2747 """base_OnDrawContents(self, DC dc)"""
2748 return _ogl
.PyEllipseShape_base_OnDrawContents(*args
, **kwargs
)
2750 def base_OnDrawBranches(*args
, **kwargs
):
2751 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
2752 return _ogl
.PyEllipseShape_base_OnDrawBranches(*args
, **kwargs
)
2754 def base_OnMoveLinks(*args
, **kwargs
):
2755 """base_OnMoveLinks(self, DC dc)"""
2756 return _ogl
.PyEllipseShape_base_OnMoveLinks(*args
, **kwargs
)
2758 def base_OnErase(*args
, **kwargs
):
2759 """base_OnErase(self, DC dc)"""
2760 return _ogl
.PyEllipseShape_base_OnErase(*args
, **kwargs
)
2762 def base_OnEraseContents(*args
, **kwargs
):
2763 """base_OnEraseContents(self, DC dc)"""
2764 return _ogl
.PyEllipseShape_base_OnEraseContents(*args
, **kwargs
)
2766 def base_OnHighlight(*args
, **kwargs
):
2767 """base_OnHighlight(self, DC dc)"""
2768 return _ogl
.PyEllipseShape_base_OnHighlight(*args
, **kwargs
)
2770 def base_OnLeftClick(*args
, **kwargs
):
2771 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2772 return _ogl
.PyEllipseShape_base_OnLeftClick(*args
, **kwargs
)
2774 def base_OnLeftDoubleClick(*args
, **kwargs
):
2775 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2776 return _ogl
.PyEllipseShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2778 def base_OnRightClick(*args
, **kwargs
):
2779 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2780 return _ogl
.PyEllipseShape_base_OnRightClick(*args
, **kwargs
)
2782 def base_OnSize(*args
, **kwargs
):
2783 """base_OnSize(self, double x, double y)"""
2784 return _ogl
.PyEllipseShape_base_OnSize(*args
, **kwargs
)
2786 def base_OnMovePre(*args
, **kwargs
):
2788 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2789 bool display=True) -> bool
2791 return _ogl
.PyEllipseShape_base_OnMovePre(*args
, **kwargs
)
2793 def base_OnMovePost(*args
, **kwargs
):
2795 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2798 return _ogl
.PyEllipseShape_base_OnMovePost(*args
, **kwargs
)
2800 def base_OnDragLeft(*args
, **kwargs
):
2801 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2802 return _ogl
.PyEllipseShape_base_OnDragLeft(*args
, **kwargs
)
2804 def base_OnBeginDragLeft(*args
, **kwargs
):
2805 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2806 return _ogl
.PyEllipseShape_base_OnBeginDragLeft(*args
, **kwargs
)
2808 def base_OnEndDragLeft(*args
, **kwargs
):
2809 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2810 return _ogl
.PyEllipseShape_base_OnEndDragLeft(*args
, **kwargs
)
2812 def base_OnDragRight(*args
, **kwargs
):
2813 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2814 return _ogl
.PyEllipseShape_base_OnDragRight(*args
, **kwargs
)
2816 def base_OnBeginDragRight(*args
, **kwargs
):
2817 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2818 return _ogl
.PyEllipseShape_base_OnBeginDragRight(*args
, **kwargs
)
2820 def base_OnEndDragRight(*args
, **kwargs
):
2821 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2822 return _ogl
.PyEllipseShape_base_OnEndDragRight(*args
, **kwargs
)
2824 def base_OnDrawOutline(*args
, **kwargs
):
2825 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2826 return _ogl
.PyEllipseShape_base_OnDrawOutline(*args
, **kwargs
)
2828 def base_OnDrawControlPoints(*args
, **kwargs
):
2829 """base_OnDrawControlPoints(self, DC dc)"""
2830 return _ogl
.PyEllipseShape_base_OnDrawControlPoints(*args
, **kwargs
)
2832 def base_OnEraseControlPoints(*args
, **kwargs
):
2833 """base_OnEraseControlPoints(self, DC dc)"""
2834 return _ogl
.PyEllipseShape_base_OnEraseControlPoints(*args
, **kwargs
)
2836 def base_OnMoveLink(*args
, **kwargs
):
2837 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2838 return _ogl
.PyEllipseShape_base_OnMoveLink(*args
, **kwargs
)
2840 def base_OnSizingDragLeft(*args
, **kwargs
):
2842 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2845 return _ogl
.PyEllipseShape_base_OnSizingDragLeft(*args
, **kwargs
)
2847 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2849 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2852 return _ogl
.PyEllipseShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2854 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2856 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
2859 return _ogl
.PyEllipseShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2861 def base_OnBeginSize(*args
, **kwargs
):
2862 """base_OnBeginSize(self, double w, double h)"""
2863 return _ogl
.PyEllipseShape_base_OnBeginSize(*args
, **kwargs
)
2865 def base_OnEndSize(*args
, **kwargs
):
2866 """base_OnEndSize(self, double w, double h)"""
2867 return _ogl
.PyEllipseShape_base_OnEndSize(*args
, **kwargs
)
2870 class PyEllipseShapePtr(PyEllipseShape
):
2871 def __init__(self
, this
):
2873 if not hasattr(self
,"thisown"): self
.thisown
= 0
2874 self
.__class
__ = PyEllipseShape
2875 _ogl
.PyEllipseShape_swigregister(PyEllipseShapePtr
)
2877 class PyCircleShape(PyEllipseShape
):
2878 """Proxy of C++ PyCircleShape class"""
2880 return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2881 def __init__(self
, *args
, **kwargs
):
2882 """__init__(self, double width=0.0) -> PyCircleShape"""
2883 newobj
= _ogl
.new_PyCircleShape(*args
, **kwargs
)
2884 self
.this
= newobj
.this
2887 self
._setOORandCallbackInfo
(PyCircleShape
)
2889 def _setCallbackInfo(*args
, **kwargs
):
2890 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
2891 return _ogl
.PyCircleShape__setCallbackInfo(*args
, **kwargs
)
2893 def base_OnDraw(*args
, **kwargs
):
2894 """base_OnDraw(self, DC dc)"""
2895 return _ogl
.PyCircleShape_base_OnDraw(*args
, **kwargs
)
2897 def base_OnDrawContents(*args
, **kwargs
):
2898 """base_OnDrawContents(self, DC dc)"""
2899 return _ogl
.PyCircleShape_base_OnDrawContents(*args
, **kwargs
)
2901 def base_OnDrawBranches(*args
, **kwargs
):
2902 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
2903 return _ogl
.PyCircleShape_base_OnDrawBranches(*args
, **kwargs
)
2905 def base_OnMoveLinks(*args
, **kwargs
):
2906 """base_OnMoveLinks(self, DC dc)"""
2907 return _ogl
.PyCircleShape_base_OnMoveLinks(*args
, **kwargs
)
2909 def base_OnErase(*args
, **kwargs
):
2910 """base_OnErase(self, DC dc)"""
2911 return _ogl
.PyCircleShape_base_OnErase(*args
, **kwargs
)
2913 def base_OnEraseContents(*args
, **kwargs
):
2914 """base_OnEraseContents(self, DC dc)"""
2915 return _ogl
.PyCircleShape_base_OnEraseContents(*args
, **kwargs
)
2917 def base_OnHighlight(*args
, **kwargs
):
2918 """base_OnHighlight(self, DC dc)"""
2919 return _ogl
.PyCircleShape_base_OnHighlight(*args
, **kwargs
)
2921 def base_OnLeftClick(*args
, **kwargs
):
2922 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
2923 return _ogl
.PyCircleShape_base_OnLeftClick(*args
, **kwargs
)
2925 def base_OnLeftDoubleClick(*args
, **kwargs
):
2926 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
2927 return _ogl
.PyCircleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2929 def base_OnRightClick(*args
, **kwargs
):
2930 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
2931 return _ogl
.PyCircleShape_base_OnRightClick(*args
, **kwargs
)
2933 def base_OnSize(*args
, **kwargs
):
2934 """base_OnSize(self, double x, double y)"""
2935 return _ogl
.PyCircleShape_base_OnSize(*args
, **kwargs
)
2937 def base_OnMovePre(*args
, **kwargs
):
2939 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
2940 bool display=True) -> bool
2942 return _ogl
.PyCircleShape_base_OnMovePre(*args
, **kwargs
)
2944 def base_OnMovePost(*args
, **kwargs
):
2946 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
2949 return _ogl
.PyCircleShape_base_OnMovePost(*args
, **kwargs
)
2951 def base_OnDragLeft(*args
, **kwargs
):
2952 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2953 return _ogl
.PyCircleShape_base_OnDragLeft(*args
, **kwargs
)
2955 def base_OnBeginDragLeft(*args
, **kwargs
):
2956 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2957 return _ogl
.PyCircleShape_base_OnBeginDragLeft(*args
, **kwargs
)
2959 def base_OnEndDragLeft(*args
, **kwargs
):
2960 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
2961 return _ogl
.PyCircleShape_base_OnEndDragLeft(*args
, **kwargs
)
2963 def base_OnDragRight(*args
, **kwargs
):
2964 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
2965 return _ogl
.PyCircleShape_base_OnDragRight(*args
, **kwargs
)
2967 def base_OnBeginDragRight(*args
, **kwargs
):
2968 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2969 return _ogl
.PyCircleShape_base_OnBeginDragRight(*args
, **kwargs
)
2971 def base_OnEndDragRight(*args
, **kwargs
):
2972 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
2973 return _ogl
.PyCircleShape_base_OnEndDragRight(*args
, **kwargs
)
2975 def base_OnDrawOutline(*args
, **kwargs
):
2976 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
2977 return _ogl
.PyCircleShape_base_OnDrawOutline(*args
, **kwargs
)
2979 def base_OnDrawControlPoints(*args
, **kwargs
):
2980 """base_OnDrawControlPoints(self, DC dc)"""
2981 return _ogl
.PyCircleShape_base_OnDrawControlPoints(*args
, **kwargs
)
2983 def base_OnEraseControlPoints(*args
, **kwargs
):
2984 """base_OnEraseControlPoints(self, DC dc)"""
2985 return _ogl
.PyCircleShape_base_OnEraseControlPoints(*args
, **kwargs
)
2987 def base_OnMoveLink(*args
, **kwargs
):
2988 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
2989 return _ogl
.PyCircleShape_base_OnMoveLink(*args
, **kwargs
)
2991 def base_OnSizingDragLeft(*args
, **kwargs
):
2993 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
2996 return _ogl
.PyCircleShape_base_OnSizingDragLeft(*args
, **kwargs
)
2998 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3000 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3003 return _ogl
.PyCircleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3005 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3007 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3010 return _ogl
.PyCircleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3012 def base_OnBeginSize(*args
, **kwargs
):
3013 """base_OnBeginSize(self, double w, double h)"""
3014 return _ogl
.PyCircleShape_base_OnBeginSize(*args
, **kwargs
)
3016 def base_OnEndSize(*args
, **kwargs
):
3017 """base_OnEndSize(self, double w, double h)"""
3018 return _ogl
.PyCircleShape_base_OnEndSize(*args
, **kwargs
)
3021 class PyCircleShapePtr(PyCircleShape
):
3022 def __init__(self
, this
):
3024 if not hasattr(self
,"thisown"): self
.thisown
= 0
3025 self
.__class
__ = PyCircleShape
3026 _ogl
.PyCircleShape_swigregister(PyCircleShapePtr
)
3028 class ArrowHead(_core
.Object
):
3029 """Proxy of C++ ArrowHead class"""
3031 return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3032 def __init__(self
, *args
, **kwargs
):
3034 __init__(self, int type=0, int end=0, double size=0.0, double dist=0.0,
3035 String name=EmptyString, PseudoMetaFile mf=None,
3036 long arrowId=-1) -> ArrowHead
3038 newobj
= _ogl
.new_ArrowHead(*args
, **kwargs
)
3039 self
.this
= newobj
.this
3042 def __del__(self
, destroy
=_ogl
.delete_ArrowHead
):
3045 if self
.thisown
: destroy(self
)
3048 def _GetType(*args
, **kwargs
):
3049 """_GetType(self) -> int"""
3050 return _ogl
.ArrowHead__GetType(*args
, **kwargs
)
3052 def GetPosition(*args
, **kwargs
):
3053 """GetPosition(self) -> int"""
3054 return _ogl
.ArrowHead_GetPosition(*args
, **kwargs
)
3056 def SetPosition(*args
, **kwargs
):
3057 """SetPosition(self, int pos)"""
3058 return _ogl
.ArrowHead_SetPosition(*args
, **kwargs
)
3060 def GetXOffset(*args
, **kwargs
):
3061 """GetXOffset(self) -> double"""
3062 return _ogl
.ArrowHead_GetXOffset(*args
, **kwargs
)
3064 def GetYOffset(*args
, **kwargs
):
3065 """GetYOffset(self) -> double"""
3066 return _ogl
.ArrowHead_GetYOffset(*args
, **kwargs
)
3068 def GetSpacing(*args
, **kwargs
):
3069 """GetSpacing(self) -> double"""
3070 return _ogl
.ArrowHead_GetSpacing(*args
, **kwargs
)
3072 def GetSize(*args
, **kwargs
):
3073 """GetSize(self) -> double"""
3074 return _ogl
.ArrowHead_GetSize(*args
, **kwargs
)
3076 def GetName(*args
, **kwargs
):
3077 """GetName(self) -> String"""
3078 return _ogl
.ArrowHead_GetName(*args
, **kwargs
)
3080 def SetXOffset(*args
, **kwargs
):
3081 """SetXOffset(self, double x)"""
3082 return _ogl
.ArrowHead_SetXOffset(*args
, **kwargs
)
3084 def SetYOffset(*args
, **kwargs
):
3085 """SetYOffset(self, double y)"""
3086 return _ogl
.ArrowHead_SetYOffset(*args
, **kwargs
)
3088 def GetMetaFile(*args
, **kwargs
):
3089 """GetMetaFile(self) -> PseudoMetaFile"""
3090 return _ogl
.ArrowHead_GetMetaFile(*args
, **kwargs
)
3092 def GetId(*args
, **kwargs
):
3093 """GetId(self) -> long"""
3094 return _ogl
.ArrowHead_GetId(*args
, **kwargs
)
3096 def GetArrowEnd(*args
, **kwargs
):
3097 """GetArrowEnd(self) -> int"""
3098 return _ogl
.ArrowHead_GetArrowEnd(*args
, **kwargs
)
3100 def GetArrowSize(*args
, **kwargs
):
3101 """GetArrowSize(self) -> double"""
3102 return _ogl
.ArrowHead_GetArrowSize(*args
, **kwargs
)
3104 def SetSize(*args
, **kwargs
):
3105 """SetSize(self, double size)"""
3106 return _ogl
.ArrowHead_SetSize(*args
, **kwargs
)
3108 def SetSpacing(*args
, **kwargs
):
3109 """SetSpacing(self, double sp)"""
3110 return _ogl
.ArrowHead_SetSpacing(*args
, **kwargs
)
3113 class ArrowHeadPtr(ArrowHead
):
3114 def __init__(self
, this
):
3116 if not hasattr(self
,"thisown"): self
.thisown
= 0
3117 self
.__class
__ = ArrowHead
3118 _ogl
.ArrowHead_swigregister(ArrowHeadPtr
)
3120 class PyLineShape(PyShape
):
3121 """Proxy of C++ PyLineShape class"""
3123 return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3124 def __init__(self
, *args
, **kwargs
):
3125 """__init__(self) -> PyLineShape"""
3126 newobj
= _ogl
.new_PyLineShape(*args
, **kwargs
)
3127 self
.this
= newobj
.this
3130 self
._setOORandCallbackInfo
(PyLineShape
)
3132 def _setCallbackInfo(*args
, **kwargs
):
3133 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3134 return _ogl
.PyLineShape__setCallbackInfo(*args
, **kwargs
)
3136 def AddArrow(*args
, **kwargs
):
3138 AddArrow(self, int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
3139 double xOffset=0.0, String name=EmptyString,
3140 PseudoMetaFile mf=None, long arrowId=-1)
3142 return _ogl
.PyLineShape_AddArrow(*args
, **kwargs
)
3144 def AddArrowOrdered(*args
, **kwargs
):
3145 """AddArrowOrdered(self, ArrowHead arrow, PyObject referenceList, int end)"""
3146 return _ogl
.PyLineShape_AddArrowOrdered(*args
, **kwargs
)
3148 def ClearArrow(*args
, **kwargs
):
3149 """ClearArrow(self, String name) -> bool"""
3150 return _ogl
.PyLineShape_ClearArrow(*args
, **kwargs
)
3152 def ClearArrowsAtPosition(*args
, **kwargs
):
3153 """ClearArrowsAtPosition(self, int position=-1)"""
3154 return _ogl
.PyLineShape_ClearArrowsAtPosition(*args
, **kwargs
)
3156 def DrawArrow(*args
, **kwargs
):
3157 """DrawArrow(self, DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)"""
3158 return _ogl
.PyLineShape_DrawArrow(*args
, **kwargs
)
3160 def DeleteArrowHeadId(*args
, **kwargs
):
3161 """DeleteArrowHeadId(self, long arrowId) -> bool"""
3162 return _ogl
.PyLineShape_DeleteArrowHeadId(*args
, **kwargs
)
3164 def DeleteArrowHead(*args
, **kwargs
):
3165 """DeleteArrowHead(self, int position, String name) -> bool"""
3166 return _ogl
.PyLineShape_DeleteArrowHead(*args
, **kwargs
)
3168 def DeleteLineControlPoint(*args
, **kwargs
):
3169 """DeleteLineControlPoint(self) -> bool"""
3170 return _ogl
.PyLineShape_DeleteLineControlPoint(*args
, **kwargs
)
3172 def DrawArrows(*args
, **kwargs
):
3173 """DrawArrows(self, DC dc)"""
3174 return _ogl
.PyLineShape_DrawArrows(*args
, **kwargs
)
3176 def DrawRegion(*args
, **kwargs
):
3177 """DrawRegion(self, DC dc, ShapeRegion region, double x, double y)"""
3178 return _ogl
.PyLineShape_DrawRegion(*args
, **kwargs
)
3180 def EraseRegion(*args
, **kwargs
):
3181 """EraseRegion(self, DC dc, ShapeRegion region, double x, double y)"""
3182 return _ogl
.PyLineShape_EraseRegion(*args
, **kwargs
)
3184 def FindArrowHeadId(*args
, **kwargs
):
3185 """FindArrowHeadId(self, long arrowId) -> ArrowHead"""
3186 return _ogl
.PyLineShape_FindArrowHeadId(*args
, **kwargs
)
3188 def FindArrowHead(*args
, **kwargs
):
3189 """FindArrowHead(self, int position, String name) -> ArrowHead"""
3190 return _ogl
.PyLineShape_FindArrowHead(*args
, **kwargs
)
3192 def FindLineEndPoints(*args
, **kwargs
):
3193 """FindLineEndPoints(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3194 return _ogl
.PyLineShape_FindLineEndPoints(*args
, **kwargs
)
3196 def FindLinePosition(*args
, **kwargs
):
3197 """FindLinePosition(self, double x, double y) -> int"""
3198 return _ogl
.PyLineShape_FindLinePosition(*args
, **kwargs
)
3200 def FindMinimumWidth(*args
, **kwargs
):
3201 """FindMinimumWidth(self) -> double"""
3202 return _ogl
.PyLineShape_FindMinimumWidth(*args
, **kwargs
)
3204 def FindNth(*args
, **kwargs
):
3205 """FindNth(self, PyShape image, int OUTPUT, int OUTPUT, bool incoming)"""
3206 return _ogl
.PyLineShape_FindNth(*args
, **kwargs
)
3208 def GetAttachmentFrom(*args
, **kwargs
):
3209 """GetAttachmentFrom(self) -> int"""
3210 return _ogl
.PyLineShape_GetAttachmentFrom(*args
, **kwargs
)
3212 def GetAttachmentTo(*args
, **kwargs
):
3213 """GetAttachmentTo(self) -> int"""
3214 return _ogl
.PyLineShape_GetAttachmentTo(*args
, **kwargs
)
3216 def GetEnds(*args
, **kwargs
):
3217 """GetEnds(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3218 return _ogl
.PyLineShape_GetEnds(*args
, **kwargs
)
3220 def GetFrom(*args
, **kwargs
):
3221 """GetFrom(self) -> PyShape"""
3222 return _ogl
.PyLineShape_GetFrom(*args
, **kwargs
)
3224 def GetLabelPosition(*args
, **kwargs
):
3225 """GetLabelPosition(self, int position, double OUTPUT, double OUTPUT)"""
3226 return _ogl
.PyLineShape_GetLabelPosition(*args
, **kwargs
)
3228 def GetNextControlPoint(*args
, **kwargs
):
3229 """GetNextControlPoint(self, PyShape shape) -> RealPoint"""
3230 return _ogl
.PyLineShape_GetNextControlPoint(*args
, **kwargs
)
3232 def GetTo(*args
, **kwargs
):
3233 """GetTo(self) -> PyShape"""
3234 return _ogl
.PyLineShape_GetTo(*args
, **kwargs
)
3236 def Initialise(*args
, **kwargs
):
3237 """Initialise(self)"""
3238 return _ogl
.PyLineShape_Initialise(*args
, **kwargs
)
3240 def InsertLineControlPoint(*args
, **kwargs
):
3241 """InsertLineControlPoint(self, DC dc)"""
3242 return _ogl
.PyLineShape_InsertLineControlPoint(*args
, **kwargs
)
3244 def IsEnd(*args
, **kwargs
):
3245 """IsEnd(self, PyShape shape) -> bool"""
3246 return _ogl
.PyLineShape_IsEnd(*args
, **kwargs
)
3248 def IsSpline(*args
, **kwargs
):
3249 """IsSpline(self) -> bool"""
3250 return _ogl
.PyLineShape_IsSpline(*args
, **kwargs
)
3252 def MakeLineControlPoints(*args
, **kwargs
):
3253 """MakeLineControlPoints(self, int n)"""
3254 return _ogl
.PyLineShape_MakeLineControlPoints(*args
, **kwargs
)
3256 def GetLineControlPoints(*args
, **kwargs
):
3257 """GetLineControlPoints(self) -> PyObject"""
3258 return _ogl
.PyLineShape_GetLineControlPoints(*args
, **kwargs
)
3260 def SetLineControlPoints(*args
, **kwargs
):
3261 """SetLineControlPoints(self, PyObject list)"""
3262 return _ogl
.PyLineShape_SetLineControlPoints(*args
, **kwargs
)
3264 def SetAttachmentFrom(*args
, **kwargs
):
3265 """SetAttachmentFrom(self, int fromAttach)"""
3266 return _ogl
.PyLineShape_SetAttachmentFrom(*args
, **kwargs
)
3268 def SetAttachments(*args
, **kwargs
):
3269 """SetAttachments(self, int fromAttach, int toAttach)"""
3270 return _ogl
.PyLineShape_SetAttachments(*args
, **kwargs
)
3272 def SetAttachmentTo(*args
, **kwargs
):
3273 """SetAttachmentTo(self, int toAttach)"""
3274 return _ogl
.PyLineShape_SetAttachmentTo(*args
, **kwargs
)
3276 def SetEnds(*args
, **kwargs
):
3277 """SetEnds(self, double x1, double y1, double x2, double y2)"""
3278 return _ogl
.PyLineShape_SetEnds(*args
, **kwargs
)
3280 def SetFrom(*args
, **kwargs
):
3281 """SetFrom(self, PyShape object)"""
3282 return _ogl
.PyLineShape_SetFrom(*args
, **kwargs
)
3284 def SetIgnoreOffsets(*args
, **kwargs
):
3285 """SetIgnoreOffsets(self, bool ignore)"""
3286 return _ogl
.PyLineShape_SetIgnoreOffsets(*args
, **kwargs
)
3288 def SetSpline(*args
, **kwargs
):
3289 """SetSpline(self, bool spline)"""
3290 return _ogl
.PyLineShape_SetSpline(*args
, **kwargs
)
3292 def SetTo(*args
, **kwargs
):
3293 """SetTo(self, PyShape object)"""
3294 return _ogl
.PyLineShape_SetTo(*args
, **kwargs
)
3296 def Straighten(*args
, **kwargs
):
3297 """Straighten(self, DC dc=None)"""
3298 return _ogl
.PyLineShape_Straighten(*args
, **kwargs
)
3300 def Unlink(*args
, **kwargs
):
3302 return _ogl
.PyLineShape_Unlink(*args
, **kwargs
)
3304 def SetAlignmentOrientation(*args
, **kwargs
):
3305 """SetAlignmentOrientation(self, bool isEnd, bool isHoriz)"""
3306 return _ogl
.PyLineShape_SetAlignmentOrientation(*args
, **kwargs
)
3308 def SetAlignmentType(*args
, **kwargs
):
3309 """SetAlignmentType(self, bool isEnd, int alignType)"""
3310 return _ogl
.PyLineShape_SetAlignmentType(*args
, **kwargs
)
3312 def GetAlignmentOrientation(*args
, **kwargs
):
3313 """GetAlignmentOrientation(self, bool isEnd) -> bool"""
3314 return _ogl
.PyLineShape_GetAlignmentOrientation(*args
, **kwargs
)
3316 def GetAlignmentType(*args
, **kwargs
):
3317 """GetAlignmentType(self, bool isEnd) -> int"""
3318 return _ogl
.PyLineShape_GetAlignmentType(*args
, **kwargs
)
3320 def GetAlignmentStart(*args
, **kwargs
):
3321 """GetAlignmentStart(self) -> int"""
3322 return _ogl
.PyLineShape_GetAlignmentStart(*args
, **kwargs
)
3324 def GetAlignmentEnd(*args
, **kwargs
):
3325 """GetAlignmentEnd(self) -> int"""
3326 return _ogl
.PyLineShape_GetAlignmentEnd(*args
, **kwargs
)
3328 def base_OnDraw(*args
, **kwargs
):
3329 """base_OnDraw(self, DC dc)"""
3330 return _ogl
.PyLineShape_base_OnDraw(*args
, **kwargs
)
3332 def base_OnDrawContents(*args
, **kwargs
):
3333 """base_OnDrawContents(self, DC dc)"""
3334 return _ogl
.PyLineShape_base_OnDrawContents(*args
, **kwargs
)
3336 def base_OnDrawBranches(*args
, **kwargs
):
3337 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
3338 return _ogl
.PyLineShape_base_OnDrawBranches(*args
, **kwargs
)
3340 def base_OnMoveLinks(*args
, **kwargs
):
3341 """base_OnMoveLinks(self, DC dc)"""
3342 return _ogl
.PyLineShape_base_OnMoveLinks(*args
, **kwargs
)
3344 def base_OnErase(*args
, **kwargs
):
3345 """base_OnErase(self, DC dc)"""
3346 return _ogl
.PyLineShape_base_OnErase(*args
, **kwargs
)
3348 def base_OnEraseContents(*args
, **kwargs
):
3349 """base_OnEraseContents(self, DC dc)"""
3350 return _ogl
.PyLineShape_base_OnEraseContents(*args
, **kwargs
)
3352 def base_OnHighlight(*args
, **kwargs
):
3353 """base_OnHighlight(self, DC dc)"""
3354 return _ogl
.PyLineShape_base_OnHighlight(*args
, **kwargs
)
3356 def base_OnLeftClick(*args
, **kwargs
):
3357 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3358 return _ogl
.PyLineShape_base_OnLeftClick(*args
, **kwargs
)
3360 def base_OnLeftDoubleClick(*args
, **kwargs
):
3361 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3362 return _ogl
.PyLineShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3364 def base_OnRightClick(*args
, **kwargs
):
3365 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3366 return _ogl
.PyLineShape_base_OnRightClick(*args
, **kwargs
)
3368 def base_OnSize(*args
, **kwargs
):
3369 """base_OnSize(self, double x, double y)"""
3370 return _ogl
.PyLineShape_base_OnSize(*args
, **kwargs
)
3372 def base_OnMovePre(*args
, **kwargs
):
3374 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3375 bool display=True) -> bool
3377 return _ogl
.PyLineShape_base_OnMovePre(*args
, **kwargs
)
3379 def base_OnMovePost(*args
, **kwargs
):
3381 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3384 return _ogl
.PyLineShape_base_OnMovePost(*args
, **kwargs
)
3386 def base_OnDragLeft(*args
, **kwargs
):
3387 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3388 return _ogl
.PyLineShape_base_OnDragLeft(*args
, **kwargs
)
3390 def base_OnBeginDragLeft(*args
, **kwargs
):
3391 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3392 return _ogl
.PyLineShape_base_OnBeginDragLeft(*args
, **kwargs
)
3394 def base_OnEndDragLeft(*args
, **kwargs
):
3395 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3396 return _ogl
.PyLineShape_base_OnEndDragLeft(*args
, **kwargs
)
3398 def base_OnDragRight(*args
, **kwargs
):
3399 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3400 return _ogl
.PyLineShape_base_OnDragRight(*args
, **kwargs
)
3402 def base_OnBeginDragRight(*args
, **kwargs
):
3403 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3404 return _ogl
.PyLineShape_base_OnBeginDragRight(*args
, **kwargs
)
3406 def base_OnEndDragRight(*args
, **kwargs
):
3407 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3408 return _ogl
.PyLineShape_base_OnEndDragRight(*args
, **kwargs
)
3410 def base_OnDrawOutline(*args
, **kwargs
):
3411 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3412 return _ogl
.PyLineShape_base_OnDrawOutline(*args
, **kwargs
)
3414 def base_OnDrawControlPoints(*args
, **kwargs
):
3415 """base_OnDrawControlPoints(self, DC dc)"""
3416 return _ogl
.PyLineShape_base_OnDrawControlPoints(*args
, **kwargs
)
3418 def base_OnEraseControlPoints(*args
, **kwargs
):
3419 """base_OnEraseControlPoints(self, DC dc)"""
3420 return _ogl
.PyLineShape_base_OnEraseControlPoints(*args
, **kwargs
)
3422 def base_OnMoveLink(*args
, **kwargs
):
3423 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3424 return _ogl
.PyLineShape_base_OnMoveLink(*args
, **kwargs
)
3426 def base_OnSizingDragLeft(*args
, **kwargs
):
3428 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3431 return _ogl
.PyLineShape_base_OnSizingDragLeft(*args
, **kwargs
)
3433 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3435 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3438 return _ogl
.PyLineShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3440 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3442 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3445 return _ogl
.PyLineShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3447 def base_OnBeginSize(*args
, **kwargs
):
3448 """base_OnBeginSize(self, double w, double h)"""
3449 return _ogl
.PyLineShape_base_OnBeginSize(*args
, **kwargs
)
3451 def base_OnEndSize(*args
, **kwargs
):
3452 """base_OnEndSize(self, double w, double h)"""
3453 return _ogl
.PyLineShape_base_OnEndSize(*args
, **kwargs
)
3456 class PyLineShapePtr(PyLineShape
):
3457 def __init__(self
, this
):
3459 if not hasattr(self
,"thisown"): self
.thisown
= 0
3460 self
.__class
__ = PyLineShape
3461 _ogl
.PyLineShape_swigregister(PyLineShapePtr
)
3463 class PyPolygonShape(PyShape
):
3464 """Proxy of C++ PyPolygonShape class"""
3466 return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3467 def __init__(self
, *args
, **kwargs
):
3468 """__init__(self) -> PyPolygonShape"""
3469 newobj
= _ogl
.new_PyPolygonShape(*args
, **kwargs
)
3470 self
.this
= newobj
.this
3473 self
._setOORandCallbackInfo
(PyPolygonShape
)
3475 def _setCallbackInfo(*args
, **kwargs
):
3476 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3477 return _ogl
.PyPolygonShape__setCallbackInfo(*args
, **kwargs
)
3479 def Create(*args
, **kwargs
):
3480 """Create(self, PyObject points) -> PyObject"""
3481 return _ogl
.PyPolygonShape_Create(*args
, **kwargs
)
3483 def AddPolygonPoint(*args
, **kwargs
):
3484 """AddPolygonPoint(self, int pos=0)"""
3485 return _ogl
.PyPolygonShape_AddPolygonPoint(*args
, **kwargs
)
3487 def CalculatePolygonCentre(*args
, **kwargs
):
3488 """CalculatePolygonCentre(self)"""
3489 return _ogl
.PyPolygonShape_CalculatePolygonCentre(*args
, **kwargs
)
3491 def DeletePolygonPoint(*args
, **kwargs
):
3492 """DeletePolygonPoint(self, int pos=0)"""
3493 return _ogl
.PyPolygonShape_DeletePolygonPoint(*args
, **kwargs
)
3495 def GetPoints(*args
, **kwargs
):
3496 """GetPoints(self) -> PyObject"""
3497 return _ogl
.PyPolygonShape_GetPoints(*args
, **kwargs
)
3499 def GetOriginalPoints(*args
, **kwargs
):
3500 """GetOriginalPoints(self) -> PyObject"""
3501 return _ogl
.PyPolygonShape_GetOriginalPoints(*args
, **kwargs
)
3503 def GetOriginalWidth(*args
, **kwargs
):
3504 """GetOriginalWidth(self) -> double"""
3505 return _ogl
.PyPolygonShape_GetOriginalWidth(*args
, **kwargs
)
3507 def GetOriginalHeight(*args
, **kwargs
):
3508 """GetOriginalHeight(self) -> double"""
3509 return _ogl
.PyPolygonShape_GetOriginalHeight(*args
, **kwargs
)
3511 def SetOriginalWidth(*args
, **kwargs
):
3512 """SetOriginalWidth(self, double w)"""
3513 return _ogl
.PyPolygonShape_SetOriginalWidth(*args
, **kwargs
)
3515 def SetOriginalHeight(*args
, **kwargs
):
3516 """SetOriginalHeight(self, double h)"""
3517 return _ogl
.PyPolygonShape_SetOriginalHeight(*args
, **kwargs
)
3519 def UpdateOriginalPoints(*args
, **kwargs
):
3520 """UpdateOriginalPoints(self)"""
3521 return _ogl
.PyPolygonShape_UpdateOriginalPoints(*args
, **kwargs
)
3523 def base_OnDraw(*args
, **kwargs
):
3524 """base_OnDraw(self, DC dc)"""
3525 return _ogl
.PyPolygonShape_base_OnDraw(*args
, **kwargs
)
3527 def base_OnDrawContents(*args
, **kwargs
):
3528 """base_OnDrawContents(self, DC dc)"""
3529 return _ogl
.PyPolygonShape_base_OnDrawContents(*args
, **kwargs
)
3531 def base_OnDrawBranches(*args
, **kwargs
):
3532 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
3533 return _ogl
.PyPolygonShape_base_OnDrawBranches(*args
, **kwargs
)
3535 def base_OnMoveLinks(*args
, **kwargs
):
3536 """base_OnMoveLinks(self, DC dc)"""
3537 return _ogl
.PyPolygonShape_base_OnMoveLinks(*args
, **kwargs
)
3539 def base_OnErase(*args
, **kwargs
):
3540 """base_OnErase(self, DC dc)"""
3541 return _ogl
.PyPolygonShape_base_OnErase(*args
, **kwargs
)
3543 def base_OnEraseContents(*args
, **kwargs
):
3544 """base_OnEraseContents(self, DC dc)"""
3545 return _ogl
.PyPolygonShape_base_OnEraseContents(*args
, **kwargs
)
3547 def base_OnHighlight(*args
, **kwargs
):
3548 """base_OnHighlight(self, DC dc)"""
3549 return _ogl
.PyPolygonShape_base_OnHighlight(*args
, **kwargs
)
3551 def base_OnLeftClick(*args
, **kwargs
):
3552 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3553 return _ogl
.PyPolygonShape_base_OnLeftClick(*args
, **kwargs
)
3555 def base_OnLeftDoubleClick(*args
, **kwargs
):
3556 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3557 return _ogl
.PyPolygonShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3559 def base_OnRightClick(*args
, **kwargs
):
3560 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3561 return _ogl
.PyPolygonShape_base_OnRightClick(*args
, **kwargs
)
3563 def base_OnSize(*args
, **kwargs
):
3564 """base_OnSize(self, double x, double y)"""
3565 return _ogl
.PyPolygonShape_base_OnSize(*args
, **kwargs
)
3567 def base_OnMovePre(*args
, **kwargs
):
3569 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3570 bool display=True) -> bool
3572 return _ogl
.PyPolygonShape_base_OnMovePre(*args
, **kwargs
)
3574 def base_OnMovePost(*args
, **kwargs
):
3576 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3579 return _ogl
.PyPolygonShape_base_OnMovePost(*args
, **kwargs
)
3581 def base_OnDragLeft(*args
, **kwargs
):
3582 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3583 return _ogl
.PyPolygonShape_base_OnDragLeft(*args
, **kwargs
)
3585 def base_OnBeginDragLeft(*args
, **kwargs
):
3586 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3587 return _ogl
.PyPolygonShape_base_OnBeginDragLeft(*args
, **kwargs
)
3589 def base_OnEndDragLeft(*args
, **kwargs
):
3590 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3591 return _ogl
.PyPolygonShape_base_OnEndDragLeft(*args
, **kwargs
)
3593 def base_OnDragRight(*args
, **kwargs
):
3594 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3595 return _ogl
.PyPolygonShape_base_OnDragRight(*args
, **kwargs
)
3597 def base_OnBeginDragRight(*args
, **kwargs
):
3598 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3599 return _ogl
.PyPolygonShape_base_OnBeginDragRight(*args
, **kwargs
)
3601 def base_OnEndDragRight(*args
, **kwargs
):
3602 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3603 return _ogl
.PyPolygonShape_base_OnEndDragRight(*args
, **kwargs
)
3605 def base_OnDrawOutline(*args
, **kwargs
):
3606 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3607 return _ogl
.PyPolygonShape_base_OnDrawOutline(*args
, **kwargs
)
3609 def base_OnDrawControlPoints(*args
, **kwargs
):
3610 """base_OnDrawControlPoints(self, DC dc)"""
3611 return _ogl
.PyPolygonShape_base_OnDrawControlPoints(*args
, **kwargs
)
3613 def base_OnEraseControlPoints(*args
, **kwargs
):
3614 """base_OnEraseControlPoints(self, DC dc)"""
3615 return _ogl
.PyPolygonShape_base_OnEraseControlPoints(*args
, **kwargs
)
3617 def base_OnMoveLink(*args
, **kwargs
):
3618 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3619 return _ogl
.PyPolygonShape_base_OnMoveLink(*args
, **kwargs
)
3621 def base_OnSizingDragLeft(*args
, **kwargs
):
3623 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3626 return _ogl
.PyPolygonShape_base_OnSizingDragLeft(*args
, **kwargs
)
3628 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3630 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3633 return _ogl
.PyPolygonShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3635 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3637 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3640 return _ogl
.PyPolygonShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3642 def base_OnBeginSize(*args
, **kwargs
):
3643 """base_OnBeginSize(self, double w, double h)"""
3644 return _ogl
.PyPolygonShape_base_OnBeginSize(*args
, **kwargs
)
3646 def base_OnEndSize(*args
, **kwargs
):
3647 """base_OnEndSize(self, double w, double h)"""
3648 return _ogl
.PyPolygonShape_base_OnEndSize(*args
, **kwargs
)
3651 class PyPolygonShapePtr(PyPolygonShape
):
3652 def __init__(self
, this
):
3654 if not hasattr(self
,"thisown"): self
.thisown
= 0
3655 self
.__class
__ = PyPolygonShape
3656 _ogl
.PyPolygonShape_swigregister(PyPolygonShapePtr
)
3658 class PyTextShape(PyRectangleShape
):
3659 """Proxy of C++ PyTextShape class"""
3661 return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3662 def __init__(self
, *args
, **kwargs
):
3663 """__init__(self, double width=0.0, double height=0.0) -> PyTextShape"""
3664 newobj
= _ogl
.new_PyTextShape(*args
, **kwargs
)
3665 self
.this
= newobj
.this
3668 self
._setOORandCallbackInfo
(PyTextShape
)
3670 def _setCallbackInfo(*args
, **kwargs
):
3671 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3672 return _ogl
.PyTextShape__setCallbackInfo(*args
, **kwargs
)
3674 def base_OnDelete(*args
, **kwargs
):
3675 """base_OnDelete(self)"""
3676 return _ogl
.PyTextShape_base_OnDelete(*args
, **kwargs
)
3678 def base_OnDraw(*args
, **kwargs
):
3679 """base_OnDraw(self, DC dc)"""
3680 return _ogl
.PyTextShape_base_OnDraw(*args
, **kwargs
)
3682 def base_OnDrawContents(*args
, **kwargs
):
3683 """base_OnDrawContents(self, DC dc)"""
3684 return _ogl
.PyTextShape_base_OnDrawContents(*args
, **kwargs
)
3686 def base_OnDrawBranches(*args
, **kwargs
):
3687 """base_OnDrawBranches(self, DC dc, bool erase=False)"""
3688 return _ogl
.PyTextShape_base_OnDrawBranches(*args
, **kwargs
)
3690 def base_OnMoveLinks(*args
, **kwargs
):
3691 """base_OnMoveLinks(self, DC dc)"""
3692 return _ogl
.PyTextShape_base_OnMoveLinks(*args
, **kwargs
)
3694 def base_OnErase(*args
, **kwargs
):
3695 """base_OnErase(self, DC dc)"""
3696 return _ogl
.PyTextShape_base_OnErase(*args
, **kwargs
)
3698 def base_OnEraseContents(*args
, **kwargs
):
3699 """base_OnEraseContents(self, DC dc)"""
3700 return _ogl
.PyTextShape_base_OnEraseContents(*args
, **kwargs
)
3702 def base_OnHighlight(*args
, **kwargs
):
3703 """base_OnHighlight(self, DC dc)"""
3704 return _ogl
.PyTextShape_base_OnHighlight(*args
, **kwargs
)
3706 def base_OnLeftClick(*args
, **kwargs
):
3707 """base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)"""
3708 return _ogl
.PyTextShape_base_OnLeftClick(*args
, **kwargs
)
3710 def base_OnLeftDoubleClick(*args
, **kwargs
):
3711 """base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)"""
3712 return _ogl
.PyTextShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3714 def base_OnRightClick(*args
, **kwargs
):
3715 """base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)"""
3716 return _ogl
.PyTextShape_base_OnRightClick(*args
, **kwargs
)
3718 def base_OnSize(*args
, **kwargs
):
3719 """base_OnSize(self, double x, double y)"""
3720 return _ogl
.PyTextShape_base_OnSize(*args
, **kwargs
)
3722 def base_OnMovePre(*args
, **kwargs
):
3724 base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y,
3725 bool display=True) -> bool
3727 return _ogl
.PyTextShape_base_OnMovePre(*args
, **kwargs
)
3729 def base_OnMovePost(*args
, **kwargs
):
3731 base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y,
3734 return _ogl
.PyTextShape_base_OnMovePost(*args
, **kwargs
)
3736 def base_OnDragLeft(*args
, **kwargs
):
3737 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3738 return _ogl
.PyTextShape_base_OnDragLeft(*args
, **kwargs
)
3740 def base_OnBeginDragLeft(*args
, **kwargs
):
3741 """base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3742 return _ogl
.PyTextShape_base_OnBeginDragLeft(*args
, **kwargs
)
3744 def base_OnEndDragLeft(*args
, **kwargs
):
3745 """base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)"""
3746 return _ogl
.PyTextShape_base_OnEndDragLeft(*args
, **kwargs
)
3748 def base_OnDragRight(*args
, **kwargs
):
3749 """base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)"""
3750 return _ogl
.PyTextShape_base_OnDragRight(*args
, **kwargs
)
3752 def base_OnBeginDragRight(*args
, **kwargs
):
3753 """base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3754 return _ogl
.PyTextShape_base_OnBeginDragRight(*args
, **kwargs
)
3756 def base_OnEndDragRight(*args
, **kwargs
):
3757 """base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)"""
3758 return _ogl
.PyTextShape_base_OnEndDragRight(*args
, **kwargs
)
3760 def base_OnDrawOutline(*args
, **kwargs
):
3761 """base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)"""
3762 return _ogl
.PyTextShape_base_OnDrawOutline(*args
, **kwargs
)
3764 def base_OnDrawControlPoints(*args
, **kwargs
):
3765 """base_OnDrawControlPoints(self, DC dc)"""
3766 return _ogl
.PyTextShape_base_OnDrawControlPoints(*args
, **kwargs
)
3768 def base_OnEraseControlPoints(*args
, **kwargs
):
3769 """base_OnEraseControlPoints(self, DC dc)"""
3770 return _ogl
.PyTextShape_base_OnEraseControlPoints(*args
, **kwargs
)
3772 def base_OnMoveLink(*args
, **kwargs
):
3773 """base_OnMoveLink(self, DC dc, bool moveControlPoints=True)"""
3774 return _ogl
.PyTextShape_base_OnMoveLink(*args
, **kwargs
)
3776 def base_OnSizingDragLeft(*args
, **kwargs
):
3778 base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0,
3781 return _ogl
.PyTextShape_base_OnSizingDragLeft(*args
, **kwargs
)
3783 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3785 base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3788 return _ogl
.PyTextShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3790 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3792 base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0,
3795 return _ogl
.PyTextShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3797 def base_OnBeginSize(*args
, **kwargs
):
3798 """base_OnBeginSize(self, double w, double h)"""
3799 return _ogl
.PyTextShape_base_OnBeginSize(*args
, **kwargs
)
3801 def base_OnEndSize(*args
, **kwargs
):
3802 """base_OnEndSize(self, double w, double h)"""
3803 return _ogl
.PyTextShape_base_OnEndSize(*args
, **kwargs
)
3806 class PyTextShapePtr(PyTextShape
):
3807 def __init__(self
, this
):
3809 if not hasattr(self
,"thisown"): self
.thisown
= 0
3810 self
.__class
__ = PyTextShape
3811 _ogl
.PyTextShape_swigregister(PyTextShapePtr
)
3813 class Diagram(_core
.Object
):
3814 """Proxy of C++ Diagram class"""
3816 return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3817 def __init__(self
, *args
, **kwargs
):
3818 """__init__(self) -> Diagram"""
3819 newobj
= _ogl
.new_Diagram(*args
, **kwargs
)
3820 self
.this
= newobj
.this
3823 def AddShape(*args
, **kwargs
):
3824 """AddShape(self, PyShape shape, PyShape addAfter=None)"""
3825 return _ogl
.Diagram_AddShape(*args
, **kwargs
)
3827 def Clear(*args
, **kwargs
):
3828 """Clear(self, DC dc)"""
3829 return _ogl
.Diagram_Clear(*args
, **kwargs
)
3831 def DeleteAllShapes(*args
, **kwargs
):
3832 """DeleteAllShapes(self)"""
3833 return _ogl
.Diagram_DeleteAllShapes(*args
, **kwargs
)
3835 def DrawOutline(*args
, **kwargs
):
3836 """DrawOutline(self, DC dc, double x1, double y1, double x2, double y2)"""
3837 return _ogl
.Diagram_DrawOutline(*args
, **kwargs
)
3839 def FindShape(*args
, **kwargs
):
3840 """FindShape(self, long id) -> PyShape"""
3841 return _ogl
.Diagram_FindShape(*args
, **kwargs
)
3843 def GetCanvas(*args
, **kwargs
):
3844 """GetCanvas(self) -> PyShapeCanvas"""
3845 return _ogl
.Diagram_GetCanvas(*args
, **kwargs
)
3847 def GetCount(*args
, **kwargs
):
3848 """GetCount(self) -> int"""
3849 return _ogl
.Diagram_GetCount(*args
, **kwargs
)
3851 def GetGridSpacing(*args
, **kwargs
):
3852 """GetGridSpacing(self) -> double"""
3853 return _ogl
.Diagram_GetGridSpacing(*args
, **kwargs
)
3855 def GetMouseTolerance(*args
, **kwargs
):
3856 """GetMouseTolerance(self) -> int"""
3857 return _ogl
.Diagram_GetMouseTolerance(*args
, **kwargs
)
3859 def GetShapeList(*args
, **kwargs
):
3860 """GetShapeList(self) -> PyObject"""
3861 return _ogl
.Diagram_GetShapeList(*args
, **kwargs
)
3863 def GetQuickEditMode(*args
, **kwargs
):
3864 """GetQuickEditMode(self) -> bool"""
3865 return _ogl
.Diagram_GetQuickEditMode(*args
, **kwargs
)
3867 def GetSnapToGrid(*args
, **kwargs
):
3868 """GetSnapToGrid(self) -> bool"""
3869 return _ogl
.Diagram_GetSnapToGrid(*args
, **kwargs
)
3871 def InsertShape(*args
, **kwargs
):
3872 """InsertShape(self, PyShape shape)"""
3873 return _ogl
.Diagram_InsertShape(*args
, **kwargs
)
3875 def RecentreAll(*args
, **kwargs
):
3876 """RecentreAll(self, DC dc)"""
3877 return _ogl
.Diagram_RecentreAll(*args
, **kwargs
)
3879 def Redraw(*args
, **kwargs
):
3880 """Redraw(self, DC dc)"""
3881 return _ogl
.Diagram_Redraw(*args
, **kwargs
)
3883 def RemoveAllShapes(*args
, **kwargs
):
3884 """RemoveAllShapes(self)"""
3885 return _ogl
.Diagram_RemoveAllShapes(*args
, **kwargs
)
3887 def RemoveShape(*args
, **kwargs
):
3888 """RemoveShape(self, PyShape shape)"""
3889 return _ogl
.Diagram_RemoveShape(*args
, **kwargs
)
3891 def SetCanvas(*args
, **kwargs
):
3892 """SetCanvas(self, PyShapeCanvas canvas)"""
3893 return _ogl
.Diagram_SetCanvas(*args
, **kwargs
)
3895 def SetGridSpacing(*args
, **kwargs
):
3896 """SetGridSpacing(self, double spacing)"""
3897 return _ogl
.Diagram_SetGridSpacing(*args
, **kwargs
)
3899 def SetMouseTolerance(*args
, **kwargs
):
3900 """SetMouseTolerance(self, int tolerance)"""
3901 return _ogl
.Diagram_SetMouseTolerance(*args
, **kwargs
)
3903 def SetQuickEditMode(*args
, **kwargs
):
3904 """SetQuickEditMode(self, bool mode)"""
3905 return _ogl
.Diagram_SetQuickEditMode(*args
, **kwargs
)
3907 def SetSnapToGrid(*args
, **kwargs
):
3908 """SetSnapToGrid(self, bool snap)"""
3909 return _ogl
.Diagram_SetSnapToGrid(*args
, **kwargs
)
3911 def ShowAll(*args
, **kwargs
):
3912 """ShowAll(self, bool show)"""
3913 return _ogl
.Diagram_ShowAll(*args
, **kwargs
)
3915 def Snap(*args
, **kwargs
):
3916 """Snap(self, double INOUT, double INOUT)"""
3917 return _ogl
.Diagram_Snap(*args
, **kwargs
)
3920 class DiagramPtr(Diagram
):
3921 def __init__(self
, this
):
3923 if not hasattr(self
,"thisown"): self
.thisown
= 0
3924 self
.__class
__ = Diagram
3925 _ogl
.Diagram_swigregister(DiagramPtr
)
3927 class PyShapeCanvas(_windows
.ScrolledWindow
):
3928 """Proxy of C++ PyShapeCanvas class"""
3930 return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3931 def __init__(self
, *args
, **kwargs
):
3933 __init__(self, Window parent=None, int id=-1, Point pos=DefaultPosition,
3934 Size size=DefaultSize, long style=BORDER,
3935 String name=wxPyShapeCanvasNameStr) -> PyShapeCanvas
3937 newobj
= _ogl
.new_PyShapeCanvas(*args
, **kwargs
)
3938 self
.this
= newobj
.this
3941 self
._setOORandCallbackInfo
(PyShapeCanvas
)
3943 def _setCallbackInfo(*args
, **kwargs
):
3944 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
3945 return _ogl
.PyShapeCanvas__setCallbackInfo(*args
, **kwargs
)
3947 def _setOORandCallbackInfo(self
, _class
):
3948 self
._setOORInfo
(self
)
3949 self
._setCallbackInfo
(self
, _class
)
3951 def AddShape(*args
, **kwargs
):
3952 """AddShape(self, PyShape shape, PyShape addAfter=None)"""
3953 return _ogl
.PyShapeCanvas_AddShape(*args
, **kwargs
)
3955 def FindShape(*args
, **kwargs
):
3957 FindShape(self, double x1, double y, int OUTPUT, wxClassInfo info=None,
3958 PyShape notImage=None) -> PyShape
3960 return _ogl
.PyShapeCanvas_FindShape(*args
, **kwargs
)
3962 def FindFirstSensitiveShape(*args
, **kwargs
):
3963 """FindFirstSensitiveShape(self, double x1, double y, int OUTPUT, int op) -> PyShape"""
3964 return _ogl
.PyShapeCanvas_FindFirstSensitiveShape(*args
, **kwargs
)
3966 def GetDiagram(*args
, **kwargs
):
3967 """GetDiagram(self) -> Diagram"""
3968 return _ogl
.PyShapeCanvas_GetDiagram(*args
, **kwargs
)
3970 def GetQuickEditMode(*args
, **kwargs
):
3971 """GetQuickEditMode(self) -> bool"""
3972 return _ogl
.PyShapeCanvas_GetQuickEditMode(*args
, **kwargs
)
3974 def InsertShape(*args
, **kwargs
):
3975 """InsertShape(self, PyShape shape)"""
3976 return _ogl
.PyShapeCanvas_InsertShape(*args
, **kwargs
)
3978 def base_OnBeginDragLeft(*args
, **kwargs
):
3979 """base_OnBeginDragLeft(self, double x, double y, int keys=0)"""
3980 return _ogl
.PyShapeCanvas_base_OnBeginDragLeft(*args
, **kwargs
)
3982 def base_OnBeginDragRight(*args
, **kwargs
):
3983 """base_OnBeginDragRight(self, double x, double y, int keys=0)"""
3984 return _ogl
.PyShapeCanvas_base_OnBeginDragRight(*args
, **kwargs
)
3986 def base_OnEndDragLeft(*args
, **kwargs
):
3987 """base_OnEndDragLeft(self, double x, double y, int keys=0)"""
3988 return _ogl
.PyShapeCanvas_base_OnEndDragLeft(*args
, **kwargs
)
3990 def base_OnEndDragRight(*args
, **kwargs
):
3991 """base_OnEndDragRight(self, double x, double y, int keys=0)"""
3992 return _ogl
.PyShapeCanvas_base_OnEndDragRight(*args
, **kwargs
)
3994 def base_OnDragLeft(*args
, **kwargs
):
3995 """base_OnDragLeft(self, bool draw, double x, double y, int keys=0)"""
3996 return _ogl
.PyShapeCanvas_base_OnDragLeft(*args
, **kwargs
)
3998 def base_OnDragRight(*args
, **kwargs
):
3999 """base_OnDragRight(self, bool draw, double x, double y, int keys=0)"""
4000 return _ogl
.PyShapeCanvas_base_OnDragRight(*args
, **kwargs
)
4002 def base_OnLeftClick(*args
, **kwargs
):
4003 """base_OnLeftClick(self, double x, double y, int keys=0)"""
4004 return _ogl
.PyShapeCanvas_base_OnLeftClick(*args
, **kwargs
)
4006 def base_OnRightClick(*args
, **kwargs
):
4007 """base_OnRightClick(self, double x, double y, int keys=0)"""
4008 return _ogl
.PyShapeCanvas_base_OnRightClick(*args
, **kwargs
)
4010 def Redraw(*args
, **kwargs
):
4011 """Redraw(self, DC dc)"""
4012 return _ogl
.PyShapeCanvas_Redraw(*args
, **kwargs
)
4014 def RemoveShape(*args
, **kwargs
):
4015 """RemoveShape(self, PyShape shape)"""
4016 return _ogl
.PyShapeCanvas_RemoveShape(*args
, **kwargs
)
4018 def SetDiagram(*args
, **kwargs
):
4019 """SetDiagram(self, Diagram diagram)"""
4020 return _ogl
.PyShapeCanvas_SetDiagram(*args
, **kwargs
)
4022 def Snap(*args
, **kwargs
):
4023 """Snap(self, double INOUT, double INOUT)"""
4024 return _ogl
.PyShapeCanvas_Snap(*args
, **kwargs
)
4026 def GetShapeList(self
):
4027 return self
.GetDiagram().GetShapeList()
4030 class PyShapeCanvasPtr(PyShapeCanvas
):
4031 def __init__(self
, this
):
4033 if not hasattr(self
,"thisown"): self
.thisown
= 0
4034 self
.__class
__ = PyShapeCanvas
4035 _ogl
.PyShapeCanvas_swigregister(PyShapeCanvasPtr
)
4038 ShapeCanvas
= PyShapeCanvas
4039 ShapeEvtHandler
= PyShapeEvtHandler
4041 RectangleShape
= PyRectangleShape
4042 BitmapShape
= PyBitmapShape
4043 DrawnShape
= PyDrawnShape
4044 CompositeShape
= PyCompositeShape
4045 DividedShape
= PyDividedShape
4046 DivisionShape
= PyDivisionShape
4047 EllipseShape
= PyEllipseShape
4048 CircleShape
= PyCircleShape
4049 LineShape
= PyLineShape
4050 PolygonShape
= PyPolygonShape
4051 TextShape
= PyTextShape
4052 ControlPoint
= PyControlPoint
4054 KEY_SHIFT
= _ogl
.KEY_SHIFT
4055 KEY_CTRL
= _ogl
.KEY_CTRL
4056 ARROW_NONE
= _ogl
.ARROW_NONE
4057 ARROW_END
= _ogl
.ARROW_END
4058 ARROW_BOTH
= _ogl
.ARROW_BOTH
4059 ARROW_MIDDLE
= _ogl
.ARROW_MIDDLE
4060 ARROW_START
= _ogl
.ARROW_START
4061 ARROW_HOLLOW_CIRCLE
= _ogl
.ARROW_HOLLOW_CIRCLE
4062 ARROW_FILLED_CIRCLE
= _ogl
.ARROW_FILLED_CIRCLE
4063 ARROW_ARROW
= _ogl
.ARROW_ARROW
4064 ARROW_SINGLE_OBLIQUE
= _ogl
.ARROW_SINGLE_OBLIQUE
4065 ARROW_DOUBLE_OBLIQUE
= _ogl
.ARROW_DOUBLE_OBLIQUE
4066 ARROW_METAFILE
= _ogl
.ARROW_METAFILE
4067 ARROW_POSITION_END
= _ogl
.ARROW_POSITION_END
4068 ARROW_POSITION_START
= _ogl
.ARROW_POSITION_START
4069 CONTROL_POINT_VERTICAL
= _ogl
.CONTROL_POINT_VERTICAL
4070 CONTROL_POINT_HORIZONTAL
= _ogl
.CONTROL_POINT_HORIZONTAL
4071 CONTROL_POINT_DIAGONAL
= _ogl
.CONTROL_POINT_DIAGONAL
4072 CONTROL_POINT_ENDPOINT_TO
= _ogl
.CONTROL_POINT_ENDPOINT_TO
4073 CONTROL_POINT_ENDPOINT_FROM
= _ogl
.CONTROL_POINT_ENDPOINT_FROM
4074 CONTROL_POINT_LINE
= _ogl
.CONTROL_POINT_LINE
4075 FORMAT_NONE
= _ogl
.FORMAT_NONE
4076 FORMAT_CENTRE_HORIZ
= _ogl
.FORMAT_CENTRE_HORIZ
4077 FORMAT_CENTRE_VERT
= _ogl
.FORMAT_CENTRE_VERT
4078 FORMAT_SIZE_TO_CONTENTS
= _ogl
.FORMAT_SIZE_TO_CONTENTS
4079 LINE_ALIGNMENT_HORIZ
= _ogl
.LINE_ALIGNMENT_HORIZ
4080 LINE_ALIGNMENT_VERT
= _ogl
.LINE_ALIGNMENT_VERT
4081 LINE_ALIGNMENT_TO_NEXT_HANDLE
= _ogl
.LINE_ALIGNMENT_TO_NEXT_HANDLE
4082 LINE_ALIGNMENT_NONE
= _ogl
.LINE_ALIGNMENT_NONE
4083 SHADOW_NONE
= _ogl
.SHADOW_NONE
4084 SHADOW_LEFT
= _ogl
.SHADOW_LEFT
4085 SHADOW_RIGHT
= _ogl
.SHADOW_RIGHT
4086 OP_CLICK_LEFT
= _ogl
.OP_CLICK_LEFT
4087 OP_CLICK_RIGHT
= _ogl
.OP_CLICK_RIGHT
4088 OP_DRAG_LEFT
= _ogl
.OP_DRAG_LEFT
4089 OP_DRAG_RIGHT
= _ogl
.OP_DRAG_RIGHT
4090 OP_ALL
= _ogl
.OP_ALL
4091 ATTACHMENT_MODE_NONE
= _ogl
.ATTACHMENT_MODE_NONE
4092 ATTACHMENT_MODE_EDGE
= _ogl
.ATTACHMENT_MODE_EDGE
4093 ATTACHMENT_MODE_BRANCHING
= _ogl
.ATTACHMENT_MODE_BRANCHING
4094 BRANCHING_ATTACHMENT_NORMAL
= _ogl
.BRANCHING_ATTACHMENT_NORMAL
4095 BRANCHING_ATTACHMENT_BLOB
= _ogl
.BRANCHING_ATTACHMENT_BLOB
4096 gyCONSTRAINT_CENTRED_VERTICALLY
= _ogl
.gyCONSTRAINT_CENTRED_VERTICALLY
4097 gyCONSTRAINT_CENTRED_HORIZONTALLY
= _ogl
.gyCONSTRAINT_CENTRED_HORIZONTALLY
4098 gyCONSTRAINT_CENTRED_BOTH
= _ogl
.gyCONSTRAINT_CENTRED_BOTH
4099 gyCONSTRAINT_LEFT_OF
= _ogl
.gyCONSTRAINT_LEFT_OF
4100 gyCONSTRAINT_RIGHT_OF
= _ogl
.gyCONSTRAINT_RIGHT_OF
4101 gyCONSTRAINT_ABOVE
= _ogl
.gyCONSTRAINT_ABOVE
4102 gyCONSTRAINT_BELOW
= _ogl
.gyCONSTRAINT_BELOW
4103 gyCONSTRAINT_ALIGNED_TOP
= _ogl
.gyCONSTRAINT_ALIGNED_TOP
4104 gyCONSTRAINT_ALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_ALIGNED_BOTTOM
4105 gyCONSTRAINT_ALIGNED_LEFT
= _ogl
.gyCONSTRAINT_ALIGNED_LEFT
4106 gyCONSTRAINT_ALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_ALIGNED_RIGHT
4107 gyCONSTRAINT_MIDALIGNED_TOP
= _ogl
.gyCONSTRAINT_MIDALIGNED_TOP
4108 gyCONSTRAINT_MIDALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_MIDALIGNED_BOTTOM
4109 gyCONSTRAINT_MIDALIGNED_LEFT
= _ogl
.gyCONSTRAINT_MIDALIGNED_LEFT
4110 gyCONSTRAINT_MIDALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_MIDALIGNED_RIGHT
4111 DIVISION_SIDE_NONE
= _ogl
.DIVISION_SIDE_NONE
4112 DIVISION_SIDE_LEFT
= _ogl
.DIVISION_SIDE_LEFT
4113 DIVISION_SIDE_TOP
= _ogl
.DIVISION_SIDE_TOP
4114 DIVISION_SIDE_RIGHT
= _ogl
.DIVISION_SIDE_RIGHT
4115 DIVISION_SIDE_BOTTOM
= _ogl
.DIVISION_SIDE_BOTTOM
4117 def OGLInitialize(*args
, **kwargs
):
4118 """OGLInitialize()"""
4119 return _ogl
.OGLInitialize(*args
, **kwargs
)
4121 def OGLCleanUp(*args
, **kwargs
):
4123 return _ogl
.OGLCleanUp(*args
, **kwargs
)