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