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
):
14 return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
15 def __init__(self
, *args
, **kwargs
):
16 """__init__() -> ShapeRegion"""
17 newobj
= _ogl
.new_ShapeRegion(*args
, **kwargs
)
18 self
.this
= newobj
.this
21 def SetText(*args
, **kwargs
):
22 """SetText(wxString s)"""
23 return _ogl
.ShapeRegion_SetText(*args
, **kwargs
)
25 def SetFont(*args
, **kwargs
):
26 """SetFont(wxFont f)"""
27 return _ogl
.ShapeRegion_SetFont(*args
, **kwargs
)
29 def SetMinSize(*args
, **kwargs
):
30 """SetMinSize(double w, double h)"""
31 return _ogl
.ShapeRegion_SetMinSize(*args
, **kwargs
)
33 def SetSize(*args
, **kwargs
):
34 """SetSize(double w, double h)"""
35 return _ogl
.ShapeRegion_SetSize(*args
, **kwargs
)
37 def SetPosition(*args
, **kwargs
):
38 """SetPosition(double x, double y)"""
39 return _ogl
.ShapeRegion_SetPosition(*args
, **kwargs
)
41 def SetProportions(*args
, **kwargs
):
42 """SetProportions(double x, double y)"""
43 return _ogl
.ShapeRegion_SetProportions(*args
, **kwargs
)
45 def SetFormatMode(*args
, **kwargs
):
46 """SetFormatMode(int mode)"""
47 return _ogl
.ShapeRegion_SetFormatMode(*args
, **kwargs
)
49 def SetName(*args
, **kwargs
):
50 """SetName(wxString s)"""
51 return _ogl
.ShapeRegion_SetName(*args
, **kwargs
)
53 def SetColour(*args
, **kwargs
):
54 """SetColour(wxString col)"""
55 return _ogl
.ShapeRegion_SetColour(*args
, **kwargs
)
57 def GetText(*args
, **kwargs
):
58 """GetText() -> wxString"""
59 return _ogl
.ShapeRegion_GetText(*args
, **kwargs
)
61 def GetFont(*args
, **kwargs
):
62 """GetFont() -> wxFont"""
63 return _ogl
.ShapeRegion_GetFont(*args
, **kwargs
)
65 def GetMinSize(*args
, **kwargs
):
66 """GetMinSize(double OUTPUT, double OUTPUT)"""
67 return _ogl
.ShapeRegion_GetMinSize(*args
, **kwargs
)
69 def GetProportion(*args
, **kwargs
):
70 """GetProportion(double OUTPUT, double OUTPUT)"""
71 return _ogl
.ShapeRegion_GetProportion(*args
, **kwargs
)
73 def GetSize(*args
, **kwargs
):
74 """GetSize(double OUTPUT, double OUTPUT)"""
75 return _ogl
.ShapeRegion_GetSize(*args
, **kwargs
)
77 def GetPosition(*args
, **kwargs
):
78 """GetPosition(double OUTPUT, double OUTPUT)"""
79 return _ogl
.ShapeRegion_GetPosition(*args
, **kwargs
)
81 def GetFormatMode(*args
, **kwargs
):
82 """GetFormatMode() -> int"""
83 return _ogl
.ShapeRegion_GetFormatMode(*args
, **kwargs
)
85 def GetName(*args
, **kwargs
):
86 """GetName() -> wxString"""
87 return _ogl
.ShapeRegion_GetName(*args
, **kwargs
)
89 def GetColour(*args
, **kwargs
):
90 """GetColour() -> wxString"""
91 return _ogl
.ShapeRegion_GetColour(*args
, **kwargs
)
93 def GetActualColourObject(*args
, **kwargs
):
94 """GetActualColourObject() -> wxColour"""
95 return _ogl
.ShapeRegion_GetActualColourObject(*args
, **kwargs
)
97 def GetFormattedText(*args
, **kwargs
):
98 """GetFormattedText() -> wxList"""
99 return _ogl
.ShapeRegion_GetFormattedText(*args
, **kwargs
)
101 def GetPenColour(*args
, **kwargs
):
102 """GetPenColour() -> wxString"""
103 return _ogl
.ShapeRegion_GetPenColour(*args
, **kwargs
)
105 def GetPenStyle(*args
, **kwargs
):
106 """GetPenStyle() -> int"""
107 return _ogl
.ShapeRegion_GetPenStyle(*args
, **kwargs
)
109 def SetPenStyle(*args
, **kwargs
):
110 """SetPenStyle(int style)"""
111 return _ogl
.ShapeRegion_SetPenStyle(*args
, **kwargs
)
113 def SetPenColour(*args
, **kwargs
):
114 """SetPenColour(wxString col)"""
115 return _ogl
.ShapeRegion_SetPenColour(*args
, **kwargs
)
117 def GetActualPen(*args
, **kwargs
):
118 """GetActualPen() -> wxPen"""
119 return _ogl
.ShapeRegion_GetActualPen(*args
, **kwargs
)
121 def GetWidth(*args
, **kwargs
):
122 """GetWidth() -> double"""
123 return _ogl
.ShapeRegion_GetWidth(*args
, **kwargs
)
125 def GetHeight(*args
, **kwargs
):
126 """GetHeight() -> double"""
127 return _ogl
.ShapeRegion_GetHeight(*args
, **kwargs
)
129 def ClearText(*args
, **kwargs
):
131 return _ogl
.ShapeRegion_ClearText(*args
, **kwargs
)
134 class ShapeRegionPtr(ShapeRegion
):
135 def __init__(self
, this
):
137 if not hasattr(self
,"thisown"): self
.thisown
= 0
138 self
.__class
__ = ShapeRegion
139 _ogl
.ShapeRegion_swigregister(ShapeRegionPtr
)
141 class PyShapeEvtHandler(core
.Object
):
144 return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
145 def __init__(self
, *args
, **kwargs
):
146 """__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler"""
147 newobj
= _ogl
.new_PyShapeEvtHandler(*args
, **kwargs
)
148 self
.this
= newobj
.this
151 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
153 def _setCallbackInfo(*args
, **kwargs
):
154 """_setCallbackInfo(PyObject self, PyObject _class)"""
155 return _ogl
.PyShapeEvtHandler__setCallbackInfo(*args
, **kwargs
)
157 def _setOORInfo(*args
, **kwargs
):
158 """_setOORInfo(PyObject _self)"""
159 return _ogl
.PyShapeEvtHandler__setOORInfo(*args
, **kwargs
)
161 def _setOORandCallbackInfo(self
, _class
):
162 self
._setOORInfo
(self
)
163 self
._setCallbackInfo
(self
, _class
)
165 def SetShape(*args
, **kwargs
):
166 """SetShape(PyShape sh)"""
167 return _ogl
.PyShapeEvtHandler_SetShape(*args
, **kwargs
)
169 def GetShape(*args
, **kwargs
):
170 """GetShape() -> PyShape"""
171 return _ogl
.PyShapeEvtHandler_GetShape(*args
, **kwargs
)
173 def SetPreviousHandler(*args
, **kwargs
):
174 """SetPreviousHandler(PyShapeEvtHandler handler)"""
175 return _ogl
.PyShapeEvtHandler_SetPreviousHandler(*args
, **kwargs
)
177 def GetPreviousHandler(*args
, **kwargs
):
178 """GetPreviousHandler() -> PyShapeEvtHandler"""
179 return _ogl
.PyShapeEvtHandler_GetPreviousHandler(*args
, **kwargs
)
181 def CreateNewCopy(*args
, **kwargs
):
182 """CreateNewCopy() -> PyShapeEvtHandler"""
183 return _ogl
.PyShapeEvtHandler_CreateNewCopy(*args
, **kwargs
)
185 def base_OnDelete(*args
, **kwargs
):
186 """base_OnDelete()"""
187 return _ogl
.PyShapeEvtHandler_base_OnDelete(*args
, **kwargs
)
189 def base_OnDraw(*args
, **kwargs
):
190 """base_OnDraw(wxDC dc)"""
191 return _ogl
.PyShapeEvtHandler_base_OnDraw(*args
, **kwargs
)
193 def base_OnDrawContents(*args
, **kwargs
):
194 """base_OnDrawContents(wxDC dc)"""
195 return _ogl
.PyShapeEvtHandler_base_OnDrawContents(*args
, **kwargs
)
197 def base_OnDrawBranches(*args
, **kwargs
):
198 """base_OnDrawBranches(wxDC dc, bool erase=False)"""
199 return _ogl
.PyShapeEvtHandler_base_OnDrawBranches(*args
, **kwargs
)
201 def base_OnMoveLinks(*args
, **kwargs
):
202 """base_OnMoveLinks(wxDC dc)"""
203 return _ogl
.PyShapeEvtHandler_base_OnMoveLinks(*args
, **kwargs
)
205 def base_OnErase(*args
, **kwargs
):
206 """base_OnErase(wxDC dc)"""
207 return _ogl
.PyShapeEvtHandler_base_OnErase(*args
, **kwargs
)
209 def base_OnEraseContents(*args
, **kwargs
):
210 """base_OnEraseContents(wxDC dc)"""
211 return _ogl
.PyShapeEvtHandler_base_OnEraseContents(*args
, **kwargs
)
213 def base_OnHighlight(*args
, **kwargs
):
214 """base_OnHighlight(wxDC dc)"""
215 return _ogl
.PyShapeEvtHandler_base_OnHighlight(*args
, **kwargs
)
217 def base_OnLeftClick(*args
, **kwargs
):
218 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
219 return _ogl
.PyShapeEvtHandler_base_OnLeftClick(*args
, **kwargs
)
221 def base_OnLeftDoubleClick(*args
, **kwargs
):
222 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
223 return _ogl
.PyShapeEvtHandler_base_OnLeftDoubleClick(*args
, **kwargs
)
225 def base_OnRightClick(*args
, **kwargs
):
226 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
227 return _ogl
.PyShapeEvtHandler_base_OnRightClick(*args
, **kwargs
)
229 def base_OnSize(*args
, **kwargs
):
230 """base_OnSize(double x, double y)"""
231 return _ogl
.PyShapeEvtHandler_base_OnSize(*args
, **kwargs
)
233 def base_OnMovePre(*args
, **kwargs
):
234 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
235 bool display=True) -> bool"""
236 return _ogl
.PyShapeEvtHandler_base_OnMovePre(*args
, **kwargs
)
238 def base_OnMovePost(*args
, **kwargs
):
239 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
240 bool display=True)"""
241 return _ogl
.PyShapeEvtHandler_base_OnMovePost(*args
, **kwargs
)
243 def base_OnDragLeft(*args
, **kwargs
):
244 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
245 return _ogl
.PyShapeEvtHandler_base_OnDragLeft(*args
, **kwargs
)
247 def base_OnBeginDragLeft(*args
, **kwargs
):
248 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
249 return _ogl
.PyShapeEvtHandler_base_OnBeginDragLeft(*args
, **kwargs
)
251 def base_OnEndDragLeft(*args
, **kwargs
):
252 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
253 return _ogl
.PyShapeEvtHandler_base_OnEndDragLeft(*args
, **kwargs
)
255 def base_OnDragRight(*args
, **kwargs
):
256 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
257 return _ogl
.PyShapeEvtHandler_base_OnDragRight(*args
, **kwargs
)
259 def base_OnBeginDragRight(*args
, **kwargs
):
260 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
261 return _ogl
.PyShapeEvtHandler_base_OnBeginDragRight(*args
, **kwargs
)
263 def base_OnEndDragRight(*args
, **kwargs
):
264 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
265 return _ogl
.PyShapeEvtHandler_base_OnEndDragRight(*args
, **kwargs
)
267 def base_OnDrawOutline(*args
, **kwargs
):
268 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
269 return _ogl
.PyShapeEvtHandler_base_OnDrawOutline(*args
, **kwargs
)
271 def base_OnDrawControlPoints(*args
, **kwargs
):
272 """base_OnDrawControlPoints(wxDC dc)"""
273 return _ogl
.PyShapeEvtHandler_base_OnDrawControlPoints(*args
, **kwargs
)
275 def base_OnEraseControlPoints(*args
, **kwargs
):
276 """base_OnEraseControlPoints(wxDC dc)"""
277 return _ogl
.PyShapeEvtHandler_base_OnEraseControlPoints(*args
, **kwargs
)
279 def base_OnMoveLink(*args
, **kwargs
):
280 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
281 return _ogl
.PyShapeEvtHandler_base_OnMoveLink(*args
, **kwargs
)
283 def base_OnSizingDragLeft(*args
, **kwargs
):
284 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
286 return _ogl
.PyShapeEvtHandler_base_OnSizingDragLeft(*args
, **kwargs
)
288 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
289 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
291 return _ogl
.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args
, **kwargs
)
293 def base_OnSizingEndDragLeft(*args
, **kwargs
):
294 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
296 return _ogl
.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args
, **kwargs
)
298 def base_OnBeginSize(*args
, **kwargs
):
299 """base_OnBeginSize(double w, double h)"""
300 return _ogl
.PyShapeEvtHandler_base_OnBeginSize(*args
, **kwargs
)
302 def base_OnEndSize(*args
, **kwargs
):
303 """base_OnEndSize(double w, double h)"""
304 return _ogl
.PyShapeEvtHandler_base_OnEndSize(*args
, **kwargs
)
307 class PyShapeEvtHandlerPtr(PyShapeEvtHandler
):
308 def __init__(self
, this
):
310 if not hasattr(self
,"thisown"): self
.thisown
= 0
311 self
.__class
__ = PyShapeEvtHandler
312 _ogl
.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr
)
314 class PyShape(PyShapeEvtHandler
):
317 return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
318 def __init__(self
, *args
, **kwargs
):
319 """__init__(PyShapeCanvas can=None) -> PyShape"""
320 newobj
= _ogl
.new_PyShape(*args
, **kwargs
)
321 self
.this
= newobj
.this
324 self
._setOORandCallbackInfo
(PyShapeEvtHandler
)
326 def _setCallbackInfo(*args
, **kwargs
):
327 """_setCallbackInfo(PyObject self, PyObject _class)"""
328 return _ogl
.PyShape__setCallbackInfo(*args
, **kwargs
)
330 def GetBoundingBoxMax(*args
, **kwargs
):
331 """GetBoundingBoxMax(double OUTPUT, double OUTPUT)"""
332 return _ogl
.PyShape_GetBoundingBoxMax(*args
, **kwargs
)
334 def GetBoundingBoxMin(*args
, **kwargs
):
335 """GetBoundingBoxMin(double OUTPUT, double OUTPUT)"""
336 return _ogl
.PyShape_GetBoundingBoxMin(*args
, **kwargs
)
338 def GetPerimeterPoint(*args
, **kwargs
):
339 """GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT,
340 double OUTPUT) -> bool"""
341 return _ogl
.PyShape_GetPerimeterPoint(*args
, **kwargs
)
343 def GetCanvas(*args
, **kwargs
):
344 """GetCanvas() -> PyShapeCanvas"""
345 return _ogl
.PyShape_GetCanvas(*args
, **kwargs
)
347 def SetCanvas(*args
, **kwargs
):
348 """SetCanvas(PyShapeCanvas the_canvas)"""
349 return _ogl
.PyShape_SetCanvas(*args
, **kwargs
)
351 def AddToCanvas(*args
, **kwargs
):
352 """AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)"""
353 return _ogl
.PyShape_AddToCanvas(*args
, **kwargs
)
355 def InsertInCanvas(*args
, **kwargs
):
356 """InsertInCanvas(PyShapeCanvas the_canvas)"""
357 return _ogl
.PyShape_InsertInCanvas(*args
, **kwargs
)
359 def RemoveFromCanvas(*args
, **kwargs
):
360 """RemoveFromCanvas(PyShapeCanvas the_canvas)"""
361 return _ogl
.PyShape_RemoveFromCanvas(*args
, **kwargs
)
363 def GetX(*args
, **kwargs
):
364 """GetX() -> double"""
365 return _ogl
.PyShape_GetX(*args
, **kwargs
)
367 def GetY(*args
, **kwargs
):
368 """GetY() -> double"""
369 return _ogl
.PyShape_GetY(*args
, **kwargs
)
371 def SetX(*args
, **kwargs
):
373 return _ogl
.PyShape_SetX(*args
, **kwargs
)
375 def SetY(*args
, **kwargs
):
377 return _ogl
.PyShape_SetY(*args
, **kwargs
)
379 def GetParent(*args
, **kwargs
):
380 """GetParent() -> PyShape"""
381 return _ogl
.PyShape_GetParent(*args
, **kwargs
)
383 def SetParent(*args
, **kwargs
):
384 """SetParent(PyShape p)"""
385 return _ogl
.PyShape_SetParent(*args
, **kwargs
)
387 def GetTopAncestor(*args
, **kwargs
):
388 """GetTopAncestor() -> PyShape"""
389 return _ogl
.PyShape_GetTopAncestor(*args
, **kwargs
)
391 def GetChildren(*args
, **kwargs
):
392 """GetChildren() -> PyObject"""
393 return _ogl
.PyShape_GetChildren(*args
, **kwargs
)
395 def Unlink(*args
, **kwargs
):
397 return _ogl
.PyShape_Unlink(*args
, **kwargs
)
399 def SetDrawHandles(*args
, **kwargs
):
400 """SetDrawHandles(bool drawH)"""
401 return _ogl
.PyShape_SetDrawHandles(*args
, **kwargs
)
403 def GetDrawHandles(*args
, **kwargs
):
404 """GetDrawHandles() -> bool"""
405 return _ogl
.PyShape_GetDrawHandles(*args
, **kwargs
)
407 def MakeControlPoints(*args
, **kwargs
):
408 """MakeControlPoints()"""
409 return _ogl
.PyShape_MakeControlPoints(*args
, **kwargs
)
411 def DeleteControlPoints(*args
, **kwargs
):
412 """DeleteControlPoints(wxDC dc=None)"""
413 return _ogl
.PyShape_DeleteControlPoints(*args
, **kwargs
)
415 def ResetControlPoints(*args
, **kwargs
):
416 """ResetControlPoints()"""
417 return _ogl
.PyShape_ResetControlPoints(*args
, **kwargs
)
419 def GetEventHandler(*args
, **kwargs
):
420 """GetEventHandler() -> PyShapeEvtHandler"""
421 return _ogl
.PyShape_GetEventHandler(*args
, **kwargs
)
423 def SetEventHandler(*args
, **kwargs
):
424 """SetEventHandler(PyShapeEvtHandler handler)"""
425 return _ogl
.PyShape_SetEventHandler(*args
, **kwargs
)
427 def MakeMandatoryControlPoints(*args
, **kwargs
):
428 """MakeMandatoryControlPoints()"""
429 return _ogl
.PyShape_MakeMandatoryControlPoints(*args
, **kwargs
)
431 def ResetMandatoryControlPoints(*args
, **kwargs
):
432 """ResetMandatoryControlPoints()"""
433 return _ogl
.PyShape_ResetMandatoryControlPoints(*args
, **kwargs
)
435 def Recompute(*args
, **kwargs
):
436 """Recompute() -> bool"""
437 return _ogl
.PyShape_Recompute(*args
, **kwargs
)
439 def CalculateSize(*args
, **kwargs
):
440 """CalculateSize()"""
441 return _ogl
.PyShape_CalculateSize(*args
, **kwargs
)
443 def Select(*args
, **kwargs
):
444 """Select(bool select=True, wxDC dc=None)"""
445 return _ogl
.PyShape_Select(*args
, **kwargs
)
447 def SetHighlight(*args
, **kwargs
):
448 """SetHighlight(bool hi=True, bool recurse=False)"""
449 return _ogl
.PyShape_SetHighlight(*args
, **kwargs
)
451 def IsHighlighted(*args
, **kwargs
):
452 """IsHighlighted() -> bool"""
453 return _ogl
.PyShape_IsHighlighted(*args
, **kwargs
)
455 def Selected(*args
, **kwargs
):
456 """Selected() -> bool"""
457 return _ogl
.PyShape_Selected(*args
, **kwargs
)
459 def AncestorSelected(*args
, **kwargs
):
460 """AncestorSelected() -> bool"""
461 return _ogl
.PyShape_AncestorSelected(*args
, **kwargs
)
463 def SetSensitivityFilter(*args
, **kwargs
):
464 """SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)"""
465 return _ogl
.PyShape_SetSensitivityFilter(*args
, **kwargs
)
467 def GetSensitivityFilter(*args
, **kwargs
):
468 """GetSensitivityFilter() -> int"""
469 return _ogl
.PyShape_GetSensitivityFilter(*args
, **kwargs
)
471 def SetDraggable(*args
, **kwargs
):
472 """SetDraggable(bool drag, bool recursive=False)"""
473 return _ogl
.PyShape_SetDraggable(*args
, **kwargs
)
475 def SetFixedSize(*args
, **kwargs
):
476 """SetFixedSize(bool x, bool y)"""
477 return _ogl
.PyShape_SetFixedSize(*args
, **kwargs
)
479 def GetFixedSize(*args
, **kwargs
):
480 """GetFixedSize(bool OUTPUT, bool OUTPUT)"""
481 return _ogl
.PyShape_GetFixedSize(*args
, **kwargs
)
483 def GetFixedWidth(*args
, **kwargs
):
484 """GetFixedWidth() -> bool"""
485 return _ogl
.PyShape_GetFixedWidth(*args
, **kwargs
)
487 def GetFixedHeight(*args
, **kwargs
):
488 """GetFixedHeight() -> bool"""
489 return _ogl
.PyShape_GetFixedHeight(*args
, **kwargs
)
491 def SetSpaceAttachments(*args
, **kwargs
):
492 """SetSpaceAttachments(bool sp)"""
493 return _ogl
.PyShape_SetSpaceAttachments(*args
, **kwargs
)
495 def GetSpaceAttachments(*args
, **kwargs
):
496 """GetSpaceAttachments() -> bool"""
497 return _ogl
.PyShape_GetSpaceAttachments(*args
, **kwargs
)
499 def SetShadowMode(*args
, **kwargs
):
500 """SetShadowMode(int mode, bool redraw=False)"""
501 return _ogl
.PyShape_SetShadowMode(*args
, **kwargs
)
503 def GetShadowMode(*args
, **kwargs
):
504 """GetShadowMode() -> int"""
505 return _ogl
.PyShape_GetShadowMode(*args
, **kwargs
)
507 def HitTest(*args
, **kwargs
):
508 """HitTest(double x, double y, int OUTPUT, double OUTPUT) -> bool"""
509 return _ogl
.PyShape_HitTest(*args
, **kwargs
)
511 def SetCentreResize(*args
, **kwargs
):
512 """SetCentreResize(bool cr)"""
513 return _ogl
.PyShape_SetCentreResize(*args
, **kwargs
)
515 def GetCentreResize(*args
, **kwargs
):
516 """GetCentreResize() -> bool"""
517 return _ogl
.PyShape_GetCentreResize(*args
, **kwargs
)
519 def SetMaintainAspectRatio(*args
, **kwargs
):
520 """SetMaintainAspectRatio(bool ar)"""
521 return _ogl
.PyShape_SetMaintainAspectRatio(*args
, **kwargs
)
523 def GetMaintainAspectRatio(*args
, **kwargs
):
524 """GetMaintainAspectRatio() -> bool"""
525 return _ogl
.PyShape_GetMaintainAspectRatio(*args
, **kwargs
)
527 def GetLines(*args
, **kwargs
):
528 """GetLines() -> PyObject"""
529 return _ogl
.PyShape_GetLines(*args
, **kwargs
)
531 def SetDisableLabel(*args
, **kwargs
):
532 """SetDisableLabel(bool flag)"""
533 return _ogl
.PyShape_SetDisableLabel(*args
, **kwargs
)
535 def GetDisableLabel(*args
, **kwargs
):
536 """GetDisableLabel() -> bool"""
537 return _ogl
.PyShape_GetDisableLabel(*args
, **kwargs
)
539 def SetAttachmentMode(*args
, **kwargs
):
540 """SetAttachmentMode(int mode)"""
541 return _ogl
.PyShape_SetAttachmentMode(*args
, **kwargs
)
543 def GetAttachmentMode(*args
, **kwargs
):
544 """GetAttachmentMode() -> int"""
545 return _ogl
.PyShape_GetAttachmentMode(*args
, **kwargs
)
547 def SetId(*args
, **kwargs
):
549 return _ogl
.PyShape_SetId(*args
, **kwargs
)
551 def GetId(*args
, **kwargs
):
552 """GetId() -> long"""
553 return _ogl
.PyShape_GetId(*args
, **kwargs
)
555 def SetPen(*args
, **kwargs
):
556 """SetPen(wxPen pen)"""
557 return _ogl
.PyShape_SetPen(*args
, **kwargs
)
559 def SetBrush(*args
, **kwargs
):
560 """SetBrush(wxBrush brush)"""
561 return _ogl
.PyShape_SetBrush(*args
, **kwargs
)
563 def SetClientData(self
, data
):
564 self
.clientData
= data
565 def GetClientData(self
):
566 if hasattr(self
, 'clientData'):
567 return self
.clientData
571 def Show(*args
, **kwargs
):
572 """Show(bool show)"""
573 return _ogl
.PyShape_Show(*args
, **kwargs
)
575 def IsShown(*args
, **kwargs
):
576 """IsShown() -> bool"""
577 return _ogl
.PyShape_IsShown(*args
, **kwargs
)
579 def Move(*args
, **kwargs
):
580 """Move(wxDC dc, double x1, double y1, bool display=True)"""
581 return _ogl
.PyShape_Move(*args
, **kwargs
)
583 def Erase(*args
, **kwargs
):
585 return _ogl
.PyShape_Erase(*args
, **kwargs
)
587 def EraseContents(*args
, **kwargs
):
588 """EraseContents(wxDC dc)"""
589 return _ogl
.PyShape_EraseContents(*args
, **kwargs
)
591 def Draw(*args
, **kwargs
):
593 return _ogl
.PyShape_Draw(*args
, **kwargs
)
595 def Flash(*args
, **kwargs
):
597 return _ogl
.PyShape_Flash(*args
, **kwargs
)
599 def MoveLinks(*args
, **kwargs
):
600 """MoveLinks(wxDC dc)"""
601 return _ogl
.PyShape_MoveLinks(*args
, **kwargs
)
603 def DrawContents(*args
, **kwargs
):
604 """DrawContents(wxDC dc)"""
605 return _ogl
.PyShape_DrawContents(*args
, **kwargs
)
607 def SetSize(*args
, **kwargs
):
608 """SetSize(double x, double y, bool recursive=True)"""
609 return _ogl
.PyShape_SetSize(*args
, **kwargs
)
611 def SetAttachmentSize(*args
, **kwargs
):
612 """SetAttachmentSize(double x, double y)"""
613 return _ogl
.PyShape_SetAttachmentSize(*args
, **kwargs
)
615 def Attach(*args
, **kwargs
):
616 """Attach(PyShapeCanvas can)"""
617 return _ogl
.PyShape_Attach(*args
, **kwargs
)
619 def Detach(*args
, **kwargs
):
621 return _ogl
.PyShape_Detach(*args
, **kwargs
)
623 def Constrain(*args
, **kwargs
):
624 """Constrain() -> bool"""
625 return _ogl
.PyShape_Constrain(*args
, **kwargs
)
627 def AddLine(*args
, **kwargs
):
628 """AddLine(PyLineShape line, PyShape other, int attachFrom=0,
629 int attachTo=0, int positionFrom=-1, int positionTo=-1)"""
630 return _ogl
.PyShape_AddLine(*args
, **kwargs
)
632 def GetLinePosition(*args
, **kwargs
):
633 """GetLinePosition(PyLineShape line) -> int"""
634 return _ogl
.PyShape_GetLinePosition(*args
, **kwargs
)
636 def AddText(*args
, **kwargs
):
637 """AddText(wxString string)"""
638 return _ogl
.PyShape_AddText(*args
, **kwargs
)
640 def GetPen(*args
, **kwargs
):
641 """GetPen() -> wxPen"""
642 return _ogl
.PyShape_GetPen(*args
, **kwargs
)
644 def GetBrush(*args
, **kwargs
):
645 """GetBrush() -> wxBrush"""
646 return _ogl
.PyShape_GetBrush(*args
, **kwargs
)
648 def SetDefaultRegionSize(*args
, **kwargs
):
649 """SetDefaultRegionSize()"""
650 return _ogl
.PyShape_SetDefaultRegionSize(*args
, **kwargs
)
652 def FormatText(*args
, **kwargs
):
653 """FormatText(wxDC dc, wxString s, int regionId=0)"""
654 return _ogl
.PyShape_FormatText(*args
, **kwargs
)
656 def SetFormatMode(*args
, **kwargs
):
657 """SetFormatMode(int mode, int regionId=0)"""
658 return _ogl
.PyShape_SetFormatMode(*args
, **kwargs
)
660 def GetFormatMode(*args
, **kwargs
):
661 """GetFormatMode(int regionId=0) -> int"""
662 return _ogl
.PyShape_GetFormatMode(*args
, **kwargs
)
664 def SetFont(*args
, **kwargs
):
665 """SetFont(wxFont font, int regionId=0)"""
666 return _ogl
.PyShape_SetFont(*args
, **kwargs
)
668 def GetFont(*args
, **kwargs
):
669 """GetFont(int regionId=0) -> wxFont"""
670 return _ogl
.PyShape_GetFont(*args
, **kwargs
)
672 def SetTextColour(*args
, **kwargs
):
673 """SetTextColour(wxString colour, int regionId=0)"""
674 return _ogl
.PyShape_SetTextColour(*args
, **kwargs
)
676 def GetTextColour(*args
, **kwargs
):
677 """GetTextColour(int regionId=0) -> wxString"""
678 return _ogl
.PyShape_GetTextColour(*args
, **kwargs
)
680 def GetNumberOfTextRegions(*args
, **kwargs
):
681 """GetNumberOfTextRegions() -> int"""
682 return _ogl
.PyShape_GetNumberOfTextRegions(*args
, **kwargs
)
684 def SetRegionName(*args
, **kwargs
):
685 """SetRegionName(wxString name, int regionId=0)"""
686 return _ogl
.PyShape_SetRegionName(*args
, **kwargs
)
688 def GetRegionName(*args
, **kwargs
):
689 """GetRegionName(int regionId) -> wxString"""
690 return _ogl
.PyShape_GetRegionName(*args
, **kwargs
)
692 def GetRegionId(*args
, **kwargs
):
693 """GetRegionId(wxString name) -> int"""
694 return _ogl
.PyShape_GetRegionId(*args
, **kwargs
)
696 def NameRegions(*args
, **kwargs
):
697 """NameRegions(wxString parentName="")"""
698 return _ogl
.PyShape_NameRegions(*args
, **kwargs
)
700 def GetRegions(*args
, **kwargs
):
701 """GetRegions() -> PyObject"""
702 return _ogl
.PyShape_GetRegions(*args
, **kwargs
)
704 def AddRegion(*args
, **kwargs
):
705 """AddRegion(ShapeRegion region)"""
706 return _ogl
.PyShape_AddRegion(*args
, **kwargs
)
708 def ClearRegions(*args
, **kwargs
):
710 return _ogl
.PyShape_ClearRegions(*args
, **kwargs
)
712 def AssignNewIds(*args
, **kwargs
):
714 return _ogl
.PyShape_AssignNewIds(*args
, **kwargs
)
716 def FindRegion(*args
, **kwargs
):
717 """FindRegion(wxString regionName, int OUTPUT) -> PyShape"""
718 return _ogl
.PyShape_FindRegion(*args
, **kwargs
)
720 def FindRegionNames(*args
, **kwargs
):
721 """FindRegionNames(wxStringList list)"""
722 return _ogl
.PyShape_FindRegionNames(*args
, **kwargs
)
724 def ClearText(*args
, **kwargs
):
725 """ClearText(int regionId=0)"""
726 return _ogl
.PyShape_ClearText(*args
, **kwargs
)
728 def RemoveLine(*args
, **kwargs
):
729 """RemoveLine(PyLineShape line)"""
730 return _ogl
.PyShape_RemoveLine(*args
, **kwargs
)
732 def GetAttachmentPosition(*args
, **kwargs
):
733 """GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0,
734 int no_arcs=1, PyLineShape line=None) -> bool"""
735 return _ogl
.PyShape_GetAttachmentPosition(*args
, **kwargs
)
737 def GetNumberOfAttachments(*args
, **kwargs
):
738 """GetNumberOfAttachments() -> int"""
739 return _ogl
.PyShape_GetNumberOfAttachments(*args
, **kwargs
)
741 def AttachmentIsValid(*args
, **kwargs
):
742 """AttachmentIsValid(int attachment) -> bool"""
743 return _ogl
.PyShape_AttachmentIsValid(*args
, **kwargs
)
745 def GetAttachmentPositionEdge(*args
, **kwargs
):
746 """GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0,
747 int no_arcs=1, PyLineShape line=None) -> bool"""
748 return _ogl
.PyShape_GetAttachmentPositionEdge(*args
, **kwargs
)
750 def CalcSimpleAttachment(*args
, **kwargs
):
751 """CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs,
752 PyLineShape line) -> RealPoint"""
753 return _ogl
.PyShape_CalcSimpleAttachment(*args
, **kwargs
)
755 def AttachmentSortTest(*args
, **kwargs
):
756 """AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool"""
757 return _ogl
.PyShape_AttachmentSortTest(*args
, **kwargs
)
759 def EraseLinks(*args
, **kwargs
):
760 """EraseLinks(wxDC dc, int attachment=-1, bool recurse=False)"""
761 return _ogl
.PyShape_EraseLinks(*args
, **kwargs
)
763 def DrawLinks(*args
, **kwargs
):
764 """DrawLinks(wxDC dc, int attachment=-1, bool recurse=False)"""
765 return _ogl
.PyShape_DrawLinks(*args
, **kwargs
)
767 def MoveLineToNewAttachment(*args
, **kwargs
):
768 """MoveLineToNewAttachment(wxDC dc, PyLineShape to_move, double x, double y) -> bool"""
769 return _ogl
.PyShape_MoveLineToNewAttachment(*args
, **kwargs
)
771 def ApplyAttachmentOrdering(*args
, **kwargs
):
772 """ApplyAttachmentOrdering(PyObject linesToSort)"""
773 return _ogl
.PyShape_ApplyAttachmentOrdering(*args
, **kwargs
)
775 def GetBranchingAttachmentRoot(*args
, **kwargs
):
776 """GetBranchingAttachmentRoot(int attachment) -> RealPoint"""
777 return _ogl
.PyShape_GetBranchingAttachmentRoot(*args
, **kwargs
)
779 def GetBranchingAttachmentInfo(*args
, **kwargs
):
780 """GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
781 RealPoint shoulder2) -> bool"""
782 return _ogl
.PyShape_GetBranchingAttachmentInfo(*args
, **kwargs
)
784 def GetBranchingAttachmentPoint(*args
, **kwargs
):
785 """GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool"""
786 return _ogl
.PyShape_GetBranchingAttachmentPoint(*args
, **kwargs
)
788 def GetAttachmentLineCount(*args
, **kwargs
):
789 """GetAttachmentLineCount(int attachment) -> int"""
790 return _ogl
.PyShape_GetAttachmentLineCount(*args
, **kwargs
)
792 def SetBranchNeckLength(*args
, **kwargs
):
793 """SetBranchNeckLength(int len)"""
794 return _ogl
.PyShape_SetBranchNeckLength(*args
, **kwargs
)
796 def GetBranchNeckLength(*args
, **kwargs
):
797 """GetBranchNeckLength() -> int"""
798 return _ogl
.PyShape_GetBranchNeckLength(*args
, **kwargs
)
800 def SetBranchStemLength(*args
, **kwargs
):
801 """SetBranchStemLength(int len)"""
802 return _ogl
.PyShape_SetBranchStemLength(*args
, **kwargs
)
804 def GetBranchStemLength(*args
, **kwargs
):
805 """GetBranchStemLength() -> int"""
806 return _ogl
.PyShape_GetBranchStemLength(*args
, **kwargs
)
808 def SetBranchSpacing(*args
, **kwargs
):
809 """SetBranchSpacing(int len)"""
810 return _ogl
.PyShape_SetBranchSpacing(*args
, **kwargs
)
812 def GetBranchSpacing(*args
, **kwargs
):
813 """GetBranchSpacing() -> int"""
814 return _ogl
.PyShape_GetBranchSpacing(*args
, **kwargs
)
816 def SetBranchStyle(*args
, **kwargs
):
817 """SetBranchStyle(long style)"""
818 return _ogl
.PyShape_SetBranchStyle(*args
, **kwargs
)
820 def GetBranchStyle(*args
, **kwargs
):
821 """GetBranchStyle() -> long"""
822 return _ogl
.PyShape_GetBranchStyle(*args
, **kwargs
)
824 def PhysicalToLogicalAttachment(*args
, **kwargs
):
825 """PhysicalToLogicalAttachment(int physicalAttachment) -> int"""
826 return _ogl
.PyShape_PhysicalToLogicalAttachment(*args
, **kwargs
)
828 def LogicalToPhysicalAttachment(*args
, **kwargs
):
829 """LogicalToPhysicalAttachment(int logicalAttachment) -> int"""
830 return _ogl
.PyShape_LogicalToPhysicalAttachment(*args
, **kwargs
)
832 def Draggable(*args
, **kwargs
):
833 """Draggable() -> bool"""
834 return _ogl
.PyShape_Draggable(*args
, **kwargs
)
836 def HasDescendant(*args
, **kwargs
):
837 """HasDescendant(PyShape image) -> bool"""
838 return _ogl
.PyShape_HasDescendant(*args
, **kwargs
)
840 def CreateNewCopy(*args
, **kwargs
):
841 """CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape"""
842 return _ogl
.PyShape_CreateNewCopy(*args
, **kwargs
)
844 def Copy(*args
, **kwargs
):
845 """Copy(PyShape copy)"""
846 return _ogl
.PyShape_Copy(*args
, **kwargs
)
848 def CopyWithHandler(*args
, **kwargs
):
849 """CopyWithHandler(PyShape copy)"""
850 return _ogl
.PyShape_CopyWithHandler(*args
, **kwargs
)
852 def Rotate(*args
, **kwargs
):
853 """Rotate(double x, double y, double theta)"""
854 return _ogl
.PyShape_Rotate(*args
, **kwargs
)
856 def GetRotation(*args
, **kwargs
):
857 """GetRotation() -> double"""
858 return _ogl
.PyShape_GetRotation(*args
, **kwargs
)
860 def ClearAttachments(*args
, **kwargs
):
861 """ClearAttachments()"""
862 return _ogl
.PyShape_ClearAttachments(*args
, **kwargs
)
864 def Recentre(*args
, **kwargs
):
865 """Recentre(wxDC dc)"""
866 return _ogl
.PyShape_Recentre(*args
, **kwargs
)
868 def ClearPointList(*args
, **kwargs
):
869 """ClearPointList(wxList list)"""
870 return _ogl
.PyShape_ClearPointList(*args
, **kwargs
)
872 def GetBackgroundPen(*args
, **kwargs
):
873 """GetBackgroundPen() -> wxPen"""
874 return _ogl
.PyShape_GetBackgroundPen(*args
, **kwargs
)
876 def GetBackgroundBrush(*args
, **kwargs
):
877 """GetBackgroundBrush() -> wxBrush"""
878 return _ogl
.PyShape_GetBackgroundBrush(*args
, **kwargs
)
880 def base_OnDelete(*args
, **kwargs
):
881 """base_OnDelete()"""
882 return _ogl
.PyShape_base_OnDelete(*args
, **kwargs
)
884 def base_OnDraw(*args
, **kwargs
):
885 """base_OnDraw(wxDC dc)"""
886 return _ogl
.PyShape_base_OnDraw(*args
, **kwargs
)
888 def base_OnDrawContents(*args
, **kwargs
):
889 """base_OnDrawContents(wxDC dc)"""
890 return _ogl
.PyShape_base_OnDrawContents(*args
, **kwargs
)
892 def base_OnDrawBranches(*args
, **kwargs
):
893 """base_OnDrawBranches(wxDC dc, bool erase=False)"""
894 return _ogl
.PyShape_base_OnDrawBranches(*args
, **kwargs
)
896 def base_OnMoveLinks(*args
, **kwargs
):
897 """base_OnMoveLinks(wxDC dc)"""
898 return _ogl
.PyShape_base_OnMoveLinks(*args
, **kwargs
)
900 def base_OnErase(*args
, **kwargs
):
901 """base_OnErase(wxDC dc)"""
902 return _ogl
.PyShape_base_OnErase(*args
, **kwargs
)
904 def base_OnEraseContents(*args
, **kwargs
):
905 """base_OnEraseContents(wxDC dc)"""
906 return _ogl
.PyShape_base_OnEraseContents(*args
, **kwargs
)
908 def base_OnHighlight(*args
, **kwargs
):
909 """base_OnHighlight(wxDC dc)"""
910 return _ogl
.PyShape_base_OnHighlight(*args
, **kwargs
)
912 def base_OnLeftClick(*args
, **kwargs
):
913 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
914 return _ogl
.PyShape_base_OnLeftClick(*args
, **kwargs
)
916 def base_OnLeftDoubleClick(*args
, **kwargs
):
917 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
918 return _ogl
.PyShape_base_OnLeftDoubleClick(*args
, **kwargs
)
920 def base_OnRightClick(*args
, **kwargs
):
921 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
922 return _ogl
.PyShape_base_OnRightClick(*args
, **kwargs
)
924 def base_OnSize(*args
, **kwargs
):
925 """base_OnSize(double x, double y)"""
926 return _ogl
.PyShape_base_OnSize(*args
, **kwargs
)
928 def base_OnMovePre(*args
, **kwargs
):
929 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
930 bool display=True) -> bool"""
931 return _ogl
.PyShape_base_OnMovePre(*args
, **kwargs
)
933 def base_OnMovePost(*args
, **kwargs
):
934 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
935 bool display=True)"""
936 return _ogl
.PyShape_base_OnMovePost(*args
, **kwargs
)
938 def base_OnDragLeft(*args
, **kwargs
):
939 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
940 return _ogl
.PyShape_base_OnDragLeft(*args
, **kwargs
)
942 def base_OnBeginDragLeft(*args
, **kwargs
):
943 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
944 return _ogl
.PyShape_base_OnBeginDragLeft(*args
, **kwargs
)
946 def base_OnEndDragLeft(*args
, **kwargs
):
947 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
948 return _ogl
.PyShape_base_OnEndDragLeft(*args
, **kwargs
)
950 def base_OnDragRight(*args
, **kwargs
):
951 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
952 return _ogl
.PyShape_base_OnDragRight(*args
, **kwargs
)
954 def base_OnBeginDragRight(*args
, **kwargs
):
955 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
956 return _ogl
.PyShape_base_OnBeginDragRight(*args
, **kwargs
)
958 def base_OnEndDragRight(*args
, **kwargs
):
959 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
960 return _ogl
.PyShape_base_OnEndDragRight(*args
, **kwargs
)
962 def base_OnDrawOutline(*args
, **kwargs
):
963 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
964 return _ogl
.PyShape_base_OnDrawOutline(*args
, **kwargs
)
966 def base_OnDrawControlPoints(*args
, **kwargs
):
967 """base_OnDrawControlPoints(wxDC dc)"""
968 return _ogl
.PyShape_base_OnDrawControlPoints(*args
, **kwargs
)
970 def base_OnEraseControlPoints(*args
, **kwargs
):
971 """base_OnEraseControlPoints(wxDC dc)"""
972 return _ogl
.PyShape_base_OnEraseControlPoints(*args
, **kwargs
)
974 def base_OnMoveLink(*args
, **kwargs
):
975 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
976 return _ogl
.PyShape_base_OnMoveLink(*args
, **kwargs
)
978 def base_OnSizingDragLeft(*args
, **kwargs
):
979 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
981 return _ogl
.PyShape_base_OnSizingDragLeft(*args
, **kwargs
)
983 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
984 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
986 return _ogl
.PyShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
988 def base_OnSizingEndDragLeft(*args
, **kwargs
):
989 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
991 return _ogl
.PyShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
993 def base_OnBeginSize(*args
, **kwargs
):
994 """base_OnBeginSize(double w, double h)"""
995 return _ogl
.PyShape_base_OnBeginSize(*args
, **kwargs
)
997 def base_OnEndSize(*args
, **kwargs
):
998 """base_OnEndSize(double w, double h)"""
999 return _ogl
.PyShape_base_OnEndSize(*args
, **kwargs
)
1002 class PyShapePtr(PyShape
):
1003 def __init__(self
, this
):
1005 if not hasattr(self
,"thisown"): self
.thisown
= 0
1006 self
.__class
__ = PyShape
1007 _ogl
.PyShape_swigregister(PyShapePtr
)
1009 oglMETAFLAGS_OUTLINE
= _ogl
.oglMETAFLAGS_OUTLINE
1010 oglMETAFLAGS_ATTACHMENTS
= _ogl
.oglMETAFLAGS_ATTACHMENTS
1011 class PseudoMetaFile(core
.Object
):
1014 return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1015 def __init__(self
, *args
, **kwargs
):
1016 """__init__() -> PseudoMetaFile"""
1017 newobj
= _ogl
.new_PseudoMetaFile(*args
, **kwargs
)
1018 self
.this
= newobj
.this
1021 def __del__(self
, destroy
=_ogl
.delete_PseudoMetaFile
):
1024 if self
.thisown
: destroy(self
)
1027 def Draw(*args
, **kwargs
):
1028 """Draw(wxDC dc, double xoffset, double yoffset)"""
1029 return _ogl
.PseudoMetaFile_Draw(*args
, **kwargs
)
1031 def Clear(*args
, **kwargs
):
1033 return _ogl
.PseudoMetaFile_Clear(*args
, **kwargs
)
1035 def Copy(*args
, **kwargs
):
1036 """Copy(PseudoMetaFile copy)"""
1037 return _ogl
.PseudoMetaFile_Copy(*args
, **kwargs
)
1039 def Scale(*args
, **kwargs
):
1040 """Scale(double sx, double sy)"""
1041 return _ogl
.PseudoMetaFile_Scale(*args
, **kwargs
)
1043 def ScaleTo(*args
, **kwargs
):
1044 """ScaleTo(double w, double h)"""
1045 return _ogl
.PseudoMetaFile_ScaleTo(*args
, **kwargs
)
1047 def Translate(*args
, **kwargs
):
1048 """Translate(double x, double y)"""
1049 return _ogl
.PseudoMetaFile_Translate(*args
, **kwargs
)
1051 def Rotate(*args
, **kwargs
):
1052 """Rotate(double x, double y, double theta)"""
1053 return _ogl
.PseudoMetaFile_Rotate(*args
, **kwargs
)
1055 def LoadFromMetaFile(*args
, **kwargs
):
1056 """LoadFromMetaFile(wxString filename, double width, double height) -> bool"""
1057 return _ogl
.PseudoMetaFile_LoadFromMetaFile(*args
, **kwargs
)
1059 def GetBounds(*args
, **kwargs
):
1060 """GetBounds(double minX, double minY, double maxX, double maxY)"""
1061 return _ogl
.PseudoMetaFile_GetBounds(*args
, **kwargs
)
1063 def CalculateSize(*args
, **kwargs
):
1064 """CalculateSize(PyDrawnShape shape)"""
1065 return _ogl
.PseudoMetaFile_CalculateSize(*args
, **kwargs
)
1067 def SetRotateable(*args
, **kwargs
):
1068 """SetRotateable(bool rot)"""
1069 return _ogl
.PseudoMetaFile_SetRotateable(*args
, **kwargs
)
1071 def GetRotateable(*args
, **kwargs
):
1072 """GetRotateable() -> bool"""
1073 return _ogl
.PseudoMetaFile_GetRotateable(*args
, **kwargs
)
1075 def SetSize(*args
, **kwargs
):
1076 """SetSize(double w, double h)"""
1077 return _ogl
.PseudoMetaFile_SetSize(*args
, **kwargs
)
1079 def SetFillBrush(*args
, **kwargs
):
1080 """SetFillBrush(wxBrush brush)"""
1081 return _ogl
.PseudoMetaFile_SetFillBrush(*args
, **kwargs
)
1083 def GetFillBrush(*args
, **kwargs
):
1084 """GetFillBrush() -> wxBrush"""
1085 return _ogl
.PseudoMetaFile_GetFillBrush(*args
, **kwargs
)
1087 def SetOutlinePen(*args
, **kwargs
):
1088 """SetOutlinePen(wxPen pen)"""
1089 return _ogl
.PseudoMetaFile_SetOutlinePen(*args
, **kwargs
)
1091 def GetOutlinePen(*args
, **kwargs
):
1092 """GetOutlinePen() -> wxPen"""
1093 return _ogl
.PseudoMetaFile_GetOutlinePen(*args
, **kwargs
)
1095 def SetOutlineOp(*args
, **kwargs
):
1096 """SetOutlineOp(int op)"""
1097 return _ogl
.PseudoMetaFile_SetOutlineOp(*args
, **kwargs
)
1099 def GetOutlineOp(*args
, **kwargs
):
1100 """GetOutlineOp() -> int"""
1101 return _ogl
.PseudoMetaFile_GetOutlineOp(*args
, **kwargs
)
1103 def IsValid(*args
, **kwargs
):
1104 """IsValid() -> bool"""
1105 return _ogl
.PseudoMetaFile_IsValid(*args
, **kwargs
)
1107 def DrawLine(*args
, **kwargs
):
1108 """DrawLine(Point pt1, Point pt2)"""
1109 return _ogl
.PseudoMetaFile_DrawLine(*args
, **kwargs
)
1111 def DrawRectangle(*args
, **kwargs
):
1112 """DrawRectangle(Rect rect)"""
1113 return _ogl
.PseudoMetaFile_DrawRectangle(*args
, **kwargs
)
1115 def DrawRoundedRectangle(*args
, **kwargs
):
1116 """DrawRoundedRectangle(Rect rect, double radius)"""
1117 return _ogl
.PseudoMetaFile_DrawRoundedRectangle(*args
, **kwargs
)
1119 def DrawArc(*args
, **kwargs
):
1120 """DrawArc(Point centrePt, Point startPt, Point endPt)"""
1121 return _ogl
.PseudoMetaFile_DrawArc(*args
, **kwargs
)
1123 def DrawEllipticArc(*args
, **kwargs
):
1124 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1125 return _ogl
.PseudoMetaFile_DrawEllipticArc(*args
, **kwargs
)
1127 def DrawEllipse(*args
, **kwargs
):
1128 """DrawEllipse(Rect rect)"""
1129 return _ogl
.PseudoMetaFile_DrawEllipse(*args
, **kwargs
)
1131 def DrawPoint(*args
, **kwargs
):
1132 """DrawPoint(Point pt)"""
1133 return _ogl
.PseudoMetaFile_DrawPoint(*args
, **kwargs
)
1135 def DrawText(*args
, **kwargs
):
1136 """DrawText(wxString text, Point pt)"""
1137 return _ogl
.PseudoMetaFile_DrawText(*args
, **kwargs
)
1139 def DrawLines(*args
, **kwargs
):
1140 """DrawLines(int PCOUNT, Point points)"""
1141 return _ogl
.PseudoMetaFile_DrawLines(*args
, **kwargs
)
1143 def DrawPolygon(*args
, **kwargs
):
1144 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1145 return _ogl
.PseudoMetaFile_DrawPolygon(*args
, **kwargs
)
1147 def DrawSpline(*args
, **kwargs
):
1148 """DrawSpline(int PCOUNT, Point points)"""
1149 return _ogl
.PseudoMetaFile_DrawSpline(*args
, **kwargs
)
1151 def SetClippingRect(*args
, **kwargs
):
1152 """SetClippingRect(Rect rect)"""
1153 return _ogl
.PseudoMetaFile_SetClippingRect(*args
, **kwargs
)
1155 def DestroyClippingRect(*args
, **kwargs
):
1156 """DestroyClippingRect()"""
1157 return _ogl
.PseudoMetaFile_DestroyClippingRect(*args
, **kwargs
)
1159 def SetPen(*args
, **kwargs
):
1160 """SetPen(wxPen pen, bool isOutline=FALSE)"""
1161 return _ogl
.PseudoMetaFile_SetPen(*args
, **kwargs
)
1163 def SetBrush(*args
, **kwargs
):
1164 """SetBrush(wxBrush brush, bool isFill=FALSE)"""
1165 return _ogl
.PseudoMetaFile_SetBrush(*args
, **kwargs
)
1167 def SetFont(*args
, **kwargs
):
1168 """SetFont(wxFont font)"""
1169 return _ogl
.PseudoMetaFile_SetFont(*args
, **kwargs
)
1171 def SetTextColour(*args
, **kwargs
):
1172 """SetTextColour(wxColour colour)"""
1173 return _ogl
.PseudoMetaFile_SetTextColour(*args
, **kwargs
)
1175 def SetBackgroundColour(*args
, **kwargs
):
1176 """SetBackgroundColour(wxColour colour)"""
1177 return _ogl
.PseudoMetaFile_SetBackgroundColour(*args
, **kwargs
)
1179 def SetBackgroundMode(*args
, **kwargs
):
1180 """SetBackgroundMode(int mode)"""
1181 return _ogl
.PseudoMetaFile_SetBackgroundMode(*args
, **kwargs
)
1184 class PseudoMetaFilePtr(PseudoMetaFile
):
1185 def __init__(self
, this
):
1187 if not hasattr(self
,"thisown"): self
.thisown
= 0
1188 self
.__class
__ = PseudoMetaFile
1189 _ogl
.PseudoMetaFile_swigregister(PseudoMetaFilePtr
)
1191 class PyRectangleShape(PyShape
):
1194 return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1195 def __init__(self
, *args
, **kwargs
):
1196 """__init__(double width=0.0, double height=0.0) -> PyRectangleShape"""
1197 newobj
= _ogl
.new_PyRectangleShape(*args
, **kwargs
)
1198 self
.this
= newobj
.this
1201 self
._setOORandCallbackInfo
(PyRectangleShape
)
1203 def _setCallbackInfo(*args
, **kwargs
):
1204 """_setCallbackInfo(PyObject self, PyObject _class)"""
1205 return _ogl
.PyRectangleShape__setCallbackInfo(*args
, **kwargs
)
1207 def SetCornerRadius(*args
, **kwargs
):
1208 """SetCornerRadius(double radius)"""
1209 return _ogl
.PyRectangleShape_SetCornerRadius(*args
, **kwargs
)
1211 def base_OnDelete(*args
, **kwargs
):
1212 """base_OnDelete()"""
1213 return _ogl
.PyRectangleShape_base_OnDelete(*args
, **kwargs
)
1215 def base_OnDraw(*args
, **kwargs
):
1216 """base_OnDraw(wxDC dc)"""
1217 return _ogl
.PyRectangleShape_base_OnDraw(*args
, **kwargs
)
1219 def base_OnDrawContents(*args
, **kwargs
):
1220 """base_OnDrawContents(wxDC dc)"""
1221 return _ogl
.PyRectangleShape_base_OnDrawContents(*args
, **kwargs
)
1223 def base_OnDrawBranches(*args
, **kwargs
):
1224 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1225 return _ogl
.PyRectangleShape_base_OnDrawBranches(*args
, **kwargs
)
1227 def base_OnMoveLinks(*args
, **kwargs
):
1228 """base_OnMoveLinks(wxDC dc)"""
1229 return _ogl
.PyRectangleShape_base_OnMoveLinks(*args
, **kwargs
)
1231 def base_OnErase(*args
, **kwargs
):
1232 """base_OnErase(wxDC dc)"""
1233 return _ogl
.PyRectangleShape_base_OnErase(*args
, **kwargs
)
1235 def base_OnEraseContents(*args
, **kwargs
):
1236 """base_OnEraseContents(wxDC dc)"""
1237 return _ogl
.PyRectangleShape_base_OnEraseContents(*args
, **kwargs
)
1239 def base_OnHighlight(*args
, **kwargs
):
1240 """base_OnHighlight(wxDC dc)"""
1241 return _ogl
.PyRectangleShape_base_OnHighlight(*args
, **kwargs
)
1243 def base_OnLeftClick(*args
, **kwargs
):
1244 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1245 return _ogl
.PyRectangleShape_base_OnLeftClick(*args
, **kwargs
)
1247 def base_OnLeftDoubleClick(*args
, **kwargs
):
1248 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1249 return _ogl
.PyRectangleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1251 def base_OnRightClick(*args
, **kwargs
):
1252 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1253 return _ogl
.PyRectangleShape_base_OnRightClick(*args
, **kwargs
)
1255 def base_OnSize(*args
, **kwargs
):
1256 """base_OnSize(double x, double y)"""
1257 return _ogl
.PyRectangleShape_base_OnSize(*args
, **kwargs
)
1259 def base_OnMovePre(*args
, **kwargs
):
1260 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1261 bool display=True) -> bool"""
1262 return _ogl
.PyRectangleShape_base_OnMovePre(*args
, **kwargs
)
1264 def base_OnMovePost(*args
, **kwargs
):
1265 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1266 bool display=True)"""
1267 return _ogl
.PyRectangleShape_base_OnMovePost(*args
, **kwargs
)
1269 def base_OnDragLeft(*args
, **kwargs
):
1270 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1271 return _ogl
.PyRectangleShape_base_OnDragLeft(*args
, **kwargs
)
1273 def base_OnBeginDragLeft(*args
, **kwargs
):
1274 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1275 return _ogl
.PyRectangleShape_base_OnBeginDragLeft(*args
, **kwargs
)
1277 def base_OnEndDragLeft(*args
, **kwargs
):
1278 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1279 return _ogl
.PyRectangleShape_base_OnEndDragLeft(*args
, **kwargs
)
1281 def base_OnDragRight(*args
, **kwargs
):
1282 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1283 return _ogl
.PyRectangleShape_base_OnDragRight(*args
, **kwargs
)
1285 def base_OnBeginDragRight(*args
, **kwargs
):
1286 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1287 return _ogl
.PyRectangleShape_base_OnBeginDragRight(*args
, **kwargs
)
1289 def base_OnEndDragRight(*args
, **kwargs
):
1290 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1291 return _ogl
.PyRectangleShape_base_OnEndDragRight(*args
, **kwargs
)
1293 def base_OnDrawOutline(*args
, **kwargs
):
1294 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1295 return _ogl
.PyRectangleShape_base_OnDrawOutline(*args
, **kwargs
)
1297 def base_OnDrawControlPoints(*args
, **kwargs
):
1298 """base_OnDrawControlPoints(wxDC dc)"""
1299 return _ogl
.PyRectangleShape_base_OnDrawControlPoints(*args
, **kwargs
)
1301 def base_OnEraseControlPoints(*args
, **kwargs
):
1302 """base_OnEraseControlPoints(wxDC dc)"""
1303 return _ogl
.PyRectangleShape_base_OnEraseControlPoints(*args
, **kwargs
)
1305 def base_OnMoveLink(*args
, **kwargs
):
1306 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1307 return _ogl
.PyRectangleShape_base_OnMoveLink(*args
, **kwargs
)
1309 def base_OnSizingDragLeft(*args
, **kwargs
):
1310 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1311 int attachment=0)"""
1312 return _ogl
.PyRectangleShape_base_OnSizingDragLeft(*args
, **kwargs
)
1314 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1315 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1316 int attachment=0)"""
1317 return _ogl
.PyRectangleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1319 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1320 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1321 int attachment=0)"""
1322 return _ogl
.PyRectangleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1324 def base_OnBeginSize(*args
, **kwargs
):
1325 """base_OnBeginSize(double w, double h)"""
1326 return _ogl
.PyRectangleShape_base_OnBeginSize(*args
, **kwargs
)
1328 def base_OnEndSize(*args
, **kwargs
):
1329 """base_OnEndSize(double w, double h)"""
1330 return _ogl
.PyRectangleShape_base_OnEndSize(*args
, **kwargs
)
1333 class PyRectangleShapePtr(PyRectangleShape
):
1334 def __init__(self
, this
):
1336 if not hasattr(self
,"thisown"): self
.thisown
= 0
1337 self
.__class
__ = PyRectangleShape
1338 _ogl
.PyRectangleShape_swigregister(PyRectangleShapePtr
)
1340 class PyControlPoint(PyRectangleShape
):
1343 return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1344 def __init__(self
, *args
, **kwargs
):
1345 """__init__(PyShapeCanvas the_canvas=None, PyShape object=None,
1346 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
1347 int the_type=0) -> PyControlPoint"""
1348 newobj
= _ogl
.new_PyControlPoint(*args
, **kwargs
)
1349 self
.this
= newobj
.this
1352 self
._setOORandCallbackInfo
(PyControlPoint
)
1354 def _setCallbackInfo(*args
, **kwargs
):
1355 """_setCallbackInfo(PyObject self, PyObject _class)"""
1356 return _ogl
.PyControlPoint__setCallbackInfo(*args
, **kwargs
)
1358 def SetCornerRadius(*args
, **kwargs
):
1359 """SetCornerRadius(double radius)"""
1360 return _ogl
.PyControlPoint_SetCornerRadius(*args
, **kwargs
)
1362 def base_OnDelete(*args
, **kwargs
):
1363 """base_OnDelete()"""
1364 return _ogl
.PyControlPoint_base_OnDelete(*args
, **kwargs
)
1366 def base_OnDraw(*args
, **kwargs
):
1367 """base_OnDraw(wxDC dc)"""
1368 return _ogl
.PyControlPoint_base_OnDraw(*args
, **kwargs
)
1370 def base_OnDrawContents(*args
, **kwargs
):
1371 """base_OnDrawContents(wxDC dc)"""
1372 return _ogl
.PyControlPoint_base_OnDrawContents(*args
, **kwargs
)
1374 def base_OnDrawBranches(*args
, **kwargs
):
1375 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1376 return _ogl
.PyControlPoint_base_OnDrawBranches(*args
, **kwargs
)
1378 def base_OnMoveLinks(*args
, **kwargs
):
1379 """base_OnMoveLinks(wxDC dc)"""
1380 return _ogl
.PyControlPoint_base_OnMoveLinks(*args
, **kwargs
)
1382 def base_OnErase(*args
, **kwargs
):
1383 """base_OnErase(wxDC dc)"""
1384 return _ogl
.PyControlPoint_base_OnErase(*args
, **kwargs
)
1386 def base_OnEraseContents(*args
, **kwargs
):
1387 """base_OnEraseContents(wxDC dc)"""
1388 return _ogl
.PyControlPoint_base_OnEraseContents(*args
, **kwargs
)
1390 def base_OnHighlight(*args
, **kwargs
):
1391 """base_OnHighlight(wxDC dc)"""
1392 return _ogl
.PyControlPoint_base_OnHighlight(*args
, **kwargs
)
1394 def base_OnLeftClick(*args
, **kwargs
):
1395 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1396 return _ogl
.PyControlPoint_base_OnLeftClick(*args
, **kwargs
)
1398 def base_OnLeftDoubleClick(*args
, **kwargs
):
1399 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1400 return _ogl
.PyControlPoint_base_OnLeftDoubleClick(*args
, **kwargs
)
1402 def base_OnRightClick(*args
, **kwargs
):
1403 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1404 return _ogl
.PyControlPoint_base_OnRightClick(*args
, **kwargs
)
1406 def base_OnSize(*args
, **kwargs
):
1407 """base_OnSize(double x, double y)"""
1408 return _ogl
.PyControlPoint_base_OnSize(*args
, **kwargs
)
1410 def base_OnMovePre(*args
, **kwargs
):
1411 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1412 bool display=True) -> bool"""
1413 return _ogl
.PyControlPoint_base_OnMovePre(*args
, **kwargs
)
1415 def base_OnMovePost(*args
, **kwargs
):
1416 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1417 bool display=True)"""
1418 return _ogl
.PyControlPoint_base_OnMovePost(*args
, **kwargs
)
1420 def base_OnDragLeft(*args
, **kwargs
):
1421 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1422 return _ogl
.PyControlPoint_base_OnDragLeft(*args
, **kwargs
)
1424 def base_OnBeginDragLeft(*args
, **kwargs
):
1425 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1426 return _ogl
.PyControlPoint_base_OnBeginDragLeft(*args
, **kwargs
)
1428 def base_OnEndDragLeft(*args
, **kwargs
):
1429 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1430 return _ogl
.PyControlPoint_base_OnEndDragLeft(*args
, **kwargs
)
1432 def base_OnDragRight(*args
, **kwargs
):
1433 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1434 return _ogl
.PyControlPoint_base_OnDragRight(*args
, **kwargs
)
1436 def base_OnBeginDragRight(*args
, **kwargs
):
1437 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1438 return _ogl
.PyControlPoint_base_OnBeginDragRight(*args
, **kwargs
)
1440 def base_OnEndDragRight(*args
, **kwargs
):
1441 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1442 return _ogl
.PyControlPoint_base_OnEndDragRight(*args
, **kwargs
)
1444 def base_OnDrawOutline(*args
, **kwargs
):
1445 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1446 return _ogl
.PyControlPoint_base_OnDrawOutline(*args
, **kwargs
)
1448 def base_OnDrawControlPoints(*args
, **kwargs
):
1449 """base_OnDrawControlPoints(wxDC dc)"""
1450 return _ogl
.PyControlPoint_base_OnDrawControlPoints(*args
, **kwargs
)
1452 def base_OnEraseControlPoints(*args
, **kwargs
):
1453 """base_OnEraseControlPoints(wxDC dc)"""
1454 return _ogl
.PyControlPoint_base_OnEraseControlPoints(*args
, **kwargs
)
1456 def base_OnMoveLink(*args
, **kwargs
):
1457 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1458 return _ogl
.PyControlPoint_base_OnMoveLink(*args
, **kwargs
)
1460 def base_OnSizingDragLeft(*args
, **kwargs
):
1461 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1462 int attachment=0)"""
1463 return _ogl
.PyControlPoint_base_OnSizingDragLeft(*args
, **kwargs
)
1465 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1466 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1467 int attachment=0)"""
1468 return _ogl
.PyControlPoint_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1470 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1471 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1472 int attachment=0)"""
1473 return _ogl
.PyControlPoint_base_OnSizingEndDragLeft(*args
, **kwargs
)
1475 def base_OnBeginSize(*args
, **kwargs
):
1476 """base_OnBeginSize(double w, double h)"""
1477 return _ogl
.PyControlPoint_base_OnBeginSize(*args
, **kwargs
)
1479 def base_OnEndSize(*args
, **kwargs
):
1480 """base_OnEndSize(double w, double h)"""
1481 return _ogl
.PyControlPoint_base_OnEndSize(*args
, **kwargs
)
1484 class PyControlPointPtr(PyControlPoint
):
1485 def __init__(self
, this
):
1487 if not hasattr(self
,"thisown"): self
.thisown
= 0
1488 self
.__class
__ = PyControlPoint
1489 _ogl
.PyControlPoint_swigregister(PyControlPointPtr
)
1491 class PyBitmapShape(PyRectangleShape
):
1494 return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1495 def __init__(self
, *args
, **kwargs
):
1496 """__init__() -> PyBitmapShape"""
1497 newobj
= _ogl
.new_PyBitmapShape(*args
, **kwargs
)
1498 self
.this
= newobj
.this
1501 self
._setOORandCallbackInfo
(PyBitmapShape
)
1503 def _setCallbackInfo(*args
, **kwargs
):
1504 """_setCallbackInfo(PyObject self, PyObject _class)"""
1505 return _ogl
.PyBitmapShape__setCallbackInfo(*args
, **kwargs
)
1507 def GetBitmap(*args
, **kwargs
):
1508 """GetBitmap() -> wxBitmap"""
1509 return _ogl
.PyBitmapShape_GetBitmap(*args
, **kwargs
)
1511 def GetFilename(*args
, **kwargs
):
1512 """GetFilename() -> wxString"""
1513 return _ogl
.PyBitmapShape_GetFilename(*args
, **kwargs
)
1515 def SetBitmap(*args
, **kwargs
):
1516 """SetBitmap(wxBitmap bitmap)"""
1517 return _ogl
.PyBitmapShape_SetBitmap(*args
, **kwargs
)
1519 def SetFilename(*args
, **kwargs
):
1520 """SetFilename(wxString filename)"""
1521 return _ogl
.PyBitmapShape_SetFilename(*args
, **kwargs
)
1523 def base_OnDelete(*args
, **kwargs
):
1524 """base_OnDelete()"""
1525 return _ogl
.PyBitmapShape_base_OnDelete(*args
, **kwargs
)
1527 def base_OnDraw(*args
, **kwargs
):
1528 """base_OnDraw(wxDC dc)"""
1529 return _ogl
.PyBitmapShape_base_OnDraw(*args
, **kwargs
)
1531 def base_OnDrawContents(*args
, **kwargs
):
1532 """base_OnDrawContents(wxDC dc)"""
1533 return _ogl
.PyBitmapShape_base_OnDrawContents(*args
, **kwargs
)
1535 def base_OnDrawBranches(*args
, **kwargs
):
1536 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1537 return _ogl
.PyBitmapShape_base_OnDrawBranches(*args
, **kwargs
)
1539 def base_OnMoveLinks(*args
, **kwargs
):
1540 """base_OnMoveLinks(wxDC dc)"""
1541 return _ogl
.PyBitmapShape_base_OnMoveLinks(*args
, **kwargs
)
1543 def base_OnErase(*args
, **kwargs
):
1544 """base_OnErase(wxDC dc)"""
1545 return _ogl
.PyBitmapShape_base_OnErase(*args
, **kwargs
)
1547 def base_OnEraseContents(*args
, **kwargs
):
1548 """base_OnEraseContents(wxDC dc)"""
1549 return _ogl
.PyBitmapShape_base_OnEraseContents(*args
, **kwargs
)
1551 def base_OnHighlight(*args
, **kwargs
):
1552 """base_OnHighlight(wxDC dc)"""
1553 return _ogl
.PyBitmapShape_base_OnHighlight(*args
, **kwargs
)
1555 def base_OnLeftClick(*args
, **kwargs
):
1556 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1557 return _ogl
.PyBitmapShape_base_OnLeftClick(*args
, **kwargs
)
1559 def base_OnLeftDoubleClick(*args
, **kwargs
):
1560 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1561 return _ogl
.PyBitmapShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1563 def base_OnRightClick(*args
, **kwargs
):
1564 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1565 return _ogl
.PyBitmapShape_base_OnRightClick(*args
, **kwargs
)
1567 def base_OnSize(*args
, **kwargs
):
1568 """base_OnSize(double x, double y)"""
1569 return _ogl
.PyBitmapShape_base_OnSize(*args
, **kwargs
)
1571 def base_OnMovePre(*args
, **kwargs
):
1572 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1573 bool display=True) -> bool"""
1574 return _ogl
.PyBitmapShape_base_OnMovePre(*args
, **kwargs
)
1576 def base_OnMovePost(*args
, **kwargs
):
1577 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1578 bool display=True)"""
1579 return _ogl
.PyBitmapShape_base_OnMovePost(*args
, **kwargs
)
1581 def base_OnDragLeft(*args
, **kwargs
):
1582 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1583 return _ogl
.PyBitmapShape_base_OnDragLeft(*args
, **kwargs
)
1585 def base_OnBeginDragLeft(*args
, **kwargs
):
1586 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1587 return _ogl
.PyBitmapShape_base_OnBeginDragLeft(*args
, **kwargs
)
1589 def base_OnEndDragLeft(*args
, **kwargs
):
1590 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1591 return _ogl
.PyBitmapShape_base_OnEndDragLeft(*args
, **kwargs
)
1593 def base_OnDragRight(*args
, **kwargs
):
1594 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1595 return _ogl
.PyBitmapShape_base_OnDragRight(*args
, **kwargs
)
1597 def base_OnBeginDragRight(*args
, **kwargs
):
1598 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1599 return _ogl
.PyBitmapShape_base_OnBeginDragRight(*args
, **kwargs
)
1601 def base_OnEndDragRight(*args
, **kwargs
):
1602 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1603 return _ogl
.PyBitmapShape_base_OnEndDragRight(*args
, **kwargs
)
1605 def base_OnDrawOutline(*args
, **kwargs
):
1606 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1607 return _ogl
.PyBitmapShape_base_OnDrawOutline(*args
, **kwargs
)
1609 def base_OnDrawControlPoints(*args
, **kwargs
):
1610 """base_OnDrawControlPoints(wxDC dc)"""
1611 return _ogl
.PyBitmapShape_base_OnDrawControlPoints(*args
, **kwargs
)
1613 def base_OnEraseControlPoints(*args
, **kwargs
):
1614 """base_OnEraseControlPoints(wxDC dc)"""
1615 return _ogl
.PyBitmapShape_base_OnEraseControlPoints(*args
, **kwargs
)
1617 def base_OnMoveLink(*args
, **kwargs
):
1618 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1619 return _ogl
.PyBitmapShape_base_OnMoveLink(*args
, **kwargs
)
1621 def base_OnSizingDragLeft(*args
, **kwargs
):
1622 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1623 int attachment=0)"""
1624 return _ogl
.PyBitmapShape_base_OnSizingDragLeft(*args
, **kwargs
)
1626 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1627 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1628 int attachment=0)"""
1629 return _ogl
.PyBitmapShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1631 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1632 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1633 int attachment=0)"""
1634 return _ogl
.PyBitmapShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1636 def base_OnBeginSize(*args
, **kwargs
):
1637 """base_OnBeginSize(double w, double h)"""
1638 return _ogl
.PyBitmapShape_base_OnBeginSize(*args
, **kwargs
)
1640 def base_OnEndSize(*args
, **kwargs
):
1641 """base_OnEndSize(double w, double h)"""
1642 return _ogl
.PyBitmapShape_base_OnEndSize(*args
, **kwargs
)
1645 class PyBitmapShapePtr(PyBitmapShape
):
1646 def __init__(self
, this
):
1648 if not hasattr(self
,"thisown"): self
.thisown
= 0
1649 self
.__class
__ = PyBitmapShape
1650 _ogl
.PyBitmapShape_swigregister(PyBitmapShapePtr
)
1652 class PyDrawnShape(PyRectangleShape
):
1655 return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1656 def __init__(self
, *args
, **kwargs
):
1657 """__init__() -> PyDrawnShape"""
1658 newobj
= _ogl
.new_PyDrawnShape(*args
, **kwargs
)
1659 self
.this
= newobj
.this
1662 self
._setOORandCallbackInfo
(PyDrawnShape
)
1664 def _setCallbackInfo(*args
, **kwargs
):
1665 """_setCallbackInfo(PyObject self, PyObject _class)"""
1666 return _ogl
.PyDrawnShape__setCallbackInfo(*args
, **kwargs
)
1668 def CalculateSize(*args
, **kwargs
):
1669 """CalculateSize()"""
1670 return _ogl
.PyDrawnShape_CalculateSize(*args
, **kwargs
)
1672 def DestroyClippingRect(*args
, **kwargs
):
1673 """DestroyClippingRect()"""
1674 return _ogl
.PyDrawnShape_DestroyClippingRect(*args
, **kwargs
)
1676 def DrawArc(*args
, **kwargs
):
1677 """DrawArc(Point centrePoint, Point startPoint, Point endPoint)"""
1678 return _ogl
.PyDrawnShape_DrawArc(*args
, **kwargs
)
1680 def DrawAtAngle(*args
, **kwargs
):
1681 """DrawAtAngle(int angle)"""
1682 return _ogl
.PyDrawnShape_DrawAtAngle(*args
, **kwargs
)
1684 def DrawEllipticArc(*args
, **kwargs
):
1685 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1686 return _ogl
.PyDrawnShape_DrawEllipticArc(*args
, **kwargs
)
1688 def DrawLine(*args
, **kwargs
):
1689 """DrawLine(Point point1, Point point2)"""
1690 return _ogl
.PyDrawnShape_DrawLine(*args
, **kwargs
)
1692 def DrawLines(*args
, **kwargs
):
1693 """DrawLines(int PCOUNT, Point points)"""
1694 return _ogl
.PyDrawnShape_DrawLines(*args
, **kwargs
)
1696 def DrawPoint(*args
, **kwargs
):
1697 """DrawPoint(Point point)"""
1698 return _ogl
.PyDrawnShape_DrawPoint(*args
, **kwargs
)
1700 def DrawPolygon(*args
, **kwargs
):
1701 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1702 return _ogl
.PyDrawnShape_DrawPolygon(*args
, **kwargs
)
1704 def DrawRectangle(*args
, **kwargs
):
1705 """DrawRectangle(Rect rect)"""
1706 return _ogl
.PyDrawnShape_DrawRectangle(*args
, **kwargs
)
1708 def DrawRoundedRectangle(*args
, **kwargs
):
1709 """DrawRoundedRectangle(Rect rect, double radius)"""
1710 return _ogl
.PyDrawnShape_DrawRoundedRectangle(*args
, **kwargs
)
1712 def DrawSpline(*args
, **kwargs
):
1713 """DrawSpline(int PCOUNT, Point points)"""
1714 return _ogl
.PyDrawnShape_DrawSpline(*args
, **kwargs
)
1716 def DrawText(*args
, **kwargs
):
1717 """DrawText(wxString text, Point point)"""
1718 return _ogl
.PyDrawnShape_DrawText(*args
, **kwargs
)
1720 def GetAngle(*args
, **kwargs
):
1721 """GetAngle() -> int"""
1722 return _ogl
.PyDrawnShape_GetAngle(*args
, **kwargs
)
1724 def GetMetaFile(*args
, **kwargs
):
1725 """GetMetaFile() -> PseudoMetaFile"""
1726 return _ogl
.PyDrawnShape_GetMetaFile(*args
, **kwargs
)
1728 def GetRotation(*args
, **kwargs
):
1729 """GetRotation() -> double"""
1730 return _ogl
.PyDrawnShape_GetRotation(*args
, **kwargs
)
1732 def LoadFromMetaFile(*args
, **kwargs
):
1733 """LoadFromMetaFile(wxString filename) -> bool"""
1734 return _ogl
.PyDrawnShape_LoadFromMetaFile(*args
, **kwargs
)
1736 def Rotate(*args
, **kwargs
):
1737 """Rotate(double x, double y, double theta)"""
1738 return _ogl
.PyDrawnShape_Rotate(*args
, **kwargs
)
1740 def SetClippingRect(*args
, **kwargs
):
1741 """SetClippingRect(Rect rect)"""
1742 return _ogl
.PyDrawnShape_SetClippingRect(*args
, **kwargs
)
1744 def SetDrawnBackgroundColour(*args
, **kwargs
):
1745 """SetDrawnBackgroundColour(wxColour colour)"""
1746 return _ogl
.PyDrawnShape_SetDrawnBackgroundColour(*args
, **kwargs
)
1748 def SetDrawnBackgroundMode(*args
, **kwargs
):
1749 """SetDrawnBackgroundMode(int mode)"""
1750 return _ogl
.PyDrawnShape_SetDrawnBackgroundMode(*args
, **kwargs
)
1752 def SetDrawnBrush(*args
, **kwargs
):
1753 """SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)"""
1754 return _ogl
.PyDrawnShape_SetDrawnBrush(*args
, **kwargs
)
1756 def SetDrawnFont(*args
, **kwargs
):
1757 """SetDrawnFont(wxFont font)"""
1758 return _ogl
.PyDrawnShape_SetDrawnFont(*args
, **kwargs
)
1760 def SetDrawnPen(*args
, **kwargs
):
1761 """SetDrawnPen(wxPen pen, bool isOutline=FALSE)"""
1762 return _ogl
.PyDrawnShape_SetDrawnPen(*args
, **kwargs
)
1764 def SetDrawnTextColour(*args
, **kwargs
):
1765 """SetDrawnTextColour(wxColour colour)"""
1766 return _ogl
.PyDrawnShape_SetDrawnTextColour(*args
, **kwargs
)
1768 def Scale(*args
, **kwargs
):
1769 """Scale(double sx, double sy)"""
1770 return _ogl
.PyDrawnShape_Scale(*args
, **kwargs
)
1772 def SetSaveToFile(*args
, **kwargs
):
1773 """SetSaveToFile(bool save)"""
1774 return _ogl
.PyDrawnShape_SetSaveToFile(*args
, **kwargs
)
1776 def Translate(*args
, **kwargs
):
1777 """Translate(double x, double y)"""
1778 return _ogl
.PyDrawnShape_Translate(*args
, **kwargs
)
1780 def base_OnDelete(*args
, **kwargs
):
1781 """base_OnDelete()"""
1782 return _ogl
.PyDrawnShape_base_OnDelete(*args
, **kwargs
)
1784 def base_OnDraw(*args
, **kwargs
):
1785 """base_OnDraw(wxDC dc)"""
1786 return _ogl
.PyDrawnShape_base_OnDraw(*args
, **kwargs
)
1788 def base_OnDrawContents(*args
, **kwargs
):
1789 """base_OnDrawContents(wxDC dc)"""
1790 return _ogl
.PyDrawnShape_base_OnDrawContents(*args
, **kwargs
)
1792 def base_OnDrawBranches(*args
, **kwargs
):
1793 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1794 return _ogl
.PyDrawnShape_base_OnDrawBranches(*args
, **kwargs
)
1796 def base_OnMoveLinks(*args
, **kwargs
):
1797 """base_OnMoveLinks(wxDC dc)"""
1798 return _ogl
.PyDrawnShape_base_OnMoveLinks(*args
, **kwargs
)
1800 def base_OnErase(*args
, **kwargs
):
1801 """base_OnErase(wxDC dc)"""
1802 return _ogl
.PyDrawnShape_base_OnErase(*args
, **kwargs
)
1804 def base_OnEraseContents(*args
, **kwargs
):
1805 """base_OnEraseContents(wxDC dc)"""
1806 return _ogl
.PyDrawnShape_base_OnEraseContents(*args
, **kwargs
)
1808 def base_OnHighlight(*args
, **kwargs
):
1809 """base_OnHighlight(wxDC dc)"""
1810 return _ogl
.PyDrawnShape_base_OnHighlight(*args
, **kwargs
)
1812 def base_OnLeftClick(*args
, **kwargs
):
1813 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1814 return _ogl
.PyDrawnShape_base_OnLeftClick(*args
, **kwargs
)
1816 def base_OnLeftDoubleClick(*args
, **kwargs
):
1817 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1818 return _ogl
.PyDrawnShape_base_OnLeftDoubleClick(*args
, **kwargs
)
1820 def base_OnRightClick(*args
, **kwargs
):
1821 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1822 return _ogl
.PyDrawnShape_base_OnRightClick(*args
, **kwargs
)
1824 def base_OnSize(*args
, **kwargs
):
1825 """base_OnSize(double x, double y)"""
1826 return _ogl
.PyDrawnShape_base_OnSize(*args
, **kwargs
)
1828 def base_OnMovePre(*args
, **kwargs
):
1829 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1830 bool display=True) -> bool"""
1831 return _ogl
.PyDrawnShape_base_OnMovePre(*args
, **kwargs
)
1833 def base_OnMovePost(*args
, **kwargs
):
1834 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1835 bool display=True)"""
1836 return _ogl
.PyDrawnShape_base_OnMovePost(*args
, **kwargs
)
1838 def base_OnDragLeft(*args
, **kwargs
):
1839 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1840 return _ogl
.PyDrawnShape_base_OnDragLeft(*args
, **kwargs
)
1842 def base_OnBeginDragLeft(*args
, **kwargs
):
1843 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1844 return _ogl
.PyDrawnShape_base_OnBeginDragLeft(*args
, **kwargs
)
1846 def base_OnEndDragLeft(*args
, **kwargs
):
1847 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1848 return _ogl
.PyDrawnShape_base_OnEndDragLeft(*args
, **kwargs
)
1850 def base_OnDragRight(*args
, **kwargs
):
1851 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1852 return _ogl
.PyDrawnShape_base_OnDragRight(*args
, **kwargs
)
1854 def base_OnBeginDragRight(*args
, **kwargs
):
1855 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1856 return _ogl
.PyDrawnShape_base_OnBeginDragRight(*args
, **kwargs
)
1858 def base_OnEndDragRight(*args
, **kwargs
):
1859 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1860 return _ogl
.PyDrawnShape_base_OnEndDragRight(*args
, **kwargs
)
1862 def base_OnDrawOutline(*args
, **kwargs
):
1863 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1864 return _ogl
.PyDrawnShape_base_OnDrawOutline(*args
, **kwargs
)
1866 def base_OnDrawControlPoints(*args
, **kwargs
):
1867 """base_OnDrawControlPoints(wxDC dc)"""
1868 return _ogl
.PyDrawnShape_base_OnDrawControlPoints(*args
, **kwargs
)
1870 def base_OnEraseControlPoints(*args
, **kwargs
):
1871 """base_OnEraseControlPoints(wxDC dc)"""
1872 return _ogl
.PyDrawnShape_base_OnEraseControlPoints(*args
, **kwargs
)
1874 def base_OnMoveLink(*args
, **kwargs
):
1875 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1876 return _ogl
.PyDrawnShape_base_OnMoveLink(*args
, **kwargs
)
1878 def base_OnSizingDragLeft(*args
, **kwargs
):
1879 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1880 int attachment=0)"""
1881 return _ogl
.PyDrawnShape_base_OnSizingDragLeft(*args
, **kwargs
)
1883 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
1884 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1885 int attachment=0)"""
1886 return _ogl
.PyDrawnShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
1888 def base_OnSizingEndDragLeft(*args
, **kwargs
):
1889 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1890 int attachment=0)"""
1891 return _ogl
.PyDrawnShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
1893 def base_OnBeginSize(*args
, **kwargs
):
1894 """base_OnBeginSize(double w, double h)"""
1895 return _ogl
.PyDrawnShape_base_OnBeginSize(*args
, **kwargs
)
1897 def base_OnEndSize(*args
, **kwargs
):
1898 """base_OnEndSize(double w, double h)"""
1899 return _ogl
.PyDrawnShape_base_OnEndSize(*args
, **kwargs
)
1902 class PyDrawnShapePtr(PyDrawnShape
):
1903 def __init__(self
, this
):
1905 if not hasattr(self
,"thisown"): self
.thisown
= 0
1906 self
.__class
__ = PyDrawnShape
1907 _ogl
.PyDrawnShape_swigregister(PyDrawnShapePtr
)
1909 class OGLConstraint(core
.Object
):
1912 return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1913 def __init__(self
, *args
, **kwargs
):
1914 """__init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
1915 newobj
= _ogl
.new_OGLConstraint(*args
, **kwargs
)
1916 self
.this
= newobj
.this
1919 def Evaluate(*args
, **kwargs
):
1920 """Evaluate() -> bool"""
1921 return _ogl
.OGLConstraint_Evaluate(*args
, **kwargs
)
1923 def SetSpacing(*args
, **kwargs
):
1924 """SetSpacing(double x, double y)"""
1925 return _ogl
.OGLConstraint_SetSpacing(*args
, **kwargs
)
1927 def Equals(*args
, **kwargs
):
1928 """Equals(double a, double b) -> bool"""
1929 return _ogl
.OGLConstraint_Equals(*args
, **kwargs
)
1932 class OGLConstraintPtr(OGLConstraint
):
1933 def __init__(self
, this
):
1935 if not hasattr(self
,"thisown"): self
.thisown
= 0
1936 self
.__class
__ = OGLConstraint
1937 _ogl
.OGLConstraint_swigregister(OGLConstraintPtr
)
1939 class PyCompositeShape(PyRectangleShape
):
1942 return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1943 def __init__(self
, *args
, **kwargs
):
1944 """__init__() -> PyCompositeShape"""
1945 newobj
= _ogl
.new_PyCompositeShape(*args
, **kwargs
)
1946 self
.this
= newobj
.this
1949 self
._setOORandCallbackInfo
(PyCompositeShape
)
1951 def _setCallbackInfo(*args
, **kwargs
):
1952 """_setCallbackInfo(PyObject self, PyObject _class)"""
1953 return _ogl
.PyCompositeShape__setCallbackInfo(*args
, **kwargs
)
1955 def AddChild(*args
, **kwargs
):
1956 """AddChild(PyShape child, PyShape addAfter=None)"""
1957 return _ogl
.PyCompositeShape_AddChild(*args
, **kwargs
)
1959 def AddConstraint(*args
, **kwargs
):
1960 """AddConstraint(OGLConstraint constraint) -> OGLConstraint"""
1961 return _ogl
.PyCompositeShape_AddConstraint(*args
, **kwargs
)
1963 def AddConstrainedShapes(*args
, **kwargs
):
1964 """AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
1965 return _ogl
.PyCompositeShape_AddConstrainedShapes(*args
, **kwargs
)
1967 def AddSimpleConstraint(*args
, **kwargs
):
1968 """AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint"""
1969 return _ogl
.PyCompositeShape_AddSimpleConstraint(*args
, **kwargs
)
1971 def CalculateSize(*args
, **kwargs
):
1972 """CalculateSize()"""
1973 return _ogl
.PyCompositeShape_CalculateSize(*args
, **kwargs
)
1975 def ContainsDivision(*args
, **kwargs
):
1976 """ContainsDivision(PyDivisionShape division) -> bool"""
1977 return _ogl
.PyCompositeShape_ContainsDivision(*args
, **kwargs
)
1979 def DeleteConstraint(*args
, **kwargs
):
1980 """DeleteConstraint(OGLConstraint constraint)"""
1981 return _ogl
.PyCompositeShape_DeleteConstraint(*args
, **kwargs
)
1983 def DeleteConstraintsInvolvingChild(*args
, **kwargs
):
1984 """DeleteConstraintsInvolvingChild(PyShape child)"""
1985 return _ogl
.PyCompositeShape_DeleteConstraintsInvolvingChild(*args
, **kwargs
)
1987 def FindContainerImage(*args
, **kwargs
):
1988 """FindContainerImage() -> PyShape"""
1989 return _ogl
.PyCompositeShape_FindContainerImage(*args
, **kwargs
)
1991 def GetConstraints(*args
, **kwargs
):
1992 """GetConstraints() -> PyObject"""
1993 return _ogl
.PyCompositeShape_GetConstraints(*args
, **kwargs
)
1995 def GetDivisions(*args
, **kwargs
):
1996 """GetDivisions() -> PyObject"""
1997 return _ogl
.PyCompositeShape_GetDivisions(*args
, **kwargs
)
1999 def MakeContainer(*args
, **kwargs
):
2000 """MakeContainer()"""
2001 return _ogl
.PyCompositeShape_MakeContainer(*args
, **kwargs
)
2003 def Recompute(*args
, **kwargs
):
2004 """Recompute() -> bool"""
2005 return _ogl
.PyCompositeShape_Recompute(*args
, **kwargs
)
2007 def RemoveChild(*args
, **kwargs
):
2008 """RemoveChild(PyShape child)"""
2009 return _ogl
.PyCompositeShape_RemoveChild(*args
, **kwargs
)
2011 def base_OnDelete(*args
, **kwargs
):
2012 """base_OnDelete()"""
2013 return _ogl
.PyCompositeShape_base_OnDelete(*args
, **kwargs
)
2015 def base_OnDraw(*args
, **kwargs
):
2016 """base_OnDraw(wxDC dc)"""
2017 return _ogl
.PyCompositeShape_base_OnDraw(*args
, **kwargs
)
2019 def base_OnDrawContents(*args
, **kwargs
):
2020 """base_OnDrawContents(wxDC dc)"""
2021 return _ogl
.PyCompositeShape_base_OnDrawContents(*args
, **kwargs
)
2023 def base_OnDrawBranches(*args
, **kwargs
):
2024 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2025 return _ogl
.PyCompositeShape_base_OnDrawBranches(*args
, **kwargs
)
2027 def base_OnMoveLinks(*args
, **kwargs
):
2028 """base_OnMoveLinks(wxDC dc)"""
2029 return _ogl
.PyCompositeShape_base_OnMoveLinks(*args
, **kwargs
)
2031 def base_OnErase(*args
, **kwargs
):
2032 """base_OnErase(wxDC dc)"""
2033 return _ogl
.PyCompositeShape_base_OnErase(*args
, **kwargs
)
2035 def base_OnEraseContents(*args
, **kwargs
):
2036 """base_OnEraseContents(wxDC dc)"""
2037 return _ogl
.PyCompositeShape_base_OnEraseContents(*args
, **kwargs
)
2039 def base_OnHighlight(*args
, **kwargs
):
2040 """base_OnHighlight(wxDC dc)"""
2041 return _ogl
.PyCompositeShape_base_OnHighlight(*args
, **kwargs
)
2043 def base_OnLeftClick(*args
, **kwargs
):
2044 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2045 return _ogl
.PyCompositeShape_base_OnLeftClick(*args
, **kwargs
)
2047 def base_OnLeftDoubleClick(*args
, **kwargs
):
2048 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2049 return _ogl
.PyCompositeShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2051 def base_OnRightClick(*args
, **kwargs
):
2052 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2053 return _ogl
.PyCompositeShape_base_OnRightClick(*args
, **kwargs
)
2055 def base_OnSize(*args
, **kwargs
):
2056 """base_OnSize(double x, double y)"""
2057 return _ogl
.PyCompositeShape_base_OnSize(*args
, **kwargs
)
2059 def base_OnMovePre(*args
, **kwargs
):
2060 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2061 bool display=True) -> bool"""
2062 return _ogl
.PyCompositeShape_base_OnMovePre(*args
, **kwargs
)
2064 def base_OnMovePost(*args
, **kwargs
):
2065 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2066 bool display=True)"""
2067 return _ogl
.PyCompositeShape_base_OnMovePost(*args
, **kwargs
)
2069 def base_OnDragLeft(*args
, **kwargs
):
2070 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2071 return _ogl
.PyCompositeShape_base_OnDragLeft(*args
, **kwargs
)
2073 def base_OnBeginDragLeft(*args
, **kwargs
):
2074 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2075 return _ogl
.PyCompositeShape_base_OnBeginDragLeft(*args
, **kwargs
)
2077 def base_OnEndDragLeft(*args
, **kwargs
):
2078 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2079 return _ogl
.PyCompositeShape_base_OnEndDragLeft(*args
, **kwargs
)
2081 def base_OnDragRight(*args
, **kwargs
):
2082 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2083 return _ogl
.PyCompositeShape_base_OnDragRight(*args
, **kwargs
)
2085 def base_OnBeginDragRight(*args
, **kwargs
):
2086 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2087 return _ogl
.PyCompositeShape_base_OnBeginDragRight(*args
, **kwargs
)
2089 def base_OnEndDragRight(*args
, **kwargs
):
2090 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2091 return _ogl
.PyCompositeShape_base_OnEndDragRight(*args
, **kwargs
)
2093 def base_OnDrawOutline(*args
, **kwargs
):
2094 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2095 return _ogl
.PyCompositeShape_base_OnDrawOutline(*args
, **kwargs
)
2097 def base_OnDrawControlPoints(*args
, **kwargs
):
2098 """base_OnDrawControlPoints(wxDC dc)"""
2099 return _ogl
.PyCompositeShape_base_OnDrawControlPoints(*args
, **kwargs
)
2101 def base_OnEraseControlPoints(*args
, **kwargs
):
2102 """base_OnEraseControlPoints(wxDC dc)"""
2103 return _ogl
.PyCompositeShape_base_OnEraseControlPoints(*args
, **kwargs
)
2105 def base_OnMoveLink(*args
, **kwargs
):
2106 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2107 return _ogl
.PyCompositeShape_base_OnMoveLink(*args
, **kwargs
)
2109 def base_OnSizingDragLeft(*args
, **kwargs
):
2110 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2111 int attachment=0)"""
2112 return _ogl
.PyCompositeShape_base_OnSizingDragLeft(*args
, **kwargs
)
2114 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2115 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2116 int attachment=0)"""
2117 return _ogl
.PyCompositeShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2119 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2120 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2121 int attachment=0)"""
2122 return _ogl
.PyCompositeShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2124 def base_OnBeginSize(*args
, **kwargs
):
2125 """base_OnBeginSize(double w, double h)"""
2126 return _ogl
.PyCompositeShape_base_OnBeginSize(*args
, **kwargs
)
2128 def base_OnEndSize(*args
, **kwargs
):
2129 """base_OnEndSize(double w, double h)"""
2130 return _ogl
.PyCompositeShape_base_OnEndSize(*args
, **kwargs
)
2133 class PyCompositeShapePtr(PyCompositeShape
):
2134 def __init__(self
, this
):
2136 if not hasattr(self
,"thisown"): self
.thisown
= 0
2137 self
.__class
__ = PyCompositeShape
2138 _ogl
.PyCompositeShape_swigregister(PyCompositeShapePtr
)
2140 class PyDividedShape(PyRectangleShape
):
2143 return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2144 def __init__(self
, *args
, **kwargs
):
2145 """__init__(double width=0.0, double height=0.0) -> PyDividedShape"""
2146 newobj
= _ogl
.new_PyDividedShape(*args
, **kwargs
)
2147 self
.this
= newobj
.this
2150 self
._setOORandCallbackInfo
(PyDividedShape
)
2152 def _setCallbackInfo(*args
, **kwargs
):
2153 """_setCallbackInfo(PyObject self, PyObject _class)"""
2154 return _ogl
.PyDividedShape__setCallbackInfo(*args
, **kwargs
)
2156 def EditRegions(*args
, **kwargs
):
2158 return _ogl
.PyDividedShape_EditRegions(*args
, **kwargs
)
2160 def SetRegionSizes(*args
, **kwargs
):
2161 """SetRegionSizes()"""
2162 return _ogl
.PyDividedShape_SetRegionSizes(*args
, **kwargs
)
2164 def base_OnDelete(*args
, **kwargs
):
2165 """base_OnDelete()"""
2166 return _ogl
.PyDividedShape_base_OnDelete(*args
, **kwargs
)
2168 def base_OnDraw(*args
, **kwargs
):
2169 """base_OnDraw(wxDC dc)"""
2170 return _ogl
.PyDividedShape_base_OnDraw(*args
, **kwargs
)
2172 def base_OnDrawContents(*args
, **kwargs
):
2173 """base_OnDrawContents(wxDC dc)"""
2174 return _ogl
.PyDividedShape_base_OnDrawContents(*args
, **kwargs
)
2176 def base_OnDrawBranches(*args
, **kwargs
):
2177 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2178 return _ogl
.PyDividedShape_base_OnDrawBranches(*args
, **kwargs
)
2180 def base_OnMoveLinks(*args
, **kwargs
):
2181 """base_OnMoveLinks(wxDC dc)"""
2182 return _ogl
.PyDividedShape_base_OnMoveLinks(*args
, **kwargs
)
2184 def base_OnErase(*args
, **kwargs
):
2185 """base_OnErase(wxDC dc)"""
2186 return _ogl
.PyDividedShape_base_OnErase(*args
, **kwargs
)
2188 def base_OnEraseContents(*args
, **kwargs
):
2189 """base_OnEraseContents(wxDC dc)"""
2190 return _ogl
.PyDividedShape_base_OnEraseContents(*args
, **kwargs
)
2192 def base_OnHighlight(*args
, **kwargs
):
2193 """base_OnHighlight(wxDC dc)"""
2194 return _ogl
.PyDividedShape_base_OnHighlight(*args
, **kwargs
)
2196 def base_OnLeftClick(*args
, **kwargs
):
2197 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2198 return _ogl
.PyDividedShape_base_OnLeftClick(*args
, **kwargs
)
2200 def base_OnLeftDoubleClick(*args
, **kwargs
):
2201 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2202 return _ogl
.PyDividedShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2204 def base_OnRightClick(*args
, **kwargs
):
2205 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2206 return _ogl
.PyDividedShape_base_OnRightClick(*args
, **kwargs
)
2208 def base_OnSize(*args
, **kwargs
):
2209 """base_OnSize(double x, double y)"""
2210 return _ogl
.PyDividedShape_base_OnSize(*args
, **kwargs
)
2212 def base_OnMovePre(*args
, **kwargs
):
2213 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2214 bool display=True) -> bool"""
2215 return _ogl
.PyDividedShape_base_OnMovePre(*args
, **kwargs
)
2217 def base_OnMovePost(*args
, **kwargs
):
2218 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2219 bool display=True)"""
2220 return _ogl
.PyDividedShape_base_OnMovePost(*args
, **kwargs
)
2222 def base_OnDragLeft(*args
, **kwargs
):
2223 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2224 return _ogl
.PyDividedShape_base_OnDragLeft(*args
, **kwargs
)
2226 def base_OnBeginDragLeft(*args
, **kwargs
):
2227 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2228 return _ogl
.PyDividedShape_base_OnBeginDragLeft(*args
, **kwargs
)
2230 def base_OnEndDragLeft(*args
, **kwargs
):
2231 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2232 return _ogl
.PyDividedShape_base_OnEndDragLeft(*args
, **kwargs
)
2234 def base_OnDragRight(*args
, **kwargs
):
2235 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2236 return _ogl
.PyDividedShape_base_OnDragRight(*args
, **kwargs
)
2238 def base_OnBeginDragRight(*args
, **kwargs
):
2239 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2240 return _ogl
.PyDividedShape_base_OnBeginDragRight(*args
, **kwargs
)
2242 def base_OnEndDragRight(*args
, **kwargs
):
2243 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2244 return _ogl
.PyDividedShape_base_OnEndDragRight(*args
, **kwargs
)
2246 def base_OnDrawOutline(*args
, **kwargs
):
2247 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2248 return _ogl
.PyDividedShape_base_OnDrawOutline(*args
, **kwargs
)
2250 def base_OnDrawControlPoints(*args
, **kwargs
):
2251 """base_OnDrawControlPoints(wxDC dc)"""
2252 return _ogl
.PyDividedShape_base_OnDrawControlPoints(*args
, **kwargs
)
2254 def base_OnEraseControlPoints(*args
, **kwargs
):
2255 """base_OnEraseControlPoints(wxDC dc)"""
2256 return _ogl
.PyDividedShape_base_OnEraseControlPoints(*args
, **kwargs
)
2258 def base_OnMoveLink(*args
, **kwargs
):
2259 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2260 return _ogl
.PyDividedShape_base_OnMoveLink(*args
, **kwargs
)
2262 def base_OnSizingDragLeft(*args
, **kwargs
):
2263 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2264 int attachment=0)"""
2265 return _ogl
.PyDividedShape_base_OnSizingDragLeft(*args
, **kwargs
)
2267 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2268 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2269 int attachment=0)"""
2270 return _ogl
.PyDividedShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2272 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2273 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2274 int attachment=0)"""
2275 return _ogl
.PyDividedShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2277 def base_OnBeginSize(*args
, **kwargs
):
2278 """base_OnBeginSize(double w, double h)"""
2279 return _ogl
.PyDividedShape_base_OnBeginSize(*args
, **kwargs
)
2281 def base_OnEndSize(*args
, **kwargs
):
2282 """base_OnEndSize(double w, double h)"""
2283 return _ogl
.PyDividedShape_base_OnEndSize(*args
, **kwargs
)
2286 class PyDividedShapePtr(PyDividedShape
):
2287 def __init__(self
, this
):
2289 if not hasattr(self
,"thisown"): self
.thisown
= 0
2290 self
.__class
__ = PyDividedShape
2291 _ogl
.PyDividedShape_swigregister(PyDividedShapePtr
)
2293 class PyDivisionShape(PyCompositeShape
):
2296 return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2297 def __init__(self
, *args
, **kwargs
):
2298 """__init__() -> PyDivisionShape"""
2299 newobj
= _ogl
.new_PyDivisionShape(*args
, **kwargs
)
2300 self
.this
= newobj
.this
2303 self
._setOORandCallbackInfo
(PyDivisionShape
)
2305 def _setCallbackInfo(*args
, **kwargs
):
2306 """_setCallbackInfo(PyObject self, PyObject _class)"""
2307 return _ogl
.PyDivisionShape__setCallbackInfo(*args
, **kwargs
)
2309 def AdjustBottom(*args
, **kwargs
):
2310 """AdjustBottom(double bottom, bool test)"""
2311 return _ogl
.PyDivisionShape_AdjustBottom(*args
, **kwargs
)
2313 def AdjustLeft(*args
, **kwargs
):
2314 """AdjustLeft(double left, bool test)"""
2315 return _ogl
.PyDivisionShape_AdjustLeft(*args
, **kwargs
)
2317 def AdjustRight(*args
, **kwargs
):
2318 """AdjustRight(double right, bool test)"""
2319 return _ogl
.PyDivisionShape_AdjustRight(*args
, **kwargs
)
2321 def AdjustTop(*args
, **kwargs
):
2322 """AdjustTop(double top, bool test)"""
2323 return _ogl
.PyDivisionShape_AdjustTop(*args
, **kwargs
)
2325 def Divide(*args
, **kwargs
):
2326 """Divide(int direction)"""
2327 return _ogl
.PyDivisionShape_Divide(*args
, **kwargs
)
2329 def EditEdge(*args
, **kwargs
):
2330 """EditEdge(int side)"""
2331 return _ogl
.PyDivisionShape_EditEdge(*args
, **kwargs
)
2333 def GetBottomSide(*args
, **kwargs
):
2334 """GetBottomSide() -> PyDivisionShape"""
2335 return _ogl
.PyDivisionShape_GetBottomSide(*args
, **kwargs
)
2337 def GetHandleSide(*args
, **kwargs
):
2338 """GetHandleSide() -> int"""
2339 return _ogl
.PyDivisionShape_GetHandleSide(*args
, **kwargs
)
2341 def GetLeftSide(*args
, **kwargs
):
2342 """GetLeftSide() -> PyDivisionShape"""
2343 return _ogl
.PyDivisionShape_GetLeftSide(*args
, **kwargs
)
2345 def GetLeftSideColour(*args
, **kwargs
):
2346 """GetLeftSideColour() -> wxString"""
2347 return _ogl
.PyDivisionShape_GetLeftSideColour(*args
, **kwargs
)
2349 def GetLeftSidePen(*args
, **kwargs
):
2350 """GetLeftSidePen() -> wxPen"""
2351 return _ogl
.PyDivisionShape_GetLeftSidePen(*args
, **kwargs
)
2353 def GetRightSide(*args
, **kwargs
):
2354 """GetRightSide() -> PyDivisionShape"""
2355 return _ogl
.PyDivisionShape_GetRightSide(*args
, **kwargs
)
2357 def GetTopSide(*args
, **kwargs
):
2358 """GetTopSide() -> PyDivisionShape"""
2359 return _ogl
.PyDivisionShape_GetTopSide(*args
, **kwargs
)
2361 def GetTopSidePen(*args
, **kwargs
):
2362 """GetTopSidePen() -> wxPen"""
2363 return _ogl
.PyDivisionShape_GetTopSidePen(*args
, **kwargs
)
2365 def ResizeAdjoining(*args
, **kwargs
):
2366 """ResizeAdjoining(int side, double newPos, bool test)"""
2367 return _ogl
.PyDivisionShape_ResizeAdjoining(*args
, **kwargs
)
2369 def PopupMenu(*args
, **kwargs
):
2370 """PopupMenu(double x, double y)"""
2371 return _ogl
.PyDivisionShape_PopupMenu(*args
, **kwargs
)
2373 def SetBottomSide(*args
, **kwargs
):
2374 """SetBottomSide(PyDivisionShape shape)"""
2375 return _ogl
.PyDivisionShape_SetBottomSide(*args
, **kwargs
)
2377 def SetHandleSide(*args
, **kwargs
):
2378 """SetHandleSide(int side)"""
2379 return _ogl
.PyDivisionShape_SetHandleSide(*args
, **kwargs
)
2381 def SetLeftSide(*args
, **kwargs
):
2382 """SetLeftSide(PyDivisionShape shape)"""
2383 return _ogl
.PyDivisionShape_SetLeftSide(*args
, **kwargs
)
2385 def SetLeftSideColour(*args
, **kwargs
):
2386 """SetLeftSideColour(wxString colour)"""
2387 return _ogl
.PyDivisionShape_SetLeftSideColour(*args
, **kwargs
)
2389 def SetLeftSidePen(*args
, **kwargs
):
2390 """SetLeftSidePen(wxPen pen)"""
2391 return _ogl
.PyDivisionShape_SetLeftSidePen(*args
, **kwargs
)
2393 def SetRightSide(*args
, **kwargs
):
2394 """SetRightSide(PyDivisionShape shape)"""
2395 return _ogl
.PyDivisionShape_SetRightSide(*args
, **kwargs
)
2397 def SetTopSide(*args
, **kwargs
):
2398 """SetTopSide(PyDivisionShape shape)"""
2399 return _ogl
.PyDivisionShape_SetTopSide(*args
, **kwargs
)
2401 def SetTopSideColour(*args
, **kwargs
):
2402 """SetTopSideColour(wxString colour)"""
2403 return _ogl
.PyDivisionShape_SetTopSideColour(*args
, **kwargs
)
2405 def SetTopSidePen(*args
, **kwargs
):
2406 """SetTopSidePen(wxPen pen)"""
2407 return _ogl
.PyDivisionShape_SetTopSidePen(*args
, **kwargs
)
2409 def base_OnDelete(*args
, **kwargs
):
2410 """base_OnDelete()"""
2411 return _ogl
.PyDivisionShape_base_OnDelete(*args
, **kwargs
)
2413 def base_OnDraw(*args
, **kwargs
):
2414 """base_OnDraw(wxDC dc)"""
2415 return _ogl
.PyDivisionShape_base_OnDraw(*args
, **kwargs
)
2417 def base_OnDrawContents(*args
, **kwargs
):
2418 """base_OnDrawContents(wxDC dc)"""
2419 return _ogl
.PyDivisionShape_base_OnDrawContents(*args
, **kwargs
)
2421 def base_OnDrawBranches(*args
, **kwargs
):
2422 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2423 return _ogl
.PyDivisionShape_base_OnDrawBranches(*args
, **kwargs
)
2425 def base_OnMoveLinks(*args
, **kwargs
):
2426 """base_OnMoveLinks(wxDC dc)"""
2427 return _ogl
.PyDivisionShape_base_OnMoveLinks(*args
, **kwargs
)
2429 def base_OnErase(*args
, **kwargs
):
2430 """base_OnErase(wxDC dc)"""
2431 return _ogl
.PyDivisionShape_base_OnErase(*args
, **kwargs
)
2433 def base_OnEraseContents(*args
, **kwargs
):
2434 """base_OnEraseContents(wxDC dc)"""
2435 return _ogl
.PyDivisionShape_base_OnEraseContents(*args
, **kwargs
)
2437 def base_OnHighlight(*args
, **kwargs
):
2438 """base_OnHighlight(wxDC dc)"""
2439 return _ogl
.PyDivisionShape_base_OnHighlight(*args
, **kwargs
)
2441 def base_OnLeftClick(*args
, **kwargs
):
2442 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2443 return _ogl
.PyDivisionShape_base_OnLeftClick(*args
, **kwargs
)
2445 def base_OnLeftDoubleClick(*args
, **kwargs
):
2446 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2447 return _ogl
.PyDivisionShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2449 def base_OnRightClick(*args
, **kwargs
):
2450 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2451 return _ogl
.PyDivisionShape_base_OnRightClick(*args
, **kwargs
)
2453 def base_OnSize(*args
, **kwargs
):
2454 """base_OnSize(double x, double y)"""
2455 return _ogl
.PyDivisionShape_base_OnSize(*args
, **kwargs
)
2457 def base_OnMovePre(*args
, **kwargs
):
2458 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2459 bool display=True) -> bool"""
2460 return _ogl
.PyDivisionShape_base_OnMovePre(*args
, **kwargs
)
2462 def base_OnMovePost(*args
, **kwargs
):
2463 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2464 bool display=True)"""
2465 return _ogl
.PyDivisionShape_base_OnMovePost(*args
, **kwargs
)
2467 def base_OnDragLeft(*args
, **kwargs
):
2468 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2469 return _ogl
.PyDivisionShape_base_OnDragLeft(*args
, **kwargs
)
2471 def base_OnBeginDragLeft(*args
, **kwargs
):
2472 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2473 return _ogl
.PyDivisionShape_base_OnBeginDragLeft(*args
, **kwargs
)
2475 def base_OnEndDragLeft(*args
, **kwargs
):
2476 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2477 return _ogl
.PyDivisionShape_base_OnEndDragLeft(*args
, **kwargs
)
2479 def base_OnDragRight(*args
, **kwargs
):
2480 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2481 return _ogl
.PyDivisionShape_base_OnDragRight(*args
, **kwargs
)
2483 def base_OnBeginDragRight(*args
, **kwargs
):
2484 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2485 return _ogl
.PyDivisionShape_base_OnBeginDragRight(*args
, **kwargs
)
2487 def base_OnEndDragRight(*args
, **kwargs
):
2488 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2489 return _ogl
.PyDivisionShape_base_OnEndDragRight(*args
, **kwargs
)
2491 def base_OnDrawOutline(*args
, **kwargs
):
2492 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2493 return _ogl
.PyDivisionShape_base_OnDrawOutline(*args
, **kwargs
)
2495 def base_OnDrawControlPoints(*args
, **kwargs
):
2496 """base_OnDrawControlPoints(wxDC dc)"""
2497 return _ogl
.PyDivisionShape_base_OnDrawControlPoints(*args
, **kwargs
)
2499 def base_OnEraseControlPoints(*args
, **kwargs
):
2500 """base_OnEraseControlPoints(wxDC dc)"""
2501 return _ogl
.PyDivisionShape_base_OnEraseControlPoints(*args
, **kwargs
)
2503 def base_OnMoveLink(*args
, **kwargs
):
2504 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2505 return _ogl
.PyDivisionShape_base_OnMoveLink(*args
, **kwargs
)
2507 def base_OnSizingDragLeft(*args
, **kwargs
):
2508 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2509 int attachment=0)"""
2510 return _ogl
.PyDivisionShape_base_OnSizingDragLeft(*args
, **kwargs
)
2512 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2513 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2514 int attachment=0)"""
2515 return _ogl
.PyDivisionShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2517 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2518 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2519 int attachment=0)"""
2520 return _ogl
.PyDivisionShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2522 def base_OnBeginSize(*args
, **kwargs
):
2523 """base_OnBeginSize(double w, double h)"""
2524 return _ogl
.PyDivisionShape_base_OnBeginSize(*args
, **kwargs
)
2526 def base_OnEndSize(*args
, **kwargs
):
2527 """base_OnEndSize(double w, double h)"""
2528 return _ogl
.PyDivisionShape_base_OnEndSize(*args
, **kwargs
)
2531 class PyDivisionShapePtr(PyDivisionShape
):
2532 def __init__(self
, this
):
2534 if not hasattr(self
,"thisown"): self
.thisown
= 0
2535 self
.__class
__ = PyDivisionShape
2536 _ogl
.PyDivisionShape_swigregister(PyDivisionShapePtr
)
2538 class PyEllipseShape(PyShape
):
2541 return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2542 def __init__(self
, *args
, **kwargs
):
2543 """__init__(double width=0.0, double height=0.0) -> PyEllipseShape"""
2544 newobj
= _ogl
.new_PyEllipseShape(*args
, **kwargs
)
2545 self
.this
= newobj
.this
2548 self
._setOORandCallbackInfo
(PyEllipseShape
)
2550 def _setCallbackInfo(*args
, **kwargs
):
2551 """_setCallbackInfo(PyObject self, PyObject _class)"""
2552 return _ogl
.PyEllipseShape__setCallbackInfo(*args
, **kwargs
)
2554 def base_OnDraw(*args
, **kwargs
):
2555 """base_OnDraw(wxDC dc)"""
2556 return _ogl
.PyEllipseShape_base_OnDraw(*args
, **kwargs
)
2558 def base_OnDrawContents(*args
, **kwargs
):
2559 """base_OnDrawContents(wxDC dc)"""
2560 return _ogl
.PyEllipseShape_base_OnDrawContents(*args
, **kwargs
)
2562 def base_OnDrawBranches(*args
, **kwargs
):
2563 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2564 return _ogl
.PyEllipseShape_base_OnDrawBranches(*args
, **kwargs
)
2566 def base_OnMoveLinks(*args
, **kwargs
):
2567 """base_OnMoveLinks(wxDC dc)"""
2568 return _ogl
.PyEllipseShape_base_OnMoveLinks(*args
, **kwargs
)
2570 def base_OnErase(*args
, **kwargs
):
2571 """base_OnErase(wxDC dc)"""
2572 return _ogl
.PyEllipseShape_base_OnErase(*args
, **kwargs
)
2574 def base_OnEraseContents(*args
, **kwargs
):
2575 """base_OnEraseContents(wxDC dc)"""
2576 return _ogl
.PyEllipseShape_base_OnEraseContents(*args
, **kwargs
)
2578 def base_OnHighlight(*args
, **kwargs
):
2579 """base_OnHighlight(wxDC dc)"""
2580 return _ogl
.PyEllipseShape_base_OnHighlight(*args
, **kwargs
)
2582 def base_OnLeftClick(*args
, **kwargs
):
2583 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2584 return _ogl
.PyEllipseShape_base_OnLeftClick(*args
, **kwargs
)
2586 def base_OnLeftDoubleClick(*args
, **kwargs
):
2587 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2588 return _ogl
.PyEllipseShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2590 def base_OnRightClick(*args
, **kwargs
):
2591 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2592 return _ogl
.PyEllipseShape_base_OnRightClick(*args
, **kwargs
)
2594 def base_OnSize(*args
, **kwargs
):
2595 """base_OnSize(double x, double y)"""
2596 return _ogl
.PyEllipseShape_base_OnSize(*args
, **kwargs
)
2598 def base_OnMovePre(*args
, **kwargs
):
2599 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2600 bool display=True) -> bool"""
2601 return _ogl
.PyEllipseShape_base_OnMovePre(*args
, **kwargs
)
2603 def base_OnMovePost(*args
, **kwargs
):
2604 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2605 bool display=True)"""
2606 return _ogl
.PyEllipseShape_base_OnMovePost(*args
, **kwargs
)
2608 def base_OnDragLeft(*args
, **kwargs
):
2609 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2610 return _ogl
.PyEllipseShape_base_OnDragLeft(*args
, **kwargs
)
2612 def base_OnBeginDragLeft(*args
, **kwargs
):
2613 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2614 return _ogl
.PyEllipseShape_base_OnBeginDragLeft(*args
, **kwargs
)
2616 def base_OnEndDragLeft(*args
, **kwargs
):
2617 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2618 return _ogl
.PyEllipseShape_base_OnEndDragLeft(*args
, **kwargs
)
2620 def base_OnDragRight(*args
, **kwargs
):
2621 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2622 return _ogl
.PyEllipseShape_base_OnDragRight(*args
, **kwargs
)
2624 def base_OnBeginDragRight(*args
, **kwargs
):
2625 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2626 return _ogl
.PyEllipseShape_base_OnBeginDragRight(*args
, **kwargs
)
2628 def base_OnEndDragRight(*args
, **kwargs
):
2629 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2630 return _ogl
.PyEllipseShape_base_OnEndDragRight(*args
, **kwargs
)
2632 def base_OnDrawOutline(*args
, **kwargs
):
2633 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2634 return _ogl
.PyEllipseShape_base_OnDrawOutline(*args
, **kwargs
)
2636 def base_OnDrawControlPoints(*args
, **kwargs
):
2637 """base_OnDrawControlPoints(wxDC dc)"""
2638 return _ogl
.PyEllipseShape_base_OnDrawControlPoints(*args
, **kwargs
)
2640 def base_OnEraseControlPoints(*args
, **kwargs
):
2641 """base_OnEraseControlPoints(wxDC dc)"""
2642 return _ogl
.PyEllipseShape_base_OnEraseControlPoints(*args
, **kwargs
)
2644 def base_OnMoveLink(*args
, **kwargs
):
2645 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2646 return _ogl
.PyEllipseShape_base_OnMoveLink(*args
, **kwargs
)
2648 def base_OnSizingDragLeft(*args
, **kwargs
):
2649 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2650 int attachment=0)"""
2651 return _ogl
.PyEllipseShape_base_OnSizingDragLeft(*args
, **kwargs
)
2653 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2654 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2655 int attachment=0)"""
2656 return _ogl
.PyEllipseShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2658 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2659 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2660 int attachment=0)"""
2661 return _ogl
.PyEllipseShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2663 def base_OnBeginSize(*args
, **kwargs
):
2664 """base_OnBeginSize(double w, double h)"""
2665 return _ogl
.PyEllipseShape_base_OnBeginSize(*args
, **kwargs
)
2667 def base_OnEndSize(*args
, **kwargs
):
2668 """base_OnEndSize(double w, double h)"""
2669 return _ogl
.PyEllipseShape_base_OnEndSize(*args
, **kwargs
)
2672 class PyEllipseShapePtr(PyEllipseShape
):
2673 def __init__(self
, this
):
2675 if not hasattr(self
,"thisown"): self
.thisown
= 0
2676 self
.__class
__ = PyEllipseShape
2677 _ogl
.PyEllipseShape_swigregister(PyEllipseShapePtr
)
2679 class PyCircleShape(PyEllipseShape
):
2682 return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2683 def __init__(self
, *args
, **kwargs
):
2684 """__init__(double width=0.0) -> PyCircleShape"""
2685 newobj
= _ogl
.new_PyCircleShape(*args
, **kwargs
)
2686 self
.this
= newobj
.this
2689 self
._setOORandCallbackInfo
(PyCircleShape
)
2691 def _setCallbackInfo(*args
, **kwargs
):
2692 """_setCallbackInfo(PyObject self, PyObject _class)"""
2693 return _ogl
.PyCircleShape__setCallbackInfo(*args
, **kwargs
)
2695 def base_OnDraw(*args
, **kwargs
):
2696 """base_OnDraw(wxDC dc)"""
2697 return _ogl
.PyCircleShape_base_OnDraw(*args
, **kwargs
)
2699 def base_OnDrawContents(*args
, **kwargs
):
2700 """base_OnDrawContents(wxDC dc)"""
2701 return _ogl
.PyCircleShape_base_OnDrawContents(*args
, **kwargs
)
2703 def base_OnDrawBranches(*args
, **kwargs
):
2704 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2705 return _ogl
.PyCircleShape_base_OnDrawBranches(*args
, **kwargs
)
2707 def base_OnMoveLinks(*args
, **kwargs
):
2708 """base_OnMoveLinks(wxDC dc)"""
2709 return _ogl
.PyCircleShape_base_OnMoveLinks(*args
, **kwargs
)
2711 def base_OnErase(*args
, **kwargs
):
2712 """base_OnErase(wxDC dc)"""
2713 return _ogl
.PyCircleShape_base_OnErase(*args
, **kwargs
)
2715 def base_OnEraseContents(*args
, **kwargs
):
2716 """base_OnEraseContents(wxDC dc)"""
2717 return _ogl
.PyCircleShape_base_OnEraseContents(*args
, **kwargs
)
2719 def base_OnHighlight(*args
, **kwargs
):
2720 """base_OnHighlight(wxDC dc)"""
2721 return _ogl
.PyCircleShape_base_OnHighlight(*args
, **kwargs
)
2723 def base_OnLeftClick(*args
, **kwargs
):
2724 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2725 return _ogl
.PyCircleShape_base_OnLeftClick(*args
, **kwargs
)
2727 def base_OnLeftDoubleClick(*args
, **kwargs
):
2728 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2729 return _ogl
.PyCircleShape_base_OnLeftDoubleClick(*args
, **kwargs
)
2731 def base_OnRightClick(*args
, **kwargs
):
2732 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2733 return _ogl
.PyCircleShape_base_OnRightClick(*args
, **kwargs
)
2735 def base_OnSize(*args
, **kwargs
):
2736 """base_OnSize(double x, double y)"""
2737 return _ogl
.PyCircleShape_base_OnSize(*args
, **kwargs
)
2739 def base_OnMovePre(*args
, **kwargs
):
2740 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2741 bool display=True) -> bool"""
2742 return _ogl
.PyCircleShape_base_OnMovePre(*args
, **kwargs
)
2744 def base_OnMovePost(*args
, **kwargs
):
2745 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2746 bool display=True)"""
2747 return _ogl
.PyCircleShape_base_OnMovePost(*args
, **kwargs
)
2749 def base_OnDragLeft(*args
, **kwargs
):
2750 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2751 return _ogl
.PyCircleShape_base_OnDragLeft(*args
, **kwargs
)
2753 def base_OnBeginDragLeft(*args
, **kwargs
):
2754 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2755 return _ogl
.PyCircleShape_base_OnBeginDragLeft(*args
, **kwargs
)
2757 def base_OnEndDragLeft(*args
, **kwargs
):
2758 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2759 return _ogl
.PyCircleShape_base_OnEndDragLeft(*args
, **kwargs
)
2761 def base_OnDragRight(*args
, **kwargs
):
2762 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2763 return _ogl
.PyCircleShape_base_OnDragRight(*args
, **kwargs
)
2765 def base_OnBeginDragRight(*args
, **kwargs
):
2766 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2767 return _ogl
.PyCircleShape_base_OnBeginDragRight(*args
, **kwargs
)
2769 def base_OnEndDragRight(*args
, **kwargs
):
2770 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2771 return _ogl
.PyCircleShape_base_OnEndDragRight(*args
, **kwargs
)
2773 def base_OnDrawOutline(*args
, **kwargs
):
2774 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2775 return _ogl
.PyCircleShape_base_OnDrawOutline(*args
, **kwargs
)
2777 def base_OnDrawControlPoints(*args
, **kwargs
):
2778 """base_OnDrawControlPoints(wxDC dc)"""
2779 return _ogl
.PyCircleShape_base_OnDrawControlPoints(*args
, **kwargs
)
2781 def base_OnEraseControlPoints(*args
, **kwargs
):
2782 """base_OnEraseControlPoints(wxDC dc)"""
2783 return _ogl
.PyCircleShape_base_OnEraseControlPoints(*args
, **kwargs
)
2785 def base_OnMoveLink(*args
, **kwargs
):
2786 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2787 return _ogl
.PyCircleShape_base_OnMoveLink(*args
, **kwargs
)
2789 def base_OnSizingDragLeft(*args
, **kwargs
):
2790 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2791 int attachment=0)"""
2792 return _ogl
.PyCircleShape_base_OnSizingDragLeft(*args
, **kwargs
)
2794 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
2795 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2796 int attachment=0)"""
2797 return _ogl
.PyCircleShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
2799 def base_OnSizingEndDragLeft(*args
, **kwargs
):
2800 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2801 int attachment=0)"""
2802 return _ogl
.PyCircleShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
2804 def base_OnBeginSize(*args
, **kwargs
):
2805 """base_OnBeginSize(double w, double h)"""
2806 return _ogl
.PyCircleShape_base_OnBeginSize(*args
, **kwargs
)
2808 def base_OnEndSize(*args
, **kwargs
):
2809 """base_OnEndSize(double w, double h)"""
2810 return _ogl
.PyCircleShape_base_OnEndSize(*args
, **kwargs
)
2813 class PyCircleShapePtr(PyCircleShape
):
2814 def __init__(self
, this
):
2816 if not hasattr(self
,"thisown"): self
.thisown
= 0
2817 self
.__class
__ = PyCircleShape
2818 _ogl
.PyCircleShape_swigregister(PyCircleShapePtr
)
2820 class ArrowHead(core
.Object
):
2823 return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2824 def __init__(self
, *args
, **kwargs
):
2825 """__init__(int type=0, int end=0, double size=0.0, double dist=0.0,
2826 wxString name=wxPyEmptyString, PseudoMetaFile mf=None,
2827 long arrowId=-1) -> ArrowHead"""
2828 newobj
= _ogl
.new_ArrowHead(*args
, **kwargs
)
2829 self
.this
= newobj
.this
2832 def __del__(self
, destroy
=_ogl
.delete_ArrowHead
):
2835 if self
.thisown
: destroy(self
)
2838 def _GetType(*args
, **kwargs
):
2839 """_GetType() -> int"""
2840 return _ogl
.ArrowHead__GetType(*args
, **kwargs
)
2842 def GetPosition(*args
, **kwargs
):
2843 """GetPosition() -> int"""
2844 return _ogl
.ArrowHead_GetPosition(*args
, **kwargs
)
2846 def SetPosition(*args
, **kwargs
):
2847 """SetPosition(int pos)"""
2848 return _ogl
.ArrowHead_SetPosition(*args
, **kwargs
)
2850 def GetXOffset(*args
, **kwargs
):
2851 """GetXOffset() -> double"""
2852 return _ogl
.ArrowHead_GetXOffset(*args
, **kwargs
)
2854 def GetYOffset(*args
, **kwargs
):
2855 """GetYOffset() -> double"""
2856 return _ogl
.ArrowHead_GetYOffset(*args
, **kwargs
)
2858 def GetSpacing(*args
, **kwargs
):
2859 """GetSpacing() -> double"""
2860 return _ogl
.ArrowHead_GetSpacing(*args
, **kwargs
)
2862 def GetSize(*args
, **kwargs
):
2863 """GetSize() -> double"""
2864 return _ogl
.ArrowHead_GetSize(*args
, **kwargs
)
2866 def GetName(*args
, **kwargs
):
2867 """GetName() -> wxString"""
2868 return _ogl
.ArrowHead_GetName(*args
, **kwargs
)
2870 def SetXOffset(*args
, **kwargs
):
2871 """SetXOffset(double x)"""
2872 return _ogl
.ArrowHead_SetXOffset(*args
, **kwargs
)
2874 def SetYOffset(*args
, **kwargs
):
2875 """SetYOffset(double y)"""
2876 return _ogl
.ArrowHead_SetYOffset(*args
, **kwargs
)
2878 def GetMetaFile(*args
, **kwargs
):
2879 """GetMetaFile() -> PseudoMetaFile"""
2880 return _ogl
.ArrowHead_GetMetaFile(*args
, **kwargs
)
2882 def GetId(*args
, **kwargs
):
2883 """GetId() -> long"""
2884 return _ogl
.ArrowHead_GetId(*args
, **kwargs
)
2886 def GetArrowEnd(*args
, **kwargs
):
2887 """GetArrowEnd() -> int"""
2888 return _ogl
.ArrowHead_GetArrowEnd(*args
, **kwargs
)
2890 def GetArrowSize(*args
, **kwargs
):
2891 """GetArrowSize() -> double"""
2892 return _ogl
.ArrowHead_GetArrowSize(*args
, **kwargs
)
2894 def SetSize(*args
, **kwargs
):
2895 """SetSize(double size)"""
2896 return _ogl
.ArrowHead_SetSize(*args
, **kwargs
)
2898 def SetSpacing(*args
, **kwargs
):
2899 """SetSpacing(double sp)"""
2900 return _ogl
.ArrowHead_SetSpacing(*args
, **kwargs
)
2903 class ArrowHeadPtr(ArrowHead
):
2904 def __init__(self
, this
):
2906 if not hasattr(self
,"thisown"): self
.thisown
= 0
2907 self
.__class
__ = ArrowHead
2908 _ogl
.ArrowHead_swigregister(ArrowHeadPtr
)
2910 class PyLineShape(PyShape
):
2913 return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2914 def __init__(self
, *args
, **kwargs
):
2915 """__init__() -> PyLineShape"""
2916 newobj
= _ogl
.new_PyLineShape(*args
, **kwargs
)
2917 self
.this
= newobj
.this
2920 self
._setOORandCallbackInfo
(PyLineShape
)
2922 def _setCallbackInfo(*args
, **kwargs
):
2923 """_setCallbackInfo(PyObject self, PyObject _class)"""
2924 return _ogl
.PyLineShape__setCallbackInfo(*args
, **kwargs
)
2926 def AddArrow(*args
, **kwargs
):
2927 """AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
2928 double xOffset=0.0, wxString name=wxPyEmptyString,
2929 PseudoMetaFile mf=None, long arrowId=-1)"""
2930 return _ogl
.PyLineShape_AddArrow(*args
, **kwargs
)
2932 def AddArrowOrdered(*args
, **kwargs
):
2933 """AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)"""
2934 return _ogl
.PyLineShape_AddArrowOrdered(*args
, **kwargs
)
2936 def ClearArrow(*args
, **kwargs
):
2937 """ClearArrow(wxString name) -> bool"""
2938 return _ogl
.PyLineShape_ClearArrow(*args
, **kwargs
)
2940 def ClearArrowsAtPosition(*args
, **kwargs
):
2941 """ClearArrowsAtPosition(int position=-1)"""
2942 return _ogl
.PyLineShape_ClearArrowsAtPosition(*args
, **kwargs
)
2944 def DrawArrow(*args
, **kwargs
):
2945 """DrawArrow(wxDC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)"""
2946 return _ogl
.PyLineShape_DrawArrow(*args
, **kwargs
)
2948 def DeleteArrowHeadId(*args
, **kwargs
):
2949 """DeleteArrowHeadId(long arrowId) -> bool"""
2950 return _ogl
.PyLineShape_DeleteArrowHeadId(*args
, **kwargs
)
2952 def DeleteArrowHead(*args
, **kwargs
):
2953 """DeleteArrowHead(int position, wxString name) -> bool"""
2954 return _ogl
.PyLineShape_DeleteArrowHead(*args
, **kwargs
)
2956 def DeleteLineControlPoint(*args
, **kwargs
):
2957 """DeleteLineControlPoint() -> bool"""
2958 return _ogl
.PyLineShape_DeleteLineControlPoint(*args
, **kwargs
)
2960 def DrawArrows(*args
, **kwargs
):
2961 """DrawArrows(wxDC dc)"""
2962 return _ogl
.PyLineShape_DrawArrows(*args
, **kwargs
)
2964 def DrawRegion(*args
, **kwargs
):
2965 """DrawRegion(wxDC dc, ShapeRegion region, double x, double y)"""
2966 return _ogl
.PyLineShape_DrawRegion(*args
, **kwargs
)
2968 def EraseRegion(*args
, **kwargs
):
2969 """EraseRegion(wxDC dc, ShapeRegion region, double x, double y)"""
2970 return _ogl
.PyLineShape_EraseRegion(*args
, **kwargs
)
2972 def FindArrowHeadId(*args
, **kwargs
):
2973 """FindArrowHeadId(long arrowId) -> ArrowHead"""
2974 return _ogl
.PyLineShape_FindArrowHeadId(*args
, **kwargs
)
2976 def FindArrowHead(*args
, **kwargs
):
2977 """FindArrowHead(int position, wxString name) -> ArrowHead"""
2978 return _ogl
.PyLineShape_FindArrowHead(*args
, **kwargs
)
2980 def FindLineEndPoints(*args
, **kwargs
):
2981 """FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
2982 return _ogl
.PyLineShape_FindLineEndPoints(*args
, **kwargs
)
2984 def FindLinePosition(*args
, **kwargs
):
2985 """FindLinePosition(double x, double y) -> int"""
2986 return _ogl
.PyLineShape_FindLinePosition(*args
, **kwargs
)
2988 def FindMinimumWidth(*args
, **kwargs
):
2989 """FindMinimumWidth() -> double"""
2990 return _ogl
.PyLineShape_FindMinimumWidth(*args
, **kwargs
)
2992 def FindNth(*args
, **kwargs
):
2993 """FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)"""
2994 return _ogl
.PyLineShape_FindNth(*args
, **kwargs
)
2996 def GetAttachmentFrom(*args
, **kwargs
):
2997 """GetAttachmentFrom() -> int"""
2998 return _ogl
.PyLineShape_GetAttachmentFrom(*args
, **kwargs
)
3000 def GetAttachmentTo(*args
, **kwargs
):
3001 """GetAttachmentTo() -> int"""
3002 return _ogl
.PyLineShape_GetAttachmentTo(*args
, **kwargs
)
3004 def GetEnds(*args
, **kwargs
):
3005 """GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3006 return _ogl
.PyLineShape_GetEnds(*args
, **kwargs
)
3008 def GetFrom(*args
, **kwargs
):
3009 """GetFrom() -> PyShape"""
3010 return _ogl
.PyLineShape_GetFrom(*args
, **kwargs
)
3012 def GetLabelPosition(*args
, **kwargs
):
3013 """GetLabelPosition(int position, double OUTPUT, double OUTPUT)"""
3014 return _ogl
.PyLineShape_GetLabelPosition(*args
, **kwargs
)
3016 def GetNextControlPoint(*args
, **kwargs
):
3017 """GetNextControlPoint(PyShape shape) -> RealPoint"""
3018 return _ogl
.PyLineShape_GetNextControlPoint(*args
, **kwargs
)
3020 def GetTo(*args
, **kwargs
):
3021 """GetTo() -> PyShape"""
3022 return _ogl
.PyLineShape_GetTo(*args
, **kwargs
)
3024 def Initialise(*args
, **kwargs
):
3026 return _ogl
.PyLineShape_Initialise(*args
, **kwargs
)
3028 def InsertLineControlPoint(*args
, **kwargs
):
3029 """InsertLineControlPoint(wxDC dc)"""
3030 return _ogl
.PyLineShape_InsertLineControlPoint(*args
, **kwargs
)
3032 def IsEnd(*args
, **kwargs
):
3033 """IsEnd(PyShape shape) -> bool"""
3034 return _ogl
.PyLineShape_IsEnd(*args
, **kwargs
)
3036 def IsSpline(*args
, **kwargs
):
3037 """IsSpline() -> bool"""
3038 return _ogl
.PyLineShape_IsSpline(*args
, **kwargs
)
3040 def MakeLineControlPoints(*args
, **kwargs
):
3041 """MakeLineControlPoints(int n)"""
3042 return _ogl
.PyLineShape_MakeLineControlPoints(*args
, **kwargs
)
3044 def GetLineControlPoints(*args
, **kwargs
):
3045 """GetLineControlPoints() -> PyObject"""
3046 return _ogl
.PyLineShape_GetLineControlPoints(*args
, **kwargs
)
3048 def SetAttachmentFrom(*args
, **kwargs
):
3049 """SetAttachmentFrom(int fromAttach)"""
3050 return _ogl
.PyLineShape_SetAttachmentFrom(*args
, **kwargs
)
3052 def SetAttachments(*args
, **kwargs
):
3053 """SetAttachments(int fromAttach, int toAttach)"""
3054 return _ogl
.PyLineShape_SetAttachments(*args
, **kwargs
)
3056 def SetAttachmentTo(*args
, **kwargs
):
3057 """SetAttachmentTo(int toAttach)"""
3058 return _ogl
.PyLineShape_SetAttachmentTo(*args
, **kwargs
)
3060 def SetEnds(*args
, **kwargs
):
3061 """SetEnds(double x1, double y1, double x2, double y2)"""
3062 return _ogl
.PyLineShape_SetEnds(*args
, **kwargs
)
3064 def SetFrom(*args
, **kwargs
):
3065 """SetFrom(PyShape object)"""
3066 return _ogl
.PyLineShape_SetFrom(*args
, **kwargs
)
3068 def SetIgnoreOffsets(*args
, **kwargs
):
3069 """SetIgnoreOffsets(bool ignore)"""
3070 return _ogl
.PyLineShape_SetIgnoreOffsets(*args
, **kwargs
)
3072 def SetSpline(*args
, **kwargs
):
3073 """SetSpline(bool spline)"""
3074 return _ogl
.PyLineShape_SetSpline(*args
, **kwargs
)
3076 def SetTo(*args
, **kwargs
):
3077 """SetTo(PyShape object)"""
3078 return _ogl
.PyLineShape_SetTo(*args
, **kwargs
)
3080 def Straighten(*args
, **kwargs
):
3081 """Straighten(wxDC dc=None)"""
3082 return _ogl
.PyLineShape_Straighten(*args
, **kwargs
)
3084 def Unlink(*args
, **kwargs
):
3086 return _ogl
.PyLineShape_Unlink(*args
, **kwargs
)
3088 def base_OnDraw(*args
, **kwargs
):
3089 """base_OnDraw(wxDC dc)"""
3090 return _ogl
.PyLineShape_base_OnDraw(*args
, **kwargs
)
3092 def base_OnDrawContents(*args
, **kwargs
):
3093 """base_OnDrawContents(wxDC dc)"""
3094 return _ogl
.PyLineShape_base_OnDrawContents(*args
, **kwargs
)
3096 def base_OnDrawBranches(*args
, **kwargs
):
3097 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3098 return _ogl
.PyLineShape_base_OnDrawBranches(*args
, **kwargs
)
3100 def base_OnMoveLinks(*args
, **kwargs
):
3101 """base_OnMoveLinks(wxDC dc)"""
3102 return _ogl
.PyLineShape_base_OnMoveLinks(*args
, **kwargs
)
3104 def base_OnErase(*args
, **kwargs
):
3105 """base_OnErase(wxDC dc)"""
3106 return _ogl
.PyLineShape_base_OnErase(*args
, **kwargs
)
3108 def base_OnEraseContents(*args
, **kwargs
):
3109 """base_OnEraseContents(wxDC dc)"""
3110 return _ogl
.PyLineShape_base_OnEraseContents(*args
, **kwargs
)
3112 def base_OnHighlight(*args
, **kwargs
):
3113 """base_OnHighlight(wxDC dc)"""
3114 return _ogl
.PyLineShape_base_OnHighlight(*args
, **kwargs
)
3116 def base_OnLeftClick(*args
, **kwargs
):
3117 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3118 return _ogl
.PyLineShape_base_OnLeftClick(*args
, **kwargs
)
3120 def base_OnLeftDoubleClick(*args
, **kwargs
):
3121 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3122 return _ogl
.PyLineShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3124 def base_OnRightClick(*args
, **kwargs
):
3125 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3126 return _ogl
.PyLineShape_base_OnRightClick(*args
, **kwargs
)
3128 def base_OnSize(*args
, **kwargs
):
3129 """base_OnSize(double x, double y)"""
3130 return _ogl
.PyLineShape_base_OnSize(*args
, **kwargs
)
3132 def base_OnMovePre(*args
, **kwargs
):
3133 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3134 bool display=True) -> bool"""
3135 return _ogl
.PyLineShape_base_OnMovePre(*args
, **kwargs
)
3137 def base_OnMovePost(*args
, **kwargs
):
3138 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3139 bool display=True)"""
3140 return _ogl
.PyLineShape_base_OnMovePost(*args
, **kwargs
)
3142 def base_OnDragLeft(*args
, **kwargs
):
3143 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3144 return _ogl
.PyLineShape_base_OnDragLeft(*args
, **kwargs
)
3146 def base_OnBeginDragLeft(*args
, **kwargs
):
3147 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3148 return _ogl
.PyLineShape_base_OnBeginDragLeft(*args
, **kwargs
)
3150 def base_OnEndDragLeft(*args
, **kwargs
):
3151 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3152 return _ogl
.PyLineShape_base_OnEndDragLeft(*args
, **kwargs
)
3154 def base_OnDragRight(*args
, **kwargs
):
3155 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3156 return _ogl
.PyLineShape_base_OnDragRight(*args
, **kwargs
)
3158 def base_OnBeginDragRight(*args
, **kwargs
):
3159 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3160 return _ogl
.PyLineShape_base_OnBeginDragRight(*args
, **kwargs
)
3162 def base_OnEndDragRight(*args
, **kwargs
):
3163 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3164 return _ogl
.PyLineShape_base_OnEndDragRight(*args
, **kwargs
)
3166 def base_OnDrawOutline(*args
, **kwargs
):
3167 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3168 return _ogl
.PyLineShape_base_OnDrawOutline(*args
, **kwargs
)
3170 def base_OnDrawControlPoints(*args
, **kwargs
):
3171 """base_OnDrawControlPoints(wxDC dc)"""
3172 return _ogl
.PyLineShape_base_OnDrawControlPoints(*args
, **kwargs
)
3174 def base_OnEraseControlPoints(*args
, **kwargs
):
3175 """base_OnEraseControlPoints(wxDC dc)"""
3176 return _ogl
.PyLineShape_base_OnEraseControlPoints(*args
, **kwargs
)
3178 def base_OnMoveLink(*args
, **kwargs
):
3179 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3180 return _ogl
.PyLineShape_base_OnMoveLink(*args
, **kwargs
)
3182 def base_OnSizingDragLeft(*args
, **kwargs
):
3183 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3184 int attachment=0)"""
3185 return _ogl
.PyLineShape_base_OnSizingDragLeft(*args
, **kwargs
)
3187 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3188 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3189 int attachment=0)"""
3190 return _ogl
.PyLineShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3192 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3193 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3194 int attachment=0)"""
3195 return _ogl
.PyLineShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3197 def base_OnBeginSize(*args
, **kwargs
):
3198 """base_OnBeginSize(double w, double h)"""
3199 return _ogl
.PyLineShape_base_OnBeginSize(*args
, **kwargs
)
3201 def base_OnEndSize(*args
, **kwargs
):
3202 """base_OnEndSize(double w, double h)"""
3203 return _ogl
.PyLineShape_base_OnEndSize(*args
, **kwargs
)
3206 class PyLineShapePtr(PyLineShape
):
3207 def __init__(self
, this
):
3209 if not hasattr(self
,"thisown"): self
.thisown
= 0
3210 self
.__class
__ = PyLineShape
3211 _ogl
.PyLineShape_swigregister(PyLineShapePtr
)
3213 class PyPolygonShape(PyShape
):
3216 return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3217 def __init__(self
, *args
, **kwargs
):
3218 """__init__() -> PyPolygonShape"""
3219 newobj
= _ogl
.new_PyPolygonShape(*args
, **kwargs
)
3220 self
.this
= newobj
.this
3223 self
._setOORandCallbackInfo
(PyPolygonShape
)
3225 def _setCallbackInfo(*args
, **kwargs
):
3226 """_setCallbackInfo(PyObject self, PyObject _class)"""
3227 return _ogl
.PyPolygonShape__setCallbackInfo(*args
, **kwargs
)
3229 def Create(*args
, **kwargs
):
3230 """Create(PyObject points) -> PyObject"""
3231 return _ogl
.PyPolygonShape_Create(*args
, **kwargs
)
3233 def AddPolygonPoint(*args
, **kwargs
):
3234 """AddPolygonPoint(int pos=0)"""
3235 return _ogl
.PyPolygonShape_AddPolygonPoint(*args
, **kwargs
)
3237 def CalculatePolygonCentre(*args
, **kwargs
):
3238 """CalculatePolygonCentre()"""
3239 return _ogl
.PyPolygonShape_CalculatePolygonCentre(*args
, **kwargs
)
3241 def DeletePolygonPoint(*args
, **kwargs
):
3242 """DeletePolygonPoint(int pos=0)"""
3243 return _ogl
.PyPolygonShape_DeletePolygonPoint(*args
, **kwargs
)
3245 def GetPoints(*args
, **kwargs
):
3246 """GetPoints() -> PyObject"""
3247 return _ogl
.PyPolygonShape_GetPoints(*args
, **kwargs
)
3249 def UpdateOriginalPoints(*args
, **kwargs
):
3250 """UpdateOriginalPoints()"""
3251 return _ogl
.PyPolygonShape_UpdateOriginalPoints(*args
, **kwargs
)
3253 def base_OnDraw(*args
, **kwargs
):
3254 """base_OnDraw(wxDC dc)"""
3255 return _ogl
.PyPolygonShape_base_OnDraw(*args
, **kwargs
)
3257 def base_OnDrawContents(*args
, **kwargs
):
3258 """base_OnDrawContents(wxDC dc)"""
3259 return _ogl
.PyPolygonShape_base_OnDrawContents(*args
, **kwargs
)
3261 def base_OnDrawBranches(*args
, **kwargs
):
3262 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3263 return _ogl
.PyPolygonShape_base_OnDrawBranches(*args
, **kwargs
)
3265 def base_OnMoveLinks(*args
, **kwargs
):
3266 """base_OnMoveLinks(wxDC dc)"""
3267 return _ogl
.PyPolygonShape_base_OnMoveLinks(*args
, **kwargs
)
3269 def base_OnErase(*args
, **kwargs
):
3270 """base_OnErase(wxDC dc)"""
3271 return _ogl
.PyPolygonShape_base_OnErase(*args
, **kwargs
)
3273 def base_OnEraseContents(*args
, **kwargs
):
3274 """base_OnEraseContents(wxDC dc)"""
3275 return _ogl
.PyPolygonShape_base_OnEraseContents(*args
, **kwargs
)
3277 def base_OnHighlight(*args
, **kwargs
):
3278 """base_OnHighlight(wxDC dc)"""
3279 return _ogl
.PyPolygonShape_base_OnHighlight(*args
, **kwargs
)
3281 def base_OnLeftClick(*args
, **kwargs
):
3282 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3283 return _ogl
.PyPolygonShape_base_OnLeftClick(*args
, **kwargs
)
3285 def base_OnLeftDoubleClick(*args
, **kwargs
):
3286 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3287 return _ogl
.PyPolygonShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3289 def base_OnRightClick(*args
, **kwargs
):
3290 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3291 return _ogl
.PyPolygonShape_base_OnRightClick(*args
, **kwargs
)
3293 def base_OnSize(*args
, **kwargs
):
3294 """base_OnSize(double x, double y)"""
3295 return _ogl
.PyPolygonShape_base_OnSize(*args
, **kwargs
)
3297 def base_OnMovePre(*args
, **kwargs
):
3298 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3299 bool display=True) -> bool"""
3300 return _ogl
.PyPolygonShape_base_OnMovePre(*args
, **kwargs
)
3302 def base_OnMovePost(*args
, **kwargs
):
3303 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3304 bool display=True)"""
3305 return _ogl
.PyPolygonShape_base_OnMovePost(*args
, **kwargs
)
3307 def base_OnDragLeft(*args
, **kwargs
):
3308 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3309 return _ogl
.PyPolygonShape_base_OnDragLeft(*args
, **kwargs
)
3311 def base_OnBeginDragLeft(*args
, **kwargs
):
3312 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3313 return _ogl
.PyPolygonShape_base_OnBeginDragLeft(*args
, **kwargs
)
3315 def base_OnEndDragLeft(*args
, **kwargs
):
3316 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3317 return _ogl
.PyPolygonShape_base_OnEndDragLeft(*args
, **kwargs
)
3319 def base_OnDragRight(*args
, **kwargs
):
3320 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3321 return _ogl
.PyPolygonShape_base_OnDragRight(*args
, **kwargs
)
3323 def base_OnBeginDragRight(*args
, **kwargs
):
3324 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3325 return _ogl
.PyPolygonShape_base_OnBeginDragRight(*args
, **kwargs
)
3327 def base_OnEndDragRight(*args
, **kwargs
):
3328 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3329 return _ogl
.PyPolygonShape_base_OnEndDragRight(*args
, **kwargs
)
3331 def base_OnDrawOutline(*args
, **kwargs
):
3332 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3333 return _ogl
.PyPolygonShape_base_OnDrawOutline(*args
, **kwargs
)
3335 def base_OnDrawControlPoints(*args
, **kwargs
):
3336 """base_OnDrawControlPoints(wxDC dc)"""
3337 return _ogl
.PyPolygonShape_base_OnDrawControlPoints(*args
, **kwargs
)
3339 def base_OnEraseControlPoints(*args
, **kwargs
):
3340 """base_OnEraseControlPoints(wxDC dc)"""
3341 return _ogl
.PyPolygonShape_base_OnEraseControlPoints(*args
, **kwargs
)
3343 def base_OnMoveLink(*args
, **kwargs
):
3344 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3345 return _ogl
.PyPolygonShape_base_OnMoveLink(*args
, **kwargs
)
3347 def base_OnSizingDragLeft(*args
, **kwargs
):
3348 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3349 int attachment=0)"""
3350 return _ogl
.PyPolygonShape_base_OnSizingDragLeft(*args
, **kwargs
)
3352 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3353 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3354 int attachment=0)"""
3355 return _ogl
.PyPolygonShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3357 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3358 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3359 int attachment=0)"""
3360 return _ogl
.PyPolygonShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3362 def base_OnBeginSize(*args
, **kwargs
):
3363 """base_OnBeginSize(double w, double h)"""
3364 return _ogl
.PyPolygonShape_base_OnBeginSize(*args
, **kwargs
)
3366 def base_OnEndSize(*args
, **kwargs
):
3367 """base_OnEndSize(double w, double h)"""
3368 return _ogl
.PyPolygonShape_base_OnEndSize(*args
, **kwargs
)
3371 class PyPolygonShapePtr(PyPolygonShape
):
3372 def __init__(self
, this
):
3374 if not hasattr(self
,"thisown"): self
.thisown
= 0
3375 self
.__class
__ = PyPolygonShape
3376 _ogl
.PyPolygonShape_swigregister(PyPolygonShapePtr
)
3378 class PyTextShape(PyRectangleShape
):
3381 return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3382 def __init__(self
, *args
, **kwargs
):
3383 """__init__(double width=0.0, double height=0.0) -> PyTextShape"""
3384 newobj
= _ogl
.new_PyTextShape(*args
, **kwargs
)
3385 self
.this
= newobj
.this
3388 self
._setOORandCallbackInfo
(PyTextShape
)
3390 def _setCallbackInfo(*args
, **kwargs
):
3391 """_setCallbackInfo(PyObject self, PyObject _class)"""
3392 return _ogl
.PyTextShape__setCallbackInfo(*args
, **kwargs
)
3394 def base_OnDelete(*args
, **kwargs
):
3395 """base_OnDelete()"""
3396 return _ogl
.PyTextShape_base_OnDelete(*args
, **kwargs
)
3398 def base_OnDraw(*args
, **kwargs
):
3399 """base_OnDraw(wxDC dc)"""
3400 return _ogl
.PyTextShape_base_OnDraw(*args
, **kwargs
)
3402 def base_OnDrawContents(*args
, **kwargs
):
3403 """base_OnDrawContents(wxDC dc)"""
3404 return _ogl
.PyTextShape_base_OnDrawContents(*args
, **kwargs
)
3406 def base_OnDrawBranches(*args
, **kwargs
):
3407 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3408 return _ogl
.PyTextShape_base_OnDrawBranches(*args
, **kwargs
)
3410 def base_OnMoveLinks(*args
, **kwargs
):
3411 """base_OnMoveLinks(wxDC dc)"""
3412 return _ogl
.PyTextShape_base_OnMoveLinks(*args
, **kwargs
)
3414 def base_OnErase(*args
, **kwargs
):
3415 """base_OnErase(wxDC dc)"""
3416 return _ogl
.PyTextShape_base_OnErase(*args
, **kwargs
)
3418 def base_OnEraseContents(*args
, **kwargs
):
3419 """base_OnEraseContents(wxDC dc)"""
3420 return _ogl
.PyTextShape_base_OnEraseContents(*args
, **kwargs
)
3422 def base_OnHighlight(*args
, **kwargs
):
3423 """base_OnHighlight(wxDC dc)"""
3424 return _ogl
.PyTextShape_base_OnHighlight(*args
, **kwargs
)
3426 def base_OnLeftClick(*args
, **kwargs
):
3427 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3428 return _ogl
.PyTextShape_base_OnLeftClick(*args
, **kwargs
)
3430 def base_OnLeftDoubleClick(*args
, **kwargs
):
3431 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3432 return _ogl
.PyTextShape_base_OnLeftDoubleClick(*args
, **kwargs
)
3434 def base_OnRightClick(*args
, **kwargs
):
3435 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3436 return _ogl
.PyTextShape_base_OnRightClick(*args
, **kwargs
)
3438 def base_OnSize(*args
, **kwargs
):
3439 """base_OnSize(double x, double y)"""
3440 return _ogl
.PyTextShape_base_OnSize(*args
, **kwargs
)
3442 def base_OnMovePre(*args
, **kwargs
):
3443 """base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3444 bool display=True) -> bool"""
3445 return _ogl
.PyTextShape_base_OnMovePre(*args
, **kwargs
)
3447 def base_OnMovePost(*args
, **kwargs
):
3448 """base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3449 bool display=True)"""
3450 return _ogl
.PyTextShape_base_OnMovePost(*args
, **kwargs
)
3452 def base_OnDragLeft(*args
, **kwargs
):
3453 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3454 return _ogl
.PyTextShape_base_OnDragLeft(*args
, **kwargs
)
3456 def base_OnBeginDragLeft(*args
, **kwargs
):
3457 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3458 return _ogl
.PyTextShape_base_OnBeginDragLeft(*args
, **kwargs
)
3460 def base_OnEndDragLeft(*args
, **kwargs
):
3461 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3462 return _ogl
.PyTextShape_base_OnEndDragLeft(*args
, **kwargs
)
3464 def base_OnDragRight(*args
, **kwargs
):
3465 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3466 return _ogl
.PyTextShape_base_OnDragRight(*args
, **kwargs
)
3468 def base_OnBeginDragRight(*args
, **kwargs
):
3469 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3470 return _ogl
.PyTextShape_base_OnBeginDragRight(*args
, **kwargs
)
3472 def base_OnEndDragRight(*args
, **kwargs
):
3473 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3474 return _ogl
.PyTextShape_base_OnEndDragRight(*args
, **kwargs
)
3476 def base_OnDrawOutline(*args
, **kwargs
):
3477 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3478 return _ogl
.PyTextShape_base_OnDrawOutline(*args
, **kwargs
)
3480 def base_OnDrawControlPoints(*args
, **kwargs
):
3481 """base_OnDrawControlPoints(wxDC dc)"""
3482 return _ogl
.PyTextShape_base_OnDrawControlPoints(*args
, **kwargs
)
3484 def base_OnEraseControlPoints(*args
, **kwargs
):
3485 """base_OnEraseControlPoints(wxDC dc)"""
3486 return _ogl
.PyTextShape_base_OnEraseControlPoints(*args
, **kwargs
)
3488 def base_OnMoveLink(*args
, **kwargs
):
3489 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3490 return _ogl
.PyTextShape_base_OnMoveLink(*args
, **kwargs
)
3492 def base_OnSizingDragLeft(*args
, **kwargs
):
3493 """base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3494 int attachment=0)"""
3495 return _ogl
.PyTextShape_base_OnSizingDragLeft(*args
, **kwargs
)
3497 def base_OnSizingBeginDragLeft(*args
, **kwargs
):
3498 """base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3499 int attachment=0)"""
3500 return _ogl
.PyTextShape_base_OnSizingBeginDragLeft(*args
, **kwargs
)
3502 def base_OnSizingEndDragLeft(*args
, **kwargs
):
3503 """base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3504 int attachment=0)"""
3505 return _ogl
.PyTextShape_base_OnSizingEndDragLeft(*args
, **kwargs
)
3507 def base_OnBeginSize(*args
, **kwargs
):
3508 """base_OnBeginSize(double w, double h)"""
3509 return _ogl
.PyTextShape_base_OnBeginSize(*args
, **kwargs
)
3511 def base_OnEndSize(*args
, **kwargs
):
3512 """base_OnEndSize(double w, double h)"""
3513 return _ogl
.PyTextShape_base_OnEndSize(*args
, **kwargs
)
3516 class PyTextShapePtr(PyTextShape
):
3517 def __init__(self
, this
):
3519 if not hasattr(self
,"thisown"): self
.thisown
= 0
3520 self
.__class
__ = PyTextShape
3521 _ogl
.PyTextShape_swigregister(PyTextShapePtr
)
3523 class Diagram(core
.Object
):
3526 return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3527 def __init__(self
, *args
, **kwargs
):
3528 """__init__() -> Diagram"""
3529 newobj
= _ogl
.new_Diagram(*args
, **kwargs
)
3530 self
.this
= newobj
.this
3533 def AddShape(*args
, **kwargs
):
3534 """AddShape(PyShape shape, PyShape addAfter=None)"""
3535 return _ogl
.Diagram_AddShape(*args
, **kwargs
)
3537 def Clear(*args
, **kwargs
):
3538 """Clear(wxDC dc)"""
3539 return _ogl
.Diagram_Clear(*args
, **kwargs
)
3541 def DeleteAllShapes(*args
, **kwargs
):
3542 """DeleteAllShapes()"""
3543 return _ogl
.Diagram_DeleteAllShapes(*args
, **kwargs
)
3545 def DrawOutline(*args
, **kwargs
):
3546 """DrawOutline(wxDC dc, double x1, double y1, double x2, double y2)"""
3547 return _ogl
.Diagram_DrawOutline(*args
, **kwargs
)
3549 def FindShape(*args
, **kwargs
):
3550 """FindShape(long id) -> PyShape"""
3551 return _ogl
.Diagram_FindShape(*args
, **kwargs
)
3553 def GetCanvas(*args
, **kwargs
):
3554 """GetCanvas() -> PyShapeCanvas"""
3555 return _ogl
.Diagram_GetCanvas(*args
, **kwargs
)
3557 def GetCount(*args
, **kwargs
):
3558 """GetCount() -> int"""
3559 return _ogl
.Diagram_GetCount(*args
, **kwargs
)
3561 def GetGridSpacing(*args
, **kwargs
):
3562 """GetGridSpacing() -> double"""
3563 return _ogl
.Diagram_GetGridSpacing(*args
, **kwargs
)
3565 def GetMouseTolerance(*args
, **kwargs
):
3566 """GetMouseTolerance() -> int"""
3567 return _ogl
.Diagram_GetMouseTolerance(*args
, **kwargs
)
3569 def GetShapeList(*args
, **kwargs
):
3570 """GetShapeList() -> PyObject"""
3571 return _ogl
.Diagram_GetShapeList(*args
, **kwargs
)
3573 def GetQuickEditMode(*args
, **kwargs
):
3574 """GetQuickEditMode() -> bool"""
3575 return _ogl
.Diagram_GetQuickEditMode(*args
, **kwargs
)
3577 def GetSnapToGrid(*args
, **kwargs
):
3578 """GetSnapToGrid() -> bool"""
3579 return _ogl
.Diagram_GetSnapToGrid(*args
, **kwargs
)
3581 def InsertShape(*args
, **kwargs
):
3582 """InsertShape(PyShape shape)"""
3583 return _ogl
.Diagram_InsertShape(*args
, **kwargs
)
3585 def RecentreAll(*args
, **kwargs
):
3586 """RecentreAll(wxDC dc)"""
3587 return _ogl
.Diagram_RecentreAll(*args
, **kwargs
)
3589 def Redraw(*args
, **kwargs
):
3590 """Redraw(wxDC dc)"""
3591 return _ogl
.Diagram_Redraw(*args
, **kwargs
)
3593 def RemoveAllShapes(*args
, **kwargs
):
3594 """RemoveAllShapes()"""
3595 return _ogl
.Diagram_RemoveAllShapes(*args
, **kwargs
)
3597 def RemoveShape(*args
, **kwargs
):
3598 """RemoveShape(PyShape shape)"""
3599 return _ogl
.Diagram_RemoveShape(*args
, **kwargs
)
3601 def SetCanvas(*args
, **kwargs
):
3602 """SetCanvas(PyShapeCanvas canvas)"""
3603 return _ogl
.Diagram_SetCanvas(*args
, **kwargs
)
3605 def SetGridSpacing(*args
, **kwargs
):
3606 """SetGridSpacing(double spacing)"""
3607 return _ogl
.Diagram_SetGridSpacing(*args
, **kwargs
)
3609 def SetMouseTolerance(*args
, **kwargs
):
3610 """SetMouseTolerance(int tolerance)"""
3611 return _ogl
.Diagram_SetMouseTolerance(*args
, **kwargs
)
3613 def SetQuickEditMode(*args
, **kwargs
):
3614 """SetQuickEditMode(bool mode)"""
3615 return _ogl
.Diagram_SetQuickEditMode(*args
, **kwargs
)
3617 def SetSnapToGrid(*args
, **kwargs
):
3618 """SetSnapToGrid(bool snap)"""
3619 return _ogl
.Diagram_SetSnapToGrid(*args
, **kwargs
)
3621 def ShowAll(*args
, **kwargs
):
3622 """ShowAll(bool show)"""
3623 return _ogl
.Diagram_ShowAll(*args
, **kwargs
)
3625 def Snap(*args
, **kwargs
):
3626 """Snap(double INOUT, double INOUT)"""
3627 return _ogl
.Diagram_Snap(*args
, **kwargs
)
3630 class DiagramPtr(Diagram
):
3631 def __init__(self
, this
):
3633 if not hasattr(self
,"thisown"): self
.thisown
= 0
3634 self
.__class
__ = Diagram
3635 _ogl
.Diagram_swigregister(DiagramPtr
)
3637 class PyShapeCanvas(windows
.ScrolledWindow
):
3640 return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3641 def __init__(self
, *args
, **kwargs
):
3642 """__init__(Window parent=None, int id=-1, Point pos=DefaultPosition,
3643 Size size=DefaultSize, long style=BORDER,
3644 wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas"""
3645 newobj
= _ogl
.new_PyShapeCanvas(*args
, **kwargs
)
3646 self
.this
= newobj
.this
3649 def _setCallbackInfo(*args
, **kwargs
):
3650 """_setCallbackInfo(PyObject self, PyObject _class)"""
3651 return _ogl
.PyShapeCanvas__setCallbackInfo(*args
, **kwargs
)
3653 def _setOORandCallbackInfo(self
, _class
):
3654 self
._setOORInfo
(self
)
3655 self
._setCallbackInfo
(self
, _class
)
3657 def AddShape(*args
, **kwargs
):
3658 """AddShape(PyShape shape, PyShape addAfter=None)"""
3659 return _ogl
.PyShapeCanvas_AddShape(*args
, **kwargs
)
3661 def FindShape(*args
, **kwargs
):
3662 """FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None,
3663 PyShape notImage=None) -> PyShape"""
3664 return _ogl
.PyShapeCanvas_FindShape(*args
, **kwargs
)
3666 def FindFirstSensitiveShape(*args
, **kwargs
):
3667 """FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape"""
3668 return _ogl
.PyShapeCanvas_FindFirstSensitiveShape(*args
, **kwargs
)
3670 def GetDiagram(*args
, **kwargs
):
3671 """GetDiagram() -> Diagram"""
3672 return _ogl
.PyShapeCanvas_GetDiagram(*args
, **kwargs
)
3674 def GetQuickEditMode(*args
, **kwargs
):
3675 """GetQuickEditMode() -> bool"""
3676 return _ogl
.PyShapeCanvas_GetQuickEditMode(*args
, **kwargs
)
3678 def InsertShape(*args
, **kwargs
):
3679 """InsertShape(PyShape shape)"""
3680 return _ogl
.PyShapeCanvas_InsertShape(*args
, **kwargs
)
3682 def base_OnBeginDragLeft(*args
, **kwargs
):
3683 """base_OnBeginDragLeft(double x, double y, int keys=0)"""
3684 return _ogl
.PyShapeCanvas_base_OnBeginDragLeft(*args
, **kwargs
)
3686 def base_OnBeginDragRight(*args
, **kwargs
):
3687 """base_OnBeginDragRight(double x, double y, int keys=0)"""
3688 return _ogl
.PyShapeCanvas_base_OnBeginDragRight(*args
, **kwargs
)
3690 def base_OnEndDragLeft(*args
, **kwargs
):
3691 """base_OnEndDragLeft(double x, double y, int keys=0)"""
3692 return _ogl
.PyShapeCanvas_base_OnEndDragLeft(*args
, **kwargs
)
3694 def base_OnEndDragRight(*args
, **kwargs
):
3695 """base_OnEndDragRight(double x, double y, int keys=0)"""
3696 return _ogl
.PyShapeCanvas_base_OnEndDragRight(*args
, **kwargs
)
3698 def base_OnDragLeft(*args
, **kwargs
):
3699 """base_OnDragLeft(bool draw, double x, double y, int keys=0)"""
3700 return _ogl
.PyShapeCanvas_base_OnDragLeft(*args
, **kwargs
)
3702 def base_OnDragRight(*args
, **kwargs
):
3703 """base_OnDragRight(bool draw, double x, double y, int keys=0)"""
3704 return _ogl
.PyShapeCanvas_base_OnDragRight(*args
, **kwargs
)
3706 def base_OnLeftClick(*args
, **kwargs
):
3707 """base_OnLeftClick(double x, double y, int keys=0)"""
3708 return _ogl
.PyShapeCanvas_base_OnLeftClick(*args
, **kwargs
)
3710 def base_OnRightClick(*args
, **kwargs
):
3711 """base_OnRightClick(double x, double y, int keys=0)"""
3712 return _ogl
.PyShapeCanvas_base_OnRightClick(*args
, **kwargs
)
3714 def Redraw(*args
, **kwargs
):
3715 """Redraw(wxDC dc)"""
3716 return _ogl
.PyShapeCanvas_Redraw(*args
, **kwargs
)
3718 def RemoveShape(*args
, **kwargs
):
3719 """RemoveShape(PyShape shape)"""
3720 return _ogl
.PyShapeCanvas_RemoveShape(*args
, **kwargs
)
3722 def SetDiagram(*args
, **kwargs
):
3723 """SetDiagram(Diagram diagram)"""
3724 return _ogl
.PyShapeCanvas_SetDiagram(*args
, **kwargs
)
3726 def Snap(*args
, **kwargs
):
3727 """Snap(double INOUT, double INOUT)"""
3728 return _ogl
.PyShapeCanvas_Snap(*args
, **kwargs
)
3730 def GetShapeList(self
):
3731 return self
.GetDiagram().GetShapeList()
3734 class PyShapeCanvasPtr(PyShapeCanvas
):
3735 def __init__(self
, this
):
3737 if not hasattr(self
,"thisown"): self
.thisown
= 0
3738 self
.__class
__ = PyShapeCanvas
3739 _ogl
.PyShapeCanvas_swigregister(PyShapeCanvasPtr
)
3742 ShapeCanvas
= PyShapeCanvas
3743 ShapeEvtHandler
= PyShapeEvtHandler
3745 RectangleShape
= PyRectangleShape
3746 BitmapShape
= PyBitmapShape
3747 DrawnShape
= PyDrawnShape
3748 CompositeShape
= PyCompositeShape
3749 DividedShape
= PyDividedShape
3750 DivisionShape
= PyDivisionShape
3751 EllipseShape
= PyEllipseShape
3752 CircleShape
= PyCircleShape
3753 LineShape
= PyLineShape
3754 PolygonShape
= PyPolygonShape
3755 TextShape
= PyTextShape
3756 ControlPoint
= PyControlPoint
3758 KEY_SHIFT
= _ogl
.KEY_SHIFT
3759 KEY_CTRL
= _ogl
.KEY_CTRL
3760 ARROW_NONE
= _ogl
.ARROW_NONE
3761 ARROW_END
= _ogl
.ARROW_END
3762 ARROW_BOTH
= _ogl
.ARROW_BOTH
3763 ARROW_MIDDLE
= _ogl
.ARROW_MIDDLE
3764 ARROW_START
= _ogl
.ARROW_START
3765 ARROW_HOLLOW_CIRCLE
= _ogl
.ARROW_HOLLOW_CIRCLE
3766 ARROW_FILLED_CIRCLE
= _ogl
.ARROW_FILLED_CIRCLE
3767 ARROW_ARROW
= _ogl
.ARROW_ARROW
3768 ARROW_SINGLE_OBLIQUE
= _ogl
.ARROW_SINGLE_OBLIQUE
3769 ARROW_DOUBLE_OBLIQUE
= _ogl
.ARROW_DOUBLE_OBLIQUE
3770 ARROW_METAFILE
= _ogl
.ARROW_METAFILE
3771 ARROW_POSITION_END
= _ogl
.ARROW_POSITION_END
3772 ARROW_POSITION_START
= _ogl
.ARROW_POSITION_START
3773 CONTROL_POINT_VERTICAL
= _ogl
.CONTROL_POINT_VERTICAL
3774 CONTROL_POINT_HORIZONTAL
= _ogl
.CONTROL_POINT_HORIZONTAL
3775 CONTROL_POINT_DIAGONAL
= _ogl
.CONTROL_POINT_DIAGONAL
3776 CONTROL_POINT_ENDPOINT_TO
= _ogl
.CONTROL_POINT_ENDPOINT_TO
3777 CONTROL_POINT_ENDPOINT_FROM
= _ogl
.CONTROL_POINT_ENDPOINT_FROM
3778 CONTROL_POINT_LINE
= _ogl
.CONTROL_POINT_LINE
3779 FORMAT_NONE
= _ogl
.FORMAT_NONE
3780 FORMAT_CENTRE_HORIZ
= _ogl
.FORMAT_CENTRE_HORIZ
3781 FORMAT_CENTRE_VERT
= _ogl
.FORMAT_CENTRE_VERT
3782 FORMAT_SIZE_TO_CONTENTS
= _ogl
.FORMAT_SIZE_TO_CONTENTS
3783 LINE_ALIGNMENT_HORIZ
= _ogl
.LINE_ALIGNMENT_HORIZ
3784 LINE_ALIGNMENT_VERT
= _ogl
.LINE_ALIGNMENT_VERT
3785 LINE_ALIGNMENT_TO_NEXT_HANDLE
= _ogl
.LINE_ALIGNMENT_TO_NEXT_HANDLE
3786 LINE_ALIGNMENT_NONE
= _ogl
.LINE_ALIGNMENT_NONE
3787 SHADOW_NONE
= _ogl
.SHADOW_NONE
3788 SHADOW_LEFT
= _ogl
.SHADOW_LEFT
3789 SHADOW_RIGHT
= _ogl
.SHADOW_RIGHT
3790 OP_CLICK_LEFT
= _ogl
.OP_CLICK_LEFT
3791 OP_CLICK_RIGHT
= _ogl
.OP_CLICK_RIGHT
3792 OP_DRAG_LEFT
= _ogl
.OP_DRAG_LEFT
3793 OP_DRAG_RIGHT
= _ogl
.OP_DRAG_RIGHT
3794 OP_ALL
= _ogl
.OP_ALL
3795 ATTACHMENT_MODE_NONE
= _ogl
.ATTACHMENT_MODE_NONE
3796 ATTACHMENT_MODE_EDGE
= _ogl
.ATTACHMENT_MODE_EDGE
3797 ATTACHMENT_MODE_BRANCHING
= _ogl
.ATTACHMENT_MODE_BRANCHING
3798 BRANCHING_ATTACHMENT_NORMAL
= _ogl
.BRANCHING_ATTACHMENT_NORMAL
3799 BRANCHING_ATTACHMENT_BLOB
= _ogl
.BRANCHING_ATTACHMENT_BLOB
3800 gyCONSTRAINT_CENTRED_VERTICALLY
= _ogl
.gyCONSTRAINT_CENTRED_VERTICALLY
3801 gyCONSTRAINT_CENTRED_HORIZONTALLY
= _ogl
.gyCONSTRAINT_CENTRED_HORIZONTALLY
3802 gyCONSTRAINT_CENTRED_BOTH
= _ogl
.gyCONSTRAINT_CENTRED_BOTH
3803 gyCONSTRAINT_LEFT_OF
= _ogl
.gyCONSTRAINT_LEFT_OF
3804 gyCONSTRAINT_RIGHT_OF
= _ogl
.gyCONSTRAINT_RIGHT_OF
3805 gyCONSTRAINT_ABOVE
= _ogl
.gyCONSTRAINT_ABOVE
3806 gyCONSTRAINT_BELOW
= _ogl
.gyCONSTRAINT_BELOW
3807 gyCONSTRAINT_ALIGNED_TOP
= _ogl
.gyCONSTRAINT_ALIGNED_TOP
3808 gyCONSTRAINT_ALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_ALIGNED_BOTTOM
3809 gyCONSTRAINT_ALIGNED_LEFT
= _ogl
.gyCONSTRAINT_ALIGNED_LEFT
3810 gyCONSTRAINT_ALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_ALIGNED_RIGHT
3811 gyCONSTRAINT_MIDALIGNED_TOP
= _ogl
.gyCONSTRAINT_MIDALIGNED_TOP
3812 gyCONSTRAINT_MIDALIGNED_BOTTOM
= _ogl
.gyCONSTRAINT_MIDALIGNED_BOTTOM
3813 gyCONSTRAINT_MIDALIGNED_LEFT
= _ogl
.gyCONSTRAINT_MIDALIGNED_LEFT
3814 gyCONSTRAINT_MIDALIGNED_RIGHT
= _ogl
.gyCONSTRAINT_MIDALIGNED_RIGHT
3815 DIVISION_SIDE_NONE
= _ogl
.DIVISION_SIDE_NONE
3816 DIVISION_SIDE_LEFT
= _ogl
.DIVISION_SIDE_LEFT
3817 DIVISION_SIDE_TOP
= _ogl
.DIVISION_SIDE_TOP
3818 DIVISION_SIDE_RIGHT
= _ogl
.DIVISION_SIDE_RIGHT
3819 DIVISION_SIDE_BOTTOM
= _ogl
.DIVISION_SIDE_BOTTOM
3821 def OGLInitialize(*args
, **kwargs
):
3822 """OGLInitialize()"""
3823 return _ogl
.OGLInitialize(*args
, **kwargs
)
3825 def OGLCleanUp(*args
, **kwargs
):
3827 return _ogl
.OGLCleanUp(*args
, **kwargs
)