]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/contrib/ogl/oglbasic.py
Changes for wxOGL since wxFatalError has been deprecated.
[wxWidgets.git] / wxPython / contrib / ogl / oglbasic.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import oglbasicc
3
4from misc import *
5
6from misc2 import *
7
8from windows import *
9
10from gdi import *
11
12from clip_dnd import *
13
14from events import *
15
16from streams import *
17
18from utils import *
19
20from mdi import *
21
22from frames import *
23
24from stattool import *
25
26from controls import *
27
28from controls2 import *
29
30from windows2 import *
31
32from cmndlgs import *
33
34from windows3 import *
35
36from image import *
37
38from printfw import *
39
40from sizers import *
41
42from filesys import *
43import wx
44from oglcanvas import wxPyShapeCanvasPtr
45class wxShapeRegionPtr(wxObjectPtr):
46 def __init__(self,this):
47 self.this = this
48 self.thisown = 0
49 def SetText(self, *_args, **_kwargs):
50 val = apply(oglbasicc.wxShapeRegion_SetText,(self,) + _args, _kwargs)
51 return val
52 def SetFont(self, *_args, **_kwargs):
53 val = apply(oglbasicc.wxShapeRegion_SetFont,(self,) + _args, _kwargs)
54 return val
55 def SetMinSize(self, *_args, **_kwargs):
56 val = apply(oglbasicc.wxShapeRegion_SetMinSize,(self,) + _args, _kwargs)
57 return val
58 def SetSize(self, *_args, **_kwargs):
59 val = apply(oglbasicc.wxShapeRegion_SetSize,(self,) + _args, _kwargs)
60 return val
61 def SetPosition(self, *_args, **_kwargs):
62 val = apply(oglbasicc.wxShapeRegion_SetPosition,(self,) + _args, _kwargs)
63 return val
64 def SetProportions(self, *_args, **_kwargs):
65 val = apply(oglbasicc.wxShapeRegion_SetProportions,(self,) + _args, _kwargs)
66 return val
67 def SetFormatMode(self, *_args, **_kwargs):
68 val = apply(oglbasicc.wxShapeRegion_SetFormatMode,(self,) + _args, _kwargs)
69 return val
70 def SetName(self, *_args, **_kwargs):
71 val = apply(oglbasicc.wxShapeRegion_SetName,(self,) + _args, _kwargs)
72 return val
73 def SetColour(self, *_args, **_kwargs):
74 val = apply(oglbasicc.wxShapeRegion_SetColour,(self,) + _args, _kwargs)
75 return val
76 def GetText(self, *_args, **_kwargs):
77 val = apply(oglbasicc.wxShapeRegion_GetText,(self,) + _args, _kwargs)
78 return val
79 def GetFont(self, *_args, **_kwargs):
80 val = apply(oglbasicc.wxShapeRegion_GetFont,(self,) + _args, _kwargs)
81 if val: val = wxFontPtr(val)
82 return val
83 def GetMinSize(self, *_args, **_kwargs):
84 val = apply(oglbasicc.wxShapeRegion_GetMinSize,(self,) + _args, _kwargs)
85 return val
86 def GetProportion(self, *_args, **_kwargs):
87 val = apply(oglbasicc.wxShapeRegion_GetProportion,(self,) + _args, _kwargs)
88 return val
89 def GetSize(self, *_args, **_kwargs):
90 val = apply(oglbasicc.wxShapeRegion_GetSize,(self,) + _args, _kwargs)
91 return val
92 def GetPosition(self, *_args, **_kwargs):
93 val = apply(oglbasicc.wxShapeRegion_GetPosition,(self,) + _args, _kwargs)
94 return val
95 def GetFormatMode(self, *_args, **_kwargs):
96 val = apply(oglbasicc.wxShapeRegion_GetFormatMode,(self,) + _args, _kwargs)
97 return val
98 def GetName(self, *_args, **_kwargs):
99 val = apply(oglbasicc.wxShapeRegion_GetName,(self,) + _args, _kwargs)
100 return val
101 def GetColour(self, *_args, **_kwargs):
102 val = apply(oglbasicc.wxShapeRegion_GetColour,(self,) + _args, _kwargs)
103 return val
104 def GetActualColourObject(self, *_args, **_kwargs):
105 val = apply(oglbasicc.wxShapeRegion_GetActualColourObject,(self,) + _args, _kwargs)
106 if val: val = wxColourPtr(val)
107 return val
108 def GetFormattedText(self, *_args, **_kwargs):
109 val = apply(oglbasicc.wxShapeRegion_GetFormattedText,(self,) + _args, _kwargs)
110 return val
111 def GetPenColour(self, *_args, **_kwargs):
112 val = apply(oglbasicc.wxShapeRegion_GetPenColour,(self,) + _args, _kwargs)
113 return val
114 def GetPenStyle(self, *_args, **_kwargs):
115 val = apply(oglbasicc.wxShapeRegion_GetPenStyle,(self,) + _args, _kwargs)
116 return val
117 def SetPenStyle(self, *_args, **_kwargs):
118 val = apply(oglbasicc.wxShapeRegion_SetPenStyle,(self,) + _args, _kwargs)
119 return val
120 def SetPenColour(self, *_args, **_kwargs):
121 val = apply(oglbasicc.wxShapeRegion_SetPenColour,(self,) + _args, _kwargs)
122 return val
123 def GetActualPen(self, *_args, **_kwargs):
124 val = apply(oglbasicc.wxShapeRegion_GetActualPen,(self,) + _args, _kwargs)
125 if val: val = wxPenPtr(val)
126 return val
127 def GetWidth(self, *_args, **_kwargs):
128 val = apply(oglbasicc.wxShapeRegion_GetWidth,(self,) + _args, _kwargs)
129 return val
130 def GetHeight(self, *_args, **_kwargs):
131 val = apply(oglbasicc.wxShapeRegion_GetHeight,(self,) + _args, _kwargs)
132 return val
133 def ClearText(self, *_args, **_kwargs):
134 val = apply(oglbasicc.wxShapeRegion_ClearText,(self,) + _args, _kwargs)
135 return val
136 def __repr__(self):
137 return "<C wxShapeRegion instance at %s>" % (self.this,)
138class wxShapeRegion(wxShapeRegionPtr):
139 def __init__(self,*_args,**_kwargs):
140 self.this = apply(oglbasicc.new_wxShapeRegion,_args,_kwargs)
141 self.thisown = 1
142
143
144
145
146class wxPyShapeEvtHandlerPtr(wxObjectPtr):
147 def __init__(self,this):
148 self.this = this
149 self.thisown = 0
150 def _setCallbackInfo(self, *_args, **_kwargs):
151 val = apply(oglbasicc.wxPyShapeEvtHandler__setCallbackInfo,(self,) + _args, _kwargs)
152 return val
153 def Destroy(self, *_args, **_kwargs):
154 val = apply(oglbasicc.wxPyShapeEvtHandler_Destroy,(self,) + _args, _kwargs)
155 return val
156 def _setOORInfo(self, *_args, **_kwargs):
157 val = apply(oglbasicc.wxPyShapeEvtHandler__setOORInfo,(self,) + _args, _kwargs)
158 return val
159 def SetShape(self, *_args, **_kwargs):
160 val = apply(oglbasicc.wxPyShapeEvtHandler_SetShape,(self,) + _args, _kwargs)
161 return val
162 def GetShape(self, *_args, **_kwargs):
163 val = apply(oglbasicc.wxPyShapeEvtHandler_GetShape,(self,) + _args, _kwargs)
164 return val
165 def SetPreviousHandler(self, *_args, **_kwargs):
166 val = apply(oglbasicc.wxPyShapeEvtHandler_SetPreviousHandler,(self,) + _args, _kwargs)
167 return val
168 def GetPreviousHandler(self, *_args, **_kwargs):
169 val = apply(oglbasicc.wxPyShapeEvtHandler_GetPreviousHandler,(self,) + _args, _kwargs)
170 return val
171 def CreateNewCopy(self, *_args, **_kwargs):
172 val = apply(oglbasicc.wxPyShapeEvtHandler_CreateNewCopy,(self,) + _args, _kwargs)
173 return val
174 def base_OnDelete(self, *_args, **_kwargs):
175 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDelete,(self,) + _args, _kwargs)
176 return val
177 def base_OnDraw(self, *_args, **_kwargs):
178 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDraw,(self,) + _args, _kwargs)
179 return val
180 def base_OnDrawContents(self, *_args, **_kwargs):
181 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawContents,(self,) + _args, _kwargs)
182 return val
183 def base_OnDrawBranches(self, *_args, **_kwargs):
184 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawBranches,(self,) + _args, _kwargs)
185 return val
186 def base_OnMoveLinks(self, *_args, **_kwargs):
187 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMoveLinks,(self,) + _args, _kwargs)
188 return val
189 def base_OnErase(self, *_args, **_kwargs):
190 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnErase,(self,) + _args, _kwargs)
191 return val
192 def base_OnEraseContents(self, *_args, **_kwargs):
193 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEraseContents,(self,) + _args, _kwargs)
194 return val
195 def base_OnHighlight(self, *_args, **_kwargs):
196 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnHighlight,(self,) + _args, _kwargs)
197 return val
198 def base_OnLeftClick(self, *_args, **_kwargs):
199 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnLeftClick,(self,) + _args, _kwargs)
200 return val
201 def base_OnLeftDoubleClick(self, *_args, **_kwargs):
202 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
203 return val
204 def base_OnRightClick(self, *_args, **_kwargs):
205 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnRightClick,(self,) + _args, _kwargs)
206 return val
207 def base_OnSize(self, *_args, **_kwargs):
208 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSize,(self,) + _args, _kwargs)
209 return val
210 def base_OnMovePre(self, *_args, **_kwargs):
211 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMovePre,(self,) + _args, _kwargs)
212 return val
213 def base_OnMovePost(self, *_args, **_kwargs):
214 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMovePost,(self,) + _args, _kwargs)
215 return val
216 def base_OnDragLeft(self, *_args, **_kwargs):
217 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDragLeft,(self,) + _args, _kwargs)
218 return val
219 def base_OnBeginDragLeft(self, *_args, **_kwargs):
220 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnBeginDragLeft,(self,) + _args, _kwargs)
221 return val
222 def base_OnEndDragLeft(self, *_args, **_kwargs):
223 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEndDragLeft,(self,) + _args, _kwargs)
224 return val
225 def base_OnDragRight(self, *_args, **_kwargs):
226 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDragRight,(self,) + _args, _kwargs)
227 return val
228 def base_OnBeginDragRight(self, *_args, **_kwargs):
229 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnBeginDragRight,(self,) + _args, _kwargs)
230 return val
231 def base_OnEndDragRight(self, *_args, **_kwargs):
232 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEndDragRight,(self,) + _args, _kwargs)
233 return val
234 def base_OnDrawOutline(self, *_args, **_kwargs):
235 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawOutline,(self,) + _args, _kwargs)
236 return val
237 def base_OnDrawControlPoints(self, *_args, **_kwargs):
238 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawControlPoints,(self,) + _args, _kwargs)
239 return val
240 def base_OnEraseControlPoints(self, *_args, **_kwargs):
241 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEraseControlPoints,(self,) + _args, _kwargs)
242 return val
243 def base_OnMoveLink(self, *_args, **_kwargs):
244 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMoveLink,(self,) + _args, _kwargs)
245 return val
246 def base_OnSizingDragLeft(self, *_args, **_kwargs):
247 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSizingDragLeft,(self,) + _args, _kwargs)
248 return val
249 def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
250 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
251 return val
252 def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
253 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
254 return val
255 def base_OnBeginSize(self, *_args, **_kwargs):
256 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnBeginSize,(self,) + _args, _kwargs)
257 return val
258 def base_OnEndSize(self, *_args, **_kwargs):
259 val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEndSize,(self,) + _args, _kwargs)
260 return val
261 def __repr__(self):
262 return "<C wxPyShapeEvtHandler instance at %s>" % (self.this,)
263class wxPyShapeEvtHandler(wxPyShapeEvtHandlerPtr):
264 def __init__(self,*_args,**_kwargs):
265 self.this = apply(oglbasicc.new_wxPyShapeEvtHandler,_args,_kwargs)
266 self.thisown = 1
267 self._setCallbackInfo(self, wxPyShapeEvtHandler)
268 self._setOORInfo(self)
269
270
271
272
273class wxPyShapePtr(wxPyShapeEvtHandlerPtr):
274 def __init__(self,this):
275 self.this = this
276 self.thisown = 0
277 def _setCallbackInfo(self, *_args, **_kwargs):
278 val = apply(oglbasicc.wxPyShape__setCallbackInfo,(self,) + _args, _kwargs)
279 return val
280 def GetBoundingBoxMax(self, *_args, **_kwargs):
281 val = apply(oglbasicc.wxPyShape_GetBoundingBoxMax,(self,) + _args, _kwargs)
282 return val
283 def GetBoundingBoxMin(self, *_args, **_kwargs):
284 val = apply(oglbasicc.wxPyShape_GetBoundingBoxMin,(self,) + _args, _kwargs)
285 return val
286 def GetPerimeterPoint(self, *_args, **_kwargs):
287 val = apply(oglbasicc.wxPyShape_GetPerimeterPoint,(self,) + _args, _kwargs)
288 return val
289 def GetCanvas(self, *_args, **_kwargs):
290 val = apply(oglbasicc.wxPyShape_GetCanvas,(self,) + _args, _kwargs)
291 return val
292 def SetCanvas(self, *_args, **_kwargs):
293 val = apply(oglbasicc.wxPyShape_SetCanvas,(self,) + _args, _kwargs)
294 return val
295 def AddToCanvas(self, *_args, **_kwargs):
296 val = apply(oglbasicc.wxPyShape_AddToCanvas,(self,) + _args, _kwargs)
297 return val
298 def InsertInCanvas(self, *_args, **_kwargs):
299 val = apply(oglbasicc.wxPyShape_InsertInCanvas,(self,) + _args, _kwargs)
300 return val
301 def RemoveFromCanvas(self, *_args, **_kwargs):
302 val = apply(oglbasicc.wxPyShape_RemoveFromCanvas,(self,) + _args, _kwargs)
303 return val
304 def GetX(self, *_args, **_kwargs):
305 val = apply(oglbasicc.wxPyShape_GetX,(self,) + _args, _kwargs)
306 return val
307 def GetY(self, *_args, **_kwargs):
308 val = apply(oglbasicc.wxPyShape_GetY,(self,) + _args, _kwargs)
309 return val
310 def SetX(self, *_args, **_kwargs):
311 val = apply(oglbasicc.wxPyShape_SetX,(self,) + _args, _kwargs)
312 return val
313 def SetY(self, *_args, **_kwargs):
314 val = apply(oglbasicc.wxPyShape_SetY,(self,) + _args, _kwargs)
315 return val
316 def GetParent(self, *_args, **_kwargs):
317 val = apply(oglbasicc.wxPyShape_GetParent,(self,) + _args, _kwargs)
318 return val
319 def SetParent(self, *_args, **_kwargs):
320 val = apply(oglbasicc.wxPyShape_SetParent,(self,) + _args, _kwargs)
321 return val
322 def GetTopAncestor(self, *_args, **_kwargs):
323 val = apply(oglbasicc.wxPyShape_GetTopAncestor,(self,) + _args, _kwargs)
324 return val
325 def GetChildren(self, *_args, **_kwargs):
326 val = apply(oglbasicc.wxPyShape_GetChildren,(self,) + _args, _kwargs)
327 return val
328 def Unlink(self, *_args, **_kwargs):
329 val = apply(oglbasicc.wxPyShape_Unlink,(self,) + _args, _kwargs)
330 return val
331 def SetDrawHandles(self, *_args, **_kwargs):
332 val = apply(oglbasicc.wxPyShape_SetDrawHandles,(self,) + _args, _kwargs)
333 return val
334 def GetDrawHandles(self, *_args, **_kwargs):
335 val = apply(oglbasicc.wxPyShape_GetDrawHandles,(self,) + _args, _kwargs)
336 return val
337 def MakeControlPoints(self, *_args, **_kwargs):
338 val = apply(oglbasicc.wxPyShape_MakeControlPoints,(self,) + _args, _kwargs)
339 return val
340 def DeleteControlPoints(self, *_args, **_kwargs):
341 val = apply(oglbasicc.wxPyShape_DeleteControlPoints,(self,) + _args, _kwargs)
342 return val
343 def ResetControlPoints(self, *_args, **_kwargs):
344 val = apply(oglbasicc.wxPyShape_ResetControlPoints,(self,) + _args, _kwargs)
345 return val
346 def GetEventHandler(self, *_args, **_kwargs):
347 val = apply(oglbasicc.wxPyShape_GetEventHandler,(self,) + _args, _kwargs)
348 return val
349 def SetEventHandler(self, *_args, **_kwargs):
350 val = apply(oglbasicc.wxPyShape_SetEventHandler,(self,) + _args, _kwargs)
351 return val
352 def MakeMandatoryControlPoints(self, *_args, **_kwargs):
353 val = apply(oglbasicc.wxPyShape_MakeMandatoryControlPoints,(self,) + _args, _kwargs)
354 return val
355 def ResetMandatoryControlPoints(self, *_args, **_kwargs):
356 val = apply(oglbasicc.wxPyShape_ResetMandatoryControlPoints,(self,) + _args, _kwargs)
357 return val
358 def Recompute(self, *_args, **_kwargs):
359 val = apply(oglbasicc.wxPyShape_Recompute,(self,) + _args, _kwargs)
360 return val
361 def CalculateSize(self, *_args, **_kwargs):
362 val = apply(oglbasicc.wxPyShape_CalculateSize,(self,) + _args, _kwargs)
363 return val
364 def Select(self, *_args, **_kwargs):
365 val = apply(oglbasicc.wxPyShape_Select,(self,) + _args, _kwargs)
366 return val
367 def SetHighlight(self, *_args, **_kwargs):
368 val = apply(oglbasicc.wxPyShape_SetHighlight,(self,) + _args, _kwargs)
369 return val
370 def IsHighlighted(self, *_args, **_kwargs):
371 val = apply(oglbasicc.wxPyShape_IsHighlighted,(self,) + _args, _kwargs)
372 return val
373 def Selected(self, *_args, **_kwargs):
374 val = apply(oglbasicc.wxPyShape_Selected,(self,) + _args, _kwargs)
375 return val
376 def AncestorSelected(self, *_args, **_kwargs):
377 val = apply(oglbasicc.wxPyShape_AncestorSelected,(self,) + _args, _kwargs)
378 return val
379 def SetSensitivityFilter(self, *_args, **_kwargs):
380 val = apply(oglbasicc.wxPyShape_SetSensitivityFilter,(self,) + _args, _kwargs)
381 return val
382 def GetSensitivityFilter(self, *_args, **_kwargs):
383 val = apply(oglbasicc.wxPyShape_GetSensitivityFilter,(self,) + _args, _kwargs)
384 return val
385 def SetDraggable(self, *_args, **_kwargs):
386 val = apply(oglbasicc.wxPyShape_SetDraggable,(self,) + _args, _kwargs)
387 return val
388 def SetFixedSize(self, *_args, **_kwargs):
389 val = apply(oglbasicc.wxPyShape_SetFixedSize,(self,) + _args, _kwargs)
390 return val
391 def GetFixedSize(self, *_args, **_kwargs):
392 val = apply(oglbasicc.wxPyShape_GetFixedSize,(self,) + _args, _kwargs)
393 return val
394 def GetFixedWidth(self, *_args, **_kwargs):
395 val = apply(oglbasicc.wxPyShape_GetFixedWidth,(self,) + _args, _kwargs)
396 return val
397 def GetFixedHeight(self, *_args, **_kwargs):
398 val = apply(oglbasicc.wxPyShape_GetFixedHeight,(self,) + _args, _kwargs)
399 return val
400 def SetSpaceAttachments(self, *_args, **_kwargs):
401 val = apply(oglbasicc.wxPyShape_SetSpaceAttachments,(self,) + _args, _kwargs)
402 return val
403 def GetSpaceAttachments(self, *_args, **_kwargs):
404 val = apply(oglbasicc.wxPyShape_GetSpaceAttachments,(self,) + _args, _kwargs)
405 return val
406 def SetShadowMode(self, *_args, **_kwargs):
407 val = apply(oglbasicc.wxPyShape_SetShadowMode,(self,) + _args, _kwargs)
408 return val
409 def GetShadowMode(self, *_args, **_kwargs):
410 val = apply(oglbasicc.wxPyShape_GetShadowMode,(self,) + _args, _kwargs)
411 return val
412 def HitTest(self, *_args, **_kwargs):
413 val = apply(oglbasicc.wxPyShape_HitTest,(self,) + _args, _kwargs)
414 return val
415 def SetCentreResize(self, *_args, **_kwargs):
416 val = apply(oglbasicc.wxPyShape_SetCentreResize,(self,) + _args, _kwargs)
417 return val
418 def GetCentreResize(self, *_args, **_kwargs):
419 val = apply(oglbasicc.wxPyShape_GetCentreResize,(self,) + _args, _kwargs)
420 return val
421 def SetMaintainAspectRatio(self, *_args, **_kwargs):
422 val = apply(oglbasicc.wxPyShape_SetMaintainAspectRatio,(self,) + _args, _kwargs)
423 return val
424 def GetMaintainAspectRatio(self, *_args, **_kwargs):
425 val = apply(oglbasicc.wxPyShape_GetMaintainAspectRatio,(self,) + _args, _kwargs)
426 return val
427 def GetLines(self, *_args, **_kwargs):
428 val = apply(oglbasicc.wxPyShape_GetLines,(self,) + _args, _kwargs)
429 return val
430 def SetDisableLabel(self, *_args, **_kwargs):
431 val = apply(oglbasicc.wxPyShape_SetDisableLabel,(self,) + _args, _kwargs)
432 return val
433 def GetDisableLabel(self, *_args, **_kwargs):
434 val = apply(oglbasicc.wxPyShape_GetDisableLabel,(self,) + _args, _kwargs)
435 return val
436 def SetAttachmentMode(self, *_args, **_kwargs):
437 val = apply(oglbasicc.wxPyShape_SetAttachmentMode,(self,) + _args, _kwargs)
438 return val
439 def GetAttachmentMode(self, *_args, **_kwargs):
440 val = apply(oglbasicc.wxPyShape_GetAttachmentMode,(self,) + _args, _kwargs)
441 return val
442 def SetId(self, *_args, **_kwargs):
443 val = apply(oglbasicc.wxPyShape_SetId,(self,) + _args, _kwargs)
444 return val
445 def GetId(self, *_args, **_kwargs):
446 val = apply(oglbasicc.wxPyShape_GetId,(self,) + _args, _kwargs)
447 return val
448 def SetPen(self, *_args, **_kwargs):
449 val = apply(oglbasicc.wxPyShape_SetPen,(self,) + _args, _kwargs)
450 return val
451 def SetBrush(self, *_args, **_kwargs):
452 val = apply(oglbasicc.wxPyShape_SetBrush,(self,) + _args, _kwargs)
453 return val
454 def Show(self, *_args, **_kwargs):
455 val = apply(oglbasicc.wxPyShape_Show,(self,) + _args, _kwargs)
456 return val
457 def IsShown(self, *_args, **_kwargs):
458 val = apply(oglbasicc.wxPyShape_IsShown,(self,) + _args, _kwargs)
459 return val
460 def Move(self, *_args, **_kwargs):
461 val = apply(oglbasicc.wxPyShape_Move,(self,) + _args, _kwargs)
462 return val
463 def Erase(self, *_args, **_kwargs):
464 val = apply(oglbasicc.wxPyShape_Erase,(self,) + _args, _kwargs)
465 return val
466 def EraseContents(self, *_args, **_kwargs):
467 val = apply(oglbasicc.wxPyShape_EraseContents,(self,) + _args, _kwargs)
468 return val
469 def Draw(self, *_args, **_kwargs):
470 val = apply(oglbasicc.wxPyShape_Draw,(self,) + _args, _kwargs)
471 return val
472 def Flash(self, *_args, **_kwargs):
473 val = apply(oglbasicc.wxPyShape_Flash,(self,) + _args, _kwargs)
474 return val
475 def MoveLinks(self, *_args, **_kwargs):
476 val = apply(oglbasicc.wxPyShape_MoveLinks,(self,) + _args, _kwargs)
477 return val
478 def DrawContents(self, *_args, **_kwargs):
479 val = apply(oglbasicc.wxPyShape_DrawContents,(self,) + _args, _kwargs)
480 return val
481 def SetSize(self, *_args, **_kwargs):
482 val = apply(oglbasicc.wxPyShape_SetSize,(self,) + _args, _kwargs)
483 return val
484 def SetAttachmentSize(self, *_args, **_kwargs):
485 val = apply(oglbasicc.wxPyShape_SetAttachmentSize,(self,) + _args, _kwargs)
486 return val
487 def Attach(self, *_args, **_kwargs):
488 val = apply(oglbasicc.wxPyShape_Attach,(self,) + _args, _kwargs)
489 return val
490 def Detach(self, *_args, **_kwargs):
491 val = apply(oglbasicc.wxPyShape_Detach,(self,) + _args, _kwargs)
492 return val
493 def Constrain(self, *_args, **_kwargs):
494 val = apply(oglbasicc.wxPyShape_Constrain,(self,) + _args, _kwargs)
495 return val
496 def AddLine(self, *_args, **_kwargs):
497 val = apply(oglbasicc.wxPyShape_AddLine,(self,) + _args, _kwargs)
498 return val
499 def GetLinePosition(self, *_args, **_kwargs):
500 val = apply(oglbasicc.wxPyShape_GetLinePosition,(self,) + _args, _kwargs)
501 return val
502 def AddText(self, *_args, **_kwargs):
503 val = apply(oglbasicc.wxPyShape_AddText,(self,) + _args, _kwargs)
504 return val
505 def GetPen(self, *_args, **_kwargs):
506 val = apply(oglbasicc.wxPyShape_GetPen,(self,) + _args, _kwargs)
507 if val: val = wxPenPtr(val)
508 return val
509 def GetBrush(self, *_args, **_kwargs):
510 val = apply(oglbasicc.wxPyShape_GetBrush,(self,) + _args, _kwargs)
511 if val: val = wxBrushPtr(val)
512 return val
513 def SetDefaultRegionSize(self, *_args, **_kwargs):
514 val = apply(oglbasicc.wxPyShape_SetDefaultRegionSize,(self,) + _args, _kwargs)
515 return val
516 def FormatText(self, *_args, **_kwargs):
517 val = apply(oglbasicc.wxPyShape_FormatText,(self,) + _args, _kwargs)
518 return val
519 def SetFormatMode(self, *_args, **_kwargs):
520 val = apply(oglbasicc.wxPyShape_SetFormatMode,(self,) + _args, _kwargs)
521 return val
522 def GetFormatMode(self, *_args, **_kwargs):
523 val = apply(oglbasicc.wxPyShape_GetFormatMode,(self,) + _args, _kwargs)
524 return val
525 def SetFont(self, *_args, **_kwargs):
526 val = apply(oglbasicc.wxPyShape_SetFont,(self,) + _args, _kwargs)
527 return val
528 def GetFont(self, *_args, **_kwargs):
529 val = apply(oglbasicc.wxPyShape_GetFont,(self,) + _args, _kwargs)
530 if val: val = wxFontPtr(val)
531 return val
532 def SetTextColour(self, *_args, **_kwargs):
533 val = apply(oglbasicc.wxPyShape_SetTextColour,(self,) + _args, _kwargs)
534 return val
535 def GetTextColour(self, *_args, **_kwargs):
536 val = apply(oglbasicc.wxPyShape_GetTextColour,(self,) + _args, _kwargs)
537 return val
538 def GetNumberOfTextRegions(self, *_args, **_kwargs):
539 val = apply(oglbasicc.wxPyShape_GetNumberOfTextRegions,(self,) + _args, _kwargs)
540 return val
541 def SetRegionName(self, *_args, **_kwargs):
542 val = apply(oglbasicc.wxPyShape_SetRegionName,(self,) + _args, _kwargs)
543 return val
544 def GetRegionName(self, *_args, **_kwargs):
545 val = apply(oglbasicc.wxPyShape_GetRegionName,(self,) + _args, _kwargs)
546 return val
547 def GetRegionId(self, *_args, **_kwargs):
548 val = apply(oglbasicc.wxPyShape_GetRegionId,(self,) + _args, _kwargs)
549 return val
550 def NameRegions(self, *_args, **_kwargs):
551 val = apply(oglbasicc.wxPyShape_NameRegions,(self,) + _args, _kwargs)
552 return val
553 def GetRegions(self, *_args, **_kwargs):
554 val = apply(oglbasicc.wxPyShape_GetRegions,(self,) + _args, _kwargs)
555 return val
556 def AddRegion(self, *_args, **_kwargs):
557 val = apply(oglbasicc.wxPyShape_AddRegion,(self,) + _args, _kwargs)
558 return val
559 def ClearRegions(self, *_args, **_kwargs):
560 val = apply(oglbasicc.wxPyShape_ClearRegions,(self,) + _args, _kwargs)
561 return val
562 def AssignNewIds(self, *_args, **_kwargs):
563 val = apply(oglbasicc.wxPyShape_AssignNewIds,(self,) + _args, _kwargs)
564 return val
565 def FindRegion(self, *_args, **_kwargs):
566 val = apply(oglbasicc.wxPyShape_FindRegion,(self,) + _args, _kwargs)
567 return val
568 def FindRegionNames(self, *_args, **_kwargs):
569 val = apply(oglbasicc.wxPyShape_FindRegionNames,(self,) + _args, _kwargs)
570 return val
571 def ClearText(self, *_args, **_kwargs):
572 val = apply(oglbasicc.wxPyShape_ClearText,(self,) + _args, _kwargs)
573 return val
574 def RemoveLine(self, *_args, **_kwargs):
575 val = apply(oglbasicc.wxPyShape_RemoveLine,(self,) + _args, _kwargs)
576 return val
577 def GetAttachmentPosition(self, *_args, **_kwargs):
578 val = apply(oglbasicc.wxPyShape_GetAttachmentPosition,(self,) + _args, _kwargs)
579 return val
580 def GetNumberOfAttachments(self, *_args, **_kwargs):
581 val = apply(oglbasicc.wxPyShape_GetNumberOfAttachments,(self,) + _args, _kwargs)
582 return val
583 def AttachmentIsValid(self, *_args, **_kwargs):
584 val = apply(oglbasicc.wxPyShape_AttachmentIsValid,(self,) + _args, _kwargs)
585 return val
586 def GetAttachmentPositionEdge(self, *_args, **_kwargs):
587 val = apply(oglbasicc.wxPyShape_GetAttachmentPositionEdge,(self,) + _args, _kwargs)
588 return val
589 def CalcSimpleAttachment(self, *_args, **_kwargs):
590 val = apply(oglbasicc.wxPyShape_CalcSimpleAttachment,(self,) + _args, _kwargs)
591 if val: val = wxRealPointPtr(val) ; val.thisown = 1
592 return val
593 def AttachmentSortTest(self, *_args, **_kwargs):
594 val = apply(oglbasicc.wxPyShape_AttachmentSortTest,(self,) + _args, _kwargs)
595 return val
596 def EraseLinks(self, *_args, **_kwargs):
597 val = apply(oglbasicc.wxPyShape_EraseLinks,(self,) + _args, _kwargs)
598 return val
599 def DrawLinks(self, *_args, **_kwargs):
600 val = apply(oglbasicc.wxPyShape_DrawLinks,(self,) + _args, _kwargs)
601 return val
602 def MoveLineToNewAttachment(self, *_args, **_kwargs):
603 val = apply(oglbasicc.wxPyShape_MoveLineToNewAttachment,(self,) + _args, _kwargs)
604 return val
605 def ApplyAttachmentOrdering(self, *_args, **_kwargs):
606 val = apply(oglbasicc.wxPyShape_ApplyAttachmentOrdering,(self,) + _args, _kwargs)
607 return val
608 def GetBranchingAttachmentRoot(self, *_args, **_kwargs):
609 val = apply(oglbasicc.wxPyShape_GetBranchingAttachmentRoot,(self,) + _args, _kwargs)
610 if val: val = wxRealPointPtr(val) ; val.thisown = 1
611 return val
612 def GetBranchingAttachmentInfo(self, *_args, **_kwargs):
613 val = apply(oglbasicc.wxPyShape_GetBranchingAttachmentInfo,(self,) + _args, _kwargs)
614 return val
615 def GetBranchingAttachmentPoint(self, *_args, **_kwargs):
616 val = apply(oglbasicc.wxPyShape_GetBranchingAttachmentPoint,(self,) + _args, _kwargs)
617 return val
618 def GetAttachmentLineCount(self, *_args, **_kwargs):
619 val = apply(oglbasicc.wxPyShape_GetAttachmentLineCount,(self,) + _args, _kwargs)
620 return val
621 def SetBranchNeckLength(self, *_args, **_kwargs):
622 val = apply(oglbasicc.wxPyShape_SetBranchNeckLength,(self,) + _args, _kwargs)
623 return val
624 def GetBranchNeckLength(self, *_args, **_kwargs):
625 val = apply(oglbasicc.wxPyShape_GetBranchNeckLength,(self,) + _args, _kwargs)
626 return val
627 def SetBranchStemLength(self, *_args, **_kwargs):
628 val = apply(oglbasicc.wxPyShape_SetBranchStemLength,(self,) + _args, _kwargs)
629 return val
630 def GetBranchStemLength(self, *_args, **_kwargs):
631 val = apply(oglbasicc.wxPyShape_GetBranchStemLength,(self,) + _args, _kwargs)
632 return val
633 def SetBranchSpacing(self, *_args, **_kwargs):
634 val = apply(oglbasicc.wxPyShape_SetBranchSpacing,(self,) + _args, _kwargs)
635 return val
636 def GetBranchSpacing(self, *_args, **_kwargs):
637 val = apply(oglbasicc.wxPyShape_GetBranchSpacing,(self,) + _args, _kwargs)
638 return val
639 def SetBranchStyle(self, *_args, **_kwargs):
640 val = apply(oglbasicc.wxPyShape_SetBranchStyle,(self,) + _args, _kwargs)
641 return val
642 def GetBranchStyle(self, *_args, **_kwargs):
643 val = apply(oglbasicc.wxPyShape_GetBranchStyle,(self,) + _args, _kwargs)
644 return val
645 def PhysicalToLogicalAttachment(self, *_args, **_kwargs):
646 val = apply(oglbasicc.wxPyShape_PhysicalToLogicalAttachment,(self,) + _args, _kwargs)
647 return val
648 def LogicalToPhysicalAttachment(self, *_args, **_kwargs):
649 val = apply(oglbasicc.wxPyShape_LogicalToPhysicalAttachment,(self,) + _args, _kwargs)
650 return val
651 def Draggable(self, *_args, **_kwargs):
652 val = apply(oglbasicc.wxPyShape_Draggable,(self,) + _args, _kwargs)
653 return val
654 def HasDescendant(self, *_args, **_kwargs):
655 val = apply(oglbasicc.wxPyShape_HasDescendant,(self,) + _args, _kwargs)
656 return val
657 def CreateNewCopy(self, *_args, **_kwargs):
658 val = apply(oglbasicc.wxPyShape_CreateNewCopy,(self,) + _args, _kwargs)
659 return val
660 def Copy(self, *_args, **_kwargs):
661 val = apply(oglbasicc.wxPyShape_Copy,(self,) + _args, _kwargs)
662 return val
663 def CopyWithHandler(self, *_args, **_kwargs):
664 val = apply(oglbasicc.wxPyShape_CopyWithHandler,(self,) + _args, _kwargs)
665 return val
666 def Rotate(self, *_args, **_kwargs):
667 val = apply(oglbasicc.wxPyShape_Rotate,(self,) + _args, _kwargs)
668 return val
669 def GetRotation(self, *_args, **_kwargs):
670 val = apply(oglbasicc.wxPyShape_GetRotation,(self,) + _args, _kwargs)
671 return val
672 def ClearAttachments(self, *_args, **_kwargs):
673 val = apply(oglbasicc.wxPyShape_ClearAttachments,(self,) + _args, _kwargs)
674 return val
675 def Recentre(self, *_args, **_kwargs):
676 val = apply(oglbasicc.wxPyShape_Recentre,(self,) + _args, _kwargs)
677 return val
678 def ClearPointList(self, *_args, **_kwargs):
679 val = apply(oglbasicc.wxPyShape_ClearPointList,(self,) + _args, _kwargs)
680 return val
681 def GetBackgroundPen(self, *_args, **_kwargs):
682 val = apply(oglbasicc.wxPyShape_GetBackgroundPen,(self,) + _args, _kwargs)
683 if val: val = wxPenPtr(val) ; val.thisown = 1
684 return val
685 def GetBackgroundBrush(self, *_args, **_kwargs):
686 val = apply(oglbasicc.wxPyShape_GetBackgroundBrush,(self,) + _args, _kwargs)
687 if val: val = wxBrushPtr(val) ; val.thisown = 1
688 return val
689 def base_OnDelete(self, *_args, **_kwargs):
690 val = apply(oglbasicc.wxPyShape_base_OnDelete,(self,) + _args, _kwargs)
691 return val
692 def base_OnDraw(self, *_args, **_kwargs):
693 val = apply(oglbasicc.wxPyShape_base_OnDraw,(self,) + _args, _kwargs)
694 return val
695 def base_OnDrawContents(self, *_args, **_kwargs):
696 val = apply(oglbasicc.wxPyShape_base_OnDrawContents,(self,) + _args, _kwargs)
697 return val
698 def base_OnDrawBranches(self, *_args, **_kwargs):
699 val = apply(oglbasicc.wxPyShape_base_OnDrawBranches,(self,) + _args, _kwargs)
700 return val
701 def base_OnMoveLinks(self, *_args, **_kwargs):
702 val = apply(oglbasicc.wxPyShape_base_OnMoveLinks,(self,) + _args, _kwargs)
703 return val
704 def base_OnErase(self, *_args, **_kwargs):
705 val = apply(oglbasicc.wxPyShape_base_OnErase,(self,) + _args, _kwargs)
706 return val
707 def base_OnEraseContents(self, *_args, **_kwargs):
708 val = apply(oglbasicc.wxPyShape_base_OnEraseContents,(self,) + _args, _kwargs)
709 return val
710 def base_OnHighlight(self, *_args, **_kwargs):
711 val = apply(oglbasicc.wxPyShape_base_OnHighlight,(self,) + _args, _kwargs)
712 return val
713 def base_OnLeftClick(self, *_args, **_kwargs):
714 val = apply(oglbasicc.wxPyShape_base_OnLeftClick,(self,) + _args, _kwargs)
715 return val
716 def base_OnLeftDoubleClick(self, *_args, **_kwargs):
717 val = apply(oglbasicc.wxPyShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
718 return val
719 def base_OnRightClick(self, *_args, **_kwargs):
720 val = apply(oglbasicc.wxPyShape_base_OnRightClick,(self,) + _args, _kwargs)
721 return val
722 def base_OnSize(self, *_args, **_kwargs):
723 val = apply(oglbasicc.wxPyShape_base_OnSize,(self,) + _args, _kwargs)
724 return val
725 def base_OnMovePre(self, *_args, **_kwargs):
726 val = apply(oglbasicc.wxPyShape_base_OnMovePre,(self,) + _args, _kwargs)
727 return val
728 def base_OnMovePost(self, *_args, **_kwargs):
729 val = apply(oglbasicc.wxPyShape_base_OnMovePost,(self,) + _args, _kwargs)
730 return val
731 def base_OnDragLeft(self, *_args, **_kwargs):
732 val = apply(oglbasicc.wxPyShape_base_OnDragLeft,(self,) + _args, _kwargs)
733 return val
734 def base_OnBeginDragLeft(self, *_args, **_kwargs):
735 val = apply(oglbasicc.wxPyShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
736 return val
737 def base_OnEndDragLeft(self, *_args, **_kwargs):
738 val = apply(oglbasicc.wxPyShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
739 return val
740 def base_OnDragRight(self, *_args, **_kwargs):
741 val = apply(oglbasicc.wxPyShape_base_OnDragRight,(self,) + _args, _kwargs)
742 return val
743 def base_OnBeginDragRight(self, *_args, **_kwargs):
744 val = apply(oglbasicc.wxPyShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
745 return val
746 def base_OnEndDragRight(self, *_args, **_kwargs):
747 val = apply(oglbasicc.wxPyShape_base_OnEndDragRight,(self,) + _args, _kwargs)
748 return val
749 def base_OnDrawOutline(self, *_args, **_kwargs):
750 val = apply(oglbasicc.wxPyShape_base_OnDrawOutline,(self,) + _args, _kwargs)
751 return val
752 def base_OnDrawControlPoints(self, *_args, **_kwargs):
753 val = apply(oglbasicc.wxPyShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
754 return val
755 def base_OnEraseControlPoints(self, *_args, **_kwargs):
756 val = apply(oglbasicc.wxPyShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
757 return val
758 def base_OnMoveLink(self, *_args, **_kwargs):
759 val = apply(oglbasicc.wxPyShape_base_OnMoveLink,(self,) + _args, _kwargs)
760 return val
761 def base_OnSizingDragLeft(self, *_args, **_kwargs):
762 val = apply(oglbasicc.wxPyShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
763 return val
764 def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
765 val = apply(oglbasicc.wxPyShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
766 return val
767 def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
768 val = apply(oglbasicc.wxPyShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
769 return val
770 def base_OnBeginSize(self, *_args, **_kwargs):
771 val = apply(oglbasicc.wxPyShape_base_OnBeginSize,(self,) + _args, _kwargs)
772 return val
773 def base_OnEndSize(self, *_args, **_kwargs):
774 val = apply(oglbasicc.wxPyShape_base_OnEndSize,(self,) + _args, _kwargs)
775 return val
776 def __repr__(self):
777 return "<C wxPyShape instance at %s>" % (self.this,)
778
779 def SetClientData(self, data):
780 self.clientData = data
781 def GetClientData(self):
782 if hasattr(self, 'clientData'):
783 return self.clientData
784 else:
785 return None
786
787class wxPyShape(wxPyShapePtr):
788 def __init__(self,this):
789 self.this = this
790
791
792
793
794
795
796#-------------- FUNCTION WRAPPERS ------------------
797
798
799
800#-------------- VARIABLE WRAPPERS ------------------
801