1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 SYS_OEM_FIXED_FONT
= _misc
.SYS_OEM_FIXED_FONT
11 SYS_ANSI_FIXED_FONT
= _misc
.SYS_ANSI_FIXED_FONT
12 SYS_ANSI_VAR_FONT
= _misc
.SYS_ANSI_VAR_FONT
13 SYS_SYSTEM_FONT
= _misc
.SYS_SYSTEM_FONT
14 SYS_DEVICE_DEFAULT_FONT
= _misc
.SYS_DEVICE_DEFAULT_FONT
15 SYS_DEFAULT_PALETTE
= _misc
.SYS_DEFAULT_PALETTE
16 SYS_SYSTEM_FIXED_FONT
= _misc
.SYS_SYSTEM_FIXED_FONT
17 SYS_DEFAULT_GUI_FONT
= _misc
.SYS_DEFAULT_GUI_FONT
18 SYS_ICONTITLE_FONT
= _misc
.SYS_ICONTITLE_FONT
19 SYS_COLOUR_SCROLLBAR
= _misc
.SYS_COLOUR_SCROLLBAR
20 SYS_COLOUR_BACKGROUND
= _misc
.SYS_COLOUR_BACKGROUND
21 SYS_COLOUR_DESKTOP
= _misc
.SYS_COLOUR_DESKTOP
22 SYS_COLOUR_ACTIVECAPTION
= _misc
.SYS_COLOUR_ACTIVECAPTION
23 SYS_COLOUR_INACTIVECAPTION
= _misc
.SYS_COLOUR_INACTIVECAPTION
24 SYS_COLOUR_MENU
= _misc
.SYS_COLOUR_MENU
25 SYS_COLOUR_WINDOW
= _misc
.SYS_COLOUR_WINDOW
26 SYS_COLOUR_WINDOWFRAME
= _misc
.SYS_COLOUR_WINDOWFRAME
27 SYS_COLOUR_MENUTEXT
= _misc
.SYS_COLOUR_MENUTEXT
28 SYS_COLOUR_WINDOWTEXT
= _misc
.SYS_COLOUR_WINDOWTEXT
29 SYS_COLOUR_CAPTIONTEXT
= _misc
.SYS_COLOUR_CAPTIONTEXT
30 SYS_COLOUR_ACTIVEBORDER
= _misc
.SYS_COLOUR_ACTIVEBORDER
31 SYS_COLOUR_INACTIVEBORDER
= _misc
.SYS_COLOUR_INACTIVEBORDER
32 SYS_COLOUR_APPWORKSPACE
= _misc
.SYS_COLOUR_APPWORKSPACE
33 SYS_COLOUR_HIGHLIGHT
= _misc
.SYS_COLOUR_HIGHLIGHT
34 SYS_COLOUR_HIGHLIGHTTEXT
= _misc
.SYS_COLOUR_HIGHLIGHTTEXT
35 SYS_COLOUR_BTNFACE
= _misc
.SYS_COLOUR_BTNFACE
36 SYS_COLOUR_3DFACE
= _misc
.SYS_COLOUR_3DFACE
37 SYS_COLOUR_BTNSHADOW
= _misc
.SYS_COLOUR_BTNSHADOW
38 SYS_COLOUR_3DSHADOW
= _misc
.SYS_COLOUR_3DSHADOW
39 SYS_COLOUR_GRAYTEXT
= _misc
.SYS_COLOUR_GRAYTEXT
40 SYS_COLOUR_BTNTEXT
= _misc
.SYS_COLOUR_BTNTEXT
41 SYS_COLOUR_INACTIVECAPTIONTEXT
= _misc
.SYS_COLOUR_INACTIVECAPTIONTEXT
42 SYS_COLOUR_BTNHIGHLIGHT
= _misc
.SYS_COLOUR_BTNHIGHLIGHT
43 SYS_COLOUR_BTNHILIGHT
= _misc
.SYS_COLOUR_BTNHILIGHT
44 SYS_COLOUR_3DHIGHLIGHT
= _misc
.SYS_COLOUR_3DHIGHLIGHT
45 SYS_COLOUR_3DHILIGHT
= _misc
.SYS_COLOUR_3DHILIGHT
46 SYS_COLOUR_3DDKSHADOW
= _misc
.SYS_COLOUR_3DDKSHADOW
47 SYS_COLOUR_3DLIGHT
= _misc
.SYS_COLOUR_3DLIGHT
48 SYS_COLOUR_INFOTEXT
= _misc
.SYS_COLOUR_INFOTEXT
49 SYS_COLOUR_INFOBK
= _misc
.SYS_COLOUR_INFOBK
50 SYS_COLOUR_LISTBOX
= _misc
.SYS_COLOUR_LISTBOX
51 SYS_COLOUR_HOTLIGHT
= _misc
.SYS_COLOUR_HOTLIGHT
52 SYS_COLOUR_GRADIENTACTIVECAPTION
= _misc
.SYS_COLOUR_GRADIENTACTIVECAPTION
53 SYS_COLOUR_GRADIENTINACTIVECAPTION
= _misc
.SYS_COLOUR_GRADIENTINACTIVECAPTION
54 SYS_COLOUR_MENUHILIGHT
= _misc
.SYS_COLOUR_MENUHILIGHT
55 SYS_COLOUR_MENUBAR
= _misc
.SYS_COLOUR_MENUBAR
56 SYS_COLOUR_MAX
= _misc
.SYS_COLOUR_MAX
57 SYS_MOUSE_BUTTONS
= _misc
.SYS_MOUSE_BUTTONS
58 SYS_BORDER_X
= _misc
.SYS_BORDER_X
59 SYS_BORDER_Y
= _misc
.SYS_BORDER_Y
60 SYS_CURSOR_X
= _misc
.SYS_CURSOR_X
61 SYS_CURSOR_Y
= _misc
.SYS_CURSOR_Y
62 SYS_DCLICK_X
= _misc
.SYS_DCLICK_X
63 SYS_DCLICK_Y
= _misc
.SYS_DCLICK_Y
64 SYS_DRAG_X
= _misc
.SYS_DRAG_X
65 SYS_DRAG_Y
= _misc
.SYS_DRAG_Y
66 SYS_EDGE_X
= _misc
.SYS_EDGE_X
67 SYS_EDGE_Y
= _misc
.SYS_EDGE_Y
68 SYS_HSCROLL_ARROW_X
= _misc
.SYS_HSCROLL_ARROW_X
69 SYS_HSCROLL_ARROW_Y
= _misc
.SYS_HSCROLL_ARROW_Y
70 SYS_HTHUMB_X
= _misc
.SYS_HTHUMB_X
71 SYS_ICON_X
= _misc
.SYS_ICON_X
72 SYS_ICON_Y
= _misc
.SYS_ICON_Y
73 SYS_ICONSPACING_X
= _misc
.SYS_ICONSPACING_X
74 SYS_ICONSPACING_Y
= _misc
.SYS_ICONSPACING_Y
75 SYS_WINDOWMIN_X
= _misc
.SYS_WINDOWMIN_X
76 SYS_WINDOWMIN_Y
= _misc
.SYS_WINDOWMIN_Y
77 SYS_SCREEN_X
= _misc
.SYS_SCREEN_X
78 SYS_SCREEN_Y
= _misc
.SYS_SCREEN_Y
79 SYS_FRAMESIZE_X
= _misc
.SYS_FRAMESIZE_X
80 SYS_FRAMESIZE_Y
= _misc
.SYS_FRAMESIZE_Y
81 SYS_SMALLICON_X
= _misc
.SYS_SMALLICON_X
82 SYS_SMALLICON_Y
= _misc
.SYS_SMALLICON_Y
83 SYS_HSCROLL_Y
= _misc
.SYS_HSCROLL_Y
84 SYS_VSCROLL_X
= _misc
.SYS_VSCROLL_X
85 SYS_VSCROLL_ARROW_X
= _misc
.SYS_VSCROLL_ARROW_X
86 SYS_VSCROLL_ARROW_Y
= _misc
.SYS_VSCROLL_ARROW_Y
87 SYS_VTHUMB_Y
= _misc
.SYS_VTHUMB_Y
88 SYS_CAPTION_Y
= _misc
.SYS_CAPTION_Y
89 SYS_MENU_Y
= _misc
.SYS_MENU_Y
90 SYS_NETWORK_PRESENT
= _misc
.SYS_NETWORK_PRESENT
91 SYS_PENWINDOWS_PRESENT
= _misc
.SYS_PENWINDOWS_PRESENT
92 SYS_SHOW_SOUNDS
= _misc
.SYS_SHOW_SOUNDS
93 SYS_SWAP_BUTTONS
= _misc
.SYS_SWAP_BUTTONS
94 SYS_CAN_DRAW_FRAME_DECORATIONS
= _misc
.SYS_CAN_DRAW_FRAME_DECORATIONS
95 SYS_CAN_ICONIZE_FRAME
= _misc
.SYS_CAN_ICONIZE_FRAME
96 SYS_SCREEN_NONE
= _misc
.SYS_SCREEN_NONE
97 SYS_SCREEN_TINY
= _misc
.SYS_SCREEN_TINY
98 SYS_SCREEN_PDA
= _misc
.SYS_SCREEN_PDA
99 SYS_SCREEN_SMALL
= _misc
.SYS_SCREEN_SMALL
100 SYS_SCREEN_DESKTOP
= _misc
.SYS_SCREEN_DESKTOP
101 class SystemSettings(object):
102 GetColour
= staticmethod(_misc
.SystemSettings_GetColour
)
103 GetFont
= staticmethod(_misc
.SystemSettings_GetFont
)
104 GetMetric
= staticmethod(_misc
.SystemSettings_GetMetric
)
105 HasFeature
= staticmethod(_misc
.SystemSettings_HasFeature
)
106 GetScreenType
= staticmethod(_misc
.SystemSettings_GetScreenType
)
107 SetScreenType
= staticmethod(_misc
.SystemSettings_SetScreenType
)
108 def __init__(self
): raise RuntimeError, "No constructor defined"
110 return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
112 class SystemSettingsPtr(SystemSettings
):
113 def __init__(self
, this
):
115 if not hasattr(self
,"thisown"): self
.thisown
= 0
116 self
.__class
__ = SystemSettings
117 _misc
.SystemSettings_swigregister(SystemSettingsPtr
)
119 SystemSettings_GetColour
= _misc
.SystemSettings_GetColour
121 SystemSettings_GetFont
= _misc
.SystemSettings_GetFont
123 SystemSettings_GetMetric
= _misc
.SystemSettings_GetMetric
125 SystemSettings_HasFeature
= _misc
.SystemSettings_HasFeature
127 SystemSettings_GetScreenType
= _misc
.SystemSettings_GetScreenType
129 SystemSettings_SetScreenType
= _misc
.SystemSettings_SetScreenType
131 class SystemOptions(core
.Object
):
132 def __init__(self
, *args
, **kwargs
):
133 newobj
= _misc
.new_SystemOptions(*args
, **kwargs
)
134 self
.this
= newobj
.this
137 SetOption
= staticmethod(_misc
.SystemOptions_SetOption
)
138 SetOptionInt
= staticmethod(_misc
.SystemOptions_SetOptionInt
)
139 GetOption
= staticmethod(_misc
.SystemOptions_GetOption
)
140 GetOptionInt
= staticmethod(_misc
.SystemOptions_GetOptionInt
)
141 HasOption
= staticmethod(_misc
.SystemOptions_HasOption
)
143 return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
145 class SystemOptionsPtr(SystemOptions
):
146 def __init__(self
, this
):
148 if not hasattr(self
,"thisown"): self
.thisown
= 0
149 self
.__class
__ = SystemOptions
150 _misc
.SystemOptions_swigregister(SystemOptionsPtr
)
152 SystemOptions_SetOption
= _misc
.SystemOptions_SetOption
154 SystemOptions_SetOptionInt
= _misc
.SystemOptions_SetOptionInt
156 SystemOptions_GetOption
= _misc
.SystemOptions_GetOption
158 SystemOptions_GetOptionInt
= _misc
.SystemOptions_GetOptionInt
160 SystemOptions_HasOption
= _misc
.SystemOptions_HasOption
162 #---------------------------------------------------------------------------
167 RegisterId
= _misc
.RegisterId
169 GetCurrentId
= _misc
.GetCurrentId
173 EndBusyCursor
= _misc
.EndBusyCursor
175 GetElapsedTime
= _misc
.GetElapsedTime
177 GetMousePosition
= _misc
.GetMousePosition
179 IsBusy
= _misc
.IsBusy
185 StartTimer
= _misc
.StartTimer
187 GetOsVersion
= _misc
.GetOsVersion
189 GetOsDescription
= _misc
.GetOsDescription
191 GetFreeMemory
= _misc
.GetFreeMemory
192 SHUTDOWN_POWEROFF
= _misc
.SHUTDOWN_POWEROFF
193 SHUTDOWN_REBOOT
= _misc
.SHUTDOWN_REBOOT
195 Shutdown
= _misc
.Shutdown
199 Usleep
= _misc
.Usleep
201 EnableTopLevelWindows
= _misc
.EnableTopLevelWindows
203 StripMenuCodes
= _misc
.StripMenuCodes
205 GetEmailAddress
= _misc
.GetEmailAddress
207 GetHostName
= _misc
.GetHostName
209 GetFullHostName
= _misc
.GetFullHostName
211 GetUserId
= _misc
.GetUserId
213 GetUserName
= _misc
.GetUserName
215 GetHomeDir
= _misc
.GetHomeDir
217 GetUserHome
= _misc
.GetUserHome
219 GetProcessId
= _misc
.GetProcessId
223 FileSelector
= _misc
.FileSelector
225 LoadFileSelector
= _misc
.LoadFileSelector
227 SaveFileSelector
= _misc
.SaveFileSelector
229 DirSelector
= _misc
.DirSelector
231 GetTextFromUser
= _misc
.GetTextFromUser
233 GetPasswordFromUser
= _misc
.GetPasswordFromUser
235 GetSingleChoice
= _misc
.GetSingleChoice
237 GetSingleChoiceIndex
= _misc
.GetSingleChoiceIndex
239 MessageBox
= _misc
.MessageBox
241 GetNumberFromUser
= _misc
.GetNumberFromUser
243 ColourDisplay
= _misc
.ColourDisplay
245 DisplayDepth
= _misc
.DisplayDepth
247 GetDisplayDepth
= _misc
.GetDisplayDepth
249 DisplaySize
= _misc
.DisplaySize
251 GetDisplaySize
= _misc
.GetDisplaySize
253 DisplaySizeMM
= _misc
.DisplaySizeMM
255 GetDisplaySizeMM
= _misc
.GetDisplaySizeMM
257 ClientDisplayRect
= _misc
.ClientDisplayRect
259 GetClientDisplayRect
= _misc
.GetClientDisplayRect
261 SetCursor
= _misc
.SetCursor
263 BeginBusyCursor
= _misc
.BeginBusyCursor
265 GetActiveWindow
= _misc
.GetActiveWindow
267 GenericFindWindowAtPoint
= _misc
.GenericFindWindowAtPoint
269 FindWindowAtPoint
= _misc
.FindWindowAtPoint
271 GetTopLevelParent
= _misc
.GetTopLevelParent
273 WakeUpMainThread
= _misc
.WakeUpMainThread
275 MutexGuiEnter
= _misc
.MutexGuiEnter
277 MutexGuiLeave
= _misc
.MutexGuiLeave
278 class MutexGuiLocker(object):
279 def __init__(self
, *args
, **kwargs
):
280 newobj
= _misc
.new_MutexGuiLocker(*args
, **kwargs
)
281 self
.this
= newobj
.this
284 def __del__(self
, destroy
=_misc
.delete_MutexGuiLocker
):
286 if self
.thisown
: destroy(self
)
289 return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
291 class MutexGuiLockerPtr(MutexGuiLocker
):
292 def __init__(self
, this
):
294 if not hasattr(self
,"thisown"): self
.thisown
= 0
295 self
.__class
__ = MutexGuiLocker
296 _misc
.MutexGuiLocker_swigregister(MutexGuiLockerPtr
)
299 Thread_IsMain
= _misc
.Thread_IsMain
300 #---------------------------------------------------------------------------
302 class ToolTip(core
.Object
):
303 def __init__(self
, *args
, **kwargs
):
304 newobj
= _misc
.new_ToolTip(*args
, **kwargs
)
305 self
.this
= newobj
.this
308 def SetTip(*args
, **kwargs
): return _misc
.ToolTip_SetTip(*args
, **kwargs
)
309 def GetTip(*args
, **kwargs
): return _misc
.ToolTip_GetTip(*args
, **kwargs
)
310 def GetWindow(*args
, **kwargs
): return _misc
.ToolTip_GetWindow(*args
, **kwargs
)
311 Enable
= staticmethod(_misc
.ToolTip_Enable
)
312 SetDelay
= staticmethod(_misc
.ToolTip_SetDelay
)
314 return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
316 class ToolTipPtr(ToolTip
):
317 def __init__(self
, this
):
319 if not hasattr(self
,"thisown"): self
.thisown
= 0
320 self
.__class
__ = ToolTip
321 _misc
.ToolTip_swigregister(ToolTipPtr
)
323 ToolTip_Enable
= _misc
.ToolTip_Enable
325 ToolTip_SetDelay
= _misc
.ToolTip_SetDelay
328 def __init__(self
, *args
, **kwargs
):
329 newobj
= _misc
.new_Caret(*args
, **kwargs
)
330 self
.this
= newobj
.this
333 def __del__(self
, destroy
=_misc
.delete_Caret
):
335 if self
.thisown
: destroy(self
)
337 def IsOk(*args
, **kwargs
): return _misc
.Caret_IsOk(*args
, **kwargs
)
338 def IsVisible(*args
, **kwargs
): return _misc
.Caret_IsVisible(*args
, **kwargs
)
339 def GetPositionTuple(*args
, **kwargs
): return _misc
.Caret_GetPositionTuple(*args
, **kwargs
)
340 def GetPosition(*args
, **kwargs
): return _misc
.Caret_GetPosition(*args
, **kwargs
)
341 def GetSizeTuple(*args
, **kwargs
): return _misc
.Caret_GetSizeTuple(*args
, **kwargs
)
342 def GetSize(*args
, **kwargs
): return _misc
.Caret_GetSize(*args
, **kwargs
)
343 def GetWindow(*args
, **kwargs
): return _misc
.Caret_GetWindow(*args
, **kwargs
)
344 def MoveXY(*args
, **kwargs
): return _misc
.Caret_MoveXY(*args
, **kwargs
)
345 def Move(*args
, **kwargs
): return _misc
.Caret_Move(*args
, **kwargs
)
346 def SetSizeWH(*args
, **kwargs
): return _misc
.Caret_SetSizeWH(*args
, **kwargs
)
347 def SetSize(*args
, **kwargs
): return _misc
.Caret_SetSize(*args
, **kwargs
)
348 def Show(*args
, **kwargs
): return _misc
.Caret_Show(*args
, **kwargs
)
349 def Hide(*args
, **kwargs
): return _misc
.Caret_Hide(*args
, **kwargs
)
351 return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
353 class CaretPtr(Caret
):
354 def __init__(self
, this
):
356 if not hasattr(self
,"thisown"): self
.thisown
= 0
357 self
.__class
__ = Caret
358 _misc
.Caret_swigregister(CaretPtr
)
361 Caret_GetBlinkTime
= _misc
.Caret_GetBlinkTime
363 Caret_SetBlinkTime
= _misc
.Caret_SetBlinkTime
364 class BusyCursor(object):
365 def __init__(self
, *args
, **kwargs
):
366 newobj
= _misc
.new_BusyCursor(*args
, **kwargs
)
367 self
.this
= newobj
.this
370 def __del__(self
, destroy
=_misc
.delete_BusyCursor
):
372 if self
.thisown
: destroy(self
)
375 return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
377 class BusyCursorPtr(BusyCursor
):
378 def __init__(self
, this
):
380 if not hasattr(self
,"thisown"): self
.thisown
= 0
381 self
.__class
__ = BusyCursor
382 _misc
.BusyCursor_swigregister(BusyCursorPtr
)
384 class WindowDisabler(object):
385 def __init__(self
, *args
, **kwargs
):
386 newobj
= _misc
.new_WindowDisabler(*args
, **kwargs
)
387 self
.this
= newobj
.this
390 def __del__(self
, destroy
=_misc
.delete_WindowDisabler
):
392 if self
.thisown
: destroy(self
)
395 return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
397 class WindowDisablerPtr(WindowDisabler
):
398 def __init__(self
, this
):
400 if not hasattr(self
,"thisown"): self
.thisown
= 0
401 self
.__class
__ = WindowDisabler
402 _misc
.WindowDisabler_swigregister(WindowDisablerPtr
)
404 class BusyInfo(core
.Object
):
405 def __init__(self
, *args
, **kwargs
):
406 newobj
= _misc
.new_BusyInfo(*args
, **kwargs
)
407 self
.this
= newobj
.this
410 def __del__(self
, destroy
=_misc
.delete_BusyInfo
):
412 if self
.thisown
: destroy(self
)
415 return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
417 class BusyInfoPtr(BusyInfo
):
418 def __init__(self
, this
):
420 if not hasattr(self
,"thisown"): self
.thisown
= 0
421 self
.__class
__ = BusyInfo
422 _misc
.BusyInfo_swigregister(BusyInfoPtr
)
424 class StopWatch(object):
425 def __init__(self
, *args
, **kwargs
):
426 newobj
= _misc
.new_StopWatch(*args
, **kwargs
)
427 self
.this
= newobj
.this
430 def Start(*args
, **kwargs
): return _misc
.StopWatch_Start(*args
, **kwargs
)
431 def Pause(*args
, **kwargs
): return _misc
.StopWatch_Pause(*args
, **kwargs
)
432 def Resume(*args
, **kwargs
): return _misc
.StopWatch_Resume(*args
, **kwargs
)
433 def Time(*args
, **kwargs
): return _misc
.StopWatch_Time(*args
, **kwargs
)
435 return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
437 class StopWatchPtr(StopWatch
):
438 def __init__(self
, this
):
440 if not hasattr(self
,"thisown"): self
.thisown
= 0
441 self
.__class
__ = StopWatch
442 _misc
.StopWatch_swigregister(StopWatchPtr
)
444 class FileHistory(core
.Object
):
445 def __init__(self
, *args
, **kwargs
):
446 newobj
= _misc
.new_FileHistory(*args
, **kwargs
)
447 self
.this
= newobj
.this
450 def __del__(self
, destroy
=_misc
.delete_FileHistory
):
452 if self
.thisown
: destroy(self
)
454 def AddFileToHistory(*args
, **kwargs
): return _misc
.FileHistory_AddFileToHistory(*args
, **kwargs
)
455 def RemoveFileFromHistory(*args
, **kwargs
): return _misc
.FileHistory_RemoveFileFromHistory(*args
, **kwargs
)
456 def GetMaxFiles(*args
, **kwargs
): return _misc
.FileHistory_GetMaxFiles(*args
, **kwargs
)
457 def UseMenu(*args
, **kwargs
): return _misc
.FileHistory_UseMenu(*args
, **kwargs
)
458 def RemoveMenu(*args
, **kwargs
): return _misc
.FileHistory_RemoveMenu(*args
, **kwargs
)
459 def Load(*args
, **kwargs
): return _misc
.FileHistory_Load(*args
, **kwargs
)
460 def Save(*args
, **kwargs
): return _misc
.FileHistory_Save(*args
, **kwargs
)
461 def AddFilesToMenu(*args
, **kwargs
): return _misc
.FileHistory_AddFilesToMenu(*args
, **kwargs
)
462 def AddFilesToThisMenu(*args
, **kwargs
): return _misc
.FileHistory_AddFilesToThisMenu(*args
, **kwargs
)
463 def GetHistoryFile(*args
, **kwargs
): return _misc
.FileHistory_GetHistoryFile(*args
, **kwargs
)
464 def GetCount(*args
, **kwargs
): return _misc
.FileHistory_GetCount(*args
, **kwargs
)
466 return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
468 class FileHistoryPtr(FileHistory
):
469 def __init__(self
, this
):
471 if not hasattr(self
,"thisown"): self
.thisown
= 0
472 self
.__class
__ = FileHistory
473 _misc
.FileHistory_swigregister(FileHistoryPtr
)
475 class SingleInstanceChecker(object):
476 def __init__(self
, *args
, **kwargs
):
477 newobj
= _misc
.new_SingleInstanceChecker(*args
, **kwargs
)
478 self
.this
= newobj
.this
481 def __del__(self
, destroy
=_misc
.delete_SingleInstanceChecker
):
483 if self
.thisown
: destroy(self
)
485 def Create(*args
, **kwargs
): return _misc
.SingleInstanceChecker_Create(*args
, **kwargs
)
486 def IsAnotherRunning(*args
, **kwargs
): return _misc
.SingleInstanceChecker_IsAnotherRunning(*args
, **kwargs
)
488 return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
490 class SingleInstanceCheckerPtr(SingleInstanceChecker
):
491 def __init__(self
, this
):
493 if not hasattr(self
,"thisown"): self
.thisown
= 0
494 self
.__class
__ = SingleInstanceChecker
495 _misc
.SingleInstanceChecker_swigregister(SingleInstanceCheckerPtr
)
497 def PreSingleInstanceChecker(*args
, **kwargs
):
498 val
= _misc
.new_PreSingleInstanceChecker(*args
, **kwargs
)
503 DrawWindowOnDC
= _misc
.DrawWindowOnDC
504 #---------------------------------------------------------------------------
506 class TipProvider(object):
507 def __del__(self
, destroy
=_misc
.delete_TipProvider
):
509 if self
.thisown
: destroy(self
)
511 def GetTip(*args
, **kwargs
): return _misc
.TipProvider_GetTip(*args
, **kwargs
)
512 def GetCurrentTip(*args
, **kwargs
): return _misc
.TipProvider_GetCurrentTip(*args
, **kwargs
)
513 def PreprocessTip(*args
, **kwargs
): return _misc
.TipProvider_PreprocessTip(*args
, **kwargs
)
514 def __init__(self
): raise RuntimeError, "No constructor defined"
516 return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
518 class TipProviderPtr(TipProvider
):
519 def __init__(self
, this
):
521 if not hasattr(self
,"thisown"): self
.thisown
= 0
522 self
.__class
__ = TipProvider
523 _misc
.TipProvider_swigregister(TipProviderPtr
)
525 class PyTipProvider(TipProvider
):
526 def __init__(self
, *args
, **kwargs
):
527 newobj
= _misc
.new_PyTipProvider(*args
, **kwargs
)
528 self
.this
= newobj
.this
531 def _setCallbackInfo(*args
, **kwargs
): return _misc
.PyTipProvider__setCallbackInfo(*args
, **kwargs
)
533 return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
535 class PyTipProviderPtr(PyTipProvider
):
536 def __init__(self
, this
):
538 if not hasattr(self
,"thisown"): self
.thisown
= 0
539 self
.__class
__ = PyTipProvider
540 _misc
.PyTipProvider_swigregister(PyTipProviderPtr
)
543 ShowTip
= _misc
.ShowTip
545 CreateFileTipProvider
= _misc
.CreateFileTipProvider
546 #---------------------------------------------------------------------------
548 TIMER_CONTINUOUS
= _misc
.TIMER_CONTINUOUS
549 TIMER_ONE_SHOT
= _misc
.TIMER_ONE_SHOT
550 wxEVT_TIMER
= _misc
.wxEVT_TIMER
551 class Timer(core
.EvtHandler
):
552 def __init__(self
, *args
, **kwargs
):
553 newobj
= _misc
.new_Timer(*args
, **kwargs
)
554 self
.this
= newobj
.this
557 def __del__(self
, destroy
=_misc
.delete_Timer
):
559 if self
.thisown
: destroy(self
)
561 def SetOwner(*args
, **kwargs
): return _misc
.Timer_SetOwner(*args
, **kwargs
)
562 def Start(*args
, **kwargs
): return _misc
.Timer_Start(*args
, **kwargs
)
563 def Stop(*args
, **kwargs
): return _misc
.Timer_Stop(*args
, **kwargs
)
564 def Notify(*args
, **kwargs
): return _misc
.Timer_Notify(*args
, **kwargs
)
565 def IsRunning(*args
, **kwargs
): return _misc
.Timer_IsRunning(*args
, **kwargs
)
566 def GetInterval(*args
, **kwargs
): return _misc
.Timer_GetInterval(*args
, **kwargs
)
567 def IsOneShot(*args
, **kwargs
): return _misc
.Timer_IsOneShot(*args
, **kwargs
)
569 return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
571 class TimerPtr(Timer
):
572 def __init__(self
, this
):
574 if not hasattr(self
,"thisown"): self
.thisown
= 0
575 self
.__class
__ = Timer
576 _misc
.Timer_swigregister(TimerPtr
)
578 # For backwards compatibility with 2.4
579 class PyTimer(Timer
):
580 def __init__(self
, notify
):
589 EVT_TIMER
= wx
.PyEventBinder( wxEVT_TIMER
, 1 )
592 class TimerEvent(core
.Event
):
593 def __init__(self
, *args
, **kwargs
):
594 newobj
= _misc
.new_TimerEvent(*args
, **kwargs
)
595 self
.this
= newobj
.this
598 def GetInterval(*args
, **kwargs
): return _misc
.TimerEvent_GetInterval(*args
, **kwargs
)
600 return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
602 class TimerEventPtr(TimerEvent
):
603 def __init__(self
, this
):
605 if not hasattr(self
,"thisown"): self
.thisown
= 0
606 self
.__class
__ = TimerEvent
607 _misc
.TimerEvent_swigregister(TimerEventPtr
)
609 class TimerRunner(object):
610 def __init__(self
, *args
):
611 newobj
= _misc
.new_TimerRunner(*args
)
612 self
.this
= newobj
.this
615 def __del__(self
, destroy
=_misc
.delete_TimerRunner
):
617 if self
.thisown
: destroy(self
)
619 def Start(*args
, **kwargs
): return _misc
.TimerRunner_Start(*args
, **kwargs
)
621 return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
623 class TimerRunnerPtr(TimerRunner
):
624 def __init__(self
, this
):
626 if not hasattr(self
,"thisown"): self
.thisown
= 0
627 self
.__class
__ = TimerRunner
628 _misc
.TimerRunner_swigregister(TimerRunnerPtr
)
630 #---------------------------------------------------------------------------
632 LOG_FatalError
= _misc
.LOG_FatalError
633 LOG_Error
= _misc
.LOG_Error
634 LOG_Warning
= _misc
.LOG_Warning
635 LOG_Message
= _misc
.LOG_Message
636 LOG_Status
= _misc
.LOG_Status
637 LOG_Info
= _misc
.LOG_Info
638 LOG_Debug
= _misc
.LOG_Debug
639 LOG_Trace
= _misc
.LOG_Trace
640 LOG_Progress
= _misc
.LOG_Progress
641 LOG_User
= _misc
.LOG_User
642 LOG_Max
= _misc
.LOG_Max
643 TRACE_MemAlloc
= _misc
.TRACE_MemAlloc
644 TRACE_Messages
= _misc
.TRACE_Messages
645 TRACE_ResAlloc
= _misc
.TRACE_ResAlloc
646 TRACE_RefCount
= _misc
.TRACE_RefCount
647 TRACE_OleCalls
= _misc
.TRACE_OleCalls
648 TraceMemAlloc
= _misc
.TraceMemAlloc
649 TraceMessages
= _misc
.TraceMessages
650 TraceResAlloc
= _misc
.TraceResAlloc
651 TraceRefCount
= _misc
.TraceRefCount
652 TraceOleCalls
= _misc
.TraceOleCalls
654 def __init__(self
, *args
, **kwargs
):
655 newobj
= _misc
.new_Log(*args
, **kwargs
)
656 self
.this
= newobj
.this
659 IsEnabled
= staticmethod(_misc
.Log_IsEnabled
)
660 EnableLogging
= staticmethod(_misc
.Log_EnableLogging
)
661 OnLog
= staticmethod(_misc
.Log_OnLog
)
662 def Flush(*args
, **kwargs
): return _misc
.Log_Flush(*args
, **kwargs
)
663 FlushActive
= staticmethod(_misc
.Log_FlushActive
)
664 GetActiveTarget
= staticmethod(_misc
.Log_GetActiveTarget
)
665 SetActiveTarget
= staticmethod(_misc
.Log_SetActiveTarget
)
666 Suspend
= staticmethod(_misc
.Log_Suspend
)
667 Resume
= staticmethod(_misc
.Log_Resume
)
668 SetVerbose
= staticmethod(_misc
.Log_SetVerbose
)
669 SetLogLevel
= staticmethod(_misc
.Log_SetLogLevel
)
670 DontCreateOnDemand
= staticmethod(_misc
.Log_DontCreateOnDemand
)
671 SetTraceMask
= staticmethod(_misc
.Log_SetTraceMask
)
672 AddTraceMask
= staticmethod(_misc
.Log_AddTraceMask
)
673 RemoveTraceMask
= staticmethod(_misc
.Log_RemoveTraceMask
)
674 ClearTraceMasks
= staticmethod(_misc
.Log_ClearTraceMasks
)
675 GetTraceMasks
= staticmethod(_misc
.Log_GetTraceMasks
)
676 SetTimestamp
= staticmethod(_misc
.Log_SetTimestamp
)
677 GetVerbose
= staticmethod(_misc
.Log_GetVerbose
)
678 GetTraceMask
= staticmethod(_misc
.Log_GetTraceMask
)
679 IsAllowedTraceMask
= staticmethod(_misc
.Log_IsAllowedTraceMask
)
680 GetLogLevel
= staticmethod(_misc
.Log_GetLogLevel
)
681 GetTimestamp
= staticmethod(_misc
.Log_GetTimestamp
)
682 TimeStamp
= staticmethod(_misc
.Log_TimeStamp
)
683 def Destroy(*args
, **kwargs
): return _misc
.Log_Destroy(*args
, **kwargs
)
685 return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
688 def __init__(self
, this
):
690 if not hasattr(self
,"thisown"): self
.thisown
= 0
692 _misc
.Log_swigregister(LogPtr
)
694 Log_IsEnabled
= _misc
.Log_IsEnabled
696 Log_EnableLogging
= _misc
.Log_EnableLogging
698 Log_OnLog
= _misc
.Log_OnLog
700 Log_FlushActive
= _misc
.Log_FlushActive
702 Log_GetActiveTarget
= _misc
.Log_GetActiveTarget
704 Log_SetActiveTarget
= _misc
.Log_SetActiveTarget
706 Log_Suspend
= _misc
.Log_Suspend
708 Log_Resume
= _misc
.Log_Resume
710 Log_SetVerbose
= _misc
.Log_SetVerbose
712 Log_SetLogLevel
= _misc
.Log_SetLogLevel
714 Log_DontCreateOnDemand
= _misc
.Log_DontCreateOnDemand
716 Log_SetTraceMask
= _misc
.Log_SetTraceMask
718 Log_AddTraceMask
= _misc
.Log_AddTraceMask
720 Log_RemoveTraceMask
= _misc
.Log_RemoveTraceMask
722 Log_ClearTraceMasks
= _misc
.Log_ClearTraceMasks
724 Log_GetTraceMasks
= _misc
.Log_GetTraceMasks
726 Log_SetTimestamp
= _misc
.Log_SetTimestamp
728 Log_GetVerbose
= _misc
.Log_GetVerbose
730 Log_GetTraceMask
= _misc
.Log_GetTraceMask
732 Log_IsAllowedTraceMask
= _misc
.Log_IsAllowedTraceMask
734 Log_GetLogLevel
= _misc
.Log_GetLogLevel
736 Log_GetTimestamp
= _misc
.Log_GetTimestamp
738 Log_TimeStamp
= _misc
.Log_TimeStamp
740 class LogStderr(Log
):
741 def __init__(self
, *args
, **kwargs
):
742 newobj
= _misc
.new_LogStderr(*args
, **kwargs
)
743 self
.this
= newobj
.this
747 return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
749 class LogStderrPtr(LogStderr
):
750 def __init__(self
, this
):
752 if not hasattr(self
,"thisown"): self
.thisown
= 0
753 self
.__class
__ = LogStderr
754 _misc
.LogStderr_swigregister(LogStderrPtr
)
756 class LogTextCtrl(Log
):
757 def __init__(self
, *args
, **kwargs
):
758 newobj
= _misc
.new_LogTextCtrl(*args
, **kwargs
)
759 self
.this
= newobj
.this
763 return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
765 class LogTextCtrlPtr(LogTextCtrl
):
766 def __init__(self
, this
):
768 if not hasattr(self
,"thisown"): self
.thisown
= 0
769 self
.__class
__ = LogTextCtrl
770 _misc
.LogTextCtrl_swigregister(LogTextCtrlPtr
)
773 def __init__(self
, *args
, **kwargs
):
774 newobj
= _misc
.new_LogGui(*args
, **kwargs
)
775 self
.this
= newobj
.this
779 return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
781 class LogGuiPtr(LogGui
):
782 def __init__(self
, this
):
784 if not hasattr(self
,"thisown"): self
.thisown
= 0
785 self
.__class
__ = LogGui
786 _misc
.LogGui_swigregister(LogGuiPtr
)
788 class LogWindow(Log
):
789 def __init__(self
, *args
, **kwargs
):
790 newobj
= _misc
.new_LogWindow(*args
, **kwargs
)
791 self
.this
= newobj
.this
794 def Show(*args
, **kwargs
): return _misc
.LogWindow_Show(*args
, **kwargs
)
795 def GetFrame(*args
, **kwargs
): return _misc
.LogWindow_GetFrame(*args
, **kwargs
)
796 def GetOldLog(*args
, **kwargs
): return _misc
.LogWindow_GetOldLog(*args
, **kwargs
)
797 def IsPassingMessages(*args
, **kwargs
): return _misc
.LogWindow_IsPassingMessages(*args
, **kwargs
)
798 def PassMessages(*args
, **kwargs
): return _misc
.LogWindow_PassMessages(*args
, **kwargs
)
800 return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
802 class LogWindowPtr(LogWindow
):
803 def __init__(self
, this
):
805 if not hasattr(self
,"thisown"): self
.thisown
= 0
806 self
.__class
__ = LogWindow
807 _misc
.LogWindow_swigregister(LogWindowPtr
)
810 def __init__(self
, *args
, **kwargs
):
811 newobj
= _misc
.new_LogChain(*args
, **kwargs
)
812 self
.this
= newobj
.this
815 def SetLog(*args
, **kwargs
): return _misc
.LogChain_SetLog(*args
, **kwargs
)
816 def PassMessages(*args
, **kwargs
): return _misc
.LogChain_PassMessages(*args
, **kwargs
)
817 def IsPassingMessages(*args
, **kwargs
): return _misc
.LogChain_IsPassingMessages(*args
, **kwargs
)
818 def GetOldLog(*args
, **kwargs
): return _misc
.LogChain_GetOldLog(*args
, **kwargs
)
820 return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
822 class LogChainPtr(LogChain
):
823 def __init__(self
, this
):
825 if not hasattr(self
,"thisown"): self
.thisown
= 0
826 self
.__class
__ = LogChain
827 _misc
.LogChain_swigregister(LogChainPtr
)
830 SysErrorCode
= _misc
.SysErrorCode
832 SysErrorMsg
= _misc
.SysErrorMsg
834 LogFatalError
= _misc
.LogFatalError
836 LogError
= _misc
.LogError
838 LogWarning
= _misc
.LogWarning
840 LogMessage
= _misc
.LogMessage
842 LogInfo
= _misc
.LogInfo
844 LogDebug
= _misc
.LogDebug
846 LogVerbose
= _misc
.LogVerbose
848 LogStatus
= _misc
.LogStatus
850 LogStatusFrame
= _misc
.LogStatusFrame
852 LogSysError
= _misc
.LogSysError
854 LogTrace
= _misc
.LogTrace
856 LogTraceMask
= _misc
.LogTraceMask
858 LogGeneric
= _misc
.LogGeneric
860 SafeShowMessage
= _misc
.SafeShowMessage
861 class LogNull(object):
862 def __init__(self
, *args
, **kwargs
):
863 newobj
= _misc
.new_LogNull(*args
, **kwargs
)
864 self
.this
= newobj
.this
867 def __del__(self
, destroy
=_misc
.delete_LogNull
):
869 if self
.thisown
: destroy(self
)
872 return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
874 class LogNullPtr(LogNull
):
875 def __init__(self
, this
):
877 if not hasattr(self
,"thisown"): self
.thisown
= 0
878 self
.__class
__ = LogNull
879 _misc
.LogNull_swigregister(LogNullPtr
)
882 def __init__(self
, *args
, **kwargs
):
883 newobj
= _misc
.new_PyLog(*args
, **kwargs
)
884 self
.this
= newobj
.this
887 self
._setCallbackInfo
(self
, PyLog
)
888 def _setCallbackInfo(*args
, **kwargs
): return _misc
.PyLog__setCallbackInfo(*args
, **kwargs
)
890 return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
892 class PyLogPtr(PyLog
):
893 def __init__(self
, this
):
895 if not hasattr(self
,"thisown"): self
.thisown
= 0
896 self
.__class
__ = PyLog
897 _misc
.PyLog_swigregister(PyLogPtr
)
899 #---------------------------------------------------------------------------
901 PROCESS_DEFAULT
= _misc
.PROCESS_DEFAULT
902 PROCESS_REDIRECT
= _misc
.PROCESS_REDIRECT
903 KILL_OK
= _misc
.KILL_OK
904 KILL_BAD_SIGNAL
= _misc
.KILL_BAD_SIGNAL
905 KILL_ACCESS_DENIED
= _misc
.KILL_ACCESS_DENIED
906 KILL_NO_PROCESS
= _misc
.KILL_NO_PROCESS
907 KILL_ERROR
= _misc
.KILL_ERROR
908 SIGNONE
= _misc
.SIGNONE
909 SIGHUP
= _misc
.SIGHUP
910 SIGINT
= _misc
.SIGINT
911 SIGQUIT
= _misc
.SIGQUIT
912 SIGILL
= _misc
.SIGILL
913 SIGTRAP
= _misc
.SIGTRAP
914 SIGABRT
= _misc
.SIGABRT
915 SIGIOT
= _misc
.SIGIOT
916 SIGEMT
= _misc
.SIGEMT
917 SIGFPE
= _misc
.SIGFPE
918 SIGKILL
= _misc
.SIGKILL
919 SIGBUS
= _misc
.SIGBUS
920 SIGSEGV
= _misc
.SIGSEGV
921 SIGSYS
= _misc
.SIGSYS
922 SIGPIPE
= _misc
.SIGPIPE
923 SIGALRM
= _misc
.SIGALRM
924 SIGTERM
= _misc
.SIGTERM
925 class Process(core
.EvtHandler
):
926 Kill
= staticmethod(_misc
.Process_Kill
)
927 Exists
= staticmethod(_misc
.Process_Exists
)
928 Open
= staticmethod(_misc
.Process_Open
)
929 def __init__(self
, *args
, **kwargs
):
930 newobj
= _misc
.new_Process(*args
, **kwargs
)
931 self
.this
= newobj
.this
934 self
._setCallbackInfo
(self
, Process
)
935 def _setCallbackInfo(*args
, **kwargs
): return _misc
.Process__setCallbackInfo(*args
, **kwargs
)
936 def base_OnTerminate(*args
, **kwargs
): return _misc
.Process_base_OnTerminate(*args
, **kwargs
)
937 def Redirect(*args
, **kwargs
): return _misc
.Process_Redirect(*args
, **kwargs
)
938 def IsRedirected(*args
, **kwargs
): return _misc
.Process_IsRedirected(*args
, **kwargs
)
939 def Detach(*args
, **kwargs
): return _misc
.Process_Detach(*args
, **kwargs
)
940 def GetInputStream(*args
, **kwargs
): return _misc
.Process_GetInputStream(*args
, **kwargs
)
941 def GetErrorStream(*args
, **kwargs
): return _misc
.Process_GetErrorStream(*args
, **kwargs
)
942 def GetOutputStream(*args
, **kwargs
): return _misc
.Process_GetOutputStream(*args
, **kwargs
)
943 def CloseOutput(*args
, **kwargs
): return _misc
.Process_CloseOutput(*args
, **kwargs
)
944 def IsInputOpened(*args
, **kwargs
): return _misc
.Process_IsInputOpened(*args
, **kwargs
)
945 def IsInputAvailable(*args
, **kwargs
): return _misc
.Process_IsInputAvailable(*args
, **kwargs
)
946 def IsErrorAvailable(*args
, **kwargs
): return _misc
.Process_IsErrorAvailable(*args
, **kwargs
)
948 return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
950 class ProcessPtr(Process
):
951 def __init__(self
, this
):
953 if not hasattr(self
,"thisown"): self
.thisown
= 0
954 self
.__class
__ = Process
955 _misc
.Process_swigregister(ProcessPtr
)
957 Process_Kill
= _misc
.Process_Kill
959 Process_Exists
= _misc
.Process_Exists
961 Process_Open
= _misc
.Process_Open
963 class ProcessEvent(core
.Event
):
964 def __init__(self
, *args
, **kwargs
):
965 newobj
= _misc
.new_ProcessEvent(*args
, **kwargs
)
966 self
.this
= newobj
.this
969 def GetPid(*args
, **kwargs
): return _misc
.ProcessEvent_GetPid(*args
, **kwargs
)
970 def GetExitCode(*args
, **kwargs
): return _misc
.ProcessEvent_GetExitCode(*args
, **kwargs
)
971 m_pid
= property(_misc
.ProcessEvent_m_pid_get
, _misc
.ProcessEvent_m_pid_set
)
972 m_exitcode
= property(_misc
.ProcessEvent_m_exitcode_get
, _misc
.ProcessEvent_m_exitcode_set
)
974 return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
976 class ProcessEventPtr(ProcessEvent
):
977 def __init__(self
, this
):
979 if not hasattr(self
,"thisown"): self
.thisown
= 0
980 self
.__class
__ = ProcessEvent
981 _misc
.ProcessEvent_swigregister(ProcessEventPtr
)
983 wxEVT_END_PROCESS
= _misc
.wxEVT_END_PROCESS
984 EVT_END_PROCESS
= wx
.PyEventBinder( wxEVT_END_PROCESS
, 1 )
986 EXEC_ASYNC
= _misc
.EXEC_ASYNC
987 EXEC_SYNC
= _misc
.EXEC_SYNC
988 EXEC_NOHIDE
= _misc
.EXEC_NOHIDE
989 EXEC_MAKE_GROUP_LEADER
= _misc
.EXEC_MAKE_GROUP_LEADER
991 Execute
= _misc
.Execute
992 #---------------------------------------------------------------------------
994 JOYSTICK1
= _misc
.JOYSTICK1
995 JOYSTICK2
= _misc
.JOYSTICK2
996 JOY_BUTTON_ANY
= _misc
.JOY_BUTTON_ANY
997 JOY_BUTTON1
= _misc
.JOY_BUTTON1
998 JOY_BUTTON2
= _misc
.JOY_BUTTON2
999 JOY_BUTTON3
= _misc
.JOY_BUTTON3
1000 JOY_BUTTON4
= _misc
.JOY_BUTTON4
1001 class Joystick(object):
1002 def __init__(self
, *args
, **kwargs
):
1003 newobj
= _misc
.new_Joystick(*args
, **kwargs
)
1004 self
.this
= newobj
.this
1007 def __del__(self
, destroy
=_misc
.delete_Joystick
):
1009 if self
.thisown
: destroy(self
)
1011 def GetPosition(*args
, **kwargs
): return _misc
.Joystick_GetPosition(*args
, **kwargs
)
1012 def GetZPosition(*args
, **kwargs
): return _misc
.Joystick_GetZPosition(*args
, **kwargs
)
1013 def GetButtonState(*args
, **kwargs
): return _misc
.Joystick_GetButtonState(*args
, **kwargs
)
1014 def GetPOVPosition(*args
, **kwargs
): return _misc
.Joystick_GetPOVPosition(*args
, **kwargs
)
1015 def GetPOVCTSPosition(*args
, **kwargs
): return _misc
.Joystick_GetPOVCTSPosition(*args
, **kwargs
)
1016 def GetRudderPosition(*args
, **kwargs
): return _misc
.Joystick_GetRudderPosition(*args
, **kwargs
)
1017 def GetUPosition(*args
, **kwargs
): return _misc
.Joystick_GetUPosition(*args
, **kwargs
)
1018 def GetVPosition(*args
, **kwargs
): return _misc
.Joystick_GetVPosition(*args
, **kwargs
)
1019 def GetMovementThreshold(*args
, **kwargs
): return _misc
.Joystick_GetMovementThreshold(*args
, **kwargs
)
1020 def SetMovementThreshold(*args
, **kwargs
): return _misc
.Joystick_SetMovementThreshold(*args
, **kwargs
)
1021 def IsOk(*args
, **kwargs
): return _misc
.Joystick_IsOk(*args
, **kwargs
)
1022 def GetNumberJoysticks(*args
, **kwargs
): return _misc
.Joystick_GetNumberJoysticks(*args
, **kwargs
)
1023 def GetManufacturerId(*args
, **kwargs
): return _misc
.Joystick_GetManufacturerId(*args
, **kwargs
)
1024 def GetProductId(*args
, **kwargs
): return _misc
.Joystick_GetProductId(*args
, **kwargs
)
1025 def GetProductName(*args
, **kwargs
): return _misc
.Joystick_GetProductName(*args
, **kwargs
)
1026 def GetXMin(*args
, **kwargs
): return _misc
.Joystick_GetXMin(*args
, **kwargs
)
1027 def GetYMin(*args
, **kwargs
): return _misc
.Joystick_GetYMin(*args
, **kwargs
)
1028 def GetZMin(*args
, **kwargs
): return _misc
.Joystick_GetZMin(*args
, **kwargs
)
1029 def GetXMax(*args
, **kwargs
): return _misc
.Joystick_GetXMax(*args
, **kwargs
)
1030 def GetYMax(*args
, **kwargs
): return _misc
.Joystick_GetYMax(*args
, **kwargs
)
1031 def GetZMax(*args
, **kwargs
): return _misc
.Joystick_GetZMax(*args
, **kwargs
)
1032 def GetNumberButtons(*args
, **kwargs
): return _misc
.Joystick_GetNumberButtons(*args
, **kwargs
)
1033 def GetNumberAxes(*args
, **kwargs
): return _misc
.Joystick_GetNumberAxes(*args
, **kwargs
)
1034 def GetMaxButtons(*args
, **kwargs
): return _misc
.Joystick_GetMaxButtons(*args
, **kwargs
)
1035 def GetMaxAxes(*args
, **kwargs
): return _misc
.Joystick_GetMaxAxes(*args
, **kwargs
)
1036 def GetPollingMin(*args
, **kwargs
): return _misc
.Joystick_GetPollingMin(*args
, **kwargs
)
1037 def GetPollingMax(*args
, **kwargs
): return _misc
.Joystick_GetPollingMax(*args
, **kwargs
)
1038 def GetRudderMin(*args
, **kwargs
): return _misc
.Joystick_GetRudderMin(*args
, **kwargs
)
1039 def GetRudderMax(*args
, **kwargs
): return _misc
.Joystick_GetRudderMax(*args
, **kwargs
)
1040 def GetUMin(*args
, **kwargs
): return _misc
.Joystick_GetUMin(*args
, **kwargs
)
1041 def GetUMax(*args
, **kwargs
): return _misc
.Joystick_GetUMax(*args
, **kwargs
)
1042 def GetVMin(*args
, **kwargs
): return _misc
.Joystick_GetVMin(*args
, **kwargs
)
1043 def GetVMax(*args
, **kwargs
): return _misc
.Joystick_GetVMax(*args
, **kwargs
)
1044 def HasRudder(*args
, **kwargs
): return _misc
.Joystick_HasRudder(*args
, **kwargs
)
1045 def HasZ(*args
, **kwargs
): return _misc
.Joystick_HasZ(*args
, **kwargs
)
1046 def HasU(*args
, **kwargs
): return _misc
.Joystick_HasU(*args
, **kwargs
)
1047 def HasV(*args
, **kwargs
): return _misc
.Joystick_HasV(*args
, **kwargs
)
1048 def HasPOV(*args
, **kwargs
): return _misc
.Joystick_HasPOV(*args
, **kwargs
)
1049 def HasPOV4Dir(*args
, **kwargs
): return _misc
.Joystick_HasPOV4Dir(*args
, **kwargs
)
1050 def HasPOVCTS(*args
, **kwargs
): return _misc
.Joystick_HasPOVCTS(*args
, **kwargs
)
1051 def SetCapture(*args
, **kwargs
): return _misc
.Joystick_SetCapture(*args
, **kwargs
)
1052 def ReleaseCapture(*args
, **kwargs
): return _misc
.Joystick_ReleaseCapture(*args
, **kwargs
)
1053 def __nonzero__(self
): return self
.IsOk()
1055 return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1057 class JoystickPtr(Joystick
):
1058 def __init__(self
, this
):
1060 if not hasattr(self
,"thisown"): self
.thisown
= 0
1061 self
.__class
__ = Joystick
1062 _misc
.Joystick_swigregister(JoystickPtr
)
1064 wxEVT_JOY_BUTTON_DOWN
= _misc
.wxEVT_JOY_BUTTON_DOWN
1065 wxEVT_JOY_BUTTON_UP
= _misc
.wxEVT_JOY_BUTTON_UP
1066 wxEVT_JOY_MOVE
= _misc
.wxEVT_JOY_MOVE
1067 wxEVT_JOY_ZMOVE
= _misc
.wxEVT_JOY_ZMOVE
1068 class JoystickEvent(core
.Event
):
1069 m_pos
= property(_misc
.JoystickEvent_m_pos_get
, _misc
.JoystickEvent_m_pos_set
)
1070 m_zPosition
= property(_misc
.JoystickEvent_m_zPosition_get
, _misc
.JoystickEvent_m_zPosition_set
)
1071 m_buttonChange
= property(_misc
.JoystickEvent_m_buttonChange_get
, _misc
.JoystickEvent_m_buttonChange_set
)
1072 m_buttonState
= property(_misc
.JoystickEvent_m_buttonState_get
, _misc
.JoystickEvent_m_buttonState_set
)
1073 m_joyStick
= property(_misc
.JoystickEvent_m_joyStick_get
, _misc
.JoystickEvent_m_joyStick_set
)
1074 def __init__(self
, *args
, **kwargs
):
1075 newobj
= _misc
.new_JoystickEvent(*args
, **kwargs
)
1076 self
.this
= newobj
.this
1079 def GetPosition(*args
, **kwargs
): return _misc
.JoystickEvent_GetPosition(*args
, **kwargs
)
1080 def GetZPosition(*args
, **kwargs
): return _misc
.JoystickEvent_GetZPosition(*args
, **kwargs
)
1081 def GetButtonState(*args
, **kwargs
): return _misc
.JoystickEvent_GetButtonState(*args
, **kwargs
)
1082 def GetButtonChange(*args
, **kwargs
): return _misc
.JoystickEvent_GetButtonChange(*args
, **kwargs
)
1083 def GetJoystick(*args
, **kwargs
): return _misc
.JoystickEvent_GetJoystick(*args
, **kwargs
)
1084 def SetJoystick(*args
, **kwargs
): return _misc
.JoystickEvent_SetJoystick(*args
, **kwargs
)
1085 def SetButtonState(*args
, **kwargs
): return _misc
.JoystickEvent_SetButtonState(*args
, **kwargs
)
1086 def SetButtonChange(*args
, **kwargs
): return _misc
.JoystickEvent_SetButtonChange(*args
, **kwargs
)
1087 def SetPosition(*args
, **kwargs
): return _misc
.JoystickEvent_SetPosition(*args
, **kwargs
)
1088 def SetZPosition(*args
, **kwargs
): return _misc
.JoystickEvent_SetZPosition(*args
, **kwargs
)
1089 def IsButton(*args
, **kwargs
): return _misc
.JoystickEvent_IsButton(*args
, **kwargs
)
1090 def IsMove(*args
, **kwargs
): return _misc
.JoystickEvent_IsMove(*args
, **kwargs
)
1091 def IsZMove(*args
, **kwargs
): return _misc
.JoystickEvent_IsZMove(*args
, **kwargs
)
1092 def ButtonDown(*args
, **kwargs
): return _misc
.JoystickEvent_ButtonDown(*args
, **kwargs
)
1093 def ButtonUp(*args
, **kwargs
): return _misc
.JoystickEvent_ButtonUp(*args
, **kwargs
)
1094 def ButtonIsDown(*args
, **kwargs
): return _misc
.JoystickEvent_ButtonIsDown(*args
, **kwargs
)
1096 return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1098 class JoystickEventPtr(JoystickEvent
):
1099 def __init__(self
, this
):
1101 if not hasattr(self
,"thisown"): self
.thisown
= 0
1102 self
.__class
__ = JoystickEvent
1103 _misc
.JoystickEvent_swigregister(JoystickEventPtr
)
1105 EVT_JOY_BUTTON_DOWN
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_DOWN
)
1106 EVT_JOY_BUTTON_UP
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_UP
)
1107 EVT_JOY_MOVE
= wx
.PyEventBinder( wxEVT_JOY_MOVE
)
1108 EVT_JOY_ZMOVE
= wx
.PyEventBinder( wxEVT_JOY_ZMOVE
)
1110 EVT_JOYSTICK_EVENTS
= wx
.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN
,
1111 wxEVT_JOY_BUTTON_UP
,
1117 #---------------------------------------------------------------------------
1120 def __init__(self
, *args
, **kwargs
):
1121 newobj
= _misc
.new_Wave(*args
, **kwargs
)
1122 self
.this
= newobj
.this
1125 def __del__(self
, destroy
=_misc
.delete_Wave
):
1127 if self
.thisown
: destroy(self
)
1129 def IsOk(*args
, **kwargs
): return _misc
.Wave_IsOk(*args
, **kwargs
)
1130 def Play(*args
, **kwargs
): return _misc
.Wave_Play(*args
, **kwargs
)
1131 def __nonzero__(self
): return self
.IsOk()
1133 return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1135 class WavePtr(Wave
):
1136 def __init__(self
, this
):
1138 if not hasattr(self
,"thisown"): self
.thisown
= 0
1139 self
.__class
__ = Wave
1140 _misc
.Wave_swigregister(WavePtr
)
1142 def WaveData(*args
, **kwargs
):
1143 val
= _misc
.new_WaveData(*args
, **kwargs
)
1147 #---------------------------------------------------------------------------
1149 MAILCAP_STANDARD
= _misc
.MAILCAP_STANDARD
1150 MAILCAP_NETSCAPE
= _misc
.MAILCAP_NETSCAPE
1151 MAILCAP_KDE
= _misc
.MAILCAP_KDE
1152 MAILCAP_GNOME
= _misc
.MAILCAP_GNOME
1153 MAILCAP_ALL
= _misc
.MAILCAP_ALL
1154 class FileTypeInfo(object):
1155 def __init__(self
, *args
, **kwargs
):
1156 newobj
= _misc
.new_FileTypeInfo(*args
, **kwargs
)
1157 self
.this
= newobj
.this
1160 def IsValid(*args
, **kwargs
): return _misc
.FileTypeInfo_IsValid(*args
, **kwargs
)
1161 def SetIcon(*args
, **kwargs
): return _misc
.FileTypeInfo_SetIcon(*args
, **kwargs
)
1162 def SetShortDesc(*args
, **kwargs
): return _misc
.FileTypeInfo_SetShortDesc(*args
, **kwargs
)
1163 def GetMimeType(*args
, **kwargs
): return _misc
.FileTypeInfo_GetMimeType(*args
, **kwargs
)
1164 def GetOpenCommand(*args
, **kwargs
): return _misc
.FileTypeInfo_GetOpenCommand(*args
, **kwargs
)
1165 def GetPrintCommand(*args
, **kwargs
): return _misc
.FileTypeInfo_GetPrintCommand(*args
, **kwargs
)
1166 def GetShortDesc(*args
, **kwargs
): return _misc
.FileTypeInfo_GetShortDesc(*args
, **kwargs
)
1167 def GetDescription(*args
, **kwargs
): return _misc
.FileTypeInfo_GetDescription(*args
, **kwargs
)
1168 def GetExtensions(*args
, **kwargs
): return _misc
.FileTypeInfo_GetExtensions(*args
, **kwargs
)
1169 def GetExtensionsCount(*args
, **kwargs
): return _misc
.FileTypeInfo_GetExtensionsCount(*args
, **kwargs
)
1170 def GetIconFile(*args
, **kwargs
): return _misc
.FileTypeInfo_GetIconFile(*args
, **kwargs
)
1171 def GetIconIndex(*args
, **kwargs
): return _misc
.FileTypeInfo_GetIconIndex(*args
, **kwargs
)
1173 return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1175 class FileTypeInfoPtr(FileTypeInfo
):
1176 def __init__(self
, this
):
1178 if not hasattr(self
,"thisown"): self
.thisown
= 0
1179 self
.__class
__ = FileTypeInfo
1180 _misc
.FileTypeInfo_swigregister(FileTypeInfoPtr
)
1182 def FileTypeInfoSequence(*args
, **kwargs
):
1183 val
= _misc
.new_FileTypeInfoSequence(*args
, **kwargs
)
1187 def NullFileTypeInfo(*args
, **kwargs
):
1188 val
= _misc
.new_NullFileTypeInfo(*args
, **kwargs
)
1192 class FileType(object):
1193 def __init__(self
, *args
, **kwargs
):
1194 newobj
= _misc
.new_FileType(*args
, **kwargs
)
1195 self
.this
= newobj
.this
1198 def __del__(self
, destroy
=_misc
.delete_FileType
):
1200 if self
.thisown
: destroy(self
)
1202 def GetMimeType(*args
, **kwargs
): return _misc
.FileType_GetMimeType(*args
, **kwargs
)
1203 def GetMimeTypes(*args
, **kwargs
): return _misc
.FileType_GetMimeTypes(*args
, **kwargs
)
1204 def GetExtensions(*args
, **kwargs
): return _misc
.FileType_GetExtensions(*args
, **kwargs
)
1205 def GetIcon(*args
, **kwargs
): return _misc
.FileType_GetIcon(*args
, **kwargs
)
1206 def GetIconInfo(*args
, **kwargs
): return _misc
.FileType_GetIconInfo(*args
, **kwargs
)
1207 def GetDescription(*args
, **kwargs
): return _misc
.FileType_GetDescription(*args
, **kwargs
)
1208 def GetOpenCommand(*args
, **kwargs
): return _misc
.FileType_GetOpenCommand(*args
, **kwargs
)
1209 def GetPrintCommand(*args
, **kwargs
): return _misc
.FileType_GetPrintCommand(*args
, **kwargs
)
1210 def GetAllCommands(*args
, **kwargs
): return _misc
.FileType_GetAllCommands(*args
, **kwargs
)
1211 def SetCommand(*args
, **kwargs
): return _misc
.FileType_SetCommand(*args
, **kwargs
)
1212 def SetDefaultIcon(*args
, **kwargs
): return _misc
.FileType_SetDefaultIcon(*args
, **kwargs
)
1213 def Unassociate(*args
, **kwargs
): return _misc
.FileType_Unassociate(*args
, **kwargs
)
1214 ExpandCommand
= staticmethod(_misc
.FileType_ExpandCommand
)
1216 return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1218 class FileTypePtr(FileType
):
1219 def __init__(self
, this
):
1221 if not hasattr(self
,"thisown"): self
.thisown
= 0
1222 self
.__class
__ = FileType
1223 _misc
.FileType_swigregister(FileTypePtr
)
1225 FileType_ExpandCommand
= _misc
.FileType_ExpandCommand
1227 class MimeTypesManager(object):
1228 IsOfType
= staticmethod(_misc
.MimeTypesManager_IsOfType
)
1229 def __init__(self
, *args
, **kwargs
):
1230 newobj
= _misc
.new_MimeTypesManager(*args
, **kwargs
)
1231 self
.this
= newobj
.this
1234 def Initialize(*args
, **kwargs
): return _misc
.MimeTypesManager_Initialize(*args
, **kwargs
)
1235 def ClearData(*args
, **kwargs
): return _misc
.MimeTypesManager_ClearData(*args
, **kwargs
)
1236 def GetFileTypeFromExtension(*args
, **kwargs
): return _misc
.MimeTypesManager_GetFileTypeFromExtension(*args
, **kwargs
)
1237 def GetFileTypeFromMimeType(*args
, **kwargs
): return _misc
.MimeTypesManager_GetFileTypeFromMimeType(*args
, **kwargs
)
1238 def ReadMailcap(*args
, **kwargs
): return _misc
.MimeTypesManager_ReadMailcap(*args
, **kwargs
)
1239 def ReadMimeTypes(*args
, **kwargs
): return _misc
.MimeTypesManager_ReadMimeTypes(*args
, **kwargs
)
1240 def EnumAllFileTypes(*args
, **kwargs
): return _misc
.MimeTypesManager_EnumAllFileTypes(*args
, **kwargs
)
1241 def AddFallback(*args
, **kwargs
): return _misc
.MimeTypesManager_AddFallback(*args
, **kwargs
)
1242 def Associate(*args
, **kwargs
): return _misc
.MimeTypesManager_Associate(*args
, **kwargs
)
1243 def Unassociate(*args
, **kwargs
): return _misc
.MimeTypesManager_Unassociate(*args
, **kwargs
)
1244 def __del__(self
, destroy
=_misc
.delete_MimeTypesManager
):
1246 if self
.thisown
: destroy(self
)
1249 return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1251 class MimeTypesManagerPtr(MimeTypesManager
):
1252 def __init__(self
, this
):
1254 if not hasattr(self
,"thisown"): self
.thisown
= 0
1255 self
.__class
__ = MimeTypesManager
1256 _misc
.MimeTypesManager_swigregister(MimeTypesManagerPtr
)
1258 TheMimeTypesManager
= cvar
.TheMimeTypesManager
1260 MimeTypesManager_IsOfType
= _misc
.MimeTypesManager_IsOfType
1262 #---------------------------------------------------------------------------
1264 class ArtProvider(object):
1265 def __init__(self
, *args
, **kwargs
):
1266 newobj
= _misc
.new_ArtProvider(*args
, **kwargs
)
1267 self
.this
= newobj
.this
1270 self
._setCallbackInfo
(self
, ArtProvider
)
1271 def __del__(self
, destroy
=_misc
.delete_ArtProvider
):
1273 if self
.thisown
: destroy(self
)
1275 def _setCallbackInfo(*args
, **kwargs
): return _misc
.ArtProvider__setCallbackInfo(*args
, **kwargs
)
1276 PushProvider
= staticmethod(_misc
.ArtProvider_PushProvider
)
1277 PopProvider
= staticmethod(_misc
.ArtProvider_PopProvider
)
1278 RemoveProvider
= staticmethod(_misc
.ArtProvider_RemoveProvider
)
1279 GetBitmap
= staticmethod(_misc
.ArtProvider_GetBitmap
)
1280 GetIcon
= staticmethod(_misc
.ArtProvider_GetIcon
)
1282 return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1284 class ArtProviderPtr(ArtProvider
):
1285 def __init__(self
, this
):
1287 if not hasattr(self
,"thisown"): self
.thisown
= 0
1288 self
.__class
__ = ArtProvider
1289 _misc
.ArtProvider_swigregister(ArtProviderPtr
)
1290 ART_TOOLBAR
= cvar
.ART_TOOLBAR
1291 ART_MENU
= cvar
.ART_MENU
1292 ART_FRAME_ICON
= cvar
.ART_FRAME_ICON
1293 ART_CMN_DIALOG
= cvar
.ART_CMN_DIALOG
1294 ART_HELP_BROWSER
= cvar
.ART_HELP_BROWSER
1295 ART_MESSAGE_BOX
= cvar
.ART_MESSAGE_BOX
1296 ART_OTHER
= cvar
.ART_OTHER
1297 ART_ADD_BOOKMARK
= cvar
.ART_ADD_BOOKMARK
1298 ART_DEL_BOOKMARK
= cvar
.ART_DEL_BOOKMARK
1299 ART_HELP_SIDE_PANEL
= cvar
.ART_HELP_SIDE_PANEL
1300 ART_HELP_SETTINGS
= cvar
.ART_HELP_SETTINGS
1301 ART_HELP_BOOK
= cvar
.ART_HELP_BOOK
1302 ART_HELP_FOLDER
= cvar
.ART_HELP_FOLDER
1303 ART_HELP_PAGE
= cvar
.ART_HELP_PAGE
1304 ART_GO_BACK
= cvar
.ART_GO_BACK
1305 ART_GO_FORWARD
= cvar
.ART_GO_FORWARD
1306 ART_GO_UP
= cvar
.ART_GO_UP
1307 ART_GO_DOWN
= cvar
.ART_GO_DOWN
1308 ART_GO_TO_PARENT
= cvar
.ART_GO_TO_PARENT
1309 ART_GO_HOME
= cvar
.ART_GO_HOME
1310 ART_FILE_OPEN
= cvar
.ART_FILE_OPEN
1311 ART_PRINT
= cvar
.ART_PRINT
1312 ART_HELP
= cvar
.ART_HELP
1313 ART_TIP
= cvar
.ART_TIP
1314 ART_REPORT_VIEW
= cvar
.ART_REPORT_VIEW
1315 ART_LIST_VIEW
= cvar
.ART_LIST_VIEW
1316 ART_NEW_DIR
= cvar
.ART_NEW_DIR
1317 ART_FOLDER
= cvar
.ART_FOLDER
1318 ART_GO_DIR_UP
= cvar
.ART_GO_DIR_UP
1319 ART_EXECUTABLE_FILE
= cvar
.ART_EXECUTABLE_FILE
1320 ART_NORMAL_FILE
= cvar
.ART_NORMAL_FILE
1321 ART_TICK_MARK
= cvar
.ART_TICK_MARK
1322 ART_CROSS_MARK
= cvar
.ART_CROSS_MARK
1323 ART_ERROR
= cvar
.ART_ERROR
1324 ART_QUESTION
= cvar
.ART_QUESTION
1325 ART_WARNING
= cvar
.ART_WARNING
1326 ART_INFORMATION
= cvar
.ART_INFORMATION
1327 ART_MISSING_IMAGE
= cvar
.ART_MISSING_IMAGE
1329 ArtProvider_PushProvider
= _misc
.ArtProvider_PushProvider
1331 ArtProvider_PopProvider
= _misc
.ArtProvider_PopProvider
1333 ArtProvider_RemoveProvider
= _misc
.ArtProvider_RemoveProvider
1335 ArtProvider_GetBitmap
= _misc
.ArtProvider_GetBitmap
1337 ArtProvider_GetIcon
= _misc
.ArtProvider_GetIcon
1339 #---------------------------------------------------------------------------
1341 CONFIG_USE_LOCAL_FILE
= _misc
.CONFIG_USE_LOCAL_FILE
1342 CONFIG_USE_GLOBAL_FILE
= _misc
.CONFIG_USE_GLOBAL_FILE
1343 CONFIG_USE_RELATIVE_PATH
= _misc
.CONFIG_USE_RELATIVE_PATH
1344 CONFIG_USE_NO_ESCAPE_CHARACTERS
= _misc
.CONFIG_USE_NO_ESCAPE_CHARACTERS
1345 class ConfigBase(object):
1346 def __del__(self
, destroy
=_misc
.delete_ConfigBase
):
1348 if self
.thisown
: destroy(self
)
1350 Type_Unknown
= _misc
.ConfigBase_Type_Unknown
1351 Type_String
= _misc
.ConfigBase_Type_String
1352 Type_Boolean
= _misc
.ConfigBase_Type_Boolean
1353 Type_Integer
= _misc
.ConfigBase_Type_Integer
1354 Type_Float
= _misc
.ConfigBase_Type_Float
1355 Set
= staticmethod(_misc
.ConfigBase_Set
)
1356 Get
= staticmethod(_misc
.ConfigBase_Get
)
1357 Create
= staticmethod(_misc
.ConfigBase_Create
)
1358 DontCreateOnDemand
= staticmethod(_misc
.ConfigBase_DontCreateOnDemand
)
1359 def SetPath(*args
, **kwargs
): return _misc
.ConfigBase_SetPath(*args
, **kwargs
)
1360 def GetPath(*args
, **kwargs
): return _misc
.ConfigBase_GetPath(*args
, **kwargs
)
1361 def GetFirstGroup(*args
, **kwargs
): return _misc
.ConfigBase_GetFirstGroup(*args
, **kwargs
)
1362 def GetNextGroup(*args
, **kwargs
): return _misc
.ConfigBase_GetNextGroup(*args
, **kwargs
)
1363 def GetFirstEntry(*args
, **kwargs
): return _misc
.ConfigBase_GetFirstEntry(*args
, **kwargs
)
1364 def GetNextEntry(*args
, **kwargs
): return _misc
.ConfigBase_GetNextEntry(*args
, **kwargs
)
1365 def GetNumberOfEntries(*args
, **kwargs
): return _misc
.ConfigBase_GetNumberOfEntries(*args
, **kwargs
)
1366 def GetNumberOfGroups(*args
, **kwargs
): return _misc
.ConfigBase_GetNumberOfGroups(*args
, **kwargs
)
1367 def HasGroup(*args
, **kwargs
): return _misc
.ConfigBase_HasGroup(*args
, **kwargs
)
1368 def HasEntry(*args
, **kwargs
): return _misc
.ConfigBase_HasEntry(*args
, **kwargs
)
1369 def Exists(*args
, **kwargs
): return _misc
.ConfigBase_Exists(*args
, **kwargs
)
1370 def GetEntryType(*args
, **kwargs
): return _misc
.ConfigBase_GetEntryType(*args
, **kwargs
)
1371 def Read(*args
, **kwargs
): return _misc
.ConfigBase_Read(*args
, **kwargs
)
1372 def ReadInt(*args
, **kwargs
): return _misc
.ConfigBase_ReadInt(*args
, **kwargs
)
1373 def ReadFloat(*args
, **kwargs
): return _misc
.ConfigBase_ReadFloat(*args
, **kwargs
)
1374 def ReadBool(*args
, **kwargs
): return _misc
.ConfigBase_ReadBool(*args
, **kwargs
)
1375 def Write(*args
, **kwargs
): return _misc
.ConfigBase_Write(*args
, **kwargs
)
1376 def WriteInt(*args
, **kwargs
): return _misc
.ConfigBase_WriteInt(*args
, **kwargs
)
1377 def WriteFloat(*args
, **kwargs
): return _misc
.ConfigBase_WriteFloat(*args
, **kwargs
)
1378 def WriteBool(*args
, **kwargs
): return _misc
.ConfigBase_WriteBool(*args
, **kwargs
)
1379 def Flush(*args
, **kwargs
): return _misc
.ConfigBase_Flush(*args
, **kwargs
)
1380 def RenameEntry(*args
, **kwargs
): return _misc
.ConfigBase_RenameEntry(*args
, **kwargs
)
1381 def RenameGroup(*args
, **kwargs
): return _misc
.ConfigBase_RenameGroup(*args
, **kwargs
)
1382 def DeleteEntry(*args
, **kwargs
): return _misc
.ConfigBase_DeleteEntry(*args
, **kwargs
)
1383 def DeleteGroup(*args
, **kwargs
): return _misc
.ConfigBase_DeleteGroup(*args
, **kwargs
)
1384 def DeleteAll(*args
, **kwargs
): return _misc
.ConfigBase_DeleteAll(*args
, **kwargs
)
1385 def IsExpandingEnvVars(*args
, **kwargs
): return _misc
.ConfigBase_IsExpandingEnvVars(*args
, **kwargs
)
1386 def SetExpandEnvVars(*args
, **kwargs
): return _misc
.ConfigBase_SetExpandEnvVars(*args
, **kwargs
)
1387 def SetRecordDefaults(*args
, **kwargs
): return _misc
.ConfigBase_SetRecordDefaults(*args
, **kwargs
)
1388 def IsRecordingDefaults(*args
, **kwargs
): return _misc
.ConfigBase_IsRecordingDefaults(*args
, **kwargs
)
1389 def ExpandEnvVars(*args
, **kwargs
): return _misc
.ConfigBase_ExpandEnvVars(*args
, **kwargs
)
1390 def GetAppName(*args
, **kwargs
): return _misc
.ConfigBase_GetAppName(*args
, **kwargs
)
1391 def GetVendorName(*args
, **kwargs
): return _misc
.ConfigBase_GetVendorName(*args
, **kwargs
)
1392 def SetAppName(*args
, **kwargs
): return _misc
.ConfigBase_SetAppName(*args
, **kwargs
)
1393 def SetVendorName(*args
, **kwargs
): return _misc
.ConfigBase_SetVendorName(*args
, **kwargs
)
1394 def SetStyle(*args
, **kwargs
): return _misc
.ConfigBase_SetStyle(*args
, **kwargs
)
1395 def GetStyle(*args
, **kwargs
): return _misc
.ConfigBase_GetStyle(*args
, **kwargs
)
1396 def __init__(self
): raise RuntimeError, "No constructor defined"
1398 return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1400 class ConfigBasePtr(ConfigBase
):
1401 def __init__(self
, this
):
1403 if not hasattr(self
,"thisown"): self
.thisown
= 0
1404 self
.__class
__ = ConfigBase
1405 _misc
.ConfigBase_swigregister(ConfigBasePtr
)
1407 ConfigBase_Set
= _misc
.ConfigBase_Set
1409 ConfigBase_Get
= _misc
.ConfigBase_Get
1411 ConfigBase_Create
= _misc
.ConfigBase_Create
1413 ConfigBase_DontCreateOnDemand
= _misc
.ConfigBase_DontCreateOnDemand
1415 class ConfigPathChanger(object):
1416 def __init__(self
, *args
, **kwargs
):
1417 newobj
= _misc
.new_ConfigPathChanger(*args
, **kwargs
)
1418 self
.this
= newobj
.this
1421 def __del__(self
, destroy
=_misc
.delete_ConfigPathChanger
):
1423 if self
.thisown
: destroy(self
)
1425 def Name(*args
, **kwargs
): return _misc
.ConfigPathChanger_Name(*args
, **kwargs
)
1427 return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1429 class ConfigPathChangerPtr(ConfigPathChanger
):
1430 def __init__(self
, this
):
1432 if not hasattr(self
,"thisown"): self
.thisown
= 0
1433 self
.__class
__ = ConfigPathChanger
1434 _misc
.ConfigPathChanger_swigregister(ConfigPathChangerPtr
)
1436 class Config(ConfigBase
):
1437 def __init__(self
, *args
, **kwargs
):
1438 newobj
= _misc
.new_Config(*args
, **kwargs
)
1439 self
.this
= newobj
.this
1442 def __del__(self
, destroy
=_misc
.delete_Config
):
1444 if self
.thisown
: destroy(self
)
1447 return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1449 class ConfigPtr(Config
):
1450 def __init__(self
, this
):
1452 if not hasattr(self
,"thisown"): self
.thisown
= 0
1453 self
.__class
__ = Config
1454 _misc
.Config_swigregister(ConfigPtr
)
1456 class FileConfig(ConfigBase
):
1457 def __init__(self
, *args
, **kwargs
):
1458 newobj
= _misc
.new_FileConfig(*args
, **kwargs
)
1459 self
.this
= newobj
.this
1462 def __del__(self
, destroy
=_misc
.delete_FileConfig
):
1464 if self
.thisown
: destroy(self
)
1467 return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1469 class FileConfigPtr(FileConfig
):
1470 def __init__(self
, this
):
1472 if not hasattr(self
,"thisown"): self
.thisown
= 0
1473 self
.__class
__ = FileConfig
1474 _misc
.FileConfig_swigregister(FileConfigPtr
)
1477 ExpandEnvVars
= _misc
.ExpandEnvVars
1478 #---------------------------------------------------------------------------
1480 class DateTime(object):
1481 Local
= _misc
.DateTime_Local
1482 GMT_12
= _misc
.DateTime_GMT_12
1483 GMT_11
= _misc
.DateTime_GMT_11
1484 GMT_10
= _misc
.DateTime_GMT_10
1485 GMT_9
= _misc
.DateTime_GMT_9
1486 GMT_8
= _misc
.DateTime_GMT_8
1487 GMT_7
= _misc
.DateTime_GMT_7
1488 GMT_6
= _misc
.DateTime_GMT_6
1489 GMT_5
= _misc
.DateTime_GMT_5
1490 GMT_4
= _misc
.DateTime_GMT_4
1491 GMT_3
= _misc
.DateTime_GMT_3
1492 GMT_2
= _misc
.DateTime_GMT_2
1493 GMT_1
= _misc
.DateTime_GMT_1
1494 GMT0
= _misc
.DateTime_GMT0
1495 GMT1
= _misc
.DateTime_GMT1
1496 GMT2
= _misc
.DateTime_GMT2
1497 GMT3
= _misc
.DateTime_GMT3
1498 GMT4
= _misc
.DateTime_GMT4
1499 GMT5
= _misc
.DateTime_GMT5
1500 GMT6
= _misc
.DateTime_GMT6
1501 GMT7
= _misc
.DateTime_GMT7
1502 GMT8
= _misc
.DateTime_GMT8
1503 GMT9
= _misc
.DateTime_GMT9
1504 GMT10
= _misc
.DateTime_GMT10
1505 GMT11
= _misc
.DateTime_GMT11
1506 GMT12
= _misc
.DateTime_GMT12
1507 WET
= _misc
.DateTime_WET
1508 WEST
= _misc
.DateTime_WEST
1509 CET
= _misc
.DateTime_CET
1510 CEST
= _misc
.DateTime_CEST
1511 EET
= _misc
.DateTime_EET
1512 EEST
= _misc
.DateTime_EEST
1513 MSK
= _misc
.DateTime_MSK
1514 MSD
= _misc
.DateTime_MSD
1515 AST
= _misc
.DateTime_AST
1516 ADT
= _misc
.DateTime_ADT
1517 EST
= _misc
.DateTime_EST
1518 EDT
= _misc
.DateTime_EDT
1519 CST
= _misc
.DateTime_CST
1520 CDT
= _misc
.DateTime_CDT
1521 MST
= _misc
.DateTime_MST
1522 MDT
= _misc
.DateTime_MDT
1523 PST
= _misc
.DateTime_PST
1524 PDT
= _misc
.DateTime_PDT
1525 HST
= _misc
.DateTime_HST
1526 AKST
= _misc
.DateTime_AKST
1527 AKDT
= _misc
.DateTime_AKDT
1528 A_WST
= _misc
.DateTime_A_WST
1529 A_CST
= _misc
.DateTime_A_CST
1530 A_EST
= _misc
.DateTime_A_EST
1531 A_ESST
= _misc
.DateTime_A_ESST
1532 UTC
= _misc
.DateTime_UTC
1533 Gregorian
= _misc
.DateTime_Gregorian
1534 Julian
= _misc
.DateTime_Julian
1535 Gr_Unknown
= _misc
.DateTime_Gr_Unknown
1536 Gr_Standard
= _misc
.DateTime_Gr_Standard
1537 Gr_Alaska
= _misc
.DateTime_Gr_Alaska
1538 Gr_Albania
= _misc
.DateTime_Gr_Albania
1539 Gr_Austria
= _misc
.DateTime_Gr_Austria
1540 Gr_Austria_Brixen
= _misc
.DateTime_Gr_Austria_Brixen
1541 Gr_Austria_Salzburg
= _misc
.DateTime_Gr_Austria_Salzburg
1542 Gr_Austria_Tyrol
= _misc
.DateTime_Gr_Austria_Tyrol
1543 Gr_Austria_Carinthia
= _misc
.DateTime_Gr_Austria_Carinthia
1544 Gr_Austria_Styria
= _misc
.DateTime_Gr_Austria_Styria
1545 Gr_Belgium
= _misc
.DateTime_Gr_Belgium
1546 Gr_Bulgaria
= _misc
.DateTime_Gr_Bulgaria
1547 Gr_Bulgaria_1
= _misc
.DateTime_Gr_Bulgaria_1
1548 Gr_Bulgaria_2
= _misc
.DateTime_Gr_Bulgaria_2
1549 Gr_Bulgaria_3
= _misc
.DateTime_Gr_Bulgaria_3
1550 Gr_Canada
= _misc
.DateTime_Gr_Canada
1551 Gr_China
= _misc
.DateTime_Gr_China
1552 Gr_China_1
= _misc
.DateTime_Gr_China_1
1553 Gr_China_2
= _misc
.DateTime_Gr_China_2
1554 Gr_Czechoslovakia
= _misc
.DateTime_Gr_Czechoslovakia
1555 Gr_Denmark
= _misc
.DateTime_Gr_Denmark
1556 Gr_Egypt
= _misc
.DateTime_Gr_Egypt
1557 Gr_Estonia
= _misc
.DateTime_Gr_Estonia
1558 Gr_Finland
= _misc
.DateTime_Gr_Finland
1559 Gr_France
= _misc
.DateTime_Gr_France
1560 Gr_France_Alsace
= _misc
.DateTime_Gr_France_Alsace
1561 Gr_France_Lorraine
= _misc
.DateTime_Gr_France_Lorraine
1562 Gr_France_Strasbourg
= _misc
.DateTime_Gr_France_Strasbourg
1563 Gr_Germany
= _misc
.DateTime_Gr_Germany
1564 Gr_Germany_Catholic
= _misc
.DateTime_Gr_Germany_Catholic
1565 Gr_Germany_Prussia
= _misc
.DateTime_Gr_Germany_Prussia
1566 Gr_Germany_Protestant
= _misc
.DateTime_Gr_Germany_Protestant
1567 Gr_GreatBritain
= _misc
.DateTime_Gr_GreatBritain
1568 Gr_Greece
= _misc
.DateTime_Gr_Greece
1569 Gr_Hungary
= _misc
.DateTime_Gr_Hungary
1570 Gr_Ireland
= _misc
.DateTime_Gr_Ireland
1571 Gr_Italy
= _misc
.DateTime_Gr_Italy
1572 Gr_Japan
= _misc
.DateTime_Gr_Japan
1573 Gr_Japan_1
= _misc
.DateTime_Gr_Japan_1
1574 Gr_Japan_2
= _misc
.DateTime_Gr_Japan_2
1575 Gr_Japan_3
= _misc
.DateTime_Gr_Japan_3
1576 Gr_Latvia
= _misc
.DateTime_Gr_Latvia
1577 Gr_Lithuania
= _misc
.DateTime_Gr_Lithuania
1578 Gr_Luxemburg
= _misc
.DateTime_Gr_Luxemburg
1579 Gr_Netherlands
= _misc
.DateTime_Gr_Netherlands
1580 Gr_Netherlands_Groningen
= _misc
.DateTime_Gr_Netherlands_Groningen
1581 Gr_Netherlands_Gelderland
= _misc
.DateTime_Gr_Netherlands_Gelderland
1582 Gr_Netherlands_Utrecht
= _misc
.DateTime_Gr_Netherlands_Utrecht
1583 Gr_Netherlands_Friesland
= _misc
.DateTime_Gr_Netherlands_Friesland
1584 Gr_Norway
= _misc
.DateTime_Gr_Norway
1585 Gr_Poland
= _misc
.DateTime_Gr_Poland
1586 Gr_Portugal
= _misc
.DateTime_Gr_Portugal
1587 Gr_Romania
= _misc
.DateTime_Gr_Romania
1588 Gr_Russia
= _misc
.DateTime_Gr_Russia
1589 Gr_Scotland
= _misc
.DateTime_Gr_Scotland
1590 Gr_Spain
= _misc
.DateTime_Gr_Spain
1591 Gr_Sweden
= _misc
.DateTime_Gr_Sweden
1592 Gr_Switzerland
= _misc
.DateTime_Gr_Switzerland
1593 Gr_Switzerland_Catholic
= _misc
.DateTime_Gr_Switzerland_Catholic
1594 Gr_Switzerland_Protestant
= _misc
.DateTime_Gr_Switzerland_Protestant
1595 Gr_Turkey
= _misc
.DateTime_Gr_Turkey
1596 Gr_USA
= _misc
.DateTime_Gr_USA
1597 Gr_Wales
= _misc
.DateTime_Gr_Wales
1598 Gr_Yugoslavia
= _misc
.DateTime_Gr_Yugoslavia
1599 Country_Unknown
= _misc
.DateTime_Country_Unknown
1600 Country_Default
= _misc
.DateTime_Country_Default
1601 Country_WesternEurope_Start
= _misc
.DateTime_Country_WesternEurope_Start
1602 Country_EEC
= _misc
.DateTime_Country_EEC
1603 France
= _misc
.DateTime_France
1604 Germany
= _misc
.DateTime_Germany
1605 UK
= _misc
.DateTime_UK
1606 Country_WesternEurope_End
= _misc
.DateTime_Country_WesternEurope_End
1607 Russia
= _misc
.DateTime_Russia
1608 USA
= _misc
.DateTime_USA
1609 Jan
= _misc
.DateTime_Jan
1610 Feb
= _misc
.DateTime_Feb
1611 Mar
= _misc
.DateTime_Mar
1612 Apr
= _misc
.DateTime_Apr
1613 May
= _misc
.DateTime_May
1614 Jun
= _misc
.DateTime_Jun
1615 Jul
= _misc
.DateTime_Jul
1616 Aug
= _misc
.DateTime_Aug
1617 Sep
= _misc
.DateTime_Sep
1618 Oct
= _misc
.DateTime_Oct
1619 Nov
= _misc
.DateTime_Nov
1620 Dec
= _misc
.DateTime_Dec
1621 Inv_Month
= _misc
.DateTime_Inv_Month
1622 Sun
= _misc
.DateTime_Sun
1623 Mon
= _misc
.DateTime_Mon
1624 Tue
= _misc
.DateTime_Tue
1625 Wed
= _misc
.DateTime_Wed
1626 Thu
= _misc
.DateTime_Thu
1627 Fri
= _misc
.DateTime_Fri
1628 Sat
= _misc
.DateTime_Sat
1629 Inv_WeekDay
= _misc
.DateTime_Inv_WeekDay
1630 Inv_Year
= _misc
.DateTime_Inv_Year
1631 Name_Full
= _misc
.DateTime_Name_Full
1632 Name_Abbr
= _misc
.DateTime_Name_Abbr
1633 Default_First
= _misc
.DateTime_Default_First
1634 Monday_First
= _misc
.DateTime_Monday_First
1635 Sunday_First
= _misc
.DateTime_Sunday_First
1636 SetCountry
= staticmethod(_misc
.DateTime_SetCountry
)
1637 GetCountry
= staticmethod(_misc
.DateTime_GetCountry
)
1638 IsWestEuropeanCountry
= staticmethod(_misc
.DateTime_IsWestEuropeanCountry
)
1639 GetCurrentYear
= staticmethod(_misc
.DateTime_GetCurrentYear
)
1640 ConvertYearToBC
= staticmethod(_misc
.DateTime_ConvertYearToBC
)
1641 GetCurrentMonth
= staticmethod(_misc
.DateTime_GetCurrentMonth
)
1642 IsLeapYear
= staticmethod(_misc
.DateTime_IsLeapYear
)
1643 GetCentury
= staticmethod(_misc
.DateTime_GetCentury
)
1644 GetNumberOfDaysinYear
= staticmethod(_misc
.DateTime_GetNumberOfDaysinYear
)
1645 GetNumberOfDaysInMonth
= staticmethod(_misc
.DateTime_GetNumberOfDaysInMonth
)
1646 GetMonthName
= staticmethod(_misc
.DateTime_GetMonthName
)
1647 GetWeekDayName
= staticmethod(_misc
.DateTime_GetWeekDayName
)
1648 GetAmPmStrings
= staticmethod(_misc
.DateTime_GetAmPmStrings
)
1649 IsDSTApplicable
= staticmethod(_misc
.DateTime_IsDSTApplicable
)
1650 GetBeginDST
= staticmethod(_misc
.DateTime_GetBeginDST
)
1651 GetEndDST
= staticmethod(_misc
.DateTime_GetEndDST
)
1652 Now
= staticmethod(_misc
.DateTime_Now
)
1653 UNow
= staticmethod(_misc
.DateTime_UNow
)
1654 Today
= staticmethod(_misc
.DateTime_Today
)
1655 def __init__(self
, *args
, **kwargs
):
1656 newobj
= _misc
.new_DateTime(*args
, **kwargs
)
1657 self
.this
= newobj
.this
1660 def __del__(self
, destroy
=_misc
.delete_DateTime
):
1662 if self
.thisown
: destroy(self
)
1664 def SetToCurrent(*args
, **kwargs
): return _misc
.DateTime_SetToCurrent(*args
, **kwargs
)
1665 def SetTimeT(*args
, **kwargs
): return _misc
.DateTime_SetTimeT(*args
, **kwargs
)
1666 def SetJDN(*args
, **kwargs
): return _misc
.DateTime_SetJDN(*args
, **kwargs
)
1667 def SetHMS(*args
, **kwargs
): return _misc
.DateTime_SetHMS(*args
, **kwargs
)
1668 def Set(*args
, **kwargs
): return _misc
.DateTime_Set(*args
, **kwargs
)
1669 def ResetTime(*args
, **kwargs
): return _misc
.DateTime_ResetTime(*args
, **kwargs
)
1670 def SetYear(*args
, **kwargs
): return _misc
.DateTime_SetYear(*args
, **kwargs
)
1671 def SetMonth(*args
, **kwargs
): return _misc
.DateTime_SetMonth(*args
, **kwargs
)
1672 def SetDay(*args
, **kwargs
): return _misc
.DateTime_SetDay(*args
, **kwargs
)
1673 def SetHour(*args
, **kwargs
): return _misc
.DateTime_SetHour(*args
, **kwargs
)
1674 def SetMinute(*args
, **kwargs
): return _misc
.DateTime_SetMinute(*args
, **kwargs
)
1675 def SetSecond(*args
, **kwargs
): return _misc
.DateTime_SetSecond(*args
, **kwargs
)
1676 def SetMillisecond(*args
, **kwargs
): return _misc
.DateTime_SetMillisecond(*args
, **kwargs
)
1677 def SetToWeekDayInSameWeek(*args
, **kwargs
): return _misc
.DateTime_SetToWeekDayInSameWeek(*args
, **kwargs
)
1678 def GetWeekDayInSameWeek(*args
, **kwargs
): return _misc
.DateTime_GetWeekDayInSameWeek(*args
, **kwargs
)
1679 def SetToNextWeekDay(*args
, **kwargs
): return _misc
.DateTime_SetToNextWeekDay(*args
, **kwargs
)
1680 def GetNextWeekDay(*args
, **kwargs
): return _misc
.DateTime_GetNextWeekDay(*args
, **kwargs
)
1681 def SetToPrevWeekDay(*args
, **kwargs
): return _misc
.DateTime_SetToPrevWeekDay(*args
, **kwargs
)
1682 def GetPrevWeekDay(*args
, **kwargs
): return _misc
.DateTime_GetPrevWeekDay(*args
, **kwargs
)
1683 def SetToWeekDay(*args
, **kwargs
): return _misc
.DateTime_SetToWeekDay(*args
, **kwargs
)
1684 def SetToLastWeekDay(*args
, **kwargs
): return _misc
.DateTime_SetToLastWeekDay(*args
, **kwargs
)
1685 def GetLastWeekDay(*args
, **kwargs
): return _misc
.DateTime_GetLastWeekDay(*args
, **kwargs
)
1686 def SetToTheWeek(*args
, **kwargs
): return _misc
.DateTime_SetToTheWeek(*args
, **kwargs
)
1687 def GetWeek(*args
, **kwargs
): return _misc
.DateTime_GetWeek(*args
, **kwargs
)
1688 def SetToLastMonthDay(*args
, **kwargs
): return _misc
.DateTime_SetToLastMonthDay(*args
, **kwargs
)
1689 def GetLastMonthDay(*args
, **kwargs
): return _misc
.DateTime_GetLastMonthDay(*args
, **kwargs
)
1690 def SetToYearDay(*args
, **kwargs
): return _misc
.DateTime_SetToYearDay(*args
, **kwargs
)
1691 def GetYearDay(*args
, **kwargs
): return _misc
.DateTime_GetYearDay(*args
, **kwargs
)
1692 def GetJulianDayNumber(*args
, **kwargs
): return _misc
.DateTime_GetJulianDayNumber(*args
, **kwargs
)
1693 def GetJDN(*args
, **kwargs
): return _misc
.DateTime_GetJDN(*args
, **kwargs
)
1694 def GetModifiedJulianDayNumber(*args
, **kwargs
): return _misc
.DateTime_GetModifiedJulianDayNumber(*args
, **kwargs
)
1695 def GetMJD(*args
, **kwargs
): return _misc
.DateTime_GetMJD(*args
, **kwargs
)
1696 def GetRataDie(*args
, **kwargs
): return _misc
.DateTime_GetRataDie(*args
, **kwargs
)
1697 def ToTimezone(*args
, **kwargs
): return _misc
.DateTime_ToTimezone(*args
, **kwargs
)
1698 def MakeTimezone(*args
, **kwargs
): return _misc
.DateTime_MakeTimezone(*args
, **kwargs
)
1699 def ToGMT(*args
, **kwargs
): return _misc
.DateTime_ToGMT(*args
, **kwargs
)
1700 def MakeGMT(*args
, **kwargs
): return _misc
.DateTime_MakeGMT(*args
, **kwargs
)
1701 def IsDST(*args
, **kwargs
): return _misc
.DateTime_IsDST(*args
, **kwargs
)
1702 def IsValid(*args
, **kwargs
): return _misc
.DateTime_IsValid(*args
, **kwargs
)
1703 def GetTicks(*args
, **kwargs
): return _misc
.DateTime_GetTicks(*args
, **kwargs
)
1704 def GetYear(*args
, **kwargs
): return _misc
.DateTime_GetYear(*args
, **kwargs
)
1705 def GetMonth(*args
, **kwargs
): return _misc
.DateTime_GetMonth(*args
, **kwargs
)
1706 def GetDay(*args
, **kwargs
): return _misc
.DateTime_GetDay(*args
, **kwargs
)
1707 def GetWeekDay(*args
, **kwargs
): return _misc
.DateTime_GetWeekDay(*args
, **kwargs
)
1708 def GetHour(*args
, **kwargs
): return _misc
.DateTime_GetHour(*args
, **kwargs
)
1709 def GetMinute(*args
, **kwargs
): return _misc
.DateTime_GetMinute(*args
, **kwargs
)
1710 def GetSecond(*args
, **kwargs
): return _misc
.DateTime_GetSecond(*args
, **kwargs
)
1711 def GetMillisecond(*args
, **kwargs
): return _misc
.DateTime_GetMillisecond(*args
, **kwargs
)
1712 def GetDayOfYear(*args
, **kwargs
): return _misc
.DateTime_GetDayOfYear(*args
, **kwargs
)
1713 def GetWeekOfYear(*args
, **kwargs
): return _misc
.DateTime_GetWeekOfYear(*args
, **kwargs
)
1714 def GetWeekOfMonth(*args
, **kwargs
): return _misc
.DateTime_GetWeekOfMonth(*args
, **kwargs
)
1715 def IsWorkDay(*args
, **kwargs
): return _misc
.DateTime_IsWorkDay(*args
, **kwargs
)
1716 def IsEqualTo(*args
, **kwargs
): return _misc
.DateTime_IsEqualTo(*args
, **kwargs
)
1717 def IsEarlierThan(*args
, **kwargs
): return _misc
.DateTime_IsEarlierThan(*args
, **kwargs
)
1718 def IsLaterThan(*args
, **kwargs
): return _misc
.DateTime_IsLaterThan(*args
, **kwargs
)
1719 def IsStrictlyBetween(*args
, **kwargs
): return _misc
.DateTime_IsStrictlyBetween(*args
, **kwargs
)
1720 def IsBetween(*args
, **kwargs
): return _misc
.DateTime_IsBetween(*args
, **kwargs
)
1721 def IsSameDate(*args
, **kwargs
): return _misc
.DateTime_IsSameDate(*args
, **kwargs
)
1722 def IsSameTime(*args
, **kwargs
): return _misc
.DateTime_IsSameTime(*args
, **kwargs
)
1723 def IsEqualUpTo(*args
, **kwargs
): return _misc
.DateTime_IsEqualUpTo(*args
, **kwargs
)
1724 def AddTS(*args
, **kwargs
): return _misc
.DateTime_AddTS(*args
, **kwargs
)
1725 def AddDS(*args
, **kwargs
): return _misc
.DateTime_AddDS(*args
, **kwargs
)
1726 def SubtractTS(*args
, **kwargs
): return _misc
.DateTime_SubtractTS(*args
, **kwargs
)
1727 def SubtractDS(*args
, **kwargs
): return _misc
.DateTime_SubtractDS(*args
, **kwargs
)
1728 def Subtract(*args
, **kwargs
): return _misc
.DateTime_Subtract(*args
, **kwargs
)
1729 def __iadd__(*args
): return _misc
.DateTime___iadd__(*args
)
1730 def __isub__(*args
): return _misc
.DateTime___isub__(*args
)
1731 def __add__(*args
): return _misc
.DateTime___add__(*args
)
1732 def __sub__(*args
): return _misc
.DateTime___sub__(*args
)
1733 def __lt__(*args
): return _misc
.DateTime___lt__(*args
)
1734 def __le__(*args
): return _misc
.DateTime___le__(*args
)
1735 def __gt__(*args
): return _misc
.DateTime___gt__(*args
)
1736 def __ge__(*args
): return _misc
.DateTime___ge__(*args
)
1737 def __eq__(*args
): return _misc
.DateTime___eq__(*args
)
1738 def __ne__(*args
): return _misc
.DateTime___ne__(*args
)
1739 def ParseRfc822Date(*args
, **kwargs
): return _misc
.DateTime_ParseRfc822Date(*args
, **kwargs
)
1740 def ParseFormat(*args
, **kwargs
): return _misc
.DateTime_ParseFormat(*args
, **kwargs
)
1741 def ParseDateTime(*args
, **kwargs
): return _misc
.DateTime_ParseDateTime(*args
, **kwargs
)
1742 def ParseDate(*args
, **kwargs
): return _misc
.DateTime_ParseDate(*args
, **kwargs
)
1743 def ParseTime(*args
, **kwargs
): return _misc
.DateTime_ParseTime(*args
, **kwargs
)
1744 def Format(*args
, **kwargs
): return _misc
.DateTime_Format(*args
, **kwargs
)
1745 def FormatDate(*args
, **kwargs
): return _misc
.DateTime_FormatDate(*args
, **kwargs
)
1746 def FormatTime(*args
, **kwargs
): return _misc
.DateTime_FormatTime(*args
, **kwargs
)
1747 def FormatISODate(*args
, **kwargs
): return _misc
.DateTime_FormatISODate(*args
, **kwargs
)
1748 def FormatISOTime(*args
, **kwargs
): return _misc
.DateTime_FormatISOTime(*args
, **kwargs
)
1750 return '<wxDateTime: \"%s\" at %s>' % ( self
.Format(), self
.this
)
1752 return self
.Format()
1755 class DateTimePtr(DateTime
):
1756 def __init__(self
, this
):
1758 if not hasattr(self
,"thisown"): self
.thisown
= 0
1759 self
.__class
__ = DateTime
1760 _misc
.DateTime_swigregister(DateTimePtr
)
1762 DateTime_SetCountry
= _misc
.DateTime_SetCountry
1764 DateTime_GetCountry
= _misc
.DateTime_GetCountry
1766 DateTime_IsWestEuropeanCountry
= _misc
.DateTime_IsWestEuropeanCountry
1768 DateTime_GetCurrentYear
= _misc
.DateTime_GetCurrentYear
1770 DateTime_ConvertYearToBC
= _misc
.DateTime_ConvertYearToBC
1772 DateTime_GetCurrentMonth
= _misc
.DateTime_GetCurrentMonth
1774 DateTime_IsLeapYear
= _misc
.DateTime_IsLeapYear
1776 DateTime_GetCentury
= _misc
.DateTime_GetCentury
1778 DateTime_GetNumberOfDaysinYear
= _misc
.DateTime_GetNumberOfDaysinYear
1780 DateTime_GetNumberOfDaysInMonth
= _misc
.DateTime_GetNumberOfDaysInMonth
1782 DateTime_GetMonthName
= _misc
.DateTime_GetMonthName
1784 DateTime_GetWeekDayName
= _misc
.DateTime_GetWeekDayName
1786 DateTime_GetAmPmStrings
= _misc
.DateTime_GetAmPmStrings
1788 DateTime_IsDSTApplicable
= _misc
.DateTime_IsDSTApplicable
1790 DateTime_GetBeginDST
= _misc
.DateTime_GetBeginDST
1792 DateTime_GetEndDST
= _misc
.DateTime_GetEndDST
1794 DateTime_Now
= _misc
.DateTime_Now
1796 DateTime_UNow
= _misc
.DateTime_UNow
1798 DateTime_Today
= _misc
.DateTime_Today
1800 def DateTimeFromTimeT(*args
, **kwargs
):
1801 val
= _misc
.new_DateTimeFromTimeT(*args
, **kwargs
)
1805 def DateTimeFromJDN(*args
, **kwargs
):
1806 val
= _misc
.new_DateTimeFromJDN(*args
, **kwargs
)
1810 def DateTimeFromHMS(*args
, **kwargs
):
1811 val
= _misc
.new_DateTimeFromHMS(*args
, **kwargs
)
1815 def DateTimeFromDMY(*args
, **kwargs
):
1816 val
= _misc
.new_DateTimeFromDMY(*args
, **kwargs
)
1820 class TimeSpan(object):
1821 Seconds
= staticmethod(_misc
.TimeSpan_Seconds
)
1822 Second
= staticmethod(_misc
.TimeSpan_Second
)
1823 Minutes
= staticmethod(_misc
.TimeSpan_Minutes
)
1824 Minute
= staticmethod(_misc
.TimeSpan_Minute
)
1825 Hours
= staticmethod(_misc
.TimeSpan_Hours
)
1826 Hour
= staticmethod(_misc
.TimeSpan_Hour
)
1827 Days
= staticmethod(_misc
.TimeSpan_Days
)
1828 Day
= staticmethod(_misc
.TimeSpan_Day
)
1829 Weeks
= staticmethod(_misc
.TimeSpan_Weeks
)
1830 Week
= staticmethod(_misc
.TimeSpan_Week
)
1831 def __init__(self
, *args
, **kwargs
):
1832 newobj
= _misc
.new_TimeSpan(*args
, **kwargs
)
1833 self
.this
= newobj
.this
1836 def __del__(self
, destroy
=_misc
.delete_TimeSpan
):
1838 if self
.thisown
: destroy(self
)
1840 def Add(*args
, **kwargs
): return _misc
.TimeSpan_Add(*args
, **kwargs
)
1841 def Subtract(*args
, **kwargs
): return _misc
.TimeSpan_Subtract(*args
, **kwargs
)
1842 def Multiply(*args
, **kwargs
): return _misc
.TimeSpan_Multiply(*args
, **kwargs
)
1843 def Neg(*args
, **kwargs
): return _misc
.TimeSpan_Neg(*args
, **kwargs
)
1844 def Abs(*args
, **kwargs
): return _misc
.TimeSpan_Abs(*args
, **kwargs
)
1845 def __iadd__(*args
, **kwargs
): return _misc
.TimeSpan___iadd__(*args
, **kwargs
)
1846 def __isub__(*args
, **kwargs
): return _misc
.TimeSpan___isub__(*args
, **kwargs
)
1847 def __imul__(*args
, **kwargs
): return _misc
.TimeSpan___imul__(*args
, **kwargs
)
1848 def __neg__(*args
, **kwargs
): return _misc
.TimeSpan___neg__(*args
, **kwargs
)
1849 def __add__(*args
, **kwargs
): return _misc
.TimeSpan___add__(*args
, **kwargs
)
1850 def __sub__(*args
, **kwargs
): return _misc
.TimeSpan___sub__(*args
, **kwargs
)
1851 def __mul__(*args
, **kwargs
): return _misc
.TimeSpan___mul__(*args
, **kwargs
)
1852 def __rmul__(*args
, **kwargs
): return _misc
.TimeSpan___rmul__(*args
, **kwargs
)
1853 def __lt__(*args
, **kwargs
): return _misc
.TimeSpan___lt__(*args
, **kwargs
)
1854 def __le__(*args
, **kwargs
): return _misc
.TimeSpan___le__(*args
, **kwargs
)
1855 def __gt__(*args
, **kwargs
): return _misc
.TimeSpan___gt__(*args
, **kwargs
)
1856 def __ge__(*args
, **kwargs
): return _misc
.TimeSpan___ge__(*args
, **kwargs
)
1857 def __eq__(*args
, **kwargs
): return _misc
.TimeSpan___eq__(*args
, **kwargs
)
1858 def __ne__(*args
, **kwargs
): return _misc
.TimeSpan___ne__(*args
, **kwargs
)
1859 def IsNull(*args
, **kwargs
): return _misc
.TimeSpan_IsNull(*args
, **kwargs
)
1860 def IsPositive(*args
, **kwargs
): return _misc
.TimeSpan_IsPositive(*args
, **kwargs
)
1861 def IsNegative(*args
, **kwargs
): return _misc
.TimeSpan_IsNegative(*args
, **kwargs
)
1862 def IsEqualTo(*args
, **kwargs
): return _misc
.TimeSpan_IsEqualTo(*args
, **kwargs
)
1863 def IsLongerThan(*args
, **kwargs
): return _misc
.TimeSpan_IsLongerThan(*args
, **kwargs
)
1864 def IsShorterThan(*args
, **kwargs
): return _misc
.TimeSpan_IsShorterThan(*args
, **kwargs
)
1865 def GetWeeks(*args
, **kwargs
): return _misc
.TimeSpan_GetWeeks(*args
, **kwargs
)
1866 def GetDays(*args
, **kwargs
): return _misc
.TimeSpan_GetDays(*args
, **kwargs
)
1867 def GetHours(*args
, **kwargs
): return _misc
.TimeSpan_GetHours(*args
, **kwargs
)
1868 def GetMinutes(*args
, **kwargs
): return _misc
.TimeSpan_GetMinutes(*args
, **kwargs
)
1869 def GetSeconds(*args
, **kwargs
): return _misc
.TimeSpan_GetSeconds(*args
, **kwargs
)
1870 def GetMilliseconds(*args
, **kwargs
): return _misc
.TimeSpan_GetMilliseconds(*args
, **kwargs
)
1871 def Format(*args
, **kwargs
): return _misc
.TimeSpan_Format(*args
, **kwargs
)
1873 return '<wxTimeSpan: \"%s\" at %s>' % ( self
.Format(), self
.this
)
1875 return self
.Format()
1878 class TimeSpanPtr(TimeSpan
):
1879 def __init__(self
, this
):
1881 if not hasattr(self
,"thisown"): self
.thisown
= 0
1882 self
.__class
__ = TimeSpan
1883 _misc
.TimeSpan_swigregister(TimeSpanPtr
)
1885 TimeSpan_Seconds
= _misc
.TimeSpan_Seconds
1887 TimeSpan_Second
= _misc
.TimeSpan_Second
1889 TimeSpan_Minutes
= _misc
.TimeSpan_Minutes
1891 TimeSpan_Minute
= _misc
.TimeSpan_Minute
1893 TimeSpan_Hours
= _misc
.TimeSpan_Hours
1895 TimeSpan_Hour
= _misc
.TimeSpan_Hour
1897 TimeSpan_Days
= _misc
.TimeSpan_Days
1899 TimeSpan_Day
= _misc
.TimeSpan_Day
1901 TimeSpan_Weeks
= _misc
.TimeSpan_Weeks
1903 TimeSpan_Week
= _misc
.TimeSpan_Week
1905 class DateSpan(object):
1906 def __init__(self
, *args
, **kwargs
):
1907 newobj
= _misc
.new_DateSpan(*args
, **kwargs
)
1908 self
.this
= newobj
.this
1911 def __del__(self
, destroy
=_misc
.delete_DateSpan
):
1913 if self
.thisown
: destroy(self
)
1915 Days
= staticmethod(_misc
.DateSpan_Days
)
1916 Day
= staticmethod(_misc
.DateSpan_Day
)
1917 Weeks
= staticmethod(_misc
.DateSpan_Weeks
)
1918 Week
= staticmethod(_misc
.DateSpan_Week
)
1919 Months
= staticmethod(_misc
.DateSpan_Months
)
1920 Month
= staticmethod(_misc
.DateSpan_Month
)
1921 Years
= staticmethod(_misc
.DateSpan_Years
)
1922 Year
= staticmethod(_misc
.DateSpan_Year
)
1923 def SetYears(*args
, **kwargs
): return _misc
.DateSpan_SetYears(*args
, **kwargs
)
1924 def SetMonths(*args
, **kwargs
): return _misc
.DateSpan_SetMonths(*args
, **kwargs
)
1925 def SetWeeks(*args
, **kwargs
): return _misc
.DateSpan_SetWeeks(*args
, **kwargs
)
1926 def SetDays(*args
, **kwargs
): return _misc
.DateSpan_SetDays(*args
, **kwargs
)
1927 def GetYears(*args
, **kwargs
): return _misc
.DateSpan_GetYears(*args
, **kwargs
)
1928 def GetMonths(*args
, **kwargs
): return _misc
.DateSpan_GetMonths(*args
, **kwargs
)
1929 def GetWeeks(*args
, **kwargs
): return _misc
.DateSpan_GetWeeks(*args
, **kwargs
)
1930 def GetDays(*args
, **kwargs
): return _misc
.DateSpan_GetDays(*args
, **kwargs
)
1931 def GetTotalDays(*args
, **kwargs
): return _misc
.DateSpan_GetTotalDays(*args
, **kwargs
)
1932 def Add(*args
, **kwargs
): return _misc
.DateSpan_Add(*args
, **kwargs
)
1933 def Subtract(*args
, **kwargs
): return _misc
.DateSpan_Subtract(*args
, **kwargs
)
1934 def Neg(*args
, **kwargs
): return _misc
.DateSpan_Neg(*args
, **kwargs
)
1935 def Multiply(*args
, **kwargs
): return _misc
.DateSpan_Multiply(*args
, **kwargs
)
1936 def __iadd__(*args
, **kwargs
): return _misc
.DateSpan___iadd__(*args
, **kwargs
)
1937 def __isub__(*args
, **kwargs
): return _misc
.DateSpan___isub__(*args
, **kwargs
)
1938 def __neg__(*args
, **kwargs
): return _misc
.DateSpan___neg__(*args
, **kwargs
)
1939 def __imul__(*args
, **kwargs
): return _misc
.DateSpan___imul__(*args
, **kwargs
)
1940 def __add__(*args
, **kwargs
): return _misc
.DateSpan___add__(*args
, **kwargs
)
1941 def __sub__(*args
, **kwargs
): return _misc
.DateSpan___sub__(*args
, **kwargs
)
1942 def __mul__(*args
, **kwargs
): return _misc
.DateSpan___mul__(*args
, **kwargs
)
1943 def __rmul__(*args
, **kwargs
): return _misc
.DateSpan___rmul__(*args
, **kwargs
)
1944 def __eq__(*args
, **kwargs
): return _misc
.DateSpan___eq__(*args
, **kwargs
)
1945 def __ne__(*args
, **kwargs
): return _misc
.DateSpan___ne__(*args
, **kwargs
)
1947 return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1949 class DateSpanPtr(DateSpan
):
1950 def __init__(self
, this
):
1952 if not hasattr(self
,"thisown"): self
.thisown
= 0
1953 self
.__class
__ = DateSpan
1954 _misc
.DateSpan_swigregister(DateSpanPtr
)
1956 DateSpan_Days
= _misc
.DateSpan_Days
1958 DateSpan_Day
= _misc
.DateSpan_Day
1960 DateSpan_Weeks
= _misc
.DateSpan_Weeks
1962 DateSpan_Week
= _misc
.DateSpan_Week
1964 DateSpan_Months
= _misc
.DateSpan_Months
1966 DateSpan_Month
= _misc
.DateSpan_Month
1968 DateSpan_Years
= _misc
.DateSpan_Years
1970 DateSpan_Year
= _misc
.DateSpan_Year
1973 GetLocalTime
= _misc
.GetLocalTime
1975 GetUTCTime
= _misc
.GetUTCTime
1977 GetCurrentTime
= _misc
.GetCurrentTime
1979 GetLocalTimeMillis
= _misc
.GetLocalTimeMillis
1980 #---------------------------------------------------------------------------
1982 DF_INVALID
= _misc
.DF_INVALID
1983 DF_TEXT
= _misc
.DF_TEXT
1984 DF_BITMAP
= _misc
.DF_BITMAP
1985 DF_METAFILE
= _misc
.DF_METAFILE
1986 DF_SYLK
= _misc
.DF_SYLK
1987 DF_DIF
= _misc
.DF_DIF
1988 DF_TIFF
= _misc
.DF_TIFF
1989 DF_OEMTEXT
= _misc
.DF_OEMTEXT
1990 DF_DIB
= _misc
.DF_DIB
1991 DF_PALETTE
= _misc
.DF_PALETTE
1992 DF_PENDATA
= _misc
.DF_PENDATA
1993 DF_RIFF
= _misc
.DF_RIFF
1994 DF_WAVE
= _misc
.DF_WAVE
1995 DF_UNICODETEXT
= _misc
.DF_UNICODETEXT
1996 DF_ENHMETAFILE
= _misc
.DF_ENHMETAFILE
1997 DF_FILENAME
= _misc
.DF_FILENAME
1998 DF_LOCALE
= _misc
.DF_LOCALE
1999 DF_PRIVATE
= _misc
.DF_PRIVATE
2000 DF_HTML
= _misc
.DF_HTML
2001 DF_MAX
= _misc
.DF_MAX
2002 class DataFormat(object):
2003 def __init__(self
, *args
, **kwargs
):
2004 newobj
= _misc
.new_DataFormat(*args
, **kwargs
)
2005 self
.this
= newobj
.this
2008 def __del__(self
, destroy
=_misc
.delete_DataFormat
):
2010 if self
.thisown
: destroy(self
)
2012 def __eq__(*args
): return _misc
.DataFormat___eq__(*args
)
2013 def __ne__(*args
): return _misc
.DataFormat___ne__(*args
)
2014 def SetType(*args
, **kwargs
): return _misc
.DataFormat_SetType(*args
, **kwargs
)
2015 def GetType(*args
, **kwargs
): return _misc
.DataFormat_GetType(*args
, **kwargs
)
2016 def GetId(*args
, **kwargs
): return _misc
.DataFormat_GetId(*args
, **kwargs
)
2017 def SetId(*args
, **kwargs
): return _misc
.DataFormat_SetId(*args
, **kwargs
)
2019 return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2021 class DataFormatPtr(DataFormat
):
2022 def __init__(self
, this
):
2024 if not hasattr(self
,"thisown"): self
.thisown
= 0
2025 self
.__class
__ = DataFormat
2026 _misc
.DataFormat_swigregister(DataFormatPtr
)
2028 def CustomDataFormat(*args
, **kwargs
):
2029 val
= _misc
.new_CustomDataFormat(*args
, **kwargs
)
2033 class DataObject(object):
2034 Get
= _misc
.DataObject_Get
2035 Set
= _misc
.DataObject_Set
2036 Both
= _misc
.DataObject_Both
2037 def __del__(self
, destroy
=_misc
.delete_DataObject
):
2039 if self
.thisown
: destroy(self
)
2041 def GetPreferredFormat(*args
, **kwargs
): return _misc
.DataObject_GetPreferredFormat(*args
, **kwargs
)
2042 def GetFormatCount(*args
, **kwargs
): return _misc
.DataObject_GetFormatCount(*args
, **kwargs
)
2043 def IsSupported(*args
, **kwargs
): return _misc
.DataObject_IsSupported(*args
, **kwargs
)
2044 def GetDataSize(*args
, **kwargs
): return _misc
.DataObject_GetDataSize(*args
, **kwargs
)
2045 def GetAllFormats(*args
, **kwargs
): return _misc
.DataObject_GetAllFormats(*args
, **kwargs
)
2046 def GetDataHere(*args
, **kwargs
): return _misc
.DataObject_GetDataHere(*args
, **kwargs
)
2047 def SetData(*args
, **kwargs
): return _misc
.DataObject_SetData(*args
, **kwargs
)
2048 def __init__(self
): raise RuntimeError, "No constructor defined"
2050 return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2052 class DataObjectPtr(DataObject
):
2053 def __init__(self
, this
):
2055 if not hasattr(self
,"thisown"): self
.thisown
= 0
2056 self
.__class
__ = DataObject
2057 _misc
.DataObject_swigregister(DataObjectPtr
)
2058 FormatInvalid
= cvar
.FormatInvalid
2060 class DataObjectSimple(DataObject
):
2061 def __init__(self
, *args
, **kwargs
):
2062 newobj
= _misc
.new_DataObjectSimple(*args
, **kwargs
)
2063 self
.this
= newobj
.this
2066 def GetFormat(*args
, **kwargs
): return _misc
.DataObjectSimple_GetFormat(*args
, **kwargs
)
2067 def SetFormat(*args
, **kwargs
): return _misc
.DataObjectSimple_SetFormat(*args
, **kwargs
)
2069 return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2071 class DataObjectSimplePtr(DataObjectSimple
):
2072 def __init__(self
, this
):
2074 if not hasattr(self
,"thisown"): self
.thisown
= 0
2075 self
.__class
__ = DataObjectSimple
2076 _misc
.DataObjectSimple_swigregister(DataObjectSimplePtr
)
2078 class PyDataObjectSimple(DataObjectSimple
):
2079 def __init__(self
, *args
, **kwargs
):
2080 newobj
= _misc
.new_PyDataObjectSimple(*args
, **kwargs
)
2081 self
.this
= newobj
.this
2084 self
._setCallbackInfo
(self
, PyDataObjectSimple
)
2085 def _setCallbackInfo(*args
, **kwargs
): return _misc
.PyDataObjectSimple__setCallbackInfo(*args
, **kwargs
)
2087 return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2089 class PyDataObjectSimplePtr(PyDataObjectSimple
):
2090 def __init__(self
, this
):
2092 if not hasattr(self
,"thisown"): self
.thisown
= 0
2093 self
.__class
__ = PyDataObjectSimple
2094 _misc
.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr
)
2096 class DataObjectComposite(DataObject
):
2097 def __init__(self
, *args
, **kwargs
):
2098 newobj
= _misc
.new_DataObjectComposite(*args
, **kwargs
)
2099 self
.this
= newobj
.this
2102 def Add(*args
, **kwargs
):
2103 val
= _misc
.DataObjectComposite_Add(*args
, **kwargs
)
2107 return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2109 class DataObjectCompositePtr(DataObjectComposite
):
2110 def __init__(self
, this
):
2112 if not hasattr(self
,"thisown"): self
.thisown
= 0
2113 self
.__class
__ = DataObjectComposite
2114 _misc
.DataObjectComposite_swigregister(DataObjectCompositePtr
)
2116 class TextDataObject(DataObjectSimple
):
2117 def __init__(self
, *args
, **kwargs
):
2118 newobj
= _misc
.new_TextDataObject(*args
, **kwargs
)
2119 self
.this
= newobj
.this
2122 def GetTextLength(*args
, **kwargs
): return _misc
.TextDataObject_GetTextLength(*args
, **kwargs
)
2123 def GetText(*args
, **kwargs
): return _misc
.TextDataObject_GetText(*args
, **kwargs
)
2124 def SetText(*args
, **kwargs
): return _misc
.TextDataObject_SetText(*args
, **kwargs
)
2126 return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2128 class TextDataObjectPtr(TextDataObject
):
2129 def __init__(self
, this
):
2131 if not hasattr(self
,"thisown"): self
.thisown
= 0
2132 self
.__class
__ = TextDataObject
2133 _misc
.TextDataObject_swigregister(TextDataObjectPtr
)
2135 class PyTextDataObject(TextDataObject
):
2136 def __init__(self
, *args
, **kwargs
):
2137 newobj
= _misc
.new_PyTextDataObject(*args
, **kwargs
)
2138 self
.this
= newobj
.this
2141 self
._setCallbackInfo
(self
, PyTextDataObject
)
2142 def _setCallbackInfo(*args
, **kwargs
): return _misc
.PyTextDataObject__setCallbackInfo(*args
, **kwargs
)
2144 return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2146 class PyTextDataObjectPtr(PyTextDataObject
):
2147 def __init__(self
, this
):
2149 if not hasattr(self
,"thisown"): self
.thisown
= 0
2150 self
.__class
__ = PyTextDataObject
2151 _misc
.PyTextDataObject_swigregister(PyTextDataObjectPtr
)
2153 class BitmapDataObject(DataObjectSimple
):
2154 def __init__(self
, *args
, **kwargs
):
2155 newobj
= _misc
.new_BitmapDataObject(*args
, **kwargs
)
2156 self
.this
= newobj
.this
2159 def GetBitmap(*args
, **kwargs
): return _misc
.BitmapDataObject_GetBitmap(*args
, **kwargs
)
2160 def SetBitmap(*args
, **kwargs
): return _misc
.BitmapDataObject_SetBitmap(*args
, **kwargs
)
2162 return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2164 class BitmapDataObjectPtr(BitmapDataObject
):
2165 def __init__(self
, this
):
2167 if not hasattr(self
,"thisown"): self
.thisown
= 0
2168 self
.__class
__ = BitmapDataObject
2169 _misc
.BitmapDataObject_swigregister(BitmapDataObjectPtr
)
2171 class PyBitmapDataObject(BitmapDataObject
):
2172 def __init__(self
, *args
, **kwargs
):
2173 newobj
= _misc
.new_PyBitmapDataObject(*args
, **kwargs
)
2174 self
.this
= newobj
.this
2177 self
._setCallbackInfo
(self
, PyBitmapDataObject
)
2178 def _setCallbackInfo(*args
, **kwargs
): return _misc
.PyBitmapDataObject__setCallbackInfo(*args
, **kwargs
)
2180 return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2182 class PyBitmapDataObjectPtr(PyBitmapDataObject
):
2183 def __init__(self
, this
):
2185 if not hasattr(self
,"thisown"): self
.thisown
= 0
2186 self
.__class
__ = PyBitmapDataObject
2187 _misc
.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr
)
2189 class FileDataObject(DataObjectSimple
):
2190 def __init__(self
, *args
, **kwargs
):
2191 newobj
= _misc
.new_FileDataObject(*args
, **kwargs
)
2192 self
.this
= newobj
.this
2195 def GetFilenames(*args
, **kwargs
): return _misc
.FileDataObject_GetFilenames(*args
, **kwargs
)
2197 return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2199 class FileDataObjectPtr(FileDataObject
):
2200 def __init__(self
, this
):
2202 if not hasattr(self
,"thisown"): self
.thisown
= 0
2203 self
.__class
__ = FileDataObject
2204 _misc
.FileDataObject_swigregister(FileDataObjectPtr
)
2206 class CustomDataObject(DataObjectSimple
):
2207 def __init__(self
, *args
, **kwargs
):
2208 newobj
= _misc
.new_CustomDataObject(*args
, **kwargs
)
2209 self
.this
= newobj
.this
2212 def TakeData(*args
, **kwargs
): return _misc
.CustomDataObject_TakeData(*args
, **kwargs
)
2213 def SetData(*args
, **kwargs
): return _misc
.CustomDataObject_SetData(*args
, **kwargs
)
2214 def GetSize(*args
, **kwargs
): return _misc
.CustomDataObject_GetSize(*args
, **kwargs
)
2215 def GetData(*args
, **kwargs
): return _misc
.CustomDataObject_GetData(*args
, **kwargs
)
2217 return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2219 class CustomDataObjectPtr(CustomDataObject
):
2220 def __init__(self
, this
):
2222 if not hasattr(self
,"thisown"): self
.thisown
= 0
2223 self
.__class
__ = CustomDataObject
2224 _misc
.CustomDataObject_swigregister(CustomDataObjectPtr
)
2226 class URLDataObject(DataObjectComposite
):
2227 def __init__(self
, *args
, **kwargs
):
2228 newobj
= _misc
.new_URLDataObject(*args
, **kwargs
)
2229 self
.this
= newobj
.this
2232 def GetURL(*args
, **kwargs
): return _misc
.URLDataObject_GetURL(*args
, **kwargs
)
2233 def SetURL(*args
, **kwargs
): return _misc
.URLDataObject_SetURL(*args
, **kwargs
)
2235 return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2237 class URLDataObjectPtr(URLDataObject
):
2238 def __init__(self
, this
):
2240 if not hasattr(self
,"thisown"): self
.thisown
= 0
2241 self
.__class
__ = URLDataObject
2242 _misc
.URLDataObject_swigregister(URLDataObjectPtr
)
2244 class MetafileDataObject(DataObjectSimple
):
2245 def __init__(self
, *args
, **kwargs
):
2246 newobj
= _misc
.new_MetafileDataObject(*args
, **kwargs
)
2247 self
.this
= newobj
.this
2251 return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2253 class MetafileDataObjectPtr(MetafileDataObject
):
2254 def __init__(self
, this
):
2256 if not hasattr(self
,"thisown"): self
.thisown
= 0
2257 self
.__class
__ = MetafileDataObject
2258 _misc
.MetafileDataObject_swigregister(MetafileDataObjectPtr
)
2260 #---------------------------------------------------------------------------
2262 Drag_CopyOnly
= _misc
.Drag_CopyOnly
2263 Drag_AllowMove
= _misc
.Drag_AllowMove
2264 Drag_DefaultMove
= _misc
.Drag_DefaultMove
2265 DragError
= _misc
.DragError
2266 DragNone
= _misc
.DragNone
2267 DragCopy
= _misc
.DragCopy
2268 DragMove
= _misc
.DragMove
2269 DragLink
= _misc
.DragLink
2270 DragCancel
= _misc
.DragCancel
2272 IsDragResultOk
= _misc
.IsDragResultOk
2273 class DropSource(object):
2274 def __init__(self
, *args
, **kwargs
):
2275 newobj
= _misc
.new_DropSource(*args
, **kwargs
)
2276 self
.this
= newobj
.this
2279 def _setCallbackInfo(*args
, **kwargs
): return _misc
.DropSource__setCallbackInfo(*args
, **kwargs
)
2280 def __del__(self
, destroy
=_misc
.delete_DropSource
):
2282 if self
.thisown
: destroy(self
)
2284 def SetData(*args
, **kwargs
): return _misc
.DropSource_SetData(*args
, **kwargs
)
2285 def GetDataObject(*args
, **kwargs
): return _misc
.DropSource_GetDataObject(*args
, **kwargs
)
2286 def SetCursor(*args
, **kwargs
): return _misc
.DropSource_SetCursor(*args
, **kwargs
)
2287 def DoDragDrop(*args
, **kwargs
): return _misc
.DropSource_DoDragDrop(*args
, **kwargs
)
2288 def base_GiveFeedback(*args
, **kwargs
): return _misc
.DropSource_base_GiveFeedback(*args
, **kwargs
)
2290 return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2292 class DropSourcePtr(DropSource
):
2293 def __init__(self
, this
):
2295 if not hasattr(self
,"thisown"): self
.thisown
= 0
2296 self
.__class
__ = DropSource
2297 _misc
.DropSource_swigregister(DropSourcePtr
)
2299 class DropTarget(object):
2300 def __init__(self
, *args
, **kwargs
):
2301 newobj
= _misc
.new_DropTarget(*args
, **kwargs
)
2302 self
.this
= newobj
.this
2305 if args
: args
[1].thisown
= 0; self
._setCallbackInfo
(self
, DropTarget
)
2306 def _setCallbackInfo(*args
, **kwargs
): return _misc
.DropTarget__setCallbackInfo(*args
, **kwargs
)
2307 def __del__(self
, destroy
=_misc
.delete_DropTarget
):
2309 if self
.thisown
: destroy(self
)
2311 def GetDataObject(*args
, **kwargs
): return _misc
.DropTarget_GetDataObject(*args
, **kwargs
)
2312 def SetDataObject(*args
, **kwargs
):
2313 val
= _misc
.DropTarget_SetDataObject(*args
, **kwargs
)
2316 def base_OnEnter(*args
, **kwargs
): return _misc
.DropTarget_base_OnEnter(*args
, **kwargs
)
2317 def base_OnDragOver(*args
, **kwargs
): return _misc
.DropTarget_base_OnDragOver(*args
, **kwargs
)
2318 def base_OnLeave(*args
, **kwargs
): return _misc
.DropTarget_base_OnLeave(*args
, **kwargs
)
2319 def base_OnDrop(*args
, **kwargs
): return _misc
.DropTarget_base_OnDrop(*args
, **kwargs
)
2320 def GetData(*args
, **kwargs
): return _misc
.DropTarget_GetData(*args
, **kwargs
)
2322 return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2324 class DropTargetPtr(DropTarget
):
2325 def __init__(self
, this
):
2327 if not hasattr(self
,"thisown"): self
.thisown
= 0
2328 self
.__class
__ = DropTarget
2329 _misc
.DropTarget_swigregister(DropTargetPtr
)
2331 PyDropTarget
= DropTarget
2332 class TextDropTarget(DropTarget
):
2333 def __init__(self
, *args
, **kwargs
):
2334 newobj
= _misc
.new_TextDropTarget(*args
, **kwargs
)
2335 self
.this
= newobj
.this
2338 self
._setCallbackInfo
(self
, TextDropTarget
)
2339 def _setCallbackInfo(*args
, **kwargs
): return _misc
.TextDropTarget__setCallbackInfo(*args
, **kwargs
)
2340 def base_OnEnter(*args
, **kwargs
): return _misc
.TextDropTarget_base_OnEnter(*args
, **kwargs
)
2341 def base_OnDragOver(*args
, **kwargs
): return _misc
.TextDropTarget_base_OnDragOver(*args
, **kwargs
)
2342 def base_OnLeave(*args
, **kwargs
): return _misc
.TextDropTarget_base_OnLeave(*args
, **kwargs
)
2343 def base_OnDrop(*args
, **kwargs
): return _misc
.TextDropTarget_base_OnDrop(*args
, **kwargs
)
2344 def base_OnData(*args
, **kwargs
): return _misc
.TextDropTarget_base_OnData(*args
, **kwargs
)
2346 return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2348 class TextDropTargetPtr(TextDropTarget
):
2349 def __init__(self
, this
):
2351 if not hasattr(self
,"thisown"): self
.thisown
= 0
2352 self
.__class
__ = TextDropTarget
2353 _misc
.TextDropTarget_swigregister(TextDropTargetPtr
)
2355 class FileDropTarget(DropTarget
):
2356 def __init__(self
, *args
, **kwargs
):
2357 newobj
= _misc
.new_FileDropTarget(*args
, **kwargs
)
2358 self
.this
= newobj
.this
2361 self
._setCallbackInfo
(self
, FileDropTarget
)
2362 def _setCallbackInfo(*args
, **kwargs
): return _misc
.FileDropTarget__setCallbackInfo(*args
, **kwargs
)
2363 def base_OnEnter(*args
, **kwargs
): return _misc
.FileDropTarget_base_OnEnter(*args
, **kwargs
)
2364 def base_OnDragOver(*args
, **kwargs
): return _misc
.FileDropTarget_base_OnDragOver(*args
, **kwargs
)
2365 def base_OnLeave(*args
, **kwargs
): return _misc
.FileDropTarget_base_OnLeave(*args
, **kwargs
)
2366 def base_OnDrop(*args
, **kwargs
): return _misc
.FileDropTarget_base_OnDrop(*args
, **kwargs
)
2367 def base_OnData(*args
, **kwargs
): return _misc
.FileDropTarget_base_OnData(*args
, **kwargs
)
2369 return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2371 class FileDropTargetPtr(FileDropTarget
):
2372 def __init__(self
, this
):
2374 if not hasattr(self
,"thisown"): self
.thisown
= 0
2375 self
.__class
__ = FileDropTarget
2376 _misc
.FileDropTarget_swigregister(FileDropTargetPtr
)
2378 #---------------------------------------------------------------------------
2380 class Clipboard(core
.Object
):
2381 def __init__(self
, *args
, **kwargs
):
2382 newobj
= _misc
.new_Clipboard(*args
, **kwargs
)
2383 self
.this
= newobj
.this
2386 def __del__(self
, destroy
=_misc
.delete_Clipboard
):
2388 if self
.thisown
: destroy(self
)
2390 def Open(*args
, **kwargs
): return _misc
.Clipboard_Open(*args
, **kwargs
)
2391 def Close(*args
, **kwargs
): return _misc
.Clipboard_Close(*args
, **kwargs
)
2392 def IsOpened(*args
, **kwargs
): return _misc
.Clipboard_IsOpened(*args
, **kwargs
)
2393 def AddData(*args
, **kwargs
): return _misc
.Clipboard_AddData(*args
, **kwargs
)
2394 def SetData(*args
, **kwargs
): return _misc
.Clipboard_SetData(*args
, **kwargs
)
2395 def IsSupported(*args
, **kwargs
): return _misc
.Clipboard_IsSupported(*args
, **kwargs
)
2396 def GetData(*args
, **kwargs
): return _misc
.Clipboard_GetData(*args
, **kwargs
)
2397 def Clear(*args
, **kwargs
): return _misc
.Clipboard_Clear(*args
, **kwargs
)
2398 def Flush(*args
, **kwargs
): return _misc
.Clipboard_Flush(*args
, **kwargs
)
2399 def UsePrimarySelection(*args
, **kwargs
): return _misc
.Clipboard_UsePrimarySelection(*args
, **kwargs
)
2401 return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2403 class ClipboardPtr(Clipboard
):
2404 def __init__(self
, this
):
2406 if not hasattr(self
,"thisown"): self
.thisown
= 0
2407 self
.__class
__ = Clipboard
2408 _misc
.Clipboard_swigregister(ClipboardPtr
)
2410 class ClipboardLocker(object):
2411 def __init__(self
, *args
, **kwargs
):
2412 newobj
= _misc
.new_ClipboardLocker(*args
, **kwargs
)
2413 self
.this
= newobj
.this
2416 def __del__(self
, destroy
=_misc
.delete_ClipboardLocker
):
2418 if self
.thisown
: destroy(self
)
2420 def __nonzero__(*args
, **kwargs
): return _misc
.ClipboardLocker___nonzero__(*args
, **kwargs
)
2422 return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2424 class ClipboardLockerPtr(ClipboardLocker
):
2425 def __init__(self
, this
):
2427 if not hasattr(self
,"thisown"): self
.thisown
= 0
2428 self
.__class
__ = ClipboardLocker
2429 _misc
.ClipboardLocker_swigregister(ClipboardLockerPtr
)
2430 TheClipboard
= cvar
.TheClipboard