]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc2.py
Added wxDynamicSashWindow to wxPython, plus other odds and ends.
[wxWidgets.git] / wxPython / src / gtk / misc2.py
1 # This file was created automatically by SWIG.
2 import misc2c
3
4 from windows import *
5
6 from misc import *
7
8 from gdi import *
9
10 from clip_dnd import *
11
12 from events import *
13
14 from streams import *
15
16 from utils import *
17 class wxToolTipPtr(wxObjectPtr):
18 def __init__(self,this):
19 self.this = this
20 self.thisown = 0
21 def SetTip(self, *_args, **_kwargs):
22 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
23 return val
24 def GetTip(self, *_args, **_kwargs):
25 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
26 return val
27 def GetWindow(self, *_args, **_kwargs):
28 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
29 return val
30 def __repr__(self):
31 return "<C wxToolTip instance at %s>" % (self.this,)
32 class wxToolTip(wxToolTipPtr):
33 def __init__(self,*_args,**_kwargs):
34 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
35 self.thisown = 1
36
37
38
39
40 class wxCaretPtr :
41 def __init__(self,this):
42 self.this = this
43 self.thisown = 0
44 def __del__(self,misc2c=misc2c):
45 if self.thisown == 1 :
46 misc2c.delete_wxCaret(self)
47 def IsOk(self, *_args, **_kwargs):
48 val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs)
49 return val
50 def IsVisible(self, *_args, **_kwargs):
51 val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs)
52 return val
53 def GetPositionTuple(self, *_args, **_kwargs):
54 val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs)
55 return val
56 def GetPosition(self, *_args, **_kwargs):
57 val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs)
58 if val: val = wxPointPtr(val) ; val.thisown = 1
59 return val
60 def GetSizeTuple(self, *_args, **_kwargs):
61 val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs)
62 return val
63 def GetSize(self, *_args, **_kwargs):
64 val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs)
65 if val: val = wxSizePtr(val) ; val.thisown = 1
66 return val
67 def GetWindow(self, *_args, **_kwargs):
68 val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs)
69 return val
70 def MoveXY(self, *_args, **_kwargs):
71 val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs)
72 return val
73 def Move(self, *_args, **_kwargs):
74 val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs)
75 return val
76 def SetSizeWH(self, *_args, **_kwargs):
77 val = apply(misc2c.wxCaret_SetSizeWH,(self,) + _args, _kwargs)
78 return val
79 def SetSize(self, *_args, **_kwargs):
80 val = apply(misc2c.wxCaret_SetSize,(self,) + _args, _kwargs)
81 return val
82 def Show(self, *_args, **_kwargs):
83 val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs)
84 return val
85 def Hide(self, *_args, **_kwargs):
86 val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs)
87 return val
88 def __repr__(self):
89 return "<C wxCaret instance at %s>" % (self.this,)
90 class wxCaret(wxCaretPtr):
91 def __init__(self,*_args,**_kwargs):
92 self.this = apply(misc2c.new_wxCaret,_args,_kwargs)
93 self.thisown = 1
94
95
96
97
98 class wxFontEnumeratorPtr :
99 def __init__(self,this):
100 self.this = this
101 self.thisown = 0
102 def __del__(self,misc2c=misc2c):
103 if self.thisown == 1 :
104 misc2c.delete_wxFontEnumerator(self)
105 def _setCallbackInfo(self, *_args, **_kwargs):
106 val = apply(misc2c.wxFontEnumerator__setCallbackInfo,(self,) + _args, _kwargs)
107 return val
108 def EnumerateFacenames(self, *_args, **_kwargs):
109 val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs)
110 return val
111 def EnumerateEncodings(self, *_args, **_kwargs):
112 val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs)
113 return val
114 def GetEncodings(self, *_args, **_kwargs):
115 val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs)
116 return val
117 def GetFacenames(self, *_args, **_kwargs):
118 val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs)
119 return val
120 def __repr__(self):
121 return "<C wxFontEnumerator instance at %s>" % (self.this,)
122 class wxFontEnumerator(wxFontEnumeratorPtr):
123 def __init__(self,*_args,**_kwargs):
124 self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs)
125 self.thisown = 1
126 self._setCallbackInfo(self, wxFontEnumerator, 0)
127
128
129
130
131 class wxBusyCursorPtr :
132 def __init__(self,this):
133 self.this = this
134 self.thisown = 0
135 def __del__(self,misc2c=misc2c):
136 if self.thisown == 1 :
137 misc2c.delete_wxBusyCursor(self)
138 def __repr__(self):
139 return "<C wxBusyCursor instance at %s>" % (self.this,)
140 class wxBusyCursor(wxBusyCursorPtr):
141 def __init__(self,*_args,**_kwargs):
142 self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs)
143 self.thisown = 1
144
145
146
147
148 class wxWindowDisablerPtr :
149 def __init__(self,this):
150 self.this = this
151 self.thisown = 0
152 def __del__(self,misc2c=misc2c):
153 if self.thisown == 1 :
154 misc2c.delete_wxWindowDisabler(self)
155 def __repr__(self):
156 return "<C wxWindowDisabler instance at %s>" % (self.this,)
157 class wxWindowDisabler(wxWindowDisablerPtr):
158 def __init__(self,*_args,**_kwargs):
159 self.this = apply(misc2c.new_wxWindowDisabler,_args,_kwargs)
160 self.thisown = 1
161
162
163
164
165 class wxMutexGuiLockerPtr :
166 def __init__(self,this):
167 self.this = this
168 self.thisown = 0
169 def __del__(self,misc2c=misc2c):
170 if self.thisown == 1 :
171 misc2c.delete_wxMutexGuiLocker(self)
172 def __repr__(self):
173 return "<C wxMutexGuiLocker instance at %s>" % (self.this,)
174 class wxMutexGuiLocker(wxMutexGuiLockerPtr):
175 def __init__(self,*_args,**_kwargs):
176 self.this = apply(misc2c.new_wxMutexGuiLocker,_args,_kwargs)
177 self.thisown = 1
178
179
180
181
182 class wxTipProviderPtr :
183 def __init__(self,this):
184 self.this = this
185 self.thisown = 0
186 def __del__(self,misc2c=misc2c):
187 if self.thisown == 1 :
188 misc2c.delete_wxTipProvider(self)
189 def GetTip(self, *_args, **_kwargs):
190 val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs)
191 return val
192 def GetCurrentTip(self, *_args, **_kwargs):
193 val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs)
194 return val
195 def __repr__(self):
196 return "<C wxTipProvider instance at %s>" % (self.this,)
197 class wxTipProvider(wxTipProviderPtr):
198 def __init__(self,this):
199 self.this = this
200
201
202
203
204 class wxPyTipProviderPtr(wxTipProviderPtr):
205 def __init__(self,this):
206 self.this = this
207 self.thisown = 0
208 def __repr__(self):
209 return "<C wxPyTipProvider instance at %s>" % (self.this,)
210 class wxPyTipProvider(wxPyTipProviderPtr):
211 def __init__(self,*_args,**_kwargs):
212 self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs)
213 self.thisown = 1
214
215
216
217
218 class wxDragImagePtr(wxObjectPtr):
219 def __init__(self,this):
220 self.this = this
221 self.thisown = 0
222 def __del__(self,misc2c=misc2c):
223 if self.thisown == 1 :
224 misc2c.delete_wxDragImage(self)
225 def SetBackingBitmap(self, *_args, **_kwargs):
226 val = apply(misc2c.wxDragImage_SetBackingBitmap,(self,) + _args, _kwargs)
227 return val
228 def BeginDrag(self, *_args, **_kwargs):
229 val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs)
230 return val
231 def BeginDrag2(self, *_args, **_kwargs):
232 val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs)
233 return val
234 def EndDrag(self, *_args, **_kwargs):
235 val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs)
236 return val
237 def Move(self, *_args, **_kwargs):
238 val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs)
239 return val
240 def Show(self, *_args, **_kwargs):
241 val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs)
242 return val
243 def Hide(self, *_args, **_kwargs):
244 val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs)
245 return val
246 def GetImageRect(self, *_args, **_kwargs):
247 val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs)
248 if val: val = wxRectPtr(val) ; val.thisown = 1
249 return val
250 def RedrawImage(self, *_args, **_kwargs):
251 val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs)
252 return val
253 def __repr__(self):
254 return "<C wxDragImage instance at %s>" % (self.this,)
255 class wxDragImage(wxDragImagePtr):
256 def __init__(self,*_args,**_kwargs):
257 self.this = apply(misc2c.new_wxDragImage,_args,_kwargs)
258 self.thisown = 1
259
260
261
262 def wxDragIcon(*_args,**_kwargs):
263 val = wxDragImagePtr(apply(misc2c.new_wxDragIcon,_args,_kwargs))
264 val.thisown = 1
265 return val
266
267 def wxDragString(*_args,**_kwargs):
268 val = wxDragImagePtr(apply(misc2c.new_wxDragString,_args,_kwargs))
269 val.thisown = 1
270 return val
271
272 def wxDragTreeItem(*_args,**_kwargs):
273 val = wxDragImagePtr(apply(misc2c.new_wxDragTreeItem,_args,_kwargs))
274 val.thisown = 1
275 return val
276
277 def wxDragListItem(*_args,**_kwargs):
278 val = wxDragImagePtr(apply(misc2c.new_wxDragListItem,_args,_kwargs))
279 val.thisown = 1
280 return val
281
282
283 class wxPyTimerPtr(wxObjectPtr):
284 def __init__(self,this):
285 self.this = this
286 self.thisown = 0
287 def __del__(self,misc2c=misc2c):
288 if self.thisown == 1 :
289 misc2c.delete_wxPyTimer(self)
290 def GetInterval(self, *_args, **_kwargs):
291 val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs)
292 return val
293 def IsOneShot(self, *_args, **_kwargs):
294 val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs)
295 return val
296 def IsRunning(self, *_args, **_kwargs):
297 val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs)
298 return val
299 def SetOwner(self, *_args, **_kwargs):
300 val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs)
301 return val
302 def Start(self, *_args, **_kwargs):
303 val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs)
304 return val
305 def Stop(self, *_args, **_kwargs):
306 val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs)
307 return val
308 def __repr__(self):
309 return "<C wxPyTimer instance at %s>" % (self.this,)
310 class wxPyTimer(wxPyTimerPtr):
311 def __init__(self,*_args,**_kwargs):
312 self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs)
313 self.thisown = 1
314
315
316
317
318 class wxStopWatchPtr :
319 def __init__(self,this):
320 self.this = this
321 self.thisown = 0
322 def Start(self, *_args, **_kwargs):
323 val = apply(misc2c.wxStopWatch_Start,(self,) + _args, _kwargs)
324 return val
325 def Pause(self, *_args, **_kwargs):
326 val = apply(misc2c.wxStopWatch_Pause,(self,) + _args, _kwargs)
327 return val
328 def Resume(self, *_args, **_kwargs):
329 val = apply(misc2c.wxStopWatch_Resume,(self,) + _args, _kwargs)
330 return val
331 def Time(self, *_args, **_kwargs):
332 val = apply(misc2c.wxStopWatch_Time,(self,) + _args, _kwargs)
333 return val
334 def __repr__(self):
335 return "<C wxStopWatch instance at %s>" % (self.this,)
336 class wxStopWatch(wxStopWatchPtr):
337 def __init__(self,*_args,**_kwargs):
338 self.this = apply(misc2c.new_wxStopWatch,_args,_kwargs)
339 self.thisown = 1
340
341
342
343
344 class wxLogPtr :
345 def __init__(self,this):
346 self.this = this
347 self.thisown = 0
348 def Flush(self, *_args, **_kwargs):
349 val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs)
350 return val
351 def HasPendingMessages(self, *_args, **_kwargs):
352 val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
353 return val
354 def SetVerbose(self, *_args, **_kwargs):
355 val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs)
356 return val
357 def GetVerbose(self, *_args, **_kwargs):
358 val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
359 return val
360 def TimeStamp(self, *_args, **_kwargs):
361 val = apply(misc2c.wxLog_TimeStamp,(self,) + _args, _kwargs)
362 return val
363 def __repr__(self):
364 return "<C wxLog instance at %s>" % (self.this,)
365 class wxLog(wxLogPtr):
366 def __init__(self,*_args,**_kwargs):
367 self.this = apply(misc2c.new_wxLog,_args,_kwargs)
368 self.thisown = 1
369
370
371
372
373 class wxLogStderrPtr(wxLogPtr):
374 def __init__(self,this):
375 self.this = this
376 self.thisown = 0
377 def __repr__(self):
378 return "<C wxLogStderr instance at %s>" % (self.this,)
379 class wxLogStderr(wxLogStderrPtr):
380 def __init__(self,*_args,**_kwargs):
381 self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs)
382 self.thisown = 1
383
384
385
386
387 class wxLogTextCtrlPtr(wxLogPtr):
388 def __init__(self,this):
389 self.this = this
390 self.thisown = 0
391 def __repr__(self):
392 return "<C wxLogTextCtrl instance at %s>" % (self.this,)
393 class wxLogTextCtrl(wxLogTextCtrlPtr):
394 def __init__(self,*_args,**_kwargs):
395 self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs)
396 self.thisown = 1
397
398
399
400
401 class wxLogGuiPtr(wxLogPtr):
402 def __init__(self,this):
403 self.this = this
404 self.thisown = 0
405 def __repr__(self):
406 return "<C wxLogGui instance at %s>" % (self.this,)
407 class wxLogGui(wxLogGuiPtr):
408 def __init__(self,*_args,**_kwargs):
409 self.this = apply(misc2c.new_wxLogGui,_args,_kwargs)
410 self.thisown = 1
411
412
413
414
415 class wxLogWindowPtr(wxLogPtr):
416 def __init__(self,this):
417 self.this = this
418 self.thisown = 0
419 def Show(self, *_args, **_kwargs):
420 val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs)
421 return val
422 def GetFrame(self, *_args, **_kwargs):
423 val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs)
424 return val
425 def GetOldLog(self, *_args, **_kwargs):
426 val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs)
427 if val: val = wxLogPtr(val)
428 return val
429 def IsPassingMessages(self, *_args, **_kwargs):
430 val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs)
431 return val
432 def PassMessages(self, *_args, **_kwargs):
433 val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs)
434 return val
435 def __repr__(self):
436 return "<C wxLogWindow instance at %s>" % (self.this,)
437 class wxLogWindow(wxLogWindowPtr):
438 def __init__(self,*_args,**_kwargs):
439 self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs)
440 self.thisown = 1
441
442
443
444
445 class wxLogNullPtr :
446 def __init__(self,this):
447 self.this = this
448 self.thisown = 0
449 def __del__(self,misc2c=misc2c):
450 if self.thisown == 1 :
451 misc2c.delete_wxLogNull(self)
452 def __repr__(self):
453 return "<C wxLogNull instance at %s>" % (self.this,)
454 class wxLogNull(wxLogNullPtr):
455 def __init__(self,*_args,**_kwargs):
456 self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
457 self.thisown = 1
458
459
460
461
462 class wxLogChainPtr(wxLogPtr):
463 def __init__(self,this):
464 self.this = this
465 self.thisown = 0
466 def SetLog(self, *_args, **_kwargs):
467 val = apply(misc2c.wxLogChain_SetLog,(self,) + _args, _kwargs)
468 return val
469 def PassMessages(self, *_args, **_kwargs):
470 val = apply(misc2c.wxLogChain_PassMessages,(self,) + _args, _kwargs)
471 return val
472 def IsPassingMessages(self, *_args, **_kwargs):
473 val = apply(misc2c.wxLogChain_IsPassingMessages,(self,) + _args, _kwargs)
474 return val
475 def GetOldLog(self, *_args, **_kwargs):
476 val = apply(misc2c.wxLogChain_GetOldLog,(self,) + _args, _kwargs)
477 if val: val = wxLogPtr(val)
478 return val
479 def __repr__(self):
480 return "<C wxLogChain instance at %s>" % (self.this,)
481 class wxLogChain(wxLogChainPtr):
482 def __init__(self,*_args,**_kwargs):
483 self.this = apply(misc2c.new_wxLogChain,_args,_kwargs)
484 self.thisown = 1
485
486
487
488
489 class wxPyLogPtr(wxLogPtr):
490 def __init__(self,this):
491 self.this = this
492 self.thisown = 0
493 def _setCallbackInfo(self, *_args, **_kwargs):
494 val = apply(misc2c.wxPyLog__setCallbackInfo,(self,) + _args, _kwargs)
495 return val
496 def Destroy(self, *_args, **_kwargs):
497 val = apply(misc2c.wxPyLog_Destroy,(self,) + _args, _kwargs)
498 return val
499 def __repr__(self):
500 return "<C wxPyLog instance at %s>" % (self.this,)
501 class wxPyLog(wxPyLogPtr):
502 def __init__(self,*_args,**_kwargs):
503 self.this = apply(misc2c.new_wxPyLog,_args,_kwargs)
504 self.thisown = 1
505 self._setCallbackInfo(self, wxPyLog)
506
507
508
509
510 class wxProcessEventPtr(wxEventPtr):
511 def __init__(self,this):
512 self.this = this
513 self.thisown = 0
514 def GetPid(self, *_args, **_kwargs):
515 val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs)
516 return val
517 def GetExitCode(self, *_args, **_kwargs):
518 val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs)
519 return val
520 def __setattr__(self,name,value):
521 if name == "m_pid" :
522 misc2c.wxProcessEvent_m_pid_set(self,value)
523 return
524 if name == "m_exitcode" :
525 misc2c.wxProcessEvent_m_exitcode_set(self,value)
526 return
527 self.__dict__[name] = value
528 def __getattr__(self,name):
529 if name == "m_pid" :
530 return misc2c.wxProcessEvent_m_pid_get(self)
531 if name == "m_exitcode" :
532 return misc2c.wxProcessEvent_m_exitcode_get(self)
533 raise AttributeError,name
534 def __repr__(self):
535 return "<C wxProcessEvent instance at %s>" % (self.this,)
536 class wxProcessEvent(wxProcessEventPtr):
537 def __init__(self,*_args,**_kwargs):
538 self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs)
539 self.thisown = 1
540
541
542
543
544 class wxProcessPtr(wxEvtHandlerPtr):
545 def __init__(self,this):
546 self.this = this
547 self.thisown = 0
548 def Destroy(self, *_args, **_kwargs):
549 val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs)
550 return val
551 def _setCallbackInfo(self, *_args, **_kwargs):
552 val = apply(misc2c.wxProcess__setCallbackInfo,(self,) + _args, _kwargs)
553 return val
554 def base_OnTerminate(self, *_args, **_kwargs):
555 val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs)
556 return val
557 def Redirect(self, *_args, **_kwargs):
558 val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs)
559 return val
560 def IsRedirected(self, *_args, **_kwargs):
561 val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs)
562 return val
563 def Detach(self, *_args, **_kwargs):
564 val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs)
565 return val
566 def GetInputStream(self, *_args, **_kwargs):
567 val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs)
568 return val
569 def GetErrorStream(self, *_args, **_kwargs):
570 val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs)
571 return val
572 def GetOutputStream(self, *_args, **_kwargs):
573 val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs)
574 if val: val = wxOutputStreamPtr(val)
575 return val
576 def CloseOutput(self, *_args, **_kwargs):
577 val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs)
578 return val
579 def __repr__(self):
580 return "<C wxProcess instance at %s>" % (self.this,)
581 class wxProcess(wxProcessPtr):
582 def __init__(self,*_args,**_kwargs):
583 self.this = apply(misc2c.new_wxProcess,_args,_kwargs)
584 self.thisown = 1
585 self._setCallbackInfo(self, wxProcess)
586
587
588
589
590 class wxJoystickPtr(wxObjectPtr):
591 def __init__(self,this):
592 self.this = this
593 self.thisown = 0
594 def __del__(self,misc2c=misc2c):
595 if self.thisown == 1 :
596 misc2c.delete_wxJoystick(self)
597 def GetPosition(self, *_args, **_kwargs):
598 val = apply(misc2c.wxJoystick_GetPosition,(self,) + _args, _kwargs)
599 if val: val = wxPointPtr(val) ; val.thisown = 1
600 return val
601 def GetZPosition(self, *_args, **_kwargs):
602 val = apply(misc2c.wxJoystick_GetZPosition,(self,) + _args, _kwargs)
603 return val
604 def GetButtonState(self, *_args, **_kwargs):
605 val = apply(misc2c.wxJoystick_GetButtonState,(self,) + _args, _kwargs)
606 return val
607 def GetPOVPosition(self, *_args, **_kwargs):
608 val = apply(misc2c.wxJoystick_GetPOVPosition,(self,) + _args, _kwargs)
609 return val
610 def GetPOVCTSPosition(self, *_args, **_kwargs):
611 val = apply(misc2c.wxJoystick_GetPOVCTSPosition,(self,) + _args, _kwargs)
612 return val
613 def GetRudderPosition(self, *_args, **_kwargs):
614 val = apply(misc2c.wxJoystick_GetRudderPosition,(self,) + _args, _kwargs)
615 return val
616 def GetUPosition(self, *_args, **_kwargs):
617 val = apply(misc2c.wxJoystick_GetUPosition,(self,) + _args, _kwargs)
618 return val
619 def GetVPosition(self, *_args, **_kwargs):
620 val = apply(misc2c.wxJoystick_GetVPosition,(self,) + _args, _kwargs)
621 return val
622 def GetMovementThreshold(self, *_args, **_kwargs):
623 val = apply(misc2c.wxJoystick_GetMovementThreshold,(self,) + _args, _kwargs)
624 return val
625 def SetMovementThreshold(self, *_args, **_kwargs):
626 val = apply(misc2c.wxJoystick_SetMovementThreshold,(self,) + _args, _kwargs)
627 return val
628 def IsOk(self, *_args, **_kwargs):
629 val = apply(misc2c.wxJoystick_IsOk,(self,) + _args, _kwargs)
630 return val
631 def GetNumberJoysticks(self, *_args, **_kwargs):
632 val = apply(misc2c.wxJoystick_GetNumberJoysticks,(self,) + _args, _kwargs)
633 return val
634 def GetManufacturerId(self, *_args, **_kwargs):
635 val = apply(misc2c.wxJoystick_GetManufacturerId,(self,) + _args, _kwargs)
636 return val
637 def GetProductId(self, *_args, **_kwargs):
638 val = apply(misc2c.wxJoystick_GetProductId,(self,) + _args, _kwargs)
639 return val
640 def GetProductName(self, *_args, **_kwargs):
641 val = apply(misc2c.wxJoystick_GetProductName,(self,) + _args, _kwargs)
642 return val
643 def GetXMin(self, *_args, **_kwargs):
644 val = apply(misc2c.wxJoystick_GetXMin,(self,) + _args, _kwargs)
645 return val
646 def GetYMin(self, *_args, **_kwargs):
647 val = apply(misc2c.wxJoystick_GetYMin,(self,) + _args, _kwargs)
648 return val
649 def GetZMin(self, *_args, **_kwargs):
650 val = apply(misc2c.wxJoystick_GetZMin,(self,) + _args, _kwargs)
651 return val
652 def GetXMax(self, *_args, **_kwargs):
653 val = apply(misc2c.wxJoystick_GetXMax,(self,) + _args, _kwargs)
654 return val
655 def GetYMax(self, *_args, **_kwargs):
656 val = apply(misc2c.wxJoystick_GetYMax,(self,) + _args, _kwargs)
657 return val
658 def GetZMax(self, *_args, **_kwargs):
659 val = apply(misc2c.wxJoystick_GetZMax,(self,) + _args, _kwargs)
660 return val
661 def GetNumberButtons(self, *_args, **_kwargs):
662 val = apply(misc2c.wxJoystick_GetNumberButtons,(self,) + _args, _kwargs)
663 return val
664 def GetNumberAxes(self, *_args, **_kwargs):
665 val = apply(misc2c.wxJoystick_GetNumberAxes,(self,) + _args, _kwargs)
666 return val
667 def GetMaxButtons(self, *_args, **_kwargs):
668 val = apply(misc2c.wxJoystick_GetMaxButtons,(self,) + _args, _kwargs)
669 return val
670 def GetMaxAxes(self, *_args, **_kwargs):
671 val = apply(misc2c.wxJoystick_GetMaxAxes,(self,) + _args, _kwargs)
672 return val
673 def GetPollingMin(self, *_args, **_kwargs):
674 val = apply(misc2c.wxJoystick_GetPollingMin,(self,) + _args, _kwargs)
675 return val
676 def GetPollingMax(self, *_args, **_kwargs):
677 val = apply(misc2c.wxJoystick_GetPollingMax,(self,) + _args, _kwargs)
678 return val
679 def GetRudderMin(self, *_args, **_kwargs):
680 val = apply(misc2c.wxJoystick_GetRudderMin,(self,) + _args, _kwargs)
681 return val
682 def GetRudderMax(self, *_args, **_kwargs):
683 val = apply(misc2c.wxJoystick_GetRudderMax,(self,) + _args, _kwargs)
684 return val
685 def GetUMin(self, *_args, **_kwargs):
686 val = apply(misc2c.wxJoystick_GetUMin,(self,) + _args, _kwargs)
687 return val
688 def GetUMax(self, *_args, **_kwargs):
689 val = apply(misc2c.wxJoystick_GetUMax,(self,) + _args, _kwargs)
690 return val
691 def GetVMin(self, *_args, **_kwargs):
692 val = apply(misc2c.wxJoystick_GetVMin,(self,) + _args, _kwargs)
693 return val
694 def GetVMax(self, *_args, **_kwargs):
695 val = apply(misc2c.wxJoystick_GetVMax,(self,) + _args, _kwargs)
696 return val
697 def HasRudder(self, *_args, **_kwargs):
698 val = apply(misc2c.wxJoystick_HasRudder,(self,) + _args, _kwargs)
699 return val
700 def HasZ(self, *_args, **_kwargs):
701 val = apply(misc2c.wxJoystick_HasZ,(self,) + _args, _kwargs)
702 return val
703 def HasU(self, *_args, **_kwargs):
704 val = apply(misc2c.wxJoystick_HasU,(self,) + _args, _kwargs)
705 return val
706 def HasV(self, *_args, **_kwargs):
707 val = apply(misc2c.wxJoystick_HasV,(self,) + _args, _kwargs)
708 return val
709 def HasPOV(self, *_args, **_kwargs):
710 val = apply(misc2c.wxJoystick_HasPOV,(self,) + _args, _kwargs)
711 return val
712 def HasPOV4Dir(self, *_args, **_kwargs):
713 val = apply(misc2c.wxJoystick_HasPOV4Dir,(self,) + _args, _kwargs)
714 return val
715 def HasPOVCTS(self, *_args, **_kwargs):
716 val = apply(misc2c.wxJoystick_HasPOVCTS,(self,) + _args, _kwargs)
717 return val
718 def SetCapture(self, *_args, **_kwargs):
719 val = apply(misc2c.wxJoystick_SetCapture,(self,) + _args, _kwargs)
720 return val
721 def ReleaseCapture(self, *_args, **_kwargs):
722 val = apply(misc2c.wxJoystick_ReleaseCapture,(self,) + _args, _kwargs)
723 return val
724 def __repr__(self):
725 return "<C wxJoystick instance at %s>" % (self.this,)
726 class wxJoystick(wxJoystickPtr):
727 def __init__(self,*_args,**_kwargs):
728 self.this = apply(misc2c.new_wxJoystick,_args,_kwargs)
729 self.thisown = 1
730
731
732
733
734 class wxWavePtr(wxObjectPtr):
735 def __init__(self,this):
736 self.this = this
737 self.thisown = 0
738 def __del__(self,misc2c=misc2c):
739 if self.thisown == 1 :
740 misc2c.delete_wxWave(self)
741 def IsOk(self, *_args, **_kwargs):
742 val = apply(misc2c.wxWave_IsOk,(self,) + _args, _kwargs)
743 return val
744 def Play(self, *_args, **_kwargs):
745 val = apply(misc2c.wxWave_Play,(self,) + _args, _kwargs)
746 return val
747 def __repr__(self):
748 return "<C wxWave instance at %s>" % (self.this,)
749 class wxWave(wxWavePtr):
750 def __init__(self,*_args,**_kwargs):
751 self.this = apply(misc2c.new_wxWave,_args,_kwargs)
752 self.thisown = 1
753
754
755
756
757 class wxFileTypeInfoPtr :
758 def __init__(self,this):
759 self.this = this
760 self.thisown = 0
761 def IsValid(self, *_args, **_kwargs):
762 val = apply(misc2c.wxFileTypeInfo_IsValid,(self,) + _args, _kwargs)
763 return val
764 def SetIcon(self, *_args, **_kwargs):
765 val = apply(misc2c.wxFileTypeInfo_SetIcon,(self,) + _args, _kwargs)
766 return val
767 def SetShortDesc(self, *_args, **_kwargs):
768 val = apply(misc2c.wxFileTypeInfo_SetShortDesc,(self,) + _args, _kwargs)
769 return val
770 def GetMimeType(self, *_args, **_kwargs):
771 val = apply(misc2c.wxFileTypeInfo_GetMimeType,(self,) + _args, _kwargs)
772 return val
773 def GetOpenCommand(self, *_args, **_kwargs):
774 val = apply(misc2c.wxFileTypeInfo_GetOpenCommand,(self,) + _args, _kwargs)
775 return val
776 def GetPrintCommand(self, *_args, **_kwargs):
777 val = apply(misc2c.wxFileTypeInfo_GetPrintCommand,(self,) + _args, _kwargs)
778 return val
779 def GetShortDesc(self, *_args, **_kwargs):
780 val = apply(misc2c.wxFileTypeInfo_GetShortDesc,(self,) + _args, _kwargs)
781 return val
782 def GetDescription(self, *_args, **_kwargs):
783 val = apply(misc2c.wxFileTypeInfo_GetDescription,(self,) + _args, _kwargs)
784 return val
785 def GetExtensions(self, *_args, **_kwargs):
786 val = apply(misc2c.wxFileTypeInfo_GetExtensions,(self,) + _args, _kwargs)
787 return val
788 def GetExtensionsCount(self, *_args, **_kwargs):
789 val = apply(misc2c.wxFileTypeInfo_GetExtensionsCount,(self,) + _args, _kwargs)
790 return val
791 def GetIconFile(self, *_args, **_kwargs):
792 val = apply(misc2c.wxFileTypeInfo_GetIconFile,(self,) + _args, _kwargs)
793 return val
794 def GetIconIndex(self, *_args, **_kwargs):
795 val = apply(misc2c.wxFileTypeInfo_GetIconIndex,(self,) + _args, _kwargs)
796 return val
797 def __repr__(self):
798 return "<C wxFileTypeInfo instance at %s>" % (self.this,)
799 class wxFileTypeInfo(wxFileTypeInfoPtr):
800 def __init__(self,*_args,**_kwargs):
801 self.this = apply(misc2c.new_wxFileTypeInfo,_args,_kwargs)
802 self.thisown = 1
803
804
805
806 def wxFileTypeInfoSequence(*_args,**_kwargs):
807 val = wxFileTypeInfoPtr(apply(misc2c.new_wxFileTypeInfoSequence,_args,_kwargs))
808 val.thisown = 1
809 return val
810
811 def wxNullFileTypeInfo(*_args,**_kwargs):
812 val = wxFileTypeInfoPtr(apply(misc2c.new_wxNullFileTypeInfo,_args,_kwargs))
813 val.thisown = 1
814 return val
815
816
817 class wxFileTypePtr :
818 def __init__(self,this):
819 self.this = this
820 self.thisown = 0
821 def GetMimeType(self, *_args, **_kwargs):
822 val = apply(misc2c.wxFileType_GetMimeType,(self,) + _args, _kwargs)
823 return val
824 def GetMimeTypes(self, *_args, **_kwargs):
825 val = apply(misc2c.wxFileType_GetMimeTypes,(self,) + _args, _kwargs)
826 return val
827 def GetExtensions(self, *_args, **_kwargs):
828 val = apply(misc2c.wxFileType_GetExtensions,(self,) + _args, _kwargs)
829 return val
830 def GetIcon(self, *_args, **_kwargs):
831 val = apply(misc2c.wxFileType_GetIcon,(self,) + _args, _kwargs)
832 if val: val = wxIconPtr(val) ; val.thisown = 1
833 return val
834 def GetIconInfo(self, *_args, **_kwargs):
835 val = apply(misc2c.wxFileType_GetIconInfo,(self,) + _args, _kwargs)
836 return val
837 def GetDescription(self, *_args, **_kwargs):
838 val = apply(misc2c.wxFileType_GetDescription,(self,) + _args, _kwargs)
839 return val
840 def GetOpenCommand(self, *_args, **_kwargs):
841 val = apply(misc2c.wxFileType_GetOpenCommand,(self,) + _args, _kwargs)
842 return val
843 def GetPrintCommand(self, *_args, **_kwargs):
844 val = apply(misc2c.wxFileType_GetPrintCommand,(self,) + _args, _kwargs)
845 return val
846 def GetAllCommands(self, *_args, **_kwargs):
847 val = apply(misc2c.wxFileType_GetAllCommands,(self,) + _args, _kwargs)
848 return val
849 def SetCommand(self, *_args, **_kwargs):
850 val = apply(misc2c.wxFileType_SetCommand,(self,) + _args, _kwargs)
851 return val
852 def SetDefaultIcon(self, *_args, **_kwargs):
853 val = apply(misc2c.wxFileType_SetDefaultIcon,(self,) + _args, _kwargs)
854 return val
855 def Unassociate(self, *_args, **_kwargs):
856 val = apply(misc2c.wxFileType_Unassociate,(self,) + _args, _kwargs)
857 return val
858 def __del__(self,misc2c=misc2c):
859 if self.thisown == 1 :
860 misc2c.delete_wxFileType(self)
861 def __repr__(self):
862 return "<C wxFileType instance at %s>" % (self.this,)
863 class wxFileType(wxFileTypePtr):
864 def __init__(self,*_args,**_kwargs):
865 self.this = apply(misc2c.new_wxFileType,_args,_kwargs)
866 self.thisown = 1
867
868
869
870
871 class wxMimeTypesManagerPtr :
872 def __init__(self,this):
873 self.this = this
874 self.thisown = 0
875 def Initialize(self, *_args, **_kwargs):
876 val = apply(misc2c.wxMimeTypesManager_Initialize,(self,) + _args, _kwargs)
877 return val
878 def ClearData(self, *_args, **_kwargs):
879 val = apply(misc2c.wxMimeTypesManager_ClearData,(self,) + _args, _kwargs)
880 return val
881 def GetFileTypeFromExtension(self, *_args, **_kwargs):
882 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromExtension,(self,) + _args, _kwargs)
883 if val: val = wxFileTypePtr(val) ; val.thisown = 1
884 return val
885 def GetFileTypeFromMimeType(self, *_args, **_kwargs):
886 val = apply(misc2c.wxMimeTypesManager_GetFileTypeFromMimeType,(self,) + _args, _kwargs)
887 if val: val = wxFileTypePtr(val) ; val.thisown = 1
888 return val
889 def ReadMailcap(self, *_args, **_kwargs):
890 val = apply(misc2c.wxMimeTypesManager_ReadMailcap,(self,) + _args, _kwargs)
891 return val
892 def ReadMimeTypes(self, *_args, **_kwargs):
893 val = apply(misc2c.wxMimeTypesManager_ReadMimeTypes,(self,) + _args, _kwargs)
894 return val
895 def EnumAllFileTypes(self, *_args, **_kwargs):
896 val = apply(misc2c.wxMimeTypesManager_EnumAllFileTypes,(self,) + _args, _kwargs)
897 return val
898 def AddFallback(self, *_args, **_kwargs):
899 val = apply(misc2c.wxMimeTypesManager_AddFallback,(self,) + _args, _kwargs)
900 return val
901 def Associate(self, *_args, **_kwargs):
902 val = apply(misc2c.wxMimeTypesManager_Associate,(self,) + _args, _kwargs)
903 if val: val = wxFileTypePtr(val) ; val.thisown = 1
904 return val
905 def Unassociate(self, *_args, **_kwargs):
906 val = apply(misc2c.wxMimeTypesManager_Unassociate,(self,) + _args, _kwargs)
907 return val
908 def __del__(self,misc2c=misc2c):
909 if self.thisown == 1 :
910 misc2c.delete_wxMimeTypesManager(self)
911 def __repr__(self):
912 return "<C wxMimeTypesManager instance at %s>" % (self.this,)
913 class wxMimeTypesManager(wxMimeTypesManagerPtr):
914 def __init__(self,*_args,**_kwargs):
915 self.this = apply(misc2c.new_wxMimeTypesManager,_args,_kwargs)
916 self.thisown = 1
917
918
919
920
921 class wxFileHistoryPtr(wxObjectPtr):
922 def __init__(self,this):
923 self.this = this
924 self.thisown = 0
925 def __del__(self,misc2c=misc2c):
926 if self.thisown == 1 :
927 misc2c.delete_wxFileHistory(self)
928 def AddFileToHistory(self, *_args, **_kwargs):
929 val = apply(misc2c.wxFileHistory_AddFileToHistory,(self,) + _args, _kwargs)
930 return val
931 def RemoveFileFromHistory(self, *_args, **_kwargs):
932 val = apply(misc2c.wxFileHistory_RemoveFileFromHistory,(self,) + _args, _kwargs)
933 return val
934 def GetMaxFiles(self, *_args, **_kwargs):
935 val = apply(misc2c.wxFileHistory_GetMaxFiles,(self,) + _args, _kwargs)
936 return val
937 def UseMenu(self, *_args, **_kwargs):
938 val = apply(misc2c.wxFileHistory_UseMenu,(self,) + _args, _kwargs)
939 return val
940 def RemoveMenu(self, *_args, **_kwargs):
941 val = apply(misc2c.wxFileHistory_RemoveMenu,(self,) + _args, _kwargs)
942 return val
943 def Load(self, *_args, **_kwargs):
944 val = apply(misc2c.wxFileHistory_Load,(self,) + _args, _kwargs)
945 return val
946 def Save(self, *_args, **_kwargs):
947 val = apply(misc2c.wxFileHistory_Save,(self,) + _args, _kwargs)
948 return val
949 def AddFilesToMenu(self, *_args, **_kwargs):
950 val = apply(misc2c.wxFileHistory_AddFilesToMenu,(self,) + _args, _kwargs)
951 return val
952 def AddFilesToSingleMenu(self, *_args, **_kwargs):
953 val = apply(misc2c.wxFileHistory_AddFilesToSingleMenu,(self,) + _args, _kwargs)
954 return val
955 def GetHistoryFile(self, *_args, **_kwargs):
956 val = apply(misc2c.wxFileHistory_GetHistoryFile,(self,) + _args, _kwargs)
957 return val
958 def GetCount(self, *_args, **_kwargs):
959 val = apply(misc2c.wxFileHistory_GetCount,(self,) + _args, _kwargs)
960 return val
961 def GetNoHistoryFiles(self, *_args, **_kwargs):
962 val = apply(misc2c.wxFileHistory_GetNoHistoryFiles,(self,) + _args, _kwargs)
963 return val
964 def __repr__(self):
965 return "<C wxFileHistory instance at %s>" % (self.this,)
966 class wxFileHistory(wxFileHistoryPtr):
967 def __init__(self,*_args,**_kwargs):
968 self.this = apply(misc2c.new_wxFileHistory,_args,_kwargs)
969 self.thisown = 1
970
971
972
973
974
975
976 #-------------- FUNCTION WRAPPERS ------------------
977
978 wxFileSelector = misc2c.wxFileSelector
979
980 wxGetTextFromUser = misc2c.wxGetTextFromUser
981
982 wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
983
984 wxGetSingleChoice = misc2c.wxGetSingleChoice
985
986 wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
987
988 wxMessageBox = misc2c.wxMessageBox
989
990 wxGetNumberFromUser = misc2c.wxGetNumberFromUser
991
992 wxColourDisplay = misc2c.wxColourDisplay
993
994 wxDisplayDepth = misc2c.wxDisplayDepth
995
996 wxGetDisplayDepth = misc2c.wxGetDisplayDepth
997
998 wxDisplaySize = misc2c.wxDisplaySize
999
1000 def wxGetDisplaySize(*_args, **_kwargs):
1001 val = apply(misc2c.wxGetDisplaySize,_args,_kwargs)
1002 if val: val = wxSizePtr(val); val.thisown = 1
1003 return val
1004
1005 wxDisplaySizeMM = misc2c.wxDisplaySizeMM
1006
1007 def wxGetDisplaySizeMM(*_args, **_kwargs):
1008 val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs)
1009 if val: val = wxSizePtr(val); val.thisown = 1
1010 return val
1011
1012 wxClientDisplayRect = misc2c.wxClientDisplayRect
1013
1014 def wxGetClientDisplayRect(*_args, **_kwargs):
1015 val = apply(misc2c.wxGetClientDisplayRect,_args,_kwargs)
1016 if val: val = wxRectPtr(val); val.thisown = 1
1017 return val
1018
1019 wxSetCursor = misc2c.wxSetCursor
1020
1021 def wxFindWindowByLabel(*_args, **_kwargs):
1022 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
1023 return val
1024
1025 def wxFindWindowByName(*_args, **_kwargs):
1026 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
1027 return val
1028
1029 wxBeginBusyCursor = misc2c.wxBeginBusyCursor
1030
1031 def wxGetActiveWindow(*_args, **_kwargs):
1032 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
1033 return val
1034
1035 def wxGenericFindWindowAtPoint(*_args, **_kwargs):
1036 val = apply(misc2c.wxGenericFindWindowAtPoint,_args,_kwargs)
1037 return val
1038
1039 def wxFindWindowAtPoint(*_args, **_kwargs):
1040 val = apply(misc2c.wxFindWindowAtPoint,_args,_kwargs)
1041 return val
1042
1043 wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
1044
1045 wxResourceClear = misc2c.wxResourceClear
1046
1047 def wxResourceCreateBitmap(*_args, **_kwargs):
1048 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
1049 if val: val = wxBitmapPtr(val); val.thisown = 1
1050 return val
1051
1052 def wxResourceCreateIcon(*_args, **_kwargs):
1053 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
1054 if val: val = wxIconPtr(val); val.thisown = 1
1055 return val
1056
1057 def wxResourceCreateMenuBar(*_args, **_kwargs):
1058 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
1059 return val
1060
1061 wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
1062
1063 wxResourceParseData = misc2c.wxResourceParseData
1064
1065 wxResourceParseFile = misc2c.wxResourceParseFile
1066
1067 wxResourceParseString = misc2c.wxResourceParseString
1068
1069 def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
1070 val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
1071 if val: val = wxColourPtr(val); val.thisown = 1
1072 return val
1073
1074 def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
1075 val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
1076 if val: val = wxFontPtr(val); val.thisown = 1
1077 return val
1078
1079 wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
1080
1081 wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
1082
1083 wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
1084
1085 wxSafeYield = misc2c.wxSafeYield
1086
1087 wxPostEvent = misc2c.wxPostEvent
1088
1089 wxWakeUpIdle = misc2c.wxWakeUpIdle
1090
1091 wxMutexGuiEnter = misc2c.wxMutexGuiEnter
1092
1093 wxMutexGuiLeave = misc2c.wxMutexGuiLeave
1094
1095 wxThread_IsMain = misc2c.wxThread_IsMain
1096
1097 wxShowTip = misc2c.wxShowTip
1098
1099 def wxCreateFileTipProvider(*_args, **_kwargs):
1100 val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs)
1101 if val: val = wxTipProviderPtr(val); val.thisown = 1
1102 return val
1103
1104 wxSysErrorCode = misc2c.wxSysErrorCode
1105
1106 wxSysErrorMsg = misc2c.wxSysErrorMsg
1107
1108 wxLogFatalError = misc2c.wxLogFatalError
1109
1110 wxLogError = misc2c.wxLogError
1111
1112 wxLogWarning = misc2c.wxLogWarning
1113
1114 wxLogMessage = misc2c.wxLogMessage
1115
1116 wxLogInfo = misc2c.wxLogInfo
1117
1118 wxLogVerbose = misc2c.wxLogVerbose
1119
1120 wxLogStatus = misc2c.wxLogStatus
1121
1122 wxLogStatusFrame = misc2c.wxLogStatusFrame
1123
1124 wxLogSysError = misc2c.wxLogSysError
1125
1126 wxExecute = misc2c.wxExecute
1127
1128 def wxWaveData(*_args, **_kwargs):
1129 val = apply(misc2c.wxWaveData,_args,_kwargs)
1130 if val: val = wxWavePtr(val); val.thisown = 1
1131 return val
1132
1133 wxToolTip_Enable = misc2c.wxToolTip_Enable
1134
1135 wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
1136
1137 wxLog_IsEnabled = misc2c.wxLog_IsEnabled
1138
1139 wxLog_EnableLogging = misc2c.wxLog_EnableLogging
1140
1141 wxLog_OnLog = misc2c.wxLog_OnLog
1142
1143 wxLog_FlushActive = misc2c.wxLog_FlushActive
1144
1145 def wxLog_GetActiveTarget(*_args, **_kwargs):
1146 val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs)
1147 if val: val = wxLogPtr(val)
1148 return val
1149
1150 def wxLog_SetActiveTarget(*_args, **_kwargs):
1151 val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs)
1152 if val: val = wxLogPtr(val)
1153 return val
1154
1155 wxLog_Suspend = misc2c.wxLog_Suspend
1156
1157 wxLog_Resume = misc2c.wxLog_Resume
1158
1159 wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
1160
1161 wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
1162
1163 wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
1164
1165 wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
1166
1167 wxLog_ClearTraceMasks = misc2c.wxLog_ClearTraceMasks
1168
1169 wxLog_SetTimestamp = misc2c.wxLog_SetTimestamp
1170
1171 wxLog_GetTimestamp = misc2c.wxLog_GetTimestamp
1172
1173 wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
1174
1175 wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
1176
1177 wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand
1178
1179 wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType
1180
1181
1182
1183 #-------------- VARIABLE WRAPPERS ------------------
1184
1185 wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH
1186 wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH
1187 wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH
1188 wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH
1189 wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH
1190 wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH
1191 wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH
1192 wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN
1193 wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN
1194 wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN
1195 wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
1196 wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
1197 wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
1198 wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
1199 wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
1200 wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
1201 wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
1202 wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
1203 wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
1204 wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
1205 wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
1206 wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
1207 wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
1208 wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
1209 wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
1210 wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
1211 wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
1212 wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
1213 wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
1214 wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
1215 wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
1216 wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
1217 wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
1218 wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
1219 wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
1220 wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
1221 wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
1222 wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
1223 wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
1224 wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
1225 wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
1226 wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
1227 wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
1228 wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
1229 wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
1230 wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
1231 wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
1232 wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
1233 wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
1234 wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
1235 wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
1236 wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
1237 wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
1238 wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
1239 wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
1240 wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
1241 wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
1242 wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
1243 wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
1244 wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
1245 wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
1246 wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
1247 wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
1248 wxSYS_ICON_X = misc2c.wxSYS_ICON_X
1249 wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
1250 wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
1251 wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
1252 wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
1253 wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
1254 wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
1255 wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
1256 wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
1257 wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
1258 wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
1259 wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
1260 wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
1261 wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
1262 wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
1263 wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
1264 wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
1265 wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
1266 wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
1267 wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
1268 wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
1269 wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
1270 wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
1271 wxLOG_FatalError = misc2c.wxLOG_FatalError
1272 wxLOG_Error = misc2c.wxLOG_Error
1273 wxLOG_Warning = misc2c.wxLOG_Warning
1274 wxLOG_Message = misc2c.wxLOG_Message
1275 wxLOG_Info = misc2c.wxLOG_Info
1276 wxLOG_Status = misc2c.wxLOG_Status
1277 wxLOG_Debug = misc2c.wxLOG_Debug
1278 wxLOG_Trace = misc2c.wxLOG_Trace
1279 wxLOG_Progress = misc2c.wxLOG_Progress
1280 wxLOG_User = misc2c.wxLOG_User
1281 wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS
1282 wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD
1283 wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE
1284 wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE
1285 wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME
1286 wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL
1287 cvar = misc2c.cvar
1288 wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager)