]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/gtk/misc2.py
fixed clipping of items with icons text in report mode
[wxWidgets.git] / wxPython / src / gtk / misc2.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import misc2c
3
4from windows import *
5
6from misc import *
7
8from gdi import *
9
10from clip_dnd import *
11
12from events import *
13
14from streams import *
15class wxToolTipPtr(wxObjectPtr):
16 def __init__(self,this):
17 self.this = this
18 self.thisown = 0
19 def SetTip(self, *_args, **_kwargs):
20 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
21 return val
22 def GetTip(self, *_args, **_kwargs):
23 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
24 return val
25 def GetWindow(self, *_args, **_kwargs):
26 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
27 return val
28 def __repr__(self):
29 return "<C wxToolTip instance at %s>" % (self.this,)
30class wxToolTip(wxToolTipPtr):
31 def __init__(self,*_args,**_kwargs):
32 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
33 self.thisown = 1
34
35
36
37
38class wxCaretPtr :
39 def __init__(self,this):
40 self.this = this
41 self.thisown = 0
42 def __del__(self,misc2c=misc2c):
43 if self.thisown == 1 :
44 misc2c.delete_wxCaret(self)
45 def IsOk(self, *_args, **_kwargs):
46 val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs)
47 return val
48 def IsVisible(self, *_args, **_kwargs):
49 val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs)
50 return val
51 def GetPositionTuple(self, *_args, **_kwargs):
52 val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs)
53 return val
54 def GetPosition(self, *_args, **_kwargs):
55 val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs)
56 if val: val = wxPointPtr(val) ; val.thisown = 1
57 return val
58 def GetSizeTuple(self, *_args, **_kwargs):
59 val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs)
60 return val
61 def GetSize(self, *_args, **_kwargs):
62 val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs)
63 if val: val = wxSizePtr(val) ; val.thisown = 1
64 return val
65 def GetWindow(self, *_args, **_kwargs):
66 val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs)
67 return val
68 def MoveXY(self, *_args, **_kwargs):
69 val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs)
70 return val
71 def Move(self, *_args, **_kwargs):
72 val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs)
73 return val
74 def SetSizeWH(self, *_args, **_kwargs):
75 val = apply(misc2c.wxCaret_SetSizeWH,(self,) + _args, _kwargs)
76 return val
77 def SetSize(self, *_args, **_kwargs):
78 val = apply(misc2c.wxCaret_SetSize,(self,) + _args, _kwargs)
79 return val
80 def Show(self, *_args, **_kwargs):
81 val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs)
82 return val
83 def Hide(self, *_args, **_kwargs):
84 val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs)
85 return val
86 def __repr__(self):
87 return "<C wxCaret instance at %s>" % (self.this,)
88class wxCaret(wxCaretPtr):
89 def __init__(self,*_args,**_kwargs):
90 self.this = apply(misc2c.new_wxCaret,_args,_kwargs)
91 self.thisown = 1
92
93
94
95
96class wxFontEnumeratorPtr :
97 def __init__(self,this):
98 self.this = this
99 self.thisown = 0
100 def __del__(self,misc2c=misc2c):
101 if self.thisown == 1 :
102 misc2c.delete_wxFontEnumerator(self)
103 def _setSelf(self, *_args, **_kwargs):
104 val = apply(misc2c.wxFontEnumerator__setSelf,(self,) + _args, _kwargs)
105 return val
106 def EnumerateFacenames(self, *_args, **_kwargs):
107 val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs)
108 return val
109 def EnumerateEncodings(self, *_args, **_kwargs):
110 val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs)
111 return val
112 def GetEncodings(self, *_args, **_kwargs):
113 val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs)
114 return val
115 def GetFacenames(self, *_args, **_kwargs):
116 val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs)
117 return val
118 def __repr__(self):
119 return "<C wxFontEnumerator instance at %s>" % (self.this,)
120class wxFontEnumerator(wxFontEnumeratorPtr):
121 def __init__(self,*_args,**_kwargs):
122 self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs)
123 self.thisown = 1
124 self._setSelf(self, wxFontEnumerator)
125
126
127
128
129class wxBusyCursorPtr :
130 def __init__(self,this):
131 self.this = this
132 self.thisown = 0
133 def __del__(self,misc2c=misc2c):
134 if self.thisown == 1 :
135 misc2c.delete_wxBusyCursor(self)
136 def __repr__(self):
137 return "<C wxBusyCursor instance at %s>" % (self.this,)
138class wxBusyCursor(wxBusyCursorPtr):
139 def __init__(self,*_args,**_kwargs):
140 self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs)
141 self.thisown = 1
142
143
144
145
146class wxWindowDisablerPtr :
147 def __init__(self,this):
148 self.this = this
149 self.thisown = 0
150 def __del__(self,misc2c=misc2c):
151 if self.thisown == 1 :
152 misc2c.delete_wxWindowDisabler(self)
153 def __repr__(self):
154 return "<C wxWindowDisabler instance at %s>" % (self.this,)
155class wxWindowDisabler(wxWindowDisablerPtr):
156 def __init__(self,*_args,**_kwargs):
157 self.this = apply(misc2c.new_wxWindowDisabler,_args,_kwargs)
158 self.thisown = 1
159
160
161
162
163class wxMutexGuiLockerPtr :
164 def __init__(self,this):
165 self.this = this
166 self.thisown = 0
167 def __del__(self,misc2c=misc2c):
168 if self.thisown == 1 :
169 misc2c.delete_wxMutexGuiLocker(self)
170 def __repr__(self):
171 return "<C wxMutexGuiLocker instance at %s>" % (self.this,)
172class wxMutexGuiLocker(wxMutexGuiLockerPtr):
173 def __init__(self,*_args,**_kwargs):
174 self.this = apply(misc2c.new_wxMutexGuiLocker,_args,_kwargs)
175 self.thisown = 1
176
177
178
179
180class wxTipProviderPtr :
181 def __init__(self,this):
182 self.this = this
183 self.thisown = 0
184 def __del__(self,misc2c=misc2c):
185 if self.thisown == 1 :
186 misc2c.delete_wxTipProvider(self)
187 def GetTip(self, *_args, **_kwargs):
188 val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs)
189 return val
190 def GetCurrentTip(self, *_args, **_kwargs):
191 val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs)
192 return val
193 def __repr__(self):
194 return "<C wxTipProvider instance at %s>" % (self.this,)
195class wxTipProvider(wxTipProviderPtr):
196 def __init__(self,this):
197 self.this = this
198
199
200
201
202class wxPyTipProviderPtr(wxTipProviderPtr):
203 def __init__(self,this):
204 self.this = this
205 self.thisown = 0
206 def __repr__(self):
207 return "<C wxPyTipProvider instance at %s>" % (self.this,)
208class wxPyTipProvider(wxPyTipProviderPtr):
209 def __init__(self,*_args,**_kwargs):
210 self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs)
211 self.thisown = 1
212
213
214
215
216class wxDragImagePtr(wxObjectPtr):
217 def __init__(self,this):
218 self.this = this
219 self.thisown = 0
220 def __del__(self,misc2c=misc2c):
221 if self.thisown == 1 :
222 misc2c.delete_wxDragImage(self)
223 def SetBackingBitmap(self, *_args, **_kwargs):
224 val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs)
225 return val
226 def BeginDrag(self, *_args, **_kwargs):
227 val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs)
228 return val
229 def BeginDrag2(self, *_args, **_kwargs):
230 val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs)
231 return val
232 def EndDrag(self, *_args, **_kwargs):
233 val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs)
234 return val
235 def Move(self, *_args, **_kwargs):
236 val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs)
237 return val
238 def Show(self, *_args, **_kwargs):
239 val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs)
240 return val
241 def Hide(self, *_args, **_kwargs):
242 val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs)
243 return val
244 def GetImageRect(self, *_args, **_kwargs):
245 val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs)
246 if val: val = wxRectPtr(val) ; val.thisown = 1
247 return val
248 def RedrawImage(self, *_args, **_kwargs):
249 val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs)
250 return val
251 def __repr__(self):
252 return "<C wxDragImage instance at %s>" % (self.this,)
253class wxDragImage(wxDragImagePtr):
254 def __init__(self,*_args,**_kwargs):
255 self.this = apply(misc2c.new_wxDragImage,_args,_kwargs)
256 self.thisown = 1
257
258
259
260
261class wxPyTimerPtr(wxObjectPtr):
262 def __init__(self,this):
263 self.this = this
264 self.thisown = 0
265 def __del__(self,misc2c=misc2c):
266 if self.thisown == 1 :
267 misc2c.delete_wxPyTimer(self)
268 def GetInterval(self, *_args, **_kwargs):
269 val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs)
270 return val
271 def IsOneShot(self, *_args, **_kwargs):
272 val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs)
273 return val
274 def IsRunning(self, *_args, **_kwargs):
275 val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs)
276 return val
277 def SetOwner(self, *_args, **_kwargs):
278 val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs)
279 return val
280 def Start(self, *_args, **_kwargs):
281 val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs)
282 return val
283 def Stop(self, *_args, **_kwargs):
284 val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs)
285 return val
286 def __repr__(self):
287 return "<C wxPyTimer instance at %s>" % (self.this,)
288class wxPyTimer(wxPyTimerPtr):
289 def __init__(self,*_args,**_kwargs):
290 self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs)
291 self.thisown = 1
292
293
294
295
296class wxLogPtr :
297 def __init__(self,this):
298 self.this = this
299 self.thisown = 0
300 def Flush(self, *_args, **_kwargs):
301 val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs)
302 return val
303 def HasPendingMessages(self, *_args, **_kwargs):
304 val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
305 return val
306 def SetVerbose(self, *_args, **_kwargs):
307 val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs)
308 return val
309 def GetVerbose(self, *_args, **_kwargs):
310 val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
311 return val
312 def __repr__(self):
313 return "<C wxLog instance at %s>" % (self.this,)
314class wxLog(wxLogPtr):
315 def __init__(self,*_args,**_kwargs):
316 self.this = apply(misc2c.new_wxLog,_args,_kwargs)
317 self.thisown = 1
318
319
320
321
322class wxLogStderrPtr(wxLogPtr):
323 def __init__(self,this):
324 self.this = this
325 self.thisown = 0
326 def __repr__(self):
327 return "<C wxLogStderr instance at %s>" % (self.this,)
328class wxLogStderr(wxLogStderrPtr):
329 def __init__(self,*_args,**_kwargs):
330 self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs)
331 self.thisown = 1
332
333
334
335
336class wxLogTextCtrlPtr(wxLogPtr):
337 def __init__(self,this):
338 self.this = this
339 self.thisown = 0
340 def __repr__(self):
341 return "<C wxLogTextCtrl instance at %s>" % (self.this,)
342class wxLogTextCtrl(wxLogTextCtrlPtr):
343 def __init__(self,*_args,**_kwargs):
344 self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs)
345 self.thisown = 1
346
347
348
349
350class wxLogGuiPtr(wxLogPtr):
351 def __init__(self,this):
352 self.this = this
353 self.thisown = 0
354 def __repr__(self):
355 return "<C wxLogGui instance at %s>" % (self.this,)
356class wxLogGui(wxLogGuiPtr):
357 def __init__(self,*_args,**_kwargs):
358 self.this = apply(misc2c.new_wxLogGui,_args,_kwargs)
359 self.thisown = 1
360
361
362
363
364class wxLogWindowPtr(wxLogPtr):
365 def __init__(self,this):
366 self.this = this
367 self.thisown = 0
368 def Show(self, *_args, **_kwargs):
369 val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs)
370 return val
371 def GetFrame(self, *_args, **_kwargs):
372 val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs)
373 return val
374 def GetOldLog(self, *_args, **_kwargs):
375 val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs)
376 if val: val = wxLogPtr(val)
377 return val
378 def IsPassingMessages(self, *_args, **_kwargs):
379 val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs)
380 return val
381 def PassMessages(self, *_args, **_kwargs):
382 val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs)
383 return val
384 def __repr__(self):
385 return "<C wxLogWindow instance at %s>" % (self.this,)
386class wxLogWindow(wxLogWindowPtr):
387 def __init__(self,*_args,**_kwargs):
388 self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs)
389 self.thisown = 1
390
391
392
393
394class wxLogNullPtr :
395 def __init__(self,this):
396 self.this = this
397 self.thisown = 0
398 def __del__(self,misc2c=misc2c):
399 if self.thisown == 1 :
400 misc2c.delete_wxLogNull(self)
401 def __repr__(self):
402 return "<C wxLogNull instance at %s>" % (self.this,)
403class wxLogNull(wxLogNullPtr):
404 def __init__(self,*_args,**_kwargs):
405 self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
406 self.thisown = 1
407
408
409
410
411class wxProcessEventPtr(wxEventPtr):
412 def __init__(self,this):
413 self.this = this
414 self.thisown = 0
415 def GetPid(self, *_args, **_kwargs):
416 val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs)
417 return val
418 def GetExitCode(self, *_args, **_kwargs):
419 val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs)
420 return val
421 def __setattr__(self,name,value):
422 if name == "m_pid" :
423 misc2c.wxProcessEvent_m_pid_set(self,value)
424 return
425 if name == "m_exitcode" :
426 misc2c.wxProcessEvent_m_exitcode_set(self,value)
427 return
428 self.__dict__[name] = value
429 def __getattr__(self,name):
430 if name == "m_pid" :
431 return misc2c.wxProcessEvent_m_pid_get(self)
432 if name == "m_exitcode" :
433 return misc2c.wxProcessEvent_m_exitcode_get(self)
434 raise AttributeError,name
435 def __repr__(self):
436 return "<C wxProcessEvent instance at %s>" % (self.this,)
437class wxProcessEvent(wxProcessEventPtr):
438 def __init__(self,*_args,**_kwargs):
439 self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs)
440 self.thisown = 1
441
442
443
444
445class wxProcessPtr(wxEvtHandlerPtr):
446 def __init__(self,this):
447 self.this = this
448 self.thisown = 0
449 def Destroy(self, *_args, **_kwargs):
450 val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs)
451 return val
452 def _setSelf(self, *_args, **_kwargs):
453 val = apply(misc2c.wxProcess__setSelf,(self,) + _args, _kwargs)
454 return val
455 def base_OnTerminate(self, *_args, **_kwargs):
456 val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs)
457 return val
458 def Redirect(self, *_args, **_kwargs):
459 val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs)
460 return val
461 def IsRedirected(self, *_args, **_kwargs):
462 val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs)
463 return val
464 def Detach(self, *_args, **_kwargs):
465 val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs)
466 return val
467 def GetInputStream(self, *_args, **_kwargs):
468 val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs)
469 return val
470 def GetErrorStream(self, *_args, **_kwargs):
471 val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs)
472 return val
473 def GetOutputStream(self, *_args, **_kwargs):
474 val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs)
475 if val: val = wxOutputStreamPtr(val)
476 return val
477 def CloseOutput(self, *_args, **_kwargs):
478 val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs)
479 return val
480 def __repr__(self):
481 return "<C wxProcess instance at %s>" % (self.this,)
482class wxProcess(wxProcessPtr):
483 def __init__(self,*_args,**_kwargs):
484 self.this = apply(misc2c.new_wxProcess,_args,_kwargs)
485 self.thisown = 1
486 self._setSelf(self, wxProcess)
487
488
489
490
491class wxJoystickPtr(wxObjectPtr):
492 def __init__(self,this):
493 self.this = this
494 self.thisown = 0
495 def __del__(self,misc2c=misc2c):
496 if self.thisown == 1 :
497 misc2c.delete_wxJoystick(self)
498 def GetPosition(self, *_args, **_kwargs):
499 val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs)
500 if val: val = wxPointPtr(val) ; val.thisown = 1
501 return val
502 def GetZPosition(self, *_args, **_kwargs):
503 val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs)
504 return val
505 def GetButtonState(self, *_args, **_kwargs):
506 val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs)
507 return val
508 def GetPOVPosition(self, *_args, **_kwargs):
509 val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs)
510 return val
511 def GetPOVCTSPosition(self, *_args, **_kwargs):
512 val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs)
513 return val
514 def GetRudderPosition(self, *_args, **_kwargs):
515 val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs)
516 return val
517 def GetUPosition(self, *_args, **_kwargs):
518 val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs)
519 return val
520 def GetVPosition(self, *_args, **_kwargs):
521 val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs)
522 return val
523 def GetMovementThreshold(self, *_args, **_kwargs):
524 val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs)
525 return val
526 def SetMovementThreshold(self, *_args, **_kwargs):
527 val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs)
528 return val
529 def IsOk(self, *_args, **_kwargs):
530 val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs)
531 return val
532 def GetNumberJoysticks(self, *_args, **_kwargs):
533 val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs)
534 return val
535 def GetManufacturerId(self, *_args, **_kwargs):
536 val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs)
537 return val
538 def GetProductId(self, *_args, **_kwargs):
539 val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs)
540 return val
541 def GetProductName(self, *_args, **_kwargs):
542 val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs)
543 return val
544 def GetXMin(self, *_args, **_kwargs):
545 val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs)
546 return val
547 def GetYMin(self, *_args, **_kwargs):
548 val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs)
549 return val
550 def GetZMin(self, *_args, **_kwargs):
551 val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs)
552 return val
553 def GetXMax(self, *_args, **_kwargs):
554 val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs)
555 return val
556 def GetYMax(self, *_args, **_kwargs):
557 val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs)
558 return val
559 def GetZMax(self, *_args, **_kwargs):
560 val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs)
561 return val
562 def GetNumberButtons(self, *_args, **_kwargs):
563 val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs)
564 return val
565 def GetNumberAxes(self, *_args, **_kwargs):
566 val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs)
567 return val
568 def GetMaxButtons(self, *_args, **_kwargs):
569 val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs)
570 return val
571 def GetMaxAxes(self, *_args, **_kwargs):
572 val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs)
573 return val
574 def GetPollingMin(self, *_args, **_kwargs):
575 val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs)
576 return val
577 def GetPollingMax(self, *_args, **_kwargs):
578 val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs)
579 return val
580 def GetRudderMin(self, *_args, **_kwargs):
581 val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs)
582 return val
583 def GetRudderMax(self, *_args, **_kwargs):
584 val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs)
585 return val
586 def GetUMin(self, *_args, **_kwargs):
587 val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs)
588 return val
589 def GetUMax(self, *_args, **_kwargs):
590 val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs)
591 return val
592 def GetVMin(self, *_args, **_kwargs):
593 val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs)
594 return val
595 def GetVMax(self, *_args, **_kwargs):
596 val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs)
597 return val
598 def HasRudder(self, *_args, **_kwargs):
599 val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs)
600 return val
601 def HasZ(self, *_args, **_kwargs):
602 val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs)
603 return val
604 def HasU(self, *_args, **_kwargs):
605 val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs)
606 return val
607 def HasV(self, *_args, **_kwargs):
608 val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs)
609 return val
610 def HasPOV(self, *_args, **_kwargs):
611 val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs)
612 return val
613 def HasPOV4Dir(self, *_args, **_kwargs):
614 val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs)
615 return val
616 def HasPOVCTS(self, *_args, **_kwargs):
617 val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs)
618 return val
619 def SetCapture(self, *_args, **_kwargs):
620 val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs)
621 return val
622 def ReleaseCapture(self, *_args, **_kwargs):
623 val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs)
624 return val
625 def __repr__(self):
626 return "<C wxJoystick instance at %s>" % (self.this,)
627class wxJoystick(wxJoystickPtr):
628 def __init__(self,*_args,**_kwargs):
629 self.this = apply(misc2c.new_wxJoystick,_args,_kwargs)
630 self.thisown = 1
631
632
633
634
635class wxWavePtr(wxObjectPtr):
636 def __init__(self,this):
637 self.this = this
638 self.thisown = 0
639 def __del__(self,misc2c=misc2c):
640 if self.thisown == 1 :
641 misc2c.delete_wxWave(self)
642 def IsOk(self, *_args, **_kwargs):
643 val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs)
644 return val
645 def Play(self, *_args, **_kwargs):
646 val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs)
647 return val
648 def __repr__(self):
649 return "<C wxWave instance at %s>" % (self.this,)
650class wxWave(wxWavePtr):
651 def __init__(self,*_args,**_kwargs):
652 self.this = apply(misc2c.new_wxWave,_args,_kwargs)
653 self.thisown = 1
654
655
656
657
658
659
660#-------------- FUNCTION WRAPPERS ------------------
661
662wxFileSelector = misc2c.wxFileSelector
663
664wxGetTextFromUser = misc2c.wxGetTextFromUser
665
666wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
667
668wxGetSingleChoice = misc2c.wxGetSingleChoice
669
670wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
671
672wxMessageBox = misc2c.wxMessageBox
673
674wxGetNumberFromUser = misc2c.wxGetNumberFromUser
675
676wxColourDisplay = misc2c.wxColourDisplay
677
678wxDisplayDepth = misc2c.wxDisplayDepth
679
680wxGetDisplayDepth = misc2c.wxGetDisplayDepth
681
682wxDisplaySize = misc2c.wxDisplaySize
683
684def wxGetDisplaySize(*_args, **_kwargs):
685 val = apply(misc2c.wxGetDisplaySize,_args,_kwargs)
686 if val: val = wxSizePtr(val); val.thisown = 1
687 return val
688
689wxDisplaySizeMM = misc2c.wxDisplaySizeMM
690
691def wxGetDisplaySizeMM(*_args, **_kwargs):
692 val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs)
693 if val: val = wxSizePtr(val); val.thisown = 1
694 return val
695
696wxClientDisplayRect = misc2c.wxClientDisplayRect
697
698def wxGetClientDisplayRect(*_args, **_kwargs):
699 val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs)
700 if val: val = wxRectPtr(val); val.thisown = 1
701 return val
702
703wxSetCursor = misc2c.wxSetCursor
704
705def wxFindWindowByLabel(*_args, **_kwargs):
706 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
707 return val
708
709def wxFindWindowByName(*_args, **_kwargs):
710 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
711 return val
712
713wxBeginBusyCursor = misc2c.wxBeginBusyCursor
714
715def wxGetActiveWindow(*_args, **_kwargs):
716 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
717 return val
718
719def wxGenericFindWindowAtPoint(*_args, **_kwargs):
720 val = apply(misc2c.wxGenericFindWindowAtPoint,_args,_kwargs)
721 return val
722
723def wxFindWindowAtPoint(*_args, **_kwargs):
724 val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs)
725 return val
726
727wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
728
729wxResourceClear = misc2c.wxResourceClear
730
731def wxResourceCreateBitmap(*_args, **_kwargs):
732 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
733 if val: val = wxBitmapPtr(val); val.thisown = 1
734 return val
735
736def wxResourceCreateIcon(*_args, **_kwargs):
737 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
738 if val: val = wxIconPtr(val); val.thisown = 1
739 return val
740
741def wxResourceCreateMenuBar(*_args, **_kwargs):
742 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
743 return val
744
745wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
746
747wxResourceParseData = misc2c.wxResourceParseData
748
749wxResourceParseFile = misc2c.wxResourceParseFile
750
751wxResourceParseString = misc2c.wxResourceParseString
752
753def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
754 val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
755 if val: val = wxColourPtr(val); val.thisown = 1
756 return val
757
758def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
759 val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
760 if val: val = wxFontPtr(val); val.thisown = 1
761 return val
762
763wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
764
765wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
766
767wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
768
769wxSafeYield = misc2c.wxSafeYield
770
771wxPostEvent = misc2c.wxPostEvent
772
773wxWakeUpIdle = misc2c.wxWakeUpIdle
774
775wxMutexGuiEnter = misc2c.wxMutexGuiEnter
776
777wxMutexGuiLeave = misc2c.wxMutexGuiLeave
778
779wxThread_IsMain = misc2c.wxThread_IsMain
780
781wxShowTip = misc2c.wxShowTip
782
783def wxCreateFileTipProvider(*_args, **_kwargs):
784 val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs)
785 if val: val = wxTipProviderPtr(val); val.thisown = 1
786 return val
787
788def wxDragIcon(*_args, **_kwargs):
789 val = apply(misc2c.wxDragIcon,_args,_kwargs)
790 if val: val = wxDragImagePtr(val); val.thisown = 1
791 return val
792
793def wxDragString(*_args, **_kwargs):
794 val = apply(misc2c.wxDragString,_args,_kwargs)
795 if val: val = wxDragImagePtr(val); val.thisown = 1
796 return val
797
798def wxDragTreeItem(*_args, **_kwargs):
799 val = apply(misc2c.wxDragTreeItem,_args,_kwargs)
800 if val: val = wxDragImagePtr(val); val.thisown = 1
801 return val
802
803def wxDragListItem(*_args, **_kwargs):
804 val = apply(misc2c.wxDragListItem,_args,_kwargs)
805 if val: val = wxDragImagePtr(val); val.thisown = 1
806 return val
807
808wxSysErrorCode = misc2c.wxSysErrorCode
809
810wxSysErrorMsg = misc2c.wxSysErrorMsg
811
812wxLogFatalError = misc2c.wxLogFatalError
813
814wxLogError = misc2c.wxLogError
815
816wxLogWarning = misc2c.wxLogWarning
817
818wxLogMessage = misc2c.wxLogMessage
819
820wxLogInfo = misc2c.wxLogInfo
821
822wxLogVerbose = misc2c.wxLogVerbose
823
824wxLogStatus = misc2c.wxLogStatus
825
826wxLogStatusFrame = misc2c.wxLogStatusFrame
827
828wxLogSysError = misc2c.wxLogSysError
829
830wxExecute = misc2c.wxExecute
831
832def wxWaveData(*_args, **_kwargs):
833 val = apply(misc2c.wxWaveData,_args,_kwargs)
834 if val: val = wxWavePtr(val); val.thisown = 1
835 return val
836
837wxToolTip_Enable = misc2c.wxToolTip_Enable
838
839wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
840
841wxLog_IsEnabled = misc2c.wxLog_IsEnabled
842
843wxLog_EnableLogging = misc2c.wxLog_EnableLogging
844
845wxLog_OnLog = misc2c.wxLog_OnLog
846
847wxLog_FlushActive = misc2c.wxLog_FlushActive
848
849def wxLog_GetActiveTarget(*_args, **_kwargs):
850 val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs)
851 if val: val = wxLogPtr(val)
852 return val
853
854def wxLog_SetActiveTarget(*_args, **_kwargs):
855 val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs)
856 if val: val = wxLogPtr(val)
857 return val
858
859wxLog_Suspend = misc2c.wxLog_Suspend
860
861wxLog_Resume = misc2c.wxLog_Resume
862
863wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
864
865wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
866
867wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
868
869wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
870
871wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
872
873wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
874
875
876
877#-------------- VARIABLE WRAPPERS ------------------
878
879wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH
880wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH
881wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH
882wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH
883wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH
884wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH
885wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH
886wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN
887wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN
888wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN
889wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
890wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
891wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
892wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
893wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
894wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
895wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
896wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
897wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
898wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
899wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
900wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
901wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
902wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
903wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
904wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
905wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
906wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
907wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
908wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
909wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
910wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
911wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
912wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
913wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
914wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
915wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
916wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
917wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
918wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
919wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
920wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
921wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
922wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
923wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
924wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
925wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
926wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
927wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
928wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
929wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
930wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
931wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
932wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
933wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
934wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
935wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
936wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
937wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
938wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
939wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
940wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
941wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
942wxSYS_ICON_X = misc2c.wxSYS_ICON_X
943wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
944wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
945wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
946wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
947wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
948wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
949wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
950wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
951wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
952wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
953wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
954wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
955wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
956wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
957wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
958wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
959wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
960wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
961wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
962wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
963wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
964wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
965wxLOG_FatalError = misc2c.wxLOG_FatalError
966wxLOG_Error = misc2c.wxLOG_Error
967wxLOG_Warning = misc2c.wxLOG_Warning
968wxLOG_Message = misc2c.wxLOG_Message
969wxLOG_Info = misc2c.wxLOG_Info
970wxLOG_Status = misc2c.wxLOG_Status
971wxLOG_Debug = misc2c.wxLOG_Debug
972wxLOG_Trace = misc2c.wxLOG_Trace
973wxLOG_Progress = misc2c.wxLOG_Progress
974wxLOG_User = misc2c.wxLOG_User
975wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS