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