1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
9 #---------------------------------------------------------------------------
11 class ShapeRegion(core
.Object
):
13 return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
14 def __init__(self
, *args
, **kwargs
):
15 """__init__() -> ShapeRegion"""
16 newobj
= _ogl
.new_ShapeRegion(*args
, **kwargs
)
17 self
.this
= newobj
.this
20 def SetText(*args
, **kwargs
):
21 """SetText(wxString s)"""
22 return _ogl
.ShapeRegion_SetText(*args
, **kwargs
)
24 def SetFont(*args
, **kwargs
):
25 """SetFont(wxFont f)"""
26 return _ogl
.ShapeRegion_SetFont(*args
, **kwargs
)
28 def SetMinSize(*args
, **kwargs
):
29 """SetMinSize(double w, double h)"""
30 return _ogl
.ShapeRegion_SetMinSize(*args
, **kwargs
)
32 def SetSize(*args
, **kwargs
):
33 """SetSize(double w, double h)"""
34 return _ogl
.ShapeRegion_SetSize(*args
, **kwargs
)
36 def SetPosition(*args
, **kwargs
):
37 """SetPosition(double x, double y)"""
38 return _ogl
.ShapeRegion_SetPosition(*args
, **kwargs
)
40 def SetProportions(*args
, **kwargs
):
41 """SetProportions(double x, double y)"""
42 return _ogl
.ShapeRegion_SetProportions(*args
, **kwargs
)
44 def SetFormatMode(*args
, **kwargs
):
45 """SetFormatMode(int mode)"""
46 return _ogl
.ShapeRegion_SetFormatMode(*args
, **kwargs
)
48 def SetName(*args
, **kwargs
):
49 """SetName(wxString s)"""
50 return _ogl
.ShapeRegion_SetName(*args
, **kwargs
)
52 def SetColour(*args
, **kwargs
):
53 """SetColour(wxString col)"""
54 return _ogl
.ShapeRegion_SetColour(*args
, **kwargs
)
56 def GetText(*args
, **kwargs
):
57 """GetText() -> wxString"""
58 return _ogl
.ShapeRegion_GetText(*args
, **kwargs
)
60 def GetFont(*args
, **kwargs
):
61 """GetFont() -> wxFont"""
62 return _ogl
.ShapeRegion_GetFont(*args
, **kwargs
)
64 def GetMinSize(*args
, **kwargs
):
65 """GetMinSize(double OUTPUT, double OUTPUT)"""
66 return _ogl
.ShapeRegion_GetMinSize(*args
, **kwargs
)
68 def GetProportion(*args
, **kwargs
):
69 """GetProportion(double OUTPUT, double OUTPUT)"""
70 return _ogl
.ShapeRegion_GetProportion(*args
, **kwargs
)
72 def GetSize(*args
, **kwargs
):
73 """GetSize(double OUTPUT, double OUTPUT)"""
74 return _ogl
.ShapeRegion_GetSize(*args
, **kwargs
)
76 def GetPosition(*args
, **kwargs
):
77 """GetPosition(double OUTPUT, double OUTPUT)"""
78 return _ogl
.ShapeRegion_GetPosition(*args
, **kwargs
)
80 def GetFormatMode(*args
, **kwargs
):
81 """GetFormatMode() -> int"""
82 return _ogl
.ShapeRegion_GetFormatMode(*args
, **kwargs
)
84 def GetName(*args
, **kwargs
):
85 """GetName() -> wxString"""
86 return _ogl
.ShapeRegion_GetName(*args
, **kwargs
)
88 def GetColour(*args
, **kwargs
):
89 """GetColour() -> wxString"""
90 return _ogl
.ShapeRegion_GetColour(*args
, **kwargs
)
92 def GetActualColourObject(*args
, **kwargs
):
93 """GetActualColourObject() -> wxColour"""
94 return _ogl
.ShapeRegion_GetActualColourObject(*args
, **kwargs
)
96 def GetFormattedText(*args
, **kwargs
):
97 """GetFormattedText() -> wxList"""
98 return _ogl
.ShapeRegion_GetFormattedText(*args
, **kwargs
)
100 def GetPenColour(*args
, **kwargs
):
101 """GetPenColour() -> wxString"""
102 return _ogl
.ShapeRegion_GetPenColour(*args
, **kwargs
)
104 def GetPenStyle(*args
, **kwargs
):
105 """GetPenStyle() -> int"""
106 return _ogl
.ShapeRegion_GetPenStyle(*args
, **kwargs
)
108 def SetPenStyle(*args
, **kwargs
):
109 """SetPenStyle(int style)"""
110 return _ogl
.ShapeRegion_SetPenStyle(*args
, **kwargs
)
112 def SetPenColour(*args
, **kwargs
):
113 """SetPenColour(wxString col)"""
114 return _ogl
.ShapeRegion_SetPenColour(*args
, **kwargs
)
116 def GetActualPen(*args
, **kwargs
):
117 """GetActualPen() -> wxPen"""
118 return _ogl
.ShapeRegion_GetActualPen(*args
, **kwargs
)
120 def GetWidth(*args
, **kwargs
):
121 """GetWidth() -> double"""
122 return _ogl
.ShapeRegion_GetWidth(*args
, **kwargs
)
124 def GetHeight(*args
, **kwargs
):
125 """GetHeight() -> double"""
126 return _ogl
.ShapeRegion_GetHeight(*args
, **kwargs
)
128 def ClearText(*args
, **kwargs
):
130 return _ogl
.ShapeRegion_ClearText(*args
, **kwargs
)
133 class ShapeRegionPtr(ShapeRegion
):
134 def __init__(self
, this
):
136 if not hasattr(self
,"thisown"): self
.thisown
= 0
137 self
.__class
__ = ShapeRegion
138 _ogl
.ShapeRegion_swigregister(ShapeRegionPtr
)
140 class PyShapeEvtHandler(core
.Object
):
142 return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
143 def __init__(self
, *args
, **kwargs
):
144 """__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler"""
145 newobj
= _ogl
.new_PyShapeEvtHandler(*args
, **kwargs
)
146 self
.this
= newobj
.this
149 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
151 def _setCallbackInfo(*args
, **kwargs
):
152 """_setCallbackInfo(PyObject self, PyObject _class)"""
153 return _ogl
.PyShapeEvtHandler__setCallbackInfo(*args
, **kwargs
)
155 def _setOORInfo(*args
, **kwargs
):
156 """_setOORInfo(PyObject _self)"""
157 return _ogl
.PyShapeEvtHandler__setOORInfo(*args
, **kwargs
)
159 def _setOORandCallbackInfo(self
, _class
):
160 self
._setOORInfo
(self
)
161 self
._setCallbackInfo
(self
, _class
)
163 def SetShape(*args
, **kwargs
):
164 """SetShape(PyShape sh)"""
165 return _ogl
.PyShapeEvtHandler_SetShape(*args
, **kwargs
)
167 def GetShape(*args
, **kwargs
):
168 """GetShape() -> PyShape"""
169 return _ogl
.PyShapeEvtHandler_GetShape(*args
, **kwargs
)
171 def SetPreviousHandler(*args
, **kwargs
):
172 """SetPreviousHandler(PyShapeEvtHandler handler)"""
173 return _ogl
.PyShapeEvtHandler_SetPreviousHandler(*args
, **kwargs
)
175 def GetPreviousHandler(*args
, **kwargs
):
176 """GetPreviousHandler() -> PyShapeEvtHandler"""
177 return _ogl
.PyShapeEvtHandler_GetPreviousHandler(*args
, **kwargs
)
179 def CreateNewCopy(*args
, **kwargs
):
180 """CreateNewCopy() -> PyShapeEvtHandler"""
181 return _ogl
.PyShapeEvtHandler_CreateNewCopy(*args
, **kwargs
)
183 def base_OnDelete(*args
, **kwargs
):
184 """base_OnDelete()"""
185 return _ogl
.PyShapeEvtHandler_base_OnDelete(*args
, **kwargs
)
187 def base_OnDraw(*args
, **kwargs
):
188 """base_OnDraw(wxDC dc)"""
189 return _ogl
.PyShapeEvtHandler_base_OnDraw(*args
, **kwargs
)
191 def base_OnDrawContents(*args
, **kwargs
):
192 """base_OnDrawContents(wxDC dc)"""
193 return _ogl
.PyShapeEvtHandler_base_OnDrawContents(*args
, **kwargs
)
195 def base_OnDrawBranches(*args
, **kwargs
):
196 """base_OnDrawBranches(wxDC dc, bool erase=False)"""
197 return _ogl
.PyShapeEvtHandler_base_OnDrawBranches(*args
, **kwargs
)
199 def base_OnMoveLinks(*args
, **kwargs
):
200 """base_OnMoveLinks(wxDC dc)"""
201 return _ogl
.PyShapeEvtHandler_base_OnMoveLinks(*args
, **kwargs
)
203 def base_OnErase(*args
, **kwargs
):
204 """base_OnErase(wxDC dc)"""
205 return _ogl
.PyShapeEvtHandler_base_OnErase(*args
, **kwargs
)
207 def base_OnEraseContents(*args
, **kwargs
):
208 """base_OnEraseContents(wxDC dc)"""
209 return _ogl
.PyShapeEvtHandler_base_OnEraseContents(*args
, **kwargs
)
211 def base_OnHighlight(*args
, **kwargs
):
212 """base_OnHighlight(wxDC dc)"""
213 return _ogl
.PyShapeEvtHandler_base_OnHighlight(*args
, **kwargs
)
215 def base_OnLeftClick(*args
, **kwargs
):
216 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
217 return _ogl
.PyShapeEvtHandler_base_OnLeftClick(*args
, **kwargs
)
219 def base_OnLeftDoubleClick(*args
, **kwargs
):
220 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
221 return _ogl
.PyShapeEvtHandler_base_OnLeftDoubleClick(*args
, **kwargs
)
223 def base_OnRightClick(*args
, **kwargs
):
224 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
225 return _ogl
.PyShapeEvtHandler_base_OnRightClick(*args
, **kwargs
)
227 def base_OnSize(*args
, **kwargs
):
228 """base_OnSize(double x, double y)"""
229 return _ogl
.PyShapeEvtHandler_base_OnSize(*args
, **kwargs
)
231 def base_OnMovePre(*args
, **kwargs
):
233 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
234 bool display=True) -> bool
236 return _ogl
.PyShapeEvtHandler_base_OnMovePre(*args
, **kwargs
)
238 def base_OnMovePost(*args
, **kwargs
):
240 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
243 return _ogl
.PyShapeEvtHandler_base_OnMovePost(*args
, **kwargs
)
245 def base_OnDragLeft(*args
, **kwargs
):
246 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
247 return _ogl
.PyShapeEvtHandler_base_OnDragLeft(*args
, **kwargs
)
249 def base_OnBeginDragLeft(*args
, **kwargs
):
250 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
251 return _ogl
.PyShapeEvtHandler_base_OnBeginDragLeft(*args
, **kwargs
)
253 def base_OnEndDragLeft(*args
, **kwargs
):
254 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
255 return _ogl
.PyShapeEvtHandler_base_OnEndDragLeft(*args
, **kwargs
)
257 def base_OnDragRight(*args
, **kwargs
):
258 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
259 return _ogl
.PyShapeEvtHandler_base_OnDragRight(*args
, **kwargs
)
261 def base_OnBeginDragRight(*args
, **kwargs
):
262 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
263 return _ogl
.PyShapeEvtHandler_base_OnBeginDragRight(*args
, **kwargs
)
265 def base_OnEndDragRight(*args
, **kwargs
):
266 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
267 return _ogl
.PyShapeEvtHandler_base_OnEndDragRight(*args
, **kwargs
)
269 def base_OnDrawOutline(*args
, **kwargs
):
270 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
271 return _ogl
.PyShapeEvtHandler_base_OnDrawOutline(*args
, **kwargs
)
273 def base_OnDrawControlPoints(*args
, **kwargs
):
274 """base_OnDrawControlPoints(wxDC dc)"""
275 return _ogl
.PyShapeEvtHandler_base_OnDrawControlPoints(*args
, **kwargs
)
277 def base_OnEraseControlPoints(*args
, **kwargs
):
278 """base_OnEraseControlPoints(wxDC dc)"""
279 return _ogl
.PyShapeEvtHandler_base_OnEraseControlPoints(*args
, **kwargs
)
281 def base_OnMoveLink(*args
, **kwargs
):
282 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
283 return _ogl
.PyShapeEvtHandler_base_OnMoveLink(*args
, **kwargs
)
285 def base_OnSizingDragLeft(*args
, **kwargs
):
287 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
290 return _ogl
.PyShapeEvtHandler_base_OnSizingDragLeft(*args
, **kwargs
)
292 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
294 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
297 return _ogl
.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args
, **kwargs
)
299 def base_OnSizingEndDragLeft(*args
, **kwargs
):
301 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
304 return _ogl
.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args
, **kwargs
)
306 def base_OnBeginSize(*args
, **kwargs
):
307 """base_OnBeginSize(double w, double h)"""
308 return _ogl
.PyShapeEvtHandler_base_OnBeginSize(*args
, **kwargs
)
310 def base_OnEndSize(*args
, **kwargs
):
311 """base_OnEndSize(double w, double h)"""
312 return _ogl
.PyShapeEvtHandler_base_OnEndSize(*args
, **kwargs
)
315 class PyShapeEvtHandlerPtr(PyShapeEvtHandler
):
316 def __init__(self
, this
):
318 if not hasattr(self
,"thisown"): self
.thisown
= 0
319 self
.__class
__ = PyShapeEvtHandler
320 _ogl
.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr
)
322 class PyShape(PyShapeEvtHandler
):
324 return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
325 def __init__(self
, *args
, **kwargs
):
326 """__init__(PyShapeCanvas can=None) -> PyShape"""
327 newobj
= _ogl
.new_PyShape(*args
, **kwargs
)
328 self
.this
= newobj
.this
331 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
333 def _setCallbackInfo(*args
, **kwargs
):
334 """_setCallbackInfo(PyObject self, PyObject _class)"""
335 return _ogl
.PyShape__setCallbackInfo(*args
, **kwargs
)
337 def GetBoundingBoxMax(*args
, **kwargs
):
338 """GetBoundingBoxMax(double OUTPUT, double OUTPUT)"""
339 return _ogl
.PyShape_GetBoundingBoxMax(*args
, **kwargs
)
341 def GetBoundingBoxMin(*args
, **kwargs
):
342 """GetBoundingBoxMin(double OUTPUT, double OUTPUT)"""
343 return _ogl
.PyShape_GetBoundingBoxMin(*args
, **kwargs
)
345 def GetPerimeterPoint(*args
, **kwargs
):
347 GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT,
348 double OUTPUT) -> bool
350 return _ogl
.PyShape_GetPerimeterPoint(*args
, **kwargs
)
352 def GetCanvas(*args
, **kwargs
):
353 """GetCanvas() -> PyShapeCanvas"""
354 return _ogl
.PyShape_GetCanvas(*args
, **kwargs
)
356 def SetCanvas(*args
, **kwargs
):
357 """SetCanvas(PyShapeCanvas the_canvas)"""
358 return _ogl
.PyShape_SetCanvas(*args
, **kwargs
)
360 def AddToCanvas(*args
, **kwargs
):
361 """AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)"""
362 return _ogl
.PyShape_AddToCanvas(*args
, **kwargs
)
364 def InsertInCanvas(*args
, **kwargs
):
365 """InsertInCanvas(PyShapeCanvas the_canvas)"""
366 return _ogl
.PyShape_InsertInCanvas(*args
, **kwargs
)
368 def RemoveFromCanvas(*args
, **kwargs
):
369 """RemoveFromCanvas(PyShapeCanvas the_canvas)"""
370 return _ogl
.PyShape_RemoveFromCanvas(*args
, **kwargs
)
372 def GetX(*args
, **kwargs
):
373 """GetX() -> double"""
374 return _ogl
.PyShape_GetX(*args
, **kwargs
)
376 def GetY(*args
, **kwargs
):
377 """GetY() -> double"""
378 return _ogl
.PyShape_GetY(*args
, **kwargs
)
380 def SetX(*args
, **kwargs
):
382 return _ogl
.PyShape_SetX(*args
, **kwargs
)
384 def SetY(*args
, **kwargs
):
386 return _ogl
.PyShape_SetY(*args
, **kwargs
)
388 def GetParent(*args
, **kwargs
):
389 """GetParent() -> PyShape"""
390 return _ogl
.PyShape_GetParent(*args
, **kwargs
)
392 def SetParent(*args
, **kwargs
):
393 """SetParent(PyShape p)"""
394 return _ogl
.PyShape_SetParent(*args
, **kwargs
)
396 def GetTopAncestor(*args
, **kwargs
):
397 """GetTopAncestor() -> PyShape"""
398 return _ogl
.PyShape_GetTopAncestor(*args
, **kwargs
)
400 def GetChildren(*args
, **kwargs
):
401 """GetChildren() -> PyObject"""
402 return _ogl
.PyShape_GetChildren(*args
, **kwargs
)
404 def Unlink(*args
, **kwargs
):
406 return _ogl
.PyShape_Unlink(*args
, **kwargs
)
408 def SetDrawHandles(*args
, **kwargs
):
409 """SetDrawHandles(bool drawH)"""
410 return _ogl
.PyShape_SetDrawHandles(*args
, **kwargs
)
412 def GetDrawHandles(*args
, **kwargs
):
413 """GetDrawHandles() -> bool"""
414 return _ogl
.PyShape_GetDrawHandles(*args
, **kwargs
)
416 def MakeControlPoints(*args
, **kwargs
):
417 """MakeControlPoints()"""
418 return _ogl
.PyShape_MakeControlPoints(*args
, **kwargs
)
420 def DeleteControlPoints(*args
, **kwargs
):
421 """DeleteControlPoints(wxDC dc=None)"""
422 return _ogl
.PyShape_DeleteControlPoints(*args
, **kwargs
)
424 def ResetControlPoints(*args
, **kwargs
):
425 """ResetControlPoints()"""
426 return _ogl
.PyShape_ResetControlPoints(*args
, **kwargs
)
428 def GetEventHandler(*args
, **kwargs
):
429 """GetEventHandler() -> PyShapeEvtHandler"""
430 return _ogl
.PyShape_GetEventHandler(*args
, **kwargs
)
432 def SetEventHandler(*args
, **kwargs
):
433 """SetEventHandler(PyShapeEvtHandler handler)"""
434 return _ogl
.PyShape_SetEventHandler(*args
, **kwargs
)
436 def MakeMandatoryControlPoints(*args
, **kwargs
):
437 """MakeMandatoryControlPoints()"""
438 return _ogl
.PyShape_MakeMandatoryControlPoints(*args
, **kwargs
)
440 def ResetMandatoryControlPoints(*args
, **kwargs
):
441 """ResetMandatoryControlPoints()"""
442 return _ogl
.PyShape_ResetMandatoryControlPoints(*args
, **kwargs
)
444 def Recompute(*args
, **kwargs
):
445 """Recompute() -> bool"""
446 return _ogl
.PyShape_Recompute(*args
, **kwargs
)
448 def CalculateSize(*args
, **kwargs
):
449 """CalculateSize()"""
450 return _ogl
.PyShape_CalculateSize(*args
, **kwargs
)
452 def Select(*args
, **kwargs
):
453 """Select(bool select=True, wxDC dc=None)"""
454 return _ogl
.PyShape_Select(*args
, **kwargs
)
456 def SetHighlight(*args
, **kwargs
):
457 """SetHighlight(bool hi=True, bool recurse=False)"""
458 return _ogl
.PyShape_SetHighlight(*args
, **kwargs
)
460 def IsHighlighted(*args
, **kwargs
):
461 """IsHighlighted() -> bool"""
462 return _ogl
.PyShape_IsHighlighted(*args
, **kwargs
)
464 def Selected(*args
, **kwargs
):
465 """Selected() -> bool"""
466 return _ogl
.PyShape_Selected(*args
, **kwargs
)
468 def AncestorSelected(*args
, **kwargs
):
469 """AncestorSelected() -> bool"""
470 return _ogl
.PyShape_AncestorSelected(*args
, **kwargs
)
472 def SetSensitivityFilter(*args
, **kwargs
):
473 """SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)"""
474 return _ogl
.PyShape_SetSensitivityFilter(*args
, **kwargs
)
476 def GetSensitivityFilter(*args
, **kwargs
):
477 """GetSensitivityFilter() -> int"""
478 return _ogl
.PyShape_GetSensitivityFilter(*args
, **kwargs
)
480 def SetDraggable(*args
, **kwargs
):
481 """SetDraggable(bool drag, bool recursive=False)"""
482 return _ogl
.PyShape_SetDraggable(*args
, **kwargs
)
484 def SetFixedSize(*args
, **kwargs
):
485 """SetFixedSize(bool x, bool y)"""
486 return _ogl
.PyShape_SetFixedSize(*args
, **kwargs
)
488 def GetFixedSize(*args
, **kwargs
):
489 """GetFixedSize(bool OUTPUT, bool OUTPUT)"""
490 return _ogl
.PyShape_GetFixedSize(*args
, **kwargs
)
492 def GetFixedWidth(*args
, **kwargs
):
493 """GetFixedWidth() -> bool"""
494 return _ogl
.PyShape_GetFixedWidth(*args
, **kwargs
)
496 def GetFixedHeight(*args
, **kwargs
):
497 """GetFixedHeight() -> bool"""
498 return _ogl
.PyShape_GetFixedHeight(*args
, **kwargs
)
500 def SetSpaceAttachments(*args
, **kwargs
):
501 """SetSpaceAttachments(bool sp)"""
502 return _ogl
.PyShape_SetSpaceAttachments(*args
, **kwargs
)
504 def GetSpaceAttachments(*args
, **kwargs
):
505 """GetSpaceAttachments() -> bool"""
506 return _ogl
.PyShape_GetSpaceAttachments(*args
, **kwargs
)
508 def SetShadowMode(*args
, **kwargs
):
509 """SetShadowMode(int mode, bool redraw=False)"""
510 return _ogl
.PyShape_SetShadowMode(*args
, **kwargs
)
512 def GetShadowMode(*args
, **kwargs
):
513 """GetShadowMode() -> int"""
514 return _ogl
.PyShape_GetShadowMode(*args
, **kwargs
)
516 def HitTest(*args
, **kwargs
):
517 """HitTest(double x, double y, int OUTPUT, double OUTPUT) -> bool"""
518 return _ogl
.PyShape_HitTest(*args
, **kwargs
)
520 def SetCentreResize(*args
, **kwargs
):
521 """SetCentreResize(bool cr)"""
522 return _ogl
.PyShape_SetCentreResize(*args
, **kwargs
)
524 def GetCentreResize(*args
, **kwargs
):
525 """GetCentreResize() -> bool"""
526 return _ogl
.PyShape_GetCentreResize(*args
, **kwargs
)
528 def SetMaintainAspectRatio(*args
, **kwargs
):
529 """SetMaintainAspectRatio(bool ar)"""
530 return _ogl
.PyShape_SetMaintainAspectRatio(*args
, **kwargs
)
532 def GetMaintainAspectRatio(*args
, **kwargs
):
533 """GetMaintainAspectRatio() -> bool"""
534 return _ogl
.PyShape_GetMaintainAspectRatio(*args
, **kwargs
)
536 def GetLines(*args
, **kwargs
):
537 """GetLines() -> PyObject"""
538 return _ogl
.PyShape_GetLines(*args
, **kwargs
)
540 def SetDisableLabel(*args
, **kwargs
):
541 """SetDisableLabel(bool flag)"""
542 return _ogl
.PyShape_SetDisableLabel(*args
, **kwargs
)
544 def GetDisableLabel(*args
, **kwargs
):
545 """GetDisableLabel() -> bool"""
546 return _ogl
.PyShape_GetDisableLabel(*args
, **kwargs
)
548 def SetAttachmentMode(*args
, **kwargs
):
549 """SetAttachmentMode(int mode)"""
550 return _ogl
.PyShape_SetAttachmentMode(*args
, **kwargs
)
552 def GetAttachmentMode(*args
, **kwargs
):
553 """GetAttachmentMode() -> int"""
554 return _ogl
.PyShape_GetAttachmentMode(*args
, **kwargs
)
556 def SetId(*args
, **kwargs
):
558 return _ogl
.PyShape_SetId(*args
, **kwargs
)
560 def GetId(*args
, **kwargs
):
561 """GetId() -> long"""
562 return _ogl
.PyShape_GetId(*args
, **kwargs
)
564 def SetPen(*args
, **kwargs
):
565 """SetPen(wxPen pen)"""
566 return _ogl
.PyShape_SetPen(*args
, **kwargs
)
568 def SetBrush(*args
, **kwargs
):
569 """SetBrush(wxBrush brush)"""
570 return _ogl
.PyShape_SetBrush(*args
, **kwargs
)
572 def SetClientData(self
, data
):
573 self
.clientData
= data
574 def GetClientData(self
):
575 if hasattr(self
, 'clientData'):
576 return self
.clientData
580 def Show(*args
, **kwargs
):
581 """Show(bool show)"""
582 return _ogl
.PyShape_Show(*args
, **kwargs
)
584 def IsShown(*args
, **kwargs
):
585 """IsShown() -> bool"""
586 return _ogl
.PyShape_IsShown(*args
, **kwargs
)
588 def Move(*args
, **kwargs
):
589 """Move(wxDC dc, double x1, double y1, bool display=True)"""
590 return _ogl
.PyShape_Move(*args
, **kwargs
)
592 def Erase(*args
, **kwargs
):
594 return _ogl
.PyShape_Erase(*args
, **kwargs
)
596 def EraseContents(*args
, **kwargs
):
597 """EraseContents(wxDC dc)"""
598 return _ogl
.PyShape_EraseContents(*args
, **kwargs
)
600 def Draw(*args
, **kwargs
):
602 return _ogl
.PyShape_Draw(*args
, **kwargs
)
604 def Flash(*args
, **kwargs
):
606 return _ogl
.PyShape_Flash(*args
, **kwargs
)
608 def MoveLinks(*args
, **kwargs
):
609 """MoveLinks(wxDC dc)"""
610 return _ogl
.PyShape_MoveLinks(*args
, **kwargs
)
612 def DrawContents(*args
, **kwargs
):
613 """DrawContents(wxDC dc)"""
614 return _ogl
.PyShape_DrawContents(*args
, **kwargs
)
616 def SetSize(*args
, **kwargs
):
617 """SetSize(double x, double y, bool recursive=True)"""
618 return _ogl
.PyShape_SetSize(*args
, **kwargs
)
620 def SetAttachmentSize(*args
, **kwargs
):
621 """SetAttachmentSize(double x, double y)"""
622 return _ogl
.PyShape_SetAttachmentSize(*args
, **kwargs
)
624 def Attach(*args
, **kwargs
):
625 """Attach(PyShapeCanvas can)"""
626 return _ogl
.PyShape_Attach(*args
, **kwargs
)
628 def Detach(*args
, **kwargs
):
630 return _ogl
.PyShape_Detach(*args
, **kwargs
)
632 def Constrain(*args
, **kwargs
):
633 """Constrain() -> bool"""
634 return _ogl
.PyShape_Constrain(*args
, **kwargs
)
636 def AddLine(*args
, **kwargs
):
638 AddLine(PyLineShape line, PyShape other, int attachFrom=0,
639 int attachTo=0, int positionFrom=-1, int positionTo=-1)
641 return _ogl
.PyShape_AddLine(*args
, **kwargs
)
643 def GetLinePosition(*args
, **kwargs
):
644 """GetLinePosition(PyLineShape line) -> int"""
645 return _ogl
.PyShape_GetLinePosition(*args
, **kwargs
)
647 def AddText(*args
, **kwargs
):
648 """AddText(wxString string)"""
649 return _ogl
.PyShape_AddText(*args
, **kwargs
)
651 def GetPen(*args
, **kwargs
):
652 """GetPen() -> wxPen"""
653 return _ogl
.PyShape_GetPen(*args
, **kwargs
)
655 def GetBrush(*args
, **kwargs
):
656 """GetBrush() -> wxBrush"""
657 return _ogl
.PyShape_GetBrush(*args
, **kwargs
)
659 def SetDefaultRegionSize(*args
, **kwargs
):
660 """SetDefaultRegionSize()"""
661 return _ogl
.PyShape_SetDefaultRegionSize(*args
, **kwargs
)
663 def FormatText(*args
, **kwargs
):
664 """FormatText(wxDC dc, wxString s, int regionId=0)"""
665 return _ogl
.PyShape_FormatText(*args
, **kwargs
)
667 def SetFormatMode(*args
, **kwargs
):
668 """SetFormatMode(int mode, int regionId=0)"""
669 return _ogl
.PyShape_SetFormatMode(*args
, **kwargs
)
671 def GetFormatMode(*args
, **kwargs
):
672 """GetFormatMode(int regionId=0) -> int"""
673 return _ogl
.PyShape_GetFormatMode(*args
, **kwargs
)
675 def SetFont(*args
, **kwargs
):
676 """SetFont(wxFont font, int regionId=0)"""
677 return _ogl
.PyShape_SetFont(*args
, **kwargs
)
679 def GetFont(*args
, **kwargs
):
680 """GetFont(int regionId=0) -> wxFont"""
681 return _ogl
.PyShape_GetFont(*args
, **kwargs
)
683 def SetTextColour(*args
, **kwargs
):
684 """SetTextColour(wxString colour, int regionId=0)"""
685 return _ogl
.PyShape_SetTextColour(*args
, **kwargs
)
687 def GetTextColour(*args
, **kwargs
):
688 """GetTextColour(int regionId=0) -> wxString"""
689 return _ogl
.PyShape_GetTextColour(*args
, **kwargs
)
691 def GetNumberOfTextRegions(*args
, **kwargs
):
692 """GetNumberOfTextRegions() -> int"""
693 return _ogl
.PyShape_GetNumberOfTextRegions(*args
, **kwargs
)
695 def SetRegionName(*args
, **kwargs
):
696 """SetRegionName(wxString name, int regionId=0)"""
697 return _ogl
.PyShape_SetRegionName(*args
, **kwargs
)
699 def GetRegionName(*args
, **kwargs
):
700 """GetRegionName(int regionId) -> wxString"""
701 return _ogl
.PyShape_GetRegionName(*args
, **kwargs
)
703 def GetRegionId(*args
, **kwargs
):
704 """GetRegionId(wxString name) -> int"""
705 return _ogl
.PyShape_GetRegionId(*args
, **kwargs
)
707 def NameRegions(*args
, **kwargs
):
708 """NameRegions(wxString parentName=wxPyEmptyString)"""
709 return _ogl
.PyShape_NameRegions(*args
, **kwargs
)
711 def GetRegions(*args
, **kwargs
):
712 """GetRegions() -> PyObject"""
713 return _ogl
.PyShape_GetRegions(*args
, **kwargs
)
715 def AddRegion(*args
, **kwargs
):
716 """AddRegion(ShapeRegion region)"""
717 return _ogl
.PyShape_AddRegion(*args
, **kwargs
)
719 def ClearRegions(*args
, **kwargs
):
721 return _ogl
.PyShape_ClearRegions(*args
, **kwargs
)
723 def AssignNewIds(*args
, **kwargs
):
725 return _ogl
.PyShape_AssignNewIds(*args
, **kwargs
)
727 def FindRegion(*args
, **kwargs
):
728 """FindRegion(wxString regionName, int OUTPUT) -> PyShape"""
729 return _ogl
.PyShape_FindRegion(*args
, **kwargs
)
731 def FindRegionNames(*args
, **kwargs
):
732 """FindRegionNames(wxStringList list)"""
733 return _ogl
.PyShape_FindRegionNames(*args
, **kwargs
)
735 def ClearText(*args
, **kwargs
):
736 """ClearText(int regionId=0)"""
737 return _ogl
.PyShape_ClearText(*args
, **kwargs
)
739 def RemoveLine(*args
, **kwargs
):
740 """RemoveLine(PyLineShape line)"""
741 return _ogl
.PyShape_RemoveLine(*args
, **kwargs
)
743 def GetAttachmentPosition(*args
, **kwargs
):
745 GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0,
746 int no_arcs=1, PyLineShape line=None) -> bool
748 return _ogl
.PyShape_GetAttachmentPosition(*args
, **kwargs
)
750 def GetNumberOfAttachments(*args
, **kwargs
):
751 """GetNumberOfAttachments() -> int"""
752 return _ogl
.PyShape_GetNumberOfAttachments(*args
, **kwargs
)
754 def AttachmentIsValid(*args
, **kwargs
):
755 """AttachmentIsValid(int attachment) -> bool"""
756 return _ogl
.PyShape_AttachmentIsValid(*args
, **kwargs
)
758 def GetAttachmentPositionEdge(*args
, **kwargs
):
760 GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0,
761 int no_arcs=1, PyLineShape line=None) -> bool
763 return _ogl
.PyShape_GetAttachmentPositionEdge(*args
, **kwargs
)
765 def CalcSimpleAttachment(*args
, **kwargs
):
767 CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs,
768 PyLineShape line) -> RealPoint
770 return _ogl
.PyShape_CalcSimpleAttachment(*args
, **kwargs
)
772 def AttachmentSortTest(*args
, **kwargs
):
773 """AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool"""
774 return _ogl
.PyShape_AttachmentSortTest(*args
, **kwargs
)
776 def EraseLinks(*args
, **kwargs
):
777 """EraseLinks(wxDC dc, int attachment=-1, bool recurse=False)"""
778 return _ogl
.PyShape_EraseLinks(*args
, **kwargs
)
780 def DrawLinks(*args
, **kwargs
):
781 """DrawLinks(wxDC dc, int attachment=-1, bool recurse=False)"""
782 return _ogl
.PyShape_DrawLinks(*args
, **kwargs
)
784 def MoveLineToNewAttachment(*args
, **kwargs
):
785 """MoveLineToNewAttachment(wxDC dc, PyLineShape to_move, double x, double y) -> bool"""
786 return _ogl
.PyShape_MoveLineToNewAttachment(*args
, **kwargs
)
788 def ApplyAttachmentOrdering(*args
, **kwargs
):
789 """ApplyAttachmentOrdering(PyObject linesToSort)"""
790 return _ogl
.PyShape_ApplyAttachmentOrdering(*args
, **kwargs
)
792 def GetBranchingAttachmentRoot(*args
, **kwargs
):
793 """GetBranchingAttachmentRoot(int attachment) -> RealPoint"""
794 return _ogl
.PyShape_GetBranchingAttachmentRoot(*args
, **kwargs
)
796 def GetBranchingAttachmentInfo(*args
, **kwargs
):
798 GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
799 RealPoint shoulder2) -> bool
801 return _ogl
.PyShape_GetBranchingAttachmentInfo(*args
, **kwargs
)
803 def GetBranchingAttachmentPoint(*args
, **kwargs
):
804 """GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool"""
805 return _ogl
.PyShape_GetBranchingAttachmentPoint(*args
, **kwargs
)
807 def GetAttachmentLineCount(*args
, **kwargs
):
808 """GetAttachmentLineCount(int attachment) -> int"""
809 return _ogl
.PyShape_GetAttachmentLineCount(*args
, **kwargs
)
811 def SetBranchNeckLength(*args
, **kwargs
):
812 """SetBranchNeckLength(int len)"""
813 return _ogl
.PyShape_SetBranchNeckLength(*args
, **kwargs
)
815 def GetBranchNeckLength(*args
, **kwargs
):
816 """GetBranchNeckLength() -> int"""
817 return _ogl
.PyShape_GetBranchNeckLength(*args
, **kwargs
)
819 def SetBranchStemLength(*args
, **kwargs
):
820 """SetBranchStemLength(int len)"""
821 return _ogl
.PyShape_SetBranchStemLength(*args
, **kwargs
)
823 def GetBranchStemLength(*args
, **kwargs
):
824 """GetBranchStemLength() -> int"""
825 return _ogl
.PyShape_GetBranchStemLength(*args
, **kwargs
)
827 def SetBranchSpacing(*args
, **kwargs
):
828 """SetBranchSpacing(int len)"""
829 return _ogl
.PyShape_SetBranchSpacing(*args
, **kwargs
)
831 def GetBranchSpacing(*args
, **kwargs
):
832 """GetBranchSpacing() -> int"""
833 return _ogl
.PyShape_GetBranchSpacing(*args
, **kwargs
)
835 def SetBranchStyle(*args
, **kwargs
):
836 """SetBranchStyle(long style)"""
837 return _ogl
.PyShape_SetBranchStyle(*args
, **kwargs
)
839 def GetBranchStyle(*args
, **kwargs
):
840 """GetBranchStyle() -> long"""
841 return _ogl
.PyShape_GetBranchStyle(*args
, **kwargs
)
843 def PhysicalToLogicalAttachment(*args
, **kwargs
):
844 """PhysicalToLogicalAttachment(int physicalAttachment) -> int"""
845 return _ogl
.PyShape_PhysicalToLogicalAttachment(*args
, **kwargs
)
847 def LogicalToPhysicalAttachment(*args
, **kwargs
):
848 """LogicalToPhysicalAttachment(int logicalAttachment) -> int"""
849 return _ogl
.PyShape_LogicalToPhysicalAttachment(*args
, **kwargs
)
851 def Draggable(*args
, **kwargs
):
852 """Draggable() -> bool"""
853 return _ogl
.PyShape_Draggable(*args
, **kwargs
)
855 def HasDescendant(*args
, **kwargs
):
856 """HasDescendant(PyShape image) -> bool"""
857 return _ogl
.PyShape_HasDescendant(*args
, **kwargs
)
859 def CreateNewCopy(*args
, **kwargs
):
860 """CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape"""
861 return _ogl
.PyShape_CreateNewCopy(*args
, **kwargs
)
863 def Copy(*args
, **kwargs
):
864 """Copy(PyShape copy)"""
865 return _ogl
.PyShape_Copy(*args
, **kwargs
)
867 def CopyWithHandler(*args
, **kwargs
):
868 """CopyWithHandler(PyShape copy)"""
869 return _ogl
.PyShape_CopyWithHandler(*args
, **kwargs
)
871 def Rotate(*args
, **kwargs
):
872 """Rotate(double x, double y, double theta)"""
873 return _ogl
.PyShape_Rotate(*args
, **kwargs
)
875 def GetRotation(*args
, **kwargs
):
876 """GetRotation() -> double"""
877 return _ogl
.PyShape_GetRotation(*args
, **kwargs
)
879 def ClearAttachments(*args
, **kwargs
):
880 """ClearAttachments()"""
881 return _ogl
.PyShape_ClearAttachments(*args
, **kwargs
)
883 def Recentre(*args
, **kwargs
):
884 """Recentre(wxDC dc)"""
885 return _ogl
.PyShape_Recentre(*args
, **kwargs
)
887 def ClearPointList(*args
, **kwargs
):
888 """ClearPointList(wxList list)"""
889 return _ogl
.PyShape_ClearPointList(*args
, **kwargs
)
891 def GetBackgroundPen(*args
, **kwargs
):
892 """GetBackgroundPen() -> wxPen"""
893 return _ogl
.PyShape_GetBackgroundPen(*args
, **kwargs
)
895 def GetBackgroundBrush(*args
, **kwargs
):
896 """GetBackgroundBrush() -> wxBrush"""
897 return _ogl
.PyShape_GetBackgroundBrush(*args
, **kwargs
)
899 def base_OnDelete(*args
, **kwargs
):
900 """base_OnDelete()"""
901 return _ogl
.PyShape_base_OnDelete(*args
, **kwargs
)
903 def base_OnDraw(*args
, **kwargs
):
904 """base_OnDraw(wxDC dc)"""
905 return _ogl
.PyShape_base_OnDraw(*args
, **kwargs
)
907 def base_OnDrawContents(*args
, **kwargs
):
908 """base_OnDrawContents(wxDC dc)"""
909 return _ogl
.PyShape_base_OnDrawContents(*args
, **kwargs
)
911 def base_OnDrawBranches(*args
, **kwargs
):
912 """base_OnDrawBranches(wxDC dc, bool erase=False)"""
913 return _ogl
.PyShape_base_OnDrawBranches(*args
, **kwargs
)
915 def base_OnMoveLinks(*args
, **kwargs
):
916 """base_OnMoveLinks(wxDC dc)"""
917 return _ogl
.PyShape_base_OnMoveLinks(*args
, **kwargs
)
919 def base_OnErase(*args
, **kwargs
):
920 """base_OnErase(wxDC dc)"""
921 return _ogl
.PyShape_base_OnErase(*args
, **kwargs
)
923 def base_OnEraseContents(*args
, **kwargs
):
924 """base_OnEraseContents(wxDC dc)"""
925 return _ogl
.PyShape_base_OnEraseContents(*args
, **kwargs
)
927 def base_OnHighlight(*args
, **kwargs
):
928 """base_OnHighlight(wxDC dc)"""
929 return _ogl
.PyShape_base_OnHighlight(*args
, **kwargs
)
931 def base_OnLeftClick(*args
, **kwargs
):
932 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
933 return _ogl
.PyShape_base_OnLeftClick(*args
, **kwargs
)
935 def base_OnLeftDoubleClick(*args
, **kwargs
):
936 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
937 return _ogl
.PyShape_base_OnLeftDoubleClick(*args
, **kwargs
)
939 def base_OnRightClick(*args
, **kwargs
):
940 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
941 return _ogl
.PyShape_base_OnRightClick(*args
, **kwargs
)
943 def base_OnSize(*args
, **kwargs
):
944 """base_OnSize(double x, double y)"""
945 return _ogl
.PyShape_base_OnSize(*args
, **kwargs
)
947 def base_OnMovePre(*args
, **kwargs
):
949 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
950 bool display=True) -> bool
952 return _ogl
.PyShape_base_OnMovePre(*args
, **kwargs
)
954 def base_OnMovePost(*args
, **kwargs
):
956 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
959 return _ogl
.PyShape_base_OnMovePost(*args
, **kwargs
)
961 def base_OnDragLeft(*args
, **kwargs
):
962 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
963 return _ogl
.PyShape_base_OnDragLeft(*args
, **kwargs
)
965 def base_OnBeginDragLeft(*args
, **kwargs
):
966 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
967 return _ogl
.PyShape_base_OnBeginDragLeft(*args
, **kwargs
)
969 def base_OnEndDragLeft(*args
, **kwargs
):
970 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
971 return _ogl
.PyShape_base_OnEndDragLeft(*args
, **kwargs
)
973 def base_OnDragRight(*args
, **kwargs
):
974 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
975 return _ogl
.PyShape_base_OnDragRight(*args
, **kwargs
)
977 def base_OnBeginDragRight(*args
, **kwargs
):
978 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
979 return _ogl
.PyShape_base_OnBeginDragRight(*args
, **kwargs
)
981 def base_OnEndDragRight(*args
, **kwargs
):
982 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
983 return _ogl
.PyShape_base_OnEndDragRight(*args
, **kwargs
)
985 def base_OnDrawOutline(*args
, **kwargs
):
986 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
987 return _ogl
.PyShape_base_OnDrawOutline(*args
, **kwargs
)
989 def base_OnDrawControlPoints(*args
, **kwargs
):
990 """base_OnDrawControlPoints(wxDC dc)"""
991 return _ogl
.PyShape_base_OnDrawControlPoints(*args
, **kwargs
)
993 def base_OnEraseControlPoints(*args
, **kwargs
):
994 """base_OnEraseControlPoints(wxDC dc)"""
995 return _ogl
.PyShape_base_OnEraseControlPoints(*args
, **kwargs
)
997 def base_OnMoveLink(*args
, **kwargs
):
998 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
999 return _ogl
.PyShape_base_OnMoveLink(*args
, **kwargs
)
1001 def base_OnSizingDragLeft(*args
, **kwargs
):
1003 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1006 return _ogl
.PyShape_base_OnSizingDragLeft(*args
, **kwargs
)
1008 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1010 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1013 return _ogl
.PyShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1015 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1017 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1020 return _ogl
.PyShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1022 def base_OnBeginSize(*args
, **kwargs
):
1023 """base_OnBeginSize(double w, double h)"""
1024 return _ogl
.PyShape_base_OnBeginSize(*args
, **kwargs
)
1026 def base_OnEndSize(*args
, **kwargs
):
1027 """base_OnEndSize(double w, double h)"""
1028 return _ogl
.PyShape_base_OnEndSize(*args
, **kwargs
)
1031 class PyShapePtr(PyShape
):
1032 def __init__(self
, this
):
1034 if not hasattr(self
,"thisown"): self
.thisown
= 0
1035 self
.__class
__ = PyShape
1036 _ogl
.PyShape_swigregister(PyShapePtr
)
1038 oglMETAFLAGS_OUTLINE
= _ogl
.oglMETAFLAGS_OUTLINE
1039 oglMETAFLAGS_ATTACHMENTS
= _ogl
.oglMETAFLAGS_ATTACHMENTS
1040 class PseudoMetaFile(core
.Object
):
1042 return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1043 def __init__(self
, *args
, **kwargs
):
1044 """__init__() -> PseudoMetaFile"""
1045 newobj
= _ogl
.new_PseudoMetaFile(*args
, **kwargs
)
1046 self
.this
= newobj
.this
1049 def __del__(self
, destroy
=_ogl
.delete_PseudoMetaFile
):
1052 if self
.thisown
: destroy(self
)
1055 def Draw(*args
, **kwargs
):
1056 """Draw(wxDC dc, double xoffset, double yoffset)"""
1057 return _ogl
.PseudoMetaFile_Draw(*args
, **kwargs
)
1059 def Clear(*args
, **kwargs
):
1061 return _ogl
.PseudoMetaFile_Clear(*args
, **kwargs
)
1063 def Copy(*args
, **kwargs
):
1064 """Copy(PseudoMetaFile copy)"""
1065 return _ogl
.PseudoMetaFile_Copy(*args
, **kwargs
)
1067 def Scale(*args
, **kwargs
):
1068 """Scale(double sx, double sy)"""
1069 return _ogl
.PseudoMetaFile_Scale(*args
, **kwargs
)
1071 def ScaleTo(*args
, **kwargs
):
1072 """ScaleTo(double w, double h)"""
1073 return _ogl
.PseudoMetaFile_ScaleTo(*args
, **kwargs
)
1075 def Translate(*args
, **kwargs
):
1076 """Translate(double x, double y)"""
1077 return _ogl
.PseudoMetaFile_Translate(*args
, **kwargs
)
1079 def Rotate(*args
, **kwargs
):
1080 """Rotate(double x, double y, double theta)"""
1081 return _ogl
.PseudoMetaFile_Rotate(*args
, **kwargs
)
1083 def LoadFromMetaFile(*args
, **kwargs
):
1084 """LoadFromMetaFile(wxString filename, double width, double height) -> bool"""
1085 return _ogl
.PseudoMetaFile_LoadFromMetaFile(*args
, **kwargs
)
1087 def GetBounds(*args
, **kwargs
):
1088 """GetBounds(double minX, double minY, double maxX, double maxY)"""
1089 return _ogl
.PseudoMetaFile_GetBounds(*args
, **kwargs
)
1091 def CalculateSize(*args
, **kwargs
):
1092 """CalculateSize(PyDrawnShape shape)"""
1093 return _ogl
.PseudoMetaFile_CalculateSize(*args
, **kwargs
)
1095 def SetRotateable(*args
, **kwargs
):
1096 """SetRotateable(bool rot)"""
1097 return _ogl
.PseudoMetaFile_SetRotateable(*args
, **kwargs
)
1099 def GetRotateable(*args
, **kwargs
):
1100 """GetRotateable() -> bool"""
1101 return _ogl
.PseudoMetaFile_GetRotateable(*args
, **kwargs
)
1103 def SetSize(*args
, **kwargs
):
1104 """SetSize(double w, double h)"""
1105 return _ogl
.PseudoMetaFile_SetSize(*args
, **kwargs
)
1107 def SetFillBrush(*args
, **kwargs
):
1108 """SetFillBrush(wxBrush brush)"""
1109 return _ogl
.PseudoMetaFile_SetFillBrush(*args
, **kwargs
)
1111 def GetFillBrush(*args
, **kwargs
):
1112 """GetFillBrush() -> wxBrush"""
1113 return _ogl
.PseudoMetaFile_GetFillBrush(*args
, **kwargs
)
1115 def SetOutlinePen(*args
, **kwargs
):
1116 """SetOutlinePen(wxPen pen)"""
1117 return _ogl
.PseudoMetaFile_SetOutlinePen(*args
, **kwargs
)
1119 def GetOutlinePen(*args
, **kwargs
):
1120 """GetOutlinePen() -> wxPen"""
1121 return _ogl
.PseudoMetaFile_GetOutlinePen(*args
, **kwargs
)
1123 def SetOutlineOp(*args
, **kwargs
):
1124 """SetOutlineOp(int op)"""
1125 return _ogl
.PseudoMetaFile_SetOutlineOp(*args
, **kwargs
)
1127 def GetOutlineOp(*args
, **kwargs
):
1128 """GetOutlineOp() -> int"""
1129 return _ogl
.PseudoMetaFile_GetOutlineOp(*args
, **kwargs
)
1131 def IsValid(*args
, **kwargs
):
1132 """IsValid() -> bool"""
1133 return _ogl
.PseudoMetaFile_IsValid(*args
, **kwargs
)
1135 def DrawLine(*args
, **kwargs
):
1136 """DrawLine(Point pt1, Point pt2)"""
1137 return _ogl
.PseudoMetaFile_DrawLine(*args
, **kwargs
)
1139 def DrawRectangle(*args
, **kwargs
):
1140 """DrawRectangle(Rect rect)"""
1141 return _ogl
.PseudoMetaFile_DrawRectangle(*args
, **kwargs
)
1143 def DrawRoundedRectangle(*args
, **kwargs
):
1144 """DrawRoundedRectangle(Rect rect, double radius)"""
1145 return _ogl
.PseudoMetaFile_DrawRoundedRectangle(*args
, **kwargs
)
1147 def DrawArc(*args
, **kwargs
):
1148 """DrawArc(Point centrePt, Point startPt, Point endPt)"""
1149 return _ogl
.PseudoMetaFile_DrawArc(*args
, **kwargs
)
1151 def DrawEllipticArc(*args
, **kwargs
):
1152 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1153 return _ogl
.PseudoMetaFile_DrawEllipticArc(*args
, **kwargs
)
1155 def DrawEllipse(*args
, **kwargs
):
1156 """DrawEllipse(Rect rect)"""
1157 return _ogl
.PseudoMetaFile_DrawEllipse(*args
, **kwargs
)
1159 def DrawPoint(*args
, **kwargs
):
1160 """DrawPoint(Point pt)"""
1161 return _ogl
.PseudoMetaFile_DrawPoint(*args
, **kwargs
)
1163 def DrawText(*args
, **kwargs
):
1164 """DrawText(wxString text, Point pt)"""
1165 return _ogl
.PseudoMetaFile_DrawText(*args
, **kwargs
)
1167 def DrawLines(*args
, **kwargs
):
1168 """DrawLines(int PCOUNT, Point points)"""
1169 return _ogl
.PseudoMetaFile_DrawLines(*args
, **kwargs
)
1171 def DrawPolygon(*args
, **kwargs
):
1172 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1173 return _ogl
.PseudoMetaFile_DrawPolygon(*args
, **kwargs
)
1175 def DrawSpline(*args
, **kwargs
):
1176 """DrawSpline(int PCOUNT, Point points)"""
1177 return _ogl
.PseudoMetaFile_DrawSpline(*args
, **kwargs
)
1179 def SetClippingRect(*args
, **kwargs
):
1180 """SetClippingRect(Rect rect)"""
1181 return _ogl
.PseudoMetaFile_SetClippingRect(*args
, **kwargs
)
1183 def DestroyClippingRect(*args
, **kwargs
):
1184 """DestroyClippingRect()"""
1185 return _ogl
.PseudoMetaFile_DestroyClippingRect(*args
, **kwargs
)
1187 def SetPen(*args
, **kwargs
):
1188 """SetPen(wxPen pen, bool isOutline=FALSE)"""
1189 return _ogl
.PseudoMetaFile_SetPen(*args
, **kwargs
)
1191 def SetBrush(*args
, **kwargs
):
1192 """SetBrush(wxBrush brush, bool isFill=FALSE)"""
1193 return _ogl
.PseudoMetaFile_SetBrush(*args
, **kwargs
)
1195 def SetFont(*args
, **kwargs
):
1196 """SetFont(wxFont font)"""
1197 return _ogl
.PseudoMetaFile_SetFont(*args
, **kwargs
)
1199 def SetTextColour(*args
, **kwargs
):
1200 """SetTextColour(wxColour colour)"""
1201 return _ogl
.PseudoMetaFile_SetTextColour(*args
, **kwargs
)
1203 def SetBackgroundColour(*args
, **kwargs
):
1204 """SetBackgroundColour(wxColour colour)"""
1205 return _ogl
.PseudoMetaFile_SetBackgroundColour(*args
, **kwargs
)
1207 def SetBackgroundMode(*args
, **kwargs
):
1208 """SetBackgroundMode(int mode)"""
1209 return _ogl
.PseudoMetaFile_SetBackgroundMode(*args
, **kwargs
)
1212 class PseudoMetaFilePtr(PseudoMetaFile
):
1213 def __init__(self
, this
):
1215 if not hasattr(self
,"thisown"): self
.thisown
= 0
1216 self
.__class
__ = PseudoMetaFile
1217 _ogl
.PseudoMetaFile_swigregister(PseudoMetaFilePtr
)
1219 class PyRectangleShape(PyShape
):
1221 return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1222 def __init__(self
, *args
, **kwargs
):
1223 """__init__(double width=0.0, double height=0.0) -> PyRectangleShape"""
1224 newobj
= _ogl
.new_PyRectangleShape(*args
, **kwargs
)
1225 self
.this
= newobj
.this
1228 self
._setOORandCallbackInfo
(PyRectangleShape
)
1230 def _setCallbackInfo(*args
, **kwargs
):
1231 """_setCallbackInfo(PyObject self, PyObject _class)"""
1232 return _ogl
.PyRectangleShape__setCallbackInfo(*args
, **kwargs
)
1234 def SetCornerRadius(*args
, **kwargs
):
1235 """SetCornerRadius(double radius)"""
1236 return _ogl
.PyRectangleShape_SetCornerRadius(*args
, **kwargs
)
1238 def base_OnDelete(*args
, **kwargs
):
1239 """base_OnDelete()"""
1240 return _ogl
.PyRectangleShape_base_OnDelete(*args
, **kwargs
)
1242 def base_OnDraw(*args
, **kwargs
):
1243 """base_OnDraw(wxDC dc)"""
1244 return _ogl
.PyRectangleShape_base_OnDraw(*args
, **kwargs
)
1246 def base_OnDrawContents(*args
, **kwargs
):
1247 """base_OnDrawContents(wxDC dc)"""
1248 return _ogl
.PyRectangleShape_base_OnDrawContents(*args
, **kwargs
)
1250 def base_OnDrawBranches(*args
, **kwargs
):
1251 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1252 return _ogl
.PyRectangleShape_base_OnDrawBranches(*args
, **kwargs
)
1254 def base_OnMoveLinks(*args
, **kwargs
):
1255 """base_OnMoveLinks(wxDC dc)"""
1256 return _ogl
.PyRectangleShape_base_OnMoveLinks(*args
, **kwargs
)
1258 def base_OnErase(*args
, **kwargs
):
1259 """base_OnErase(wxDC dc)"""
1260 return _ogl
.PyRectangleShape_base_OnErase(*args
, **kwargs
)
1262 def base_OnEraseContents(*args
, **kwargs
):
1263 """base_OnEraseContents(wxDC dc)"""
1264 return _ogl
.PyRectangleShape_base_OnEraseContents(*args
, **kwargs
)
1266 def base_OnHighlight(*args
, **kwargs
):
1267 """base_OnHighlight(wxDC dc)"""
1268 return _ogl
.PyRectangleShape_base_OnHighlight(*args
, **kwargs
)
1270 def base_OnLeftClick(*args
, **kwargs
):
1271 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1272 return _ogl
.PyRectangleShape_base_OnLeftClick(*args
, **kwargs
)
1274 def base_OnLeftDoubleClick(*args
, **kwargs
):
1275 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1276 return _ogl
.PyRectangleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1278 def base_OnRightClick(*args
, **kwargs
):
1279 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1280 return _ogl
.PyRectangleShape_base_OnRightClick(*args
, **kwargs
)
1282 def base_OnSize(*args
, **kwargs
):
1283 """base_OnSize(double x, double y)"""
1284 return _ogl
.PyRectangleShape_base_OnSize(*args
, **kwargs
)
1286 def base_OnMovePre(*args
, **kwargs
):
1288 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1289 bool display=True) -> bool
1291 return _ogl
.PyRectangleShape_base_OnMovePre(*args
, **kwargs
)
1293 def base_OnMovePost(*args
, **kwargs
):
1295 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1298 return _ogl
.PyRectangleShape_base_OnMovePost(*args
, **kwargs
)
1300 def base_OnDragLeft(*args
, **kwargs
):
1301 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1302 return _ogl
.PyRectangleShape_base_OnDragLeft(*args
, **kwargs
)
1304 def base_OnBeginDragLeft(*args
, **kwargs
):
1305 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1306 return _ogl
.PyRectangleShape_base_OnBeginDragLeft(*args
, **kwargs
)
1308 def base_OnEndDragLeft(*args
, **kwargs
):
1309 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1310 return _ogl
.PyRectangleShape_base_OnEndDragLeft(*args
, **kwargs
)
1312 def base_OnDragRight(*args
, **kwargs
):
1313 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1314 return _ogl
.PyRectangleShape_base_OnDragRight(*args
, **kwargs
)
1316 def base_OnBeginDragRight(*args
, **kwargs
):
1317 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1318 return _ogl
.PyRectangleShape_base_OnBeginDragRight(*args
, **kwargs
)
1320 def base_OnEndDragRight(*args
, **kwargs
):
1321 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1322 return _ogl
.PyRectangleShape_base_OnEndDragRight(*args
, **kwargs
)
1324 def base_OnDrawOutline(*args
, **kwargs
):
1325 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1326 return _ogl
.PyRectangleShape_base_OnDrawOutline(*args
, **kwargs
)
1328 def base_OnDrawControlPoints(*args
, **kwargs
):
1329 """base_OnDrawControlPoints(wxDC dc)"""
1330 return _ogl
.PyRectangleShape_base_OnDrawControlPoints(*args
, **kwargs
)
1332 def base_OnEraseControlPoints(*args
, **kwargs
):
1333 """base_OnEraseControlPoints(wxDC dc)"""
1334 return _ogl
.PyRectangleShape_base_OnEraseControlPoints(*args
, **kwargs
)
1336 def base_OnMoveLink(*args
, **kwargs
):
1337 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1338 return _ogl
.PyRectangleShape_base_OnMoveLink(*args
, **kwargs
)
1340 def base_OnSizingDragLeft(*args
, **kwargs
):
1342 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1345 return _ogl
.PyRectangleShape_base_OnSizingDragLeft(*args
, **kwargs
)
1347 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1349 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1352 return _ogl
.PyRectangleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1354 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1356 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1359 return _ogl
.PyRectangleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1361 def base_OnBeginSize(*args
, **kwargs
):
1362 """base_OnBeginSize(double w, double h)"""
1363 return _ogl
.PyRectangleShape_base_OnBeginSize(*args
, **kwargs
)
1365 def base_OnEndSize(*args
, **kwargs
):
1366 """base_OnEndSize(double w, double h)"""
1367 return _ogl
.PyRectangleShape_base_OnEndSize(*args
, **kwargs
)
1370 class PyRectangleShapePtr(PyRectangleShape
):
1371 def __init__(self
, this
):
1373 if not hasattr(self
,"thisown"): self
.thisown
= 0
1374 self
.__class
__ = PyRectangleShape
1375 _ogl
.PyRectangleShape_swigregister(PyRectangleShapePtr
)
1377 class PyControlPoint(PyRectangleShape
):
1379 return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1380 def __init__(self
, *args
, **kwargs
):
1382 __init__(PyShapeCanvas the_canvas=None, PyShape object=None,
1383 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
1384 int the_type=0) -> PyControlPoint
1386 newobj
= _ogl
.new_PyControlPoint(*args
, **kwargs
)
1387 self
.this
= newobj
.this
1390 self
._setOORandCallbackInfo
(PyControlPoint
)
1392 def _setCallbackInfo(*args
, **kwargs
):
1393 """_setCallbackInfo(PyObject self, PyObject _class)"""
1394 return _ogl
.PyControlPoint__setCallbackInfo(*args
, **kwargs
)
1396 def SetCornerRadius(*args
, **kwargs
):
1397 """SetCornerRadius(double radius)"""
1398 return _ogl
.PyControlPoint_SetCornerRadius(*args
, **kwargs
)
1400 def base_OnDelete(*args
, **kwargs
):
1401 """base_OnDelete()"""
1402 return _ogl
.PyControlPoint_base_OnDelete(*args
, **kwargs
)
1404 def base_OnDraw(*args
, **kwargs
):
1405 """base_OnDraw(wxDC dc)"""
1406 return _ogl
.PyControlPoint_base_OnDraw(*args
, **kwargs
)
1408 def base_OnDrawContents(*args
, **kwargs
):
1409 """base_OnDrawContents(wxDC dc)"""
1410 return _ogl
.PyControlPoint_base_OnDrawContents(*args
, **kwargs
)
1412 def base_OnDrawBranches(*args
, **kwargs
):
1413 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1414 return _ogl
.PyControlPoint_base_OnDrawBranches(*args
, **kwargs
)
1416 def base_OnMoveLinks(*args
, **kwargs
):
1417 """base_OnMoveLinks(wxDC dc)"""
1418 return _ogl
.PyControlPoint_base_OnMoveLinks(*args
, **kwargs
)
1420 def base_OnErase(*args
, **kwargs
):
1421 """base_OnErase(wxDC dc)"""
1422 return _ogl
.PyControlPoint_base_OnErase(*args
, **kwargs
)
1424 def base_OnEraseContents(*args
, **kwargs
):
1425 """base_OnEraseContents(wxDC dc)"""
1426 return _ogl
.PyControlPoint_base_OnEraseContents(*args
, **kwargs
)
1428 def base_OnHighlight(*args
, **kwargs
):
1429 """base_OnHighlight(wxDC dc)"""
1430 return _ogl
.PyControlPoint_base_OnHighlight(*args
, **kwargs
)
1432 def base_OnLeftClick(*args
, **kwargs
):
1433 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1434 return _ogl
.PyControlPoint_base_OnLeftClick(*args
, **kwargs
)
1436 def base_OnLeftDoubleClick(*args
, **kwargs
):
1437 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1438 return _ogl
.PyControlPoint_base_OnLeftDoubleClick(*args
, **kwargs
)
1440 def base_OnRightClick(*args
, **kwargs
):
1441 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1442 return _ogl
.PyControlPoint_base_OnRightClick(*args
, **kwargs
)
1444 def base_OnSize(*args
, **kwargs
):
1445 """base_OnSize(double x, double y)"""
1446 return _ogl
.PyControlPoint_base_OnSize(*args
, **kwargs
)
1448 def base_OnMovePre(*args
, **kwargs
):
1450 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1451 bool display=True) -> bool
1453 return _ogl
.PyControlPoint_base_OnMovePre(*args
, **kwargs
)
1455 def base_OnMovePost(*args
, **kwargs
):
1457 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1460 return _ogl
.PyControlPoint_base_OnMovePost(*args
, **kwargs
)
1462 def base_OnDragLeft(*args
, **kwargs
):
1463 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1464 return _ogl
.PyControlPoint_base_OnDragLeft(*args
, **kwargs
)
1466 def base_OnBeginDragLeft(*args
, **kwargs
):
1467 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1468 return _ogl
.PyControlPoint_base_OnBeginDragLeft(*args
, **kwargs
)
1470 def base_OnEndDragLeft(*args
, **kwargs
):
1471 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1472 return _ogl
.PyControlPoint_base_OnEndDragLeft(*args
, **kwargs
)
1474 def base_OnDragRight(*args
, **kwargs
):
1475 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1476 return _ogl
.PyControlPoint_base_OnDragRight(*args
, **kwargs
)
1478 def base_OnBeginDragRight(*args
, **kwargs
):
1479 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1480 return _ogl
.PyControlPoint_base_OnBeginDragRight(*args
, **kwargs
)
1482 def base_OnEndDragRight(*args
, **kwargs
):
1483 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1484 return _ogl
.PyControlPoint_base_OnEndDragRight(*args
, **kwargs
)
1486 def base_OnDrawOutline(*args
, **kwargs
):
1487 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1488 return _ogl
.PyControlPoint_base_OnDrawOutline(*args
, **kwargs
)
1490 def base_OnDrawControlPoints(*args
, **kwargs
):
1491 """base_OnDrawControlPoints(wxDC dc)"""
1492 return _ogl
.PyControlPoint_base_OnDrawControlPoints(*args
, **kwargs
)
1494 def base_OnEraseControlPoints(*args
, **kwargs
):
1495 """base_OnEraseControlPoints(wxDC dc)"""
1496 return _ogl
.PyControlPoint_base_OnEraseControlPoints(*args
, **kwargs
)
1498 def base_OnMoveLink(*args
, **kwargs
):
1499 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1500 return _ogl
.PyControlPoint_base_OnMoveLink(*args
, **kwargs
)
1502 def base_OnSizingDragLeft(*args
, **kwargs
):
1504 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1507 return _ogl
.PyControlPoint_base_OnSizingDragLeft(*args
, **kwargs
)
1509 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1511 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1514 return _ogl
.PyControlPoint_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1516 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1518 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1521 return _ogl
.PyControlPoint_base_OnSizingEndDragLeft(*args
, **kwargs
)
1523 def base_OnBeginSize(*args
, **kwargs
):
1524 """base_OnBeginSize(double w, double h)"""
1525 return _ogl
.PyControlPoint_base_OnBeginSize(*args
, **kwargs
)
1527 def base_OnEndSize(*args
, **kwargs
):
1528 """base_OnEndSize(double w, double h)"""
1529 return _ogl
.PyControlPoint_base_OnEndSize(*args
, **kwargs
)
1532 class PyControlPointPtr(PyControlPoint
):
1533 def __init__(self
, this
):
1535 if not hasattr(self
,"thisown"): self
.thisown
= 0
1536 self
.__class
__ = PyControlPoint
1537 _ogl
.PyControlPoint_swigregister(PyControlPointPtr
)
1539 class PyBitmapShape(PyRectangleShape
):
1541 return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1542 def __init__(self
, *args
, **kwargs
):
1543 """__init__() -> PyBitmapShape"""
1544 newobj
= _ogl
.new_PyBitmapShape(*args
, **kwargs
)
1545 self
.this
= newobj
.this
1548 self
._setOORandCallbackInfo
(PyBitmapShape
)
1550 def _setCallbackInfo(*args
, **kwargs
):
1551 """_setCallbackInfo(PyObject self, PyObject _class)"""
1552 return _ogl
.PyBitmapShape__setCallbackInfo(*args
, **kwargs
)
1554 def GetBitmap(*args
, **kwargs
):
1555 """GetBitmap() -> wxBitmap"""
1556 return _ogl
.PyBitmapShape_GetBitmap(*args
, **kwargs
)
1558 def GetFilename(*args
, **kwargs
):
1559 """GetFilename() -> wxString"""
1560 return _ogl
.PyBitmapShape_GetFilename(*args
, **kwargs
)
1562 def SetBitmap(*args
, **kwargs
):
1563 """SetBitmap(wxBitmap bitmap)"""
1564 return _ogl
.PyBitmapShape_SetBitmap(*args
, **kwargs
)
1566 def SetFilename(*args
, **kwargs
):
1567 """SetFilename(wxString filename)"""
1568 return _ogl
.PyBitmapShape_SetFilename(*args
, **kwargs
)
1570 def base_OnDelete(*args
, **kwargs
):
1571 """base_OnDelete()"""
1572 return _ogl
.PyBitmapShape_base_OnDelete(*args
, **kwargs
)
1574 def base_OnDraw(*args
, **kwargs
):
1575 """base_OnDraw(wxDC dc)"""
1576 return _ogl
.PyBitmapShape_base_OnDraw(*args
, **kwargs
)
1578 def base_OnDrawContents(*args
, **kwargs
):
1579 """base_OnDrawContents(wxDC dc)"""
1580 return _ogl
.PyBitmapShape_base_OnDrawContents(*args
, **kwargs
)
1582 def base_OnDrawBranches(*args
, **kwargs
):
1583 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1584 return _ogl
.PyBitmapShape_base_OnDrawBranches(*args
, **kwargs
)
1586 def base_OnMoveLinks(*args
, **kwargs
):
1587 """base_OnMoveLinks(wxDC dc)"""
1588 return _ogl
.PyBitmapShape_base_OnMoveLinks(*args
, **kwargs
)
1590 def base_OnErase(*args
, **kwargs
):
1591 """base_OnErase(wxDC dc)"""
1592 return _ogl
.PyBitmapShape_base_OnErase(*args
, **kwargs
)
1594 def base_OnEraseContents(*args
, **kwargs
):
1595 """base_OnEraseContents(wxDC dc)"""
1596 return _ogl
.PyBitmapShape_base_OnEraseContents(*args
, **kwargs
)
1598 def base_OnHighlight(*args
, **kwargs
):
1599 """base_OnHighlight(wxDC dc)"""
1600 return _ogl
.PyBitmapShape_base_OnHighlight(*args
, **kwargs
)
1602 def base_OnLeftClick(*args
, **kwargs
):
1603 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1604 return _ogl
.PyBitmapShape_base_OnLeftClick(*args
, **kwargs
)
1606 def base_OnLeftDoubleClick(*args
, **kwargs
):
1607 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1608 return _ogl
.PyBitmapShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1610 def base_OnRightClick(*args
, **kwargs
):
1611 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1612 return _ogl
.PyBitmapShape_base_OnRightClick(*args
, **kwargs
)
1614 def base_OnSize(*args
, **kwargs
):
1615 """base_OnSize(double x, double y)"""
1616 return _ogl
.PyBitmapShape_base_OnSize(*args
, **kwargs
)
1618 def base_OnMovePre(*args
, **kwargs
):
1620 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1621 bool display=True) -> bool
1623 return _ogl
.PyBitmapShape_base_OnMovePre(*args
, **kwargs
)
1625 def base_OnMovePost(*args
, **kwargs
):
1627 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1630 return _ogl
.PyBitmapShape_base_OnMovePost(*args
, **kwargs
)
1632 def base_OnDragLeft(*args
, **kwargs
):
1633 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1634 return _ogl
.PyBitmapShape_base_OnDragLeft(*args
, **kwargs
)
1636 def base_OnBeginDragLeft(*args
, **kwargs
):
1637 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1638 return _ogl
.PyBitmapShape_base_OnBeginDragLeft(*args
, **kwargs
)
1640 def base_OnEndDragLeft(*args
, **kwargs
):
1641 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1642 return _ogl
.PyBitmapShape_base_OnEndDragLeft(*args
, **kwargs
)
1644 def base_OnDragRight(*args
, **kwargs
):
1645 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1646 return _ogl
.PyBitmapShape_base_OnDragRight(*args
, **kwargs
)
1648 def base_OnBeginDragRight(*args
, **kwargs
):
1649 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1650 return _ogl
.PyBitmapShape_base_OnBeginDragRight(*args
, **kwargs
)
1652 def base_OnEndDragRight(*args
, **kwargs
):
1653 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1654 return _ogl
.PyBitmapShape_base_OnEndDragRight(*args
, **kwargs
)
1656 def base_OnDrawOutline(*args
, **kwargs
):
1657 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1658 return _ogl
.PyBitmapShape_base_OnDrawOutline(*args
, **kwargs
)
1660 def base_OnDrawControlPoints(*args
, **kwargs
):
1661 """base_OnDrawControlPoints(wxDC dc)"""
1662 return _ogl
.PyBitmapShape_base_OnDrawControlPoints(*args
, **kwargs
)
1664 def base_OnEraseControlPoints(*args
, **kwargs
):
1665 """base_OnEraseControlPoints(wxDC dc)"""
1666 return _ogl
.PyBitmapShape_base_OnEraseControlPoints(*args
, **kwargs
)
1668 def base_OnMoveLink(*args
, **kwargs
):
1669 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1670 return _ogl
.PyBitmapShape_base_OnMoveLink(*args
, **kwargs
)
1672 def base_OnSizingDragLeft(*args
, **kwargs
):
1674 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1677 return _ogl
.PyBitmapShape_base_OnSizingDragLeft(*args
, **kwargs
)
1679 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1681 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1684 return _ogl
.PyBitmapShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1686 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1688 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1691 return _ogl
.PyBitmapShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1693 def base_OnBeginSize(*args
, **kwargs
):
1694 """base_OnBeginSize(double w, double h)"""
1695 return _ogl
.PyBitmapShape_base_OnBeginSize(*args
, **kwargs
)
1697 def base_OnEndSize(*args
, **kwargs
):
1698 """base_OnEndSize(double w, double h)"""
1699 return _ogl
.PyBitmapShape_base_OnEndSize(*args
, **kwargs
)
1702 class PyBitmapShapePtr(PyBitmapShape
):
1703 def __init__(self
, this
):
1705 if not hasattr(self
,"thisown"): self
.thisown
= 0
1706 self
.__class
__ = PyBitmapShape
1707 _ogl
.PyBitmapShape_swigregister(PyBitmapShapePtr
)
1709 class PyDrawnShape(PyRectangleShape
):
1711 return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1712 def __init__(self
, *args
, **kwargs
):
1713 """__init__() -> PyDrawnShape"""
1714 newobj
= _ogl
.new_PyDrawnShape(*args
, **kwargs
)
1715 self
.this
= newobj
.this
1718 self
._setOORandCallbackInfo
(PyDrawnShape
)
1720 def _setCallbackInfo(*args
, **kwargs
):
1721 """_setCallbackInfo(PyObject self, PyObject _class)"""
1722 return _ogl
.PyDrawnShape__setCallbackInfo(*args
, **kwargs
)
1724 def CalculateSize(*args
, **kwargs
):
1725 """CalculateSize()"""
1726 return _ogl
.PyDrawnShape_CalculateSize(*args
, **kwargs
)
1728 def DestroyClippingRect(*args
, **kwargs
):
1729 """DestroyClippingRect()"""
1730 return _ogl
.PyDrawnShape_DestroyClippingRect(*args
, **kwargs
)
1732 def DrawArc(*args
, **kwargs
):
1733 """DrawArc(Point centrePoint, Point startPoint, Point endPoint)"""
1734 return _ogl
.PyDrawnShape_DrawArc(*args
, **kwargs
)
1736 def DrawAtAngle(*args
, **kwargs
):
1737 """DrawAtAngle(int angle)"""
1738 return _ogl
.PyDrawnShape_DrawAtAngle(*args
, **kwargs
)
1740 def DrawEllipticArc(*args
, **kwargs
):
1741 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1742 return _ogl
.PyDrawnShape_DrawEllipticArc(*args
, **kwargs
)
1744 def DrawLine(*args
, **kwargs
):
1745 """DrawLine(Point point1, Point point2)"""
1746 return _ogl
.PyDrawnShape_DrawLine(*args
, **kwargs
)
1748 def DrawLines(*args
, **kwargs
):
1749 """DrawLines(int PCOUNT, Point points)"""
1750 return _ogl
.PyDrawnShape_DrawLines(*args
, **kwargs
)
1752 def DrawPoint(*args
, **kwargs
):
1753 """DrawPoint(Point point)"""
1754 return _ogl
.PyDrawnShape_DrawPoint(*args
, **kwargs
)
1756 def DrawPolygon(*args
, **kwargs
):
1757 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1758 return _ogl
.PyDrawnShape_DrawPolygon(*args
, **kwargs
)
1760 def DrawRectangle(*args
, **kwargs
):
1761 """DrawRectangle(Rect rect)"""
1762 return _ogl
.PyDrawnShape_DrawRectangle(*args
, **kwargs
)
1764 def DrawRoundedRectangle(*args
, **kwargs
):
1765 """DrawRoundedRectangle(Rect rect, double radius)"""
1766 return _ogl
.PyDrawnShape_DrawRoundedRectangle(*args
, **kwargs
)
1768 def DrawSpline(*args
, **kwargs
):
1769 """DrawSpline(int PCOUNT, Point points)"""
1770 return _ogl
.PyDrawnShape_DrawSpline(*args
, **kwargs
)
1772 def DrawText(*args
, **kwargs
):
1773 """DrawText(wxString text, Point point)"""
1774 return _ogl
.PyDrawnShape_DrawText(*args
, **kwargs
)
1776 def GetAngle(*args
, **kwargs
):
1777 """GetAngle() -> int"""
1778 return _ogl
.PyDrawnShape_GetAngle(*args
, **kwargs
)
1780 def GetMetaFile(*args
, **kwargs
):
1781 """GetMetaFile() -> PseudoMetaFile"""
1782 return _ogl
.PyDrawnShape_GetMetaFile(*args
, **kwargs
)
1784 def GetRotation(*args
, **kwargs
):
1785 """GetRotation() -> double"""
1786 return _ogl
.PyDrawnShape_GetRotation(*args
, **kwargs
)
1788 def LoadFromMetaFile(*args
, **kwargs
):
1789 """LoadFromMetaFile(wxString filename) -> bool"""
1790 return _ogl
.PyDrawnShape_LoadFromMetaFile(*args
, **kwargs
)
1792 def Rotate(*args
, **kwargs
):
1793 """Rotate(double x, double y, double theta)"""
1794 return _ogl
.PyDrawnShape_Rotate(*args
, **kwargs
)
1796 def SetClippingRect(*args
, **kwargs
):
1797 """SetClippingRect(Rect rect)"""
1798 return _ogl
.PyDrawnShape_SetClippingRect(*args
, **kwargs
)
1800 def SetDrawnBackgroundColour(*args
, **kwargs
):
1801 """SetDrawnBackgroundColour(wxColour colour)"""
1802 return _ogl
.PyDrawnShape_SetDrawnBackgroundColour(*args
, **kwargs
)
1804 def SetDrawnBackgroundMode(*args
, **kwargs
):
1805 """SetDrawnBackgroundMode(int mode)"""
1806 return _ogl
.PyDrawnShape_SetDrawnBackgroundMode(*args
, **kwargs
)
1808 def SetDrawnBrush(*args
, **kwargs
):
1809 """SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)"""
1810 return _ogl
.PyDrawnShape_SetDrawnBrush(*args
, **kwargs
)
1812 def SetDrawnFont(*args
, **kwargs
):
1813 """SetDrawnFont(wxFont font)"""
1814 return _ogl
.PyDrawnShape_SetDrawnFont(*args
, **kwargs
)
1816 def SetDrawnPen(*args
, **kwargs
):
1817 """SetDrawnPen(wxPen pen, bool isOutline=FALSE)"""
1818 return _ogl
.PyDrawnShape_SetDrawnPen(*args
, **kwargs
)
1820 def SetDrawnTextColour(*args
, **kwargs
):
1821 """SetDrawnTextColour(wxColour colour)"""
1822 return _ogl
.PyDrawnShape_SetDrawnTextColour(*args
, **kwargs
)
1824 def Scale(*args
, **kwargs
):
1825 """Scale(double sx, double sy)"""
1826 return _ogl
.PyDrawnShape_Scale(*args
, **kwargs
)
1828 def SetSaveToFile(*args
, **kwargs
):
1829 """SetSaveToFile(bool save)"""
1830 return _ogl
.PyDrawnShape_SetSaveToFile(*args
, **kwargs
)
1832 def Translate(*args
, **kwargs
):
1833 """Translate(double x, double y)"""
1834 return _ogl
.PyDrawnShape_Translate(*args
, **kwargs
)
1836 def base_OnDelete(*args
, **kwargs
):
1837 """base_OnDelete()"""
1838 return _ogl
.PyDrawnShape_base_OnDelete(*args
, **kwargs
)
1840 def base_OnDraw(*args
, **kwargs
):
1841 """base_OnDraw(wxDC dc)"""
1842 return _ogl
.PyDrawnShape_base_OnDraw(*args
, **kwargs
)
1844 def base_OnDrawContents(*args
, **kwargs
):
1845 """base_OnDrawContents(wxDC dc)"""
1846 return _ogl
.PyDrawnShape_base_OnDrawContents(*args
, **kwargs
)
1848 def base_OnDrawBranches(*args
, **kwargs
):
1849 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1850 return _ogl
.PyDrawnShape_base_OnDrawBranches(*args
, **kwargs
)
1852 def base_OnMoveLinks(*args
, **kwargs
):
1853 """base_OnMoveLinks(wxDC dc)"""
1854 return _ogl
.PyDrawnShape_base_OnMoveLinks(*args
, **kwargs
)
1856 def base_OnErase(*args
, **kwargs
):
1857 """base_OnErase(wxDC dc)"""
1858 return _ogl
.PyDrawnShape_base_OnErase(*args
, **kwargs
)
1860 def base_OnEraseContents(*args
, **kwargs
):
1861 """base_OnEraseContents(wxDC dc)"""
1862 return _ogl
.PyDrawnShape_base_OnEraseContents(*args
, **kwargs
)
1864 def base_OnHighlight(*args
, **kwargs
):
1865 """base_OnHighlight(wxDC dc)"""
1866 return _ogl
.PyDrawnShape_base_OnHighlight(*args
, **kwargs
)
1868 def base_OnLeftClick(*args
, **kwargs
):
1869 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1870 return _ogl
.PyDrawnShape_base_OnLeftClick(*args
, **kwargs
)
1872 def base_OnLeftDoubleClick(*args
, **kwargs
):
1873 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1874 return _ogl
.PyDrawnShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1876 def base_OnRightClick(*args
, **kwargs
):
1877 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1878 return _ogl
.PyDrawnShape_base_OnRightClick(*args
, **kwargs
)
1880 def base_OnSize(*args
, **kwargs
):
1881 """base_OnSize(double x, double y)"""
1882 return _ogl
.PyDrawnShape_base_OnSize(*args
, **kwargs
)
1884 def base_OnMovePre(*args
, **kwargs
):
1886 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1887 bool display=True) -> bool
1889 return _ogl
.PyDrawnShape_base_OnMovePre(*args
, **kwargs
)
1891 def base_OnMovePost(*args
, **kwargs
):
1893 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1896 return _ogl
.PyDrawnShape_base_OnMovePost(*args
, **kwargs
)
1898 def base_OnDragLeft(*args
, **kwargs
):
1899 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1900 return _ogl
.PyDrawnShape_base_OnDragLeft(*args
, **kwargs
)
1902 def base_OnBeginDragLeft(*args
, **kwargs
):
1903 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1904 return _ogl
.PyDrawnShape_base_OnBeginDragLeft(*args
, **kwargs
)
1906 def base_OnEndDragLeft(*args
, **kwargs
):
1907 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1908 return _ogl
.PyDrawnShape_base_OnEndDragLeft(*args
, **kwargs
)
1910 def base_OnDragRight(*args
, **kwargs
):
1911 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1912 return _ogl
.PyDrawnShape_base_OnDragRight(*args
, **kwargs
)
1914 def base_OnBeginDragRight(*args
, **kwargs
):
1915 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1916 return _ogl
.PyDrawnShape_base_OnBeginDragRight(*args
, **kwargs
)
1918 def base_OnEndDragRight(*args
, **kwargs
):
1919 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1920 return _ogl
.PyDrawnShape_base_OnEndDragRight(*args
, **kwargs
)
1922 def base_OnDrawOutline(*args
, **kwargs
):
1923 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1924 return _ogl
.PyDrawnShape_base_OnDrawOutline(*args
, **kwargs
)
1926 def base_OnDrawControlPoints(*args
, **kwargs
):
1927 """base_OnDrawControlPoints(wxDC dc)"""
1928 return _ogl
.PyDrawnShape_base_OnDrawControlPoints(*args
, **kwargs
)
1930 def base_OnEraseControlPoints(*args
, **kwargs
):
1931 """base_OnEraseControlPoints(wxDC dc)"""
1932 return _ogl
.PyDrawnShape_base_OnEraseControlPoints(*args
, **kwargs
)
1934 def base_OnMoveLink(*args
, **kwargs
):
1935 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1936 return _ogl
.PyDrawnShape_base_OnMoveLink(*args
, **kwargs
)
1938 def base_OnSizingDragLeft(*args
, **kwargs
):
1940 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1943 return _ogl
.PyDrawnShape_base_OnSizingDragLeft(*args
, **kwargs
)
1945 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1947 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1950 return _ogl
.PyDrawnShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1952 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1954 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1957 return _ogl
.PyDrawnShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1959 def base_OnBeginSize(*args
, **kwargs
):
1960 """base_OnBeginSize(double w, double h)"""
1961 return _ogl
.PyDrawnShape_base_OnBeginSize(*args
, **kwargs
)
1963 def base_OnEndSize(*args
, **kwargs
):
1964 """base_OnEndSize(double w, double h)"""
1965 return _ogl
.PyDrawnShape_base_OnEndSize(*args
, **kwargs
)
1968 class PyDrawnShapePtr(PyDrawnShape
):
1969 def __init__(self
, this
):
1971 if not hasattr(self
,"thisown"): self
.thisown
= 0
1972 self
.__class
__ = PyDrawnShape
1973 _ogl
.PyDrawnShape_swigregister(PyDrawnShapePtr
)
1975 class OGLConstraint(core
.Object
):
1977 return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1978 def __init__(self
, *args
, **kwargs
):
1979 """__init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
1980 newobj
= _ogl
.new_OGLConstraint(*args
, **kwargs
)
1981 self
.this
= newobj
.this
1984 def Evaluate(*args
, **kwargs
):
1985 """Evaluate() -> bool"""
1986 return _ogl
.OGLConstraint_Evaluate(*args
, **kwargs
)
1988 def SetSpacing(*args
, **kwargs
):
1989 """SetSpacing(double x, double y)"""
1990 return _ogl
.OGLConstraint_SetSpacing(*args
, **kwargs
)
1992 def Equals(*args
, **kwargs
):
1993 """Equals(double a, double b) -> bool"""
1994 return _ogl
.OGLConstraint_Equals(*args
, **kwargs
)
1997 class OGLConstraintPtr(OGLConstraint
):
1998 def __init__(self
, this
):
2000 if not hasattr(self
,"thisown"): self
.thisown
= 0
2001 self
.__class
__ = OGLConstraint
2002 _ogl
.OGLConstraint_swigregister(OGLConstraintPtr
)
2004 class PyCompositeShape(PyRectangleShape
):
2006 return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2007 def __init__(self
, *args
, **kwargs
):
2008 """__init__() -> PyCompositeShape"""
2009 newobj
= _ogl
.new_PyCompositeShape(*args
, **kwargs
)
2010 self
.this
= newobj
.this
2013 self
._setOORandCallbackInfo
(PyCompositeShape
)
2015 def _setCallbackInfo(*args
, **kwargs
):
2016 """_setCallbackInfo(PyObject self, PyObject _class)"""
2017 return _ogl
.PyCompositeShape__setCallbackInfo(*args
, **kwargs
)
2019 def AddChild(*args
, **kwargs
):
2020 """AddChild(PyShape child, PyShape addAfter=None)"""
2021 return _ogl
.PyCompositeShape_AddChild(*args
, **kwargs
)
2023 def AddConstraint(*args
, **kwargs
):
2024 """AddConstraint(OGLConstraint constraint) -> OGLConstraint"""
2025 return _ogl
.PyCompositeShape_AddConstraint(*args
, **kwargs
)
2027 def AddConstrainedShapes(*args
, **kwargs
):
2028 """AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2029 return _ogl
.PyCompositeShape_AddConstrainedShapes(*args
, **kwargs
)
2031 def AddSimpleConstraint(*args
, **kwargs
):
2032 """AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint"""
2033 return _ogl
.PyCompositeShape_AddSimpleConstraint(*args
, **kwargs
)
2035 def CalculateSize(*args
, **kwargs
):
2036 """CalculateSize()"""
2037 return _ogl
.PyCompositeShape_CalculateSize(*args
, **kwargs
)
2039 def ContainsDivision(*args
, **kwargs
):
2040 """ContainsDivision(PyDivisionShape division) -> bool"""
2041 return _ogl
.PyCompositeShape_ContainsDivision(*args
, **kwargs
)
2043 def DeleteConstraint(*args
, **kwargs
):
2044 """DeleteConstraint(OGLConstraint constraint)"""
2045 return _ogl
.PyCompositeShape_DeleteConstraint(*args
, **kwargs
)
2047 def DeleteConstraintsInvolvingChild(*args
, **kwargs
):
2048 """DeleteConstraintsInvolvingChild(PyShape child)"""
2049 return _ogl
.PyCompositeShape_DeleteConstraintsInvolvingChild(*args
, **kwargs
)
2051 def FindContainerImage(*args
, **kwargs
):
2052 """FindContainerImage() -> PyShape"""
2053 return _ogl
.PyCompositeShape_FindContainerImage(*args
, **kwargs
)
2055 def GetConstraints(*args
, **kwargs
):
2056 """GetConstraints() -> PyObject"""
2057 return _ogl
.PyCompositeShape_GetConstraints(*args
, **kwargs
)
2059 def GetDivisions(*args
, **kwargs
):
2060 """GetDivisions() -> PyObject"""
2061 return _ogl
.PyCompositeShape_GetDivisions(*args
, **kwargs
)
2063 def MakeContainer(*args
, **kwargs
):
2064 """MakeContainer()"""
2065 return _ogl
.PyCompositeShape_MakeContainer(*args
, **kwargs
)
2067 def Recompute(*args
, **kwargs
):
2068 """Recompute() -> bool"""
2069 return _ogl
.PyCompositeShape_Recompute(*args
, **kwargs
)
2071 def RemoveChild(*args
, **kwargs
):
2072 """RemoveChild(PyShape child)"""
2073 return _ogl
.PyCompositeShape_RemoveChild(*args
, **kwargs
)
2075 def base_OnDelete(*args
, **kwargs
):
2076 """base_OnDelete()"""
2077 return _ogl
.PyCompositeShape_base_OnDelete(*args
, **kwargs
)
2079 def base_OnDraw(*args
, **kwargs
):
2080 """base_OnDraw(wxDC dc)"""
2081 return _ogl
.PyCompositeShape_base_OnDraw(*args
, **kwargs
)
2083 def base_OnDrawContents(*args
, **kwargs
):
2084 """base_OnDrawContents(wxDC dc)"""
2085 return _ogl
.PyCompositeShape_base_OnDrawContents(*args
, **kwargs
)
2087 def base_OnDrawBranches(*args
, **kwargs
):
2088 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2089 return _ogl
.PyCompositeShape_base_OnDrawBranches(*args
, **kwargs
)
2091 def base_OnMoveLinks(*args
, **kwargs
):
2092 """base_OnMoveLinks(wxDC dc)"""
2093 return _ogl
.PyCompositeShape_base_OnMoveLinks(*args
, **kwargs
)
2095 def base_OnErase(*args
, **kwargs
):
2096 """base_OnErase(wxDC dc)"""
2097 return _ogl
.PyCompositeShape_base_OnErase(*args
, **kwargs
)
2099 def base_OnEraseContents(*args
, **kwargs
):
2100 """base_OnEraseContents(wxDC dc)"""
2101 return _ogl
.PyCompositeShape_base_OnEraseContents(*args
, **kwargs
)
2103 def base_OnHighlight(*args
, **kwargs
):
2104 """base_OnHighlight(wxDC dc)"""
2105 return _ogl
.PyCompositeShape_base_OnHighlight(*args
, **kwargs
)
2107 def base_OnLeftClick(*args
, **kwargs
):
2108 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2109 return _ogl
.PyCompositeShape_base_OnLeftClick(*args
, **kwargs
)
2111 def base_OnLeftDoubleClick(*args
, **kwargs
):
2112 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2113 return _ogl
.PyCompositeShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2115 def base_OnRightClick(*args
, **kwargs
):
2116 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2117 return _ogl
.PyCompositeShape_base_OnRightClick(*args
, **kwargs
)
2119 def base_OnSize(*args
, **kwargs
):
2120 """base_OnSize(double x, double y)"""
2121 return _ogl
.PyCompositeShape_base_OnSize(*args
, **kwargs
)
2123 def base_OnMovePre(*args
, **kwargs
):
2125 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2126 bool display=True) -> bool
2128 return _ogl
.PyCompositeShape_base_OnMovePre(*args
, **kwargs
)
2130 def base_OnMovePost(*args
, **kwargs
):
2132 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2135 return _ogl
.PyCompositeShape_base_OnMovePost(*args
, **kwargs
)
2137 def base_OnDragLeft(*args
, **kwargs
):
2138 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2139 return _ogl
.PyCompositeShape_base_OnDragLeft(*args
, **kwargs
)
2141 def base_OnBeginDragLeft(*args
, **kwargs
):
2142 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2143 return _ogl
.PyCompositeShape_base_OnBeginDragLeft(*args
, **kwargs
)
2145 def base_OnEndDragLeft(*args
, **kwargs
):
2146 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2147 return _ogl
.PyCompositeShape_base_OnEndDragLeft(*args
, **kwargs
)
2149 def base_OnDragRight(*args
, **kwargs
):
2150 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2151 return _ogl
.PyCompositeShape_base_OnDragRight(*args
, **kwargs
)
2153 def base_OnBeginDragRight(*args
, **kwargs
):
2154 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2155 return _ogl
.PyCompositeShape_base_OnBeginDragRight(*args
, **kwargs
)
2157 def base_OnEndDragRight(*args
, **kwargs
):
2158 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2159 return _ogl
.PyCompositeShape_base_OnEndDragRight(*args
, **kwargs
)
2161 def base_OnDrawOutline(*args
, **kwargs
):
2162 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2163 return _ogl
.PyCompositeShape_base_OnDrawOutline(*args
, **kwargs
)
2165 def base_OnDrawControlPoints(*args
, **kwargs
):
2166 """base_OnDrawControlPoints(wxDC dc)"""
2167 return _ogl
.PyCompositeShape_base_OnDrawControlPoints(*args
, **kwargs
)
2169 def base_OnEraseControlPoints(*args
, **kwargs
):
2170 """base_OnEraseControlPoints(wxDC dc)"""
2171 return _ogl
.PyCompositeShape_base_OnEraseControlPoints(*args
, **kwargs
)
2173 def base_OnMoveLink(*args
, **kwargs
):
2174 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2175 return _ogl
.PyCompositeShape_base_OnMoveLink(*args
, **kwargs
)
2177 def base_OnSizingDragLeft(*args
, **kwargs
):
2179 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2182 return _ogl
.PyCompositeShape_base_OnSizingDragLeft(*args
, **kwargs
)
2184 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2186 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2189 return _ogl
.PyCompositeShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2191 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2193 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2196 return _ogl
.PyCompositeShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2198 def base_OnBeginSize(*args
, **kwargs
):
2199 """base_OnBeginSize(double w, double h)"""
2200 return _ogl
.PyCompositeShape_base_OnBeginSize(*args
, **kwargs
)
2202 def base_OnEndSize(*args
, **kwargs
):
2203 """base_OnEndSize(double w, double h)"""
2204 return _ogl
.PyCompositeShape_base_OnEndSize(*args
, **kwargs
)
2207 class PyCompositeShapePtr(PyCompositeShape
):
2208 def __init__(self
, this
):
2210 if not hasattr(self
,"thisown"): self
.thisown
= 0
2211 self
.__class
__ = PyCompositeShape
2212 _ogl
.PyCompositeShape_swigregister(PyCompositeShapePtr
)
2214 class PyDividedShape(PyRectangleShape
):
2216 return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2217 def __init__(self
, *args
, **kwargs
):
2218 """__init__(double width=0.0, double height=0.0) -> PyDividedShape"""
2219 newobj
= _ogl
.new_PyDividedShape(*args
, **kwargs
)
2220 self
.this
= newobj
.this
2223 self
._setOORandCallbackInfo
(PyDividedShape
)
2225 def _setCallbackInfo(*args
, **kwargs
):
2226 """_setCallbackInfo(PyObject self, PyObject _class)"""
2227 return _ogl
.PyDividedShape__setCallbackInfo(*args
, **kwargs
)
2229 def EditRegions(*args
, **kwargs
):
2231 return _ogl
.PyDividedShape_EditRegions(*args
, **kwargs
)
2233 def SetRegionSizes(*args
, **kwargs
):
2234 """SetRegionSizes()"""
2235 return _ogl
.PyDividedShape_SetRegionSizes(*args
, **kwargs
)
2237 def base_OnDelete(*args
, **kwargs
):
2238 """base_OnDelete()"""
2239 return _ogl
.PyDividedShape_base_OnDelete(*args
, **kwargs
)
2241 def base_OnDraw(*args
, **kwargs
):
2242 """base_OnDraw(wxDC dc)"""
2243 return _ogl
.PyDividedShape_base_OnDraw(*args
, **kwargs
)
2245 def base_OnDrawContents(*args
, **kwargs
):
2246 """base_OnDrawContents(wxDC dc)"""
2247 return _ogl
.PyDividedShape_base_OnDrawContents(*args
, **kwargs
)
2249 def base_OnDrawBranches(*args
, **kwargs
):
2250 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2251 return _ogl
.PyDividedShape_base_OnDrawBranches(*args
, **kwargs
)
2253 def base_OnMoveLinks(*args
, **kwargs
):
2254 """base_OnMoveLinks(wxDC dc)"""
2255 return _ogl
.PyDividedShape_base_OnMoveLinks(*args
, **kwargs
)
2257 def base_OnErase(*args
, **kwargs
):
2258 """base_OnErase(wxDC dc)"""
2259 return _ogl
.PyDividedShape_base_OnErase(*args
, **kwargs
)
2261 def base_OnEraseContents(*args
, **kwargs
):
2262 """base_OnEraseContents(wxDC dc)"""
2263 return _ogl
.PyDividedShape_base_OnEraseContents(*args
, **kwargs
)
2265 def base_OnHighlight(*args
, **kwargs
):
2266 """base_OnHighlight(wxDC dc)"""
2267 return _ogl
.PyDividedShape_base_OnHighlight(*args
, **kwargs
)
2269 def base_OnLeftClick(*args
, **kwargs
):
2270 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2271 return _ogl
.PyDividedShape_base_OnLeftClick(*args
, **kwargs
)
2273 def base_OnLeftDoubleClick(*args
, **kwargs
):
2274 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2275 return _ogl
.PyDividedShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2277 def base_OnRightClick(*args
, **kwargs
):
2278 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2279 return _ogl
.PyDividedShape_base_OnRightClick(*args
, **kwargs
)
2281 def base_OnSize(*args
, **kwargs
):
2282 """base_OnSize(double x, double y)"""
2283 return _ogl
.PyDividedShape_base_OnSize(*args
, **kwargs
)
2285 def base_OnMovePre(*args
, **kwargs
):
2287 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2288 bool display=True) -> bool
2290 return _ogl
.PyDividedShape_base_OnMovePre(*args
, **kwargs
)
2292 def base_OnMovePost(*args
, **kwargs
):
2294 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2297 return _ogl
.PyDividedShape_base_OnMovePost(*args
, **kwargs
)
2299 def base_OnDragLeft(*args
, **kwargs
):
2300 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2301 return _ogl
.PyDividedShape_base_OnDragLeft(*args
, **kwargs
)
2303 def base_OnBeginDragLeft(*args
, **kwargs
):
2304 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2305 return _ogl
.PyDividedShape_base_OnBeginDragLeft(*args
, **kwargs
)
2307 def base_OnEndDragLeft(*args
, **kwargs
):
2308 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2309 return _ogl
.PyDividedShape_base_OnEndDragLeft(*args
, **kwargs
)
2311 def base_OnDragRight(*args
, **kwargs
):
2312 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2313 return _ogl
.PyDividedShape_base_OnDragRight(*args
, **kwargs
)
2315 def base_OnBeginDragRight(*args
, **kwargs
):
2316 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2317 return _ogl
.PyDividedShape_base_OnBeginDragRight(*args
, **kwargs
)
2319 def base_OnEndDragRight(*args
, **kwargs
):
2320 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2321 return _ogl
.PyDividedShape_base_OnEndDragRight(*args
, **kwargs
)
2323 def base_OnDrawOutline(*args
, **kwargs
):
2324 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2325 return _ogl
.PyDividedShape_base_OnDrawOutline(*args
, **kwargs
)
2327 def base_OnDrawControlPoints(*args
, **kwargs
):
2328 """base_OnDrawControlPoints(wxDC dc)"""
2329 return _ogl
.PyDividedShape_base_OnDrawControlPoints(*args
, **kwargs
)
2331 def base_OnEraseControlPoints(*args
, **kwargs
):
2332 """base_OnEraseControlPoints(wxDC dc)"""
2333 return _ogl
.PyDividedShape_base_OnEraseControlPoints(*args
, **kwargs
)
2335 def base_OnMoveLink(*args
, **kwargs
):
2336 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2337 return _ogl
.PyDividedShape_base_OnMoveLink(*args
, **kwargs
)
2339 def base_OnSizingDragLeft(*args
, **kwargs
):
2341 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2344 return _ogl
.PyDividedShape_base_OnSizingDragLeft(*args
, **kwargs
)
2346 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2348 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2351 return _ogl
.PyDividedShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2353 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2355 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2358 return _ogl
.PyDividedShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2360 def base_OnBeginSize(*args
, **kwargs
):
2361 """base_OnBeginSize(double w, double h)"""
2362 return _ogl
.PyDividedShape_base_OnBeginSize(*args
, **kwargs
)
2364 def base_OnEndSize(*args
, **kwargs
):
2365 """base_OnEndSize(double w, double h)"""
2366 return _ogl
.PyDividedShape_base_OnEndSize(*args
, **kwargs
)
2369 class PyDividedShapePtr(PyDividedShape
):
2370 def __init__(self
, this
):
2372 if not hasattr(self
,"thisown"): self
.thisown
= 0
2373 self
.__class
__ = PyDividedShape
2374 _ogl
.PyDividedShape_swigregister(PyDividedShapePtr
)
2376 class PyDivisionShape(PyCompositeShape
):
2378 return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2379 def __init__(self
, *args
, **kwargs
):
2380 """__init__() -> PyDivisionShape"""
2381 newobj
= _ogl
.new_PyDivisionShape(*args
, **kwargs
)
2382 self
.this
= newobj
.this
2385 self
._setOORandCallbackInfo
(PyDivisionShape
)
2387 def _setCallbackInfo(*args
, **kwargs
):
2388 """_setCallbackInfo(PyObject self, PyObject _class)"""
2389 return _ogl
.PyDivisionShape__setCallbackInfo(*args
, **kwargs
)
2391 def AdjustBottom(*args
, **kwargs
):
2392 """AdjustBottom(double bottom, bool test)"""
2393 return _ogl
.PyDivisionShape_AdjustBottom(*args
, **kwargs
)
2395 def AdjustLeft(*args
, **kwargs
):
2396 """AdjustLeft(double left, bool test)"""
2397 return _ogl
.PyDivisionShape_AdjustLeft(*args
, **kwargs
)
2399 def AdjustRight(*args
, **kwargs
):
2400 """AdjustRight(double right, bool test)"""
2401 return _ogl
.PyDivisionShape_AdjustRight(*args
, **kwargs
)
2403 def AdjustTop(*args
, **kwargs
):
2404 """AdjustTop(double top, bool test)"""
2405 return _ogl
.PyDivisionShape_AdjustTop(*args
, **kwargs
)
2407 def Divide(*args
, **kwargs
):
2408 """Divide(int direction)"""
2409 return _ogl
.PyDivisionShape_Divide(*args
, **kwargs
)
2411 def EditEdge(*args
, **kwargs
):
2412 """EditEdge(int side)"""
2413 return _ogl
.PyDivisionShape_EditEdge(*args
, **kwargs
)
2415 def GetBottomSide(*args
, **kwargs
):
2416 """GetBottomSide() -> PyDivisionShape"""
2417 return _ogl
.PyDivisionShape_GetBottomSide(*args
, **kwargs
)
2419 def GetHandleSide(*args
, **kwargs
):
2420 """GetHandleSide() -> int"""
2421 return _ogl
.PyDivisionShape_GetHandleSide(*args
, **kwargs
)
2423 def GetLeftSide(*args
, **kwargs
):
2424 """GetLeftSide() -> PyDivisionShape"""
2425 return _ogl
.PyDivisionShape_GetLeftSide(*args
, **kwargs
)
2427 def GetLeftSideColour(*args
, **kwargs
):
2428 """GetLeftSideColour() -> wxString"""
2429 return _ogl
.PyDivisionShape_GetLeftSideColour(*args
, **kwargs
)
2431 def GetLeftSidePen(*args
, **kwargs
):
2432 """GetLeftSidePen() -> wxPen"""
2433 return _ogl
.PyDivisionShape_GetLeftSidePen(*args
, **kwargs
)
2435 def GetRightSide(*args
, **kwargs
):
2436 """GetRightSide() -> PyDivisionShape"""
2437 return _ogl
.PyDivisionShape_GetRightSide(*args
, **kwargs
)
2439 def GetTopSide(*args
, **kwargs
):
2440 """GetTopSide() -> PyDivisionShape"""
2441 return _ogl
.PyDivisionShape_GetTopSide(*args
, **kwargs
)
2443 def GetTopSidePen(*args
, **kwargs
):
2444 """GetTopSidePen() -> wxPen"""
2445 return _ogl
.PyDivisionShape_GetTopSidePen(*args
, **kwargs
)
2447 def ResizeAdjoining(*args
, **kwargs
):
2448 """ResizeAdjoining(int side, double newPos, bool test)"""
2449 return _ogl
.PyDivisionShape_ResizeAdjoining(*args
, **kwargs
)
2451 def PopupMenu(*args
, **kwargs
):
2452 """PopupMenu(double x, double y)"""
2453 return _ogl
.PyDivisionShape_PopupMenu(*args
, **kwargs
)
2455 def SetBottomSide(*args
, **kwargs
):
2456 """SetBottomSide(PyDivisionShape shape)"""
2457 return _ogl
.PyDivisionShape_SetBottomSide(*args
, **kwargs
)
2459 def SetHandleSide(*args
, **kwargs
):
2460 """SetHandleSide(int side)"""
2461 return _ogl
.PyDivisionShape_SetHandleSide(*args
, **kwargs
)
2463 def SetLeftSide(*args
, **kwargs
):
2464 """SetLeftSide(PyDivisionShape shape)"""
2465 return _ogl
.PyDivisionShape_SetLeftSide(*args
, **kwargs
)
2467 def SetLeftSideColour(*args
, **kwargs
):
2468 """SetLeftSideColour(wxString colour)"""
2469 return _ogl
.PyDivisionShape_SetLeftSideColour(*args
, **kwargs
)
2471 def SetLeftSidePen(*args
, **kwargs
):
2472 """SetLeftSidePen(wxPen pen)"""
2473 return _ogl
.PyDivisionShape_SetLeftSidePen(*args
, **kwargs
)
2475 def SetRightSide(*args
, **kwargs
):
2476 """SetRightSide(PyDivisionShape shape)"""
2477 return _ogl
.PyDivisionShape_SetRightSide(*args
, **kwargs
)
2479 def SetTopSide(*args
, **kwargs
):
2480 """SetTopSide(PyDivisionShape shape)"""
2481 return _ogl
.PyDivisionShape_SetTopSide(*args
, **kwargs
)
2483 def SetTopSideColour(*args
, **kwargs
):
2484 """SetTopSideColour(wxString colour)"""
2485 return _ogl
.PyDivisionShape_SetTopSideColour(*args
, **kwargs
)
2487 def SetTopSidePen(*args
, **kwargs
):
2488 """SetTopSidePen(wxPen pen)"""
2489 return _ogl
.PyDivisionShape_SetTopSidePen(*args
, **kwargs
)
2491 def base_OnDelete(*args
, **kwargs
):
2492 """base_OnDelete()"""
2493 return _ogl
.PyDivisionShape_base_OnDelete(*args
, **kwargs
)
2495 def base_OnDraw(*args
, **kwargs
):
2496 """base_OnDraw(wxDC dc)"""
2497 return _ogl
.PyDivisionShape_base_OnDraw(*args
, **kwargs
)
2499 def base_OnDrawContents(*args
, **kwargs
):
2500 """base_OnDrawContents(wxDC dc)"""
2501 return _ogl
.PyDivisionShape_base_OnDrawContents(*args
, **kwargs
)
2503 def base_OnDrawBranches(*args
, **kwargs
):
2504 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2505 return _ogl
.PyDivisionShape_base_OnDrawBranches(*args
, **kwargs
)
2507 def base_OnMoveLinks(*args
, **kwargs
):
2508 """base_OnMoveLinks(wxDC dc)"""
2509 return _ogl
.PyDivisionShape_base_OnMoveLinks(*args
, **kwargs
)
2511 def base_OnErase(*args
, **kwargs
):
2512 """base_OnErase(wxDC dc)"""
2513 return _ogl
.PyDivisionShape_base_OnErase(*args
, **kwargs
)
2515 def base_OnEraseContents(*args
, **kwargs
):
2516 """base_OnEraseContents(wxDC dc)"""
2517 return _ogl
.PyDivisionShape_base_OnEraseContents(*args
, **kwargs
)
2519 def base_OnHighlight(*args
, **kwargs
):
2520 """base_OnHighlight(wxDC dc)"""
2521 return _ogl
.PyDivisionShape_base_OnHighlight(*args
, **kwargs
)
2523 def base_OnLeftClick(*args
, **kwargs
):
2524 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2525 return _ogl
.PyDivisionShape_base_OnLeftClick(*args
, **kwargs
)
2527 def base_OnLeftDoubleClick(*args
, **kwargs
):
2528 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2529 return _ogl
.PyDivisionShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2531 def base_OnRightClick(*args
, **kwargs
):
2532 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2533 return _ogl
.PyDivisionShape_base_OnRightClick(*args
, **kwargs
)
2535 def base_OnSize(*args
, **kwargs
):
2536 """base_OnSize(double x, double y)"""
2537 return _ogl
.PyDivisionShape_base_OnSize(*args
, **kwargs
)
2539 def base_OnMovePre(*args
, **kwargs
):
2541 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2542 bool display=True) -> bool
2544 return _ogl
.PyDivisionShape_base_OnMovePre(*args
, **kwargs
)
2546 def base_OnMovePost(*args
, **kwargs
):
2548 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2551 return _ogl
.PyDivisionShape_base_OnMovePost(*args
, **kwargs
)
2553 def base_OnDragLeft(*args
, **kwargs
):
2554 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2555 return _ogl
.PyDivisionShape_base_OnDragLeft(*args
, **kwargs
)
2557 def base_OnBeginDragLeft(*args
, **kwargs
):
2558 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2559 return _ogl
.PyDivisionShape_base_OnBeginDragLeft(*args
, **kwargs
)
2561 def base_OnEndDragLeft(*args
, **kwargs
):
2562 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2563 return _ogl
.PyDivisionShape_base_OnEndDragLeft(*args
, **kwargs
)
2565 def base_OnDragRight(*args
, **kwargs
):
2566 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2567 return _ogl
.PyDivisionShape_base_OnDragRight(*args
, **kwargs
)
2569 def base_OnBeginDragRight(*args
, **kwargs
):
2570 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2571 return _ogl
.PyDivisionShape_base_OnBeginDragRight(*args
, **kwargs
)
2573 def base_OnEndDragRight(*args
, **kwargs
):
2574 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2575 return _ogl
.PyDivisionShape_base_OnEndDragRight(*args
, **kwargs
)
2577 def base_OnDrawOutline(*args
, **kwargs
):
2578 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2579 return _ogl
.PyDivisionShape_base_OnDrawOutline(*args
, **kwargs
)
2581 def base_OnDrawControlPoints(*args
, **kwargs
):
2582 """base_OnDrawControlPoints(wxDC dc)"""
2583 return _ogl
.PyDivisionShape_base_OnDrawControlPoints(*args
, **kwargs
)
2585 def base_OnEraseControlPoints(*args
, **kwargs
):
2586 """base_OnEraseControlPoints(wxDC dc)"""
2587 return _ogl
.PyDivisionShape_base_OnEraseControlPoints(*args
, **kwargs
)
2589 def base_OnMoveLink(*args
, **kwargs
):
2590 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2591 return _ogl
.PyDivisionShape_base_OnMoveLink(*args
, **kwargs
)
2593 def base_OnSizingDragLeft(*args
, **kwargs
):
2595 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2598 return _ogl
.PyDivisionShape_base_OnSizingDragLeft(*args
, **kwargs
)
2600 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2602 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2605 return _ogl
.PyDivisionShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2607 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2609 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2612 return _ogl
.PyDivisionShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2614 def base_OnBeginSize(*args
, **kwargs
):
2615 """base_OnBeginSize(double w, double h)"""
2616 return _ogl
.PyDivisionShape_base_OnBeginSize(*args
, **kwargs
)
2618 def base_OnEndSize(*args
, **kwargs
):
2619 """base_OnEndSize(double w, double h)"""
2620 return _ogl
.PyDivisionShape_base_OnEndSize(*args
, **kwargs
)
2623 class PyDivisionShapePtr(PyDivisionShape
):
2624 def __init__(self
, this
):
2626 if not hasattr(self
,"thisown"): self
.thisown
= 0
2627 self
.__class
__ = PyDivisionShape
2628 _ogl
.PyDivisionShape_swigregister(PyDivisionShapePtr
)
2630 class PyEllipseShape(PyShape
):
2632 return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2633 def __init__(self
, *args
, **kwargs
):
2634 """__init__(double width=0.0, double height=0.0) -> PyEllipseShape"""
2635 newobj
= _ogl
.new_PyEllipseShape(*args
, **kwargs
)
2636 self
.this
= newobj
.this
2639 self
._setOORandCallbackInfo
(PyEllipseShape
)
2641 def _setCallbackInfo(*args
, **kwargs
):
2642 """_setCallbackInfo(PyObject self, PyObject _class)"""
2643 return _ogl
.PyEllipseShape__setCallbackInfo(*args
, **kwargs
)
2645 def base_OnDraw(*args
, **kwargs
):
2646 """base_OnDraw(wxDC dc)"""
2647 return _ogl
.PyEllipseShape_base_OnDraw(*args
, **kwargs
)
2649 def base_OnDrawContents(*args
, **kwargs
):
2650 """base_OnDrawContents(wxDC dc)"""
2651 return _ogl
.PyEllipseShape_base_OnDrawContents(*args
, **kwargs
)
2653 def base_OnDrawBranches(*args
, **kwargs
):
2654 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2655 return _ogl
.PyEllipseShape_base_OnDrawBranches(*args
, **kwargs
)
2657 def base_OnMoveLinks(*args
, **kwargs
):
2658 """base_OnMoveLinks(wxDC dc)"""
2659 return _ogl
.PyEllipseShape_base_OnMoveLinks(*args
, **kwargs
)
2661 def base_OnErase(*args
, **kwargs
):
2662 """base_OnErase(wxDC dc)"""
2663 return _ogl
.PyEllipseShape_base_OnErase(*args
, **kwargs
)
2665 def base_OnEraseContents(*args
, **kwargs
):
2666 """base_OnEraseContents(wxDC dc)"""
2667 return _ogl
.PyEllipseShape_base_OnEraseContents(*args
, **kwargs
)
2669 def base_OnHighlight(*args
, **kwargs
):
2670 """base_OnHighlight(wxDC dc)"""
2671 return _ogl
.PyEllipseShape_base_OnHighlight(*args
, **kwargs
)
2673 def base_OnLeftClick(*args
, **kwargs
):
2674 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2675 return _ogl
.PyEllipseShape_base_OnLeftClick(*args
, **kwargs
)
2677 def base_OnLeftDoubleClick(*args
, **kwargs
):
2678 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2679 return _ogl
.PyEllipseShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2681 def base_OnRightClick(*args
, **kwargs
):
2682 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2683 return _ogl
.PyEllipseShape_base_OnRightClick(*args
, **kwargs
)
2685 def base_OnSize(*args
, **kwargs
):
2686 """base_OnSize(double x, double y)"""
2687 return _ogl
.PyEllipseShape_base_OnSize(*args
, **kwargs
)
2689 def base_OnMovePre(*args
, **kwargs
):
2691 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2692 bool display=True) -> bool
2694 return _ogl
.PyEllipseShape_base_OnMovePre(*args
, **kwargs
)
2696 def base_OnMovePost(*args
, **kwargs
):
2698 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2701 return _ogl
.PyEllipseShape_base_OnMovePost(*args
, **kwargs
)
2703 def base_OnDragLeft(*args
, **kwargs
):
2704 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2705 return _ogl
.PyEllipseShape_base_OnDragLeft(*args
, **kwargs
)
2707 def base_OnBeginDragLeft(*args
, **kwargs
):
2708 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2709 return _ogl
.PyEllipseShape_base_OnBeginDragLeft(*args
, **kwargs
)
2711 def base_OnEndDragLeft(*args
, **kwargs
):
2712 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2713 return _ogl
.PyEllipseShape_base_OnEndDragLeft(*args
, **kwargs
)
2715 def base_OnDragRight(*args
, **kwargs
):
2716 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2717 return _ogl
.PyEllipseShape_base_OnDragRight(*args
, **kwargs
)
2719 def base_OnBeginDragRight(*args
, **kwargs
):
2720 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2721 return _ogl
.PyEllipseShape_base_OnBeginDragRight(*args
, **kwargs
)
2723 def base_OnEndDragRight(*args
, **kwargs
):
2724 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2725 return _ogl
.PyEllipseShape_base_OnEndDragRight(*args
, **kwargs
)
2727 def base_OnDrawOutline(*args
, **kwargs
):
2728 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2729 return _ogl
.PyEllipseShape_base_OnDrawOutline(*args
, **kwargs
)
2731 def base_OnDrawControlPoints(*args
, **kwargs
):
2732 """base_OnDrawControlPoints(wxDC dc)"""
2733 return _ogl
.PyEllipseShape_base_OnDrawControlPoints(*args
, **kwargs
)
2735 def base_OnEraseControlPoints(*args
, **kwargs
):
2736 """base_OnEraseControlPoints(wxDC dc)"""
2737 return _ogl
.PyEllipseShape_base_OnEraseControlPoints(*args
, **kwargs
)
2739 def base_OnMoveLink(*args
, **kwargs
):
2740 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2741 return _ogl
.PyEllipseShape_base_OnMoveLink(*args
, **kwargs
)
2743 def base_OnSizingDragLeft(*args
, **kwargs
):
2745 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2748 return _ogl
.PyEllipseShape_base_OnSizingDragLeft(*args
, **kwargs
)
2750 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2752 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2755 return _ogl
.PyEllipseShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2757 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2759 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2762 return _ogl
.PyEllipseShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2764 def base_OnBeginSize(*args
, **kwargs
):
2765 """base_OnBeginSize(double w, double h)"""
2766 return _ogl
.PyEllipseShape_base_OnBeginSize(*args
, **kwargs
)
2768 def base_OnEndSize(*args
, **kwargs
):
2769 """base_OnEndSize(double w, double h)"""
2770 return _ogl
.PyEllipseShape_base_OnEndSize(*args
, **kwargs
)
2773 class PyEllipseShapePtr(PyEllipseShape
):
2774 def __init__(self
, this
):
2776 if not hasattr(self
,"thisown"): self
.thisown
= 0
2777 self
.__class
__ = PyEllipseShape
2778 _ogl
.PyEllipseShape_swigregister(PyEllipseShapePtr
)
2780 class PyCircleShape(PyEllipseShape
):
2782 return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2783 def __init__(self
, *args
, **kwargs
):
2784 """__init__(double width=0.0) -> PyCircleShape"""
2785 newobj
= _ogl
.new_PyCircleShape(*args
, **kwargs
)
2786 self
.this
= newobj
.this
2789 self
._setOORandCallbackInfo
(PyCircleShape
)
2791 def _setCallbackInfo(*args
, **kwargs
):
2792 """_setCallbackInfo(PyObject self, PyObject _class)"""
2793 return _ogl
.PyCircleShape__setCallbackInfo(*args
, **kwargs
)
2795 def base_OnDraw(*args
, **kwargs
):
2796 """base_OnDraw(wxDC dc)"""
2797 return _ogl
.PyCircleShape_base_OnDraw(*args
, **kwargs
)
2799 def base_OnDrawContents(*args
, **kwargs
):
2800 """base_OnDrawContents(wxDC dc)"""
2801 return _ogl
.PyCircleShape_base_OnDrawContents(*args
, **kwargs
)
2803 def base_OnDrawBranches(*args
, **kwargs
):
2804 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2805 return _ogl
.PyCircleShape_base_OnDrawBranches(*args
, **kwargs
)
2807 def base_OnMoveLinks(*args
, **kwargs
):
2808 """base_OnMoveLinks(wxDC dc)"""
2809 return _ogl
.PyCircleShape_base_OnMoveLinks(*args
, **kwargs
)
2811 def base_OnErase(*args
, **kwargs
):
2812 """base_OnErase(wxDC dc)"""
2813 return _ogl
.PyCircleShape_base_OnErase(*args
, **kwargs
)
2815 def base_OnEraseContents(*args
, **kwargs
):
2816 """base_OnEraseContents(wxDC dc)"""
2817 return _ogl
.PyCircleShape_base_OnEraseContents(*args
, **kwargs
)
2819 def base_OnHighlight(*args
, **kwargs
):
2820 """base_OnHighlight(wxDC dc)"""
2821 return _ogl
.PyCircleShape_base_OnHighlight(*args
, **kwargs
)
2823 def base_OnLeftClick(*args
, **kwargs
):
2824 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2825 return _ogl
.PyCircleShape_base_OnLeftClick(*args
, **kwargs
)
2827 def base_OnLeftDoubleClick(*args
, **kwargs
):
2828 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2829 return _ogl
.PyCircleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2831 def base_OnRightClick(*args
, **kwargs
):
2832 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2833 return _ogl
.PyCircleShape_base_OnRightClick(*args
, **kwargs
)
2835 def base_OnSize(*args
, **kwargs
):
2836 """base_OnSize(double x, double y)"""
2837 return _ogl
.PyCircleShape_base_OnSize(*args
, **kwargs
)
2839 def base_OnMovePre(*args
, **kwargs
):
2841 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2842 bool display=True) -> bool
2844 return _ogl
.PyCircleShape_base_OnMovePre(*args
, **kwargs
)
2846 def base_OnMovePost(*args
, **kwargs
):
2848 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2851 return _ogl
.PyCircleShape_base_OnMovePost(*args
, **kwargs
)
2853 def base_OnDragLeft(*args
, **kwargs
):
2854 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2855 return _ogl
.PyCircleShape_base_OnDragLeft(*args
, **kwargs
)
2857 def base_OnBeginDragLeft(*args
, **kwargs
):
2858 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2859 return _ogl
.PyCircleShape_base_OnBeginDragLeft(*args
, **kwargs
)
2861 def base_OnEndDragLeft(*args
, **kwargs
):
2862 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2863 return _ogl
.PyCircleShape_base_OnEndDragLeft(*args
, **kwargs
)
2865 def base_OnDragRight(*args
, **kwargs
):
2866 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2867 return _ogl
.PyCircleShape_base_OnDragRight(*args
, **kwargs
)
2869 def base_OnBeginDragRight(*args
, **kwargs
):
2870 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2871 return _ogl
.PyCircleShape_base_OnBeginDragRight(*args
, **kwargs
)
2873 def base_OnEndDragRight(*args
, **kwargs
):
2874 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2875 return _ogl
.PyCircleShape_base_OnEndDragRight(*args
, **kwargs
)
2877 def base_OnDrawOutline(*args
, **kwargs
):
2878 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2879 return _ogl
.PyCircleShape_base_OnDrawOutline(*args
, **kwargs
)
2881 def base_OnDrawControlPoints(*args
, **kwargs
):
2882 """base_OnDrawControlPoints(wxDC dc)"""
2883 return _ogl
.PyCircleShape_base_OnDrawControlPoints(*args
, **kwargs
)
2885 def base_OnEraseControlPoints(*args
, **kwargs
):
2886 """base_OnEraseControlPoints(wxDC dc)"""
2887 return _ogl
.PyCircleShape_base_OnEraseControlPoints(*args
, **kwargs
)
2889 def base_OnMoveLink(*args
, **kwargs
):
2890 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2891 return _ogl
.PyCircleShape_base_OnMoveLink(*args
, **kwargs
)
2893 def base_OnSizingDragLeft(*args
, **kwargs
):
2895 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2898 return _ogl
.PyCircleShape_base_OnSizingDragLeft(*args
, **kwargs
)
2900 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2902 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2905 return _ogl
.PyCircleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2907 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2909 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2912 return _ogl
.PyCircleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2914 def base_OnBeginSize(*args
, **kwargs
):
2915 """base_OnBeginSize(double w, double h)"""
2916 return _ogl
.PyCircleShape_base_OnBeginSize(*args
, **kwargs
)
2918 def base_OnEndSize(*args
, **kwargs
):
2919 """base_OnEndSize(double w, double h)"""
2920 return _ogl
.PyCircleShape_base_OnEndSize(*args
, **kwargs
)
2923 class PyCircleShapePtr(PyCircleShape
):
2924 def __init__(self
, this
):
2926 if not hasattr(self
,"thisown"): self
.thisown
= 0
2927 self
.__class
__ = PyCircleShape
2928 _ogl
.PyCircleShape_swigregister(PyCircleShapePtr
)
2930 class ArrowHead(core
.Object
):
2932 return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2933 def __init__(self
, *args
, **kwargs
):
2935 __init__(int type=0, int end=0, double size=0.0, double dist=0.0,
2936 wxString name=wxPyEmptyString, PseudoMetaFile mf=None,
2937 long arrowId=-1) -> ArrowHead
2939 newobj
= _ogl
.new_ArrowHead(*args
, **kwargs
)
2940 self
.this
= newobj
.this
2943 def __del__(self
, destroy
=_ogl
.delete_ArrowHead
):
2946 if self
.thisown
: destroy(self
)
2949 def _GetType(*args
, **kwargs
):
2950 """_GetType() -> int"""
2951 return _ogl
.ArrowHead__GetType(*args
, **kwargs
)
2953 def GetPosition(*args
, **kwargs
):
2954 """GetPosition() -> int"""
2955 return _ogl
.ArrowHead_GetPosition(*args
, **kwargs
)
2957 def SetPosition(*args
, **kwargs
):
2958 """SetPosition(int pos)"""
2959 return _ogl
.ArrowHead_SetPosition(*args
, **kwargs
)
2961 def GetXOffset(*args
, **kwargs
):
2962 """GetXOffset() -> double"""
2963 return _ogl
.ArrowHead_GetXOffset(*args
, **kwargs
)
2965 def GetYOffset(*args
, **kwargs
):
2966 """GetYOffset() -> double"""
2967 return _ogl
.ArrowHead_GetYOffset(*args
, **kwargs
)
2969 def GetSpacing(*args
, **kwargs
):
2970 """GetSpacing() -> double"""
2971 return _ogl
.ArrowHead_GetSpacing(*args
, **kwargs
)
2973 def GetSize(*args
, **kwargs
):
2974 """GetSize() -> double"""
2975 return _ogl
.ArrowHead_GetSize(*args
, **kwargs
)
2977 def GetName(*args
, **kwargs
):
2978 """GetName() -> wxString"""
2979 return _ogl
.ArrowHead_GetName(*args
, **kwargs
)
2981 def SetXOffset(*args
, **kwargs
):
2982 """SetXOffset(double x)"""
2983 return _ogl
.ArrowHead_SetXOffset(*args
, **kwargs
)
2985 def SetYOffset(*args
, **kwargs
):
2986 """SetYOffset(double y)"""
2987 return _ogl
.ArrowHead_SetYOffset(*args
, **kwargs
)
2989 def GetMetaFile(*args
, **kwargs
):
2990 """GetMetaFile() -> PseudoMetaFile"""
2991 return _ogl
.ArrowHead_GetMetaFile(*args
, **kwargs
)
2993 def GetId(*args
, **kwargs
):
2994 """GetId() -> long"""
2995 return _ogl
.ArrowHead_GetId(*args
, **kwargs
)
2997 def GetArrowEnd(*args
, **kwargs
):
2998 """GetArrowEnd() -> int"""
2999 return _ogl
.ArrowHead_GetArrowEnd(*args
, **kwargs
)
3001 def GetArrowSize(*args
, **kwargs
):
3002 """GetArrowSize() -> double"""
3003 return _ogl
.ArrowHead_GetArrowSize(*args
, **kwargs
)
3005 def SetSize(*args
, **kwargs
):
3006 """SetSize(double size)"""
3007 return _ogl
.ArrowHead_SetSize(*args
, **kwargs
)
3009 def SetSpacing(*args
, **kwargs
):
3010 """SetSpacing(double sp)"""
3011 return _ogl
.ArrowHead_SetSpacing(*args
, **kwargs
)
3014 class ArrowHeadPtr(ArrowHead
):
3015 def __init__(self
, this
):
3017 if not hasattr(self
,"thisown"): self
.thisown
= 0
3018 self
.__class
__ = ArrowHead
3019 _ogl
.ArrowHead_swigregister(ArrowHeadPtr
)
3021 class PyLineShape(PyShape
):
3023 return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3024 def __init__(self
, *args
, **kwargs
):
3025 """__init__() -> PyLineShape"""
3026 newobj
= _ogl
.new_PyLineShape(*args
, **kwargs
)
3027 self
.this
= newobj
.this
3030 self
._setOORandCallbackInfo
(PyLineShape
)
3032 def _setCallbackInfo(*args
, **kwargs
):
3033 """_setCallbackInfo(PyObject self, PyObject _class)"""
3034 return _ogl
.PyLineShape__setCallbackInfo(*args
, **kwargs
)
3036 def AddArrow(*args
, **kwargs
):
3038 AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
3039 double xOffset=0.0, wxString name=wxPyEmptyString,
3040 PseudoMetaFile mf=None, long arrowId=-1)
3042 return _ogl
.PyLineShape_AddArrow(*args
, **kwargs
)
3044 def AddArrowOrdered(*args
, **kwargs
):
3045 """AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)"""
3046 return _ogl
.PyLineShape_AddArrowOrdered(*args
, **kwargs
)
3048 def ClearArrow(*args
, **kwargs
):
3049 """ClearArrow(wxString name) -> bool"""
3050 return _ogl
.PyLineShape_ClearArrow(*args
, **kwargs
)
3052 def ClearArrowsAtPosition(*args
, **kwargs
):
3053 """ClearArrowsAtPosition(int position=-1)"""
3054 return _ogl
.PyLineShape_ClearArrowsAtPosition(*args
, **kwargs
)
3056 def DrawArrow(*args
, **kwargs
):
3057 """DrawArrow(wxDC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)"""
3058 return _ogl
.PyLineShape_DrawArrow(*args
, **kwargs
)
3060 def DeleteArrowHeadId(*args
, **kwargs
):
3061 """DeleteArrowHeadId(long arrowId) -> bool"""
3062 return _ogl
.PyLineShape_DeleteArrowHeadId(*args
, **kwargs
)
3064 def DeleteArrowHead(*args
, **kwargs
):
3065 """DeleteArrowHead(int position, wxString name) -> bool"""
3066 return _ogl
.PyLineShape_DeleteArrowHead(*args
, **kwargs
)
3068 def DeleteLineControlPoint(*args
, **kwargs
):
3069 """DeleteLineControlPoint() -> bool"""
3070 return _ogl
.PyLineShape_DeleteLineControlPoint(*args
, **kwargs
)
3072 def DrawArrows(*args
, **kwargs
):
3073 """DrawArrows(wxDC dc)"""
3074 return _ogl
.PyLineShape_DrawArrows(*args
, **kwargs
)
3076 def DrawRegion(*args
, **kwargs
):
3077 """DrawRegion(wxDC dc, ShapeRegion region, double x, double y)"""
3078 return _ogl
.PyLineShape_DrawRegion(*args
, **kwargs
)
3080 def EraseRegion(*args
, **kwargs
):
3081 """EraseRegion(wxDC dc, ShapeRegion region, double x, double y)"""
3082 return _ogl
.PyLineShape_EraseRegion(*args
, **kwargs
)
3084 def FindArrowHeadId(*args
, **kwargs
):
3085 """FindArrowHeadId(long arrowId) -> ArrowHead"""
3086 return _ogl
.PyLineShape_FindArrowHeadId(*args
, **kwargs
)
3088 def FindArrowHead(*args
, **kwargs
):
3089 """FindArrowHead(int position, wxString name) -> ArrowHead"""
3090 return _ogl
.PyLineShape_FindArrowHead(*args
, **kwargs
)
3092 def FindLineEndPoints(*args
, **kwargs
):
3093 """FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3094 return _ogl
.PyLineShape_FindLineEndPoints(*args
, **kwargs
)
3096 def FindLinePosition(*args
, **kwargs
):
3097 """FindLinePosition(double x, double y) -> int"""
3098 return _ogl
.PyLineShape_FindLinePosition(*args
, **kwargs
)
3100 def FindMinimumWidth(*args
, **kwargs
):
3101 """FindMinimumWidth() -> double"""
3102 return _ogl
.PyLineShape_FindMinimumWidth(*args
, **kwargs
)
3104 def FindNth(*args
, **kwargs
):
3105 """FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)"""
3106 return _ogl
.PyLineShape_FindNth(*args
, **kwargs
)
3108 def GetAttachmentFrom(*args
, **kwargs
):
3109 """GetAttachmentFrom() -> int"""
3110 return _ogl
.PyLineShape_GetAttachmentFrom(*args
, **kwargs
)
3112 def GetAttachmentTo(*args
, **kwargs
):
3113 """GetAttachmentTo() -> int"""
3114 return _ogl
.PyLineShape_GetAttachmentTo(*args
, **kwargs
)
3116 def GetEnds(*args
, **kwargs
):
3117 """GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3118 return _ogl
.PyLineShape_GetEnds(*args
, **kwargs
)
3120 def GetFrom(*args
, **kwargs
):
3121 """GetFrom() -> PyShape"""
3122 return _ogl
.PyLineShape_GetFrom(*args
, **kwargs
)
3124 def GetLabelPosition(*args
, **kwargs
):
3125 """GetLabelPosition(int position, double OUTPUT, double OUTPUT)"""
3126 return _ogl
.PyLineShape_GetLabelPosition(*args
, **kwargs
)
3128 def GetNextControlPoint(*args
, **kwargs
):
3129 """GetNextControlPoint(PyShape shape) -> RealPoint"""
3130 return _ogl
.PyLineShape_GetNextControlPoint(*args
, **kwargs
)
3132 def GetTo(*args
, **kwargs
):
3133 """GetTo() -> PyShape"""
3134 return _ogl
.PyLineShape_GetTo(*args
, **kwargs
)
3136 def Initialise(*args
, **kwargs
):
3138 return _ogl
.PyLineShape_Initialise(*args
, **kwargs
)
3140 def InsertLineControlPoint(*args
, **kwargs
):
3141 """InsertLineControlPoint(wxDC dc)"""
3142 return _ogl
.PyLineShape_InsertLineControlPoint(*args
, **kwargs
)
3144 def IsEnd(*args
, **kwargs
):
3145 """IsEnd(PyShape shape) -> bool"""
3146 return _ogl
.PyLineShape_IsEnd(*args
, **kwargs
)
3148 def IsSpline(*args
, **kwargs
):
3149 """IsSpline() -> bool"""
3150 return _ogl
.PyLineShape_IsSpline(*args
, **kwargs
)
3152 def MakeLineControlPoints(*args
, **kwargs
):
3153 """MakeLineControlPoints(int n)"""
3154 return _ogl
.PyLineShape_MakeLineControlPoints(*args
, **kwargs
)
3156 def GetLineControlPoints(*args
, **kwargs
):
3157 """GetLineControlPoints() -> PyObject"""
3158 return _ogl
.PyLineShape_GetLineControlPoints(*args
, **kwargs
)
3160 def SetAttachmentFrom(*args
, **kwargs
):
3161 """SetAttachmentFrom(int fromAttach)"""
3162 return _ogl
.PyLineShape_SetAttachmentFrom(*args
, **kwargs
)
3164 def SetAttachments(*args
, **kwargs
):
3165 """SetAttachments(int fromAttach, int toAttach)"""
3166 return _ogl
.PyLineShape_SetAttachments(*args
, **kwargs
)
3168 def SetAttachmentTo(*args
, **kwargs
):
3169 """SetAttachmentTo(int toAttach)"""
3170 return _ogl
.PyLineShape_SetAttachmentTo(*args
, **kwargs
)
3172 def SetEnds(*args
, **kwargs
):
3173 """SetEnds(double x1, double y1, double x2, double y2)"""
3174 return _ogl
.PyLineShape_SetEnds(*args
, **kwargs
)
3176 def SetFrom(*args
, **kwargs
):
3177 """SetFrom(PyShape object)"""
3178 return _ogl
.PyLineShape_SetFrom(*args
, **kwargs
)
3180 def SetIgnoreOffsets(*args
, **kwargs
):
3181 """SetIgnoreOffsets(bool ignore)"""
3182 return _ogl
.PyLineShape_SetIgnoreOffsets(*args
, **kwargs
)
3184 def SetSpline(*args
, **kwargs
):
3185 """SetSpline(bool spline)"""
3186 return _ogl
.PyLineShape_SetSpline(*args
, **kwargs
)
3188 def SetTo(*args
, **kwargs
):
3189 """SetTo(PyShape object)"""
3190 return _ogl
.PyLineShape_SetTo(*args
, **kwargs
)
3192 def Straighten(*args
, **kwargs
):
3193 """Straighten(wxDC dc=None)"""
3194 return _ogl
.PyLineShape_Straighten(*args
, **kwargs
)
3196 def Unlink(*args
, **kwargs
):
3198 return _ogl
.PyLineShape_Unlink(*args
, **kwargs
)
3200 def base_OnDraw(*args
, **kwargs
):
3201 """base_OnDraw(wxDC dc)"""
3202 return _ogl
.PyLineShape_base_OnDraw(*args
, **kwargs
)
3204 def base_OnDrawContents(*args
, **kwargs
):
3205 """base_OnDrawContents(wxDC dc)"""
3206 return _ogl
.PyLineShape_base_OnDrawContents(*args
, **kwargs
)
3208 def base_OnDrawBranches(*args
, **kwargs
):
3209 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3210 return _ogl
.PyLineShape_base_OnDrawBranches(*args
, **kwargs
)
3212 def base_OnMoveLinks(*args
, **kwargs
):
3213 """base_OnMoveLinks(wxDC dc)"""
3214 return _ogl
.PyLineShape_base_OnMoveLinks(*args
, **kwargs
)
3216 def base_OnErase(*args
, **kwargs
):
3217 """base_OnErase(wxDC dc)"""
3218 return _ogl
.PyLineShape_base_OnErase(*args
, **kwargs
)
3220 def base_OnEraseContents(*args
, **kwargs
):
3221 """base_OnEraseContents(wxDC dc)"""
3222 return _ogl
.PyLineShape_base_OnEraseContents(*args
, **kwargs
)
3224 def base_OnHighlight(*args
, **kwargs
):
3225 """base_OnHighlight(wxDC dc)"""
3226 return _ogl
.PyLineShape_base_OnHighlight(*args
, **kwargs
)
3228 def base_OnLeftClick(*args
, **kwargs
):
3229 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3230 return _ogl
.PyLineShape_base_OnLeftClick(*args
, **kwargs
)
3232 def base_OnLeftDoubleClick(*args
, **kwargs
):
3233 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3234 return _ogl
.PyLineShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3236 def base_OnRightClick(*args
, **kwargs
):
3237 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3238 return _ogl
.PyLineShape_base_OnRightClick(*args
, **kwargs
)
3240 def base_OnSize(*args
, **kwargs
):
3241 """base_OnSize(double x, double y)"""
3242 return _ogl
.PyLineShape_base_OnSize(*args
, **kwargs
)
3244 def base_OnMovePre(*args
, **kwargs
):
3246 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3247 bool display=True) -> bool
3249 return _ogl
.PyLineShape_base_OnMovePre(*args
, **kwargs
)
3251 def base_OnMovePost(*args
, **kwargs
):
3253 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3256 return _ogl
.PyLineShape_base_OnMovePost(*args
, **kwargs
)
3258 def base_OnDragLeft(*args
, **kwargs
):
3259 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3260 return _ogl
.PyLineShape_base_OnDragLeft(*args
, **kwargs
)
3262 def base_OnBeginDragLeft(*args
, **kwargs
):
3263 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3264 return _ogl
.PyLineShape_base_OnBeginDragLeft(*args
, **kwargs
)
3266 def base_OnEndDragLeft(*args
, **kwargs
):
3267 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3268 return _ogl
.PyLineShape_base_OnEndDragLeft(*args
, **kwargs
)
3270 def base_OnDragRight(*args
, **kwargs
):
3271 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3272 return _ogl
.PyLineShape_base_OnDragRight(*args
, **kwargs
)
3274 def base_OnBeginDragRight(*args
, **kwargs
):
3275 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3276 return _ogl
.PyLineShape_base_OnBeginDragRight(*args
, **kwargs
)
3278 def base_OnEndDragRight(*args
, **kwargs
):
3279 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3280 return _ogl
.PyLineShape_base_OnEndDragRight(*args
, **kwargs
)
3282 def base_OnDrawOutline(*args
, **kwargs
):
3283 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3284 return _ogl
.PyLineShape_base_OnDrawOutline(*args
, **kwargs
)
3286 def base_OnDrawControlPoints(*args
, **kwargs
):
3287 """base_OnDrawControlPoints(wxDC dc)"""
3288 return _ogl
.PyLineShape_base_OnDrawControlPoints(*args
, **kwargs
)
3290 def base_OnEraseControlPoints(*args
, **kwargs
):
3291 """base_OnEraseControlPoints(wxDC dc)"""
3292 return _ogl
.PyLineShape_base_OnEraseControlPoints(*args
, **kwargs
)
3294 def base_OnMoveLink(*args
, **kwargs
):
3295 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3296 return _ogl
.PyLineShape_base_OnMoveLink(*args
, **kwargs
)
3298 def base_OnSizingDragLeft(*args
, **kwargs
):
3300 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3303 return _ogl
.PyLineShape_base_OnSizingDragLeft(*args
, **kwargs
)
3305 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3307 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3310 return _ogl
.PyLineShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3312 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3314 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3317 return _ogl
.PyLineShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3319 def base_OnBeginSize(*args
, **kwargs
):
3320 """base_OnBeginSize(double w, double h)"""
3321 return _ogl
.PyLineShape_base_OnBeginSize(*args
, **kwargs
)
3323 def base_OnEndSize(*args
, **kwargs
):
3324 """base_OnEndSize(double w, double h)"""
3325 return _ogl
.PyLineShape_base_OnEndSize(*args
, **kwargs
)
3328 class PyLineShapePtr(PyLineShape
):
3329 def __init__(self
, this
):
3331 if not hasattr(self
,"thisown"): self
.thisown
= 0
3332 self
.__class
__ = PyLineShape
3333 _ogl
.PyLineShape_swigregister(PyLineShapePtr
)
3335 class PyPolygonShape(PyShape
):
3337 return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3338 def __init__(self
, *args
, **kwargs
):
3339 """__init__() -> PyPolygonShape"""
3340 newobj
= _ogl
.new_PyPolygonShape(*args
, **kwargs
)
3341 self
.this
= newobj
.this
3344 self
._setOORandCallbackInfo
(PyPolygonShape
)
3346 def _setCallbackInfo(*args
, **kwargs
):
3347 """_setCallbackInfo(PyObject self, PyObject _class)"""
3348 return _ogl
.PyPolygonShape__setCallbackInfo(*args
, **kwargs
)
3350 def Create(*args
, **kwargs
):
3351 """Create(PyObject points) -> PyObject"""
3352 return _ogl
.PyPolygonShape_Create(*args
, **kwargs
)
3354 def AddPolygonPoint(*args
, **kwargs
):
3355 """AddPolygonPoint(int pos=0)"""
3356 return _ogl
.PyPolygonShape_AddPolygonPoint(*args
, **kwargs
)
3358 def CalculatePolygonCentre(*args
, **kwargs
):
3359 """CalculatePolygonCentre()"""
3360 return _ogl
.PyPolygonShape_CalculatePolygonCentre(*args
, **kwargs
)
3362 def DeletePolygonPoint(*args
, **kwargs
):
3363 """DeletePolygonPoint(int pos=0)"""
3364 return _ogl
.PyPolygonShape_DeletePolygonPoint(*args
, **kwargs
)
3366 def GetPoints(*args
, **kwargs
):
3367 """GetPoints() -> PyObject"""
3368 return _ogl
.PyPolygonShape_GetPoints(*args
, **kwargs
)
3370 def UpdateOriginalPoints(*args
, **kwargs
):
3371 """UpdateOriginalPoints()"""
3372 return _ogl
.PyPolygonShape_UpdateOriginalPoints(*args
, **kwargs
)
3374 def base_OnDraw(*args
, **kwargs
):
3375 """base_OnDraw(wxDC dc)"""
3376 return _ogl
.PyPolygonShape_base_OnDraw(*args
, **kwargs
)
3378 def base_OnDrawContents(*args
, **kwargs
):
3379 """base_OnDrawContents(wxDC dc)"""
3380 return _ogl
.PyPolygonShape_base_OnDrawContents(*args
, **kwargs
)
3382 def base_OnDrawBranches(*args
, **kwargs
):
3383 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3384 return _ogl
.PyPolygonShape_base_OnDrawBranches(*args
, **kwargs
)
3386 def base_OnMoveLinks(*args
, **kwargs
):
3387 """base_OnMoveLinks(wxDC dc)"""
3388 return _ogl
.PyPolygonShape_base_OnMoveLinks(*args
, **kwargs
)
3390 def base_OnErase(*args
, **kwargs
):
3391 """base_OnErase(wxDC dc)"""
3392 return _ogl
.PyPolygonShape_base_OnErase(*args
, **kwargs
)
3394 def base_OnEraseContents(*args
, **kwargs
):
3395 """base_OnEraseContents(wxDC dc)"""
3396 return _ogl
.PyPolygonShape_base_OnEraseContents(*args
, **kwargs
)
3398 def base_OnHighlight(*args
, **kwargs
):
3399 """base_OnHighlight(wxDC dc)"""
3400 return _ogl
.PyPolygonShape_base_OnHighlight(*args
, **kwargs
)
3402 def base_OnLeftClick(*args
, **kwargs
):
3403 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3404 return _ogl
.PyPolygonShape_base_OnLeftClick(*args
, **kwargs
)
3406 def base_OnLeftDoubleClick(*args
, **kwargs
):
3407 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3408 return _ogl
.PyPolygonShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3410 def base_OnRightClick(*args
, **kwargs
):
3411 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3412 return _ogl
.PyPolygonShape_base_OnRightClick(*args
, **kwargs
)
3414 def base_OnSize(*args
, **kwargs
):
3415 """base_OnSize(double x, double y)"""
3416 return _ogl
.PyPolygonShape_base_OnSize(*args
, **kwargs
)
3418 def base_OnMovePre(*args
, **kwargs
):
3420 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3421 bool display=True) -> bool
3423 return _ogl
.PyPolygonShape_base_OnMovePre(*args
, **kwargs
)
3425 def base_OnMovePost(*args
, **kwargs
):
3427 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3430 return _ogl
.PyPolygonShape_base_OnMovePost(*args
, **kwargs
)
3432 def base_OnDragLeft(*args
, **kwargs
):
3433 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3434 return _ogl
.PyPolygonShape_base_OnDragLeft(*args
, **kwargs
)
3436 def base_OnBeginDragLeft(*args
, **kwargs
):
3437 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3438 return _ogl
.PyPolygonShape_base_OnBeginDragLeft(*args
, **kwargs
)
3440 def base_OnEndDragLeft(*args
, **kwargs
):
3441 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3442 return _ogl
.PyPolygonShape_base_OnEndDragLeft(*args
, **kwargs
)
3444 def base_OnDragRight(*args
, **kwargs
):
3445 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3446 return _ogl
.PyPolygonShape_base_OnDragRight(*args
, **kwargs
)
3448 def base_OnBeginDragRight(*args
, **kwargs
):
3449 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3450 return _ogl
.PyPolygonShape_base_OnBeginDragRight(*args
, **kwargs
)
3452 def base_OnEndDragRight(*args
, **kwargs
):
3453 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3454 return _ogl
.PyPolygonShape_base_OnEndDragRight(*args
, **kwargs
)
3456 def base_OnDrawOutline(*args
, **kwargs
):
3457 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3458 return _ogl
.PyPolygonShape_base_OnDrawOutline(*args
, **kwargs
)
3460 def base_OnDrawControlPoints(*args
, **kwargs
):
3461 """base_OnDrawControlPoints(wxDC dc)"""
3462 return _ogl
.PyPolygonShape_base_OnDrawControlPoints(*args
, **kwargs
)
3464 def base_OnEraseControlPoints(*args
, **kwargs
):
3465 """base_OnEraseControlPoints(wxDC dc)"""
3466 return _ogl
.PyPolygonShape_base_OnEraseControlPoints(*args
, **kwargs
)
3468 def base_OnMoveLink(*args
, **kwargs
):
3469 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3470 return _ogl
.PyPolygonShape_base_OnMoveLink(*args
, **kwargs
)
3472 def base_OnSizingDragLeft(*args
, **kwargs
):
3474 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3477 return _ogl
.PyPolygonShape_base_OnSizingDragLeft(*args
, **kwargs
)
3479 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3481 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3484 return _ogl
.PyPolygonShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3486 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3488 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3491 return _ogl
.PyPolygonShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3493 def base_OnBeginSize(*args
, **kwargs
):
3494 """base_OnBeginSize(double w, double h)"""
3495 return _ogl
.PyPolygonShape_base_OnBeginSize(*args
, **kwargs
)
3497 def base_OnEndSize(*args
, **kwargs
):
3498 """base_OnEndSize(double w, double h)"""
3499 return _ogl
.PyPolygonShape_base_OnEndSize(*args
, **kwargs
)
3502 class PyPolygonShapePtr(PyPolygonShape
):
3503 def __init__(self
, this
):
3505 if not hasattr(self
,"thisown"): self
.thisown
= 0
3506 self
.__class
__ = PyPolygonShape
3507 _ogl
.PyPolygonShape_swigregister(PyPolygonShapePtr
)
3509 class PyTextShape(PyRectangleShape
):
3511 return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3512 def __init__(self
, *args
, **kwargs
):
3513 """__init__(double width=0.0, double height=0.0) -> PyTextShape"""
3514 newobj
= _ogl
.new_PyTextShape(*args
, **kwargs
)
3515 self
.this
= newobj
.this
3518 self
._setOORandCallbackInfo
(PyTextShape
)
3520 def _setCallbackInfo(*args
, **kwargs
):
3521 """_setCallbackInfo(PyObject self, PyObject _class)"""
3522 return _ogl
.PyTextShape__setCallbackInfo(*args
, **kwargs
)
3524 def base_OnDelete(*args
, **kwargs
):
3525 """base_OnDelete()"""
3526 return _ogl
.PyTextShape_base_OnDelete(*args
, **kwargs
)
3528 def base_OnDraw(*args
, **kwargs
):
3529 """base_OnDraw(wxDC dc)"""
3530 return _ogl
.PyTextShape_base_OnDraw(*args
, **kwargs
)
3532 def base_OnDrawContents(*args
, **kwargs
):
3533 """base_OnDrawContents(wxDC dc)"""
3534 return _ogl
.PyTextShape_base_OnDrawContents(*args
, **kwargs
)
3536 def base_OnDrawBranches(*args
, **kwargs
):
3537 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3538 return _ogl
.PyTextShape_base_OnDrawBranches(*args
, **kwargs
)
3540 def base_OnMoveLinks(*args
, **kwargs
):
3541 """base_OnMoveLinks(wxDC dc)"""
3542 return _ogl
.PyTextShape_base_OnMoveLinks(*args
, **kwargs
)
3544 def base_OnErase(*args
, **kwargs
):
3545 """base_OnErase(wxDC dc)"""
3546 return _ogl
.PyTextShape_base_OnErase(*args
, **kwargs
)
3548 def base_OnEraseContents(*args
, **kwargs
):
3549 """base_OnEraseContents(wxDC dc)"""
3550 return _ogl
.PyTextShape_base_OnEraseContents(*args
, **kwargs
)
3552 def base_OnHighlight(*args
, **kwargs
):
3553 """base_OnHighlight(wxDC dc)"""
3554 return _ogl
.PyTextShape_base_OnHighlight(*args
, **kwargs
)
3556 def base_OnLeftClick(*args
, **kwargs
):
3557 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3558 return _ogl
.PyTextShape_base_OnLeftClick(*args
, **kwargs
)
3560 def base_OnLeftDoubleClick(*args
, **kwargs
):
3561 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3562 return _ogl
.PyTextShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3564 def base_OnRightClick(*args
, **kwargs
):
3565 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3566 return _ogl
.PyTextShape_base_OnRightClick(*args
, **kwargs
)
3568 def base_OnSize(*args
, **kwargs
):
3569 """base_OnSize(double x, double y)"""
3570 return _ogl
.PyTextShape_base_OnSize(*args
, **kwargs
)
3572 def base_OnMovePre(*args
, **kwargs
):
3574 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3575 bool display=True) -> bool
3577 return _ogl
.PyTextShape_base_OnMovePre(*args
, **kwargs
)
3579 def base_OnMovePost(*args
, **kwargs
):
3581 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3584 return _ogl
.PyTextShape_base_OnMovePost(*args
, **kwargs
)
3586 def base_OnDragLeft(*args
, **kwargs
):
3587 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3588 return _ogl
.PyTextShape_base_OnDragLeft(*args
, **kwargs
)
3590 def base_OnBeginDragLeft(*args
, **kwargs
):
3591 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3592 return _ogl
.PyTextShape_base_OnBeginDragLeft(*args
, **kwargs
)
3594 def base_OnEndDragLeft(*args
, **kwargs
):
3595 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3596 return _ogl
.PyTextShape_base_OnEndDragLeft(*args
, **kwargs
)
3598 def base_OnDragRight(*args
, **kwargs
):
3599 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3600 return _ogl
.PyTextShape_base_OnDragRight(*args
, **kwargs
)
3602 def base_OnBeginDragRight(*args
, **kwargs
):
3603 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3604 return _ogl
.PyTextShape_base_OnBeginDragRight(*args
, **kwargs
)
3606 def base_OnEndDragRight(*args
, **kwargs
):
3607 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3608 return _ogl
.PyTextShape_base_OnEndDragRight(*args
, **kwargs
)
3610 def base_OnDrawOutline(*args
, **kwargs
):
3611 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3612 return _ogl
.PyTextShape_base_OnDrawOutline(*args
, **kwargs
)
3614 def base_OnDrawControlPoints(*args
, **kwargs
):
3615 """base_OnDrawControlPoints(wxDC dc)"""
3616 return _ogl
.PyTextShape_base_OnDrawControlPoints(*args
, **kwargs
)
3618 def base_OnEraseControlPoints(*args
, **kwargs
):
3619 """base_OnEraseControlPoints(wxDC dc)"""
3620 return _ogl
.PyTextShape_base_OnEraseControlPoints(*args
, **kwargs
)
3622 def base_OnMoveLink(*args
, **kwargs
):
3623 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3624 return _ogl
.PyTextShape_base_OnMoveLink(*args
, **kwargs
)
3626 def base_OnSizingDragLeft(*args
, **kwargs
):
3628 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3631 return _ogl
.PyTextShape_base_OnSizingDragLeft(*args
, **kwargs
)
3633 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3635 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3638 return _ogl
.PyTextShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3640 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3642 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3645 return _ogl
.PyTextShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3647 def base_OnBeginSize(*args
, **kwargs
):
3648 """base_OnBeginSize(double w, double h)"""
3649 return _ogl
.PyTextShape_base_OnBeginSize(*args
, **kwargs
)
3651 def base_OnEndSize(*args
, **kwargs
):
3652 """base_OnEndSize(double w, double h)"""
3653 return _ogl
.PyTextShape_base_OnEndSize(*args
, **kwargs
)
3656 class PyTextShapePtr(PyTextShape
):
3657 def __init__(self
, this
):
3659 if not hasattr(self
,"thisown"): self
.thisown
= 0
3660 self
.__class
__ = PyTextShape
3661 _ogl
.PyTextShape_swigregister(PyTextShapePtr
)
3663 class Diagram(core
.Object
):
3665 return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3666 def __init__(self
, *args
, **kwargs
):
3667 """__init__() -> Diagram"""
3668 newobj
= _ogl
.new_Diagram(*args
, **kwargs
)
3669 self
.this
= newobj
.this
3672 def AddShape(*args
, **kwargs
):
3673 """AddShape(PyShape shape, PyShape addAfter=None)"""
3674 return _ogl
.Diagram_AddShape(*args
, **kwargs
)
3676 def Clear(*args
, **kwargs
):
3677 """Clear(wxDC dc)"""
3678 return _ogl
.Diagram_Clear(*args
, **kwargs
)
3680 def DeleteAllShapes(*args
, **kwargs
):
3681 """DeleteAllShapes()"""
3682 return _ogl
.Diagram_DeleteAllShapes(*args
, **kwargs
)
3684 def DrawOutline(*args
, **kwargs
):
3685 """DrawOutline(wxDC dc, double x1, double y1, double x2, double y2)"""
3686 return _ogl
.Diagram_DrawOutline(*args
, **kwargs
)
3688 def FindShape(*args
, **kwargs
):
3689 """FindShape(long id) -> PyShape"""
3690 return _ogl
.Diagram_FindShape(*args
, **kwargs
)
3692 def GetCanvas(*args
, **kwargs
):
3693 """GetCanvas() -> PyShapeCanvas"""
3694 return _ogl
.Diagram_GetCanvas(*args
, **kwargs
)
3696 def GetCount(*args
, **kwargs
):
3697 """GetCount() -> int"""
3698 return _ogl
.Diagram_GetCount(*args
, **kwargs
)
3700 def GetGridSpacing(*args
, **kwargs
):
3701 """GetGridSpacing() -> double"""
3702 return _ogl
.Diagram_GetGridSpacing(*args
, **kwargs
)
3704 def GetMouseTolerance(*args
, **kwargs
):
3705 """GetMouseTolerance() -> int"""
3706 return _ogl
.Diagram_GetMouseTolerance(*args
, **kwargs
)
3708 def GetShapeList(*args
, **kwargs
):
3709 """GetShapeList() -> PyObject"""
3710 return _ogl
.Diagram_GetShapeList(*args
, **kwargs
)
3712 def GetQuickEditMode(*args
, **kwargs
):
3713 """GetQuickEditMode() -> bool"""
3714 return _ogl
.Diagram_GetQuickEditMode(*args
, **kwargs
)
3716 def GetSnapToGrid(*args
, **kwargs
):
3717 """GetSnapToGrid() -> bool"""
3718 return _ogl
.Diagram_GetSnapToGrid(*args
, **kwargs
)
3720 def InsertShape(*args
, **kwargs
):
3721 """InsertShape(PyShape shape)"""
3722 return _ogl
.Diagram_InsertShape(*args
, **kwargs
)
3724 def RecentreAll(*args
, **kwargs
):
3725 """RecentreAll(wxDC dc)"""
3726 return _ogl
.Diagram_RecentreAll(*args
, **kwargs
)
3728 def Redraw(*args
, **kwargs
):
3729 """Redraw(wxDC dc)"""
3730 return _ogl
.Diagram_Redraw(*args
, **kwargs
)
3732 def RemoveAllShapes(*args
, **kwargs
):
3733 """RemoveAllShapes()"""
3734 return _ogl
.Diagram_RemoveAllShapes(*args
, **kwargs
)
3736 def RemoveShape(*args
, **kwargs
):
3737 """RemoveShape(PyShape shape)"""
3738 return _ogl
.Diagram_RemoveShape(*args
, **kwargs
)
3740 def SetCanvas(*args
, **kwargs
):
3741 """SetCanvas(PyShapeCanvas canvas)"""
3742 return _ogl
.Diagram_SetCanvas(*args
, **kwargs
)
3744 def SetGridSpacing(*args
, **kwargs
):
3745 """SetGridSpacing(double spacing)"""
3746 return _ogl
.Diagram_SetGridSpacing(*args
, **kwargs
)
3748 def SetMouseTolerance(*args
, **kwargs
):
3749 """SetMouseTolerance(int tolerance)"""
3750 return _ogl
.Diagram_SetMouseTolerance(*args
, **kwargs
)
3752 def SetQuickEditMode(*args
, **kwargs
):
3753 """SetQuickEditMode(bool mode)"""
3754 return _ogl
.Diagram_SetQuickEditMode(*args
, **kwargs
)
3756 def SetSnapToGrid(*args
, **kwargs
):
3757 """SetSnapToGrid(bool snap)"""
3758 return _ogl
.Diagram_SetSnapToGrid(*args
, **kwargs
)
3760 def ShowAll(*args
, **kwargs
):
3761 """ShowAll(bool show)"""
3762 return _ogl
.Diagram_ShowAll(*args
, **kwargs
)
3764 def Snap(*args
, **kwargs
):
3765 """Snap(double INOUT, double INOUT)"""
3766 return _ogl
.Diagram_Snap(*args
, **kwargs
)
3769 class DiagramPtr(Diagram
):
3770 def __init__(self
, this
):
3772 if not hasattr(self
,"thisown"): self
.thisown
= 0
3773 self
.__class
__ = Diagram
3774 _ogl
.Diagram_swigregister(DiagramPtr
)
3776 class PyShapeCanvas(windows
.ScrolledWindow
):
3778 return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3779 def __init__(self
, *args
, **kwargs
):
3781 __init__(Window parent=None, int id=-1, Point pos=DefaultPosition,
3782 Size size=DefaultSize, long style=BORDER,
3783 wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas
3785 newobj
= _ogl
.new_PyShapeCanvas(*args
, **kwargs
)
3786 self
.this
= newobj
.this
3789 def _setCallbackInfo(*args
, **kwargs
):
3790 """_setCallbackInfo(PyObject self, PyObject _class)"""
3791 return _ogl
.PyShapeCanvas__setCallbackInfo(*args
, **kwargs
)
3793 def _setOORandCallbackInfo(self
, _class
):
3794 self
._setOORInfo
(self
)
3795 self
._setCallbackInfo
(self
, _class
)
3797 def AddShape(*args
, **kwargs
):
3798 """AddShape(PyShape shape, PyShape addAfter=None)"""
3799 return _ogl
.PyShapeCanvas_AddShape(*args
, **kwargs
)
3801 def FindShape(*args
, **kwargs
):
3803 FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None,
3804 PyShape notImage=None) -> PyShape
3806 return _ogl
.PyShapeCanvas_FindShape(*args
, **kwargs
)
3808 def FindFirstSensitiveShape(*args
, **kwargs
):
3809 """FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape"""
3810 return _ogl
.PyShapeCanvas_FindFirstSensitiveShape(*args
, **kwargs
)
3812 def GetDiagram(*args
, **kwargs
):
3813 """GetDiagram() -> Diagram"""
3814 return _ogl
.PyShapeCanvas_GetDiagram(*args
, **kwargs
)
3816 def GetQuickEditMode(*args
, **kwargs
):
3817 """GetQuickEditMode() -> bool"""
3818 return _ogl
.PyShapeCanvas_GetQuickEditMode(*args
, **kwargs
)
3820 def InsertShape(*args
, **kwargs
):
3821 """InsertShape(PyShape shape)"""
3822 return _ogl
.PyShapeCanvas_InsertShape(*args
, **kwargs
)
3824 def base_OnBeginDragLeft(*args
, **kwargs
):
3825 """base_OnBeginDragLeft(double x, double y, int keys=0)"""
3826 return _ogl
.PyShapeCanvas_base_OnBeginDragLeft(*args
, **kwargs
)
3828 def base_OnBeginDragRight(*args
, **kwargs
):
3829 """base_OnBeginDragRight(double x, double y, int keys=0)"""
3830 return _ogl
.PyShapeCanvas_base_OnBeginDragRight(*args
, **kwargs
)
3832 def base_OnEndDragLeft(*args
, **kwargs
):
3833 """base_OnEndDragLeft(double x, double y, int keys=0)"""
3834 return _ogl
.PyShapeCanvas_base_OnEndDragLeft(*args
, **kwargs
)
3836 def base_OnEndDragRight(*args
, **kwargs
):
3837 """base_OnEndDragRight(double x, double y, int keys=0)"""
3838 return _ogl
.PyShapeCanvas_base_OnEndDragRight(*args
, **kwargs
)
3840 def base_OnDragLeft(*args
, **kwargs
):
3841 """base_OnDragLeft(bool draw, double x, double y, int keys=0)"""
3842 return _ogl
.PyShapeCanvas_base_OnDragLeft(*args
, **kwargs
)
3844 def base_OnDragRight(*args
, **kwargs
):
3845 """base_OnDragRight(bool draw, double x, double y, int keys=0)"""
3846 return _ogl
.PyShapeCanvas_base_OnDragRight(*args
, **kwargs
)
3848 def base_OnLeftClick(*args
, **kwargs
):
3849 """base_OnLeftClick(double x, double y, int keys=0)"""
3850 return _ogl
.PyShapeCanvas_base_OnLeftClick(*args
, **kwargs
)
3852 def base_OnRightClick(*args
, **kwargs
):
3853 """base_OnRightClick(double x, double y, int keys=0)"""
3854 return _ogl
.PyShapeCanvas_base_OnRightClick(*args
, **kwargs
)
3856 def Redraw(*args
, **kwargs
):
3857 """Redraw(wxDC dc)"""
3858 return _ogl
.PyShapeCanvas_Redraw(*args
, **kwargs
)
3860 def RemoveShape(*args
, **kwargs
):
3861 """RemoveShape(PyShape shape)"""
3862 return _ogl
.PyShapeCanvas_RemoveShape(*args
, **kwargs
)
3864 def SetDiagram(*args
, **kwargs
):
3865 """SetDiagram(Diagram diagram)"""
3866 return _ogl
.PyShapeCanvas_SetDiagram(*args
, **kwargs
)
3868 def Snap(*args
, **kwargs
):
3869 """Snap(double INOUT, double INOUT)"""
3870 return _ogl
.PyShapeCanvas_Snap(*args
, **kwargs
)
3872 def GetShapeList(self
):
3873 return self
.GetDiagram().GetShapeList()
3876 class PyShapeCanvasPtr(PyShapeCanvas
):
3877 def __init__(self
, this
):
3879 if not hasattr(self
,"thisown"): self
.thisown
= 0
3880 self
.__class
__ = PyShapeCanvas
3881 _ogl
.PyShapeCanvas_swigregister(PyShapeCanvasPtr
)
3884 ShapeCanvas
= PyShapeCanvas
3885 ShapeEvtHandler
= PyShapeEvtHandler
3887 RectangleShape
= PyRectangleShape
3888 BitmapShape
= PyBitmapShape
3889 DrawnShape
= PyDrawnShape
3890 CompositeShape
= PyCompositeShape
3891 DividedShape
= PyDividedShape
3892 DivisionShape
= PyDivisionShape
3893 EllipseShape
= PyEllipseShape
3894 CircleShape
= PyCircleShape
3895 LineShape
= PyLineShape
3896 PolygonShape
= PyPolygonShape
3897 TextShape
= PyTextShape
3898 ControlPoint
= PyControlPoint
3900 KEY_SHIFT
= _ogl
.KEY_SHIFT
3901 KEY_CTRL
= _ogl
.KEY_CTRL
3902 ARROW_NONE
= _ogl
.ARROW_NONE
3903 ARROW_END
= _ogl
.ARROW_END
3904 ARROW_BOTH
= _ogl
.ARROW_BOTH
3905 ARROW_MIDDLE
= _ogl
.ARROW_MIDDLE
3906 ARROW_START
= _ogl
.ARROW_START
3907 ARROW_HOLLOW_CIRCLE
= _ogl
.ARROW_HOLLOW_CIRCLE
3908 ARROW_FILLED_CIRCLE
= _ogl
.ARROW_FILLED_CIRCLE
3909 ARROW_ARROW
= _ogl
.ARROW_ARROW
3910 ARROW_SINGLE_OBLIQUE
= _ogl
.ARROW_SINGLE_OBLIQUE
3911 ARROW_DOUBLE_OBLIQUE
= _ogl
.ARROW_DOUBLE_OBLIQUE
3912 ARROW_METAFILE
= _ogl
.ARROW_METAFILE
3913 ARROW_POSITION_END
= _ogl
.ARROW_POSITION_END
3914 ARROW_POSITION_START
= _ogl
.ARROW_POSITION_START
3915 CONTROL_POINT_VERTICAL
= _ogl
.CONTROL_POINT_VERTICAL
3916 CONTROL_POINT_HORIZONTAL
= _ogl
.CONTROL_POINT_HORIZONTAL
3917 CONTROL_POINT_DIAGONAL
= _ogl
.CONTROL_POINT_DIAGONAL
3918 CONTROL_POINT_ENDPOINT_TO
= _ogl
.CONTROL_POINT_ENDPOINT_TO
3919 CONTROL_POINT_ENDPOINT_FROM
= _ogl
.CONTROL_POINT_ENDPOINT_FROM
3920 CONTROL_POINT_LINE
= _ogl
.CONTROL_POINT_LINE
3921 FORMAT_NONE
= _ogl
.FORMAT_NONE
3922 FORMAT_CENTRE_HORIZ
= _ogl
.FORMAT_CENTRE_HORIZ
3923 FORMAT_CENTRE_VERT
= _ogl
.FORMAT_CENTRE_VERT
3924 FORMAT_SIZE_TO_CONTENTS
= _ogl
.FORMAT_SIZE_TO_CONTENTS
3925 LINE_ALIGNMENT_HORIZ
= _ogl
.LINE_ALIGNMENT_HORIZ
3926 LINE_ALIGNMENT_VERT
= _ogl
.LINE_ALIGNMENT_VERT
3927 LINE_ALIGNMENT_TO_NEXT_HANDLE
= _ogl
.LINE_ALIGNMENT_TO_NEXT_HANDLE
3928 LINE_ALIGNMENT_NONE
= _ogl
.LINE_ALIGNMENT_NONE
3929 SHADOW_NONE
= _ogl
.SHADOW_NONE
3930 SHADOW_LEFT
= _ogl
.SHADOW_LEFT
3931 SHADOW_RIGHT
= _ogl
.SHADOW_RIGHT
3932 OP_CLICK_LEFT
= _ogl
.OP_CLICK_LEFT
3933 OP_CLICK_RIGHT
= _ogl
.OP_CLICK_RIGHT
3934 OP_DRAG_LEFT
= _ogl
.OP_DRAG_LEFT
3935 OP_DRAG_RIGHT
= _ogl
.OP_DRAG_RIGHT
3936 OP_ALL
= _ogl
.OP_ALL
3937 ATTACHMENT_MODE_NONE
= _ogl
.ATTACHMENT_MODE_NONE
3938 ATTACHMENT_MODE_EDGE
= _ogl
.ATTACHMENT_MODE_EDGE
3939 ATTACHMENT_MODE_BRANCHING
= _ogl
.ATTACHMENT_MODE_BRANCHING
3940 BRANCHING_ATTACHMENT_NORMAL
= _ogl
.BRANCHING_ATTACHMENT_NORMAL
3941 BRANCHING_ATTACHMENT_BLOB
= _ogl
.BRANCHING_ATTACHMENT_BLOB
3942 gyCONSTRAINT_CENTRED_VERTICALLY
= _ogl
.gyCONSTRAINT_CENTRED_VERTICALLY
3943 gyCONSTRAINT_CENTRED_HORIZONTALLY
= _ogl
.gyCONSTRAINT_CENTRED_HORIZONTALLY
3944 gyCONSTRAINT_CENTRED_BOTH
= _ogl
.gyCONSTRAINT_CENTRED_BOTH
3945 gyCONSTRAINT_LEFT_OF
= _ogl
.gyCONSTRAINT_LEFT_OF
3946 gyCONSTRAINT_RIGHT_OF
= _ogl
.gyCONSTRAINT_RIGHT_OF
3947 gyCONSTRAINT_ABOVE
= _ogl
.gyCONSTRAINT_ABOVE
3948 gyCONSTRAINT_BELOW
= _ogl
.gyCONSTRAINT_BELOW
3949 gyCONSTRAINT_ALIGNED_TOP
= _ogl
.gyCONSTRAINT_ALIGNED_TOP
3950 gyCONSTRAINT_ALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_ALIGNED_BOTTOM
3951 gyCONSTRAINT_ALIGNED_LEFT
= _ogl
.gyCONSTRAINT_ALIGNED_LEFT
3952 gyCONSTRAINT_ALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_ALIGNED_RIGHT
3953 gyCONSTRAINT_MIDALIGNED_TOP
= _ogl
.gyCONSTRAINT_MIDALIGNED_TOP
3954 gyCONSTRAINT_MIDALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_MIDALIGNED_BOTTOM
3955 gyCONSTRAINT_MIDALIGNED_LEFT
= _ogl
.gyCONSTRAINT_MIDALIGNED_LEFT
3956 gyCONSTRAINT_MIDALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_MIDALIGNED_RIGHT
3957 DIVISION_SIDE_NONE
= _ogl
.DIVISION_SIDE_NONE
3958 DIVISION_SIDE_LEFT
= _ogl
.DIVISION_SIDE_LEFT
3959 DIVISION_SIDE_TOP
= _ogl
.DIVISION_SIDE_TOP
3960 DIVISION_SIDE_RIGHT
= _ogl
.DIVISION_SIDE_RIGHT
3961 DIVISION_SIDE_BOTTOM
= _ogl
.DIVISION_SIDE_BOTTOM
3963 def OGLInitialize(*args
, **kwargs
):
3964 """OGLInitialize()"""
3965 return _ogl
.OGLInitialize(*args
, **kwargs
)
3967 def OGLCleanUp(*args
, **kwargs
):
3969 return _ogl
.OGLCleanUp(*args
, **kwargs
)