]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/mac/ogl.py
Fixed a very weird typo
[wxWidgets.git] / wxPython / contrib / ogl / mac / ogl.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 import _ogl
5
6 import windows
7 import core
8 wx = core
9 #---------------------------------------------------------------------------
10
11 class ShapeRegion(core.Object):
12 def __repr__(self):
13 return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
14 def __init__(self, *args, **kwargs):
15 """__init__() -> ShapeRegion"""
16 newobj = _ogl.new_ShapeRegion(*args, **kwargs)
17 self.this = newobj.this
18 self.thisown = 1
19 del newobj.thisown
20 def SetText(*args, **kwargs):
21 """SetText(wxString s)"""
22 return _ogl.ShapeRegion_SetText(*args, **kwargs)
23
24 def SetFont(*args, **kwargs):
25 """SetFont(wxFont f)"""
26 return _ogl.ShapeRegion_SetFont(*args, **kwargs)
27
28 def SetMinSize(*args, **kwargs):
29 """SetMinSize(double w, double h)"""
30 return _ogl.ShapeRegion_SetMinSize(*args, **kwargs)
31
32 def SetSize(*args, **kwargs):
33 """SetSize(double w, double h)"""
34 return _ogl.ShapeRegion_SetSize(*args, **kwargs)
35
36 def SetPosition(*args, **kwargs):
37 """SetPosition(double x, double y)"""
38 return _ogl.ShapeRegion_SetPosition(*args, **kwargs)
39
40 def SetProportions(*args, **kwargs):
41 """SetProportions(double x, double y)"""
42 return _ogl.ShapeRegion_SetProportions(*args, **kwargs)
43
44 def SetFormatMode(*args, **kwargs):
45 """SetFormatMode(int mode)"""
46 return _ogl.ShapeRegion_SetFormatMode(*args, **kwargs)
47
48 def SetName(*args, **kwargs):
49 """SetName(wxString s)"""
50 return _ogl.ShapeRegion_SetName(*args, **kwargs)
51
52 def SetColour(*args, **kwargs):
53 """SetColour(wxString col)"""
54 return _ogl.ShapeRegion_SetColour(*args, **kwargs)
55
56 def GetText(*args, **kwargs):
57 """GetText() -> wxString"""
58 return _ogl.ShapeRegion_GetText(*args, **kwargs)
59
60 def GetFont(*args, **kwargs):
61 """GetFont() -> wxFont"""
62 return _ogl.ShapeRegion_GetFont(*args, **kwargs)
63
64 def GetMinSize(*args, **kwargs):
65 """GetMinSize(double OUTPUT, double OUTPUT)"""
66 return _ogl.ShapeRegion_GetMinSize(*args, **kwargs)
67
68 def GetProportion(*args, **kwargs):
69 """GetProportion(double OUTPUT, double OUTPUT)"""
70 return _ogl.ShapeRegion_GetProportion(*args, **kwargs)
71
72 def GetSize(*args, **kwargs):
73 """GetSize(double OUTPUT, double OUTPUT)"""
74 return _ogl.ShapeRegion_GetSize(*args, **kwargs)
75
76 def GetPosition(*args, **kwargs):
77 """GetPosition(double OUTPUT, double OUTPUT)"""
78 return _ogl.ShapeRegion_GetPosition(*args, **kwargs)
79
80 def GetFormatMode(*args, **kwargs):
81 """GetFormatMode() -> int"""
82 return _ogl.ShapeRegion_GetFormatMode(*args, **kwargs)
83
84 def GetName(*args, **kwargs):
85 """GetName() -> wxString"""
86 return _ogl.ShapeRegion_GetName(*args, **kwargs)
87
88 def GetColour(*args, **kwargs):
89 """GetColour() -> wxString"""
90 return _ogl.ShapeRegion_GetColour(*args, **kwargs)
91
92 def GetActualColourObject(*args, **kwargs):
93 """GetActualColourObject() -> wxColour"""
94 return _ogl.ShapeRegion_GetActualColourObject(*args, **kwargs)
95
96 def GetFormattedText(*args, **kwargs):
97 """GetFormattedText() -> wxList"""
98 return _ogl.ShapeRegion_GetFormattedText(*args, **kwargs)
99
100 def GetPenColour(*args, **kwargs):
101 """GetPenColour() -> wxString"""
102 return _ogl.ShapeRegion_GetPenColour(*args, **kwargs)
103
104 def GetPenStyle(*args, **kwargs):
105 """GetPenStyle() -> int"""
106 return _ogl.ShapeRegion_GetPenStyle(*args, **kwargs)
107
108 def SetPenStyle(*args, **kwargs):
109 """SetPenStyle(int style)"""
110 return _ogl.ShapeRegion_SetPenStyle(*args, **kwargs)
111
112 def SetPenColour(*args, **kwargs):
113 """SetPenColour(wxString col)"""
114 return _ogl.ShapeRegion_SetPenColour(*args, **kwargs)
115
116 def GetActualPen(*args, **kwargs):
117 """GetActualPen() -> wxPen"""
118 return _ogl.ShapeRegion_GetActualPen(*args, **kwargs)
119
120 def GetWidth(*args, **kwargs):
121 """GetWidth() -> double"""
122 return _ogl.ShapeRegion_GetWidth(*args, **kwargs)
123
124 def GetHeight(*args, **kwargs):
125 """GetHeight() -> double"""
126 return _ogl.ShapeRegion_GetHeight(*args, **kwargs)
127
128 def ClearText(*args, **kwargs):
129 """ClearText()"""
130 return _ogl.ShapeRegion_ClearText(*args, **kwargs)
131
132
133 class ShapeRegionPtr(ShapeRegion):
134 def __init__(self, this):
135 self.this = this
136 if not hasattr(self,"thisown"): self.thisown = 0
137 self.__class__ = ShapeRegion
138 _ogl.ShapeRegion_swigregister(ShapeRegionPtr)
139
140 class PyShapeEvtHandler(core.Object):
141 def __repr__(self):
142 return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
143 def __init__(self, *args, **kwargs):
144 """__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -> PyShapeEvtHandler"""
145 newobj = _ogl.new_PyShapeEvtHandler(*args, **kwargs)
146 self.this = newobj.this
147 self.thisown = 1
148 del newobj.thisown
149 self._setOORandCallbackInfo(PyShapeEvtHandler)
150
151 def _setCallbackInfo(*args, **kwargs):
152 """_setCallbackInfo(PyObject self, PyObject _class)"""
153 return _ogl.PyShapeEvtHandler__setCallbackInfo(*args, **kwargs)
154
155 def _setOORInfo(*args, **kwargs):
156 """_setOORInfo(PyObject _self)"""
157 return _ogl.PyShapeEvtHandler__setOORInfo(*args, **kwargs)
158
159 def _setOORandCallbackInfo(self, _class):
160 self._setOORInfo(self)
161 self._setCallbackInfo(self, _class)
162
163 def SetShape(*args, **kwargs):
164 """SetShape(PyShape sh)"""
165 return _ogl.PyShapeEvtHandler_SetShape(*args, **kwargs)
166
167 def GetShape(*args, **kwargs):
168 """GetShape() -> PyShape"""
169 return _ogl.PyShapeEvtHandler_GetShape(*args, **kwargs)
170
171 def SetPreviousHandler(*args, **kwargs):
172 """SetPreviousHandler(PyShapeEvtHandler handler)"""
173 return _ogl.PyShapeEvtHandler_SetPreviousHandler(*args, **kwargs)
174
175 def GetPreviousHandler(*args, **kwargs):
176 """GetPreviousHandler() -> PyShapeEvtHandler"""
177 return _ogl.PyShapeEvtHandler_GetPreviousHandler(*args, **kwargs)
178
179 def CreateNewCopy(*args, **kwargs):
180 """CreateNewCopy() -> PyShapeEvtHandler"""
181 return _ogl.PyShapeEvtHandler_CreateNewCopy(*args, **kwargs)
182
183 def base_OnDelete(*args, **kwargs):
184 """base_OnDelete()"""
185 return _ogl.PyShapeEvtHandler_base_OnDelete(*args, **kwargs)
186
187 def base_OnDraw(*args, **kwargs):
188 """base_OnDraw(wxDC dc)"""
189 return _ogl.PyShapeEvtHandler_base_OnDraw(*args, **kwargs)
190
191 def base_OnDrawContents(*args, **kwargs):
192 """base_OnDrawContents(wxDC dc)"""
193 return _ogl.PyShapeEvtHandler_base_OnDrawContents(*args, **kwargs)
194
195 def base_OnDrawBranches(*args, **kwargs):
196 """base_OnDrawBranches(wxDC dc, bool erase=False)"""
197 return _ogl.PyShapeEvtHandler_base_OnDrawBranches(*args, **kwargs)
198
199 def base_OnMoveLinks(*args, **kwargs):
200 """base_OnMoveLinks(wxDC dc)"""
201 return _ogl.PyShapeEvtHandler_base_OnMoveLinks(*args, **kwargs)
202
203 def base_OnErase(*args, **kwargs):
204 """base_OnErase(wxDC dc)"""
205 return _ogl.PyShapeEvtHandler_base_OnErase(*args, **kwargs)
206
207 def base_OnEraseContents(*args, **kwargs):
208 """base_OnEraseContents(wxDC dc)"""
209 return _ogl.PyShapeEvtHandler_base_OnEraseContents(*args, **kwargs)
210
211 def base_OnHighlight(*args, **kwargs):
212 """base_OnHighlight(wxDC dc)"""
213 return _ogl.PyShapeEvtHandler_base_OnHighlight(*args, **kwargs)
214
215 def base_OnLeftClick(*args, **kwargs):
216 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
217 return _ogl.PyShapeEvtHandler_base_OnLeftClick(*args, **kwargs)
218
219 def base_OnLeftDoubleClick(*args, **kwargs):
220 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
221 return _ogl.PyShapeEvtHandler_base_OnLeftDoubleClick(*args, **kwargs)
222
223 def base_OnRightClick(*args, **kwargs):
224 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
225 return _ogl.PyShapeEvtHandler_base_OnRightClick(*args, **kwargs)
226
227 def base_OnSize(*args, **kwargs):
228 """base_OnSize(double x, double y)"""
229 return _ogl.PyShapeEvtHandler_base_OnSize(*args, **kwargs)
230
231 def base_OnMovePre(*args, **kwargs):
232 """
233 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
234 bool display=True) -> bool
235 """
236 return _ogl.PyShapeEvtHandler_base_OnMovePre(*args, **kwargs)
237
238 def base_OnMovePost(*args, **kwargs):
239 """
240 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
241 bool display=True)
242 """
243 return _ogl.PyShapeEvtHandler_base_OnMovePost(*args, **kwargs)
244
245 def base_OnDragLeft(*args, **kwargs):
246 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
247 return _ogl.PyShapeEvtHandler_base_OnDragLeft(*args, **kwargs)
248
249 def base_OnBeginDragLeft(*args, **kwargs):
250 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
251 return _ogl.PyShapeEvtHandler_base_OnBeginDragLeft(*args, **kwargs)
252
253 def base_OnEndDragLeft(*args, **kwargs):
254 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
255 return _ogl.PyShapeEvtHandler_base_OnEndDragLeft(*args, **kwargs)
256
257 def base_OnDragRight(*args, **kwargs):
258 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
259 return _ogl.PyShapeEvtHandler_base_OnDragRight(*args, **kwargs)
260
261 def base_OnBeginDragRight(*args, **kwargs):
262 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
263 return _ogl.PyShapeEvtHandler_base_OnBeginDragRight(*args, **kwargs)
264
265 def base_OnEndDragRight(*args, **kwargs):
266 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
267 return _ogl.PyShapeEvtHandler_base_OnEndDragRight(*args, **kwargs)
268
269 def base_OnDrawOutline(*args, **kwargs):
270 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
271 return _ogl.PyShapeEvtHandler_base_OnDrawOutline(*args, **kwargs)
272
273 def base_OnDrawControlPoints(*args, **kwargs):
274 """base_OnDrawControlPoints(wxDC dc)"""
275 return _ogl.PyShapeEvtHandler_base_OnDrawControlPoints(*args, **kwargs)
276
277 def base_OnEraseControlPoints(*args, **kwargs):
278 """base_OnEraseControlPoints(wxDC dc)"""
279 return _ogl.PyShapeEvtHandler_base_OnEraseControlPoints(*args, **kwargs)
280
281 def base_OnMoveLink(*args, **kwargs):
282 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
283 return _ogl.PyShapeEvtHandler_base_OnMoveLink(*args, **kwargs)
284
285 def base_OnSizingDragLeft(*args, **kwargs):
286 """
287 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
288 int attachment=0)
289 """
290 return _ogl.PyShapeEvtHandler_base_OnSizingDragLeft(*args, **kwargs)
291
292 def base_OnSizingBeginDragLeft(*args, **kwargs):
293 """
294 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
295 int attachment=0)
296 """
297 return _ogl.PyShapeEvtHandler_base_OnSizingBeginDragLeft(*args, **kwargs)
298
299 def base_OnSizingEndDragLeft(*args, **kwargs):
300 """
301 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
302 int attachment=0)
303 """
304 return _ogl.PyShapeEvtHandler_base_OnSizingEndDragLeft(*args, **kwargs)
305
306 def base_OnBeginSize(*args, **kwargs):
307 """base_OnBeginSize(double w, double h)"""
308 return _ogl.PyShapeEvtHandler_base_OnBeginSize(*args, **kwargs)
309
310 def base_OnEndSize(*args, **kwargs):
311 """base_OnEndSize(double w, double h)"""
312 return _ogl.PyShapeEvtHandler_base_OnEndSize(*args, **kwargs)
313
314
315 class PyShapeEvtHandlerPtr(PyShapeEvtHandler):
316 def __init__(self, this):
317 self.this = this
318 if not hasattr(self,"thisown"): self.thisown = 0
319 self.__class__ = PyShapeEvtHandler
320 _ogl.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr)
321
322 class PyShape(PyShapeEvtHandler):
323 def __repr__(self):
324 return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
325 def __init__(self, *args, **kwargs):
326 """__init__(PyShapeCanvas can=None) -> PyShape"""
327 newobj = _ogl.new_PyShape(*args, **kwargs)
328 self.this = newobj.this
329 self.thisown = 1
330 del newobj.thisown
331 self._setOORandCallbackInfo(PyShapeEvtHandler)
332
333 def _setCallbackInfo(*args, **kwargs):
334 """_setCallbackInfo(PyObject self, PyObject _class)"""
335 return _ogl.PyShape__setCallbackInfo(*args, **kwargs)
336
337 def GetBoundingBoxMax(*args, **kwargs):
338 """GetBoundingBoxMax(double OUTPUT, double OUTPUT)"""
339 return _ogl.PyShape_GetBoundingBoxMax(*args, **kwargs)
340
341 def GetBoundingBoxMin(*args, **kwargs):
342 """GetBoundingBoxMin(double OUTPUT, double OUTPUT)"""
343 return _ogl.PyShape_GetBoundingBoxMin(*args, **kwargs)
344
345 def GetPerimeterPoint(*args, **kwargs):
346 """
347 GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT,
348 double OUTPUT) -> bool
349 """
350 return _ogl.PyShape_GetPerimeterPoint(*args, **kwargs)
351
352 def GetCanvas(*args, **kwargs):
353 """GetCanvas() -> PyShapeCanvas"""
354 return _ogl.PyShape_GetCanvas(*args, **kwargs)
355
356 def SetCanvas(*args, **kwargs):
357 """SetCanvas(PyShapeCanvas the_canvas)"""
358 return _ogl.PyShape_SetCanvas(*args, **kwargs)
359
360 def AddToCanvas(*args, **kwargs):
361 """AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)"""
362 return _ogl.PyShape_AddToCanvas(*args, **kwargs)
363
364 def InsertInCanvas(*args, **kwargs):
365 """InsertInCanvas(PyShapeCanvas the_canvas)"""
366 return _ogl.PyShape_InsertInCanvas(*args, **kwargs)
367
368 def RemoveFromCanvas(*args, **kwargs):
369 """RemoveFromCanvas(PyShapeCanvas the_canvas)"""
370 return _ogl.PyShape_RemoveFromCanvas(*args, **kwargs)
371
372 def GetX(*args, **kwargs):
373 """GetX() -> double"""
374 return _ogl.PyShape_GetX(*args, **kwargs)
375
376 def GetY(*args, **kwargs):
377 """GetY() -> double"""
378 return _ogl.PyShape_GetY(*args, **kwargs)
379
380 def SetX(*args, **kwargs):
381 """SetX(double x)"""
382 return _ogl.PyShape_SetX(*args, **kwargs)
383
384 def SetY(*args, **kwargs):
385 """SetY(double y)"""
386 return _ogl.PyShape_SetY(*args, **kwargs)
387
388 def GetParent(*args, **kwargs):
389 """GetParent() -> PyShape"""
390 return _ogl.PyShape_GetParent(*args, **kwargs)
391
392 def SetParent(*args, **kwargs):
393 """SetParent(PyShape p)"""
394 return _ogl.PyShape_SetParent(*args, **kwargs)
395
396 def GetTopAncestor(*args, **kwargs):
397 """GetTopAncestor() -> PyShape"""
398 return _ogl.PyShape_GetTopAncestor(*args, **kwargs)
399
400 def GetChildren(*args, **kwargs):
401 """GetChildren() -> PyObject"""
402 return _ogl.PyShape_GetChildren(*args, **kwargs)
403
404 def Unlink(*args, **kwargs):
405 """Unlink()"""
406 return _ogl.PyShape_Unlink(*args, **kwargs)
407
408 def SetDrawHandles(*args, **kwargs):
409 """SetDrawHandles(bool drawH)"""
410 return _ogl.PyShape_SetDrawHandles(*args, **kwargs)
411
412 def GetDrawHandles(*args, **kwargs):
413 """GetDrawHandles() -> bool"""
414 return _ogl.PyShape_GetDrawHandles(*args, **kwargs)
415
416 def MakeControlPoints(*args, **kwargs):
417 """MakeControlPoints()"""
418 return _ogl.PyShape_MakeControlPoints(*args, **kwargs)
419
420 def DeleteControlPoints(*args, **kwargs):
421 """DeleteControlPoints(wxDC dc=None)"""
422 return _ogl.PyShape_DeleteControlPoints(*args, **kwargs)
423
424 def ResetControlPoints(*args, **kwargs):
425 """ResetControlPoints()"""
426 return _ogl.PyShape_ResetControlPoints(*args, **kwargs)
427
428 def GetEventHandler(*args, **kwargs):
429 """GetEventHandler() -> PyShapeEvtHandler"""
430 return _ogl.PyShape_GetEventHandler(*args, **kwargs)
431
432 def SetEventHandler(*args, **kwargs):
433 """SetEventHandler(PyShapeEvtHandler handler)"""
434 return _ogl.PyShape_SetEventHandler(*args, **kwargs)
435
436 def MakeMandatoryControlPoints(*args, **kwargs):
437 """MakeMandatoryControlPoints()"""
438 return _ogl.PyShape_MakeMandatoryControlPoints(*args, **kwargs)
439
440 def ResetMandatoryControlPoints(*args, **kwargs):
441 """ResetMandatoryControlPoints()"""
442 return _ogl.PyShape_ResetMandatoryControlPoints(*args, **kwargs)
443
444 def Recompute(*args, **kwargs):
445 """Recompute() -> bool"""
446 return _ogl.PyShape_Recompute(*args, **kwargs)
447
448 def CalculateSize(*args, **kwargs):
449 """CalculateSize()"""
450 return _ogl.PyShape_CalculateSize(*args, **kwargs)
451
452 def Select(*args, **kwargs):
453 """Select(bool select=True, wxDC dc=None)"""
454 return _ogl.PyShape_Select(*args, **kwargs)
455
456 def SetHighlight(*args, **kwargs):
457 """SetHighlight(bool hi=True, bool recurse=False)"""
458 return _ogl.PyShape_SetHighlight(*args, **kwargs)
459
460 def IsHighlighted(*args, **kwargs):
461 """IsHighlighted() -> bool"""
462 return _ogl.PyShape_IsHighlighted(*args, **kwargs)
463
464 def Selected(*args, **kwargs):
465 """Selected() -> bool"""
466 return _ogl.PyShape_Selected(*args, **kwargs)
467
468 def AncestorSelected(*args, **kwargs):
469 """AncestorSelected() -> bool"""
470 return _ogl.PyShape_AncestorSelected(*args, **kwargs)
471
472 def SetSensitivityFilter(*args, **kwargs):
473 """SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)"""
474 return _ogl.PyShape_SetSensitivityFilter(*args, **kwargs)
475
476 def GetSensitivityFilter(*args, **kwargs):
477 """GetSensitivityFilter() -> int"""
478 return _ogl.PyShape_GetSensitivityFilter(*args, **kwargs)
479
480 def SetDraggable(*args, **kwargs):
481 """SetDraggable(bool drag, bool recursive=False)"""
482 return _ogl.PyShape_SetDraggable(*args, **kwargs)
483
484 def SetFixedSize(*args, **kwargs):
485 """SetFixedSize(bool x, bool y)"""
486 return _ogl.PyShape_SetFixedSize(*args, **kwargs)
487
488 def GetFixedSize(*args, **kwargs):
489 """GetFixedSize(bool OUTPUT, bool OUTPUT)"""
490 return _ogl.PyShape_GetFixedSize(*args, **kwargs)
491
492 def GetFixedWidth(*args, **kwargs):
493 """GetFixedWidth() -> bool"""
494 return _ogl.PyShape_GetFixedWidth(*args, **kwargs)
495
496 def GetFixedHeight(*args, **kwargs):
497 """GetFixedHeight() -> bool"""
498 return _ogl.PyShape_GetFixedHeight(*args, **kwargs)
499
500 def SetSpaceAttachments(*args, **kwargs):
501 """SetSpaceAttachments(bool sp)"""
502 return _ogl.PyShape_SetSpaceAttachments(*args, **kwargs)
503
504 def GetSpaceAttachments(*args, **kwargs):
505 """GetSpaceAttachments() -> bool"""
506 return _ogl.PyShape_GetSpaceAttachments(*args, **kwargs)
507
508 def SetShadowMode(*args, **kwargs):
509 """SetShadowMode(int mode, bool redraw=False)"""
510 return _ogl.PyShape_SetShadowMode(*args, **kwargs)
511
512 def GetShadowMode(*args, **kwargs):
513 """GetShadowMode() -> int"""
514 return _ogl.PyShape_GetShadowMode(*args, **kwargs)
515
516 def HitTest(*args, **kwargs):
517 """HitTest(double x, double y, int OUTPUT, double OUTPUT) -> bool"""
518 return _ogl.PyShape_HitTest(*args, **kwargs)
519
520 def SetCentreResize(*args, **kwargs):
521 """SetCentreResize(bool cr)"""
522 return _ogl.PyShape_SetCentreResize(*args, **kwargs)
523
524 def GetCentreResize(*args, **kwargs):
525 """GetCentreResize() -> bool"""
526 return _ogl.PyShape_GetCentreResize(*args, **kwargs)
527
528 def SetMaintainAspectRatio(*args, **kwargs):
529 """SetMaintainAspectRatio(bool ar)"""
530 return _ogl.PyShape_SetMaintainAspectRatio(*args, **kwargs)
531
532 def GetMaintainAspectRatio(*args, **kwargs):
533 """GetMaintainAspectRatio() -> bool"""
534 return _ogl.PyShape_GetMaintainAspectRatio(*args, **kwargs)
535
536 def GetLines(*args, **kwargs):
537 """GetLines() -> PyObject"""
538 return _ogl.PyShape_GetLines(*args, **kwargs)
539
540 def SetDisableLabel(*args, **kwargs):
541 """SetDisableLabel(bool flag)"""
542 return _ogl.PyShape_SetDisableLabel(*args, **kwargs)
543
544 def GetDisableLabel(*args, **kwargs):
545 """GetDisableLabel() -> bool"""
546 return _ogl.PyShape_GetDisableLabel(*args, **kwargs)
547
548 def SetAttachmentMode(*args, **kwargs):
549 """SetAttachmentMode(int mode)"""
550 return _ogl.PyShape_SetAttachmentMode(*args, **kwargs)
551
552 def GetAttachmentMode(*args, **kwargs):
553 """GetAttachmentMode() -> int"""
554 return _ogl.PyShape_GetAttachmentMode(*args, **kwargs)
555
556 def SetId(*args, **kwargs):
557 """SetId(long i)"""
558 return _ogl.PyShape_SetId(*args, **kwargs)
559
560 def GetId(*args, **kwargs):
561 """GetId() -> long"""
562 return _ogl.PyShape_GetId(*args, **kwargs)
563
564 def SetPen(*args, **kwargs):
565 """SetPen(wxPen pen)"""
566 return _ogl.PyShape_SetPen(*args, **kwargs)
567
568 def SetBrush(*args, **kwargs):
569 """SetBrush(wxBrush brush)"""
570 return _ogl.PyShape_SetBrush(*args, **kwargs)
571
572 def SetClientData(self, data):
573 self.clientData = data
574 def GetClientData(self):
575 if hasattr(self, 'clientData'):
576 return self.clientData
577 else:
578 return None
579
580 def Show(*args, **kwargs):
581 """Show(bool show)"""
582 return _ogl.PyShape_Show(*args, **kwargs)
583
584 def IsShown(*args, **kwargs):
585 """IsShown() -> bool"""
586 return _ogl.PyShape_IsShown(*args, **kwargs)
587
588 def Move(*args, **kwargs):
589 """Move(wxDC dc, double x1, double y1, bool display=True)"""
590 return _ogl.PyShape_Move(*args, **kwargs)
591
592 def Erase(*args, **kwargs):
593 """Erase(wxDC dc)"""
594 return _ogl.PyShape_Erase(*args, **kwargs)
595
596 def EraseContents(*args, **kwargs):
597 """EraseContents(wxDC dc)"""
598 return _ogl.PyShape_EraseContents(*args, **kwargs)
599
600 def Draw(*args, **kwargs):
601 """Draw(wxDC dc)"""
602 return _ogl.PyShape_Draw(*args, **kwargs)
603
604 def Flash(*args, **kwargs):
605 """Flash()"""
606 return _ogl.PyShape_Flash(*args, **kwargs)
607
608 def MoveLinks(*args, **kwargs):
609 """MoveLinks(wxDC dc)"""
610 return _ogl.PyShape_MoveLinks(*args, **kwargs)
611
612 def DrawContents(*args, **kwargs):
613 """DrawContents(wxDC dc)"""
614 return _ogl.PyShape_DrawContents(*args, **kwargs)
615
616 def SetSize(*args, **kwargs):
617 """SetSize(double x, double y, bool recursive=True)"""
618 return _ogl.PyShape_SetSize(*args, **kwargs)
619
620 def SetAttachmentSize(*args, **kwargs):
621 """SetAttachmentSize(double x, double y)"""
622 return _ogl.PyShape_SetAttachmentSize(*args, **kwargs)
623
624 def Attach(*args, **kwargs):
625 """Attach(PyShapeCanvas can)"""
626 return _ogl.PyShape_Attach(*args, **kwargs)
627
628 def Detach(*args, **kwargs):
629 """Detach()"""
630 return _ogl.PyShape_Detach(*args, **kwargs)
631
632 def Constrain(*args, **kwargs):
633 """Constrain() -> bool"""
634 return _ogl.PyShape_Constrain(*args, **kwargs)
635
636 def AddLine(*args, **kwargs):
637 """
638 AddLine(PyLineShape line, PyShape other, int attachFrom=0,
639 int attachTo=0, int positionFrom=-1, int positionTo=-1)
640 """
641 return _ogl.PyShape_AddLine(*args, **kwargs)
642
643 def GetLinePosition(*args, **kwargs):
644 """GetLinePosition(PyLineShape line) -> int"""
645 return _ogl.PyShape_GetLinePosition(*args, **kwargs)
646
647 def AddText(*args, **kwargs):
648 """AddText(wxString string)"""
649 return _ogl.PyShape_AddText(*args, **kwargs)
650
651 def GetPen(*args, **kwargs):
652 """GetPen() -> wxPen"""
653 return _ogl.PyShape_GetPen(*args, **kwargs)
654
655 def GetBrush(*args, **kwargs):
656 """GetBrush() -> wxBrush"""
657 return _ogl.PyShape_GetBrush(*args, **kwargs)
658
659 def SetDefaultRegionSize(*args, **kwargs):
660 """SetDefaultRegionSize()"""
661 return _ogl.PyShape_SetDefaultRegionSize(*args, **kwargs)
662
663 def FormatText(*args, **kwargs):
664 """FormatText(wxDC dc, wxString s, int regionId=0)"""
665 return _ogl.PyShape_FormatText(*args, **kwargs)
666
667 def SetFormatMode(*args, **kwargs):
668 """SetFormatMode(int mode, int regionId=0)"""
669 return _ogl.PyShape_SetFormatMode(*args, **kwargs)
670
671 def GetFormatMode(*args, **kwargs):
672 """GetFormatMode(int regionId=0) -> int"""
673 return _ogl.PyShape_GetFormatMode(*args, **kwargs)
674
675 def SetFont(*args, **kwargs):
676 """SetFont(wxFont font, int regionId=0)"""
677 return _ogl.PyShape_SetFont(*args, **kwargs)
678
679 def GetFont(*args, **kwargs):
680 """GetFont(int regionId=0) -> wxFont"""
681 return _ogl.PyShape_GetFont(*args, **kwargs)
682
683 def SetTextColour(*args, **kwargs):
684 """SetTextColour(wxString colour, int regionId=0)"""
685 return _ogl.PyShape_SetTextColour(*args, **kwargs)
686
687 def GetTextColour(*args, **kwargs):
688 """GetTextColour(int regionId=0) -> wxString"""
689 return _ogl.PyShape_GetTextColour(*args, **kwargs)
690
691 def GetNumberOfTextRegions(*args, **kwargs):
692 """GetNumberOfTextRegions() -> int"""
693 return _ogl.PyShape_GetNumberOfTextRegions(*args, **kwargs)
694
695 def SetRegionName(*args, **kwargs):
696 """SetRegionName(wxString name, int regionId=0)"""
697 return _ogl.PyShape_SetRegionName(*args, **kwargs)
698
699 def GetRegionName(*args, **kwargs):
700 """GetRegionName(int regionId) -> wxString"""
701 return _ogl.PyShape_GetRegionName(*args, **kwargs)
702
703 def GetRegionId(*args, **kwargs):
704 """GetRegionId(wxString name) -> int"""
705 return _ogl.PyShape_GetRegionId(*args, **kwargs)
706
707 def NameRegions(*args, **kwargs):
708 """NameRegions(wxString parentName=wxPyEmptyString)"""
709 return _ogl.PyShape_NameRegions(*args, **kwargs)
710
711 def GetRegions(*args, **kwargs):
712 """GetRegions() -> PyObject"""
713 return _ogl.PyShape_GetRegions(*args, **kwargs)
714
715 def AddRegion(*args, **kwargs):
716 """AddRegion(ShapeRegion region)"""
717 return _ogl.PyShape_AddRegion(*args, **kwargs)
718
719 def ClearRegions(*args, **kwargs):
720 """ClearRegions()"""
721 return _ogl.PyShape_ClearRegions(*args, **kwargs)
722
723 def AssignNewIds(*args, **kwargs):
724 """AssignNewIds()"""
725 return _ogl.PyShape_AssignNewIds(*args, **kwargs)
726
727 def FindRegion(*args, **kwargs):
728 """FindRegion(wxString regionName, int OUTPUT) -> PyShape"""
729 return _ogl.PyShape_FindRegion(*args, **kwargs)
730
731 def FindRegionNames(*args, **kwargs):
732 """FindRegionNames(wxStringList list)"""
733 return _ogl.PyShape_FindRegionNames(*args, **kwargs)
734
735 def ClearText(*args, **kwargs):
736 """ClearText(int regionId=0)"""
737 return _ogl.PyShape_ClearText(*args, **kwargs)
738
739 def RemoveLine(*args, **kwargs):
740 """RemoveLine(PyLineShape line)"""
741 return _ogl.PyShape_RemoveLine(*args, **kwargs)
742
743 def GetAttachmentPosition(*args, **kwargs):
744 """
745 GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0,
746 int no_arcs=1, PyLineShape line=None) -> bool
747 """
748 return _ogl.PyShape_GetAttachmentPosition(*args, **kwargs)
749
750 def GetNumberOfAttachments(*args, **kwargs):
751 """GetNumberOfAttachments() -> int"""
752 return _ogl.PyShape_GetNumberOfAttachments(*args, **kwargs)
753
754 def AttachmentIsValid(*args, **kwargs):
755 """AttachmentIsValid(int attachment) -> bool"""
756 return _ogl.PyShape_AttachmentIsValid(*args, **kwargs)
757
758 def GetAttachmentPositionEdge(*args, **kwargs):
759 """
760 GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0,
761 int no_arcs=1, PyLineShape line=None) -> bool
762 """
763 return _ogl.PyShape_GetAttachmentPositionEdge(*args, **kwargs)
764
765 def CalcSimpleAttachment(*args, **kwargs):
766 """
767 CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs,
768 PyLineShape line) -> RealPoint
769 """
770 return _ogl.PyShape_CalcSimpleAttachment(*args, **kwargs)
771
772 def AttachmentSortTest(*args, **kwargs):
773 """AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -> bool"""
774 return _ogl.PyShape_AttachmentSortTest(*args, **kwargs)
775
776 def EraseLinks(*args, **kwargs):
777 """EraseLinks(wxDC dc, int attachment=-1, bool recurse=False)"""
778 return _ogl.PyShape_EraseLinks(*args, **kwargs)
779
780 def DrawLinks(*args, **kwargs):
781 """DrawLinks(wxDC dc, int attachment=-1, bool recurse=False)"""
782 return _ogl.PyShape_DrawLinks(*args, **kwargs)
783
784 def MoveLineToNewAttachment(*args, **kwargs):
785 """MoveLineToNewAttachment(wxDC dc, PyLineShape to_move, double x, double y) -> bool"""
786 return _ogl.PyShape_MoveLineToNewAttachment(*args, **kwargs)
787
788 def ApplyAttachmentOrdering(*args, **kwargs):
789 """ApplyAttachmentOrdering(PyObject linesToSort)"""
790 return _ogl.PyShape_ApplyAttachmentOrdering(*args, **kwargs)
791
792 def GetBranchingAttachmentRoot(*args, **kwargs):
793 """GetBranchingAttachmentRoot(int attachment) -> RealPoint"""
794 return _ogl.PyShape_GetBranchingAttachmentRoot(*args, **kwargs)
795
796 def GetBranchingAttachmentInfo(*args, **kwargs):
797 """
798 GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1,
799 RealPoint shoulder2) -> bool
800 """
801 return _ogl.PyShape_GetBranchingAttachmentInfo(*args, **kwargs)
802
803 def GetBranchingAttachmentPoint(*args, **kwargs):
804 """GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -> bool"""
805 return _ogl.PyShape_GetBranchingAttachmentPoint(*args, **kwargs)
806
807 def GetAttachmentLineCount(*args, **kwargs):
808 """GetAttachmentLineCount(int attachment) -> int"""
809 return _ogl.PyShape_GetAttachmentLineCount(*args, **kwargs)
810
811 def SetBranchNeckLength(*args, **kwargs):
812 """SetBranchNeckLength(int len)"""
813 return _ogl.PyShape_SetBranchNeckLength(*args, **kwargs)
814
815 def GetBranchNeckLength(*args, **kwargs):
816 """GetBranchNeckLength() -> int"""
817 return _ogl.PyShape_GetBranchNeckLength(*args, **kwargs)
818
819 def SetBranchStemLength(*args, **kwargs):
820 """SetBranchStemLength(int len)"""
821 return _ogl.PyShape_SetBranchStemLength(*args, **kwargs)
822
823 def GetBranchStemLength(*args, **kwargs):
824 """GetBranchStemLength() -> int"""
825 return _ogl.PyShape_GetBranchStemLength(*args, **kwargs)
826
827 def SetBranchSpacing(*args, **kwargs):
828 """SetBranchSpacing(int len)"""
829 return _ogl.PyShape_SetBranchSpacing(*args, **kwargs)
830
831 def GetBranchSpacing(*args, **kwargs):
832 """GetBranchSpacing() -> int"""
833 return _ogl.PyShape_GetBranchSpacing(*args, **kwargs)
834
835 def SetBranchStyle(*args, **kwargs):
836 """SetBranchStyle(long style)"""
837 return _ogl.PyShape_SetBranchStyle(*args, **kwargs)
838
839 def GetBranchStyle(*args, **kwargs):
840 """GetBranchStyle() -> long"""
841 return _ogl.PyShape_GetBranchStyle(*args, **kwargs)
842
843 def PhysicalToLogicalAttachment(*args, **kwargs):
844 """PhysicalToLogicalAttachment(int physicalAttachment) -> int"""
845 return _ogl.PyShape_PhysicalToLogicalAttachment(*args, **kwargs)
846
847 def LogicalToPhysicalAttachment(*args, **kwargs):
848 """LogicalToPhysicalAttachment(int logicalAttachment) -> int"""
849 return _ogl.PyShape_LogicalToPhysicalAttachment(*args, **kwargs)
850
851 def Draggable(*args, **kwargs):
852 """Draggable() -> bool"""
853 return _ogl.PyShape_Draggable(*args, **kwargs)
854
855 def HasDescendant(*args, **kwargs):
856 """HasDescendant(PyShape image) -> bool"""
857 return _ogl.PyShape_HasDescendant(*args, **kwargs)
858
859 def CreateNewCopy(*args, **kwargs):
860 """CreateNewCopy(bool resetMapping=True, bool recompute=True) -> PyShape"""
861 return _ogl.PyShape_CreateNewCopy(*args, **kwargs)
862
863 def Copy(*args, **kwargs):
864 """Copy(PyShape copy)"""
865 return _ogl.PyShape_Copy(*args, **kwargs)
866
867 def CopyWithHandler(*args, **kwargs):
868 """CopyWithHandler(PyShape copy)"""
869 return _ogl.PyShape_CopyWithHandler(*args, **kwargs)
870
871 def Rotate(*args, **kwargs):
872 """Rotate(double x, double y, double theta)"""
873 return _ogl.PyShape_Rotate(*args, **kwargs)
874
875 def GetRotation(*args, **kwargs):
876 """GetRotation() -> double"""
877 return _ogl.PyShape_GetRotation(*args, **kwargs)
878
879 def ClearAttachments(*args, **kwargs):
880 """ClearAttachments()"""
881 return _ogl.PyShape_ClearAttachments(*args, **kwargs)
882
883 def Recentre(*args, **kwargs):
884 """Recentre(wxDC dc)"""
885 return _ogl.PyShape_Recentre(*args, **kwargs)
886
887 def ClearPointList(*args, **kwargs):
888 """ClearPointList(wxList list)"""
889 return _ogl.PyShape_ClearPointList(*args, **kwargs)
890
891 def GetBackgroundPen(*args, **kwargs):
892 """GetBackgroundPen() -> wxPen"""
893 return _ogl.PyShape_GetBackgroundPen(*args, **kwargs)
894
895 def GetBackgroundBrush(*args, **kwargs):
896 """GetBackgroundBrush() -> wxBrush"""
897 return _ogl.PyShape_GetBackgroundBrush(*args, **kwargs)
898
899 def base_OnDelete(*args, **kwargs):
900 """base_OnDelete()"""
901 return _ogl.PyShape_base_OnDelete(*args, **kwargs)
902
903 def base_OnDraw(*args, **kwargs):
904 """base_OnDraw(wxDC dc)"""
905 return _ogl.PyShape_base_OnDraw(*args, **kwargs)
906
907 def base_OnDrawContents(*args, **kwargs):
908 """base_OnDrawContents(wxDC dc)"""
909 return _ogl.PyShape_base_OnDrawContents(*args, **kwargs)
910
911 def base_OnDrawBranches(*args, **kwargs):
912 """base_OnDrawBranches(wxDC dc, bool erase=False)"""
913 return _ogl.PyShape_base_OnDrawBranches(*args, **kwargs)
914
915 def base_OnMoveLinks(*args, **kwargs):
916 """base_OnMoveLinks(wxDC dc)"""
917 return _ogl.PyShape_base_OnMoveLinks(*args, **kwargs)
918
919 def base_OnErase(*args, **kwargs):
920 """base_OnErase(wxDC dc)"""
921 return _ogl.PyShape_base_OnErase(*args, **kwargs)
922
923 def base_OnEraseContents(*args, **kwargs):
924 """base_OnEraseContents(wxDC dc)"""
925 return _ogl.PyShape_base_OnEraseContents(*args, **kwargs)
926
927 def base_OnHighlight(*args, **kwargs):
928 """base_OnHighlight(wxDC dc)"""
929 return _ogl.PyShape_base_OnHighlight(*args, **kwargs)
930
931 def base_OnLeftClick(*args, **kwargs):
932 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
933 return _ogl.PyShape_base_OnLeftClick(*args, **kwargs)
934
935 def base_OnLeftDoubleClick(*args, **kwargs):
936 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
937 return _ogl.PyShape_base_OnLeftDoubleClick(*args, **kwargs)
938
939 def base_OnRightClick(*args, **kwargs):
940 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
941 return _ogl.PyShape_base_OnRightClick(*args, **kwargs)
942
943 def base_OnSize(*args, **kwargs):
944 """base_OnSize(double x, double y)"""
945 return _ogl.PyShape_base_OnSize(*args, **kwargs)
946
947 def base_OnMovePre(*args, **kwargs):
948 """
949 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
950 bool display=True) -> bool
951 """
952 return _ogl.PyShape_base_OnMovePre(*args, **kwargs)
953
954 def base_OnMovePost(*args, **kwargs):
955 """
956 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
957 bool display=True)
958 """
959 return _ogl.PyShape_base_OnMovePost(*args, **kwargs)
960
961 def base_OnDragLeft(*args, **kwargs):
962 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
963 return _ogl.PyShape_base_OnDragLeft(*args, **kwargs)
964
965 def base_OnBeginDragLeft(*args, **kwargs):
966 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
967 return _ogl.PyShape_base_OnBeginDragLeft(*args, **kwargs)
968
969 def base_OnEndDragLeft(*args, **kwargs):
970 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
971 return _ogl.PyShape_base_OnEndDragLeft(*args, **kwargs)
972
973 def base_OnDragRight(*args, **kwargs):
974 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
975 return _ogl.PyShape_base_OnDragRight(*args, **kwargs)
976
977 def base_OnBeginDragRight(*args, **kwargs):
978 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
979 return _ogl.PyShape_base_OnBeginDragRight(*args, **kwargs)
980
981 def base_OnEndDragRight(*args, **kwargs):
982 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
983 return _ogl.PyShape_base_OnEndDragRight(*args, **kwargs)
984
985 def base_OnDrawOutline(*args, **kwargs):
986 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
987 return _ogl.PyShape_base_OnDrawOutline(*args, **kwargs)
988
989 def base_OnDrawControlPoints(*args, **kwargs):
990 """base_OnDrawControlPoints(wxDC dc)"""
991 return _ogl.PyShape_base_OnDrawControlPoints(*args, **kwargs)
992
993 def base_OnEraseControlPoints(*args, **kwargs):
994 """base_OnEraseControlPoints(wxDC dc)"""
995 return _ogl.PyShape_base_OnEraseControlPoints(*args, **kwargs)
996
997 def base_OnMoveLink(*args, **kwargs):
998 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
999 return _ogl.PyShape_base_OnMoveLink(*args, **kwargs)
1000
1001 def base_OnSizingDragLeft(*args, **kwargs):
1002 """
1003 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1004 int attachment=0)
1005 """
1006 return _ogl.PyShape_base_OnSizingDragLeft(*args, **kwargs)
1007
1008 def base_OnSizingBeginDragLeft(*args, **kwargs):
1009 """
1010 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1011 int attachment=0)
1012 """
1013 return _ogl.PyShape_base_OnSizingBeginDragLeft(*args, **kwargs)
1014
1015 def base_OnSizingEndDragLeft(*args, **kwargs):
1016 """
1017 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1018 int attachment=0)
1019 """
1020 return _ogl.PyShape_base_OnSizingEndDragLeft(*args, **kwargs)
1021
1022 def base_OnBeginSize(*args, **kwargs):
1023 """base_OnBeginSize(double w, double h)"""
1024 return _ogl.PyShape_base_OnBeginSize(*args, **kwargs)
1025
1026 def base_OnEndSize(*args, **kwargs):
1027 """base_OnEndSize(double w, double h)"""
1028 return _ogl.PyShape_base_OnEndSize(*args, **kwargs)
1029
1030
1031 class PyShapePtr(PyShape):
1032 def __init__(self, this):
1033 self.this = this
1034 if not hasattr(self,"thisown"): self.thisown = 0
1035 self.__class__ = PyShape
1036 _ogl.PyShape_swigregister(PyShapePtr)
1037
1038 oglMETAFLAGS_OUTLINE = _ogl.oglMETAFLAGS_OUTLINE
1039 oglMETAFLAGS_ATTACHMENTS = _ogl.oglMETAFLAGS_ATTACHMENTS
1040 class PseudoMetaFile(core.Object):
1041 def __repr__(self):
1042 return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1043 def __init__(self, *args, **kwargs):
1044 """__init__() -> PseudoMetaFile"""
1045 newobj = _ogl.new_PseudoMetaFile(*args, **kwargs)
1046 self.this = newobj.this
1047 self.thisown = 1
1048 del newobj.thisown
1049 def __del__(self, destroy=_ogl.delete_PseudoMetaFile):
1050 """__del__()"""
1051 try:
1052 if self.thisown: destroy(self)
1053 except: pass
1054
1055 def Draw(*args, **kwargs):
1056 """Draw(wxDC dc, double xoffset, double yoffset)"""
1057 return _ogl.PseudoMetaFile_Draw(*args, **kwargs)
1058
1059 def Clear(*args, **kwargs):
1060 """Clear()"""
1061 return _ogl.PseudoMetaFile_Clear(*args, **kwargs)
1062
1063 def Copy(*args, **kwargs):
1064 """Copy(PseudoMetaFile copy)"""
1065 return _ogl.PseudoMetaFile_Copy(*args, **kwargs)
1066
1067 def Scale(*args, **kwargs):
1068 """Scale(double sx, double sy)"""
1069 return _ogl.PseudoMetaFile_Scale(*args, **kwargs)
1070
1071 def ScaleTo(*args, **kwargs):
1072 """ScaleTo(double w, double h)"""
1073 return _ogl.PseudoMetaFile_ScaleTo(*args, **kwargs)
1074
1075 def Translate(*args, **kwargs):
1076 """Translate(double x, double y)"""
1077 return _ogl.PseudoMetaFile_Translate(*args, **kwargs)
1078
1079 def Rotate(*args, **kwargs):
1080 """Rotate(double x, double y, double theta)"""
1081 return _ogl.PseudoMetaFile_Rotate(*args, **kwargs)
1082
1083 def LoadFromMetaFile(*args, **kwargs):
1084 """LoadFromMetaFile(wxString filename, double width, double height) -> bool"""
1085 return _ogl.PseudoMetaFile_LoadFromMetaFile(*args, **kwargs)
1086
1087 def GetBounds(*args, **kwargs):
1088 """GetBounds(double minX, double minY, double maxX, double maxY)"""
1089 return _ogl.PseudoMetaFile_GetBounds(*args, **kwargs)
1090
1091 def CalculateSize(*args, **kwargs):
1092 """CalculateSize(PyDrawnShape shape)"""
1093 return _ogl.PseudoMetaFile_CalculateSize(*args, **kwargs)
1094
1095 def SetRotateable(*args, **kwargs):
1096 """SetRotateable(bool rot)"""
1097 return _ogl.PseudoMetaFile_SetRotateable(*args, **kwargs)
1098
1099 def GetRotateable(*args, **kwargs):
1100 """GetRotateable() -> bool"""
1101 return _ogl.PseudoMetaFile_GetRotateable(*args, **kwargs)
1102
1103 def SetSize(*args, **kwargs):
1104 """SetSize(double w, double h)"""
1105 return _ogl.PseudoMetaFile_SetSize(*args, **kwargs)
1106
1107 def SetFillBrush(*args, **kwargs):
1108 """SetFillBrush(wxBrush brush)"""
1109 return _ogl.PseudoMetaFile_SetFillBrush(*args, **kwargs)
1110
1111 def GetFillBrush(*args, **kwargs):
1112 """GetFillBrush() -> wxBrush"""
1113 return _ogl.PseudoMetaFile_GetFillBrush(*args, **kwargs)
1114
1115 def SetOutlinePen(*args, **kwargs):
1116 """SetOutlinePen(wxPen pen)"""
1117 return _ogl.PseudoMetaFile_SetOutlinePen(*args, **kwargs)
1118
1119 def GetOutlinePen(*args, **kwargs):
1120 """GetOutlinePen() -> wxPen"""
1121 return _ogl.PseudoMetaFile_GetOutlinePen(*args, **kwargs)
1122
1123 def SetOutlineOp(*args, **kwargs):
1124 """SetOutlineOp(int op)"""
1125 return _ogl.PseudoMetaFile_SetOutlineOp(*args, **kwargs)
1126
1127 def GetOutlineOp(*args, **kwargs):
1128 """GetOutlineOp() -> int"""
1129 return _ogl.PseudoMetaFile_GetOutlineOp(*args, **kwargs)
1130
1131 def IsValid(*args, **kwargs):
1132 """IsValid() -> bool"""
1133 return _ogl.PseudoMetaFile_IsValid(*args, **kwargs)
1134
1135 def DrawLine(*args, **kwargs):
1136 """DrawLine(Point pt1, Point pt2)"""
1137 return _ogl.PseudoMetaFile_DrawLine(*args, **kwargs)
1138
1139 def DrawRectangle(*args, **kwargs):
1140 """DrawRectangle(Rect rect)"""
1141 return _ogl.PseudoMetaFile_DrawRectangle(*args, **kwargs)
1142
1143 def DrawRoundedRectangle(*args, **kwargs):
1144 """DrawRoundedRectangle(Rect rect, double radius)"""
1145 return _ogl.PseudoMetaFile_DrawRoundedRectangle(*args, **kwargs)
1146
1147 def DrawArc(*args, **kwargs):
1148 """DrawArc(Point centrePt, Point startPt, Point endPt)"""
1149 return _ogl.PseudoMetaFile_DrawArc(*args, **kwargs)
1150
1151 def DrawEllipticArc(*args, **kwargs):
1152 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1153 return _ogl.PseudoMetaFile_DrawEllipticArc(*args, **kwargs)
1154
1155 def DrawEllipse(*args, **kwargs):
1156 """DrawEllipse(Rect rect)"""
1157 return _ogl.PseudoMetaFile_DrawEllipse(*args, **kwargs)
1158
1159 def DrawPoint(*args, **kwargs):
1160 """DrawPoint(Point pt)"""
1161 return _ogl.PseudoMetaFile_DrawPoint(*args, **kwargs)
1162
1163 def DrawText(*args, **kwargs):
1164 """DrawText(wxString text, Point pt)"""
1165 return _ogl.PseudoMetaFile_DrawText(*args, **kwargs)
1166
1167 def DrawLines(*args, **kwargs):
1168 """DrawLines(int PCOUNT, Point points)"""
1169 return _ogl.PseudoMetaFile_DrawLines(*args, **kwargs)
1170
1171 def DrawPolygon(*args, **kwargs):
1172 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1173 return _ogl.PseudoMetaFile_DrawPolygon(*args, **kwargs)
1174
1175 def DrawSpline(*args, **kwargs):
1176 """DrawSpline(int PCOUNT, Point points)"""
1177 return _ogl.PseudoMetaFile_DrawSpline(*args, **kwargs)
1178
1179 def SetClippingRect(*args, **kwargs):
1180 """SetClippingRect(Rect rect)"""
1181 return _ogl.PseudoMetaFile_SetClippingRect(*args, **kwargs)
1182
1183 def DestroyClippingRect(*args, **kwargs):
1184 """DestroyClippingRect()"""
1185 return _ogl.PseudoMetaFile_DestroyClippingRect(*args, **kwargs)
1186
1187 def SetPen(*args, **kwargs):
1188 """SetPen(wxPen pen, bool isOutline=FALSE)"""
1189 return _ogl.PseudoMetaFile_SetPen(*args, **kwargs)
1190
1191 def SetBrush(*args, **kwargs):
1192 """SetBrush(wxBrush brush, bool isFill=FALSE)"""
1193 return _ogl.PseudoMetaFile_SetBrush(*args, **kwargs)
1194
1195 def SetFont(*args, **kwargs):
1196 """SetFont(wxFont font)"""
1197 return _ogl.PseudoMetaFile_SetFont(*args, **kwargs)
1198
1199 def SetTextColour(*args, **kwargs):
1200 """SetTextColour(wxColour colour)"""
1201 return _ogl.PseudoMetaFile_SetTextColour(*args, **kwargs)
1202
1203 def SetBackgroundColour(*args, **kwargs):
1204 """SetBackgroundColour(wxColour colour)"""
1205 return _ogl.PseudoMetaFile_SetBackgroundColour(*args, **kwargs)
1206
1207 def SetBackgroundMode(*args, **kwargs):
1208 """SetBackgroundMode(int mode)"""
1209 return _ogl.PseudoMetaFile_SetBackgroundMode(*args, **kwargs)
1210
1211
1212 class PseudoMetaFilePtr(PseudoMetaFile):
1213 def __init__(self, this):
1214 self.this = this
1215 if not hasattr(self,"thisown"): self.thisown = 0
1216 self.__class__ = PseudoMetaFile
1217 _ogl.PseudoMetaFile_swigregister(PseudoMetaFilePtr)
1218
1219 class PyRectangleShape(PyShape):
1220 def __repr__(self):
1221 return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1222 def __init__(self, *args, **kwargs):
1223 """__init__(double width=0.0, double height=0.0) -> PyRectangleShape"""
1224 newobj = _ogl.new_PyRectangleShape(*args, **kwargs)
1225 self.this = newobj.this
1226 self.thisown = 1
1227 del newobj.thisown
1228 self._setOORandCallbackInfo(PyRectangleShape)
1229
1230 def _setCallbackInfo(*args, **kwargs):
1231 """_setCallbackInfo(PyObject self, PyObject _class)"""
1232 return _ogl.PyRectangleShape__setCallbackInfo(*args, **kwargs)
1233
1234 def SetCornerRadius(*args, **kwargs):
1235 """SetCornerRadius(double radius)"""
1236 return _ogl.PyRectangleShape_SetCornerRadius(*args, **kwargs)
1237
1238 def base_OnDelete(*args, **kwargs):
1239 """base_OnDelete()"""
1240 return _ogl.PyRectangleShape_base_OnDelete(*args, **kwargs)
1241
1242 def base_OnDraw(*args, **kwargs):
1243 """base_OnDraw(wxDC dc)"""
1244 return _ogl.PyRectangleShape_base_OnDraw(*args, **kwargs)
1245
1246 def base_OnDrawContents(*args, **kwargs):
1247 """base_OnDrawContents(wxDC dc)"""
1248 return _ogl.PyRectangleShape_base_OnDrawContents(*args, **kwargs)
1249
1250 def base_OnDrawBranches(*args, **kwargs):
1251 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1252 return _ogl.PyRectangleShape_base_OnDrawBranches(*args, **kwargs)
1253
1254 def base_OnMoveLinks(*args, **kwargs):
1255 """base_OnMoveLinks(wxDC dc)"""
1256 return _ogl.PyRectangleShape_base_OnMoveLinks(*args, **kwargs)
1257
1258 def base_OnErase(*args, **kwargs):
1259 """base_OnErase(wxDC dc)"""
1260 return _ogl.PyRectangleShape_base_OnErase(*args, **kwargs)
1261
1262 def base_OnEraseContents(*args, **kwargs):
1263 """base_OnEraseContents(wxDC dc)"""
1264 return _ogl.PyRectangleShape_base_OnEraseContents(*args, **kwargs)
1265
1266 def base_OnHighlight(*args, **kwargs):
1267 """base_OnHighlight(wxDC dc)"""
1268 return _ogl.PyRectangleShape_base_OnHighlight(*args, **kwargs)
1269
1270 def base_OnLeftClick(*args, **kwargs):
1271 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1272 return _ogl.PyRectangleShape_base_OnLeftClick(*args, **kwargs)
1273
1274 def base_OnLeftDoubleClick(*args, **kwargs):
1275 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1276 return _ogl.PyRectangleShape_base_OnLeftDoubleClick(*args, **kwargs)
1277
1278 def base_OnRightClick(*args, **kwargs):
1279 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1280 return _ogl.PyRectangleShape_base_OnRightClick(*args, **kwargs)
1281
1282 def base_OnSize(*args, **kwargs):
1283 """base_OnSize(double x, double y)"""
1284 return _ogl.PyRectangleShape_base_OnSize(*args, **kwargs)
1285
1286 def base_OnMovePre(*args, **kwargs):
1287 """
1288 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1289 bool display=True) -> bool
1290 """
1291 return _ogl.PyRectangleShape_base_OnMovePre(*args, **kwargs)
1292
1293 def base_OnMovePost(*args, **kwargs):
1294 """
1295 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1296 bool display=True)
1297 """
1298 return _ogl.PyRectangleShape_base_OnMovePost(*args, **kwargs)
1299
1300 def base_OnDragLeft(*args, **kwargs):
1301 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1302 return _ogl.PyRectangleShape_base_OnDragLeft(*args, **kwargs)
1303
1304 def base_OnBeginDragLeft(*args, **kwargs):
1305 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1306 return _ogl.PyRectangleShape_base_OnBeginDragLeft(*args, **kwargs)
1307
1308 def base_OnEndDragLeft(*args, **kwargs):
1309 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1310 return _ogl.PyRectangleShape_base_OnEndDragLeft(*args, **kwargs)
1311
1312 def base_OnDragRight(*args, **kwargs):
1313 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1314 return _ogl.PyRectangleShape_base_OnDragRight(*args, **kwargs)
1315
1316 def base_OnBeginDragRight(*args, **kwargs):
1317 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1318 return _ogl.PyRectangleShape_base_OnBeginDragRight(*args, **kwargs)
1319
1320 def base_OnEndDragRight(*args, **kwargs):
1321 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1322 return _ogl.PyRectangleShape_base_OnEndDragRight(*args, **kwargs)
1323
1324 def base_OnDrawOutline(*args, **kwargs):
1325 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1326 return _ogl.PyRectangleShape_base_OnDrawOutline(*args, **kwargs)
1327
1328 def base_OnDrawControlPoints(*args, **kwargs):
1329 """base_OnDrawControlPoints(wxDC dc)"""
1330 return _ogl.PyRectangleShape_base_OnDrawControlPoints(*args, **kwargs)
1331
1332 def base_OnEraseControlPoints(*args, **kwargs):
1333 """base_OnEraseControlPoints(wxDC dc)"""
1334 return _ogl.PyRectangleShape_base_OnEraseControlPoints(*args, **kwargs)
1335
1336 def base_OnMoveLink(*args, **kwargs):
1337 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1338 return _ogl.PyRectangleShape_base_OnMoveLink(*args, **kwargs)
1339
1340 def base_OnSizingDragLeft(*args, **kwargs):
1341 """
1342 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1343 int attachment=0)
1344 """
1345 return _ogl.PyRectangleShape_base_OnSizingDragLeft(*args, **kwargs)
1346
1347 def base_OnSizingBeginDragLeft(*args, **kwargs):
1348 """
1349 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1350 int attachment=0)
1351 """
1352 return _ogl.PyRectangleShape_base_OnSizingBeginDragLeft(*args, **kwargs)
1353
1354 def base_OnSizingEndDragLeft(*args, **kwargs):
1355 """
1356 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1357 int attachment=0)
1358 """
1359 return _ogl.PyRectangleShape_base_OnSizingEndDragLeft(*args, **kwargs)
1360
1361 def base_OnBeginSize(*args, **kwargs):
1362 """base_OnBeginSize(double w, double h)"""
1363 return _ogl.PyRectangleShape_base_OnBeginSize(*args, **kwargs)
1364
1365 def base_OnEndSize(*args, **kwargs):
1366 """base_OnEndSize(double w, double h)"""
1367 return _ogl.PyRectangleShape_base_OnEndSize(*args, **kwargs)
1368
1369
1370 class PyRectangleShapePtr(PyRectangleShape):
1371 def __init__(self, this):
1372 self.this = this
1373 if not hasattr(self,"thisown"): self.thisown = 0
1374 self.__class__ = PyRectangleShape
1375 _ogl.PyRectangleShape_swigregister(PyRectangleShapePtr)
1376
1377 class PyControlPoint(PyRectangleShape):
1378 def __repr__(self):
1379 return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1380 def __init__(self, *args, **kwargs):
1381 """
1382 __init__(PyShapeCanvas the_canvas=None, PyShape object=None,
1383 double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0,
1384 int the_type=0) -> PyControlPoint
1385 """
1386 newobj = _ogl.new_PyControlPoint(*args, **kwargs)
1387 self.this = newobj.this
1388 self.thisown = 1
1389 del newobj.thisown
1390 self._setOORandCallbackInfo(PyControlPoint)
1391
1392 def _setCallbackInfo(*args, **kwargs):
1393 """_setCallbackInfo(PyObject self, PyObject _class)"""
1394 return _ogl.PyControlPoint__setCallbackInfo(*args, **kwargs)
1395
1396 def SetCornerRadius(*args, **kwargs):
1397 """SetCornerRadius(double radius)"""
1398 return _ogl.PyControlPoint_SetCornerRadius(*args, **kwargs)
1399
1400 def base_OnDelete(*args, **kwargs):
1401 """base_OnDelete()"""
1402 return _ogl.PyControlPoint_base_OnDelete(*args, **kwargs)
1403
1404 def base_OnDraw(*args, **kwargs):
1405 """base_OnDraw(wxDC dc)"""
1406 return _ogl.PyControlPoint_base_OnDraw(*args, **kwargs)
1407
1408 def base_OnDrawContents(*args, **kwargs):
1409 """base_OnDrawContents(wxDC dc)"""
1410 return _ogl.PyControlPoint_base_OnDrawContents(*args, **kwargs)
1411
1412 def base_OnDrawBranches(*args, **kwargs):
1413 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1414 return _ogl.PyControlPoint_base_OnDrawBranches(*args, **kwargs)
1415
1416 def base_OnMoveLinks(*args, **kwargs):
1417 """base_OnMoveLinks(wxDC dc)"""
1418 return _ogl.PyControlPoint_base_OnMoveLinks(*args, **kwargs)
1419
1420 def base_OnErase(*args, **kwargs):
1421 """base_OnErase(wxDC dc)"""
1422 return _ogl.PyControlPoint_base_OnErase(*args, **kwargs)
1423
1424 def base_OnEraseContents(*args, **kwargs):
1425 """base_OnEraseContents(wxDC dc)"""
1426 return _ogl.PyControlPoint_base_OnEraseContents(*args, **kwargs)
1427
1428 def base_OnHighlight(*args, **kwargs):
1429 """base_OnHighlight(wxDC dc)"""
1430 return _ogl.PyControlPoint_base_OnHighlight(*args, **kwargs)
1431
1432 def base_OnLeftClick(*args, **kwargs):
1433 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1434 return _ogl.PyControlPoint_base_OnLeftClick(*args, **kwargs)
1435
1436 def base_OnLeftDoubleClick(*args, **kwargs):
1437 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1438 return _ogl.PyControlPoint_base_OnLeftDoubleClick(*args, **kwargs)
1439
1440 def base_OnRightClick(*args, **kwargs):
1441 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1442 return _ogl.PyControlPoint_base_OnRightClick(*args, **kwargs)
1443
1444 def base_OnSize(*args, **kwargs):
1445 """base_OnSize(double x, double y)"""
1446 return _ogl.PyControlPoint_base_OnSize(*args, **kwargs)
1447
1448 def base_OnMovePre(*args, **kwargs):
1449 """
1450 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1451 bool display=True) -> bool
1452 """
1453 return _ogl.PyControlPoint_base_OnMovePre(*args, **kwargs)
1454
1455 def base_OnMovePost(*args, **kwargs):
1456 """
1457 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1458 bool display=True)
1459 """
1460 return _ogl.PyControlPoint_base_OnMovePost(*args, **kwargs)
1461
1462 def base_OnDragLeft(*args, **kwargs):
1463 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1464 return _ogl.PyControlPoint_base_OnDragLeft(*args, **kwargs)
1465
1466 def base_OnBeginDragLeft(*args, **kwargs):
1467 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1468 return _ogl.PyControlPoint_base_OnBeginDragLeft(*args, **kwargs)
1469
1470 def base_OnEndDragLeft(*args, **kwargs):
1471 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1472 return _ogl.PyControlPoint_base_OnEndDragLeft(*args, **kwargs)
1473
1474 def base_OnDragRight(*args, **kwargs):
1475 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1476 return _ogl.PyControlPoint_base_OnDragRight(*args, **kwargs)
1477
1478 def base_OnBeginDragRight(*args, **kwargs):
1479 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1480 return _ogl.PyControlPoint_base_OnBeginDragRight(*args, **kwargs)
1481
1482 def base_OnEndDragRight(*args, **kwargs):
1483 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1484 return _ogl.PyControlPoint_base_OnEndDragRight(*args, **kwargs)
1485
1486 def base_OnDrawOutline(*args, **kwargs):
1487 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1488 return _ogl.PyControlPoint_base_OnDrawOutline(*args, **kwargs)
1489
1490 def base_OnDrawControlPoints(*args, **kwargs):
1491 """base_OnDrawControlPoints(wxDC dc)"""
1492 return _ogl.PyControlPoint_base_OnDrawControlPoints(*args, **kwargs)
1493
1494 def base_OnEraseControlPoints(*args, **kwargs):
1495 """base_OnEraseControlPoints(wxDC dc)"""
1496 return _ogl.PyControlPoint_base_OnEraseControlPoints(*args, **kwargs)
1497
1498 def base_OnMoveLink(*args, **kwargs):
1499 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1500 return _ogl.PyControlPoint_base_OnMoveLink(*args, **kwargs)
1501
1502 def base_OnSizingDragLeft(*args, **kwargs):
1503 """
1504 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1505 int attachment=0)
1506 """
1507 return _ogl.PyControlPoint_base_OnSizingDragLeft(*args, **kwargs)
1508
1509 def base_OnSizingBeginDragLeft(*args, **kwargs):
1510 """
1511 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1512 int attachment=0)
1513 """
1514 return _ogl.PyControlPoint_base_OnSizingBeginDragLeft(*args, **kwargs)
1515
1516 def base_OnSizingEndDragLeft(*args, **kwargs):
1517 """
1518 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1519 int attachment=0)
1520 """
1521 return _ogl.PyControlPoint_base_OnSizingEndDragLeft(*args, **kwargs)
1522
1523 def base_OnBeginSize(*args, **kwargs):
1524 """base_OnBeginSize(double w, double h)"""
1525 return _ogl.PyControlPoint_base_OnBeginSize(*args, **kwargs)
1526
1527 def base_OnEndSize(*args, **kwargs):
1528 """base_OnEndSize(double w, double h)"""
1529 return _ogl.PyControlPoint_base_OnEndSize(*args, **kwargs)
1530
1531
1532 class PyControlPointPtr(PyControlPoint):
1533 def __init__(self, this):
1534 self.this = this
1535 if not hasattr(self,"thisown"): self.thisown = 0
1536 self.__class__ = PyControlPoint
1537 _ogl.PyControlPoint_swigregister(PyControlPointPtr)
1538
1539 class PyBitmapShape(PyRectangleShape):
1540 def __repr__(self):
1541 return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1542 def __init__(self, *args, **kwargs):
1543 """__init__() -> PyBitmapShape"""
1544 newobj = _ogl.new_PyBitmapShape(*args, **kwargs)
1545 self.this = newobj.this
1546 self.thisown = 1
1547 del newobj.thisown
1548 self._setOORandCallbackInfo(PyBitmapShape)
1549
1550 def _setCallbackInfo(*args, **kwargs):
1551 """_setCallbackInfo(PyObject self, PyObject _class)"""
1552 return _ogl.PyBitmapShape__setCallbackInfo(*args, **kwargs)
1553
1554 def GetBitmap(*args, **kwargs):
1555 """GetBitmap() -> wxBitmap"""
1556 return _ogl.PyBitmapShape_GetBitmap(*args, **kwargs)
1557
1558 def GetFilename(*args, **kwargs):
1559 """GetFilename() -> wxString"""
1560 return _ogl.PyBitmapShape_GetFilename(*args, **kwargs)
1561
1562 def SetBitmap(*args, **kwargs):
1563 """SetBitmap(wxBitmap bitmap)"""
1564 return _ogl.PyBitmapShape_SetBitmap(*args, **kwargs)
1565
1566 def SetFilename(*args, **kwargs):
1567 """SetFilename(wxString filename)"""
1568 return _ogl.PyBitmapShape_SetFilename(*args, **kwargs)
1569
1570 def base_OnDelete(*args, **kwargs):
1571 """base_OnDelete()"""
1572 return _ogl.PyBitmapShape_base_OnDelete(*args, **kwargs)
1573
1574 def base_OnDraw(*args, **kwargs):
1575 """base_OnDraw(wxDC dc)"""
1576 return _ogl.PyBitmapShape_base_OnDraw(*args, **kwargs)
1577
1578 def base_OnDrawContents(*args, **kwargs):
1579 """base_OnDrawContents(wxDC dc)"""
1580 return _ogl.PyBitmapShape_base_OnDrawContents(*args, **kwargs)
1581
1582 def base_OnDrawBranches(*args, **kwargs):
1583 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1584 return _ogl.PyBitmapShape_base_OnDrawBranches(*args, **kwargs)
1585
1586 def base_OnMoveLinks(*args, **kwargs):
1587 """base_OnMoveLinks(wxDC dc)"""
1588 return _ogl.PyBitmapShape_base_OnMoveLinks(*args, **kwargs)
1589
1590 def base_OnErase(*args, **kwargs):
1591 """base_OnErase(wxDC dc)"""
1592 return _ogl.PyBitmapShape_base_OnErase(*args, **kwargs)
1593
1594 def base_OnEraseContents(*args, **kwargs):
1595 """base_OnEraseContents(wxDC dc)"""
1596 return _ogl.PyBitmapShape_base_OnEraseContents(*args, **kwargs)
1597
1598 def base_OnHighlight(*args, **kwargs):
1599 """base_OnHighlight(wxDC dc)"""
1600 return _ogl.PyBitmapShape_base_OnHighlight(*args, **kwargs)
1601
1602 def base_OnLeftClick(*args, **kwargs):
1603 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1604 return _ogl.PyBitmapShape_base_OnLeftClick(*args, **kwargs)
1605
1606 def base_OnLeftDoubleClick(*args, **kwargs):
1607 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1608 return _ogl.PyBitmapShape_base_OnLeftDoubleClick(*args, **kwargs)
1609
1610 def base_OnRightClick(*args, **kwargs):
1611 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1612 return _ogl.PyBitmapShape_base_OnRightClick(*args, **kwargs)
1613
1614 def base_OnSize(*args, **kwargs):
1615 """base_OnSize(double x, double y)"""
1616 return _ogl.PyBitmapShape_base_OnSize(*args, **kwargs)
1617
1618 def base_OnMovePre(*args, **kwargs):
1619 """
1620 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1621 bool display=True) -> bool
1622 """
1623 return _ogl.PyBitmapShape_base_OnMovePre(*args, **kwargs)
1624
1625 def base_OnMovePost(*args, **kwargs):
1626 """
1627 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1628 bool display=True)
1629 """
1630 return _ogl.PyBitmapShape_base_OnMovePost(*args, **kwargs)
1631
1632 def base_OnDragLeft(*args, **kwargs):
1633 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1634 return _ogl.PyBitmapShape_base_OnDragLeft(*args, **kwargs)
1635
1636 def base_OnBeginDragLeft(*args, **kwargs):
1637 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1638 return _ogl.PyBitmapShape_base_OnBeginDragLeft(*args, **kwargs)
1639
1640 def base_OnEndDragLeft(*args, **kwargs):
1641 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1642 return _ogl.PyBitmapShape_base_OnEndDragLeft(*args, **kwargs)
1643
1644 def base_OnDragRight(*args, **kwargs):
1645 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1646 return _ogl.PyBitmapShape_base_OnDragRight(*args, **kwargs)
1647
1648 def base_OnBeginDragRight(*args, **kwargs):
1649 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1650 return _ogl.PyBitmapShape_base_OnBeginDragRight(*args, **kwargs)
1651
1652 def base_OnEndDragRight(*args, **kwargs):
1653 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1654 return _ogl.PyBitmapShape_base_OnEndDragRight(*args, **kwargs)
1655
1656 def base_OnDrawOutline(*args, **kwargs):
1657 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1658 return _ogl.PyBitmapShape_base_OnDrawOutline(*args, **kwargs)
1659
1660 def base_OnDrawControlPoints(*args, **kwargs):
1661 """base_OnDrawControlPoints(wxDC dc)"""
1662 return _ogl.PyBitmapShape_base_OnDrawControlPoints(*args, **kwargs)
1663
1664 def base_OnEraseControlPoints(*args, **kwargs):
1665 """base_OnEraseControlPoints(wxDC dc)"""
1666 return _ogl.PyBitmapShape_base_OnEraseControlPoints(*args, **kwargs)
1667
1668 def base_OnMoveLink(*args, **kwargs):
1669 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1670 return _ogl.PyBitmapShape_base_OnMoveLink(*args, **kwargs)
1671
1672 def base_OnSizingDragLeft(*args, **kwargs):
1673 """
1674 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1675 int attachment=0)
1676 """
1677 return _ogl.PyBitmapShape_base_OnSizingDragLeft(*args, **kwargs)
1678
1679 def base_OnSizingBeginDragLeft(*args, **kwargs):
1680 """
1681 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1682 int attachment=0)
1683 """
1684 return _ogl.PyBitmapShape_base_OnSizingBeginDragLeft(*args, **kwargs)
1685
1686 def base_OnSizingEndDragLeft(*args, **kwargs):
1687 """
1688 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1689 int attachment=0)
1690 """
1691 return _ogl.PyBitmapShape_base_OnSizingEndDragLeft(*args, **kwargs)
1692
1693 def base_OnBeginSize(*args, **kwargs):
1694 """base_OnBeginSize(double w, double h)"""
1695 return _ogl.PyBitmapShape_base_OnBeginSize(*args, **kwargs)
1696
1697 def base_OnEndSize(*args, **kwargs):
1698 """base_OnEndSize(double w, double h)"""
1699 return _ogl.PyBitmapShape_base_OnEndSize(*args, **kwargs)
1700
1701
1702 class PyBitmapShapePtr(PyBitmapShape):
1703 def __init__(self, this):
1704 self.this = this
1705 if not hasattr(self,"thisown"): self.thisown = 0
1706 self.__class__ = PyBitmapShape
1707 _ogl.PyBitmapShape_swigregister(PyBitmapShapePtr)
1708
1709 class PyDrawnShape(PyRectangleShape):
1710 def __repr__(self):
1711 return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1712 def __init__(self, *args, **kwargs):
1713 """__init__() -> PyDrawnShape"""
1714 newobj = _ogl.new_PyDrawnShape(*args, **kwargs)
1715 self.this = newobj.this
1716 self.thisown = 1
1717 del newobj.thisown
1718 self._setOORandCallbackInfo(PyDrawnShape)
1719
1720 def _setCallbackInfo(*args, **kwargs):
1721 """_setCallbackInfo(PyObject self, PyObject _class)"""
1722 return _ogl.PyDrawnShape__setCallbackInfo(*args, **kwargs)
1723
1724 def CalculateSize(*args, **kwargs):
1725 """CalculateSize()"""
1726 return _ogl.PyDrawnShape_CalculateSize(*args, **kwargs)
1727
1728 def DestroyClippingRect(*args, **kwargs):
1729 """DestroyClippingRect()"""
1730 return _ogl.PyDrawnShape_DestroyClippingRect(*args, **kwargs)
1731
1732 def DrawArc(*args, **kwargs):
1733 """DrawArc(Point centrePoint, Point startPoint, Point endPoint)"""
1734 return _ogl.PyDrawnShape_DrawArc(*args, **kwargs)
1735
1736 def DrawAtAngle(*args, **kwargs):
1737 """DrawAtAngle(int angle)"""
1738 return _ogl.PyDrawnShape_DrawAtAngle(*args, **kwargs)
1739
1740 def DrawEllipticArc(*args, **kwargs):
1741 """DrawEllipticArc(Rect rect, double startAngle, double endAngle)"""
1742 return _ogl.PyDrawnShape_DrawEllipticArc(*args, **kwargs)
1743
1744 def DrawLine(*args, **kwargs):
1745 """DrawLine(Point point1, Point point2)"""
1746 return _ogl.PyDrawnShape_DrawLine(*args, **kwargs)
1747
1748 def DrawLines(*args, **kwargs):
1749 """DrawLines(int PCOUNT, Point points)"""
1750 return _ogl.PyDrawnShape_DrawLines(*args, **kwargs)
1751
1752 def DrawPoint(*args, **kwargs):
1753 """DrawPoint(Point point)"""
1754 return _ogl.PyDrawnShape_DrawPoint(*args, **kwargs)
1755
1756 def DrawPolygon(*args, **kwargs):
1757 """DrawPolygon(int PCOUNT, Point points, int flags=0)"""
1758 return _ogl.PyDrawnShape_DrawPolygon(*args, **kwargs)
1759
1760 def DrawRectangle(*args, **kwargs):
1761 """DrawRectangle(Rect rect)"""
1762 return _ogl.PyDrawnShape_DrawRectangle(*args, **kwargs)
1763
1764 def DrawRoundedRectangle(*args, **kwargs):
1765 """DrawRoundedRectangle(Rect rect, double radius)"""
1766 return _ogl.PyDrawnShape_DrawRoundedRectangle(*args, **kwargs)
1767
1768 def DrawSpline(*args, **kwargs):
1769 """DrawSpline(int PCOUNT, Point points)"""
1770 return _ogl.PyDrawnShape_DrawSpline(*args, **kwargs)
1771
1772 def DrawText(*args, **kwargs):
1773 """DrawText(wxString text, Point point)"""
1774 return _ogl.PyDrawnShape_DrawText(*args, **kwargs)
1775
1776 def GetAngle(*args, **kwargs):
1777 """GetAngle() -> int"""
1778 return _ogl.PyDrawnShape_GetAngle(*args, **kwargs)
1779
1780 def GetMetaFile(*args, **kwargs):
1781 """GetMetaFile() -> PseudoMetaFile"""
1782 return _ogl.PyDrawnShape_GetMetaFile(*args, **kwargs)
1783
1784 def GetRotation(*args, **kwargs):
1785 """GetRotation() -> double"""
1786 return _ogl.PyDrawnShape_GetRotation(*args, **kwargs)
1787
1788 def LoadFromMetaFile(*args, **kwargs):
1789 """LoadFromMetaFile(wxString filename) -> bool"""
1790 return _ogl.PyDrawnShape_LoadFromMetaFile(*args, **kwargs)
1791
1792 def Rotate(*args, **kwargs):
1793 """Rotate(double x, double y, double theta)"""
1794 return _ogl.PyDrawnShape_Rotate(*args, **kwargs)
1795
1796 def SetClippingRect(*args, **kwargs):
1797 """SetClippingRect(Rect rect)"""
1798 return _ogl.PyDrawnShape_SetClippingRect(*args, **kwargs)
1799
1800 def SetDrawnBackgroundColour(*args, **kwargs):
1801 """SetDrawnBackgroundColour(wxColour colour)"""
1802 return _ogl.PyDrawnShape_SetDrawnBackgroundColour(*args, **kwargs)
1803
1804 def SetDrawnBackgroundMode(*args, **kwargs):
1805 """SetDrawnBackgroundMode(int mode)"""
1806 return _ogl.PyDrawnShape_SetDrawnBackgroundMode(*args, **kwargs)
1807
1808 def SetDrawnBrush(*args, **kwargs):
1809 """SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)"""
1810 return _ogl.PyDrawnShape_SetDrawnBrush(*args, **kwargs)
1811
1812 def SetDrawnFont(*args, **kwargs):
1813 """SetDrawnFont(wxFont font)"""
1814 return _ogl.PyDrawnShape_SetDrawnFont(*args, **kwargs)
1815
1816 def SetDrawnPen(*args, **kwargs):
1817 """SetDrawnPen(wxPen pen, bool isOutline=FALSE)"""
1818 return _ogl.PyDrawnShape_SetDrawnPen(*args, **kwargs)
1819
1820 def SetDrawnTextColour(*args, **kwargs):
1821 """SetDrawnTextColour(wxColour colour)"""
1822 return _ogl.PyDrawnShape_SetDrawnTextColour(*args, **kwargs)
1823
1824 def Scale(*args, **kwargs):
1825 """Scale(double sx, double sy)"""
1826 return _ogl.PyDrawnShape_Scale(*args, **kwargs)
1827
1828 def SetSaveToFile(*args, **kwargs):
1829 """SetSaveToFile(bool save)"""
1830 return _ogl.PyDrawnShape_SetSaveToFile(*args, **kwargs)
1831
1832 def Translate(*args, **kwargs):
1833 """Translate(double x, double y)"""
1834 return _ogl.PyDrawnShape_Translate(*args, **kwargs)
1835
1836 def base_OnDelete(*args, **kwargs):
1837 """base_OnDelete()"""
1838 return _ogl.PyDrawnShape_base_OnDelete(*args, **kwargs)
1839
1840 def base_OnDraw(*args, **kwargs):
1841 """base_OnDraw(wxDC dc)"""
1842 return _ogl.PyDrawnShape_base_OnDraw(*args, **kwargs)
1843
1844 def base_OnDrawContents(*args, **kwargs):
1845 """base_OnDrawContents(wxDC dc)"""
1846 return _ogl.PyDrawnShape_base_OnDrawContents(*args, **kwargs)
1847
1848 def base_OnDrawBranches(*args, **kwargs):
1849 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
1850 return _ogl.PyDrawnShape_base_OnDrawBranches(*args, **kwargs)
1851
1852 def base_OnMoveLinks(*args, **kwargs):
1853 """base_OnMoveLinks(wxDC dc)"""
1854 return _ogl.PyDrawnShape_base_OnMoveLinks(*args, **kwargs)
1855
1856 def base_OnErase(*args, **kwargs):
1857 """base_OnErase(wxDC dc)"""
1858 return _ogl.PyDrawnShape_base_OnErase(*args, **kwargs)
1859
1860 def base_OnEraseContents(*args, **kwargs):
1861 """base_OnEraseContents(wxDC dc)"""
1862 return _ogl.PyDrawnShape_base_OnEraseContents(*args, **kwargs)
1863
1864 def base_OnHighlight(*args, **kwargs):
1865 """base_OnHighlight(wxDC dc)"""
1866 return _ogl.PyDrawnShape_base_OnHighlight(*args, **kwargs)
1867
1868 def base_OnLeftClick(*args, **kwargs):
1869 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
1870 return _ogl.PyDrawnShape_base_OnLeftClick(*args, **kwargs)
1871
1872 def base_OnLeftDoubleClick(*args, **kwargs):
1873 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
1874 return _ogl.PyDrawnShape_base_OnLeftDoubleClick(*args, **kwargs)
1875
1876 def base_OnRightClick(*args, **kwargs):
1877 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
1878 return _ogl.PyDrawnShape_base_OnRightClick(*args, **kwargs)
1879
1880 def base_OnSize(*args, **kwargs):
1881 """base_OnSize(double x, double y)"""
1882 return _ogl.PyDrawnShape_base_OnSize(*args, **kwargs)
1883
1884 def base_OnMovePre(*args, **kwargs):
1885 """
1886 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
1887 bool display=True) -> bool
1888 """
1889 return _ogl.PyDrawnShape_base_OnMovePre(*args, **kwargs)
1890
1891 def base_OnMovePost(*args, **kwargs):
1892 """
1893 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
1894 bool display=True)
1895 """
1896 return _ogl.PyDrawnShape_base_OnMovePost(*args, **kwargs)
1897
1898 def base_OnDragLeft(*args, **kwargs):
1899 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
1900 return _ogl.PyDrawnShape_base_OnDragLeft(*args, **kwargs)
1901
1902 def base_OnBeginDragLeft(*args, **kwargs):
1903 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
1904 return _ogl.PyDrawnShape_base_OnBeginDragLeft(*args, **kwargs)
1905
1906 def base_OnEndDragLeft(*args, **kwargs):
1907 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
1908 return _ogl.PyDrawnShape_base_OnEndDragLeft(*args, **kwargs)
1909
1910 def base_OnDragRight(*args, **kwargs):
1911 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
1912 return _ogl.PyDrawnShape_base_OnDragRight(*args, **kwargs)
1913
1914 def base_OnBeginDragRight(*args, **kwargs):
1915 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
1916 return _ogl.PyDrawnShape_base_OnBeginDragRight(*args, **kwargs)
1917
1918 def base_OnEndDragRight(*args, **kwargs):
1919 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
1920 return _ogl.PyDrawnShape_base_OnEndDragRight(*args, **kwargs)
1921
1922 def base_OnDrawOutline(*args, **kwargs):
1923 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
1924 return _ogl.PyDrawnShape_base_OnDrawOutline(*args, **kwargs)
1925
1926 def base_OnDrawControlPoints(*args, **kwargs):
1927 """base_OnDrawControlPoints(wxDC dc)"""
1928 return _ogl.PyDrawnShape_base_OnDrawControlPoints(*args, **kwargs)
1929
1930 def base_OnEraseControlPoints(*args, **kwargs):
1931 """base_OnEraseControlPoints(wxDC dc)"""
1932 return _ogl.PyDrawnShape_base_OnEraseControlPoints(*args, **kwargs)
1933
1934 def base_OnMoveLink(*args, **kwargs):
1935 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
1936 return _ogl.PyDrawnShape_base_OnMoveLink(*args, **kwargs)
1937
1938 def base_OnSizingDragLeft(*args, **kwargs):
1939 """
1940 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
1941 int attachment=0)
1942 """
1943 return _ogl.PyDrawnShape_base_OnSizingDragLeft(*args, **kwargs)
1944
1945 def base_OnSizingBeginDragLeft(*args, **kwargs):
1946 """
1947 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1948 int attachment=0)
1949 """
1950 return _ogl.PyDrawnShape_base_OnSizingBeginDragLeft(*args, **kwargs)
1951
1952 def base_OnSizingEndDragLeft(*args, **kwargs):
1953 """
1954 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
1955 int attachment=0)
1956 """
1957 return _ogl.PyDrawnShape_base_OnSizingEndDragLeft(*args, **kwargs)
1958
1959 def base_OnBeginSize(*args, **kwargs):
1960 """base_OnBeginSize(double w, double h)"""
1961 return _ogl.PyDrawnShape_base_OnBeginSize(*args, **kwargs)
1962
1963 def base_OnEndSize(*args, **kwargs):
1964 """base_OnEndSize(double w, double h)"""
1965 return _ogl.PyDrawnShape_base_OnEndSize(*args, **kwargs)
1966
1967
1968 class PyDrawnShapePtr(PyDrawnShape):
1969 def __init__(self, this):
1970 self.this = this
1971 if not hasattr(self,"thisown"): self.thisown = 0
1972 self.__class__ = PyDrawnShape
1973 _ogl.PyDrawnShape_swigregister(PyDrawnShapePtr)
1974
1975 class OGLConstraint(core.Object):
1976 def __repr__(self):
1977 return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1978 def __init__(self, *args, **kwargs):
1979 """__init__(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
1980 newobj = _ogl.new_OGLConstraint(*args, **kwargs)
1981 self.this = newobj.this
1982 self.thisown = 1
1983 del newobj.thisown
1984 def Evaluate(*args, **kwargs):
1985 """Evaluate() -> bool"""
1986 return _ogl.OGLConstraint_Evaluate(*args, **kwargs)
1987
1988 def SetSpacing(*args, **kwargs):
1989 """SetSpacing(double x, double y)"""
1990 return _ogl.OGLConstraint_SetSpacing(*args, **kwargs)
1991
1992 def Equals(*args, **kwargs):
1993 """Equals(double a, double b) -> bool"""
1994 return _ogl.OGLConstraint_Equals(*args, **kwargs)
1995
1996
1997 class OGLConstraintPtr(OGLConstraint):
1998 def __init__(self, this):
1999 self.this = this
2000 if not hasattr(self,"thisown"): self.thisown = 0
2001 self.__class__ = OGLConstraint
2002 _ogl.OGLConstraint_swigregister(OGLConstraintPtr)
2003
2004 class PyCompositeShape(PyRectangleShape):
2005 def __repr__(self):
2006 return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2007 def __init__(self, *args, **kwargs):
2008 """__init__() -> PyCompositeShape"""
2009 newobj = _ogl.new_PyCompositeShape(*args, **kwargs)
2010 self.this = newobj.this
2011 self.thisown = 1
2012 del newobj.thisown
2013 self._setOORandCallbackInfo(PyCompositeShape)
2014
2015 def _setCallbackInfo(*args, **kwargs):
2016 """_setCallbackInfo(PyObject self, PyObject _class)"""
2017 return _ogl.PyCompositeShape__setCallbackInfo(*args, **kwargs)
2018
2019 def AddChild(*args, **kwargs):
2020 """AddChild(PyShape child, PyShape addAfter=None)"""
2021 return _ogl.PyCompositeShape_AddChild(*args, **kwargs)
2022
2023 def AddConstraint(*args, **kwargs):
2024 """AddConstraint(OGLConstraint constraint) -> OGLConstraint"""
2025 return _ogl.PyCompositeShape_AddConstraint(*args, **kwargs)
2026
2027 def AddConstrainedShapes(*args, **kwargs):
2028 """AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -> OGLConstraint"""
2029 return _ogl.PyCompositeShape_AddConstrainedShapes(*args, **kwargs)
2030
2031 def AddSimpleConstraint(*args, **kwargs):
2032 """AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -> OGLConstraint"""
2033 return _ogl.PyCompositeShape_AddSimpleConstraint(*args, **kwargs)
2034
2035 def CalculateSize(*args, **kwargs):
2036 """CalculateSize()"""
2037 return _ogl.PyCompositeShape_CalculateSize(*args, **kwargs)
2038
2039 def ContainsDivision(*args, **kwargs):
2040 """ContainsDivision(PyDivisionShape division) -> bool"""
2041 return _ogl.PyCompositeShape_ContainsDivision(*args, **kwargs)
2042
2043 def DeleteConstraint(*args, **kwargs):
2044 """DeleteConstraint(OGLConstraint constraint)"""
2045 return _ogl.PyCompositeShape_DeleteConstraint(*args, **kwargs)
2046
2047 def DeleteConstraintsInvolvingChild(*args, **kwargs):
2048 """DeleteConstraintsInvolvingChild(PyShape child)"""
2049 return _ogl.PyCompositeShape_DeleteConstraintsInvolvingChild(*args, **kwargs)
2050
2051 def FindContainerImage(*args, **kwargs):
2052 """FindContainerImage() -> PyShape"""
2053 return _ogl.PyCompositeShape_FindContainerImage(*args, **kwargs)
2054
2055 def GetConstraints(*args, **kwargs):
2056 """GetConstraints() -> PyObject"""
2057 return _ogl.PyCompositeShape_GetConstraints(*args, **kwargs)
2058
2059 def GetDivisions(*args, **kwargs):
2060 """GetDivisions() -> PyObject"""
2061 return _ogl.PyCompositeShape_GetDivisions(*args, **kwargs)
2062
2063 def MakeContainer(*args, **kwargs):
2064 """MakeContainer()"""
2065 return _ogl.PyCompositeShape_MakeContainer(*args, **kwargs)
2066
2067 def Recompute(*args, **kwargs):
2068 """Recompute() -> bool"""
2069 return _ogl.PyCompositeShape_Recompute(*args, **kwargs)
2070
2071 def RemoveChild(*args, **kwargs):
2072 """RemoveChild(PyShape child)"""
2073 return _ogl.PyCompositeShape_RemoveChild(*args, **kwargs)
2074
2075 def base_OnDelete(*args, **kwargs):
2076 """base_OnDelete()"""
2077 return _ogl.PyCompositeShape_base_OnDelete(*args, **kwargs)
2078
2079 def base_OnDraw(*args, **kwargs):
2080 """base_OnDraw(wxDC dc)"""
2081 return _ogl.PyCompositeShape_base_OnDraw(*args, **kwargs)
2082
2083 def base_OnDrawContents(*args, **kwargs):
2084 """base_OnDrawContents(wxDC dc)"""
2085 return _ogl.PyCompositeShape_base_OnDrawContents(*args, **kwargs)
2086
2087 def base_OnDrawBranches(*args, **kwargs):
2088 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2089 return _ogl.PyCompositeShape_base_OnDrawBranches(*args, **kwargs)
2090
2091 def base_OnMoveLinks(*args, **kwargs):
2092 """base_OnMoveLinks(wxDC dc)"""
2093 return _ogl.PyCompositeShape_base_OnMoveLinks(*args, **kwargs)
2094
2095 def base_OnErase(*args, **kwargs):
2096 """base_OnErase(wxDC dc)"""
2097 return _ogl.PyCompositeShape_base_OnErase(*args, **kwargs)
2098
2099 def base_OnEraseContents(*args, **kwargs):
2100 """base_OnEraseContents(wxDC dc)"""
2101 return _ogl.PyCompositeShape_base_OnEraseContents(*args, **kwargs)
2102
2103 def base_OnHighlight(*args, **kwargs):
2104 """base_OnHighlight(wxDC dc)"""
2105 return _ogl.PyCompositeShape_base_OnHighlight(*args, **kwargs)
2106
2107 def base_OnLeftClick(*args, **kwargs):
2108 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2109 return _ogl.PyCompositeShape_base_OnLeftClick(*args, **kwargs)
2110
2111 def base_OnLeftDoubleClick(*args, **kwargs):
2112 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2113 return _ogl.PyCompositeShape_base_OnLeftDoubleClick(*args, **kwargs)
2114
2115 def base_OnRightClick(*args, **kwargs):
2116 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2117 return _ogl.PyCompositeShape_base_OnRightClick(*args, **kwargs)
2118
2119 def base_OnSize(*args, **kwargs):
2120 """base_OnSize(double x, double y)"""
2121 return _ogl.PyCompositeShape_base_OnSize(*args, **kwargs)
2122
2123 def base_OnMovePre(*args, **kwargs):
2124 """
2125 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2126 bool display=True) -> bool
2127 """
2128 return _ogl.PyCompositeShape_base_OnMovePre(*args, **kwargs)
2129
2130 def base_OnMovePost(*args, **kwargs):
2131 """
2132 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2133 bool display=True)
2134 """
2135 return _ogl.PyCompositeShape_base_OnMovePost(*args, **kwargs)
2136
2137 def base_OnDragLeft(*args, **kwargs):
2138 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2139 return _ogl.PyCompositeShape_base_OnDragLeft(*args, **kwargs)
2140
2141 def base_OnBeginDragLeft(*args, **kwargs):
2142 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2143 return _ogl.PyCompositeShape_base_OnBeginDragLeft(*args, **kwargs)
2144
2145 def base_OnEndDragLeft(*args, **kwargs):
2146 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2147 return _ogl.PyCompositeShape_base_OnEndDragLeft(*args, **kwargs)
2148
2149 def base_OnDragRight(*args, **kwargs):
2150 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2151 return _ogl.PyCompositeShape_base_OnDragRight(*args, **kwargs)
2152
2153 def base_OnBeginDragRight(*args, **kwargs):
2154 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2155 return _ogl.PyCompositeShape_base_OnBeginDragRight(*args, **kwargs)
2156
2157 def base_OnEndDragRight(*args, **kwargs):
2158 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2159 return _ogl.PyCompositeShape_base_OnEndDragRight(*args, **kwargs)
2160
2161 def base_OnDrawOutline(*args, **kwargs):
2162 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2163 return _ogl.PyCompositeShape_base_OnDrawOutline(*args, **kwargs)
2164
2165 def base_OnDrawControlPoints(*args, **kwargs):
2166 """base_OnDrawControlPoints(wxDC dc)"""
2167 return _ogl.PyCompositeShape_base_OnDrawControlPoints(*args, **kwargs)
2168
2169 def base_OnEraseControlPoints(*args, **kwargs):
2170 """base_OnEraseControlPoints(wxDC dc)"""
2171 return _ogl.PyCompositeShape_base_OnEraseControlPoints(*args, **kwargs)
2172
2173 def base_OnMoveLink(*args, **kwargs):
2174 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2175 return _ogl.PyCompositeShape_base_OnMoveLink(*args, **kwargs)
2176
2177 def base_OnSizingDragLeft(*args, **kwargs):
2178 """
2179 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2180 int attachment=0)
2181 """
2182 return _ogl.PyCompositeShape_base_OnSizingDragLeft(*args, **kwargs)
2183
2184 def base_OnSizingBeginDragLeft(*args, **kwargs):
2185 """
2186 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2187 int attachment=0)
2188 """
2189 return _ogl.PyCompositeShape_base_OnSizingBeginDragLeft(*args, **kwargs)
2190
2191 def base_OnSizingEndDragLeft(*args, **kwargs):
2192 """
2193 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2194 int attachment=0)
2195 """
2196 return _ogl.PyCompositeShape_base_OnSizingEndDragLeft(*args, **kwargs)
2197
2198 def base_OnBeginSize(*args, **kwargs):
2199 """base_OnBeginSize(double w, double h)"""
2200 return _ogl.PyCompositeShape_base_OnBeginSize(*args, **kwargs)
2201
2202 def base_OnEndSize(*args, **kwargs):
2203 """base_OnEndSize(double w, double h)"""
2204 return _ogl.PyCompositeShape_base_OnEndSize(*args, **kwargs)
2205
2206
2207 class PyCompositeShapePtr(PyCompositeShape):
2208 def __init__(self, this):
2209 self.this = this
2210 if not hasattr(self,"thisown"): self.thisown = 0
2211 self.__class__ = PyCompositeShape
2212 _ogl.PyCompositeShape_swigregister(PyCompositeShapePtr)
2213
2214 class PyDividedShape(PyRectangleShape):
2215 def __repr__(self):
2216 return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2217 def __init__(self, *args, **kwargs):
2218 """__init__(double width=0.0, double height=0.0) -> PyDividedShape"""
2219 newobj = _ogl.new_PyDividedShape(*args, **kwargs)
2220 self.this = newobj.this
2221 self.thisown = 1
2222 del newobj.thisown
2223 self._setOORandCallbackInfo(PyDividedShape)
2224
2225 def _setCallbackInfo(*args, **kwargs):
2226 """_setCallbackInfo(PyObject self, PyObject _class)"""
2227 return _ogl.PyDividedShape__setCallbackInfo(*args, **kwargs)
2228
2229 def EditRegions(*args, **kwargs):
2230 """EditRegions()"""
2231 return _ogl.PyDividedShape_EditRegions(*args, **kwargs)
2232
2233 def SetRegionSizes(*args, **kwargs):
2234 """SetRegionSizes()"""
2235 return _ogl.PyDividedShape_SetRegionSizes(*args, **kwargs)
2236
2237 def base_OnDelete(*args, **kwargs):
2238 """base_OnDelete()"""
2239 return _ogl.PyDividedShape_base_OnDelete(*args, **kwargs)
2240
2241 def base_OnDraw(*args, **kwargs):
2242 """base_OnDraw(wxDC dc)"""
2243 return _ogl.PyDividedShape_base_OnDraw(*args, **kwargs)
2244
2245 def base_OnDrawContents(*args, **kwargs):
2246 """base_OnDrawContents(wxDC dc)"""
2247 return _ogl.PyDividedShape_base_OnDrawContents(*args, **kwargs)
2248
2249 def base_OnDrawBranches(*args, **kwargs):
2250 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2251 return _ogl.PyDividedShape_base_OnDrawBranches(*args, **kwargs)
2252
2253 def base_OnMoveLinks(*args, **kwargs):
2254 """base_OnMoveLinks(wxDC dc)"""
2255 return _ogl.PyDividedShape_base_OnMoveLinks(*args, **kwargs)
2256
2257 def base_OnErase(*args, **kwargs):
2258 """base_OnErase(wxDC dc)"""
2259 return _ogl.PyDividedShape_base_OnErase(*args, **kwargs)
2260
2261 def base_OnEraseContents(*args, **kwargs):
2262 """base_OnEraseContents(wxDC dc)"""
2263 return _ogl.PyDividedShape_base_OnEraseContents(*args, **kwargs)
2264
2265 def base_OnHighlight(*args, **kwargs):
2266 """base_OnHighlight(wxDC dc)"""
2267 return _ogl.PyDividedShape_base_OnHighlight(*args, **kwargs)
2268
2269 def base_OnLeftClick(*args, **kwargs):
2270 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2271 return _ogl.PyDividedShape_base_OnLeftClick(*args, **kwargs)
2272
2273 def base_OnLeftDoubleClick(*args, **kwargs):
2274 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2275 return _ogl.PyDividedShape_base_OnLeftDoubleClick(*args, **kwargs)
2276
2277 def base_OnRightClick(*args, **kwargs):
2278 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2279 return _ogl.PyDividedShape_base_OnRightClick(*args, **kwargs)
2280
2281 def base_OnSize(*args, **kwargs):
2282 """base_OnSize(double x, double y)"""
2283 return _ogl.PyDividedShape_base_OnSize(*args, **kwargs)
2284
2285 def base_OnMovePre(*args, **kwargs):
2286 """
2287 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2288 bool display=True) -> bool
2289 """
2290 return _ogl.PyDividedShape_base_OnMovePre(*args, **kwargs)
2291
2292 def base_OnMovePost(*args, **kwargs):
2293 """
2294 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2295 bool display=True)
2296 """
2297 return _ogl.PyDividedShape_base_OnMovePost(*args, **kwargs)
2298
2299 def base_OnDragLeft(*args, **kwargs):
2300 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2301 return _ogl.PyDividedShape_base_OnDragLeft(*args, **kwargs)
2302
2303 def base_OnBeginDragLeft(*args, **kwargs):
2304 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2305 return _ogl.PyDividedShape_base_OnBeginDragLeft(*args, **kwargs)
2306
2307 def base_OnEndDragLeft(*args, **kwargs):
2308 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2309 return _ogl.PyDividedShape_base_OnEndDragLeft(*args, **kwargs)
2310
2311 def base_OnDragRight(*args, **kwargs):
2312 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2313 return _ogl.PyDividedShape_base_OnDragRight(*args, **kwargs)
2314
2315 def base_OnBeginDragRight(*args, **kwargs):
2316 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2317 return _ogl.PyDividedShape_base_OnBeginDragRight(*args, **kwargs)
2318
2319 def base_OnEndDragRight(*args, **kwargs):
2320 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2321 return _ogl.PyDividedShape_base_OnEndDragRight(*args, **kwargs)
2322
2323 def base_OnDrawOutline(*args, **kwargs):
2324 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2325 return _ogl.PyDividedShape_base_OnDrawOutline(*args, **kwargs)
2326
2327 def base_OnDrawControlPoints(*args, **kwargs):
2328 """base_OnDrawControlPoints(wxDC dc)"""
2329 return _ogl.PyDividedShape_base_OnDrawControlPoints(*args, **kwargs)
2330
2331 def base_OnEraseControlPoints(*args, **kwargs):
2332 """base_OnEraseControlPoints(wxDC dc)"""
2333 return _ogl.PyDividedShape_base_OnEraseControlPoints(*args, **kwargs)
2334
2335 def base_OnMoveLink(*args, **kwargs):
2336 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2337 return _ogl.PyDividedShape_base_OnMoveLink(*args, **kwargs)
2338
2339 def base_OnSizingDragLeft(*args, **kwargs):
2340 """
2341 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2342 int attachment=0)
2343 """
2344 return _ogl.PyDividedShape_base_OnSizingDragLeft(*args, **kwargs)
2345
2346 def base_OnSizingBeginDragLeft(*args, **kwargs):
2347 """
2348 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2349 int attachment=0)
2350 """
2351 return _ogl.PyDividedShape_base_OnSizingBeginDragLeft(*args, **kwargs)
2352
2353 def base_OnSizingEndDragLeft(*args, **kwargs):
2354 """
2355 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2356 int attachment=0)
2357 """
2358 return _ogl.PyDividedShape_base_OnSizingEndDragLeft(*args, **kwargs)
2359
2360 def base_OnBeginSize(*args, **kwargs):
2361 """base_OnBeginSize(double w, double h)"""
2362 return _ogl.PyDividedShape_base_OnBeginSize(*args, **kwargs)
2363
2364 def base_OnEndSize(*args, **kwargs):
2365 """base_OnEndSize(double w, double h)"""
2366 return _ogl.PyDividedShape_base_OnEndSize(*args, **kwargs)
2367
2368
2369 class PyDividedShapePtr(PyDividedShape):
2370 def __init__(self, this):
2371 self.this = this
2372 if not hasattr(self,"thisown"): self.thisown = 0
2373 self.__class__ = PyDividedShape
2374 _ogl.PyDividedShape_swigregister(PyDividedShapePtr)
2375
2376 class PyDivisionShape(PyCompositeShape):
2377 def __repr__(self):
2378 return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2379 def __init__(self, *args, **kwargs):
2380 """__init__() -> PyDivisionShape"""
2381 newobj = _ogl.new_PyDivisionShape(*args, **kwargs)
2382 self.this = newobj.this
2383 self.thisown = 1
2384 del newobj.thisown
2385 self._setOORandCallbackInfo(PyDivisionShape)
2386
2387 def _setCallbackInfo(*args, **kwargs):
2388 """_setCallbackInfo(PyObject self, PyObject _class)"""
2389 return _ogl.PyDivisionShape__setCallbackInfo(*args, **kwargs)
2390
2391 def AdjustBottom(*args, **kwargs):
2392 """AdjustBottom(double bottom, bool test)"""
2393 return _ogl.PyDivisionShape_AdjustBottom(*args, **kwargs)
2394
2395 def AdjustLeft(*args, **kwargs):
2396 """AdjustLeft(double left, bool test)"""
2397 return _ogl.PyDivisionShape_AdjustLeft(*args, **kwargs)
2398
2399 def AdjustRight(*args, **kwargs):
2400 """AdjustRight(double right, bool test)"""
2401 return _ogl.PyDivisionShape_AdjustRight(*args, **kwargs)
2402
2403 def AdjustTop(*args, **kwargs):
2404 """AdjustTop(double top, bool test)"""
2405 return _ogl.PyDivisionShape_AdjustTop(*args, **kwargs)
2406
2407 def Divide(*args, **kwargs):
2408 """Divide(int direction)"""
2409 return _ogl.PyDivisionShape_Divide(*args, **kwargs)
2410
2411 def EditEdge(*args, **kwargs):
2412 """EditEdge(int side)"""
2413 return _ogl.PyDivisionShape_EditEdge(*args, **kwargs)
2414
2415 def GetBottomSide(*args, **kwargs):
2416 """GetBottomSide() -> PyDivisionShape"""
2417 return _ogl.PyDivisionShape_GetBottomSide(*args, **kwargs)
2418
2419 def GetHandleSide(*args, **kwargs):
2420 """GetHandleSide() -> int"""
2421 return _ogl.PyDivisionShape_GetHandleSide(*args, **kwargs)
2422
2423 def GetLeftSide(*args, **kwargs):
2424 """GetLeftSide() -> PyDivisionShape"""
2425 return _ogl.PyDivisionShape_GetLeftSide(*args, **kwargs)
2426
2427 def GetLeftSideColour(*args, **kwargs):
2428 """GetLeftSideColour() -> wxString"""
2429 return _ogl.PyDivisionShape_GetLeftSideColour(*args, **kwargs)
2430
2431 def GetLeftSidePen(*args, **kwargs):
2432 """GetLeftSidePen() -> wxPen"""
2433 return _ogl.PyDivisionShape_GetLeftSidePen(*args, **kwargs)
2434
2435 def GetRightSide(*args, **kwargs):
2436 """GetRightSide() -> PyDivisionShape"""
2437 return _ogl.PyDivisionShape_GetRightSide(*args, **kwargs)
2438
2439 def GetTopSide(*args, **kwargs):
2440 """GetTopSide() -> PyDivisionShape"""
2441 return _ogl.PyDivisionShape_GetTopSide(*args, **kwargs)
2442
2443 def GetTopSidePen(*args, **kwargs):
2444 """GetTopSidePen() -> wxPen"""
2445 return _ogl.PyDivisionShape_GetTopSidePen(*args, **kwargs)
2446
2447 def ResizeAdjoining(*args, **kwargs):
2448 """ResizeAdjoining(int side, double newPos, bool test)"""
2449 return _ogl.PyDivisionShape_ResizeAdjoining(*args, **kwargs)
2450
2451 def PopupMenu(*args, **kwargs):
2452 """PopupMenu(double x, double y)"""
2453 return _ogl.PyDivisionShape_PopupMenu(*args, **kwargs)
2454
2455 def SetBottomSide(*args, **kwargs):
2456 """SetBottomSide(PyDivisionShape shape)"""
2457 return _ogl.PyDivisionShape_SetBottomSide(*args, **kwargs)
2458
2459 def SetHandleSide(*args, **kwargs):
2460 """SetHandleSide(int side)"""
2461 return _ogl.PyDivisionShape_SetHandleSide(*args, **kwargs)
2462
2463 def SetLeftSide(*args, **kwargs):
2464 """SetLeftSide(PyDivisionShape shape)"""
2465 return _ogl.PyDivisionShape_SetLeftSide(*args, **kwargs)
2466
2467 def SetLeftSideColour(*args, **kwargs):
2468 """SetLeftSideColour(wxString colour)"""
2469 return _ogl.PyDivisionShape_SetLeftSideColour(*args, **kwargs)
2470
2471 def SetLeftSidePen(*args, **kwargs):
2472 """SetLeftSidePen(wxPen pen)"""
2473 return _ogl.PyDivisionShape_SetLeftSidePen(*args, **kwargs)
2474
2475 def SetRightSide(*args, **kwargs):
2476 """SetRightSide(PyDivisionShape shape)"""
2477 return _ogl.PyDivisionShape_SetRightSide(*args, **kwargs)
2478
2479 def SetTopSide(*args, **kwargs):
2480 """SetTopSide(PyDivisionShape shape)"""
2481 return _ogl.PyDivisionShape_SetTopSide(*args, **kwargs)
2482
2483 def SetTopSideColour(*args, **kwargs):
2484 """SetTopSideColour(wxString colour)"""
2485 return _ogl.PyDivisionShape_SetTopSideColour(*args, **kwargs)
2486
2487 def SetTopSidePen(*args, **kwargs):
2488 """SetTopSidePen(wxPen pen)"""
2489 return _ogl.PyDivisionShape_SetTopSidePen(*args, **kwargs)
2490
2491 def base_OnDelete(*args, **kwargs):
2492 """base_OnDelete()"""
2493 return _ogl.PyDivisionShape_base_OnDelete(*args, **kwargs)
2494
2495 def base_OnDraw(*args, **kwargs):
2496 """base_OnDraw(wxDC dc)"""
2497 return _ogl.PyDivisionShape_base_OnDraw(*args, **kwargs)
2498
2499 def base_OnDrawContents(*args, **kwargs):
2500 """base_OnDrawContents(wxDC dc)"""
2501 return _ogl.PyDivisionShape_base_OnDrawContents(*args, **kwargs)
2502
2503 def base_OnDrawBranches(*args, **kwargs):
2504 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2505 return _ogl.PyDivisionShape_base_OnDrawBranches(*args, **kwargs)
2506
2507 def base_OnMoveLinks(*args, **kwargs):
2508 """base_OnMoveLinks(wxDC dc)"""
2509 return _ogl.PyDivisionShape_base_OnMoveLinks(*args, **kwargs)
2510
2511 def base_OnErase(*args, **kwargs):
2512 """base_OnErase(wxDC dc)"""
2513 return _ogl.PyDivisionShape_base_OnErase(*args, **kwargs)
2514
2515 def base_OnEraseContents(*args, **kwargs):
2516 """base_OnEraseContents(wxDC dc)"""
2517 return _ogl.PyDivisionShape_base_OnEraseContents(*args, **kwargs)
2518
2519 def base_OnHighlight(*args, **kwargs):
2520 """base_OnHighlight(wxDC dc)"""
2521 return _ogl.PyDivisionShape_base_OnHighlight(*args, **kwargs)
2522
2523 def base_OnLeftClick(*args, **kwargs):
2524 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2525 return _ogl.PyDivisionShape_base_OnLeftClick(*args, **kwargs)
2526
2527 def base_OnLeftDoubleClick(*args, **kwargs):
2528 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2529 return _ogl.PyDivisionShape_base_OnLeftDoubleClick(*args, **kwargs)
2530
2531 def base_OnRightClick(*args, **kwargs):
2532 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2533 return _ogl.PyDivisionShape_base_OnRightClick(*args, **kwargs)
2534
2535 def base_OnSize(*args, **kwargs):
2536 """base_OnSize(double x, double y)"""
2537 return _ogl.PyDivisionShape_base_OnSize(*args, **kwargs)
2538
2539 def base_OnMovePre(*args, **kwargs):
2540 """
2541 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2542 bool display=True) -> bool
2543 """
2544 return _ogl.PyDivisionShape_base_OnMovePre(*args, **kwargs)
2545
2546 def base_OnMovePost(*args, **kwargs):
2547 """
2548 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2549 bool display=True)
2550 """
2551 return _ogl.PyDivisionShape_base_OnMovePost(*args, **kwargs)
2552
2553 def base_OnDragLeft(*args, **kwargs):
2554 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2555 return _ogl.PyDivisionShape_base_OnDragLeft(*args, **kwargs)
2556
2557 def base_OnBeginDragLeft(*args, **kwargs):
2558 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2559 return _ogl.PyDivisionShape_base_OnBeginDragLeft(*args, **kwargs)
2560
2561 def base_OnEndDragLeft(*args, **kwargs):
2562 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2563 return _ogl.PyDivisionShape_base_OnEndDragLeft(*args, **kwargs)
2564
2565 def base_OnDragRight(*args, **kwargs):
2566 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2567 return _ogl.PyDivisionShape_base_OnDragRight(*args, **kwargs)
2568
2569 def base_OnBeginDragRight(*args, **kwargs):
2570 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2571 return _ogl.PyDivisionShape_base_OnBeginDragRight(*args, **kwargs)
2572
2573 def base_OnEndDragRight(*args, **kwargs):
2574 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2575 return _ogl.PyDivisionShape_base_OnEndDragRight(*args, **kwargs)
2576
2577 def base_OnDrawOutline(*args, **kwargs):
2578 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2579 return _ogl.PyDivisionShape_base_OnDrawOutline(*args, **kwargs)
2580
2581 def base_OnDrawControlPoints(*args, **kwargs):
2582 """base_OnDrawControlPoints(wxDC dc)"""
2583 return _ogl.PyDivisionShape_base_OnDrawControlPoints(*args, **kwargs)
2584
2585 def base_OnEraseControlPoints(*args, **kwargs):
2586 """base_OnEraseControlPoints(wxDC dc)"""
2587 return _ogl.PyDivisionShape_base_OnEraseControlPoints(*args, **kwargs)
2588
2589 def base_OnMoveLink(*args, **kwargs):
2590 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2591 return _ogl.PyDivisionShape_base_OnMoveLink(*args, **kwargs)
2592
2593 def base_OnSizingDragLeft(*args, **kwargs):
2594 """
2595 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2596 int attachment=0)
2597 """
2598 return _ogl.PyDivisionShape_base_OnSizingDragLeft(*args, **kwargs)
2599
2600 def base_OnSizingBeginDragLeft(*args, **kwargs):
2601 """
2602 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2603 int attachment=0)
2604 """
2605 return _ogl.PyDivisionShape_base_OnSizingBeginDragLeft(*args, **kwargs)
2606
2607 def base_OnSizingEndDragLeft(*args, **kwargs):
2608 """
2609 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2610 int attachment=0)
2611 """
2612 return _ogl.PyDivisionShape_base_OnSizingEndDragLeft(*args, **kwargs)
2613
2614 def base_OnBeginSize(*args, **kwargs):
2615 """base_OnBeginSize(double w, double h)"""
2616 return _ogl.PyDivisionShape_base_OnBeginSize(*args, **kwargs)
2617
2618 def base_OnEndSize(*args, **kwargs):
2619 """base_OnEndSize(double w, double h)"""
2620 return _ogl.PyDivisionShape_base_OnEndSize(*args, **kwargs)
2621
2622
2623 class PyDivisionShapePtr(PyDivisionShape):
2624 def __init__(self, this):
2625 self.this = this
2626 if not hasattr(self,"thisown"): self.thisown = 0
2627 self.__class__ = PyDivisionShape
2628 _ogl.PyDivisionShape_swigregister(PyDivisionShapePtr)
2629
2630 class PyEllipseShape(PyShape):
2631 def __repr__(self):
2632 return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2633 def __init__(self, *args, **kwargs):
2634 """__init__(double width=0.0, double height=0.0) -> PyEllipseShape"""
2635 newobj = _ogl.new_PyEllipseShape(*args, **kwargs)
2636 self.this = newobj.this
2637 self.thisown = 1
2638 del newobj.thisown
2639 self._setOORandCallbackInfo(PyEllipseShape)
2640
2641 def _setCallbackInfo(*args, **kwargs):
2642 """_setCallbackInfo(PyObject self, PyObject _class)"""
2643 return _ogl.PyEllipseShape__setCallbackInfo(*args, **kwargs)
2644
2645 def base_OnDraw(*args, **kwargs):
2646 """base_OnDraw(wxDC dc)"""
2647 return _ogl.PyEllipseShape_base_OnDraw(*args, **kwargs)
2648
2649 def base_OnDrawContents(*args, **kwargs):
2650 """base_OnDrawContents(wxDC dc)"""
2651 return _ogl.PyEllipseShape_base_OnDrawContents(*args, **kwargs)
2652
2653 def base_OnDrawBranches(*args, **kwargs):
2654 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2655 return _ogl.PyEllipseShape_base_OnDrawBranches(*args, **kwargs)
2656
2657 def base_OnMoveLinks(*args, **kwargs):
2658 """base_OnMoveLinks(wxDC dc)"""
2659 return _ogl.PyEllipseShape_base_OnMoveLinks(*args, **kwargs)
2660
2661 def base_OnErase(*args, **kwargs):
2662 """base_OnErase(wxDC dc)"""
2663 return _ogl.PyEllipseShape_base_OnErase(*args, **kwargs)
2664
2665 def base_OnEraseContents(*args, **kwargs):
2666 """base_OnEraseContents(wxDC dc)"""
2667 return _ogl.PyEllipseShape_base_OnEraseContents(*args, **kwargs)
2668
2669 def base_OnHighlight(*args, **kwargs):
2670 """base_OnHighlight(wxDC dc)"""
2671 return _ogl.PyEllipseShape_base_OnHighlight(*args, **kwargs)
2672
2673 def base_OnLeftClick(*args, **kwargs):
2674 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2675 return _ogl.PyEllipseShape_base_OnLeftClick(*args, **kwargs)
2676
2677 def base_OnLeftDoubleClick(*args, **kwargs):
2678 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2679 return _ogl.PyEllipseShape_base_OnLeftDoubleClick(*args, **kwargs)
2680
2681 def base_OnRightClick(*args, **kwargs):
2682 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2683 return _ogl.PyEllipseShape_base_OnRightClick(*args, **kwargs)
2684
2685 def base_OnSize(*args, **kwargs):
2686 """base_OnSize(double x, double y)"""
2687 return _ogl.PyEllipseShape_base_OnSize(*args, **kwargs)
2688
2689 def base_OnMovePre(*args, **kwargs):
2690 """
2691 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2692 bool display=True) -> bool
2693 """
2694 return _ogl.PyEllipseShape_base_OnMovePre(*args, **kwargs)
2695
2696 def base_OnMovePost(*args, **kwargs):
2697 """
2698 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2699 bool display=True)
2700 """
2701 return _ogl.PyEllipseShape_base_OnMovePost(*args, **kwargs)
2702
2703 def base_OnDragLeft(*args, **kwargs):
2704 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2705 return _ogl.PyEllipseShape_base_OnDragLeft(*args, **kwargs)
2706
2707 def base_OnBeginDragLeft(*args, **kwargs):
2708 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2709 return _ogl.PyEllipseShape_base_OnBeginDragLeft(*args, **kwargs)
2710
2711 def base_OnEndDragLeft(*args, **kwargs):
2712 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2713 return _ogl.PyEllipseShape_base_OnEndDragLeft(*args, **kwargs)
2714
2715 def base_OnDragRight(*args, **kwargs):
2716 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2717 return _ogl.PyEllipseShape_base_OnDragRight(*args, **kwargs)
2718
2719 def base_OnBeginDragRight(*args, **kwargs):
2720 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2721 return _ogl.PyEllipseShape_base_OnBeginDragRight(*args, **kwargs)
2722
2723 def base_OnEndDragRight(*args, **kwargs):
2724 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2725 return _ogl.PyEllipseShape_base_OnEndDragRight(*args, **kwargs)
2726
2727 def base_OnDrawOutline(*args, **kwargs):
2728 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2729 return _ogl.PyEllipseShape_base_OnDrawOutline(*args, **kwargs)
2730
2731 def base_OnDrawControlPoints(*args, **kwargs):
2732 """base_OnDrawControlPoints(wxDC dc)"""
2733 return _ogl.PyEllipseShape_base_OnDrawControlPoints(*args, **kwargs)
2734
2735 def base_OnEraseControlPoints(*args, **kwargs):
2736 """base_OnEraseControlPoints(wxDC dc)"""
2737 return _ogl.PyEllipseShape_base_OnEraseControlPoints(*args, **kwargs)
2738
2739 def base_OnMoveLink(*args, **kwargs):
2740 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2741 return _ogl.PyEllipseShape_base_OnMoveLink(*args, **kwargs)
2742
2743 def base_OnSizingDragLeft(*args, **kwargs):
2744 """
2745 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2746 int attachment=0)
2747 """
2748 return _ogl.PyEllipseShape_base_OnSizingDragLeft(*args, **kwargs)
2749
2750 def base_OnSizingBeginDragLeft(*args, **kwargs):
2751 """
2752 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2753 int attachment=0)
2754 """
2755 return _ogl.PyEllipseShape_base_OnSizingBeginDragLeft(*args, **kwargs)
2756
2757 def base_OnSizingEndDragLeft(*args, **kwargs):
2758 """
2759 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2760 int attachment=0)
2761 """
2762 return _ogl.PyEllipseShape_base_OnSizingEndDragLeft(*args, **kwargs)
2763
2764 def base_OnBeginSize(*args, **kwargs):
2765 """base_OnBeginSize(double w, double h)"""
2766 return _ogl.PyEllipseShape_base_OnBeginSize(*args, **kwargs)
2767
2768 def base_OnEndSize(*args, **kwargs):
2769 """base_OnEndSize(double w, double h)"""
2770 return _ogl.PyEllipseShape_base_OnEndSize(*args, **kwargs)
2771
2772
2773 class PyEllipseShapePtr(PyEllipseShape):
2774 def __init__(self, this):
2775 self.this = this
2776 if not hasattr(self,"thisown"): self.thisown = 0
2777 self.__class__ = PyEllipseShape
2778 _ogl.PyEllipseShape_swigregister(PyEllipseShapePtr)
2779
2780 class PyCircleShape(PyEllipseShape):
2781 def __repr__(self):
2782 return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2783 def __init__(self, *args, **kwargs):
2784 """__init__(double width=0.0) -> PyCircleShape"""
2785 newobj = _ogl.new_PyCircleShape(*args, **kwargs)
2786 self.this = newobj.this
2787 self.thisown = 1
2788 del newobj.thisown
2789 self._setOORandCallbackInfo(PyCircleShape)
2790
2791 def _setCallbackInfo(*args, **kwargs):
2792 """_setCallbackInfo(PyObject self, PyObject _class)"""
2793 return _ogl.PyCircleShape__setCallbackInfo(*args, **kwargs)
2794
2795 def base_OnDraw(*args, **kwargs):
2796 """base_OnDraw(wxDC dc)"""
2797 return _ogl.PyCircleShape_base_OnDraw(*args, **kwargs)
2798
2799 def base_OnDrawContents(*args, **kwargs):
2800 """base_OnDrawContents(wxDC dc)"""
2801 return _ogl.PyCircleShape_base_OnDrawContents(*args, **kwargs)
2802
2803 def base_OnDrawBranches(*args, **kwargs):
2804 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
2805 return _ogl.PyCircleShape_base_OnDrawBranches(*args, **kwargs)
2806
2807 def base_OnMoveLinks(*args, **kwargs):
2808 """base_OnMoveLinks(wxDC dc)"""
2809 return _ogl.PyCircleShape_base_OnMoveLinks(*args, **kwargs)
2810
2811 def base_OnErase(*args, **kwargs):
2812 """base_OnErase(wxDC dc)"""
2813 return _ogl.PyCircleShape_base_OnErase(*args, **kwargs)
2814
2815 def base_OnEraseContents(*args, **kwargs):
2816 """base_OnEraseContents(wxDC dc)"""
2817 return _ogl.PyCircleShape_base_OnEraseContents(*args, **kwargs)
2818
2819 def base_OnHighlight(*args, **kwargs):
2820 """base_OnHighlight(wxDC dc)"""
2821 return _ogl.PyCircleShape_base_OnHighlight(*args, **kwargs)
2822
2823 def base_OnLeftClick(*args, **kwargs):
2824 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
2825 return _ogl.PyCircleShape_base_OnLeftClick(*args, **kwargs)
2826
2827 def base_OnLeftDoubleClick(*args, **kwargs):
2828 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
2829 return _ogl.PyCircleShape_base_OnLeftDoubleClick(*args, **kwargs)
2830
2831 def base_OnRightClick(*args, **kwargs):
2832 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
2833 return _ogl.PyCircleShape_base_OnRightClick(*args, **kwargs)
2834
2835 def base_OnSize(*args, **kwargs):
2836 """base_OnSize(double x, double y)"""
2837 return _ogl.PyCircleShape_base_OnSize(*args, **kwargs)
2838
2839 def base_OnMovePre(*args, **kwargs):
2840 """
2841 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
2842 bool display=True) -> bool
2843 """
2844 return _ogl.PyCircleShape_base_OnMovePre(*args, **kwargs)
2845
2846 def base_OnMovePost(*args, **kwargs):
2847 """
2848 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
2849 bool display=True)
2850 """
2851 return _ogl.PyCircleShape_base_OnMovePost(*args, **kwargs)
2852
2853 def base_OnDragLeft(*args, **kwargs):
2854 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
2855 return _ogl.PyCircleShape_base_OnDragLeft(*args, **kwargs)
2856
2857 def base_OnBeginDragLeft(*args, **kwargs):
2858 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
2859 return _ogl.PyCircleShape_base_OnBeginDragLeft(*args, **kwargs)
2860
2861 def base_OnEndDragLeft(*args, **kwargs):
2862 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
2863 return _ogl.PyCircleShape_base_OnEndDragLeft(*args, **kwargs)
2864
2865 def base_OnDragRight(*args, **kwargs):
2866 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
2867 return _ogl.PyCircleShape_base_OnDragRight(*args, **kwargs)
2868
2869 def base_OnBeginDragRight(*args, **kwargs):
2870 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
2871 return _ogl.PyCircleShape_base_OnBeginDragRight(*args, **kwargs)
2872
2873 def base_OnEndDragRight(*args, **kwargs):
2874 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
2875 return _ogl.PyCircleShape_base_OnEndDragRight(*args, **kwargs)
2876
2877 def base_OnDrawOutline(*args, **kwargs):
2878 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
2879 return _ogl.PyCircleShape_base_OnDrawOutline(*args, **kwargs)
2880
2881 def base_OnDrawControlPoints(*args, **kwargs):
2882 """base_OnDrawControlPoints(wxDC dc)"""
2883 return _ogl.PyCircleShape_base_OnDrawControlPoints(*args, **kwargs)
2884
2885 def base_OnEraseControlPoints(*args, **kwargs):
2886 """base_OnEraseControlPoints(wxDC dc)"""
2887 return _ogl.PyCircleShape_base_OnEraseControlPoints(*args, **kwargs)
2888
2889 def base_OnMoveLink(*args, **kwargs):
2890 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
2891 return _ogl.PyCircleShape_base_OnMoveLink(*args, **kwargs)
2892
2893 def base_OnSizingDragLeft(*args, **kwargs):
2894 """
2895 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
2896 int attachment=0)
2897 """
2898 return _ogl.PyCircleShape_base_OnSizingDragLeft(*args, **kwargs)
2899
2900 def base_OnSizingBeginDragLeft(*args, **kwargs):
2901 """
2902 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2903 int attachment=0)
2904 """
2905 return _ogl.PyCircleShape_base_OnSizingBeginDragLeft(*args, **kwargs)
2906
2907 def base_OnSizingEndDragLeft(*args, **kwargs):
2908 """
2909 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
2910 int attachment=0)
2911 """
2912 return _ogl.PyCircleShape_base_OnSizingEndDragLeft(*args, **kwargs)
2913
2914 def base_OnBeginSize(*args, **kwargs):
2915 """base_OnBeginSize(double w, double h)"""
2916 return _ogl.PyCircleShape_base_OnBeginSize(*args, **kwargs)
2917
2918 def base_OnEndSize(*args, **kwargs):
2919 """base_OnEndSize(double w, double h)"""
2920 return _ogl.PyCircleShape_base_OnEndSize(*args, **kwargs)
2921
2922
2923 class PyCircleShapePtr(PyCircleShape):
2924 def __init__(self, this):
2925 self.this = this
2926 if not hasattr(self,"thisown"): self.thisown = 0
2927 self.__class__ = PyCircleShape
2928 _ogl.PyCircleShape_swigregister(PyCircleShapePtr)
2929
2930 class ArrowHead(core.Object):
2931 def __repr__(self):
2932 return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
2933 def __init__(self, *args, **kwargs):
2934 """
2935 __init__(int type=0, int end=0, double size=0.0, double dist=0.0,
2936 wxString name=wxPyEmptyString, PseudoMetaFile mf=None,
2937 long arrowId=-1) -> ArrowHead
2938 """
2939 newobj = _ogl.new_ArrowHead(*args, **kwargs)
2940 self.this = newobj.this
2941 self.thisown = 1
2942 del newobj.thisown
2943 def __del__(self, destroy=_ogl.delete_ArrowHead):
2944 """__del__()"""
2945 try:
2946 if self.thisown: destroy(self)
2947 except: pass
2948
2949 def _GetType(*args, **kwargs):
2950 """_GetType() -> int"""
2951 return _ogl.ArrowHead__GetType(*args, **kwargs)
2952
2953 def GetPosition(*args, **kwargs):
2954 """GetPosition() -> int"""
2955 return _ogl.ArrowHead_GetPosition(*args, **kwargs)
2956
2957 def SetPosition(*args, **kwargs):
2958 """SetPosition(int pos)"""
2959 return _ogl.ArrowHead_SetPosition(*args, **kwargs)
2960
2961 def GetXOffset(*args, **kwargs):
2962 """GetXOffset() -> double"""
2963 return _ogl.ArrowHead_GetXOffset(*args, **kwargs)
2964
2965 def GetYOffset(*args, **kwargs):
2966 """GetYOffset() -> double"""
2967 return _ogl.ArrowHead_GetYOffset(*args, **kwargs)
2968
2969 def GetSpacing(*args, **kwargs):
2970 """GetSpacing() -> double"""
2971 return _ogl.ArrowHead_GetSpacing(*args, **kwargs)
2972
2973 def GetSize(*args, **kwargs):
2974 """GetSize() -> double"""
2975 return _ogl.ArrowHead_GetSize(*args, **kwargs)
2976
2977 def GetName(*args, **kwargs):
2978 """GetName() -> wxString"""
2979 return _ogl.ArrowHead_GetName(*args, **kwargs)
2980
2981 def SetXOffset(*args, **kwargs):
2982 """SetXOffset(double x)"""
2983 return _ogl.ArrowHead_SetXOffset(*args, **kwargs)
2984
2985 def SetYOffset(*args, **kwargs):
2986 """SetYOffset(double y)"""
2987 return _ogl.ArrowHead_SetYOffset(*args, **kwargs)
2988
2989 def GetMetaFile(*args, **kwargs):
2990 """GetMetaFile() -> PseudoMetaFile"""
2991 return _ogl.ArrowHead_GetMetaFile(*args, **kwargs)
2992
2993 def GetId(*args, **kwargs):
2994 """GetId() -> long"""
2995 return _ogl.ArrowHead_GetId(*args, **kwargs)
2996
2997 def GetArrowEnd(*args, **kwargs):
2998 """GetArrowEnd() -> int"""
2999 return _ogl.ArrowHead_GetArrowEnd(*args, **kwargs)
3000
3001 def GetArrowSize(*args, **kwargs):
3002 """GetArrowSize() -> double"""
3003 return _ogl.ArrowHead_GetArrowSize(*args, **kwargs)
3004
3005 def SetSize(*args, **kwargs):
3006 """SetSize(double size)"""
3007 return _ogl.ArrowHead_SetSize(*args, **kwargs)
3008
3009 def SetSpacing(*args, **kwargs):
3010 """SetSpacing(double sp)"""
3011 return _ogl.ArrowHead_SetSpacing(*args, **kwargs)
3012
3013
3014 class ArrowHeadPtr(ArrowHead):
3015 def __init__(self, this):
3016 self.this = this
3017 if not hasattr(self,"thisown"): self.thisown = 0
3018 self.__class__ = ArrowHead
3019 _ogl.ArrowHead_swigregister(ArrowHeadPtr)
3020
3021 class PyLineShape(PyShape):
3022 def __repr__(self):
3023 return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3024 def __init__(self, *args, **kwargs):
3025 """__init__() -> PyLineShape"""
3026 newobj = _ogl.new_PyLineShape(*args, **kwargs)
3027 self.this = newobj.this
3028 self.thisown = 1
3029 del newobj.thisown
3030 self._setOORandCallbackInfo(PyLineShape)
3031
3032 def _setCallbackInfo(*args, **kwargs):
3033 """_setCallbackInfo(PyObject self, PyObject _class)"""
3034 return _ogl.PyLineShape__setCallbackInfo(*args, **kwargs)
3035
3036 def AddArrow(*args, **kwargs):
3037 """
3038 AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0,
3039 double xOffset=0.0, wxString name=wxPyEmptyString,
3040 PseudoMetaFile mf=None, long arrowId=-1)
3041 """
3042 return _ogl.PyLineShape_AddArrow(*args, **kwargs)
3043
3044 def AddArrowOrdered(*args, **kwargs):
3045 """AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)"""
3046 return _ogl.PyLineShape_AddArrowOrdered(*args, **kwargs)
3047
3048 def ClearArrow(*args, **kwargs):
3049 """ClearArrow(wxString name) -> bool"""
3050 return _ogl.PyLineShape_ClearArrow(*args, **kwargs)
3051
3052 def ClearArrowsAtPosition(*args, **kwargs):
3053 """ClearArrowsAtPosition(int position=-1)"""
3054 return _ogl.PyLineShape_ClearArrowsAtPosition(*args, **kwargs)
3055
3056 def DrawArrow(*args, **kwargs):
3057 """DrawArrow(wxDC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)"""
3058 return _ogl.PyLineShape_DrawArrow(*args, **kwargs)
3059
3060 def DeleteArrowHeadId(*args, **kwargs):
3061 """DeleteArrowHeadId(long arrowId) -> bool"""
3062 return _ogl.PyLineShape_DeleteArrowHeadId(*args, **kwargs)
3063
3064 def DeleteArrowHead(*args, **kwargs):
3065 """DeleteArrowHead(int position, wxString name) -> bool"""
3066 return _ogl.PyLineShape_DeleteArrowHead(*args, **kwargs)
3067
3068 def DeleteLineControlPoint(*args, **kwargs):
3069 """DeleteLineControlPoint() -> bool"""
3070 return _ogl.PyLineShape_DeleteLineControlPoint(*args, **kwargs)
3071
3072 def DrawArrows(*args, **kwargs):
3073 """DrawArrows(wxDC dc)"""
3074 return _ogl.PyLineShape_DrawArrows(*args, **kwargs)
3075
3076 def DrawRegion(*args, **kwargs):
3077 """DrawRegion(wxDC dc, ShapeRegion region, double x, double y)"""
3078 return _ogl.PyLineShape_DrawRegion(*args, **kwargs)
3079
3080 def EraseRegion(*args, **kwargs):
3081 """EraseRegion(wxDC dc, ShapeRegion region, double x, double y)"""
3082 return _ogl.PyLineShape_EraseRegion(*args, **kwargs)
3083
3084 def FindArrowHeadId(*args, **kwargs):
3085 """FindArrowHeadId(long arrowId) -> ArrowHead"""
3086 return _ogl.PyLineShape_FindArrowHeadId(*args, **kwargs)
3087
3088 def FindArrowHead(*args, **kwargs):
3089 """FindArrowHead(int position, wxString name) -> ArrowHead"""
3090 return _ogl.PyLineShape_FindArrowHead(*args, **kwargs)
3091
3092 def FindLineEndPoints(*args, **kwargs):
3093 """FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3094 return _ogl.PyLineShape_FindLineEndPoints(*args, **kwargs)
3095
3096 def FindLinePosition(*args, **kwargs):
3097 """FindLinePosition(double x, double y) -> int"""
3098 return _ogl.PyLineShape_FindLinePosition(*args, **kwargs)
3099
3100 def FindMinimumWidth(*args, **kwargs):
3101 """FindMinimumWidth() -> double"""
3102 return _ogl.PyLineShape_FindMinimumWidth(*args, **kwargs)
3103
3104 def FindNth(*args, **kwargs):
3105 """FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)"""
3106 return _ogl.PyLineShape_FindNth(*args, **kwargs)
3107
3108 def GetAttachmentFrom(*args, **kwargs):
3109 """GetAttachmentFrom() -> int"""
3110 return _ogl.PyLineShape_GetAttachmentFrom(*args, **kwargs)
3111
3112 def GetAttachmentTo(*args, **kwargs):
3113 """GetAttachmentTo() -> int"""
3114 return _ogl.PyLineShape_GetAttachmentTo(*args, **kwargs)
3115
3116 def GetEnds(*args, **kwargs):
3117 """GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)"""
3118 return _ogl.PyLineShape_GetEnds(*args, **kwargs)
3119
3120 def GetFrom(*args, **kwargs):
3121 """GetFrom() -> PyShape"""
3122 return _ogl.PyLineShape_GetFrom(*args, **kwargs)
3123
3124 def GetLabelPosition(*args, **kwargs):
3125 """GetLabelPosition(int position, double OUTPUT, double OUTPUT)"""
3126 return _ogl.PyLineShape_GetLabelPosition(*args, **kwargs)
3127
3128 def GetNextControlPoint(*args, **kwargs):
3129 """GetNextControlPoint(PyShape shape) -> RealPoint"""
3130 return _ogl.PyLineShape_GetNextControlPoint(*args, **kwargs)
3131
3132 def GetTo(*args, **kwargs):
3133 """GetTo() -> PyShape"""
3134 return _ogl.PyLineShape_GetTo(*args, **kwargs)
3135
3136 def Initialise(*args, **kwargs):
3137 """Initialise()"""
3138 return _ogl.PyLineShape_Initialise(*args, **kwargs)
3139
3140 def InsertLineControlPoint(*args, **kwargs):
3141 """InsertLineControlPoint(wxDC dc)"""
3142 return _ogl.PyLineShape_InsertLineControlPoint(*args, **kwargs)
3143
3144 def IsEnd(*args, **kwargs):
3145 """IsEnd(PyShape shape) -> bool"""
3146 return _ogl.PyLineShape_IsEnd(*args, **kwargs)
3147
3148 def IsSpline(*args, **kwargs):
3149 """IsSpline() -> bool"""
3150 return _ogl.PyLineShape_IsSpline(*args, **kwargs)
3151
3152 def MakeLineControlPoints(*args, **kwargs):
3153 """MakeLineControlPoints(int n)"""
3154 return _ogl.PyLineShape_MakeLineControlPoints(*args, **kwargs)
3155
3156 def GetLineControlPoints(*args, **kwargs):
3157 """GetLineControlPoints() -> PyObject"""
3158 return _ogl.PyLineShape_GetLineControlPoints(*args, **kwargs)
3159
3160 def SetAttachmentFrom(*args, **kwargs):
3161 """SetAttachmentFrom(int fromAttach)"""
3162 return _ogl.PyLineShape_SetAttachmentFrom(*args, **kwargs)
3163
3164 def SetAttachments(*args, **kwargs):
3165 """SetAttachments(int fromAttach, int toAttach)"""
3166 return _ogl.PyLineShape_SetAttachments(*args, **kwargs)
3167
3168 def SetAttachmentTo(*args, **kwargs):
3169 """SetAttachmentTo(int toAttach)"""
3170 return _ogl.PyLineShape_SetAttachmentTo(*args, **kwargs)
3171
3172 def SetEnds(*args, **kwargs):
3173 """SetEnds(double x1, double y1, double x2, double y2)"""
3174 return _ogl.PyLineShape_SetEnds(*args, **kwargs)
3175
3176 def SetFrom(*args, **kwargs):
3177 """SetFrom(PyShape object)"""
3178 return _ogl.PyLineShape_SetFrom(*args, **kwargs)
3179
3180 def SetIgnoreOffsets(*args, **kwargs):
3181 """SetIgnoreOffsets(bool ignore)"""
3182 return _ogl.PyLineShape_SetIgnoreOffsets(*args, **kwargs)
3183
3184 def SetSpline(*args, **kwargs):
3185 """SetSpline(bool spline)"""
3186 return _ogl.PyLineShape_SetSpline(*args, **kwargs)
3187
3188 def SetTo(*args, **kwargs):
3189 """SetTo(PyShape object)"""
3190 return _ogl.PyLineShape_SetTo(*args, **kwargs)
3191
3192 def Straighten(*args, **kwargs):
3193 """Straighten(wxDC dc=None)"""
3194 return _ogl.PyLineShape_Straighten(*args, **kwargs)
3195
3196 def Unlink(*args, **kwargs):
3197 """Unlink()"""
3198 return _ogl.PyLineShape_Unlink(*args, **kwargs)
3199
3200 def base_OnDraw(*args, **kwargs):
3201 """base_OnDraw(wxDC dc)"""
3202 return _ogl.PyLineShape_base_OnDraw(*args, **kwargs)
3203
3204 def base_OnDrawContents(*args, **kwargs):
3205 """base_OnDrawContents(wxDC dc)"""
3206 return _ogl.PyLineShape_base_OnDrawContents(*args, **kwargs)
3207
3208 def base_OnDrawBranches(*args, **kwargs):
3209 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3210 return _ogl.PyLineShape_base_OnDrawBranches(*args, **kwargs)
3211
3212 def base_OnMoveLinks(*args, **kwargs):
3213 """base_OnMoveLinks(wxDC dc)"""
3214 return _ogl.PyLineShape_base_OnMoveLinks(*args, **kwargs)
3215
3216 def base_OnErase(*args, **kwargs):
3217 """base_OnErase(wxDC dc)"""
3218 return _ogl.PyLineShape_base_OnErase(*args, **kwargs)
3219
3220 def base_OnEraseContents(*args, **kwargs):
3221 """base_OnEraseContents(wxDC dc)"""
3222 return _ogl.PyLineShape_base_OnEraseContents(*args, **kwargs)
3223
3224 def base_OnHighlight(*args, **kwargs):
3225 """base_OnHighlight(wxDC dc)"""
3226 return _ogl.PyLineShape_base_OnHighlight(*args, **kwargs)
3227
3228 def base_OnLeftClick(*args, **kwargs):
3229 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3230 return _ogl.PyLineShape_base_OnLeftClick(*args, **kwargs)
3231
3232 def base_OnLeftDoubleClick(*args, **kwargs):
3233 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3234 return _ogl.PyLineShape_base_OnLeftDoubleClick(*args, **kwargs)
3235
3236 def base_OnRightClick(*args, **kwargs):
3237 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3238 return _ogl.PyLineShape_base_OnRightClick(*args, **kwargs)
3239
3240 def base_OnSize(*args, **kwargs):
3241 """base_OnSize(double x, double y)"""
3242 return _ogl.PyLineShape_base_OnSize(*args, **kwargs)
3243
3244 def base_OnMovePre(*args, **kwargs):
3245 """
3246 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3247 bool display=True) -> bool
3248 """
3249 return _ogl.PyLineShape_base_OnMovePre(*args, **kwargs)
3250
3251 def base_OnMovePost(*args, **kwargs):
3252 """
3253 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3254 bool display=True)
3255 """
3256 return _ogl.PyLineShape_base_OnMovePost(*args, **kwargs)
3257
3258 def base_OnDragLeft(*args, **kwargs):
3259 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3260 return _ogl.PyLineShape_base_OnDragLeft(*args, **kwargs)
3261
3262 def base_OnBeginDragLeft(*args, **kwargs):
3263 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3264 return _ogl.PyLineShape_base_OnBeginDragLeft(*args, **kwargs)
3265
3266 def base_OnEndDragLeft(*args, **kwargs):
3267 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3268 return _ogl.PyLineShape_base_OnEndDragLeft(*args, **kwargs)
3269
3270 def base_OnDragRight(*args, **kwargs):
3271 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3272 return _ogl.PyLineShape_base_OnDragRight(*args, **kwargs)
3273
3274 def base_OnBeginDragRight(*args, **kwargs):
3275 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3276 return _ogl.PyLineShape_base_OnBeginDragRight(*args, **kwargs)
3277
3278 def base_OnEndDragRight(*args, **kwargs):
3279 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3280 return _ogl.PyLineShape_base_OnEndDragRight(*args, **kwargs)
3281
3282 def base_OnDrawOutline(*args, **kwargs):
3283 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3284 return _ogl.PyLineShape_base_OnDrawOutline(*args, **kwargs)
3285
3286 def base_OnDrawControlPoints(*args, **kwargs):
3287 """base_OnDrawControlPoints(wxDC dc)"""
3288 return _ogl.PyLineShape_base_OnDrawControlPoints(*args, **kwargs)
3289
3290 def base_OnEraseControlPoints(*args, **kwargs):
3291 """base_OnEraseControlPoints(wxDC dc)"""
3292 return _ogl.PyLineShape_base_OnEraseControlPoints(*args, **kwargs)
3293
3294 def base_OnMoveLink(*args, **kwargs):
3295 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3296 return _ogl.PyLineShape_base_OnMoveLink(*args, **kwargs)
3297
3298 def base_OnSizingDragLeft(*args, **kwargs):
3299 """
3300 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3301 int attachment=0)
3302 """
3303 return _ogl.PyLineShape_base_OnSizingDragLeft(*args, **kwargs)
3304
3305 def base_OnSizingBeginDragLeft(*args, **kwargs):
3306 """
3307 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3308 int attachment=0)
3309 """
3310 return _ogl.PyLineShape_base_OnSizingBeginDragLeft(*args, **kwargs)
3311
3312 def base_OnSizingEndDragLeft(*args, **kwargs):
3313 """
3314 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3315 int attachment=0)
3316 """
3317 return _ogl.PyLineShape_base_OnSizingEndDragLeft(*args, **kwargs)
3318
3319 def base_OnBeginSize(*args, **kwargs):
3320 """base_OnBeginSize(double w, double h)"""
3321 return _ogl.PyLineShape_base_OnBeginSize(*args, **kwargs)
3322
3323 def base_OnEndSize(*args, **kwargs):
3324 """base_OnEndSize(double w, double h)"""
3325 return _ogl.PyLineShape_base_OnEndSize(*args, **kwargs)
3326
3327
3328 class PyLineShapePtr(PyLineShape):
3329 def __init__(self, this):
3330 self.this = this
3331 if not hasattr(self,"thisown"): self.thisown = 0
3332 self.__class__ = PyLineShape
3333 _ogl.PyLineShape_swigregister(PyLineShapePtr)
3334
3335 class PyPolygonShape(PyShape):
3336 def __repr__(self):
3337 return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3338 def __init__(self, *args, **kwargs):
3339 """__init__() -> PyPolygonShape"""
3340 newobj = _ogl.new_PyPolygonShape(*args, **kwargs)
3341 self.this = newobj.this
3342 self.thisown = 1
3343 del newobj.thisown
3344 self._setOORandCallbackInfo(PyPolygonShape)
3345
3346 def _setCallbackInfo(*args, **kwargs):
3347 """_setCallbackInfo(PyObject self, PyObject _class)"""
3348 return _ogl.PyPolygonShape__setCallbackInfo(*args, **kwargs)
3349
3350 def Create(*args, **kwargs):
3351 """Create(PyObject points) -> PyObject"""
3352 return _ogl.PyPolygonShape_Create(*args, **kwargs)
3353
3354 def AddPolygonPoint(*args, **kwargs):
3355 """AddPolygonPoint(int pos=0)"""
3356 return _ogl.PyPolygonShape_AddPolygonPoint(*args, **kwargs)
3357
3358 def CalculatePolygonCentre(*args, **kwargs):
3359 """CalculatePolygonCentre()"""
3360 return _ogl.PyPolygonShape_CalculatePolygonCentre(*args, **kwargs)
3361
3362 def DeletePolygonPoint(*args, **kwargs):
3363 """DeletePolygonPoint(int pos=0)"""
3364 return _ogl.PyPolygonShape_DeletePolygonPoint(*args, **kwargs)
3365
3366 def GetPoints(*args, **kwargs):
3367 """GetPoints() -> PyObject"""
3368 return _ogl.PyPolygonShape_GetPoints(*args, **kwargs)
3369
3370 def UpdateOriginalPoints(*args, **kwargs):
3371 """UpdateOriginalPoints()"""
3372 return _ogl.PyPolygonShape_UpdateOriginalPoints(*args, **kwargs)
3373
3374 def base_OnDraw(*args, **kwargs):
3375 """base_OnDraw(wxDC dc)"""
3376 return _ogl.PyPolygonShape_base_OnDraw(*args, **kwargs)
3377
3378 def base_OnDrawContents(*args, **kwargs):
3379 """base_OnDrawContents(wxDC dc)"""
3380 return _ogl.PyPolygonShape_base_OnDrawContents(*args, **kwargs)
3381
3382 def base_OnDrawBranches(*args, **kwargs):
3383 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3384 return _ogl.PyPolygonShape_base_OnDrawBranches(*args, **kwargs)
3385
3386 def base_OnMoveLinks(*args, **kwargs):
3387 """base_OnMoveLinks(wxDC dc)"""
3388 return _ogl.PyPolygonShape_base_OnMoveLinks(*args, **kwargs)
3389
3390 def base_OnErase(*args, **kwargs):
3391 """base_OnErase(wxDC dc)"""
3392 return _ogl.PyPolygonShape_base_OnErase(*args, **kwargs)
3393
3394 def base_OnEraseContents(*args, **kwargs):
3395 """base_OnEraseContents(wxDC dc)"""
3396 return _ogl.PyPolygonShape_base_OnEraseContents(*args, **kwargs)
3397
3398 def base_OnHighlight(*args, **kwargs):
3399 """base_OnHighlight(wxDC dc)"""
3400 return _ogl.PyPolygonShape_base_OnHighlight(*args, **kwargs)
3401
3402 def base_OnLeftClick(*args, **kwargs):
3403 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3404 return _ogl.PyPolygonShape_base_OnLeftClick(*args, **kwargs)
3405
3406 def base_OnLeftDoubleClick(*args, **kwargs):
3407 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3408 return _ogl.PyPolygonShape_base_OnLeftDoubleClick(*args, **kwargs)
3409
3410 def base_OnRightClick(*args, **kwargs):
3411 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3412 return _ogl.PyPolygonShape_base_OnRightClick(*args, **kwargs)
3413
3414 def base_OnSize(*args, **kwargs):
3415 """base_OnSize(double x, double y)"""
3416 return _ogl.PyPolygonShape_base_OnSize(*args, **kwargs)
3417
3418 def base_OnMovePre(*args, **kwargs):
3419 """
3420 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3421 bool display=True) -> bool
3422 """
3423 return _ogl.PyPolygonShape_base_OnMovePre(*args, **kwargs)
3424
3425 def base_OnMovePost(*args, **kwargs):
3426 """
3427 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3428 bool display=True)
3429 """
3430 return _ogl.PyPolygonShape_base_OnMovePost(*args, **kwargs)
3431
3432 def base_OnDragLeft(*args, **kwargs):
3433 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3434 return _ogl.PyPolygonShape_base_OnDragLeft(*args, **kwargs)
3435
3436 def base_OnBeginDragLeft(*args, **kwargs):
3437 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3438 return _ogl.PyPolygonShape_base_OnBeginDragLeft(*args, **kwargs)
3439
3440 def base_OnEndDragLeft(*args, **kwargs):
3441 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3442 return _ogl.PyPolygonShape_base_OnEndDragLeft(*args, **kwargs)
3443
3444 def base_OnDragRight(*args, **kwargs):
3445 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3446 return _ogl.PyPolygonShape_base_OnDragRight(*args, **kwargs)
3447
3448 def base_OnBeginDragRight(*args, **kwargs):
3449 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3450 return _ogl.PyPolygonShape_base_OnBeginDragRight(*args, **kwargs)
3451
3452 def base_OnEndDragRight(*args, **kwargs):
3453 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3454 return _ogl.PyPolygonShape_base_OnEndDragRight(*args, **kwargs)
3455
3456 def base_OnDrawOutline(*args, **kwargs):
3457 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3458 return _ogl.PyPolygonShape_base_OnDrawOutline(*args, **kwargs)
3459
3460 def base_OnDrawControlPoints(*args, **kwargs):
3461 """base_OnDrawControlPoints(wxDC dc)"""
3462 return _ogl.PyPolygonShape_base_OnDrawControlPoints(*args, **kwargs)
3463
3464 def base_OnEraseControlPoints(*args, **kwargs):
3465 """base_OnEraseControlPoints(wxDC dc)"""
3466 return _ogl.PyPolygonShape_base_OnEraseControlPoints(*args, **kwargs)
3467
3468 def base_OnMoveLink(*args, **kwargs):
3469 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3470 return _ogl.PyPolygonShape_base_OnMoveLink(*args, **kwargs)
3471
3472 def base_OnSizingDragLeft(*args, **kwargs):
3473 """
3474 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3475 int attachment=0)
3476 """
3477 return _ogl.PyPolygonShape_base_OnSizingDragLeft(*args, **kwargs)
3478
3479 def base_OnSizingBeginDragLeft(*args, **kwargs):
3480 """
3481 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3482 int attachment=0)
3483 """
3484 return _ogl.PyPolygonShape_base_OnSizingBeginDragLeft(*args, **kwargs)
3485
3486 def base_OnSizingEndDragLeft(*args, **kwargs):
3487 """
3488 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3489 int attachment=0)
3490 """
3491 return _ogl.PyPolygonShape_base_OnSizingEndDragLeft(*args, **kwargs)
3492
3493 def base_OnBeginSize(*args, **kwargs):
3494 """base_OnBeginSize(double w, double h)"""
3495 return _ogl.PyPolygonShape_base_OnBeginSize(*args, **kwargs)
3496
3497 def base_OnEndSize(*args, **kwargs):
3498 """base_OnEndSize(double w, double h)"""
3499 return _ogl.PyPolygonShape_base_OnEndSize(*args, **kwargs)
3500
3501
3502 class PyPolygonShapePtr(PyPolygonShape):
3503 def __init__(self, this):
3504 self.this = this
3505 if not hasattr(self,"thisown"): self.thisown = 0
3506 self.__class__ = PyPolygonShape
3507 _ogl.PyPolygonShape_swigregister(PyPolygonShapePtr)
3508
3509 class PyTextShape(PyRectangleShape):
3510 def __repr__(self):
3511 return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3512 def __init__(self, *args, **kwargs):
3513 """__init__(double width=0.0, double height=0.0) -> PyTextShape"""
3514 newobj = _ogl.new_PyTextShape(*args, **kwargs)
3515 self.this = newobj.this
3516 self.thisown = 1
3517 del newobj.thisown
3518 self._setOORandCallbackInfo(PyTextShape)
3519
3520 def _setCallbackInfo(*args, **kwargs):
3521 """_setCallbackInfo(PyObject self, PyObject _class)"""
3522 return _ogl.PyTextShape__setCallbackInfo(*args, **kwargs)
3523
3524 def base_OnDelete(*args, **kwargs):
3525 """base_OnDelete()"""
3526 return _ogl.PyTextShape_base_OnDelete(*args, **kwargs)
3527
3528 def base_OnDraw(*args, **kwargs):
3529 """base_OnDraw(wxDC dc)"""
3530 return _ogl.PyTextShape_base_OnDraw(*args, **kwargs)
3531
3532 def base_OnDrawContents(*args, **kwargs):
3533 """base_OnDrawContents(wxDC dc)"""
3534 return _ogl.PyTextShape_base_OnDrawContents(*args, **kwargs)
3535
3536 def base_OnDrawBranches(*args, **kwargs):
3537 """base_OnDrawBranches(wxDC dc, bool erase=FALSE)"""
3538 return _ogl.PyTextShape_base_OnDrawBranches(*args, **kwargs)
3539
3540 def base_OnMoveLinks(*args, **kwargs):
3541 """base_OnMoveLinks(wxDC dc)"""
3542 return _ogl.PyTextShape_base_OnMoveLinks(*args, **kwargs)
3543
3544 def base_OnErase(*args, **kwargs):
3545 """base_OnErase(wxDC dc)"""
3546 return _ogl.PyTextShape_base_OnErase(*args, **kwargs)
3547
3548 def base_OnEraseContents(*args, **kwargs):
3549 """base_OnEraseContents(wxDC dc)"""
3550 return _ogl.PyTextShape_base_OnEraseContents(*args, **kwargs)
3551
3552 def base_OnHighlight(*args, **kwargs):
3553 """base_OnHighlight(wxDC dc)"""
3554 return _ogl.PyTextShape_base_OnHighlight(*args, **kwargs)
3555
3556 def base_OnLeftClick(*args, **kwargs):
3557 """base_OnLeftClick(double x, double y, int keys=0, int attachment=0)"""
3558 return _ogl.PyTextShape_base_OnLeftClick(*args, **kwargs)
3559
3560 def base_OnLeftDoubleClick(*args, **kwargs):
3561 """base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)"""
3562 return _ogl.PyTextShape_base_OnLeftDoubleClick(*args, **kwargs)
3563
3564 def base_OnRightClick(*args, **kwargs):
3565 """base_OnRightClick(double x, double y, int keys=0, int attachment=0)"""
3566 return _ogl.PyTextShape_base_OnRightClick(*args, **kwargs)
3567
3568 def base_OnSize(*args, **kwargs):
3569 """base_OnSize(double x, double y)"""
3570 return _ogl.PyTextShape_base_OnSize(*args, **kwargs)
3571
3572 def base_OnMovePre(*args, **kwargs):
3573 """
3574 base_OnMovePre(wxDC dc, double x, double y, double old_x, double old_y,
3575 bool display=True) -> bool
3576 """
3577 return _ogl.PyTextShape_base_OnMovePre(*args, **kwargs)
3578
3579 def base_OnMovePost(*args, **kwargs):
3580 """
3581 base_OnMovePost(wxDC dc, double x, double y, double old_x, double old_y,
3582 bool display=True)
3583 """
3584 return _ogl.PyTextShape_base_OnMovePost(*args, **kwargs)
3585
3586 def base_OnDragLeft(*args, **kwargs):
3587 """base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)"""
3588 return _ogl.PyTextShape_base_OnDragLeft(*args, **kwargs)
3589
3590 def base_OnBeginDragLeft(*args, **kwargs):
3591 """base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)"""
3592 return _ogl.PyTextShape_base_OnBeginDragLeft(*args, **kwargs)
3593
3594 def base_OnEndDragLeft(*args, **kwargs):
3595 """base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)"""
3596 return _ogl.PyTextShape_base_OnEndDragLeft(*args, **kwargs)
3597
3598 def base_OnDragRight(*args, **kwargs):
3599 """base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)"""
3600 return _ogl.PyTextShape_base_OnDragRight(*args, **kwargs)
3601
3602 def base_OnBeginDragRight(*args, **kwargs):
3603 """base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)"""
3604 return _ogl.PyTextShape_base_OnBeginDragRight(*args, **kwargs)
3605
3606 def base_OnEndDragRight(*args, **kwargs):
3607 """base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)"""
3608 return _ogl.PyTextShape_base_OnEndDragRight(*args, **kwargs)
3609
3610 def base_OnDrawOutline(*args, **kwargs):
3611 """base_OnDrawOutline(wxDC dc, double x, double y, double w, double h)"""
3612 return _ogl.PyTextShape_base_OnDrawOutline(*args, **kwargs)
3613
3614 def base_OnDrawControlPoints(*args, **kwargs):
3615 """base_OnDrawControlPoints(wxDC dc)"""
3616 return _ogl.PyTextShape_base_OnDrawControlPoints(*args, **kwargs)
3617
3618 def base_OnEraseControlPoints(*args, **kwargs):
3619 """base_OnEraseControlPoints(wxDC dc)"""
3620 return _ogl.PyTextShape_base_OnEraseControlPoints(*args, **kwargs)
3621
3622 def base_OnMoveLink(*args, **kwargs):
3623 """base_OnMoveLink(wxDC dc, bool moveControlPoints=True)"""
3624 return _ogl.PyTextShape_base_OnMoveLink(*args, **kwargs)
3625
3626 def base_OnSizingDragLeft(*args, **kwargs):
3627 """
3628 base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0,
3629 int attachment=0)
3630 """
3631 return _ogl.PyTextShape_base_OnSizingDragLeft(*args, **kwargs)
3632
3633 def base_OnSizingBeginDragLeft(*args, **kwargs):
3634 """
3635 base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3636 int attachment=0)
3637 """
3638 return _ogl.PyTextShape_base_OnSizingBeginDragLeft(*args, **kwargs)
3639
3640 def base_OnSizingEndDragLeft(*args, **kwargs):
3641 """
3642 base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0,
3643 int attachment=0)
3644 """
3645 return _ogl.PyTextShape_base_OnSizingEndDragLeft(*args, **kwargs)
3646
3647 def base_OnBeginSize(*args, **kwargs):
3648 """base_OnBeginSize(double w, double h)"""
3649 return _ogl.PyTextShape_base_OnBeginSize(*args, **kwargs)
3650
3651 def base_OnEndSize(*args, **kwargs):
3652 """base_OnEndSize(double w, double h)"""
3653 return _ogl.PyTextShape_base_OnEndSize(*args, **kwargs)
3654
3655
3656 class PyTextShapePtr(PyTextShape):
3657 def __init__(self, this):
3658 self.this = this
3659 if not hasattr(self,"thisown"): self.thisown = 0
3660 self.__class__ = PyTextShape
3661 _ogl.PyTextShape_swigregister(PyTextShapePtr)
3662
3663 class Diagram(core.Object):
3664 def __repr__(self):
3665 return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3666 def __init__(self, *args, **kwargs):
3667 """__init__() -> Diagram"""
3668 newobj = _ogl.new_Diagram(*args, **kwargs)
3669 self.this = newobj.this
3670 self.thisown = 1
3671 del newobj.thisown
3672 def AddShape(*args, **kwargs):
3673 """AddShape(PyShape shape, PyShape addAfter=None)"""
3674 return _ogl.Diagram_AddShape(*args, **kwargs)
3675
3676 def Clear(*args, **kwargs):
3677 """Clear(wxDC dc)"""
3678 return _ogl.Diagram_Clear(*args, **kwargs)
3679
3680 def DeleteAllShapes(*args, **kwargs):
3681 """DeleteAllShapes()"""
3682 return _ogl.Diagram_DeleteAllShapes(*args, **kwargs)
3683
3684 def DrawOutline(*args, **kwargs):
3685 """DrawOutline(wxDC dc, double x1, double y1, double x2, double y2)"""
3686 return _ogl.Diagram_DrawOutline(*args, **kwargs)
3687
3688 def FindShape(*args, **kwargs):
3689 """FindShape(long id) -> PyShape"""
3690 return _ogl.Diagram_FindShape(*args, **kwargs)
3691
3692 def GetCanvas(*args, **kwargs):
3693 """GetCanvas() -> PyShapeCanvas"""
3694 return _ogl.Diagram_GetCanvas(*args, **kwargs)
3695
3696 def GetCount(*args, **kwargs):
3697 """GetCount() -> int"""
3698 return _ogl.Diagram_GetCount(*args, **kwargs)
3699
3700 def GetGridSpacing(*args, **kwargs):
3701 """GetGridSpacing() -> double"""
3702 return _ogl.Diagram_GetGridSpacing(*args, **kwargs)
3703
3704 def GetMouseTolerance(*args, **kwargs):
3705 """GetMouseTolerance() -> int"""
3706 return _ogl.Diagram_GetMouseTolerance(*args, **kwargs)
3707
3708 def GetShapeList(*args, **kwargs):
3709 """GetShapeList() -> PyObject"""
3710 return _ogl.Diagram_GetShapeList(*args, **kwargs)
3711
3712 def GetQuickEditMode(*args, **kwargs):
3713 """GetQuickEditMode() -> bool"""
3714 return _ogl.Diagram_GetQuickEditMode(*args, **kwargs)
3715
3716 def GetSnapToGrid(*args, **kwargs):
3717 """GetSnapToGrid() -> bool"""
3718 return _ogl.Diagram_GetSnapToGrid(*args, **kwargs)
3719
3720 def InsertShape(*args, **kwargs):
3721 """InsertShape(PyShape shape)"""
3722 return _ogl.Diagram_InsertShape(*args, **kwargs)
3723
3724 def RecentreAll(*args, **kwargs):
3725 """RecentreAll(wxDC dc)"""
3726 return _ogl.Diagram_RecentreAll(*args, **kwargs)
3727
3728 def Redraw(*args, **kwargs):
3729 """Redraw(wxDC dc)"""
3730 return _ogl.Diagram_Redraw(*args, **kwargs)
3731
3732 def RemoveAllShapes(*args, **kwargs):
3733 """RemoveAllShapes()"""
3734 return _ogl.Diagram_RemoveAllShapes(*args, **kwargs)
3735
3736 def RemoveShape(*args, **kwargs):
3737 """RemoveShape(PyShape shape)"""
3738 return _ogl.Diagram_RemoveShape(*args, **kwargs)
3739
3740 def SetCanvas(*args, **kwargs):
3741 """SetCanvas(PyShapeCanvas canvas)"""
3742 return _ogl.Diagram_SetCanvas(*args, **kwargs)
3743
3744 def SetGridSpacing(*args, **kwargs):
3745 """SetGridSpacing(double spacing)"""
3746 return _ogl.Diagram_SetGridSpacing(*args, **kwargs)
3747
3748 def SetMouseTolerance(*args, **kwargs):
3749 """SetMouseTolerance(int tolerance)"""
3750 return _ogl.Diagram_SetMouseTolerance(*args, **kwargs)
3751
3752 def SetQuickEditMode(*args, **kwargs):
3753 """SetQuickEditMode(bool mode)"""
3754 return _ogl.Diagram_SetQuickEditMode(*args, **kwargs)
3755
3756 def SetSnapToGrid(*args, **kwargs):
3757 """SetSnapToGrid(bool snap)"""
3758 return _ogl.Diagram_SetSnapToGrid(*args, **kwargs)
3759
3760 def ShowAll(*args, **kwargs):
3761 """ShowAll(bool show)"""
3762 return _ogl.Diagram_ShowAll(*args, **kwargs)
3763
3764 def Snap(*args, **kwargs):
3765 """Snap(double INOUT, double INOUT)"""
3766 return _ogl.Diagram_Snap(*args, **kwargs)
3767
3768
3769 class DiagramPtr(Diagram):
3770 def __init__(self, this):
3771 self.this = this
3772 if not hasattr(self,"thisown"): self.thisown = 0
3773 self.__class__ = Diagram
3774 _ogl.Diagram_swigregister(DiagramPtr)
3775
3776 class PyShapeCanvas(windows.ScrolledWindow):
3777 def __repr__(self):
3778 return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
3779 def __init__(self, *args, **kwargs):
3780 """
3781 __init__(Window parent=None, int id=-1, Point pos=DefaultPosition,
3782 Size size=DefaultSize, long style=BORDER,
3783 wxString name=wxPyShapeCanvasNameStr) -> PyShapeCanvas
3784 """
3785 newobj = _ogl.new_PyShapeCanvas(*args, **kwargs)
3786 self.this = newobj.this
3787 self.thisown = 1
3788 del newobj.thisown
3789 def _setCallbackInfo(*args, **kwargs):
3790 """_setCallbackInfo(PyObject self, PyObject _class)"""
3791 return _ogl.PyShapeCanvas__setCallbackInfo(*args, **kwargs)
3792
3793 def _setOORandCallbackInfo(self, _class):
3794 self._setOORInfo(self)
3795 self._setCallbackInfo(self, _class)
3796
3797 def AddShape(*args, **kwargs):
3798 """AddShape(PyShape shape, PyShape addAfter=None)"""
3799 return _ogl.PyShapeCanvas_AddShape(*args, **kwargs)
3800
3801 def FindShape(*args, **kwargs):
3802 """
3803 FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None,
3804 PyShape notImage=None) -> PyShape
3805 """
3806 return _ogl.PyShapeCanvas_FindShape(*args, **kwargs)
3807
3808 def FindFirstSensitiveShape(*args, **kwargs):
3809 """FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -> PyShape"""
3810 return _ogl.PyShapeCanvas_FindFirstSensitiveShape(*args, **kwargs)
3811
3812 def GetDiagram(*args, **kwargs):
3813 """GetDiagram() -> Diagram"""
3814 return _ogl.PyShapeCanvas_GetDiagram(*args, **kwargs)
3815
3816 def GetQuickEditMode(*args, **kwargs):
3817 """GetQuickEditMode() -> bool"""
3818 return _ogl.PyShapeCanvas_GetQuickEditMode(*args, **kwargs)
3819
3820 def InsertShape(*args, **kwargs):
3821 """InsertShape(PyShape shape)"""
3822 return _ogl.PyShapeCanvas_InsertShape(*args, **kwargs)
3823
3824 def base_OnBeginDragLeft(*args, **kwargs):
3825 """base_OnBeginDragLeft(double x, double y, int keys=0)"""
3826 return _ogl.PyShapeCanvas_base_OnBeginDragLeft(*args, **kwargs)
3827
3828 def base_OnBeginDragRight(*args, **kwargs):
3829 """base_OnBeginDragRight(double x, double y, int keys=0)"""
3830 return _ogl.PyShapeCanvas_base_OnBeginDragRight(*args, **kwargs)
3831
3832 def base_OnEndDragLeft(*args, **kwargs):
3833 """base_OnEndDragLeft(double x, double y, int keys=0)"""
3834 return _ogl.PyShapeCanvas_base_OnEndDragLeft(*args, **kwargs)
3835
3836 def base_OnEndDragRight(*args, **kwargs):
3837 """base_OnEndDragRight(double x, double y, int keys=0)"""
3838 return _ogl.PyShapeCanvas_base_OnEndDragRight(*args, **kwargs)
3839
3840 def base_OnDragLeft(*args, **kwargs):
3841 """base_OnDragLeft(bool draw, double x, double y, int keys=0)"""
3842 return _ogl.PyShapeCanvas_base_OnDragLeft(*args, **kwargs)
3843
3844 def base_OnDragRight(*args, **kwargs):
3845 """base_OnDragRight(bool draw, double x, double y, int keys=0)"""
3846 return _ogl.PyShapeCanvas_base_OnDragRight(*args, **kwargs)
3847
3848 def base_OnLeftClick(*args, **kwargs):
3849 """base_OnLeftClick(double x, double y, int keys=0)"""
3850 return _ogl.PyShapeCanvas_base_OnLeftClick(*args, **kwargs)
3851
3852 def base_OnRightClick(*args, **kwargs):
3853 """base_OnRightClick(double x, double y, int keys=0)"""
3854 return _ogl.PyShapeCanvas_base_OnRightClick(*args, **kwargs)
3855
3856 def Redraw(*args, **kwargs):
3857 """Redraw(wxDC dc)"""
3858 return _ogl.PyShapeCanvas_Redraw(*args, **kwargs)
3859
3860 def RemoveShape(*args, **kwargs):
3861 """RemoveShape(PyShape shape)"""
3862 return _ogl.PyShapeCanvas_RemoveShape(*args, **kwargs)
3863
3864 def SetDiagram(*args, **kwargs):
3865 """SetDiagram(Diagram diagram)"""
3866 return _ogl.PyShapeCanvas_SetDiagram(*args, **kwargs)
3867
3868 def Snap(*args, **kwargs):
3869 """Snap(double INOUT, double INOUT)"""
3870 return _ogl.PyShapeCanvas_Snap(*args, **kwargs)
3871
3872 def GetShapeList(self):
3873 return self.GetDiagram().GetShapeList()
3874
3875
3876 class PyShapeCanvasPtr(PyShapeCanvas):
3877 def __init__(self, this):
3878 self.this = this
3879 if not hasattr(self,"thisown"): self.thisown = 0
3880 self.__class__ = PyShapeCanvas
3881 _ogl.PyShapeCanvas_swigregister(PyShapeCanvasPtr)
3882
3883 # Aliases
3884 ShapeCanvas = PyShapeCanvas
3885 ShapeEvtHandler = PyShapeEvtHandler
3886 Shape = PyShape
3887 RectangleShape = PyRectangleShape
3888 BitmapShape = PyBitmapShape
3889 DrawnShape = PyDrawnShape
3890 CompositeShape = PyCompositeShape
3891 DividedShape = PyDividedShape
3892 DivisionShape = PyDivisionShape
3893 EllipseShape = PyEllipseShape
3894 CircleShape = PyCircleShape
3895 LineShape = PyLineShape
3896 PolygonShape = PyPolygonShape
3897 TextShape = PyTextShape
3898 ControlPoint = PyControlPoint
3899
3900 KEY_SHIFT = _ogl.KEY_SHIFT
3901 KEY_CTRL = _ogl.KEY_CTRL
3902 ARROW_NONE = _ogl.ARROW_NONE
3903 ARROW_END = _ogl.ARROW_END
3904 ARROW_BOTH = _ogl.ARROW_BOTH
3905 ARROW_MIDDLE = _ogl.ARROW_MIDDLE
3906 ARROW_START = _ogl.ARROW_START
3907 ARROW_HOLLOW_CIRCLE = _ogl.ARROW_HOLLOW_CIRCLE
3908 ARROW_FILLED_CIRCLE = _ogl.ARROW_FILLED_CIRCLE
3909 ARROW_ARROW = _ogl.ARROW_ARROW
3910 ARROW_SINGLE_OBLIQUE = _ogl.ARROW_SINGLE_OBLIQUE
3911 ARROW_DOUBLE_OBLIQUE = _ogl.ARROW_DOUBLE_OBLIQUE
3912 ARROW_METAFILE = _ogl.ARROW_METAFILE
3913 ARROW_POSITION_END = _ogl.ARROW_POSITION_END
3914 ARROW_POSITION_START = _ogl.ARROW_POSITION_START
3915 CONTROL_POINT_VERTICAL = _ogl.CONTROL_POINT_VERTICAL
3916 CONTROL_POINT_HORIZONTAL = _ogl.CONTROL_POINT_HORIZONTAL
3917 CONTROL_POINT_DIAGONAL = _ogl.CONTROL_POINT_DIAGONAL
3918 CONTROL_POINT_ENDPOINT_TO = _ogl.CONTROL_POINT_ENDPOINT_TO
3919 CONTROL_POINT_ENDPOINT_FROM = _ogl.CONTROL_POINT_ENDPOINT_FROM
3920 CONTROL_POINT_LINE = _ogl.CONTROL_POINT_LINE
3921 FORMAT_NONE = _ogl.FORMAT_NONE
3922 FORMAT_CENTRE_HORIZ = _ogl.FORMAT_CENTRE_HORIZ
3923 FORMAT_CENTRE_VERT = _ogl.FORMAT_CENTRE_VERT
3924 FORMAT_SIZE_TO_CONTENTS = _ogl.FORMAT_SIZE_TO_CONTENTS
3925 LINE_ALIGNMENT_HORIZ = _ogl.LINE_ALIGNMENT_HORIZ
3926 LINE_ALIGNMENT_VERT = _ogl.LINE_ALIGNMENT_VERT
3927 LINE_ALIGNMENT_TO_NEXT_HANDLE = _ogl.LINE_ALIGNMENT_TO_NEXT_HANDLE
3928 LINE_ALIGNMENT_NONE = _ogl.LINE_ALIGNMENT_NONE
3929 SHADOW_NONE = _ogl.SHADOW_NONE
3930 SHADOW_LEFT = _ogl.SHADOW_LEFT
3931 SHADOW_RIGHT = _ogl.SHADOW_RIGHT
3932 OP_CLICK_LEFT = _ogl.OP_CLICK_LEFT
3933 OP_CLICK_RIGHT = _ogl.OP_CLICK_RIGHT
3934 OP_DRAG_LEFT = _ogl.OP_DRAG_LEFT
3935 OP_DRAG_RIGHT = _ogl.OP_DRAG_RIGHT
3936 OP_ALL = _ogl.OP_ALL
3937 ATTACHMENT_MODE_NONE = _ogl.ATTACHMENT_MODE_NONE
3938 ATTACHMENT_MODE_EDGE = _ogl.ATTACHMENT_MODE_EDGE
3939 ATTACHMENT_MODE_BRANCHING = _ogl.ATTACHMENT_MODE_BRANCHING
3940 BRANCHING_ATTACHMENT_NORMAL = _ogl.BRANCHING_ATTACHMENT_NORMAL
3941 BRANCHING_ATTACHMENT_BLOB = _ogl.BRANCHING_ATTACHMENT_BLOB
3942 gyCONSTRAINT_CENTRED_VERTICALLY = _ogl.gyCONSTRAINT_CENTRED_VERTICALLY
3943 gyCONSTRAINT_CENTRED_HORIZONTALLY = _ogl.gyCONSTRAINT_CENTRED_HORIZONTALLY
3944 gyCONSTRAINT_CENTRED_BOTH = _ogl.gyCONSTRAINT_CENTRED_BOTH
3945 gyCONSTRAINT_LEFT_OF = _ogl.gyCONSTRAINT_LEFT_OF
3946 gyCONSTRAINT_RIGHT_OF = _ogl.gyCONSTRAINT_RIGHT_OF
3947 gyCONSTRAINT_ABOVE = _ogl.gyCONSTRAINT_ABOVE
3948 gyCONSTRAINT_BELOW = _ogl.gyCONSTRAINT_BELOW
3949 gyCONSTRAINT_ALIGNED_TOP = _ogl.gyCONSTRAINT_ALIGNED_TOP
3950 gyCONSTRAINT_ALIGNED_BOTTOM = _ogl.gyCONSTRAINT_ALIGNED_BOTTOM
3951 gyCONSTRAINT_ALIGNED_LEFT = _ogl.gyCONSTRAINT_ALIGNED_LEFT
3952 gyCONSTRAINT_ALIGNED_RIGHT = _ogl.gyCONSTRAINT_ALIGNED_RIGHT
3953 gyCONSTRAINT_MIDALIGNED_TOP = _ogl.gyCONSTRAINT_MIDALIGNED_TOP
3954 gyCONSTRAINT_MIDALIGNED_BOTTOM = _ogl.gyCONSTRAINT_MIDALIGNED_BOTTOM
3955 gyCONSTRAINT_MIDALIGNED_LEFT = _ogl.gyCONSTRAINT_MIDALIGNED_LEFT
3956 gyCONSTRAINT_MIDALIGNED_RIGHT = _ogl.gyCONSTRAINT_MIDALIGNED_RIGHT
3957 DIVISION_SIDE_NONE = _ogl.DIVISION_SIDE_NONE
3958 DIVISION_SIDE_LEFT = _ogl.DIVISION_SIDE_LEFT
3959 DIVISION_SIDE_TOP = _ogl.DIVISION_SIDE_TOP
3960 DIVISION_SIDE_RIGHT = _ogl.DIVISION_SIDE_RIGHT
3961 DIVISION_SIDE_BOTTOM = _ogl.DIVISION_SIDE_BOTTOM
3962
3963 def OGLInitialize(*args, **kwargs):
3964 """OGLInitialize()"""
3965 return _ogl.OGLInitialize(*args, **kwargs)
3966
3967 def OGLCleanUp(*args, **kwargs):
3968 """OGLCleanUp()"""
3969 return _ogl.OGLCleanUp(*args, **kwargs)
3970