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