]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/misc2.py
typo fixed
[wxWidgets.git] / wxPython / src / gtk / misc2.py
CommitLineData
d24a34bb
RD
1# This file was created automatically by SWIG.
2import misc2c
3
4from windows import *
5
6from misc import *
7
8from gdi import *
4120ef2b
RD
9
10from clip_dnd import *
11
12from events import *
c368d904
RD
13
14from streams import *
d24a34bb
RD
15class wxToolTipPtr :
16 def __init__(self,this):
17 self.this = this
18 self.thisown = 0
2d091820
RD
19 def SetTip(self, *_args, **_kwargs):
20 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
d24a34bb 21 return val
2d091820
RD
22 def GetTip(self, *_args, **_kwargs):
23 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
d24a34bb 24 return val
2d091820
RD
25 def GetWindow(self, *_args, **_kwargs):
26 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
27 if val: val = wxWindowPtr(val)
d24a34bb
RD
28 return val
29 def __repr__(self):
2d091820 30 return "<C wxToolTip instance at %s>" % (self.this,)
d24a34bb 31class wxToolTip(wxToolTipPtr):
2d091820
RD
32 def __init__(self,*_args,**_kwargs):
33 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
d24a34bb
RD
34 self.thisown = 1
35
36
37
38
8f17924e
RD
39class wxCaretPtr :
40 def __init__(self,this):
41 self.this = this
42 self.thisown = 0
43 def __del__(self,misc2c=misc2c):
44 if self.thisown == 1 :
45 misc2c.delete_wxCaret(self)
46 def IsOk(self, *_args, **_kwargs):
47 val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs)
48 return val
49 def IsVisible(self, *_args, **_kwargs):
50 val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs)
51 return val
52 def GetPositionTuple(self, *_args, **_kwargs):
53 val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs)
54 return val
55 def GetPosition(self, *_args, **_kwargs):
56 val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs)
57 if val: val = wxPointPtr(val) ; val.thisown = 1
58 return val
59 def GetSizeTuple(self, *_args, **_kwargs):
60 val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs)
61 return val
62 def GetSize(self, *_args, **_kwargs):
63 val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs)
64 if val: val = wxSizePtr(val) ; val.thisown = 1
65 return val
66 def GetWindow(self, *_args, **_kwargs):
67 val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs)
68 if val: val = wxWindowPtr(val)
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
e02c03a4
RD
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
8f17924e
RD
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
8f17924e
RD
88 def __repr__(self):
89 return "<C wxCaret instance at %s>" % (self.this,)
90class 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
4120ef2b
RD
98class 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 _setSelf(self, *_args, **_kwargs):
106 val = apply(misc2c.wxFontEnumerator__setSelf,(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,)
122class wxFontEnumerator(wxFontEnumeratorPtr):
123 def __init__(self,*_args,**_kwargs):
124 self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs)
125 self.thisown = 1
f6bcfd97 126 self._setSelf(self, wxFontEnumerator)
4120ef2b
RD
127
128
129
130
131class 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,)
140class 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
c368d904
RD
148class 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,)
157class 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
f6bcfd97
BP
165class wxTipProviderPtr :
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_wxTipProvider(self)
172 def GetTip(self, *_args, **_kwargs):
173 val = apply(misc2c.wxTipProvider_GetTip,(self,) + _args, _kwargs)
174 return val
175 def GetCurrentTip(self, *_args, **_kwargs):
176 val = apply(misc2c.wxTipProvider_GetCurrentTip,(self,) + _args, _kwargs)
177 return val
178 def __repr__(self):
179 return "<C wxTipProvider instance at %s>" % (self.this,)
180class wxTipProvider(wxTipProviderPtr):
181 def __init__(self,this):
182 self.this = this
183
184
185
186
187class wxPyTipProviderPtr(wxTipProviderPtr):
188 def __init__(self,this):
189 self.this = this
190 self.thisown = 0
191 def __repr__(self):
192 return "<C wxPyTipProvider instance at %s>" % (self.this,)
193class wxPyTipProvider(wxPyTipProviderPtr):
194 def __init__(self,*_args,**_kwargs):
195 self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs)
196 self.thisown = 1
197
198
199
200
201class wxDragImagePtr :
202 def __init__(self,this):
203 self.this = this
204 self.thisown = 0
205 def __del__(self,misc2c=misc2c):
206 if self.thisown == 1 :
207 misc2c.delete_wxDragImage(self)
208 def BeginDrag(self, *_args, **_kwargs):
209 val = apply(misc2c.wxDragImage_BeginDrag,(self,) + _args, _kwargs)
210 return val
211 def BeginDrag2(self, *_args, **_kwargs):
212 val = apply(misc2c.wxDragImage_BeginDrag2,(self,) + _args, _kwargs)
213 return val
214 def EndDrag(self, *_args, **_kwargs):
215 val = apply(misc2c.wxDragImage_EndDrag,(self,) + _args, _kwargs)
216 return val
217 def Move(self, *_args, **_kwargs):
218 val = apply(misc2c.wxDragImage_Move,(self,) + _args, _kwargs)
219 return val
220 def Show(self, *_args, **_kwargs):
221 val = apply(misc2c.wxDragImage_Show,(self,) + _args, _kwargs)
222 return val
223 def Hide(self, *_args, **_kwargs):
224 val = apply(misc2c.wxDragImage_Hide,(self,) + _args, _kwargs)
225 return val
226 def GetImageRect(self, *_args, **_kwargs):
227 val = apply(misc2c.wxDragImage_GetImageRect,(self,) + _args, _kwargs)
228 if val: val = wxRectPtr(val) ; val.thisown = 1
229 return val
230 def RedrawImage(self, *_args, **_kwargs):
231 val = apply(misc2c.wxDragImage_RedrawImage,(self,) + _args, _kwargs)
232 return val
233 def __repr__(self):
234 return "<C wxDragImage instance at %s>" % (self.this,)
235class wxDragImage(wxDragImagePtr):
236 def __init__(self,*_args,**_kwargs):
237 self.this = apply(misc2c.new_wxDragImage,_args,_kwargs)
238 self.thisown = 1
239
240
241
242
243class wxPyTimerPtr :
244 def __init__(self,this):
245 self.this = this
246 self.thisown = 0
247 def __del__(self,misc2c=misc2c):
248 if self.thisown == 1 :
249 misc2c.delete_wxPyTimer(self)
250 def GetInterval(self, *_args, **_kwargs):
251 val = apply(misc2c.wxPyTimer_GetInterval,(self,) + _args, _kwargs)
252 return val
253 def IsOneShot(self, *_args, **_kwargs):
254 val = apply(misc2c.wxPyTimer_IsOneShot,(self,) + _args, _kwargs)
255 return val
256 def IsRunning(self, *_args, **_kwargs):
257 val = apply(misc2c.wxPyTimer_IsRunning,(self,) + _args, _kwargs)
258 return val
259 def SetOwner(self, *_args, **_kwargs):
260 val = apply(misc2c.wxPyTimer_SetOwner,(self,) + _args, _kwargs)
261 return val
262 def Start(self, *_args, **_kwargs):
263 val = apply(misc2c.wxPyTimer_Start,(self,) + _args, _kwargs)
264 return val
265 def Stop(self, *_args, **_kwargs):
266 val = apply(misc2c.wxPyTimer_Stop,(self,) + _args, _kwargs)
267 return val
268 def __repr__(self):
269 return "<C wxPyTimer instance at %s>" % (self.this,)
270class wxPyTimer(wxPyTimerPtr):
271 def __init__(self,*_args,**_kwargs):
272 self.this = apply(misc2c.new_wxPyTimer,_args,_kwargs)
273 self.thisown = 1
274
275
276
277
278class wxLogPtr :
279 def __init__(self,this):
280 self.this = this
281 self.thisown = 0
282 def Flush(self, *_args, **_kwargs):
283 val = apply(misc2c.wxLog_Flush,(self,) + _args, _kwargs)
284 return val
285 def HasPendingMessages(self, *_args, **_kwargs):
286 val = apply(misc2c.wxLog_HasPendingMessages,(self,) + _args, _kwargs)
287 return val
288 def SetVerbose(self, *_args, **_kwargs):
289 val = apply(misc2c.wxLog_SetVerbose,(self,) + _args, _kwargs)
290 return val
291 def GetVerbose(self, *_args, **_kwargs):
292 val = apply(misc2c.wxLog_GetVerbose,(self,) + _args, _kwargs)
293 return val
294 def __repr__(self):
295 return "<C wxLog instance at %s>" % (self.this,)
296class wxLog(wxLogPtr):
297 def __init__(self,*_args,**_kwargs):
298 self.this = apply(misc2c.new_wxLog,_args,_kwargs)
299 self.thisown = 1
300
301
302
303
304class wxLogStderrPtr(wxLogPtr):
305 def __init__(self,this):
306 self.this = this
307 self.thisown = 0
308 def __repr__(self):
309 return "<C wxLogStderr instance at %s>" % (self.this,)
310class wxLogStderr(wxLogStderrPtr):
311 def __init__(self,*_args,**_kwargs):
312 self.this = apply(misc2c.new_wxLogStderr,_args,_kwargs)
313 self.thisown = 1
314
315
316
317
318class wxLogTextCtrlPtr(wxLogPtr):
319 def __init__(self,this):
320 self.this = this
321 self.thisown = 0
322 def __repr__(self):
323 return "<C wxLogTextCtrl instance at %s>" % (self.this,)
324class wxLogTextCtrl(wxLogTextCtrlPtr):
325 def __init__(self,*_args,**_kwargs):
326 self.this = apply(misc2c.new_wxLogTextCtrl,_args,_kwargs)
327 self.thisown = 1
328
329
330
331
332class wxLogGuiPtr(wxLogPtr):
333 def __init__(self,this):
334 self.this = this
335 self.thisown = 0
336 def __repr__(self):
337 return "<C wxLogGui instance at %s>" % (self.this,)
338class wxLogGui(wxLogGuiPtr):
339 def __init__(self,*_args,**_kwargs):
340 self.this = apply(misc2c.new_wxLogGui,_args,_kwargs)
341 self.thisown = 1
342
343
344
345
346class wxLogWindowPtr(wxLogPtr):
347 def __init__(self,this):
348 self.this = this
349 self.thisown = 0
350 def Show(self, *_args, **_kwargs):
351 val = apply(misc2c.wxLogWindow_Show,(self,) + _args, _kwargs)
352 return val
353 def GetFrame(self, *_args, **_kwargs):
354 val = apply(misc2c.wxLogWindow_GetFrame,(self,) + _args, _kwargs)
355 if val: val = wxFramePtr(val)
356 return val
357 def GetOldLog(self, *_args, **_kwargs):
358 val = apply(misc2c.wxLogWindow_GetOldLog,(self,) + _args, _kwargs)
359 if val: val = wxLogPtr(val)
360 return val
361 def IsPassingMessages(self, *_args, **_kwargs):
362 val = apply(misc2c.wxLogWindow_IsPassingMessages,(self,) + _args, _kwargs)
363 return val
364 def PassMessages(self, *_args, **_kwargs):
365 val = apply(misc2c.wxLogWindow_PassMessages,(self,) + _args, _kwargs)
366 return val
367 def __repr__(self):
368 return "<C wxLogWindow instance at %s>" % (self.this,)
369class wxLogWindow(wxLogWindowPtr):
370 def __init__(self,*_args,**_kwargs):
371 self.this = apply(misc2c.new_wxLogWindow,_args,_kwargs)
372 self.thisown = 1
373
374
375
376
377class wxLogNullPtr :
378 def __init__(self,this):
379 self.this = this
380 self.thisown = 0
381 def __del__(self,misc2c=misc2c):
382 if self.thisown == 1 :
383 misc2c.delete_wxLogNull(self)
384 def __repr__(self):
385 return "<C wxLogNull instance at %s>" % (self.this,)
386class wxLogNull(wxLogNullPtr):
387 def __init__(self,*_args,**_kwargs):
388 self.this = apply(misc2c.new_wxLogNull,_args,_kwargs)
389 self.thisown = 1
390
391
392
393
c368d904
RD
394class wxProcessEventPtr(wxEventPtr):
395 def __init__(self,this):
396 self.this = this
397 self.thisown = 0
398 def GetPid(self, *_args, **_kwargs):
399 val = apply(misc2c.wxProcessEvent_GetPid,(self,) + _args, _kwargs)
400 return val
401 def GetExitCode(self, *_args, **_kwargs):
402 val = apply(misc2c.wxProcessEvent_GetExitCode,(self,) + _args, _kwargs)
403 return val
404 def __setattr__(self,name,value):
405 if name == "m_pid" :
406 misc2c.wxProcessEvent_m_pid_set(self,value)
407 return
408 if name == "m_exitcode" :
409 misc2c.wxProcessEvent_m_exitcode_set(self,value)
410 return
411 self.__dict__[name] = value
412 def __getattr__(self,name):
413 if name == "m_pid" :
414 return misc2c.wxProcessEvent_m_pid_get(self)
415 if name == "m_exitcode" :
416 return misc2c.wxProcessEvent_m_exitcode_get(self)
417 raise AttributeError,name
418 def __repr__(self):
419 return "<C wxProcessEvent instance at %s>" % (self.this,)
420class wxProcessEvent(wxProcessEventPtr):
421 def __init__(self,*_args,**_kwargs):
422 self.this = apply(misc2c.new_wxProcessEvent,_args,_kwargs)
423 self.thisown = 1
424
425
426
427
428class wxProcessPtr(wxEvtHandlerPtr):
429 def __init__(self,this):
430 self.this = this
431 self.thisown = 0
432 def Destroy(self, *_args, **_kwargs):
433 val = apply(misc2c.wxProcess_Destroy,(self,) + _args, _kwargs)
434 return val
435 def _setSelf(self, *_args, **_kwargs):
436 val = apply(misc2c.wxProcess__setSelf,(self,) + _args, _kwargs)
437 return val
438 def base_OnTerminate(self, *_args, **_kwargs):
439 val = apply(misc2c.wxProcess_base_OnTerminate,(self,) + _args, _kwargs)
440 return val
441 def Redirect(self, *_args, **_kwargs):
442 val = apply(misc2c.wxProcess_Redirect,(self,) + _args, _kwargs)
443 return val
444 def IsRedirected(self, *_args, **_kwargs):
445 val = apply(misc2c.wxProcess_IsRedirected,(self,) + _args, _kwargs)
446 return val
447 def Detach(self, *_args, **_kwargs):
448 val = apply(misc2c.wxProcess_Detach,(self,) + _args, _kwargs)
449 return val
450 def GetInputStream(self, *_args, **_kwargs):
451 val = apply(misc2c.wxProcess_GetInputStream,(self,) + _args, _kwargs)
452 return val
453 def GetErrorStream(self, *_args, **_kwargs):
454 val = apply(misc2c.wxProcess_GetErrorStream,(self,) + _args, _kwargs)
455 return val
456 def GetOutputStream(self, *_args, **_kwargs):
457 val = apply(misc2c.wxProcess_GetOutputStream,(self,) + _args, _kwargs)
458 if val: val = wxOutputStreamPtr(val)
459 return val
460 def CloseOutput(self, *_args, **_kwargs):
461 val = apply(misc2c.wxProcess_CloseOutput,(self,) + _args, _kwargs)
462 return val
463 def __repr__(self):
464 return "<C wxProcess instance at %s>" % (self.this,)
465class wxProcess(wxProcessPtr):
466 def __init__(self,*_args,**_kwargs):
467 self.this = apply(misc2c.new_wxProcess,_args,_kwargs)
468 self.thisown = 1
469 self._setSelf(self, wxProcess)
470
471
472
473
d24a34bb
RD
474
475
476#-------------- FUNCTION WRAPPERS ------------------
477
bc29c5e0
RD
478wxFileSelector = misc2c.wxFileSelector
479
480wxGetTextFromUser = misc2c.wxGetTextFromUser
481
1b62f00d
RD
482wxGetPasswordFromUser = misc2c.wxGetPasswordFromUser
483
bc29c5e0
RD
484wxGetSingleChoice = misc2c.wxGetSingleChoice
485
486wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
487
488wxMessageBox = misc2c.wxMessageBox
489
490wxGetNumberFromUser = misc2c.wxGetNumberFromUser
491
492wxColourDisplay = misc2c.wxColourDisplay
493
494wxDisplayDepth = misc2c.wxDisplayDepth
495
b68dc582
RD
496wxGetDisplayDepth = misc2c.wxGetDisplayDepth
497
498wxDisplaySize = misc2c.wxDisplaySize
499
500def wxGetDisplaySize(*_args, **_kwargs):
501 val = apply(misc2c.wxGetDisplaySize,_args,_kwargs)
502 if val: val = wxSizePtr(val); val.thisown = 1
503 return val
504
9c4165ad
RD
505wxDisplaySizeMM = misc2c.wxDisplaySizeMM
506
507def wxGetDisplaySizeMM(*_args, **_kwargs):
508 val = apply(misc2c.wxGetDisplaySizeMM,_args,_kwargs)
509 if val: val = wxSizePtr(val); val.thisown = 1
510 return val
511
bc29c5e0
RD
512wxSetCursor = misc2c.wxSetCursor
513
2d091820
RD
514def wxFindWindowByLabel(*_args, **_kwargs):
515 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
516 if val: val = wxWindowPtr(val)
d24a34bb
RD
517 return val
518
2d091820
RD
519def wxFindWindowByName(*_args, **_kwargs):
520 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
521 if val: val = wxWindowPtr(val)
d24a34bb
RD
522 return val
523
bc29c5e0
RD
524wxBeginBusyCursor = misc2c.wxBeginBusyCursor
525
526def wxGetActiveWindow(*_args, **_kwargs):
527 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
528 if val: val = wxWindowPtr(val)
529 return val
530
531wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
532
533wxResourceClear = misc2c.wxResourceClear
534
535def wxResourceCreateBitmap(*_args, **_kwargs):
536 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
537 if val: val = wxBitmapPtr(val); val.thisown = 1
538 return val
539
540def wxResourceCreateIcon(*_args, **_kwargs):
541 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
542 if val: val = wxIconPtr(val); val.thisown = 1
543 return val
544
545def wxResourceCreateMenuBar(*_args, **_kwargs):
546 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
547 if val: val = wxMenuBarPtr(val)
548 return val
549
550wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
551
552wxResourceParseData = misc2c.wxResourceParseData
553
554wxResourceParseFile = misc2c.wxResourceParseFile
555
556wxResourceParseString = misc2c.wxResourceParseString
557
558def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
559 val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
560 if val: val = wxColourPtr(val); val.thisown = 1
561 return val
562
563def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
564 val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
565 if val: val = wxFontPtr(val); val.thisown = 1
566 return val
567
568wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
569
d24a34bb
RD
570wxToolTip_Enable = misc2c.wxToolTip_Enable
571
572wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
573
8f17924e
RD
574wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
575
576wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
577
4120ef2b
RD
578wxPostEvent = misc2c.wxPostEvent
579
d29aba2f
RD
580wxWakeUpIdle = misc2c.wxWakeUpIdle
581
c368d904
RD
582wxSafeYield = misc2c.wxSafeYield
583
f6bcfd97
BP
584wxShowTip = misc2c.wxShowTip
585
586def wxCreateFileTipProvider(*_args, **_kwargs):
587 val = apply(misc2c.wxCreateFileTipProvider,_args,_kwargs)
588 if val: val = wxTipProviderPtr(val); val.thisown = 1
589 return val
590
591def wxDragIcon(*_args, **_kwargs):
592 val = apply(misc2c.wxDragIcon,_args,_kwargs)
593 if val: val = wxDragImagePtr(val); val.thisown = 1
594 return val
595
596def wxDragString(*_args, **_kwargs):
597 val = apply(misc2c.wxDragString,_args,_kwargs)
598 if val: val = wxDragImagePtr(val); val.thisown = 1
599 return val
600
601def wxDragTreeItem(*_args, **_kwargs):
602 val = apply(misc2c.wxDragTreeItem,_args,_kwargs)
603 if val: val = wxDragImagePtr(val); val.thisown = 1
604 return val
605
606def wxDragListItem(*_args, **_kwargs):
607 val = apply(misc2c.wxDragListItem,_args,_kwargs)
608 if val: val = wxDragImagePtr(val); val.thisown = 1
609 return val
610
611wxSysErrorCode = misc2c.wxSysErrorCode
612
613wxSysErrorMsg = misc2c.wxSysErrorMsg
614
615wxLogFatalError = misc2c.wxLogFatalError
616
617wxLogError = misc2c.wxLogError
618
619wxLogWarning = misc2c.wxLogWarning
620
621wxLogMessage = misc2c.wxLogMessage
622
623wxLogInfo = misc2c.wxLogInfo
624
625wxLogVerbose = misc2c.wxLogVerbose
626
627wxLogStatus = misc2c.wxLogStatus
628
629wxLogStatusFrame = misc2c.wxLogStatusFrame
630
631wxLogSysError = misc2c.wxLogSysError
632
c368d904
RD
633wxExecute = misc2c.wxExecute
634
f6bcfd97
BP
635wxLog_IsEnabled = misc2c.wxLog_IsEnabled
636
637wxLog_EnableLogging = misc2c.wxLog_EnableLogging
638
639wxLog_OnLog = misc2c.wxLog_OnLog
640
641wxLog_FlushActive = misc2c.wxLog_FlushActive
642
643def wxLog_GetActiveTarget(*_args, **_kwargs):
644 val = apply(misc2c.wxLog_GetActiveTarget,_args,_kwargs)
645 if val: val = wxLogPtr(val)
646 return val
647
648def wxLog_SetActiveTarget(*_args, **_kwargs):
649 val = apply(misc2c.wxLog_SetActiveTarget,_args,_kwargs)
650 if val: val = wxLogPtr(val)
651 return val
652
653wxLog_Suspend = misc2c.wxLog_Suspend
654
655wxLog_Resume = misc2c.wxLog_Resume
656
657wxLog_DontCreateOnDemand = misc2c.wxLog_DontCreateOnDemand
658
659wxLog_SetTraceMask = misc2c.wxLog_SetTraceMask
660
661wxLog_AddTraceMask = misc2c.wxLog_AddTraceMask
662
663wxLog_RemoveTraceMask = misc2c.wxLog_RemoveTraceMask
664
665wxLog_GetTraceMask = misc2c.wxLog_GetTraceMask
666
667wxLog_IsAllowedTraceMask = misc2c.wxLog_IsAllowedTraceMask
668
d24a34bb
RD
669
670
671#-------------- VARIABLE WRAPPERS ------------------
672
bc29c5e0
RD
673wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH
674wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH
675wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH
676wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH
677wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH
678wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH
679wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH
680wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN
681wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN
682wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN
683wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
684wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
685wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
686wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
687wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
688wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
689wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
690wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
691wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
692wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
693wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
694wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
695wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
696wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
697wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
698wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
699wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
700wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
701wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
702wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
703wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
704wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
705wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
706wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
707wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
708wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
709wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
710wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
711wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
712wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
713wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
714wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
715wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
716wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
717wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
718wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
719wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
720wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
721wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
722wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
723wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
724wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
725wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
726wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
727wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
728wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
729wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
730wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
731wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
732wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
733wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
734wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
735wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
736wxSYS_ICON_X = misc2c.wxSYS_ICON_X
737wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
738wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
739wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
740wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
741wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
742wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
743wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
744wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
745wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
746wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
747wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
748wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
749wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
750wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
751wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
752wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
753wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
754wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
755wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
756wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
757wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
758wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS
f6bcfd97
BP
759wxLOG_FatalError = misc2c.wxLOG_FatalError
760wxLOG_Error = misc2c.wxLOG_Error
761wxLOG_Warning = misc2c.wxLOG_Warning
762wxLOG_Message = misc2c.wxLOG_Message
763wxLOG_Info = misc2c.wxLOG_Info
764wxLOG_Status = misc2c.wxLOG_Status
765wxLOG_Debug = misc2c.wxLOG_Debug
766wxLOG_Trace = misc2c.wxLOG_Trace
767wxLOG_Progress = misc2c.wxLOG_Progress
768wxLOG_User = misc2c.wxLOG_User
9c4165ad 769wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS