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