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