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):
103 def __init__(self
): raise RuntimeError, "No constructor defined"
105 return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
106 def GetColour(*args
, **kwargs
):
107 """SystemSettings.GetColour(wxSystemColour index) -> wxColour"""
108 return _misc
.SystemSettings_GetColour(*args
, **kwargs
)
110 GetColour
= staticmethod(GetColour
)
111 def GetFont(*args
, **kwargs
):
112 """SystemSettings.GetFont(wxSystemFont index) -> wxFont"""
113 return _misc
.SystemSettings_GetFont(*args
, **kwargs
)
115 GetFont
= staticmethod(GetFont
)
116 def GetMetric(*args
, **kwargs
):
117 """SystemSettings.GetMetric(wxSystemMetric index) -> int"""
118 return _misc
.SystemSettings_GetMetric(*args
, **kwargs
)
120 GetMetric
= staticmethod(GetMetric
)
121 def HasFeature(*args
, **kwargs
):
122 """SystemSettings.HasFeature(wxSystemFeature index) -> bool"""
123 return _misc
.SystemSettings_HasFeature(*args
, **kwargs
)
125 HasFeature
= staticmethod(HasFeature
)
126 def GetScreenType(*args
, **kwargs
):
127 """SystemSettings.GetScreenType() -> wxSystemScreenType"""
128 return _misc
.SystemSettings_GetScreenType(*args
, **kwargs
)
130 GetScreenType
= staticmethod(GetScreenType
)
131 def SetScreenType(*args
, **kwargs
):
132 """SystemSettings.SetScreenType(wxSystemScreenType screen)"""
133 return _misc
.SystemSettings_SetScreenType(*args
, **kwargs
)
135 SetScreenType
= staticmethod(SetScreenType
)
137 class SystemSettingsPtr(SystemSettings
):
138 def __init__(self
, this
):
140 if not hasattr(self
,"thisown"): self
.thisown
= 0
141 self
.__class
__ = SystemSettings
142 _misc
.SystemSettings_swigregister(SystemSettingsPtr
)
144 def SystemSettings_GetColour(*args
, **kwargs
):
145 """SystemSettings_GetColour(wxSystemColour index) -> wxColour"""
146 return _misc
.SystemSettings_GetColour(*args
, **kwargs
)
148 def SystemSettings_GetFont(*args
, **kwargs
):
149 """SystemSettings_GetFont(wxSystemFont index) -> wxFont"""
150 return _misc
.SystemSettings_GetFont(*args
, **kwargs
)
152 def SystemSettings_GetMetric(*args
, **kwargs
):
153 """SystemSettings_GetMetric(wxSystemMetric index) -> int"""
154 return _misc
.SystemSettings_GetMetric(*args
, **kwargs
)
156 def SystemSettings_HasFeature(*args
, **kwargs
):
157 """SystemSettings_HasFeature(wxSystemFeature index) -> bool"""
158 return _misc
.SystemSettings_HasFeature(*args
, **kwargs
)
160 def SystemSettings_GetScreenType(*args
, **kwargs
):
161 """SystemSettings_GetScreenType() -> wxSystemScreenType"""
162 return _misc
.SystemSettings_GetScreenType(*args
, **kwargs
)
164 def SystemSettings_SetScreenType(*args
, **kwargs
):
165 """SystemSettings_SetScreenType(wxSystemScreenType screen)"""
166 return _misc
.SystemSettings_SetScreenType(*args
, **kwargs
)
168 class SystemOptions(core
.Object
):
171 return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
172 def __init__(self
, *args
, **kwargs
):
173 """__init__() -> SystemOptions"""
174 newobj
= _misc
.new_SystemOptions(*args
, **kwargs
)
175 self
.this
= newobj
.this
178 def SetOption(*args
, **kwargs
):
179 """SystemOptions.SetOption(wxString name, wxString value)"""
180 return _misc
.SystemOptions_SetOption(*args
, **kwargs
)
182 SetOption
= staticmethod(SetOption
)
183 def SetOptionInt(*args
, **kwargs
):
184 """SystemOptions.SetOptionInt(wxString name, int value)"""
185 return _misc
.SystemOptions_SetOptionInt(*args
, **kwargs
)
187 SetOptionInt
= staticmethod(SetOptionInt
)
188 def GetOption(*args
, **kwargs
):
189 """SystemOptions.GetOption(wxString name) -> wxString"""
190 return _misc
.SystemOptions_GetOption(*args
, **kwargs
)
192 GetOption
= staticmethod(GetOption
)
193 def GetOptionInt(*args
, **kwargs
):
194 """SystemOptions.GetOptionInt(wxString name) -> int"""
195 return _misc
.SystemOptions_GetOptionInt(*args
, **kwargs
)
197 GetOptionInt
= staticmethod(GetOptionInt
)
198 def HasOption(*args
, **kwargs
):
199 """SystemOptions.HasOption(wxString name) -> bool"""
200 return _misc
.SystemOptions_HasOption(*args
, **kwargs
)
202 HasOption
= staticmethod(HasOption
)
204 class SystemOptionsPtr(SystemOptions
):
205 def __init__(self
, this
):
207 if not hasattr(self
,"thisown"): self
.thisown
= 0
208 self
.__class
__ = SystemOptions
209 _misc
.SystemOptions_swigregister(SystemOptionsPtr
)
211 def SystemOptions_SetOption(*args
, **kwargs
):
212 """SystemOptions_SetOption(wxString name, wxString value)"""
213 return _misc
.SystemOptions_SetOption(*args
, **kwargs
)
215 def SystemOptions_SetOptionInt(*args
, **kwargs
):
216 """SystemOptions_SetOptionInt(wxString name, int value)"""
217 return _misc
.SystemOptions_SetOptionInt(*args
, **kwargs
)
219 def SystemOptions_GetOption(*args
, **kwargs
):
220 """SystemOptions_GetOption(wxString name) -> wxString"""
221 return _misc
.SystemOptions_GetOption(*args
, **kwargs
)
223 def SystemOptions_GetOptionInt(*args
, **kwargs
):
224 """SystemOptions_GetOptionInt(wxString name) -> int"""
225 return _misc
.SystemOptions_GetOptionInt(*args
, **kwargs
)
227 def SystemOptions_HasOption(*args
, **kwargs
):
228 """SystemOptions_HasOption(wxString name) -> bool"""
229 return _misc
.SystemOptions_HasOption(*args
, **kwargs
)
231 #---------------------------------------------------------------------------
234 def NewId(*args
, **kwargs
):
235 """NewId() -> long"""
236 return _misc
.NewId(*args
, **kwargs
)
238 def RegisterId(*args
, **kwargs
):
239 """RegisterId(long id)"""
240 return _misc
.RegisterId(*args
, **kwargs
)
242 def GetCurrentId(*args
, **kwargs
):
243 """GetCurrentId() -> long"""
244 return _misc
.GetCurrentId(*args
, **kwargs
)
246 def Bell(*args
, **kwargs
):
248 return _misc
.Bell(*args
, **kwargs
)
250 def EndBusyCursor(*args
, **kwargs
):
251 """EndBusyCursor()"""
252 return _misc
.EndBusyCursor(*args
, **kwargs
)
254 def GetElapsedTime(*args
, **kwargs
):
255 """GetElapsedTime(bool resetTimer=True) -> long"""
256 return _misc
.GetElapsedTime(*args
, **kwargs
)
258 def GetMousePosition(*args
, **kwargs
):
259 """GetMousePosition() -> (x,y)"""
260 return _misc
.GetMousePosition(*args
, **kwargs
)
262 def IsBusy(*args
, **kwargs
):
263 """IsBusy() -> bool"""
264 return _misc
.IsBusy(*args
, **kwargs
)
266 def Now(*args
, **kwargs
):
267 """Now() -> wxString"""
268 return _misc
.Now(*args
, **kwargs
)
270 def Shell(*args
, **kwargs
):
271 """Shell(wxString command=wxPyEmptyString) -> bool"""
272 return _misc
.Shell(*args
, **kwargs
)
274 def StartTimer(*args
, **kwargs
):
276 return _misc
.StartTimer(*args
, **kwargs
)
278 def GetOsVersion(*args
, **kwargs
):
279 """GetOsVersion() -> (platform, major, minor)"""
280 return _misc
.GetOsVersion(*args
, **kwargs
)
282 def GetOsDescription(*args
, **kwargs
):
283 """GetOsDescription() -> wxString"""
284 return _misc
.GetOsDescription(*args
, **kwargs
)
286 def GetFreeMemory(*args
, **kwargs
):
287 """GetFreeMemory() -> long"""
288 return _misc
.GetFreeMemory(*args
, **kwargs
)
289 SHUTDOWN_POWEROFF
= _misc
.SHUTDOWN_POWEROFF
290 SHUTDOWN_REBOOT
= _misc
.SHUTDOWN_REBOOT
292 def Shutdown(*args
, **kwargs
):
293 """Shutdown(wxShutdownFlags wFlags) -> bool"""
294 return _misc
.Shutdown(*args
, **kwargs
)
296 def Sleep(*args
, **kwargs
):
297 """Sleep(int secs)"""
298 return _misc
.Sleep(*args
, **kwargs
)
300 def Usleep(*args
, **kwargs
):
301 """Usleep(unsigned long milliseconds)"""
302 return _misc
.Usleep(*args
, **kwargs
)
304 def EnableTopLevelWindows(*args
, **kwargs
):
305 """EnableTopLevelWindows(bool enable)"""
306 return _misc
.EnableTopLevelWindows(*args
, **kwargs
)
308 def StripMenuCodes(*args
, **kwargs
):
309 """StripMenuCodes(wxString in) -> wxString"""
310 return _misc
.StripMenuCodes(*args
, **kwargs
)
312 def GetEmailAddress(*args
, **kwargs
):
313 """GetEmailAddress() -> wxString"""
314 return _misc
.GetEmailAddress(*args
, **kwargs
)
316 def GetHostName(*args
, **kwargs
):
317 """GetHostName() -> wxString"""
318 return _misc
.GetHostName(*args
, **kwargs
)
320 def GetFullHostName(*args
, **kwargs
):
321 """GetFullHostName() -> wxString"""
322 return _misc
.GetFullHostName(*args
, **kwargs
)
324 def GetUserId(*args
, **kwargs
):
325 """GetUserId() -> wxString"""
326 return _misc
.GetUserId(*args
, **kwargs
)
328 def GetUserName(*args
, **kwargs
):
329 """GetUserName() -> wxString"""
330 return _misc
.GetUserName(*args
, **kwargs
)
332 def GetHomeDir(*args
, **kwargs
):
333 """GetHomeDir() -> wxString"""
334 return _misc
.GetHomeDir(*args
, **kwargs
)
336 def GetUserHome(*args
, **kwargs
):
337 """GetUserHome(wxString user=wxPyEmptyString) -> wxString"""
338 return _misc
.GetUserHome(*args
, **kwargs
)
340 def GetProcessId(*args
, **kwargs
):
341 """GetProcessId() -> unsigned long"""
342 return _misc
.GetProcessId(*args
, **kwargs
)
344 def Trap(*args
, **kwargs
):
346 return _misc
.Trap(*args
, **kwargs
)
348 def FileSelector(*args
, **kwargs
):
349 """FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString,
350 wxString default_filename=wxPyEmptyString,
351 wxString default_extension=wxPyEmptyString,
352 wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
354 Window parent=None, int x=-1, int y=-1) -> wxString"""
355 return _misc
.FileSelector(*args
, **kwargs
)
357 def LoadFileSelector(*args
, **kwargs
):
358 """LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
359 Window parent=None) -> wxString"""
360 return _misc
.LoadFileSelector(*args
, **kwargs
)
362 def SaveFileSelector(*args
, **kwargs
):
363 """SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
364 Window parent=None) -> wxString"""
365 return _misc
.SaveFileSelector(*args
, **kwargs
)
367 def DirSelector(*args
, **kwargs
):
368 """DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString,
369 long style=DD_DEFAULT_STYLE,
370 Point pos=DefaultPosition, Window parent=None) -> wxString"""
371 return _misc
.DirSelector(*args
, **kwargs
)
373 def GetTextFromUser(*args
, **kwargs
):
374 """GetTextFromUser(wxString message, wxString caption=wxPyEmptyString,
375 wxString default_value=wxPyEmptyString, Window parent=None,
376 int x=-1, int y=-1, bool centre=True) -> wxString"""
377 return _misc
.GetTextFromUser(*args
, **kwargs
)
379 def GetPasswordFromUser(*args
, **kwargs
):
380 """GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString,
381 wxString default_value=wxPyEmptyString, Window parent=None) -> wxString"""
382 return _misc
.GetPasswordFromUser(*args
, **kwargs
)
384 def GetSingleChoice(*args
, **kwargs
):
385 """GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array,
386 Window parent=None, int x=-1,
387 int y=-1, bool centre=True, int width=150,
388 int height=200) -> wxString"""
389 return _misc
.GetSingleChoice(*args
, **kwargs
)
391 def GetSingleChoiceIndex(*args
, **kwargs
):
392 """GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array,
393 Window parent=None, int x=-1,
394 int y=-1, bool centre=True, int width=150,
395 int height=200) -> int"""
396 return _misc
.GetSingleChoiceIndex(*args
, **kwargs
)
398 def MessageBox(*args
, **kwargs
):
399 """MessageBox(wxString message, wxString caption=wxPyEmptyString,
400 int style=wxOK|wxCENTRE, Window parent=None,
401 int x=-1, int y=-1) -> int"""
402 return _misc
.MessageBox(*args
, **kwargs
)
404 def GetNumberFromUser(*args
, **kwargs
):
405 """GetNumberFromUser(wxString message, wxString prompt, wxString caption,
406 long value, long min=0, long max=100, Window parent=None,
407 Point pos=DefaultPosition) -> long"""
408 return _misc
.GetNumberFromUser(*args
, **kwargs
)
410 def ColourDisplay(*args
, **kwargs
):
411 """ColourDisplay() -> bool"""
412 return _misc
.ColourDisplay(*args
, **kwargs
)
414 def DisplayDepth(*args
, **kwargs
):
415 """DisplayDepth() -> int"""
416 return _misc
.DisplayDepth(*args
, **kwargs
)
418 def GetDisplayDepth(*args
, **kwargs
):
419 """GetDisplayDepth() -> int"""
420 return _misc
.GetDisplayDepth(*args
, **kwargs
)
422 def DisplaySize(*args
, **kwargs
):
423 """DisplaySize() -> (width, height)"""
424 return _misc
.DisplaySize(*args
, **kwargs
)
426 def GetDisplaySize(*args
, **kwargs
):
427 """GetDisplaySize() -> Size"""
428 return _misc
.GetDisplaySize(*args
, **kwargs
)
430 def DisplaySizeMM(*args
, **kwargs
):
431 """DisplaySizeMM() -> (width, height)"""
432 return _misc
.DisplaySizeMM(*args
, **kwargs
)
434 def GetDisplaySizeMM(*args
, **kwargs
):
435 """GetDisplaySizeMM() -> Size"""
436 return _misc
.GetDisplaySizeMM(*args
, **kwargs
)
438 def ClientDisplayRect(*args
, **kwargs
):
439 """ClientDisplayRect() -> (x, y, width, height)"""
440 return _misc
.ClientDisplayRect(*args
, **kwargs
)
442 def GetClientDisplayRect(*args
, **kwargs
):
443 """GetClientDisplayRect() -> Rect"""
444 return _misc
.GetClientDisplayRect(*args
, **kwargs
)
446 def SetCursor(*args
, **kwargs
):
447 """SetCursor(wxCursor cursor)"""
448 return _misc
.SetCursor(*args
, **kwargs
)
450 def BeginBusyCursor(*args
, **kwargs
):
451 """BeginBusyCursor(wxCursor cursor=wxHOURGLASS_CURSOR)"""
452 return _misc
.BeginBusyCursor(*args
, **kwargs
)
454 def GetActiveWindow(*args
, **kwargs
):
455 """GetActiveWindow() -> Window"""
456 return _misc
.GetActiveWindow(*args
, **kwargs
)
458 def GenericFindWindowAtPoint(*args
, **kwargs
):
459 """GenericFindWindowAtPoint(Point pt) -> Window"""
460 return _misc
.GenericFindWindowAtPoint(*args
, **kwargs
)
462 def FindWindowAtPoint(*args
, **kwargs
):
463 """FindWindowAtPoint(Point pt) -> Window"""
464 return _misc
.FindWindowAtPoint(*args
, **kwargs
)
466 def GetTopLevelParent(*args
, **kwargs
):
467 """GetTopLevelParent(Window win) -> Window"""
468 return _misc
.GetTopLevelParent(*args
, **kwargs
)
470 def WakeUpMainThread(*args
, **kwargs
):
471 """WakeUpMainThread()"""
472 return _misc
.WakeUpMainThread(*args
, **kwargs
)
474 def MutexGuiEnter(*args
, **kwargs
):
475 """MutexGuiEnter()"""
476 return _misc
.MutexGuiEnter(*args
, **kwargs
)
478 def MutexGuiLeave(*args
, **kwargs
):
479 """MutexGuiLeave()"""
480 return _misc
.MutexGuiLeave(*args
, **kwargs
)
481 class MutexGuiLocker(object):
484 return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
485 def __init__(self
, *args
, **kwargs
):
486 """__init__() -> MutexGuiLocker"""
487 newobj
= _misc
.new_MutexGuiLocker(*args
, **kwargs
)
488 self
.this
= newobj
.this
491 def __del__(self
, destroy
=_misc
.delete_MutexGuiLocker
):
494 if self
.thisown
: destroy(self
)
498 class MutexGuiLockerPtr(MutexGuiLocker
):
499 def __init__(self
, this
):
501 if not hasattr(self
,"thisown"): self
.thisown
= 0
502 self
.__class
__ = MutexGuiLocker
503 _misc
.MutexGuiLocker_swigregister(MutexGuiLockerPtr
)
506 def Thread_IsMain(*args
, **kwargs
):
507 """Thread_IsMain() -> bool"""
508 return _misc
.Thread_IsMain(*args
, **kwargs
)
509 #---------------------------------------------------------------------------
511 class ToolTip(core
.Object
):
514 return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
515 def __init__(self
, *args
, **kwargs
):
516 """__init__(wxString tip) -> ToolTip"""
517 newobj
= _misc
.new_ToolTip(*args
, **kwargs
)
518 self
.this
= newobj
.this
521 def SetTip(*args
, **kwargs
):
522 """SetTip(wxString tip)"""
523 return _misc
.ToolTip_SetTip(*args
, **kwargs
)
525 def GetTip(*args
, **kwargs
):
526 """GetTip() -> wxString"""
527 return _misc
.ToolTip_GetTip(*args
, **kwargs
)
529 def GetWindow(*args
, **kwargs
):
530 """GetWindow() -> Window"""
531 return _misc
.ToolTip_GetWindow(*args
, **kwargs
)
533 def Enable(*args
, **kwargs
):
534 """ToolTip.Enable(bool flag)"""
535 return _misc
.ToolTip_Enable(*args
, **kwargs
)
537 Enable
= staticmethod(Enable
)
538 def SetDelay(*args
, **kwargs
):
539 """ToolTip.SetDelay(long milliseconds)"""
540 return _misc
.ToolTip_SetDelay(*args
, **kwargs
)
542 SetDelay
= staticmethod(SetDelay
)
544 class ToolTipPtr(ToolTip
):
545 def __init__(self
, this
):
547 if not hasattr(self
,"thisown"): self
.thisown
= 0
548 self
.__class
__ = ToolTip
549 _misc
.ToolTip_swigregister(ToolTipPtr
)
551 def ToolTip_Enable(*args
, **kwargs
):
552 """ToolTip_Enable(bool flag)"""
553 return _misc
.ToolTip_Enable(*args
, **kwargs
)
555 def ToolTip_SetDelay(*args
, **kwargs
):
556 """ToolTip_SetDelay(long milliseconds)"""
557 return _misc
.ToolTip_SetDelay(*args
, **kwargs
)
562 return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
563 def __init__(self
, *args
, **kwargs
):
564 """__init__(Window window, Size size) -> Caret"""
565 newobj
= _misc
.new_Caret(*args
, **kwargs
)
566 self
.this
= newobj
.this
569 def __del__(self
, destroy
=_misc
.delete_Caret
):
572 if self
.thisown
: destroy(self
)
575 def IsOk(*args
, **kwargs
):
577 return _misc
.Caret_IsOk(*args
, **kwargs
)
579 def IsVisible(*args
, **kwargs
):
580 """IsVisible() -> bool"""
581 return _misc
.Caret_IsVisible(*args
, **kwargs
)
583 def GetPosition(*args
, **kwargs
):
584 """GetPosition() -> Point"""
585 return _misc
.Caret_GetPosition(*args
, **kwargs
)
587 def GetPositionTuple(*args
, **kwargs
):
588 """GetPositionTuple() -> (x,y)"""
589 return _misc
.Caret_GetPositionTuple(*args
, **kwargs
)
591 def GetSize(*args
, **kwargs
):
592 """GetSize() -> Size"""
593 return _misc
.Caret_GetSize(*args
, **kwargs
)
595 def GetSizeTuple(*args
, **kwargs
):
596 """GetSizeTuple() -> (width, height)"""
597 return _misc
.Caret_GetSizeTuple(*args
, **kwargs
)
599 def GetWindow(*args
, **kwargs
):
600 """GetWindow() -> Window"""
601 return _misc
.Caret_GetWindow(*args
, **kwargs
)
603 def MoveXY(*args
, **kwargs
):
604 """MoveXY(int x, int y)"""
605 return _misc
.Caret_MoveXY(*args
, **kwargs
)
607 def Move(*args
, **kwargs
):
609 return _misc
.Caret_Move(*args
, **kwargs
)
611 def SetSizeWH(*args
, **kwargs
):
612 """SetSizeWH(int width, int height)"""
613 return _misc
.Caret_SetSizeWH(*args
, **kwargs
)
615 def SetSize(*args
, **kwargs
):
616 """SetSize(Size size)"""
617 return _misc
.Caret_SetSize(*args
, **kwargs
)
619 def Show(*args
, **kwargs
):
620 """Show(int show=True)"""
621 return _misc
.Caret_Show(*args
, **kwargs
)
623 def Hide(*args
, **kwargs
):
625 return _misc
.Caret_Hide(*args
, **kwargs
)
627 def __nonzero__(self
): return self
.IsOk()
629 class CaretPtr(Caret
):
630 def __init__(self
, this
):
632 if not hasattr(self
,"thisown"): self
.thisown
= 0
633 self
.__class
__ = Caret
634 _misc
.Caret_swigregister(CaretPtr
)
637 def Caret_GetBlinkTime(*args
, **kwargs
):
638 """Caret_GetBlinkTime() -> int"""
639 return _misc
.Caret_GetBlinkTime(*args
, **kwargs
)
641 def Caret_SetBlinkTime(*args
, **kwargs
):
642 """Caret_SetBlinkTime(int milliseconds)"""
643 return _misc
.Caret_SetBlinkTime(*args
, **kwargs
)
644 class BusyCursor(object):
647 return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
648 def __init__(self
, *args
, **kwargs
):
649 """__init__(wxCursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor"""
650 newobj
= _misc
.new_BusyCursor(*args
, **kwargs
)
651 self
.this
= newobj
.this
654 def __del__(self
, destroy
=_misc
.delete_BusyCursor
):
657 if self
.thisown
: destroy(self
)
661 class BusyCursorPtr(BusyCursor
):
662 def __init__(self
, this
):
664 if not hasattr(self
,"thisown"): self
.thisown
= 0
665 self
.__class
__ = BusyCursor
666 _misc
.BusyCursor_swigregister(BusyCursorPtr
)
668 class WindowDisabler(object):
671 return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
672 def __init__(self
, *args
, **kwargs
):
673 """__init__(Window winToSkip=None) -> WindowDisabler"""
674 newobj
= _misc
.new_WindowDisabler(*args
, **kwargs
)
675 self
.this
= newobj
.this
678 def __del__(self
, destroy
=_misc
.delete_WindowDisabler
):
681 if self
.thisown
: destroy(self
)
685 class WindowDisablerPtr(WindowDisabler
):
686 def __init__(self
, this
):
688 if not hasattr(self
,"thisown"): self
.thisown
= 0
689 self
.__class
__ = WindowDisabler
690 _misc
.WindowDisabler_swigregister(WindowDisablerPtr
)
692 class BusyInfo(core
.Object
):
695 return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
696 def __init__(self
, *args
, **kwargs
):
697 """__init__(wxString message) -> BusyInfo"""
698 newobj
= _misc
.new_BusyInfo(*args
, **kwargs
)
699 self
.this
= newobj
.this
702 def __del__(self
, destroy
=_misc
.delete_BusyInfo
):
705 if self
.thisown
: destroy(self
)
709 class BusyInfoPtr(BusyInfo
):
710 def __init__(self
, this
):
712 if not hasattr(self
,"thisown"): self
.thisown
= 0
713 self
.__class
__ = BusyInfo
714 _misc
.BusyInfo_swigregister(BusyInfoPtr
)
716 class StopWatch(object):
719 return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
720 def __init__(self
, *args
, **kwargs
):
721 """__init__() -> StopWatch"""
722 newobj
= _misc
.new_StopWatch(*args
, **kwargs
)
723 self
.this
= newobj
.this
726 def Start(*args
, **kwargs
):
727 """Start(long t0=0)"""
728 return _misc
.StopWatch_Start(*args
, **kwargs
)
730 def Pause(*args
, **kwargs
):
732 return _misc
.StopWatch_Pause(*args
, **kwargs
)
734 def Resume(*args
, **kwargs
):
736 return _misc
.StopWatch_Resume(*args
, **kwargs
)
738 def Time(*args
, **kwargs
):
740 return _misc
.StopWatch_Time(*args
, **kwargs
)
743 class StopWatchPtr(StopWatch
):
744 def __init__(self
, this
):
746 if not hasattr(self
,"thisown"): self
.thisown
= 0
747 self
.__class
__ = StopWatch
748 _misc
.StopWatch_swigregister(StopWatchPtr
)
750 class FileHistory(core
.Object
):
753 return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
754 def __init__(self
, *args
, **kwargs
):
755 """__init__(int maxFiles=9) -> FileHistory"""
756 newobj
= _misc
.new_FileHistory(*args
, **kwargs
)
757 self
.this
= newobj
.this
760 def __del__(self
, destroy
=_misc
.delete_FileHistory
):
763 if self
.thisown
: destroy(self
)
766 def AddFileToHistory(*args
, **kwargs
):
767 """AddFileToHistory(wxString file)"""
768 return _misc
.FileHistory_AddFileToHistory(*args
, **kwargs
)
770 def RemoveFileFromHistory(*args
, **kwargs
):
771 """RemoveFileFromHistory(int i)"""
772 return _misc
.FileHistory_RemoveFileFromHistory(*args
, **kwargs
)
774 def GetMaxFiles(*args
, **kwargs
):
775 """GetMaxFiles() -> int"""
776 return _misc
.FileHistory_GetMaxFiles(*args
, **kwargs
)
778 def UseMenu(*args
, **kwargs
):
779 """UseMenu(Menu menu)"""
780 return _misc
.FileHistory_UseMenu(*args
, **kwargs
)
782 def RemoveMenu(*args
, **kwargs
):
783 """RemoveMenu(Menu menu)"""
784 return _misc
.FileHistory_RemoveMenu(*args
, **kwargs
)
786 def Load(*args
, **kwargs
):
787 """Load(ConfigBase config)"""
788 return _misc
.FileHistory_Load(*args
, **kwargs
)
790 def Save(*args
, **kwargs
):
791 """Save(ConfigBase config)"""
792 return _misc
.FileHistory_Save(*args
, **kwargs
)
794 def AddFilesToMenu(*args
, **kwargs
):
795 """AddFilesToMenu()"""
796 return _misc
.FileHistory_AddFilesToMenu(*args
, **kwargs
)
798 def AddFilesToThisMenu(*args
, **kwargs
):
799 """AddFilesToThisMenu(Menu menu)"""
800 return _misc
.FileHistory_AddFilesToThisMenu(*args
, **kwargs
)
802 def GetHistoryFile(*args
, **kwargs
):
803 """GetHistoryFile(int i) -> wxString"""
804 return _misc
.FileHistory_GetHistoryFile(*args
, **kwargs
)
806 def GetCount(*args
, **kwargs
):
807 """GetCount() -> int"""
808 return _misc
.FileHistory_GetCount(*args
, **kwargs
)
811 class FileHistoryPtr(FileHistory
):
812 def __init__(self
, this
):
814 if not hasattr(self
,"thisown"): self
.thisown
= 0
815 self
.__class
__ = FileHistory
816 _misc
.FileHistory_swigregister(FileHistoryPtr
)
818 class SingleInstanceChecker(object):
821 return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
822 def __init__(self
, *args
, **kwargs
):
823 """__init__(wxString name, wxString path=wxPyEmptyString) -> SingleInstanceChecker"""
824 newobj
= _misc
.new_SingleInstanceChecker(*args
, **kwargs
)
825 self
.this
= newobj
.this
828 def __del__(self
, destroy
=_misc
.delete_SingleInstanceChecker
):
831 if self
.thisown
: destroy(self
)
834 def Create(*args
, **kwargs
):
835 """Create(wxString name, wxString path=wxPyEmptyString) -> bool"""
836 return _misc
.SingleInstanceChecker_Create(*args
, **kwargs
)
838 def IsAnotherRunning(*args
, **kwargs
):
839 """IsAnotherRunning() -> bool"""
840 return _misc
.SingleInstanceChecker_IsAnotherRunning(*args
, **kwargs
)
843 class SingleInstanceCheckerPtr(SingleInstanceChecker
):
844 def __init__(self
, this
):
846 if not hasattr(self
,"thisown"): self
.thisown
= 0
847 self
.__class
__ = SingleInstanceChecker
848 _misc
.SingleInstanceChecker_swigregister(SingleInstanceCheckerPtr
)
850 def PreSingleInstanceChecker(*args
, **kwargs
):
851 """PreSingleInstanceChecker() -> SingleInstanceChecker"""
852 val
= _misc
.new_PreSingleInstanceChecker(*args
, **kwargs
)
857 def DrawWindowOnDC(*args
, **kwargs
):
858 """DrawWindowOnDC(Window window, wxDC dc, int method)"""
859 return _misc
.DrawWindowOnDC(*args
, **kwargs
)
860 #---------------------------------------------------------------------------
862 class TipProvider(object):
864 def __init__(self
): raise RuntimeError, "No constructor defined"
866 return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
867 def __del__(self
, destroy
=_misc
.delete_TipProvider
):
870 if self
.thisown
: destroy(self
)
873 def GetTip(*args
, **kwargs
):
874 """GetTip() -> wxString"""
875 return _misc
.TipProvider_GetTip(*args
, **kwargs
)
877 def GetCurrentTip(*args
, **kwargs
):
878 """GetCurrentTip() -> size_t"""
879 return _misc
.TipProvider_GetCurrentTip(*args
, **kwargs
)
881 def PreprocessTip(*args
, **kwargs
):
882 """PreprocessTip(wxString tip) -> wxString"""
883 return _misc
.TipProvider_PreprocessTip(*args
, **kwargs
)
886 class TipProviderPtr(TipProvider
):
887 def __init__(self
, this
):
889 if not hasattr(self
,"thisown"): self
.thisown
= 0
890 self
.__class
__ = TipProvider
891 _misc
.TipProvider_swigregister(TipProviderPtr
)
893 class PyTipProvider(TipProvider
):
896 return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
897 def __init__(self
, *args
, **kwargs
):
898 """__init__(size_t currentTip) -> PyTipProvider"""
899 newobj
= _misc
.new_PyTipProvider(*args
, **kwargs
)
900 self
.this
= newobj
.this
903 def _setCallbackInfo(*args
, **kwargs
):
904 """_setCallbackInfo(PyObject self, PyObject _class)"""
905 return _misc
.PyTipProvider__setCallbackInfo(*args
, **kwargs
)
908 class PyTipProviderPtr(PyTipProvider
):
909 def __init__(self
, this
):
911 if not hasattr(self
,"thisown"): self
.thisown
= 0
912 self
.__class
__ = PyTipProvider
913 _misc
.PyTipProvider_swigregister(PyTipProviderPtr
)
916 def ShowTip(*args
, **kwargs
):
917 """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool"""
918 return _misc
.ShowTip(*args
, **kwargs
)
920 def CreateFileTipProvider(*args
, **kwargs
):
921 """CreateFileTipProvider(wxString filename, size_t currentTip) -> TipProvider"""
922 return _misc
.CreateFileTipProvider(*args
, **kwargs
)
923 #---------------------------------------------------------------------------
925 TIMER_CONTINUOUS
= _misc
.TIMER_CONTINUOUS
926 TIMER_ONE_SHOT
= _misc
.TIMER_ONE_SHOT
927 wxEVT_TIMER
= _misc
.wxEVT_TIMER
928 class Timer(core
.EvtHandler
):
931 return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
932 def __init__(self
, *args
, **kwargs
):
933 """__init__(EvtHandler owner=None, int id=-1) -> Timer"""
934 newobj
= _misc
.new_Timer(*args
, **kwargs
)
935 self
.this
= newobj
.this
938 def __del__(self
, destroy
=_misc
.delete_Timer
):
941 if self
.thisown
: destroy(self
)
944 def SetOwner(*args
, **kwargs
):
945 """SetOwner(EvtHandler owner, int id=-1)"""
946 return _misc
.Timer_SetOwner(*args
, **kwargs
)
948 def Start(*args
, **kwargs
):
949 """Start(int milliseconds=-1, bool oneShot=False) -> bool"""
950 return _misc
.Timer_Start(*args
, **kwargs
)
952 def Stop(*args
, **kwargs
):
954 return _misc
.Timer_Stop(*args
, **kwargs
)
956 def Notify(*args
, **kwargs
):
958 return _misc
.Timer_Notify(*args
, **kwargs
)
960 def IsRunning(*args
, **kwargs
):
961 """IsRunning() -> bool"""
962 return _misc
.Timer_IsRunning(*args
, **kwargs
)
964 def GetInterval(*args
, **kwargs
):
965 """GetInterval() -> int"""
966 return _misc
.Timer_GetInterval(*args
, **kwargs
)
968 def IsOneShot(*args
, **kwargs
):
969 """IsOneShot() -> bool"""
970 return _misc
.Timer_IsOneShot(*args
, **kwargs
)
973 class TimerPtr(Timer
):
974 def __init__(self
, this
):
976 if not hasattr(self
,"thisown"): self
.thisown
= 0
977 self
.__class
__ = Timer
978 _misc
.Timer_swigregister(TimerPtr
)
980 # For backwards compatibility with 2.4
981 class PyTimer(Timer
):
982 def __init__(self
, notify
):
991 EVT_TIMER
= wx
.PyEventBinder( wxEVT_TIMER
, 1 )
994 class TimerEvent(core
.Event
):
997 return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
998 def __init__(self
, *args
, **kwargs
):
999 """__init__(int timerid=0, int interval=0) -> TimerEvent"""
1000 newobj
= _misc
.new_TimerEvent(*args
, **kwargs
)
1001 self
.this
= newobj
.this
1004 def GetInterval(*args
, **kwargs
):
1005 """GetInterval() -> int"""
1006 return _misc
.TimerEvent_GetInterval(*args
, **kwargs
)
1009 class TimerEventPtr(TimerEvent
):
1010 def __init__(self
, this
):
1012 if not hasattr(self
,"thisown"): self
.thisown
= 0
1013 self
.__class
__ = TimerEvent
1014 _misc
.TimerEvent_swigregister(TimerEventPtr
)
1016 class TimerRunner(object):
1019 return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1020 def __init__(self
, *args
):
1021 """__init__(wxTimer timer) -> TimerRunner
1022 __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner"""
1023 newobj
= _misc
.new_TimerRunner(*args
)
1024 self
.this
= newobj
.this
1027 def __del__(self
, destroy
=_misc
.delete_TimerRunner
):
1030 if self
.thisown
: destroy(self
)
1033 def Start(*args
, **kwargs
):
1034 """Start(int milli, bool oneShot=False)"""
1035 return _misc
.TimerRunner_Start(*args
, **kwargs
)
1038 class TimerRunnerPtr(TimerRunner
):
1039 def __init__(self
, this
):
1041 if not hasattr(self
,"thisown"): self
.thisown
= 0
1042 self
.__class
__ = TimerRunner
1043 _misc
.TimerRunner_swigregister(TimerRunnerPtr
)
1045 #---------------------------------------------------------------------------
1047 LOG_FatalError
= _misc
.LOG_FatalError
1048 LOG_Error
= _misc
.LOG_Error
1049 LOG_Warning
= _misc
.LOG_Warning
1050 LOG_Message
= _misc
.LOG_Message
1051 LOG_Status
= _misc
.LOG_Status
1052 LOG_Info
= _misc
.LOG_Info
1053 LOG_Debug
= _misc
.LOG_Debug
1054 LOG_Trace
= _misc
.LOG_Trace
1055 LOG_Progress
= _misc
.LOG_Progress
1056 LOG_User
= _misc
.LOG_User
1057 LOG_Max
= _misc
.LOG_Max
1058 TRACE_MemAlloc
= _misc
.TRACE_MemAlloc
1059 TRACE_Messages
= _misc
.TRACE_Messages
1060 TRACE_ResAlloc
= _misc
.TRACE_ResAlloc
1061 TRACE_RefCount
= _misc
.TRACE_RefCount
1062 TRACE_OleCalls
= _misc
.TRACE_OleCalls
1063 TraceMemAlloc
= _misc
.TraceMemAlloc
1064 TraceMessages
= _misc
.TraceMessages
1065 TraceResAlloc
= _misc
.TraceResAlloc
1066 TraceRefCount
= _misc
.TraceRefCount
1067 TraceOleCalls
= _misc
.TraceOleCalls
1071 return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1072 def __init__(self
, *args
, **kwargs
):
1073 """__init__() -> Log"""
1074 newobj
= _misc
.new_Log(*args
, **kwargs
)
1075 self
.this
= newobj
.this
1078 def IsEnabled(*args
, **kwargs
):
1079 """Log.IsEnabled() -> bool"""
1080 return _misc
.Log_IsEnabled(*args
, **kwargs
)
1082 IsEnabled
= staticmethod(IsEnabled
)
1083 def EnableLogging(*args
, **kwargs
):
1084 """Log.EnableLogging(bool doIt=True) -> bool"""
1085 return _misc
.Log_EnableLogging(*args
, **kwargs
)
1087 EnableLogging
= staticmethod(EnableLogging
)
1088 def OnLog(*args
, **kwargs
):
1089 """Log.OnLog(wxLogLevel level, wxChar szString, time_t t)"""
1090 return _misc
.Log_OnLog(*args
, **kwargs
)
1092 OnLog
= staticmethod(OnLog
)
1093 def Flush(*args
, **kwargs
):
1095 return _misc
.Log_Flush(*args
, **kwargs
)
1097 def FlushActive(*args
, **kwargs
):
1098 """Log.FlushActive()"""
1099 return _misc
.Log_FlushActive(*args
, **kwargs
)
1101 FlushActive
= staticmethod(FlushActive
)
1102 def GetActiveTarget(*args
, **kwargs
):
1103 """Log.GetActiveTarget() -> Log"""
1104 return _misc
.Log_GetActiveTarget(*args
, **kwargs
)
1106 GetActiveTarget
= staticmethod(GetActiveTarget
)
1107 def SetActiveTarget(*args
, **kwargs
):
1108 """Log.SetActiveTarget(Log pLogger) -> Log"""
1109 return _misc
.Log_SetActiveTarget(*args
, **kwargs
)
1111 SetActiveTarget
= staticmethod(SetActiveTarget
)
1112 def Suspend(*args
, **kwargs
):
1114 return _misc
.Log_Suspend(*args
, **kwargs
)
1116 Suspend
= staticmethod(Suspend
)
1117 def Resume(*args
, **kwargs
):
1119 return _misc
.Log_Resume(*args
, **kwargs
)
1121 Resume
= staticmethod(Resume
)
1122 def SetVerbose(*args
, **kwargs
):
1123 """Log.SetVerbose(bool bVerbose=True)"""
1124 return _misc
.Log_SetVerbose(*args
, **kwargs
)
1126 SetVerbose
= staticmethod(SetVerbose
)
1127 def SetLogLevel(*args
, **kwargs
):
1128 """Log.SetLogLevel(wxLogLevel logLevel)"""
1129 return _misc
.Log_SetLogLevel(*args
, **kwargs
)
1131 SetLogLevel
= staticmethod(SetLogLevel
)
1132 def DontCreateOnDemand(*args
, **kwargs
):
1133 """Log.DontCreateOnDemand()"""
1134 return _misc
.Log_DontCreateOnDemand(*args
, **kwargs
)
1136 DontCreateOnDemand
= staticmethod(DontCreateOnDemand
)
1137 def SetTraceMask(*args
, **kwargs
):
1138 """Log.SetTraceMask(wxTraceMask ulMask)"""
1139 return _misc
.Log_SetTraceMask(*args
, **kwargs
)
1141 SetTraceMask
= staticmethod(SetTraceMask
)
1142 def AddTraceMask(*args
, **kwargs
):
1143 """Log.AddTraceMask(wxString str)"""
1144 return _misc
.Log_AddTraceMask(*args
, **kwargs
)
1146 AddTraceMask
= staticmethod(AddTraceMask
)
1147 def RemoveTraceMask(*args
, **kwargs
):
1148 """Log.RemoveTraceMask(wxString str)"""
1149 return _misc
.Log_RemoveTraceMask(*args
, **kwargs
)
1151 RemoveTraceMask
= staticmethod(RemoveTraceMask
)
1152 def ClearTraceMasks(*args
, **kwargs
):
1153 """Log.ClearTraceMasks()"""
1154 return _misc
.Log_ClearTraceMasks(*args
, **kwargs
)
1156 ClearTraceMasks
= staticmethod(ClearTraceMasks
)
1157 def GetTraceMasks(*args
, **kwargs
):
1158 """Log.GetTraceMasks() -> wxArrayString"""
1159 return _misc
.Log_GetTraceMasks(*args
, **kwargs
)
1161 GetTraceMasks
= staticmethod(GetTraceMasks
)
1162 def SetTimestamp(*args
, **kwargs
):
1163 """Log.SetTimestamp(wxChar ts)"""
1164 return _misc
.Log_SetTimestamp(*args
, **kwargs
)
1166 SetTimestamp
= staticmethod(SetTimestamp
)
1167 def GetVerbose(*args
, **kwargs
):
1168 """Log.GetVerbose() -> bool"""
1169 return _misc
.Log_GetVerbose(*args
, **kwargs
)
1171 GetVerbose
= staticmethod(GetVerbose
)
1172 def GetTraceMask(*args
, **kwargs
):
1173 """Log.GetTraceMask() -> wxTraceMask"""
1174 return _misc
.Log_GetTraceMask(*args
, **kwargs
)
1176 GetTraceMask
= staticmethod(GetTraceMask
)
1177 def IsAllowedTraceMask(*args
, **kwargs
):
1178 """Log.IsAllowedTraceMask(wxChar mask) -> bool"""
1179 return _misc
.Log_IsAllowedTraceMask(*args
, **kwargs
)
1181 IsAllowedTraceMask
= staticmethod(IsAllowedTraceMask
)
1182 def GetLogLevel(*args
, **kwargs
):
1183 """Log.GetLogLevel() -> wxLogLevel"""
1184 return _misc
.Log_GetLogLevel(*args
, **kwargs
)
1186 GetLogLevel
= staticmethod(GetLogLevel
)
1187 def GetTimestamp(*args
, **kwargs
):
1188 """Log.GetTimestamp() -> wxChar"""
1189 return _misc
.Log_GetTimestamp(*args
, **kwargs
)
1191 GetTimestamp
= staticmethod(GetTimestamp
)
1192 def TimeStamp(*args
, **kwargs
):
1193 """Log.TimeStamp() -> wxString"""
1194 return _misc
.Log_TimeStamp(*args
, **kwargs
)
1196 TimeStamp
= staticmethod(TimeStamp
)
1197 def Destroy(*args
, **kwargs
):
1199 return _misc
.Log_Destroy(*args
, **kwargs
)
1203 def __init__(self
, this
):
1205 if not hasattr(self
,"thisown"): self
.thisown
= 0
1206 self
.__class
__ = Log
1207 _misc
.Log_swigregister(LogPtr
)
1209 def Log_IsEnabled(*args
, **kwargs
):
1210 """Log_IsEnabled() -> bool"""
1211 return _misc
.Log_IsEnabled(*args
, **kwargs
)
1213 def Log_EnableLogging(*args
, **kwargs
):
1214 """Log_EnableLogging(bool doIt=True) -> bool"""
1215 return _misc
.Log_EnableLogging(*args
, **kwargs
)
1217 def Log_OnLog(*args
, **kwargs
):
1218 """Log_OnLog(wxLogLevel level, wxChar szString, time_t t)"""
1219 return _misc
.Log_OnLog(*args
, **kwargs
)
1221 def Log_FlushActive(*args
, **kwargs
):
1222 """Log_FlushActive()"""
1223 return _misc
.Log_FlushActive(*args
, **kwargs
)
1225 def Log_GetActiveTarget(*args
, **kwargs
):
1226 """Log_GetActiveTarget() -> Log"""
1227 return _misc
.Log_GetActiveTarget(*args
, **kwargs
)
1229 def Log_SetActiveTarget(*args
, **kwargs
):
1230 """Log_SetActiveTarget(Log pLogger) -> Log"""
1231 return _misc
.Log_SetActiveTarget(*args
, **kwargs
)
1233 def Log_Suspend(*args
, **kwargs
):
1235 return _misc
.Log_Suspend(*args
, **kwargs
)
1237 def Log_Resume(*args
, **kwargs
):
1239 return _misc
.Log_Resume(*args
, **kwargs
)
1241 def Log_SetVerbose(*args
, **kwargs
):
1242 """Log_SetVerbose(bool bVerbose=True)"""
1243 return _misc
.Log_SetVerbose(*args
, **kwargs
)
1245 def Log_SetLogLevel(*args
, **kwargs
):
1246 """Log_SetLogLevel(wxLogLevel logLevel)"""
1247 return _misc
.Log_SetLogLevel(*args
, **kwargs
)
1249 def Log_DontCreateOnDemand(*args
, **kwargs
):
1250 """Log_DontCreateOnDemand()"""
1251 return _misc
.Log_DontCreateOnDemand(*args
, **kwargs
)
1253 def Log_SetTraceMask(*args
, **kwargs
):
1254 """Log_SetTraceMask(wxTraceMask ulMask)"""
1255 return _misc
.Log_SetTraceMask(*args
, **kwargs
)
1257 def Log_AddTraceMask(*args
, **kwargs
):
1258 """Log_AddTraceMask(wxString str)"""
1259 return _misc
.Log_AddTraceMask(*args
, **kwargs
)
1261 def Log_RemoveTraceMask(*args
, **kwargs
):
1262 """Log_RemoveTraceMask(wxString str)"""
1263 return _misc
.Log_RemoveTraceMask(*args
, **kwargs
)
1265 def Log_ClearTraceMasks(*args
, **kwargs
):
1266 """Log_ClearTraceMasks()"""
1267 return _misc
.Log_ClearTraceMasks(*args
, **kwargs
)
1269 def Log_GetTraceMasks(*args
, **kwargs
):
1270 """Log_GetTraceMasks() -> wxArrayString"""
1271 return _misc
.Log_GetTraceMasks(*args
, **kwargs
)
1273 def Log_SetTimestamp(*args
, **kwargs
):
1274 """Log_SetTimestamp(wxChar ts)"""
1275 return _misc
.Log_SetTimestamp(*args
, **kwargs
)
1277 def Log_GetVerbose(*args
, **kwargs
):
1278 """Log_GetVerbose() -> bool"""
1279 return _misc
.Log_GetVerbose(*args
, **kwargs
)
1281 def Log_GetTraceMask(*args
, **kwargs
):
1282 """Log_GetTraceMask() -> wxTraceMask"""
1283 return _misc
.Log_GetTraceMask(*args
, **kwargs
)
1285 def Log_IsAllowedTraceMask(*args
, **kwargs
):
1286 """Log_IsAllowedTraceMask(wxChar mask) -> bool"""
1287 return _misc
.Log_IsAllowedTraceMask(*args
, **kwargs
)
1289 def Log_GetLogLevel(*args
, **kwargs
):
1290 """Log_GetLogLevel() -> wxLogLevel"""
1291 return _misc
.Log_GetLogLevel(*args
, **kwargs
)
1293 def Log_GetTimestamp(*args
, **kwargs
):
1294 """Log_GetTimestamp() -> wxChar"""
1295 return _misc
.Log_GetTimestamp(*args
, **kwargs
)
1297 def Log_TimeStamp(*args
, **kwargs
):
1298 """Log_TimeStamp() -> wxString"""
1299 return _misc
.Log_TimeStamp(*args
, **kwargs
)
1301 class LogStderr(Log
):
1304 return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1305 def __init__(self
, *args
, **kwargs
):
1306 """__init__() -> LogStderr"""
1307 newobj
= _misc
.new_LogStderr(*args
, **kwargs
)
1308 self
.this
= newobj
.this
1312 class LogStderrPtr(LogStderr
):
1313 def __init__(self
, this
):
1315 if not hasattr(self
,"thisown"): self
.thisown
= 0
1316 self
.__class
__ = LogStderr
1317 _misc
.LogStderr_swigregister(LogStderrPtr
)
1319 class LogTextCtrl(Log
):
1322 return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1323 def __init__(self
, *args
, **kwargs
):
1324 """__init__(wxTextCtrl pTextCtrl) -> LogTextCtrl"""
1325 newobj
= _misc
.new_LogTextCtrl(*args
, **kwargs
)
1326 self
.this
= newobj
.this
1330 class LogTextCtrlPtr(LogTextCtrl
):
1331 def __init__(self
, this
):
1333 if not hasattr(self
,"thisown"): self
.thisown
= 0
1334 self
.__class
__ = LogTextCtrl
1335 _misc
.LogTextCtrl_swigregister(LogTextCtrlPtr
)
1340 return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1341 def __init__(self
, *args
, **kwargs
):
1342 """__init__() -> LogGui"""
1343 newobj
= _misc
.new_LogGui(*args
, **kwargs
)
1344 self
.this
= newobj
.this
1348 class LogGuiPtr(LogGui
):
1349 def __init__(self
, this
):
1351 if not hasattr(self
,"thisown"): self
.thisown
= 0
1352 self
.__class
__ = LogGui
1353 _misc
.LogGui_swigregister(LogGuiPtr
)
1355 class LogWindow(Log
):
1358 return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1359 def __init__(self
, *args
, **kwargs
):
1360 """__init__(wxFrame pParent, wxString szTitle, bool bShow=True,
1361 bool bPassToOld=True) -> LogWindow"""
1362 newobj
= _misc
.new_LogWindow(*args
, **kwargs
)
1363 self
.this
= newobj
.this
1366 def Show(*args
, **kwargs
):
1367 """Show(bool bShow=True)"""
1368 return _misc
.LogWindow_Show(*args
, **kwargs
)
1370 def GetFrame(*args
, **kwargs
):
1371 """GetFrame() -> wxFrame"""
1372 return _misc
.LogWindow_GetFrame(*args
, **kwargs
)
1374 def GetOldLog(*args
, **kwargs
):
1375 """GetOldLog() -> Log"""
1376 return _misc
.LogWindow_GetOldLog(*args
, **kwargs
)
1378 def IsPassingMessages(*args
, **kwargs
):
1379 """IsPassingMessages() -> bool"""
1380 return _misc
.LogWindow_IsPassingMessages(*args
, **kwargs
)
1382 def PassMessages(*args
, **kwargs
):
1383 """PassMessages(bool bDoPass)"""
1384 return _misc
.LogWindow_PassMessages(*args
, **kwargs
)
1387 class LogWindowPtr(LogWindow
):
1388 def __init__(self
, this
):
1390 if not hasattr(self
,"thisown"): self
.thisown
= 0
1391 self
.__class
__ = LogWindow
1392 _misc
.LogWindow_swigregister(LogWindowPtr
)
1394 class LogChain(Log
):
1397 return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1398 def __init__(self
, *args
, **kwargs
):
1399 """__init__(Log logger) -> LogChain"""
1400 newobj
= _misc
.new_LogChain(*args
, **kwargs
)
1401 self
.this
= newobj
.this
1404 def SetLog(*args
, **kwargs
):
1405 """SetLog(Log logger)"""
1406 return _misc
.LogChain_SetLog(*args
, **kwargs
)
1408 def PassMessages(*args
, **kwargs
):
1409 """PassMessages(bool bDoPass)"""
1410 return _misc
.LogChain_PassMessages(*args
, **kwargs
)
1412 def IsPassingMessages(*args
, **kwargs
):
1413 """IsPassingMessages() -> bool"""
1414 return _misc
.LogChain_IsPassingMessages(*args
, **kwargs
)
1416 def GetOldLog(*args
, **kwargs
):
1417 """GetOldLog() -> Log"""
1418 return _misc
.LogChain_GetOldLog(*args
, **kwargs
)
1421 class LogChainPtr(LogChain
):
1422 def __init__(self
, this
):
1424 if not hasattr(self
,"thisown"): self
.thisown
= 0
1425 self
.__class
__ = LogChain
1426 _misc
.LogChain_swigregister(LogChainPtr
)
1429 def SysErrorCode(*args
, **kwargs
):
1430 """SysErrorCode() -> unsigned long"""
1431 return _misc
.SysErrorCode(*args
, **kwargs
)
1433 def SysErrorMsg(*args
, **kwargs
):
1434 """SysErrorMsg(unsigned long nErrCode=0) -> wxString"""
1435 return _misc
.SysErrorMsg(*args
, **kwargs
)
1437 def LogFatalError(*args
, **kwargs
):
1438 """LogFatalError(wxString msg)"""
1439 return _misc
.LogFatalError(*args
, **kwargs
)
1441 def LogError(*args
, **kwargs
):
1442 """LogError(wxString msg)"""
1443 return _misc
.LogError(*args
, **kwargs
)
1445 def LogWarning(*args
, **kwargs
):
1446 """LogWarning(wxString msg)"""
1447 return _misc
.LogWarning(*args
, **kwargs
)
1449 def LogMessage(*args
, **kwargs
):
1450 """LogMessage(wxString msg)"""
1451 return _misc
.LogMessage(*args
, **kwargs
)
1453 def LogInfo(*args
, **kwargs
):
1454 """LogInfo(wxString msg)"""
1455 return _misc
.LogInfo(*args
, **kwargs
)
1457 def LogDebug(*args
, **kwargs
):
1458 """LogDebug(wxString msg)"""
1459 return _misc
.LogDebug(*args
, **kwargs
)
1461 def LogVerbose(*args
, **kwargs
):
1462 """LogVerbose(wxString msg)"""
1463 return _misc
.LogVerbose(*args
, **kwargs
)
1465 def LogStatus(*args
, **kwargs
):
1466 """LogStatus(wxString msg)"""
1467 return _misc
.LogStatus(*args
, **kwargs
)
1469 def LogStatusFrame(*args
, **kwargs
):
1470 """LogStatusFrame(wxFrame pFrame, wxString msg)"""
1471 return _misc
.LogStatusFrame(*args
, **kwargs
)
1473 def LogSysError(*args
, **kwargs
):
1474 """LogSysError(wxString msg)"""
1475 return _misc
.LogSysError(*args
, **kwargs
)
1477 def LogTrace(*args
, **kwargs
):
1478 """LogTrace(wxString msg)"""
1479 return _misc
.LogTrace(*args
, **kwargs
)
1481 def LogTraceMask(*args
, **kwargs
):
1482 """LogTraceMask(wxString mask, wxString msg)"""
1483 return _misc
.LogTraceMask(*args
, **kwargs
)
1485 def LogGeneric(*args
, **kwargs
):
1486 """LogGeneric(unsigned long level, wxString msg)"""
1487 return _misc
.LogGeneric(*args
, **kwargs
)
1489 def SafeShowMessage(*args
, **kwargs
):
1490 """SafeShowMessage(wxString title, wxString text)"""
1491 return _misc
.SafeShowMessage(*args
, **kwargs
)
1492 class LogNull(object):
1495 return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1496 def __init__(self
, *args
, **kwargs
):
1497 """__init__() -> LogNull"""
1498 newobj
= _misc
.new_LogNull(*args
, **kwargs
)
1499 self
.this
= newobj
.this
1502 def __del__(self
, destroy
=_misc
.delete_LogNull
):
1505 if self
.thisown
: destroy(self
)
1509 class LogNullPtr(LogNull
):
1510 def __init__(self
, this
):
1512 if not hasattr(self
,"thisown"): self
.thisown
= 0
1513 self
.__class
__ = LogNull
1514 _misc
.LogNull_swigregister(LogNullPtr
)
1519 return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1520 def __init__(self
, *args
, **kwargs
):
1521 """__init__() -> PyLog"""
1522 newobj
= _misc
.new_PyLog(*args
, **kwargs
)
1523 self
.this
= newobj
.this
1526 self
._setCallbackInfo
(self
, PyLog
)
1528 def _setCallbackInfo(*args
, **kwargs
):
1529 """_setCallbackInfo(PyObject self, PyObject _class)"""
1530 return _misc
.PyLog__setCallbackInfo(*args
, **kwargs
)
1533 class PyLogPtr(PyLog
):
1534 def __init__(self
, this
):
1536 if not hasattr(self
,"thisown"): self
.thisown
= 0
1537 self
.__class
__ = PyLog
1538 _misc
.PyLog_swigregister(PyLogPtr
)
1540 #---------------------------------------------------------------------------
1542 PROCESS_DEFAULT
= _misc
.PROCESS_DEFAULT
1543 PROCESS_REDIRECT
= _misc
.PROCESS_REDIRECT
1544 KILL_OK
= _misc
.KILL_OK
1545 KILL_BAD_SIGNAL
= _misc
.KILL_BAD_SIGNAL
1546 KILL_ACCESS_DENIED
= _misc
.KILL_ACCESS_DENIED
1547 KILL_NO_PROCESS
= _misc
.KILL_NO_PROCESS
1548 KILL_ERROR
= _misc
.KILL_ERROR
1549 SIGNONE
= _misc
.SIGNONE
1550 SIGHUP
= _misc
.SIGHUP
1551 SIGINT
= _misc
.SIGINT
1552 SIGQUIT
= _misc
.SIGQUIT
1553 SIGILL
= _misc
.SIGILL
1554 SIGTRAP
= _misc
.SIGTRAP
1555 SIGABRT
= _misc
.SIGABRT
1556 SIGIOT
= _misc
.SIGIOT
1557 SIGEMT
= _misc
.SIGEMT
1558 SIGFPE
= _misc
.SIGFPE
1559 SIGKILL
= _misc
.SIGKILL
1560 SIGBUS
= _misc
.SIGBUS
1561 SIGSEGV
= _misc
.SIGSEGV
1562 SIGSYS
= _misc
.SIGSYS
1563 SIGPIPE
= _misc
.SIGPIPE
1564 SIGALRM
= _misc
.SIGALRM
1565 SIGTERM
= _misc
.SIGTERM
1566 class Process(core
.EvtHandler
):
1569 return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1570 def Kill(*args
, **kwargs
):
1571 """Process.Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError"""
1572 return _misc
.Process_Kill(*args
, **kwargs
)
1574 Kill
= staticmethod(Kill
)
1575 def Exists(*args
, **kwargs
):
1576 """Process.Exists(int pid) -> bool"""
1577 return _misc
.Process_Exists(*args
, **kwargs
)
1579 Exists
= staticmethod(Exists
)
1580 def Open(*args
, **kwargs
):
1581 """Process.Open(wxString cmd, int flags=EXEC_ASYNC) -> Process"""
1582 return _misc
.Process_Open(*args
, **kwargs
)
1584 Open
= staticmethod(Open
)
1585 def __init__(self
, *args
, **kwargs
):
1586 """__init__(EvtHandler parent=None, int id=-1) -> Process"""
1587 newobj
= _misc
.new_Process(*args
, **kwargs
)
1588 self
.this
= newobj
.this
1591 self
._setCallbackInfo
(self
, Process
)
1593 def _setCallbackInfo(*args
, **kwargs
):
1594 """_setCallbackInfo(PyObject self, PyObject _class)"""
1595 return _misc
.Process__setCallbackInfo(*args
, **kwargs
)
1597 def base_OnTerminate(*args
, **kwargs
):
1598 """base_OnTerminate(int pid, int status)"""
1599 return _misc
.Process_base_OnTerminate(*args
, **kwargs
)
1601 def Redirect(*args
, **kwargs
):
1603 return _misc
.Process_Redirect(*args
, **kwargs
)
1605 def IsRedirected(*args
, **kwargs
):
1606 """IsRedirected() -> bool"""
1607 return _misc
.Process_IsRedirected(*args
, **kwargs
)
1609 def Detach(*args
, **kwargs
):
1611 return _misc
.Process_Detach(*args
, **kwargs
)
1613 def GetInputStream(*args
, **kwargs
):
1614 """GetInputStream() -> wxInputStream"""
1615 return _misc
.Process_GetInputStream(*args
, **kwargs
)
1617 def GetErrorStream(*args
, **kwargs
):
1618 """GetErrorStream() -> wxInputStream"""
1619 return _misc
.Process_GetErrorStream(*args
, **kwargs
)
1621 def GetOutputStream(*args
, **kwargs
):
1622 """GetOutputStream() -> OutputStream"""
1623 return _misc
.Process_GetOutputStream(*args
, **kwargs
)
1625 def CloseOutput(*args
, **kwargs
):
1627 return _misc
.Process_CloseOutput(*args
, **kwargs
)
1629 def IsInputOpened(*args
, **kwargs
):
1630 """IsInputOpened() -> bool"""
1631 return _misc
.Process_IsInputOpened(*args
, **kwargs
)
1633 def IsInputAvailable(*args
, **kwargs
):
1634 """IsInputAvailable() -> bool"""
1635 return _misc
.Process_IsInputAvailable(*args
, **kwargs
)
1637 def IsErrorAvailable(*args
, **kwargs
):
1638 """IsErrorAvailable() -> bool"""
1639 return _misc
.Process_IsErrorAvailable(*args
, **kwargs
)
1642 class ProcessPtr(Process
):
1643 def __init__(self
, this
):
1645 if not hasattr(self
,"thisown"): self
.thisown
= 0
1646 self
.__class
__ = Process
1647 _misc
.Process_swigregister(ProcessPtr
)
1649 def Process_Kill(*args
, **kwargs
):
1650 """Process_Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError"""
1651 return _misc
.Process_Kill(*args
, **kwargs
)
1653 def Process_Exists(*args
, **kwargs
):
1654 """Process_Exists(int pid) -> bool"""
1655 return _misc
.Process_Exists(*args
, **kwargs
)
1657 def Process_Open(*args
, **kwargs
):
1658 """Process_Open(wxString cmd, int flags=EXEC_ASYNC) -> Process"""
1659 return _misc
.Process_Open(*args
, **kwargs
)
1661 class ProcessEvent(core
.Event
):
1664 return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1665 def __init__(self
, *args
, **kwargs
):
1666 """__init__(int id=0, int pid=0, int exitcode=0) -> ProcessEvent"""
1667 newobj
= _misc
.new_ProcessEvent(*args
, **kwargs
)
1668 self
.this
= newobj
.this
1671 def GetPid(*args
, **kwargs
):
1672 """GetPid() -> int"""
1673 return _misc
.ProcessEvent_GetPid(*args
, **kwargs
)
1675 def GetExitCode(*args
, **kwargs
):
1676 """GetExitCode() -> int"""
1677 return _misc
.ProcessEvent_GetExitCode(*args
, **kwargs
)
1679 m_pid
= property(_misc
.ProcessEvent_m_pid_get
, _misc
.ProcessEvent_m_pid_set
)
1680 m_exitcode
= property(_misc
.ProcessEvent_m_exitcode_get
, _misc
.ProcessEvent_m_exitcode_set
)
1682 class ProcessEventPtr(ProcessEvent
):
1683 def __init__(self
, this
):
1685 if not hasattr(self
,"thisown"): self
.thisown
= 0
1686 self
.__class
__ = ProcessEvent
1687 _misc
.ProcessEvent_swigregister(ProcessEventPtr
)
1689 wxEVT_END_PROCESS
= _misc
.wxEVT_END_PROCESS
1690 EVT_END_PROCESS
= wx
.PyEventBinder( wxEVT_END_PROCESS
, 1 )
1692 EXEC_ASYNC
= _misc
.EXEC_ASYNC
1693 EXEC_SYNC
= _misc
.EXEC_SYNC
1694 EXEC_NOHIDE
= _misc
.EXEC_NOHIDE
1695 EXEC_MAKE_GROUP_LEADER
= _misc
.EXEC_MAKE_GROUP_LEADER
1697 def Execute(*args
, **kwargs
):
1698 """Execute(wxString command, int flags=EXEC_ASYNC, Process process=None) -> long"""
1699 return _misc
.Execute(*args
, **kwargs
)
1700 #---------------------------------------------------------------------------
1702 JOYSTICK1
= _misc
.JOYSTICK1
1703 JOYSTICK2
= _misc
.JOYSTICK2
1704 JOY_BUTTON_ANY
= _misc
.JOY_BUTTON_ANY
1705 JOY_BUTTON1
= _misc
.JOY_BUTTON1
1706 JOY_BUTTON2
= _misc
.JOY_BUTTON2
1707 JOY_BUTTON3
= _misc
.JOY_BUTTON3
1708 JOY_BUTTON4
= _misc
.JOY_BUTTON4
1709 class Joystick(object):
1712 return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1713 def __init__(self
, *args
, **kwargs
):
1714 """__init__(int joystick=JOYSTICK1) -> Joystick"""
1715 newobj
= _misc
.new_Joystick(*args
, **kwargs
)
1716 self
.this
= newobj
.this
1719 def __del__(self
, destroy
=_misc
.delete_Joystick
):
1722 if self
.thisown
: destroy(self
)
1725 def GetPosition(*args
, **kwargs
):
1726 """GetPosition() -> Point"""
1727 return _misc
.Joystick_GetPosition(*args
, **kwargs
)
1729 def GetZPosition(*args
, **kwargs
):
1730 """GetZPosition() -> int"""
1731 return _misc
.Joystick_GetZPosition(*args
, **kwargs
)
1733 def GetButtonState(*args
, **kwargs
):
1734 """GetButtonState() -> int"""
1735 return _misc
.Joystick_GetButtonState(*args
, **kwargs
)
1737 def GetPOVPosition(*args
, **kwargs
):
1738 """GetPOVPosition() -> int"""
1739 return _misc
.Joystick_GetPOVPosition(*args
, **kwargs
)
1741 def GetPOVCTSPosition(*args
, **kwargs
):
1742 """GetPOVCTSPosition() -> int"""
1743 return _misc
.Joystick_GetPOVCTSPosition(*args
, **kwargs
)
1745 def GetRudderPosition(*args
, **kwargs
):
1746 """GetRudderPosition() -> int"""
1747 return _misc
.Joystick_GetRudderPosition(*args
, **kwargs
)
1749 def GetUPosition(*args
, **kwargs
):
1750 """GetUPosition() -> int"""
1751 return _misc
.Joystick_GetUPosition(*args
, **kwargs
)
1753 def GetVPosition(*args
, **kwargs
):
1754 """GetVPosition() -> int"""
1755 return _misc
.Joystick_GetVPosition(*args
, **kwargs
)
1757 def GetMovementThreshold(*args
, **kwargs
):
1758 """GetMovementThreshold() -> int"""
1759 return _misc
.Joystick_GetMovementThreshold(*args
, **kwargs
)
1761 def SetMovementThreshold(*args
, **kwargs
):
1762 """SetMovementThreshold(int threshold)"""
1763 return _misc
.Joystick_SetMovementThreshold(*args
, **kwargs
)
1765 def IsOk(*args
, **kwargs
):
1766 """IsOk(void ??) -> bool"""
1767 return _misc
.Joystick_IsOk(*args
, **kwargs
)
1769 def GetNumberJoysticks(*args
, **kwargs
):
1770 """GetNumberJoysticks() -> int"""
1771 return _misc
.Joystick_GetNumberJoysticks(*args
, **kwargs
)
1773 def GetManufacturerId(*args
, **kwargs
):
1774 """GetManufacturerId() -> int"""
1775 return _misc
.Joystick_GetManufacturerId(*args
, **kwargs
)
1777 def GetProductId(*args
, **kwargs
):
1778 """GetProductId() -> int"""
1779 return _misc
.Joystick_GetProductId(*args
, **kwargs
)
1781 def GetProductName(*args
, **kwargs
):
1782 """GetProductName() -> wxString"""
1783 return _misc
.Joystick_GetProductName(*args
, **kwargs
)
1785 def GetXMin(*args
, **kwargs
):
1786 """GetXMin() -> int"""
1787 return _misc
.Joystick_GetXMin(*args
, **kwargs
)
1789 def GetYMin(*args
, **kwargs
):
1790 """GetYMin() -> int"""
1791 return _misc
.Joystick_GetYMin(*args
, **kwargs
)
1793 def GetZMin(*args
, **kwargs
):
1794 """GetZMin() -> int"""
1795 return _misc
.Joystick_GetZMin(*args
, **kwargs
)
1797 def GetXMax(*args
, **kwargs
):
1798 """GetXMax() -> int"""
1799 return _misc
.Joystick_GetXMax(*args
, **kwargs
)
1801 def GetYMax(*args
, **kwargs
):
1802 """GetYMax() -> int"""
1803 return _misc
.Joystick_GetYMax(*args
, **kwargs
)
1805 def GetZMax(*args
, **kwargs
):
1806 """GetZMax() -> int"""
1807 return _misc
.Joystick_GetZMax(*args
, **kwargs
)
1809 def GetNumberButtons(*args
, **kwargs
):
1810 """GetNumberButtons() -> int"""
1811 return _misc
.Joystick_GetNumberButtons(*args
, **kwargs
)
1813 def GetNumberAxes(*args
, **kwargs
):
1814 """GetNumberAxes() -> int"""
1815 return _misc
.Joystick_GetNumberAxes(*args
, **kwargs
)
1817 def GetMaxButtons(*args
, **kwargs
):
1818 """GetMaxButtons() -> int"""
1819 return _misc
.Joystick_GetMaxButtons(*args
, **kwargs
)
1821 def GetMaxAxes(*args
, **kwargs
):
1822 """GetMaxAxes() -> int"""
1823 return _misc
.Joystick_GetMaxAxes(*args
, **kwargs
)
1825 def GetPollingMin(*args
, **kwargs
):
1826 """GetPollingMin() -> int"""
1827 return _misc
.Joystick_GetPollingMin(*args
, **kwargs
)
1829 def GetPollingMax(*args
, **kwargs
):
1830 """GetPollingMax() -> int"""
1831 return _misc
.Joystick_GetPollingMax(*args
, **kwargs
)
1833 def GetRudderMin(*args
, **kwargs
):
1834 """GetRudderMin() -> int"""
1835 return _misc
.Joystick_GetRudderMin(*args
, **kwargs
)
1837 def GetRudderMax(*args
, **kwargs
):
1838 """GetRudderMax() -> int"""
1839 return _misc
.Joystick_GetRudderMax(*args
, **kwargs
)
1841 def GetUMin(*args
, **kwargs
):
1842 """GetUMin() -> int"""
1843 return _misc
.Joystick_GetUMin(*args
, **kwargs
)
1845 def GetUMax(*args
, **kwargs
):
1846 """GetUMax() -> int"""
1847 return _misc
.Joystick_GetUMax(*args
, **kwargs
)
1849 def GetVMin(*args
, **kwargs
):
1850 """GetVMin() -> int"""
1851 return _misc
.Joystick_GetVMin(*args
, **kwargs
)
1853 def GetVMax(*args
, **kwargs
):
1854 """GetVMax() -> int"""
1855 return _misc
.Joystick_GetVMax(*args
, **kwargs
)
1857 def HasRudder(*args
, **kwargs
):
1858 """HasRudder() -> bool"""
1859 return _misc
.Joystick_HasRudder(*args
, **kwargs
)
1861 def HasZ(*args
, **kwargs
):
1862 """HasZ() -> bool"""
1863 return _misc
.Joystick_HasZ(*args
, **kwargs
)
1865 def HasU(*args
, **kwargs
):
1866 """HasU() -> bool"""
1867 return _misc
.Joystick_HasU(*args
, **kwargs
)
1869 def HasV(*args
, **kwargs
):
1870 """HasV() -> bool"""
1871 return _misc
.Joystick_HasV(*args
, **kwargs
)
1873 def HasPOV(*args
, **kwargs
):
1874 """HasPOV() -> bool"""
1875 return _misc
.Joystick_HasPOV(*args
, **kwargs
)
1877 def HasPOV4Dir(*args
, **kwargs
):
1878 """HasPOV4Dir() -> bool"""
1879 return _misc
.Joystick_HasPOV4Dir(*args
, **kwargs
)
1881 def HasPOVCTS(*args
, **kwargs
):
1882 """HasPOVCTS() -> bool"""
1883 return _misc
.Joystick_HasPOVCTS(*args
, **kwargs
)
1885 def SetCapture(*args
, **kwargs
):
1886 """SetCapture(Window win, int pollingFreq=0) -> bool"""
1887 return _misc
.Joystick_SetCapture(*args
, **kwargs
)
1889 def ReleaseCapture(*args
, **kwargs
):
1890 """ReleaseCapture() -> bool"""
1891 return _misc
.Joystick_ReleaseCapture(*args
, **kwargs
)
1893 def __nonzero__(self
): return self
.IsOk()
1895 class JoystickPtr(Joystick
):
1896 def __init__(self
, this
):
1898 if not hasattr(self
,"thisown"): self
.thisown
= 0
1899 self
.__class
__ = Joystick
1900 _misc
.Joystick_swigregister(JoystickPtr
)
1902 wxEVT_JOY_BUTTON_DOWN
= _misc
.wxEVT_JOY_BUTTON_DOWN
1903 wxEVT_JOY_BUTTON_UP
= _misc
.wxEVT_JOY_BUTTON_UP
1904 wxEVT_JOY_MOVE
= _misc
.wxEVT_JOY_MOVE
1905 wxEVT_JOY_ZMOVE
= _misc
.wxEVT_JOY_ZMOVE
1906 class JoystickEvent(core
.Event
):
1909 return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1910 m_pos
= property(_misc
.JoystickEvent_m_pos_get
, _misc
.JoystickEvent_m_pos_set
)
1911 m_zPosition
= property(_misc
.JoystickEvent_m_zPosition_get
, _misc
.JoystickEvent_m_zPosition_set
)
1912 m_buttonChange
= property(_misc
.JoystickEvent_m_buttonChange_get
, _misc
.JoystickEvent_m_buttonChange_set
)
1913 m_buttonState
= property(_misc
.JoystickEvent_m_buttonState_get
, _misc
.JoystickEvent_m_buttonState_set
)
1914 m_joyStick
= property(_misc
.JoystickEvent_m_joyStick_get
, _misc
.JoystickEvent_m_joyStick_set
)
1915 def __init__(self
, *args
, **kwargs
):
1916 """__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
1917 int change=0) -> JoystickEvent"""
1918 newobj
= _misc
.new_JoystickEvent(*args
, **kwargs
)
1919 self
.this
= newobj
.this
1922 def GetPosition(*args
, **kwargs
):
1923 """GetPosition() -> Point"""
1924 return _misc
.JoystickEvent_GetPosition(*args
, **kwargs
)
1926 def GetZPosition(*args
, **kwargs
):
1927 """GetZPosition() -> int"""
1928 return _misc
.JoystickEvent_GetZPosition(*args
, **kwargs
)
1930 def GetButtonState(*args
, **kwargs
):
1931 """GetButtonState() -> int"""
1932 return _misc
.JoystickEvent_GetButtonState(*args
, **kwargs
)
1934 def GetButtonChange(*args
, **kwargs
):
1935 """GetButtonChange() -> int"""
1936 return _misc
.JoystickEvent_GetButtonChange(*args
, **kwargs
)
1938 def GetJoystick(*args
, **kwargs
):
1939 """GetJoystick() -> int"""
1940 return _misc
.JoystickEvent_GetJoystick(*args
, **kwargs
)
1942 def SetJoystick(*args
, **kwargs
):
1943 """SetJoystick(int stick)"""
1944 return _misc
.JoystickEvent_SetJoystick(*args
, **kwargs
)
1946 def SetButtonState(*args
, **kwargs
):
1947 """SetButtonState(int state)"""
1948 return _misc
.JoystickEvent_SetButtonState(*args
, **kwargs
)
1950 def SetButtonChange(*args
, **kwargs
):
1951 """SetButtonChange(int change)"""
1952 return _misc
.JoystickEvent_SetButtonChange(*args
, **kwargs
)
1954 def SetPosition(*args
, **kwargs
):
1955 """SetPosition(Point pos)"""
1956 return _misc
.JoystickEvent_SetPosition(*args
, **kwargs
)
1958 def SetZPosition(*args
, **kwargs
):
1959 """SetZPosition(int zPos)"""
1960 return _misc
.JoystickEvent_SetZPosition(*args
, **kwargs
)
1962 def IsButton(*args
, **kwargs
):
1963 """IsButton() -> bool"""
1964 return _misc
.JoystickEvent_IsButton(*args
, **kwargs
)
1966 def IsMove(*args
, **kwargs
):
1967 """IsMove() -> bool"""
1968 return _misc
.JoystickEvent_IsMove(*args
, **kwargs
)
1970 def IsZMove(*args
, **kwargs
):
1971 """IsZMove() -> bool"""
1972 return _misc
.JoystickEvent_IsZMove(*args
, **kwargs
)
1974 def ButtonDown(*args
, **kwargs
):
1975 """ButtonDown(int but=JOY_BUTTON_ANY) -> bool"""
1976 return _misc
.JoystickEvent_ButtonDown(*args
, **kwargs
)
1978 def ButtonUp(*args
, **kwargs
):
1979 """ButtonUp(int but=JOY_BUTTON_ANY) -> bool"""
1980 return _misc
.JoystickEvent_ButtonUp(*args
, **kwargs
)
1982 def ButtonIsDown(*args
, **kwargs
):
1983 """ButtonIsDown(int but=JOY_BUTTON_ANY) -> bool"""
1984 return _misc
.JoystickEvent_ButtonIsDown(*args
, **kwargs
)
1987 class JoystickEventPtr(JoystickEvent
):
1988 def __init__(self
, this
):
1990 if not hasattr(self
,"thisown"): self
.thisown
= 0
1991 self
.__class
__ = JoystickEvent
1992 _misc
.JoystickEvent_swigregister(JoystickEventPtr
)
1994 EVT_JOY_BUTTON_DOWN
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_DOWN
)
1995 EVT_JOY_BUTTON_UP
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_UP
)
1996 EVT_JOY_MOVE
= wx
.PyEventBinder( wxEVT_JOY_MOVE
)
1997 EVT_JOY_ZMOVE
= wx
.PyEventBinder( wxEVT_JOY_ZMOVE
)
1999 EVT_JOYSTICK_EVENTS
= wx
.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN
,
2000 wxEVT_JOY_BUTTON_UP
,
2006 #---------------------------------------------------------------------------
2011 return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2012 def __init__(self
, *args
, **kwargs
):
2013 """__init__(wxString fileName, bool isResource=False) -> Wave"""
2014 newobj
= _misc
.new_Wave(*args
, **kwargs
)
2015 self
.this
= newobj
.this
2018 def __del__(self
, destroy
=_misc
.delete_Wave
):
2021 if self
.thisown
: destroy(self
)
2024 def IsOk(*args
, **kwargs
):
2025 """IsOk() -> bool"""
2026 return _misc
.Wave_IsOk(*args
, **kwargs
)
2028 def Play(*args
, **kwargs
):
2029 """Play(bool async=True, bool looped=False) -> bool"""
2030 return _misc
.Wave_Play(*args
, **kwargs
)
2032 def __nonzero__(self
): return self
.IsOk()
2034 class WavePtr(Wave
):
2035 def __init__(self
, this
):
2037 if not hasattr(self
,"thisown"): self
.thisown
= 0
2038 self
.__class
__ = Wave
2039 _misc
.Wave_swigregister(WavePtr
)
2041 def WaveData(*args
, **kwargs
):
2042 """WaveData(wxString data) -> Wave"""
2043 val
= _misc
.new_WaveData(*args
, **kwargs
)
2047 #---------------------------------------------------------------------------
2049 MAILCAP_STANDARD
= _misc
.MAILCAP_STANDARD
2050 MAILCAP_NETSCAPE
= _misc
.MAILCAP_NETSCAPE
2051 MAILCAP_KDE
= _misc
.MAILCAP_KDE
2052 MAILCAP_GNOME
= _misc
.MAILCAP_GNOME
2053 MAILCAP_ALL
= _misc
.MAILCAP_ALL
2054 class FileTypeInfo(object):
2057 return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2058 def __init__(self
, *args
, **kwargs
):
2059 """__init__(wxString mimeType, wxString openCmd, wxString printCmd,
2060 wxString desc) -> FileTypeInfo"""
2061 newobj
= _misc
.new_FileTypeInfo(*args
, **kwargs
)
2062 self
.this
= newobj
.this
2065 def IsValid(*args
, **kwargs
):
2066 """IsValid() -> bool"""
2067 return _misc
.FileTypeInfo_IsValid(*args
, **kwargs
)
2069 def SetIcon(*args
, **kwargs
):
2070 """SetIcon(wxString iconFile, int iconIndex=0)"""
2071 return _misc
.FileTypeInfo_SetIcon(*args
, **kwargs
)
2073 def SetShortDesc(*args
, **kwargs
):
2074 """SetShortDesc(wxString shortDesc)"""
2075 return _misc
.FileTypeInfo_SetShortDesc(*args
, **kwargs
)
2077 def GetMimeType(*args
, **kwargs
):
2078 """GetMimeType() -> wxString"""
2079 return _misc
.FileTypeInfo_GetMimeType(*args
, **kwargs
)
2081 def GetOpenCommand(*args
, **kwargs
):
2082 """GetOpenCommand() -> wxString"""
2083 return _misc
.FileTypeInfo_GetOpenCommand(*args
, **kwargs
)
2085 def GetPrintCommand(*args
, **kwargs
):
2086 """GetPrintCommand() -> wxString"""
2087 return _misc
.FileTypeInfo_GetPrintCommand(*args
, **kwargs
)
2089 def GetShortDesc(*args
, **kwargs
):
2090 """GetShortDesc() -> wxString"""
2091 return _misc
.FileTypeInfo_GetShortDesc(*args
, **kwargs
)
2093 def GetDescription(*args
, **kwargs
):
2094 """GetDescription() -> wxString"""
2095 return _misc
.FileTypeInfo_GetDescription(*args
, **kwargs
)
2097 def GetExtensions(*args
, **kwargs
):
2098 """GetExtensions() -> wxArrayString"""
2099 return _misc
.FileTypeInfo_GetExtensions(*args
, **kwargs
)
2101 def GetExtensionsCount(*args
, **kwargs
):
2102 """GetExtensionsCount() -> int"""
2103 return _misc
.FileTypeInfo_GetExtensionsCount(*args
, **kwargs
)
2105 def GetIconFile(*args
, **kwargs
):
2106 """GetIconFile() -> wxString"""
2107 return _misc
.FileTypeInfo_GetIconFile(*args
, **kwargs
)
2109 def GetIconIndex(*args
, **kwargs
):
2110 """GetIconIndex() -> int"""
2111 return _misc
.FileTypeInfo_GetIconIndex(*args
, **kwargs
)
2114 class FileTypeInfoPtr(FileTypeInfo
):
2115 def __init__(self
, this
):
2117 if not hasattr(self
,"thisown"): self
.thisown
= 0
2118 self
.__class
__ = FileTypeInfo
2119 _misc
.FileTypeInfo_swigregister(FileTypeInfoPtr
)
2121 def FileTypeInfoSequence(*args
, **kwargs
):
2122 """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo"""
2123 val
= _misc
.new_FileTypeInfoSequence(*args
, **kwargs
)
2127 def NullFileTypeInfo(*args
, **kwargs
):
2128 """NullFileTypeInfo() -> FileTypeInfo"""
2129 val
= _misc
.new_NullFileTypeInfo(*args
, **kwargs
)
2133 class FileType(object):
2136 return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2137 def __init__(self
, *args
, **kwargs
):
2138 """__init__(FileTypeInfo ftInfo) -> FileType"""
2139 newobj
= _misc
.new_FileType(*args
, **kwargs
)
2140 self
.this
= newobj
.this
2143 def __del__(self
, destroy
=_misc
.delete_FileType
):
2146 if self
.thisown
: destroy(self
)
2149 def GetMimeType(*args
, **kwargs
):
2150 """GetMimeType() -> PyObject"""
2151 return _misc
.FileType_GetMimeType(*args
, **kwargs
)
2153 def GetMimeTypes(*args
, **kwargs
):
2154 """GetMimeTypes() -> PyObject"""
2155 return _misc
.FileType_GetMimeTypes(*args
, **kwargs
)
2157 def GetExtensions(*args
, **kwargs
):
2158 """GetExtensions() -> PyObject"""
2159 return _misc
.FileType_GetExtensions(*args
, **kwargs
)
2161 def GetIcon(*args
, **kwargs
):
2162 """GetIcon() -> wxIcon"""
2163 return _misc
.FileType_GetIcon(*args
, **kwargs
)
2165 def GetIconInfo(*args
, **kwargs
):
2166 """GetIconInfo() -> PyObject"""
2167 return _misc
.FileType_GetIconInfo(*args
, **kwargs
)
2169 def GetDescription(*args
, **kwargs
):
2170 """GetDescription() -> PyObject"""
2171 return _misc
.FileType_GetDescription(*args
, **kwargs
)
2173 def GetOpenCommand(*args
, **kwargs
):
2174 """GetOpenCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject"""
2175 return _misc
.FileType_GetOpenCommand(*args
, **kwargs
)
2177 def GetPrintCommand(*args
, **kwargs
):
2178 """GetPrintCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject"""
2179 return _misc
.FileType_GetPrintCommand(*args
, **kwargs
)
2181 def GetAllCommands(*args
, **kwargs
):
2182 """GetAllCommands(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject"""
2183 return _misc
.FileType_GetAllCommands(*args
, **kwargs
)
2185 def SetCommand(*args
, **kwargs
):
2186 """SetCommand(wxString cmd, wxString verb, bool overwriteprompt=True) -> bool"""
2187 return _misc
.FileType_SetCommand(*args
, **kwargs
)
2189 def SetDefaultIcon(*args
, **kwargs
):
2190 """SetDefaultIcon(wxString cmd=wxPyEmptyString, int index=0) -> bool"""
2191 return _misc
.FileType_SetDefaultIcon(*args
, **kwargs
)
2193 def Unassociate(*args
, **kwargs
):
2194 """Unassociate() -> bool"""
2195 return _misc
.FileType_Unassociate(*args
, **kwargs
)
2197 def ExpandCommand(*args
, **kwargs
):
2198 """FileType.ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString"""
2199 return _misc
.FileType_ExpandCommand(*args
, **kwargs
)
2201 ExpandCommand
= staticmethod(ExpandCommand
)
2203 class FileTypePtr(FileType
):
2204 def __init__(self
, this
):
2206 if not hasattr(self
,"thisown"): self
.thisown
= 0
2207 self
.__class
__ = FileType
2208 _misc
.FileType_swigregister(FileTypePtr
)
2210 def FileType_ExpandCommand(*args
, **kwargs
):
2211 """FileType_ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString"""
2212 return _misc
.FileType_ExpandCommand(*args
, **kwargs
)
2214 class MimeTypesManager(object):
2217 return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2218 def IsOfType(*args
, **kwargs
):
2219 """MimeTypesManager.IsOfType(wxString mimeType, wxString wildcard) -> bool"""
2220 return _misc
.MimeTypesManager_IsOfType(*args
, **kwargs
)
2222 IsOfType
= staticmethod(IsOfType
)
2223 def __init__(self
, *args
, **kwargs
):
2224 """__init__() -> MimeTypesManager"""
2225 newobj
= _misc
.new_MimeTypesManager(*args
, **kwargs
)
2226 self
.this
= newobj
.this
2229 def Initialize(*args
, **kwargs
):
2230 """Initialize(int mailcapStyle=MAILCAP_ALL, wxString extraDir=wxPyEmptyString)"""
2231 return _misc
.MimeTypesManager_Initialize(*args
, **kwargs
)
2233 def ClearData(*args
, **kwargs
):
2235 return _misc
.MimeTypesManager_ClearData(*args
, **kwargs
)
2237 def GetFileTypeFromExtension(*args
, **kwargs
):
2238 """GetFileTypeFromExtension(wxString ext) -> FileType"""
2239 return _misc
.MimeTypesManager_GetFileTypeFromExtension(*args
, **kwargs
)
2241 def GetFileTypeFromMimeType(*args
, **kwargs
):
2242 """GetFileTypeFromMimeType(wxString mimeType) -> FileType"""
2243 return _misc
.MimeTypesManager_GetFileTypeFromMimeType(*args
, **kwargs
)
2245 def ReadMailcap(*args
, **kwargs
):
2246 """ReadMailcap(wxString filename, bool fallback=False) -> bool"""
2247 return _misc
.MimeTypesManager_ReadMailcap(*args
, **kwargs
)
2249 def ReadMimeTypes(*args
, **kwargs
):
2250 """ReadMimeTypes(wxString filename) -> bool"""
2251 return _misc
.MimeTypesManager_ReadMimeTypes(*args
, **kwargs
)
2253 def EnumAllFileTypes(*args
, **kwargs
):
2254 """EnumAllFileTypes() -> PyObject"""
2255 return _misc
.MimeTypesManager_EnumAllFileTypes(*args
, **kwargs
)
2257 def AddFallback(*args
, **kwargs
):
2258 """AddFallback(FileTypeInfo ft)"""
2259 return _misc
.MimeTypesManager_AddFallback(*args
, **kwargs
)
2261 def Associate(*args
, **kwargs
):
2262 """Associate(FileTypeInfo ftInfo) -> FileType"""
2263 return _misc
.MimeTypesManager_Associate(*args
, **kwargs
)
2265 def Unassociate(*args
, **kwargs
):
2266 """Unassociate(FileType ft) -> bool"""
2267 return _misc
.MimeTypesManager_Unassociate(*args
, **kwargs
)
2269 def __del__(self
, destroy
=_misc
.delete_MimeTypesManager
):
2272 if self
.thisown
: destroy(self
)
2276 class MimeTypesManagerPtr(MimeTypesManager
):
2277 def __init__(self
, this
):
2279 if not hasattr(self
,"thisown"): self
.thisown
= 0
2280 self
.__class
__ = MimeTypesManager
2281 _misc
.MimeTypesManager_swigregister(MimeTypesManagerPtr
)
2283 TheMimeTypesManager
= cvar
.TheMimeTypesManager
2285 def MimeTypesManager_IsOfType(*args
, **kwargs
):
2286 """MimeTypesManager_IsOfType(wxString mimeType, wxString wildcard) -> bool"""
2287 return _misc
.MimeTypesManager_IsOfType(*args
, **kwargs
)
2289 #---------------------------------------------------------------------------
2291 class ArtProvider(object):
2294 return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2295 def __init__(self
, *args
, **kwargs
):
2296 """__init__() -> ArtProvider"""
2297 newobj
= _misc
.new_ArtProvider(*args
, **kwargs
)
2298 self
.this
= newobj
.this
2301 self
._setCallbackInfo
(self
, ArtProvider
)
2303 def __del__(self
, destroy
=_misc
.delete_ArtProvider
):
2306 if self
.thisown
: destroy(self
)
2309 def _setCallbackInfo(*args
, **kwargs
):
2310 """_setCallbackInfo(PyObject self, PyObject _class)"""
2311 return _misc
.ArtProvider__setCallbackInfo(*args
, **kwargs
)
2313 def PushProvider(*args
, **kwargs
):
2314 """ArtProvider.PushProvider(ArtProvider provider)"""
2315 return _misc
.ArtProvider_PushProvider(*args
, **kwargs
)
2317 PushProvider
= staticmethod(PushProvider
)
2318 def PopProvider(*args
, **kwargs
):
2319 """ArtProvider.PopProvider() -> bool"""
2320 return _misc
.ArtProvider_PopProvider(*args
, **kwargs
)
2322 PopProvider
= staticmethod(PopProvider
)
2323 def RemoveProvider(*args
, **kwargs
):
2324 """ArtProvider.RemoveProvider(ArtProvider provider) -> bool"""
2325 return _misc
.ArtProvider_RemoveProvider(*args
, **kwargs
)
2327 RemoveProvider
= staticmethod(RemoveProvider
)
2328 def GetBitmap(*args
, **kwargs
):
2329 """ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap"""
2330 return _misc
.ArtProvider_GetBitmap(*args
, **kwargs
)
2332 GetBitmap
= staticmethod(GetBitmap
)
2333 def GetIcon(*args
, **kwargs
):
2334 """ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon"""
2335 return _misc
.ArtProvider_GetIcon(*args
, **kwargs
)
2337 GetIcon
= staticmethod(GetIcon
)
2339 class ArtProviderPtr(ArtProvider
):
2340 def __init__(self
, this
):
2342 if not hasattr(self
,"thisown"): self
.thisown
= 0
2343 self
.__class
__ = ArtProvider
2344 _misc
.ArtProvider_swigregister(ArtProviderPtr
)
2345 ART_TOOLBAR
= cvar
.ART_TOOLBAR
2346 ART_MENU
= cvar
.ART_MENU
2347 ART_FRAME_ICON
= cvar
.ART_FRAME_ICON
2348 ART_CMN_DIALOG
= cvar
.ART_CMN_DIALOG
2349 ART_HELP_BROWSER
= cvar
.ART_HELP_BROWSER
2350 ART_MESSAGE_BOX
= cvar
.ART_MESSAGE_BOX
2351 ART_OTHER
= cvar
.ART_OTHER
2352 ART_ADD_BOOKMARK
= cvar
.ART_ADD_BOOKMARK
2353 ART_DEL_BOOKMARK
= cvar
.ART_DEL_BOOKMARK
2354 ART_HELP_SIDE_PANEL
= cvar
.ART_HELP_SIDE_PANEL
2355 ART_HELP_SETTINGS
= cvar
.ART_HELP_SETTINGS
2356 ART_HELP_BOOK
= cvar
.ART_HELP_BOOK
2357 ART_HELP_FOLDER
= cvar
.ART_HELP_FOLDER
2358 ART_HELP_PAGE
= cvar
.ART_HELP_PAGE
2359 ART_GO_BACK
= cvar
.ART_GO_BACK
2360 ART_GO_FORWARD
= cvar
.ART_GO_FORWARD
2361 ART_GO_UP
= cvar
.ART_GO_UP
2362 ART_GO_DOWN
= cvar
.ART_GO_DOWN
2363 ART_GO_TO_PARENT
= cvar
.ART_GO_TO_PARENT
2364 ART_GO_HOME
= cvar
.ART_GO_HOME
2365 ART_FILE_OPEN
= cvar
.ART_FILE_OPEN
2366 ART_PRINT
= cvar
.ART_PRINT
2367 ART_HELP
= cvar
.ART_HELP
2368 ART_TIP
= cvar
.ART_TIP
2369 ART_REPORT_VIEW
= cvar
.ART_REPORT_VIEW
2370 ART_LIST_VIEW
= cvar
.ART_LIST_VIEW
2371 ART_NEW_DIR
= cvar
.ART_NEW_DIR
2372 ART_FOLDER
= cvar
.ART_FOLDER
2373 ART_GO_DIR_UP
= cvar
.ART_GO_DIR_UP
2374 ART_EXECUTABLE_FILE
= cvar
.ART_EXECUTABLE_FILE
2375 ART_NORMAL_FILE
= cvar
.ART_NORMAL_FILE
2376 ART_TICK_MARK
= cvar
.ART_TICK_MARK
2377 ART_CROSS_MARK
= cvar
.ART_CROSS_MARK
2378 ART_ERROR
= cvar
.ART_ERROR
2379 ART_QUESTION
= cvar
.ART_QUESTION
2380 ART_WARNING
= cvar
.ART_WARNING
2381 ART_INFORMATION
= cvar
.ART_INFORMATION
2382 ART_MISSING_IMAGE
= cvar
.ART_MISSING_IMAGE
2384 def ArtProvider_PushProvider(*args
, **kwargs
):
2385 """ArtProvider_PushProvider(ArtProvider provider)"""
2386 return _misc
.ArtProvider_PushProvider(*args
, **kwargs
)
2388 def ArtProvider_PopProvider(*args
, **kwargs
):
2389 """ArtProvider_PopProvider() -> bool"""
2390 return _misc
.ArtProvider_PopProvider(*args
, **kwargs
)
2392 def ArtProvider_RemoveProvider(*args
, **kwargs
):
2393 """ArtProvider_RemoveProvider(ArtProvider provider) -> bool"""
2394 return _misc
.ArtProvider_RemoveProvider(*args
, **kwargs
)
2396 def ArtProvider_GetBitmap(*args
, **kwargs
):
2397 """ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap"""
2398 return _misc
.ArtProvider_GetBitmap(*args
, **kwargs
)
2400 def ArtProvider_GetIcon(*args
, **kwargs
):
2401 """ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon"""
2402 return _misc
.ArtProvider_GetIcon(*args
, **kwargs
)
2404 #---------------------------------------------------------------------------
2406 CONFIG_USE_LOCAL_FILE
= _misc
.CONFIG_USE_LOCAL_FILE
2407 CONFIG_USE_GLOBAL_FILE
= _misc
.CONFIG_USE_GLOBAL_FILE
2408 CONFIG_USE_RELATIVE_PATH
= _misc
.CONFIG_USE_RELATIVE_PATH
2409 CONFIG_USE_NO_ESCAPE_CHARACTERS
= _misc
.CONFIG_USE_NO_ESCAPE_CHARACTERS
2410 class ConfigBase(object):
2412 def __init__(self
): raise RuntimeError, "No constructor defined"
2414 return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2415 def __del__(self
, destroy
=_misc
.delete_ConfigBase
):
2418 if self
.thisown
: destroy(self
)
2421 Type_Unknown
= _misc
.ConfigBase_Type_Unknown
2422 Type_String
= _misc
.ConfigBase_Type_String
2423 Type_Boolean
= _misc
.ConfigBase_Type_Boolean
2424 Type_Integer
= _misc
.ConfigBase_Type_Integer
2425 Type_Float
= _misc
.ConfigBase_Type_Float
2426 def Set(*args
, **kwargs
):
2427 """ConfigBase.Set(ConfigBase pConfig) -> ConfigBase"""
2428 return _misc
.ConfigBase_Set(*args
, **kwargs
)
2430 Set
= staticmethod(Set
)
2431 def Get(*args
, **kwargs
):
2432 """ConfigBase.Get(bool createOnDemand=True) -> ConfigBase"""
2433 return _misc
.ConfigBase_Get(*args
, **kwargs
)
2435 Get
= staticmethod(Get
)
2436 def Create(*args
, **kwargs
):
2437 """ConfigBase.Create() -> ConfigBase"""
2438 return _misc
.ConfigBase_Create(*args
, **kwargs
)
2440 Create
= staticmethod(Create
)
2441 def DontCreateOnDemand(*args
, **kwargs
):
2442 """ConfigBase.DontCreateOnDemand()"""
2443 return _misc
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
)
2445 DontCreateOnDemand
= staticmethod(DontCreateOnDemand
)
2446 def SetPath(*args
, **kwargs
):
2447 """SetPath(wxString strPath)"""
2448 return _misc
.ConfigBase_SetPath(*args
, **kwargs
)
2450 def GetPath(*args
, **kwargs
):
2451 """GetPath() -> wxString"""
2452 return _misc
.ConfigBase_GetPath(*args
, **kwargs
)
2454 def GetFirstGroup(*args
, **kwargs
):
2455 """GetFirstGroup() -> PyObject"""
2456 return _misc
.ConfigBase_GetFirstGroup(*args
, **kwargs
)
2458 def GetNextGroup(*args
, **kwargs
):
2459 """GetNextGroup(long index) -> PyObject"""
2460 return _misc
.ConfigBase_GetNextGroup(*args
, **kwargs
)
2462 def GetFirstEntry(*args
, **kwargs
):
2463 """GetFirstEntry() -> PyObject"""
2464 return _misc
.ConfigBase_GetFirstEntry(*args
, **kwargs
)
2466 def GetNextEntry(*args
, **kwargs
):
2467 """GetNextEntry(long index) -> PyObject"""
2468 return _misc
.ConfigBase_GetNextEntry(*args
, **kwargs
)
2470 def GetNumberOfEntries(*args
, **kwargs
):
2471 """GetNumberOfEntries(bool bRecursive=False) -> size_t"""
2472 return _misc
.ConfigBase_GetNumberOfEntries(*args
, **kwargs
)
2474 def GetNumberOfGroups(*args
, **kwargs
):
2475 """GetNumberOfGroups(bool bRecursive=False) -> size_t"""
2476 return _misc
.ConfigBase_GetNumberOfGroups(*args
, **kwargs
)
2478 def HasGroup(*args
, **kwargs
):
2479 """HasGroup(wxString strName) -> bool"""
2480 return _misc
.ConfigBase_HasGroup(*args
, **kwargs
)
2482 def HasEntry(*args
, **kwargs
):
2483 """HasEntry(wxString strName) -> bool"""
2484 return _misc
.ConfigBase_HasEntry(*args
, **kwargs
)
2486 def Exists(*args
, **kwargs
):
2487 """Exists(wxString strName) -> bool"""
2488 return _misc
.ConfigBase_Exists(*args
, **kwargs
)
2490 def GetEntryType(*args
, **kwargs
):
2491 """GetEntryType(wxString name) -> wxConfigBase::EntryType"""
2492 return _misc
.ConfigBase_GetEntryType(*args
, **kwargs
)
2494 def Read(*args
, **kwargs
):
2495 """Read(wxString key, wxString defaultVal=wxPyEmptyString) -> wxString"""
2496 return _misc
.ConfigBase_Read(*args
, **kwargs
)
2498 def ReadInt(*args
, **kwargs
):
2499 """ReadInt(wxString key, long defaultVal=0) -> long"""
2500 return _misc
.ConfigBase_ReadInt(*args
, **kwargs
)
2502 def ReadFloat(*args
, **kwargs
):
2503 """ReadFloat(wxString key, double defaultVal=0.0) -> double"""
2504 return _misc
.ConfigBase_ReadFloat(*args
, **kwargs
)
2506 def ReadBool(*args
, **kwargs
):
2507 """ReadBool(wxString key, bool defaultVal=False) -> bool"""
2508 return _misc
.ConfigBase_ReadBool(*args
, **kwargs
)
2510 def Write(*args
, **kwargs
):
2511 """Write(wxString key, wxString value) -> bool"""
2512 return _misc
.ConfigBase_Write(*args
, **kwargs
)
2514 def WriteInt(*args
, **kwargs
):
2515 """WriteInt(wxString key, long value) -> bool"""
2516 return _misc
.ConfigBase_WriteInt(*args
, **kwargs
)
2518 def WriteFloat(*args
, **kwargs
):
2519 """WriteFloat(wxString key, double value) -> bool"""
2520 return _misc
.ConfigBase_WriteFloat(*args
, **kwargs
)
2522 def WriteBool(*args
, **kwargs
):
2523 """WriteBool(wxString key, bool value) -> bool"""
2524 return _misc
.ConfigBase_WriteBool(*args
, **kwargs
)
2526 def Flush(*args
, **kwargs
):
2527 """Flush(bool bCurrentOnly=False) -> bool"""
2528 return _misc
.ConfigBase_Flush(*args
, **kwargs
)
2530 def RenameEntry(*args
, **kwargs
):
2531 """RenameEntry(wxString oldName, wxString newName) -> bool"""
2532 return _misc
.ConfigBase_RenameEntry(*args
, **kwargs
)
2534 def RenameGroup(*args
, **kwargs
):
2535 """RenameGroup(wxString oldName, wxString newName) -> bool"""
2536 return _misc
.ConfigBase_RenameGroup(*args
, **kwargs
)
2538 def DeleteEntry(*args
, **kwargs
):
2539 """DeleteEntry(wxString key, bool bDeleteGroupIfEmpty=True) -> bool"""
2540 return _misc
.ConfigBase_DeleteEntry(*args
, **kwargs
)
2542 def DeleteGroup(*args
, **kwargs
):
2543 """DeleteGroup(wxString key) -> bool"""
2544 return _misc
.ConfigBase_DeleteGroup(*args
, **kwargs
)
2546 def DeleteAll(*args
, **kwargs
):
2547 """DeleteAll() -> bool"""
2548 return _misc
.ConfigBase_DeleteAll(*args
, **kwargs
)
2550 def IsExpandingEnvVars(*args
, **kwargs
):
2551 """IsExpandingEnvVars() -> bool"""
2552 return _misc
.ConfigBase_IsExpandingEnvVars(*args
, **kwargs
)
2554 def SetExpandEnvVars(*args
, **kwargs
):
2555 """SetExpandEnvVars(bool bDoIt=True)"""
2556 return _misc
.ConfigBase_SetExpandEnvVars(*args
, **kwargs
)
2558 def SetRecordDefaults(*args
, **kwargs
):
2559 """SetRecordDefaults(bool bDoIt=True)"""
2560 return _misc
.ConfigBase_SetRecordDefaults(*args
, **kwargs
)
2562 def IsRecordingDefaults(*args
, **kwargs
):
2563 """IsRecordingDefaults() -> bool"""
2564 return _misc
.ConfigBase_IsRecordingDefaults(*args
, **kwargs
)
2566 def ExpandEnvVars(*args
, **kwargs
):
2567 """ExpandEnvVars(wxString str) -> wxString"""
2568 return _misc
.ConfigBase_ExpandEnvVars(*args
, **kwargs
)
2570 def GetAppName(*args
, **kwargs
):
2571 """GetAppName() -> wxString"""
2572 return _misc
.ConfigBase_GetAppName(*args
, **kwargs
)
2574 def GetVendorName(*args
, **kwargs
):
2575 """GetVendorName() -> wxString"""
2576 return _misc
.ConfigBase_GetVendorName(*args
, **kwargs
)
2578 def SetAppName(*args
, **kwargs
):
2579 """SetAppName(wxString appName)"""
2580 return _misc
.ConfigBase_SetAppName(*args
, **kwargs
)
2582 def SetVendorName(*args
, **kwargs
):
2583 """SetVendorName(wxString vendorName)"""
2584 return _misc
.ConfigBase_SetVendorName(*args
, **kwargs
)
2586 def SetStyle(*args
, **kwargs
):
2587 """SetStyle(long style)"""
2588 return _misc
.ConfigBase_SetStyle(*args
, **kwargs
)
2590 def GetStyle(*args
, **kwargs
):
2591 """GetStyle() -> long"""
2592 return _misc
.ConfigBase_GetStyle(*args
, **kwargs
)
2595 class ConfigBasePtr(ConfigBase
):
2596 def __init__(self
, this
):
2598 if not hasattr(self
,"thisown"): self
.thisown
= 0
2599 self
.__class
__ = ConfigBase
2600 _misc
.ConfigBase_swigregister(ConfigBasePtr
)
2602 def ConfigBase_Set(*args
, **kwargs
):
2603 """ConfigBase_Set(ConfigBase pConfig) -> ConfigBase"""
2604 return _misc
.ConfigBase_Set(*args
, **kwargs
)
2606 def ConfigBase_Get(*args
, **kwargs
):
2607 """ConfigBase_Get(bool createOnDemand=True) -> ConfigBase"""
2608 return _misc
.ConfigBase_Get(*args
, **kwargs
)
2610 def ConfigBase_Create(*args
, **kwargs
):
2611 """ConfigBase_Create() -> ConfigBase"""
2612 return _misc
.ConfigBase_Create(*args
, **kwargs
)
2614 def ConfigBase_DontCreateOnDemand(*args
, **kwargs
):
2615 """ConfigBase_DontCreateOnDemand()"""
2616 return _misc
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
)
2618 class ConfigPathChanger(object):
2621 return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2622 def __init__(self
, *args
, **kwargs
):
2623 """__init__(ConfigBase pContainer, wxString strEntry) -> ConfigPathChanger"""
2624 newobj
= _misc
.new_ConfigPathChanger(*args
, **kwargs
)
2625 self
.this
= newobj
.this
2628 def __del__(self
, destroy
=_misc
.delete_ConfigPathChanger
):
2631 if self
.thisown
: destroy(self
)
2634 def Name(*args
, **kwargs
):
2635 """Name() -> wxString"""
2636 return _misc
.ConfigPathChanger_Name(*args
, **kwargs
)
2639 class ConfigPathChangerPtr(ConfigPathChanger
):
2640 def __init__(self
, this
):
2642 if not hasattr(self
,"thisown"): self
.thisown
= 0
2643 self
.__class
__ = ConfigPathChanger
2644 _misc
.ConfigPathChanger_swigregister(ConfigPathChangerPtr
)
2646 class Config(ConfigBase
):
2649 return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2650 def __init__(self
, *args
, **kwargs
):
2651 """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
2652 wxString localFilename=wxPyEmptyString,
2653 wxString globalFilename=wxPyEmptyString,
2654 long style=0) -> Config"""
2655 newobj
= _misc
.new_Config(*args
, **kwargs
)
2656 self
.this
= newobj
.this
2659 def __del__(self
, destroy
=_misc
.delete_Config
):
2662 if self
.thisown
: destroy(self
)
2666 class ConfigPtr(Config
):
2667 def __init__(self
, this
):
2669 if not hasattr(self
,"thisown"): self
.thisown
= 0
2670 self
.__class
__ = Config
2671 _misc
.Config_swigregister(ConfigPtr
)
2673 class FileConfig(ConfigBase
):
2676 return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2677 def __init__(self
, *args
, **kwargs
):
2678 """__init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
2679 wxString localFilename=wxPyEmptyString,
2680 wxString globalFilename=wxPyEmptyString,
2681 long style=0) -> FileConfig"""
2682 newobj
= _misc
.new_FileConfig(*args
, **kwargs
)
2683 self
.this
= newobj
.this
2686 def __del__(self
, destroy
=_misc
.delete_FileConfig
):
2689 if self
.thisown
: destroy(self
)
2693 class FileConfigPtr(FileConfig
):
2694 def __init__(self
, this
):
2696 if not hasattr(self
,"thisown"): self
.thisown
= 0
2697 self
.__class
__ = FileConfig
2698 _misc
.FileConfig_swigregister(FileConfigPtr
)
2701 def ExpandEnvVars(*args
, **kwargs
):
2702 """ExpandEnvVars(wxString sz) -> wxString"""
2703 return _misc
.ExpandEnvVars(*args
, **kwargs
)
2704 #---------------------------------------------------------------------------
2706 class DateTime(object):
2709 return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2710 Local
= _misc
.DateTime_Local
2711 GMT_12
= _misc
.DateTime_GMT_12
2712 GMT_11
= _misc
.DateTime_GMT_11
2713 GMT_10
= _misc
.DateTime_GMT_10
2714 GMT_9
= _misc
.DateTime_GMT_9
2715 GMT_8
= _misc
.DateTime_GMT_8
2716 GMT_7
= _misc
.DateTime_GMT_7
2717 GMT_6
= _misc
.DateTime_GMT_6
2718 GMT_5
= _misc
.DateTime_GMT_5
2719 GMT_4
= _misc
.DateTime_GMT_4
2720 GMT_3
= _misc
.DateTime_GMT_3
2721 GMT_2
= _misc
.DateTime_GMT_2
2722 GMT_1
= _misc
.DateTime_GMT_1
2723 GMT0
= _misc
.DateTime_GMT0
2724 GMT1
= _misc
.DateTime_GMT1
2725 GMT2
= _misc
.DateTime_GMT2
2726 GMT3
= _misc
.DateTime_GMT3
2727 GMT4
= _misc
.DateTime_GMT4
2728 GMT5
= _misc
.DateTime_GMT5
2729 GMT6
= _misc
.DateTime_GMT6
2730 GMT7
= _misc
.DateTime_GMT7
2731 GMT8
= _misc
.DateTime_GMT8
2732 GMT9
= _misc
.DateTime_GMT9
2733 GMT10
= _misc
.DateTime_GMT10
2734 GMT11
= _misc
.DateTime_GMT11
2735 GMT12
= _misc
.DateTime_GMT12
2736 WET
= _misc
.DateTime_WET
2737 WEST
= _misc
.DateTime_WEST
2738 CET
= _misc
.DateTime_CET
2739 CEST
= _misc
.DateTime_CEST
2740 EET
= _misc
.DateTime_EET
2741 EEST
= _misc
.DateTime_EEST
2742 MSK
= _misc
.DateTime_MSK
2743 MSD
= _misc
.DateTime_MSD
2744 AST
= _misc
.DateTime_AST
2745 ADT
= _misc
.DateTime_ADT
2746 EST
= _misc
.DateTime_EST
2747 EDT
= _misc
.DateTime_EDT
2748 CST
= _misc
.DateTime_CST
2749 CDT
= _misc
.DateTime_CDT
2750 MST
= _misc
.DateTime_MST
2751 MDT
= _misc
.DateTime_MDT
2752 PST
= _misc
.DateTime_PST
2753 PDT
= _misc
.DateTime_PDT
2754 HST
= _misc
.DateTime_HST
2755 AKST
= _misc
.DateTime_AKST
2756 AKDT
= _misc
.DateTime_AKDT
2757 A_WST
= _misc
.DateTime_A_WST
2758 A_CST
= _misc
.DateTime_A_CST
2759 A_EST
= _misc
.DateTime_A_EST
2760 A_ESST
= _misc
.DateTime_A_ESST
2761 UTC
= _misc
.DateTime_UTC
2762 Gregorian
= _misc
.DateTime_Gregorian
2763 Julian
= _misc
.DateTime_Julian
2764 Gr_Unknown
= _misc
.DateTime_Gr_Unknown
2765 Gr_Standard
= _misc
.DateTime_Gr_Standard
2766 Gr_Alaska
= _misc
.DateTime_Gr_Alaska
2767 Gr_Albania
= _misc
.DateTime_Gr_Albania
2768 Gr_Austria
= _misc
.DateTime_Gr_Austria
2769 Gr_Austria_Brixen
= _misc
.DateTime_Gr_Austria_Brixen
2770 Gr_Austria_Salzburg
= _misc
.DateTime_Gr_Austria_Salzburg
2771 Gr_Austria_Tyrol
= _misc
.DateTime_Gr_Austria_Tyrol
2772 Gr_Austria_Carinthia
= _misc
.DateTime_Gr_Austria_Carinthia
2773 Gr_Austria_Styria
= _misc
.DateTime_Gr_Austria_Styria
2774 Gr_Belgium
= _misc
.DateTime_Gr_Belgium
2775 Gr_Bulgaria
= _misc
.DateTime_Gr_Bulgaria
2776 Gr_Bulgaria_1
= _misc
.DateTime_Gr_Bulgaria_1
2777 Gr_Bulgaria_2
= _misc
.DateTime_Gr_Bulgaria_2
2778 Gr_Bulgaria_3
= _misc
.DateTime_Gr_Bulgaria_3
2779 Gr_Canada
= _misc
.DateTime_Gr_Canada
2780 Gr_China
= _misc
.DateTime_Gr_China
2781 Gr_China_1
= _misc
.DateTime_Gr_China_1
2782 Gr_China_2
= _misc
.DateTime_Gr_China_2
2783 Gr_Czechoslovakia
= _misc
.DateTime_Gr_Czechoslovakia
2784 Gr_Denmark
= _misc
.DateTime_Gr_Denmark
2785 Gr_Egypt
= _misc
.DateTime_Gr_Egypt
2786 Gr_Estonia
= _misc
.DateTime_Gr_Estonia
2787 Gr_Finland
= _misc
.DateTime_Gr_Finland
2788 Gr_France
= _misc
.DateTime_Gr_France
2789 Gr_France_Alsace
= _misc
.DateTime_Gr_France_Alsace
2790 Gr_France_Lorraine
= _misc
.DateTime_Gr_France_Lorraine
2791 Gr_France_Strasbourg
= _misc
.DateTime_Gr_France_Strasbourg
2792 Gr_Germany
= _misc
.DateTime_Gr_Germany
2793 Gr_Germany_Catholic
= _misc
.DateTime_Gr_Germany_Catholic
2794 Gr_Germany_Prussia
= _misc
.DateTime_Gr_Germany_Prussia
2795 Gr_Germany_Protestant
= _misc
.DateTime_Gr_Germany_Protestant
2796 Gr_GreatBritain
= _misc
.DateTime_Gr_GreatBritain
2797 Gr_Greece
= _misc
.DateTime_Gr_Greece
2798 Gr_Hungary
= _misc
.DateTime_Gr_Hungary
2799 Gr_Ireland
= _misc
.DateTime_Gr_Ireland
2800 Gr_Italy
= _misc
.DateTime_Gr_Italy
2801 Gr_Japan
= _misc
.DateTime_Gr_Japan
2802 Gr_Japan_1
= _misc
.DateTime_Gr_Japan_1
2803 Gr_Japan_2
= _misc
.DateTime_Gr_Japan_2
2804 Gr_Japan_3
= _misc
.DateTime_Gr_Japan_3
2805 Gr_Latvia
= _misc
.DateTime_Gr_Latvia
2806 Gr_Lithuania
= _misc
.DateTime_Gr_Lithuania
2807 Gr_Luxemburg
= _misc
.DateTime_Gr_Luxemburg
2808 Gr_Netherlands
= _misc
.DateTime_Gr_Netherlands
2809 Gr_Netherlands_Groningen
= _misc
.DateTime_Gr_Netherlands_Groningen
2810 Gr_Netherlands_Gelderland
= _misc
.DateTime_Gr_Netherlands_Gelderland
2811 Gr_Netherlands_Utrecht
= _misc
.DateTime_Gr_Netherlands_Utrecht
2812 Gr_Netherlands_Friesland
= _misc
.DateTime_Gr_Netherlands_Friesland
2813 Gr_Norway
= _misc
.DateTime_Gr_Norway
2814 Gr_Poland
= _misc
.DateTime_Gr_Poland
2815 Gr_Portugal
= _misc
.DateTime_Gr_Portugal
2816 Gr_Romania
= _misc
.DateTime_Gr_Romania
2817 Gr_Russia
= _misc
.DateTime_Gr_Russia
2818 Gr_Scotland
= _misc
.DateTime_Gr_Scotland
2819 Gr_Spain
= _misc
.DateTime_Gr_Spain
2820 Gr_Sweden
= _misc
.DateTime_Gr_Sweden
2821 Gr_Switzerland
= _misc
.DateTime_Gr_Switzerland
2822 Gr_Switzerland_Catholic
= _misc
.DateTime_Gr_Switzerland_Catholic
2823 Gr_Switzerland_Protestant
= _misc
.DateTime_Gr_Switzerland_Protestant
2824 Gr_Turkey
= _misc
.DateTime_Gr_Turkey
2825 Gr_USA
= _misc
.DateTime_Gr_USA
2826 Gr_Wales
= _misc
.DateTime_Gr_Wales
2827 Gr_Yugoslavia
= _misc
.DateTime_Gr_Yugoslavia
2828 Country_Unknown
= _misc
.DateTime_Country_Unknown
2829 Country_Default
= _misc
.DateTime_Country_Default
2830 Country_WesternEurope_Start
= _misc
.DateTime_Country_WesternEurope_Start
2831 Country_EEC
= _misc
.DateTime_Country_EEC
2832 France
= _misc
.DateTime_France
2833 Germany
= _misc
.DateTime_Germany
2834 UK
= _misc
.DateTime_UK
2835 Country_WesternEurope_End
= _misc
.DateTime_Country_WesternEurope_End
2836 Russia
= _misc
.DateTime_Russia
2837 USA
= _misc
.DateTime_USA
2838 Jan
= _misc
.DateTime_Jan
2839 Feb
= _misc
.DateTime_Feb
2840 Mar
= _misc
.DateTime_Mar
2841 Apr
= _misc
.DateTime_Apr
2842 May
= _misc
.DateTime_May
2843 Jun
= _misc
.DateTime_Jun
2844 Jul
= _misc
.DateTime_Jul
2845 Aug
= _misc
.DateTime_Aug
2846 Sep
= _misc
.DateTime_Sep
2847 Oct
= _misc
.DateTime_Oct
2848 Nov
= _misc
.DateTime_Nov
2849 Dec
= _misc
.DateTime_Dec
2850 Inv_Month
= _misc
.DateTime_Inv_Month
2851 Sun
= _misc
.DateTime_Sun
2852 Mon
= _misc
.DateTime_Mon
2853 Tue
= _misc
.DateTime_Tue
2854 Wed
= _misc
.DateTime_Wed
2855 Thu
= _misc
.DateTime_Thu
2856 Fri
= _misc
.DateTime_Fri
2857 Sat
= _misc
.DateTime_Sat
2858 Inv_WeekDay
= _misc
.DateTime_Inv_WeekDay
2859 Inv_Year
= _misc
.DateTime_Inv_Year
2860 Name_Full
= _misc
.DateTime_Name_Full
2861 Name_Abbr
= _misc
.DateTime_Name_Abbr
2862 Default_First
= _misc
.DateTime_Default_First
2863 Monday_First
= _misc
.DateTime_Monday_First
2864 Sunday_First
= _misc
.DateTime_Sunday_First
2865 def SetCountry(*args
, **kwargs
):
2866 """DateTime.SetCountry(wxDateTime::Country country)"""
2867 return _misc
.DateTime_SetCountry(*args
, **kwargs
)
2869 SetCountry
= staticmethod(SetCountry
)
2870 def GetCountry(*args
, **kwargs
):
2871 """DateTime.GetCountry() -> wxDateTime::Country"""
2872 return _misc
.DateTime_GetCountry(*args
, **kwargs
)
2874 GetCountry
= staticmethod(GetCountry
)
2875 def IsWestEuropeanCountry(*args
, **kwargs
):
2876 """DateTime.IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool"""
2877 return _misc
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
)
2879 IsWestEuropeanCountry
= staticmethod(IsWestEuropeanCountry
)
2880 def GetCurrentYear(*args
, **kwargs
):
2881 """DateTime.GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int"""
2882 return _misc
.DateTime_GetCurrentYear(*args
, **kwargs
)
2884 GetCurrentYear
= staticmethod(GetCurrentYear
)
2885 def ConvertYearToBC(*args
, **kwargs
):
2886 """DateTime.ConvertYearToBC(int year) -> int"""
2887 return _misc
.DateTime_ConvertYearToBC(*args
, **kwargs
)
2889 ConvertYearToBC
= staticmethod(ConvertYearToBC
)
2890 def GetCurrentMonth(*args
, **kwargs
):
2891 """DateTime.GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month"""
2892 return _misc
.DateTime_GetCurrentMonth(*args
, **kwargs
)
2894 GetCurrentMonth
= staticmethod(GetCurrentMonth
)
2895 def IsLeapYear(*args
, **kwargs
):
2896 """DateTime.IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool"""
2897 return _misc
.DateTime_IsLeapYear(*args
, **kwargs
)
2899 IsLeapYear
= staticmethod(IsLeapYear
)
2900 def GetCentury(*args
, **kwargs
):
2901 """DateTime.GetCentury(int year=Inv_Year) -> int"""
2902 return _misc
.DateTime_GetCentury(*args
, **kwargs
)
2904 GetCentury
= staticmethod(GetCentury
)
2905 def GetNumberOfDaysinYear(*args
, **kwargs
):
2906 """DateTime.GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int"""
2907 return _misc
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
)
2909 GetNumberOfDaysinYear
= staticmethod(GetNumberOfDaysinYear
)
2910 def GetNumberOfDaysInMonth(*args
, **kwargs
):
2911 """DateTime.GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int"""
2912 return _misc
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
)
2914 GetNumberOfDaysInMonth
= staticmethod(GetNumberOfDaysInMonth
)
2915 def GetMonthName(*args
, **kwargs
):
2916 """DateTime.GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
2917 return _misc
.DateTime_GetMonthName(*args
, **kwargs
)
2919 GetMonthName
= staticmethod(GetMonthName
)
2920 def GetWeekDayName(*args
, **kwargs
):
2921 """DateTime.GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
2922 return _misc
.DateTime_GetWeekDayName(*args
, **kwargs
)
2924 GetWeekDayName
= staticmethod(GetWeekDayName
)
2925 def GetAmPmStrings(*args
, **kwargs
):
2926 """GetAmPmStrings() -> (am, pm)
2928 Get the AM and PM strings in the current locale (may be empty)"""
2929 return _misc
.DateTime_GetAmPmStrings(*args
, **kwargs
)
2931 GetAmPmStrings
= staticmethod(GetAmPmStrings
)
2932 def IsDSTApplicable(*args
, **kwargs
):
2933 """DateTime.IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool"""
2934 return _misc
.DateTime_IsDSTApplicable(*args
, **kwargs
)
2936 IsDSTApplicable
= staticmethod(IsDSTApplicable
)
2937 def GetBeginDST(*args
, **kwargs
):
2938 """DateTime.GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
2939 return _misc
.DateTime_GetBeginDST(*args
, **kwargs
)
2941 GetBeginDST
= staticmethod(GetBeginDST
)
2942 def GetEndDST(*args
, **kwargs
):
2943 """DateTime.GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
2944 return _misc
.DateTime_GetEndDST(*args
, **kwargs
)
2946 GetEndDST
= staticmethod(GetEndDST
)
2947 def Now(*args
, **kwargs
):
2948 """DateTime.Now() -> DateTime"""
2949 return _misc
.DateTime_Now(*args
, **kwargs
)
2951 Now
= staticmethod(Now
)
2952 def UNow(*args
, **kwargs
):
2953 """DateTime.UNow() -> DateTime"""
2954 return _misc
.DateTime_UNow(*args
, **kwargs
)
2956 UNow
= staticmethod(UNow
)
2957 def Today(*args
, **kwargs
):
2958 """DateTime.Today() -> DateTime"""
2959 return _misc
.DateTime_Today(*args
, **kwargs
)
2961 Today
= staticmethod(Today
)
2962 def __init__(self
, *args
, **kwargs
):
2963 """__init__() -> DateTime"""
2964 newobj
= _misc
.new_DateTime(*args
, **kwargs
)
2965 self
.this
= newobj
.this
2968 def __del__(self
, destroy
=_misc
.delete_DateTime
):
2971 if self
.thisown
: destroy(self
)
2974 def SetToCurrent(*args
, **kwargs
):
2975 """SetToCurrent() -> DateTime"""
2976 return _misc
.DateTime_SetToCurrent(*args
, **kwargs
)
2978 def SetTimeT(*args
, **kwargs
):
2979 """SetTimeT(time_t timet) -> DateTime"""
2980 return _misc
.DateTime_SetTimeT(*args
, **kwargs
)
2982 def SetJDN(*args
, **kwargs
):
2983 """SetJDN(double jdn) -> DateTime"""
2984 return _misc
.DateTime_SetJDN(*args
, **kwargs
)
2986 def SetHMS(*args
, **kwargs
):
2987 """SetHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
2988 return _misc
.DateTime_SetHMS(*args
, **kwargs
)
2990 def Set(*args
, **kwargs
):
2991 """Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year,
2992 int hour=0, int minute=0, int second=0,
2993 int millisec=0) -> DateTime"""
2994 return _misc
.DateTime_Set(*args
, **kwargs
)
2996 def ResetTime(*args
, **kwargs
):
2997 """ResetTime() -> DateTime"""
2998 return _misc
.DateTime_ResetTime(*args
, **kwargs
)
3000 def SetYear(*args
, **kwargs
):
3001 """SetYear(int year) -> DateTime"""
3002 return _misc
.DateTime_SetYear(*args
, **kwargs
)
3004 def SetMonth(*args
, **kwargs
):
3005 """SetMonth(wxDateTime::Month month) -> DateTime"""
3006 return _misc
.DateTime_SetMonth(*args
, **kwargs
)
3008 def SetDay(*args
, **kwargs
):
3009 """SetDay(int day) -> DateTime"""
3010 return _misc
.DateTime_SetDay(*args
, **kwargs
)
3012 def SetHour(*args
, **kwargs
):
3013 """SetHour(int hour) -> DateTime"""
3014 return _misc
.DateTime_SetHour(*args
, **kwargs
)
3016 def SetMinute(*args
, **kwargs
):
3017 """SetMinute(int minute) -> DateTime"""
3018 return _misc
.DateTime_SetMinute(*args
, **kwargs
)
3020 def SetSecond(*args
, **kwargs
):
3021 """SetSecond(int second) -> DateTime"""
3022 return _misc
.DateTime_SetSecond(*args
, **kwargs
)
3024 def SetMillisecond(*args
, **kwargs
):
3025 """SetMillisecond(int millisecond) -> DateTime"""
3026 return _misc
.DateTime_SetMillisecond(*args
, **kwargs
)
3028 def SetToWeekDayInSameWeek(*args
, **kwargs
):
3029 """SetToWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
3030 return _misc
.DateTime_SetToWeekDayInSameWeek(*args
, **kwargs
)
3032 def GetWeekDayInSameWeek(*args
, **kwargs
):
3033 """GetWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
3034 return _misc
.DateTime_GetWeekDayInSameWeek(*args
, **kwargs
)
3036 def SetToNextWeekDay(*args
, **kwargs
):
3037 """SetToNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3038 return _misc
.DateTime_SetToNextWeekDay(*args
, **kwargs
)
3040 def GetNextWeekDay(*args
, **kwargs
):
3041 """GetNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3042 return _misc
.DateTime_GetNextWeekDay(*args
, **kwargs
)
3044 def SetToPrevWeekDay(*args
, **kwargs
):
3045 """SetToPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3046 return _misc
.DateTime_SetToPrevWeekDay(*args
, **kwargs
)
3048 def GetPrevWeekDay(*args
, **kwargs
):
3049 """GetPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3050 return _misc
.DateTime_GetPrevWeekDay(*args
, **kwargs
)
3052 def SetToWeekDay(*args
, **kwargs
):
3053 """SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month,
3054 int year=Inv_Year) -> bool"""
3055 return _misc
.DateTime_SetToWeekDay(*args
, **kwargs
)
3057 def SetToLastWeekDay(*args
, **kwargs
):
3058 """SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
3059 int year=Inv_Year) -> bool"""
3060 return _misc
.DateTime_SetToLastWeekDay(*args
, **kwargs
)
3062 def GetLastWeekDay(*args
, **kwargs
):
3063 """GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
3064 int year=Inv_Year) -> DateTime"""
3065 return _misc
.DateTime_GetLastWeekDay(*args
, **kwargs
)
3067 def SetToTheWeek(*args
, **kwargs
):
3068 """SetToTheWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> bool"""
3069 return _misc
.DateTime_SetToTheWeek(*args
, **kwargs
)
3071 def GetWeek(*args
, **kwargs
):
3072 """GetWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
3073 return _misc
.DateTime_GetWeek(*args
, **kwargs
)
3075 def SetToLastMonthDay(*args
, **kwargs
):
3076 """SetToLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime"""
3077 return _misc
.DateTime_SetToLastMonthDay(*args
, **kwargs
)
3079 def GetLastMonthDay(*args
, **kwargs
):
3080 """GetLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime"""
3081 return _misc
.DateTime_GetLastMonthDay(*args
, **kwargs
)
3083 def SetToYearDay(*args
, **kwargs
):
3084 """SetToYearDay(int yday) -> DateTime"""
3085 return _misc
.DateTime_SetToYearDay(*args
, **kwargs
)
3087 def GetYearDay(*args
, **kwargs
):
3088 """GetYearDay(int yday) -> DateTime"""
3089 return _misc
.DateTime_GetYearDay(*args
, **kwargs
)
3091 def GetJulianDayNumber(*args
, **kwargs
):
3092 """GetJulianDayNumber() -> double"""
3093 return _misc
.DateTime_GetJulianDayNumber(*args
, **kwargs
)
3095 def GetJDN(*args
, **kwargs
):
3096 """GetJDN() -> double"""
3097 return _misc
.DateTime_GetJDN(*args
, **kwargs
)
3099 def GetModifiedJulianDayNumber(*args
, **kwargs
):
3100 """GetModifiedJulianDayNumber() -> double"""
3101 return _misc
.DateTime_GetModifiedJulianDayNumber(*args
, **kwargs
)
3103 def GetMJD(*args
, **kwargs
):
3104 """GetMJD() -> double"""
3105 return _misc
.DateTime_GetMJD(*args
, **kwargs
)
3107 def GetRataDie(*args
, **kwargs
):
3108 """GetRataDie() -> double"""
3109 return _misc
.DateTime_GetRataDie(*args
, **kwargs
)
3111 def ToTimezone(*args
, **kwargs
):
3112 """ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
3113 return _misc
.DateTime_ToTimezone(*args
, **kwargs
)
3115 def MakeTimezone(*args
, **kwargs
):
3116 """MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
3117 return _misc
.DateTime_MakeTimezone(*args
, **kwargs
)
3119 def ToGMT(*args
, **kwargs
):
3120 """ToGMT(bool noDST=False) -> DateTime"""
3121 return _misc
.DateTime_ToGMT(*args
, **kwargs
)
3123 def MakeGMT(*args
, **kwargs
):
3124 """MakeGMT(bool noDST=False) -> DateTime"""
3125 return _misc
.DateTime_MakeGMT(*args
, **kwargs
)
3127 def IsDST(*args
, **kwargs
):
3128 """IsDST(wxDateTime::Country country=Country_Default) -> int"""
3129 return _misc
.DateTime_IsDST(*args
, **kwargs
)
3131 def IsValid(*args
, **kwargs
):
3132 """IsValid() -> bool"""
3133 return _misc
.DateTime_IsValid(*args
, **kwargs
)
3135 def GetTicks(*args
, **kwargs
):
3136 """GetTicks() -> time_t"""
3137 return _misc
.DateTime_GetTicks(*args
, **kwargs
)
3139 def GetYear(*args
, **kwargs
):
3140 """GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3141 return _misc
.DateTime_GetYear(*args
, **kwargs
)
3143 def GetMonth(*args
, **kwargs
):
3144 """GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::Month"""
3145 return _misc
.DateTime_GetMonth(*args
, **kwargs
)
3147 def GetDay(*args
, **kwargs
):
3148 """GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3149 return _misc
.DateTime_GetDay(*args
, **kwargs
)
3151 def GetWeekDay(*args
, **kwargs
):
3152 """GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::WeekDay"""
3153 return _misc
.DateTime_GetWeekDay(*args
, **kwargs
)
3155 def GetHour(*args
, **kwargs
):
3156 """GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3157 return _misc
.DateTime_GetHour(*args
, **kwargs
)
3159 def GetMinute(*args
, **kwargs
):
3160 """GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3161 return _misc
.DateTime_GetMinute(*args
, **kwargs
)
3163 def GetSecond(*args
, **kwargs
):
3164 """GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3165 return _misc
.DateTime_GetSecond(*args
, **kwargs
)
3167 def GetMillisecond(*args
, **kwargs
):
3168 """GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3169 return _misc
.DateTime_GetMillisecond(*args
, **kwargs
)
3171 def GetDayOfYear(*args
, **kwargs
):
3172 """GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3173 return _misc
.DateTime_GetDayOfYear(*args
, **kwargs
)
3175 def GetWeekOfYear(*args
, **kwargs
):
3176 """GetWeekOfYear(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3177 return _misc
.DateTime_GetWeekOfYear(*args
, **kwargs
)
3179 def GetWeekOfMonth(*args
, **kwargs
):
3180 """GetWeekOfMonth(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3181 return _misc
.DateTime_GetWeekOfMonth(*args
, **kwargs
)
3183 def IsWorkDay(*args
, **kwargs
):
3184 """IsWorkDay(wxDateTime::Country country=Country_Default) -> bool"""
3185 return _misc
.DateTime_IsWorkDay(*args
, **kwargs
)
3187 def IsEqualTo(*args
, **kwargs
):
3188 """IsEqualTo(DateTime datetime) -> bool"""
3189 return _misc
.DateTime_IsEqualTo(*args
, **kwargs
)
3191 def IsEarlierThan(*args
, **kwargs
):
3192 """IsEarlierThan(DateTime datetime) -> bool"""
3193 return _misc
.DateTime_IsEarlierThan(*args
, **kwargs
)
3195 def IsLaterThan(*args
, **kwargs
):
3196 """IsLaterThan(DateTime datetime) -> bool"""
3197 return _misc
.DateTime_IsLaterThan(*args
, **kwargs
)
3199 def IsStrictlyBetween(*args
, **kwargs
):
3200 """IsStrictlyBetween(DateTime t1, DateTime t2) -> bool"""
3201 return _misc
.DateTime_IsStrictlyBetween(*args
, **kwargs
)
3203 def IsBetween(*args
, **kwargs
):
3204 """IsBetween(DateTime t1, DateTime t2) -> bool"""
3205 return _misc
.DateTime_IsBetween(*args
, **kwargs
)
3207 def IsSameDate(*args
, **kwargs
):
3208 """IsSameDate(DateTime dt) -> bool"""
3209 return _misc
.DateTime_IsSameDate(*args
, **kwargs
)
3211 def IsSameTime(*args
, **kwargs
):
3212 """IsSameTime(DateTime dt) -> bool"""
3213 return _misc
.DateTime_IsSameTime(*args
, **kwargs
)
3215 def IsEqualUpTo(*args
, **kwargs
):
3216 """IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool"""
3217 return _misc
.DateTime_IsEqualUpTo(*args
, **kwargs
)
3219 def AddTS(*args
, **kwargs
):
3220 """AddTS(TimeSpan diff) -> DateTime"""
3221 return _misc
.DateTime_AddTS(*args
, **kwargs
)
3223 def AddDS(*args
, **kwargs
):
3224 """AddDS(DateSpan diff) -> DateTime"""
3225 return _misc
.DateTime_AddDS(*args
, **kwargs
)
3227 def SubtractTS(*args
, **kwargs
):
3228 """SubtractTS(TimeSpan diff) -> DateTime"""
3229 return _misc
.DateTime_SubtractTS(*args
, **kwargs
)
3231 def SubtractDS(*args
, **kwargs
):
3232 """SubtractDS(DateSpan diff) -> DateTime"""
3233 return _misc
.DateTime_SubtractDS(*args
, **kwargs
)
3235 def Subtract(*args
, **kwargs
):
3236 """Subtract(DateTime dt) -> TimeSpan"""
3237 return _misc
.DateTime_Subtract(*args
, **kwargs
)
3239 def __iadd__(*args
):
3240 """__iadd__(TimeSpan diff) -> DateTime
3241 __iadd__(DateSpan diff) -> DateTime"""
3242 return _misc
.DateTime___iadd__(*args
)
3244 def __isub__(*args
):
3245 """__isub__(TimeSpan diff) -> DateTime
3246 __isub__(DateSpan diff) -> DateTime"""
3247 return _misc
.DateTime___isub__(*args
)
3250 """__add__(TimeSpan other) -> DateTime
3251 __add__(DateSpan other) -> DateTime"""
3252 return _misc
.DateTime___add__(*args
)
3255 """__sub__(DateTime other) -> TimeSpan
3256 __sub__(TimeSpan other) -> DateTime
3257 __sub__(DateSpan other) -> DateTime"""
3258 return _misc
.DateTime___sub__(*args
)
3261 """__lt__(DateTime other) -> bool"""
3262 return _misc
.DateTime___lt__(*args
)
3265 """__le__(DateTime other) -> bool"""
3266 return _misc
.DateTime___le__(*args
)
3269 """__gt__(DateTime other) -> bool"""
3270 return _misc
.DateTime___gt__(*args
)
3273 """__ge__(DateTime other) -> bool"""
3274 return _misc
.DateTime___ge__(*args
)
3277 """__eq__(DateTime other) -> bool"""
3278 return _misc
.DateTime___eq__(*args
)
3281 """__ne__(DateTime other) -> bool"""
3282 return _misc
.DateTime___ne__(*args
)
3284 def ParseRfc822Date(*args
, **kwargs
):
3285 """ParseRfc822Date(wxString date) -> int"""
3286 return _misc
.DateTime_ParseRfc822Date(*args
, **kwargs
)
3288 def ParseFormat(*args
, **kwargs
):
3289 """ParseFormat(wxString date, wxString format=wxPyDateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int"""
3290 return _misc
.DateTime_ParseFormat(*args
, **kwargs
)
3292 def ParseDateTime(*args
, **kwargs
):
3293 """ParseDateTime(wxString datetime) -> int"""
3294 return _misc
.DateTime_ParseDateTime(*args
, **kwargs
)
3296 def ParseDate(*args
, **kwargs
):
3297 """ParseDate(wxString date) -> int"""
3298 return _misc
.DateTime_ParseDate(*args
, **kwargs
)
3300 def ParseTime(*args
, **kwargs
):
3301 """ParseTime(wxString time) -> int"""
3302 return _misc
.DateTime_ParseTime(*args
, **kwargs
)
3304 def Format(*args
, **kwargs
):
3305 """Format(wxString format=wxPyDateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxString"""
3306 return _misc
.DateTime_Format(*args
, **kwargs
)
3308 def FormatDate(*args
, **kwargs
):
3309 """FormatDate() -> wxString"""
3310 return _misc
.DateTime_FormatDate(*args
, **kwargs
)
3312 def FormatTime(*args
, **kwargs
):
3313 """FormatTime() -> wxString"""
3314 return _misc
.DateTime_FormatTime(*args
, **kwargs
)
3316 def FormatISODate(*args
, **kwargs
):
3317 """FormatISODate() -> wxString"""
3318 return _misc
.DateTime_FormatISODate(*args
, **kwargs
)
3320 def FormatISOTime(*args
, **kwargs
):
3321 """FormatISOTime() -> wxString"""
3322 return _misc
.DateTime_FormatISOTime(*args
, **kwargs
)
3325 return '<wxDateTime: \"%s\" at %s>' % ( self
.Format(), self
.this
)
3327 return self
.Format()
3330 class DateTimePtr(DateTime
):
3331 def __init__(self
, this
):
3333 if not hasattr(self
,"thisown"): self
.thisown
= 0
3334 self
.__class
__ = DateTime
3335 _misc
.DateTime_swigregister(DateTimePtr
)
3337 def DateTime_SetCountry(*args
, **kwargs
):
3338 """DateTime_SetCountry(wxDateTime::Country country)"""
3339 return _misc
.DateTime_SetCountry(*args
, **kwargs
)
3341 def DateTime_GetCountry(*args
, **kwargs
):
3342 """DateTime_GetCountry() -> wxDateTime::Country"""
3343 return _misc
.DateTime_GetCountry(*args
, **kwargs
)
3345 def DateTime_IsWestEuropeanCountry(*args
, **kwargs
):
3346 """DateTime_IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool"""
3347 return _misc
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
)
3349 def DateTime_GetCurrentYear(*args
, **kwargs
):
3350 """DateTime_GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int"""
3351 return _misc
.DateTime_GetCurrentYear(*args
, **kwargs
)
3353 def DateTime_ConvertYearToBC(*args
, **kwargs
):
3354 """DateTime_ConvertYearToBC(int year) -> int"""
3355 return _misc
.DateTime_ConvertYearToBC(*args
, **kwargs
)
3357 def DateTime_GetCurrentMonth(*args
, **kwargs
):
3358 """DateTime_GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month"""
3359 return _misc
.DateTime_GetCurrentMonth(*args
, **kwargs
)
3361 def DateTime_IsLeapYear(*args
, **kwargs
):
3362 """DateTime_IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool"""
3363 return _misc
.DateTime_IsLeapYear(*args
, **kwargs
)
3365 def DateTime_GetCentury(*args
, **kwargs
):
3366 """DateTime_GetCentury(int year=Inv_Year) -> int"""
3367 return _misc
.DateTime_GetCentury(*args
, **kwargs
)
3369 def DateTime_GetNumberOfDaysinYear(*args
, **kwargs
):
3370 """DateTime_GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int"""
3371 return _misc
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
)
3373 def DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
):
3374 """DateTime_GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int"""
3375 return _misc
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
)
3377 def DateTime_GetMonthName(*args
, **kwargs
):
3378 """DateTime_GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
3379 return _misc
.DateTime_GetMonthName(*args
, **kwargs
)
3381 def DateTime_GetWeekDayName(*args
, **kwargs
):
3382 """DateTime_GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
3383 return _misc
.DateTime_GetWeekDayName(*args
, **kwargs
)
3385 def DateTime_GetAmPmStrings(*args
, **kwargs
):
3386 """GetAmPmStrings() -> (am, pm)
3388 Get the AM and PM strings in the current locale (may be empty)"""
3389 return _misc
.DateTime_GetAmPmStrings(*args
, **kwargs
)
3391 def DateTime_IsDSTApplicable(*args
, **kwargs
):
3392 """DateTime_IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool"""
3393 return _misc
.DateTime_IsDSTApplicable(*args
, **kwargs
)
3395 def DateTime_GetBeginDST(*args
, **kwargs
):
3396 """DateTime_GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
3397 return _misc
.DateTime_GetBeginDST(*args
, **kwargs
)
3399 def DateTime_GetEndDST(*args
, **kwargs
):
3400 """DateTime_GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
3401 return _misc
.DateTime_GetEndDST(*args
, **kwargs
)
3403 def DateTime_Now(*args
, **kwargs
):
3404 """DateTime_Now() -> DateTime"""
3405 return _misc
.DateTime_Now(*args
, **kwargs
)
3407 def DateTime_UNow(*args
, **kwargs
):
3408 """DateTime_UNow() -> DateTime"""
3409 return _misc
.DateTime_UNow(*args
, **kwargs
)
3411 def DateTime_Today(*args
, **kwargs
):
3412 """DateTime_Today() -> DateTime"""
3413 return _misc
.DateTime_Today(*args
, **kwargs
)
3415 def DateTimeFromTimeT(*args
, **kwargs
):
3416 """DateTimeFromTimeT(time_t timet) -> DateTime"""
3417 val
= _misc
.new_DateTimeFromTimeT(*args
, **kwargs
)
3421 def DateTimeFromJDN(*args
, **kwargs
):
3422 """DateTimeFromJDN(double jdn) -> DateTime"""
3423 val
= _misc
.new_DateTimeFromJDN(*args
, **kwargs
)
3427 def DateTimeFromHMS(*args
, **kwargs
):
3428 """DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
3429 val
= _misc
.new_DateTimeFromHMS(*args
, **kwargs
)
3433 def DateTimeFromDMY(*args
, **kwargs
):
3434 """DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year,
3435 int hour=0, int minute=0, int second=0,
3436 int millisec=0) -> DateTime"""
3437 val
= _misc
.new_DateTimeFromDMY(*args
, **kwargs
)
3441 class TimeSpan(object):
3444 return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3445 def Seconds(*args
, **kwargs
):
3446 """TimeSpan.Seconds(long sec) -> TimeSpan"""
3447 return _misc
.TimeSpan_Seconds(*args
, **kwargs
)
3449 Seconds
= staticmethod(Seconds
)
3450 def Second(*args
, **kwargs
):
3451 """TimeSpan.Second() -> TimeSpan"""
3452 return _misc
.TimeSpan_Second(*args
, **kwargs
)
3454 Second
= staticmethod(Second
)
3455 def Minutes(*args
, **kwargs
):
3456 """TimeSpan.Minutes(long min) -> TimeSpan"""
3457 return _misc
.TimeSpan_Minutes(*args
, **kwargs
)
3459 Minutes
= staticmethod(Minutes
)
3460 def Minute(*args
, **kwargs
):
3461 """TimeSpan.Minute() -> TimeSpan"""
3462 return _misc
.TimeSpan_Minute(*args
, **kwargs
)
3464 Minute
= staticmethod(Minute
)
3465 def Hours(*args
, **kwargs
):
3466 """TimeSpan.Hours(long hours) -> TimeSpan"""
3467 return _misc
.TimeSpan_Hours(*args
, **kwargs
)
3469 Hours
= staticmethod(Hours
)
3470 def Hour(*args
, **kwargs
):
3471 """TimeSpan.Hour() -> TimeSpan"""
3472 return _misc
.TimeSpan_Hour(*args
, **kwargs
)
3474 Hour
= staticmethod(Hour
)
3475 def Days(*args
, **kwargs
):
3476 """TimeSpan.Days(long days) -> TimeSpan"""
3477 return _misc
.TimeSpan_Days(*args
, **kwargs
)
3479 Days
= staticmethod(Days
)
3480 def Day(*args
, **kwargs
):
3481 """TimeSpan.Day() -> TimeSpan"""
3482 return _misc
.TimeSpan_Day(*args
, **kwargs
)
3484 Day
= staticmethod(Day
)
3485 def Weeks(*args
, **kwargs
):
3486 """TimeSpan.Weeks(long days) -> TimeSpan"""
3487 return _misc
.TimeSpan_Weeks(*args
, **kwargs
)
3489 Weeks
= staticmethod(Weeks
)
3490 def Week(*args
, **kwargs
):
3491 """TimeSpan.Week() -> TimeSpan"""
3492 return _misc
.TimeSpan_Week(*args
, **kwargs
)
3494 Week
= staticmethod(Week
)
3495 def __init__(self
, *args
, **kwargs
):
3496 """__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan"""
3497 newobj
= _misc
.new_TimeSpan(*args
, **kwargs
)
3498 self
.this
= newobj
.this
3501 def __del__(self
, destroy
=_misc
.delete_TimeSpan
):
3504 if self
.thisown
: destroy(self
)
3507 def Add(*args
, **kwargs
):
3508 """Add(TimeSpan diff) -> TimeSpan"""
3509 return _misc
.TimeSpan_Add(*args
, **kwargs
)
3511 def Subtract(*args
, **kwargs
):
3512 """Subtract(TimeSpan diff) -> TimeSpan"""
3513 return _misc
.TimeSpan_Subtract(*args
, **kwargs
)
3515 def Multiply(*args
, **kwargs
):
3516 """Multiply(int n) -> TimeSpan"""
3517 return _misc
.TimeSpan_Multiply(*args
, **kwargs
)
3519 def Neg(*args
, **kwargs
):
3520 """Neg() -> TimeSpan"""
3521 return _misc
.TimeSpan_Neg(*args
, **kwargs
)
3523 def Abs(*args
, **kwargs
):
3524 """Abs() -> TimeSpan"""
3525 return _misc
.TimeSpan_Abs(*args
, **kwargs
)
3527 def __iadd__(*args
, **kwargs
):
3528 """__iadd__(TimeSpan diff) -> TimeSpan"""
3529 return _misc
.TimeSpan___iadd__(*args
, **kwargs
)
3531 def __isub__(*args
, **kwargs
):
3532 """__isub__(TimeSpan diff) -> TimeSpan"""
3533 return _misc
.TimeSpan___isub__(*args
, **kwargs
)
3535 def __imul__(*args
, **kwargs
):
3536 """__imul__(int n) -> TimeSpan"""
3537 return _misc
.TimeSpan___imul__(*args
, **kwargs
)
3539 def __neg__(*args
, **kwargs
):
3540 """__neg__() -> TimeSpan"""
3541 return _misc
.TimeSpan___neg__(*args
, **kwargs
)
3543 def __add__(*args
, **kwargs
):
3544 """__add__(TimeSpan other) -> TimeSpan"""
3545 return _misc
.TimeSpan___add__(*args
, **kwargs
)
3547 def __sub__(*args
, **kwargs
):
3548 """__sub__(TimeSpan other) -> TimeSpan"""
3549 return _misc
.TimeSpan___sub__(*args
, **kwargs
)
3551 def __mul__(*args
, **kwargs
):
3552 """__mul__(int n) -> TimeSpan"""
3553 return _misc
.TimeSpan___mul__(*args
, **kwargs
)
3555 def __rmul__(*args
, **kwargs
):
3556 """__rmul__(int n) -> TimeSpan"""
3557 return _misc
.TimeSpan___rmul__(*args
, **kwargs
)
3559 def __lt__(*args
, **kwargs
):
3560 """__lt__(TimeSpan other) -> bool"""
3561 return _misc
.TimeSpan___lt__(*args
, **kwargs
)
3563 def __le__(*args
, **kwargs
):
3564 """__le__(TimeSpan other) -> bool"""
3565 return _misc
.TimeSpan___le__(*args
, **kwargs
)
3567 def __gt__(*args
, **kwargs
):
3568 """__gt__(TimeSpan other) -> bool"""
3569 return _misc
.TimeSpan___gt__(*args
, **kwargs
)
3571 def __ge__(*args
, **kwargs
):
3572 """__ge__(TimeSpan other) -> bool"""
3573 return _misc
.TimeSpan___ge__(*args
, **kwargs
)
3575 def __eq__(*args
, **kwargs
):
3576 """__eq__(TimeSpan other) -> bool"""
3577 return _misc
.TimeSpan___eq__(*args
, **kwargs
)
3579 def __ne__(*args
, **kwargs
):
3580 """__ne__(TimeSpan other) -> bool"""
3581 return _misc
.TimeSpan___ne__(*args
, **kwargs
)
3583 def IsNull(*args
, **kwargs
):
3584 """IsNull() -> bool"""
3585 return _misc
.TimeSpan_IsNull(*args
, **kwargs
)
3587 def IsPositive(*args
, **kwargs
):
3588 """IsPositive() -> bool"""
3589 return _misc
.TimeSpan_IsPositive(*args
, **kwargs
)
3591 def IsNegative(*args
, **kwargs
):
3592 """IsNegative() -> bool"""
3593 return _misc
.TimeSpan_IsNegative(*args
, **kwargs
)
3595 def IsEqualTo(*args
, **kwargs
):
3596 """IsEqualTo(TimeSpan ts) -> bool"""
3597 return _misc
.TimeSpan_IsEqualTo(*args
, **kwargs
)
3599 def IsLongerThan(*args
, **kwargs
):
3600 """IsLongerThan(TimeSpan ts) -> bool"""
3601 return _misc
.TimeSpan_IsLongerThan(*args
, **kwargs
)
3603 def IsShorterThan(*args
, **kwargs
):
3604 """IsShorterThan(TimeSpan t) -> bool"""
3605 return _misc
.TimeSpan_IsShorterThan(*args
, **kwargs
)
3607 def GetWeeks(*args
, **kwargs
):
3608 """GetWeeks() -> int"""
3609 return _misc
.TimeSpan_GetWeeks(*args
, **kwargs
)
3611 def GetDays(*args
, **kwargs
):
3612 """GetDays() -> int"""
3613 return _misc
.TimeSpan_GetDays(*args
, **kwargs
)
3615 def GetHours(*args
, **kwargs
):
3616 """GetHours() -> int"""
3617 return _misc
.TimeSpan_GetHours(*args
, **kwargs
)
3619 def GetMinutes(*args
, **kwargs
):
3620 """GetMinutes() -> int"""
3621 return _misc
.TimeSpan_GetMinutes(*args
, **kwargs
)
3623 def GetSeconds(*args
, **kwargs
):
3624 """GetSeconds() -> wxLongLong"""
3625 return _misc
.TimeSpan_GetSeconds(*args
, **kwargs
)
3627 def GetMilliseconds(*args
, **kwargs
):
3628 """GetMilliseconds() -> wxLongLong"""
3629 return _misc
.TimeSpan_GetMilliseconds(*args
, **kwargs
)
3631 def Format(*args
, **kwargs
):
3632 """Format(wxString format=wxPyTimeSpanFormatStr) -> wxString"""
3633 return _misc
.TimeSpan_Format(*args
, **kwargs
)
3636 return '<wxTimeSpan: \"%s\" at %s>' % ( self
.Format(), self
.this
)
3638 return self
.Format()
3641 class TimeSpanPtr(TimeSpan
):
3642 def __init__(self
, this
):
3644 if not hasattr(self
,"thisown"): self
.thisown
= 0
3645 self
.__class
__ = TimeSpan
3646 _misc
.TimeSpan_swigregister(TimeSpanPtr
)
3648 def TimeSpan_Seconds(*args
, **kwargs
):
3649 """TimeSpan_Seconds(long sec) -> TimeSpan"""
3650 return _misc
.TimeSpan_Seconds(*args
, **kwargs
)
3652 def TimeSpan_Second(*args
, **kwargs
):
3653 """TimeSpan_Second() -> TimeSpan"""
3654 return _misc
.TimeSpan_Second(*args
, **kwargs
)
3656 def TimeSpan_Minutes(*args
, **kwargs
):
3657 """TimeSpan_Minutes(long min) -> TimeSpan"""
3658 return _misc
.TimeSpan_Minutes(*args
, **kwargs
)
3660 def TimeSpan_Minute(*args
, **kwargs
):
3661 """TimeSpan_Minute() -> TimeSpan"""
3662 return _misc
.TimeSpan_Minute(*args
, **kwargs
)
3664 def TimeSpan_Hours(*args
, **kwargs
):
3665 """TimeSpan_Hours(long hours) -> TimeSpan"""
3666 return _misc
.TimeSpan_Hours(*args
, **kwargs
)
3668 def TimeSpan_Hour(*args
, **kwargs
):
3669 """TimeSpan_Hour() -> TimeSpan"""
3670 return _misc
.TimeSpan_Hour(*args
, **kwargs
)
3672 def TimeSpan_Days(*args
, **kwargs
):
3673 """TimeSpan_Days(long days) -> TimeSpan"""
3674 return _misc
.TimeSpan_Days(*args
, **kwargs
)
3676 def TimeSpan_Day(*args
, **kwargs
):
3677 """TimeSpan_Day() -> TimeSpan"""
3678 return _misc
.TimeSpan_Day(*args
, **kwargs
)
3680 def TimeSpan_Weeks(*args
, **kwargs
):
3681 """TimeSpan_Weeks(long days) -> TimeSpan"""
3682 return _misc
.TimeSpan_Weeks(*args
, **kwargs
)
3684 def TimeSpan_Week(*args
, **kwargs
):
3685 """TimeSpan_Week() -> TimeSpan"""
3686 return _misc
.TimeSpan_Week(*args
, **kwargs
)
3688 class DateSpan(object):
3691 return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3692 def __init__(self
, *args
, **kwargs
):
3693 """__init__(int years=0, int months=0, int weeks=0, int days=0) -> DateSpan"""
3694 newobj
= _misc
.new_DateSpan(*args
, **kwargs
)
3695 self
.this
= newobj
.this
3698 def __del__(self
, destroy
=_misc
.delete_DateSpan
):
3701 if self
.thisown
: destroy(self
)
3704 def Days(*args
, **kwargs
):
3705 """DateSpan.Days(int days) -> DateSpan"""
3706 return _misc
.DateSpan_Days(*args
, **kwargs
)
3708 Days
= staticmethod(Days
)
3709 def Day(*args
, **kwargs
):
3710 """DateSpan.Day() -> DateSpan"""
3711 return _misc
.DateSpan_Day(*args
, **kwargs
)
3713 Day
= staticmethod(Day
)
3714 def Weeks(*args
, **kwargs
):
3715 """DateSpan.Weeks(int weeks) -> DateSpan"""
3716 return _misc
.DateSpan_Weeks(*args
, **kwargs
)
3718 Weeks
= staticmethod(Weeks
)
3719 def Week(*args
, **kwargs
):
3720 """DateSpan.Week() -> DateSpan"""
3721 return _misc
.DateSpan_Week(*args
, **kwargs
)
3723 Week
= staticmethod(Week
)
3724 def Months(*args
, **kwargs
):
3725 """DateSpan.Months(int mon) -> DateSpan"""
3726 return _misc
.DateSpan_Months(*args
, **kwargs
)
3728 Months
= staticmethod(Months
)
3729 def Month(*args
, **kwargs
):
3730 """DateSpan.Month() -> DateSpan"""
3731 return _misc
.DateSpan_Month(*args
, **kwargs
)
3733 Month
= staticmethod(Month
)
3734 def Years(*args
, **kwargs
):
3735 """DateSpan.Years(int years) -> DateSpan"""
3736 return _misc
.DateSpan_Years(*args
, **kwargs
)
3738 Years
= staticmethod(Years
)
3739 def Year(*args
, **kwargs
):
3740 """DateSpan.Year() -> DateSpan"""
3741 return _misc
.DateSpan_Year(*args
, **kwargs
)
3743 Year
= staticmethod(Year
)
3744 def SetYears(*args
, **kwargs
):
3745 """SetYears(int n) -> DateSpan"""
3746 return _misc
.DateSpan_SetYears(*args
, **kwargs
)
3748 def SetMonths(*args
, **kwargs
):
3749 """SetMonths(int n) -> DateSpan"""
3750 return _misc
.DateSpan_SetMonths(*args
, **kwargs
)
3752 def SetWeeks(*args
, **kwargs
):
3753 """SetWeeks(int n) -> DateSpan"""
3754 return _misc
.DateSpan_SetWeeks(*args
, **kwargs
)
3756 def SetDays(*args
, **kwargs
):
3757 """SetDays(int n) -> DateSpan"""
3758 return _misc
.DateSpan_SetDays(*args
, **kwargs
)
3760 def GetYears(*args
, **kwargs
):
3761 """GetYears() -> int"""
3762 return _misc
.DateSpan_GetYears(*args
, **kwargs
)
3764 def GetMonths(*args
, **kwargs
):
3765 """GetMonths() -> int"""
3766 return _misc
.DateSpan_GetMonths(*args
, **kwargs
)
3768 def GetWeeks(*args
, **kwargs
):
3769 """GetWeeks() -> int"""
3770 return _misc
.DateSpan_GetWeeks(*args
, **kwargs
)
3772 def GetDays(*args
, **kwargs
):
3773 """GetDays() -> int"""
3774 return _misc
.DateSpan_GetDays(*args
, **kwargs
)
3776 def GetTotalDays(*args
, **kwargs
):
3777 """GetTotalDays() -> int"""
3778 return _misc
.DateSpan_GetTotalDays(*args
, **kwargs
)
3780 def Add(*args
, **kwargs
):
3781 """Add(DateSpan other) -> DateSpan"""
3782 return _misc
.DateSpan_Add(*args
, **kwargs
)
3784 def Subtract(*args
, **kwargs
):
3785 """Subtract(DateSpan other) -> DateSpan"""
3786 return _misc
.DateSpan_Subtract(*args
, **kwargs
)
3788 def Neg(*args
, **kwargs
):
3789 """Neg() -> DateSpan"""
3790 return _misc
.DateSpan_Neg(*args
, **kwargs
)
3792 def Multiply(*args
, **kwargs
):
3793 """Multiply(int factor) -> DateSpan"""
3794 return _misc
.DateSpan_Multiply(*args
, **kwargs
)
3796 def __iadd__(*args
, **kwargs
):
3797 """__iadd__(DateSpan other) -> DateSpan"""
3798 return _misc
.DateSpan___iadd__(*args
, **kwargs
)
3800 def __isub__(*args
, **kwargs
):
3801 """__isub__(DateSpan other) -> DateSpan"""
3802 return _misc
.DateSpan___isub__(*args
, **kwargs
)
3804 def __neg__(*args
, **kwargs
):
3805 """__neg__() -> DateSpan"""
3806 return _misc
.DateSpan___neg__(*args
, **kwargs
)
3808 def __imul__(*args
, **kwargs
):
3809 """__imul__(int factor) -> DateSpan"""
3810 return _misc
.DateSpan___imul__(*args
, **kwargs
)
3812 def __add__(*args
, **kwargs
):
3813 """__add__(DateSpan other) -> DateSpan"""
3814 return _misc
.DateSpan___add__(*args
, **kwargs
)
3816 def __sub__(*args
, **kwargs
):
3817 """__sub__(DateSpan other) -> DateSpan"""
3818 return _misc
.DateSpan___sub__(*args
, **kwargs
)
3820 def __mul__(*args
, **kwargs
):
3821 """__mul__(int n) -> DateSpan"""
3822 return _misc
.DateSpan___mul__(*args
, **kwargs
)
3824 def __rmul__(*args
, **kwargs
):
3825 """__rmul__(int n) -> DateSpan"""
3826 return _misc
.DateSpan___rmul__(*args
, **kwargs
)
3828 def __eq__(*args
, **kwargs
):
3829 """__eq__(DateSpan other) -> bool"""
3830 return _misc
.DateSpan___eq__(*args
, **kwargs
)
3832 def __ne__(*args
, **kwargs
):
3833 """__ne__(DateSpan other) -> bool"""
3834 return _misc
.DateSpan___ne__(*args
, **kwargs
)
3837 class DateSpanPtr(DateSpan
):
3838 def __init__(self
, this
):
3840 if not hasattr(self
,"thisown"): self
.thisown
= 0
3841 self
.__class
__ = DateSpan
3842 _misc
.DateSpan_swigregister(DateSpanPtr
)
3844 def DateSpan_Days(*args
, **kwargs
):
3845 """DateSpan_Days(int days) -> DateSpan"""
3846 return _misc
.DateSpan_Days(*args
, **kwargs
)
3848 def DateSpan_Day(*args
, **kwargs
):
3849 """DateSpan_Day() -> DateSpan"""
3850 return _misc
.DateSpan_Day(*args
, **kwargs
)
3852 def DateSpan_Weeks(*args
, **kwargs
):
3853 """DateSpan_Weeks(int weeks) -> DateSpan"""
3854 return _misc
.DateSpan_Weeks(*args
, **kwargs
)
3856 def DateSpan_Week(*args
, **kwargs
):
3857 """DateSpan_Week() -> DateSpan"""
3858 return _misc
.DateSpan_Week(*args
, **kwargs
)
3860 def DateSpan_Months(*args
, **kwargs
):
3861 """DateSpan_Months(int mon) -> DateSpan"""
3862 return _misc
.DateSpan_Months(*args
, **kwargs
)
3864 def DateSpan_Month(*args
, **kwargs
):
3865 """DateSpan_Month() -> DateSpan"""
3866 return _misc
.DateSpan_Month(*args
, **kwargs
)
3868 def DateSpan_Years(*args
, **kwargs
):
3869 """DateSpan_Years(int years) -> DateSpan"""
3870 return _misc
.DateSpan_Years(*args
, **kwargs
)
3872 def DateSpan_Year(*args
, **kwargs
):
3873 """DateSpan_Year() -> DateSpan"""
3874 return _misc
.DateSpan_Year(*args
, **kwargs
)
3877 def GetLocalTime(*args
, **kwargs
):
3878 """GetLocalTime() -> long"""
3879 return _misc
.GetLocalTime(*args
, **kwargs
)
3881 def GetUTCTime(*args
, **kwargs
):
3882 """GetUTCTime() -> long"""
3883 return _misc
.GetUTCTime(*args
, **kwargs
)
3885 def GetCurrentTime(*args
, **kwargs
):
3886 """GetCurrentTime() -> long"""
3887 return _misc
.GetCurrentTime(*args
, **kwargs
)
3889 def GetLocalTimeMillis(*args
, **kwargs
):
3890 """GetLocalTimeMillis() -> wxLongLong"""
3891 return _misc
.GetLocalTimeMillis(*args
, **kwargs
)
3892 #---------------------------------------------------------------------------
3894 DF_INVALID
= _misc
.DF_INVALID
3895 DF_TEXT
= _misc
.DF_TEXT
3896 DF_BITMAP
= _misc
.DF_BITMAP
3897 DF_METAFILE
= _misc
.DF_METAFILE
3898 DF_SYLK
= _misc
.DF_SYLK
3899 DF_DIF
= _misc
.DF_DIF
3900 DF_TIFF
= _misc
.DF_TIFF
3901 DF_OEMTEXT
= _misc
.DF_OEMTEXT
3902 DF_DIB
= _misc
.DF_DIB
3903 DF_PALETTE
= _misc
.DF_PALETTE
3904 DF_PENDATA
= _misc
.DF_PENDATA
3905 DF_RIFF
= _misc
.DF_RIFF
3906 DF_WAVE
= _misc
.DF_WAVE
3907 DF_UNICODETEXT
= _misc
.DF_UNICODETEXT
3908 DF_ENHMETAFILE
= _misc
.DF_ENHMETAFILE
3909 DF_FILENAME
= _misc
.DF_FILENAME
3910 DF_LOCALE
= _misc
.DF_LOCALE
3911 DF_PRIVATE
= _misc
.DF_PRIVATE
3912 DF_HTML
= _misc
.DF_HTML
3913 DF_MAX
= _misc
.DF_MAX
3914 class DataFormat(object):
3917 return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3918 def __init__(self
, *args
, **kwargs
):
3919 """__init__(wxDataFormatId type) -> DataFormat"""
3920 newobj
= _misc
.new_DataFormat(*args
, **kwargs
)
3921 self
.this
= newobj
.this
3924 def __del__(self
, destroy
=_misc
.delete_DataFormat
):
3927 if self
.thisown
: destroy(self
)
3931 """__eq__(wxDataFormatId format) -> bool
3932 __eq__(DataFormat format) -> bool"""
3933 return _misc
.DataFormat___eq__(*args
)
3936 """__ne__(wxDataFormatId format) -> bool
3937 __ne__(DataFormat format) -> bool"""
3938 return _misc
.DataFormat___ne__(*args
)
3940 def SetType(*args
, **kwargs
):
3941 """SetType(wxDataFormatId format)"""
3942 return _misc
.DataFormat_SetType(*args
, **kwargs
)
3944 def GetType(*args
, **kwargs
):
3945 """GetType() -> wxDataFormatId"""
3946 return _misc
.DataFormat_GetType(*args
, **kwargs
)
3948 def GetId(*args
, **kwargs
):
3949 """GetId() -> wxString"""
3950 return _misc
.DataFormat_GetId(*args
, **kwargs
)
3952 def SetId(*args
, **kwargs
):
3953 """SetId(wxString format)"""
3954 return _misc
.DataFormat_SetId(*args
, **kwargs
)
3957 class DataFormatPtr(DataFormat
):
3958 def __init__(self
, this
):
3960 if not hasattr(self
,"thisown"): self
.thisown
= 0
3961 self
.__class
__ = DataFormat
3962 _misc
.DataFormat_swigregister(DataFormatPtr
)
3964 def CustomDataFormat(*args
, **kwargs
):
3965 """CustomDataFormat(wxString format) -> DataFormat"""
3966 val
= _misc
.new_CustomDataFormat(*args
, **kwargs
)
3970 class DataObject(object):
3972 def __init__(self
): raise RuntimeError, "No constructor defined"
3974 return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3975 Get
= _misc
.DataObject_Get
3976 Set
= _misc
.DataObject_Set
3977 Both
= _misc
.DataObject_Both
3978 def __del__(self
, destroy
=_misc
.delete_DataObject
):
3981 if self
.thisown
: destroy(self
)
3984 def GetPreferredFormat(*args
, **kwargs
):
3985 """GetPreferredFormat(wxDataObject::Direction dir=Get) -> DataFormat"""
3986 return _misc
.DataObject_GetPreferredFormat(*args
, **kwargs
)
3988 def GetFormatCount(*args
, **kwargs
):
3989 """GetFormatCount(wxDataObject::Direction dir=Get) -> size_t"""
3990 return _misc
.DataObject_GetFormatCount(*args
, **kwargs
)
3992 def IsSupported(*args
, **kwargs
):
3993 """IsSupported(DataFormat format, wxDataObject::Direction dir=Get) -> bool"""
3994 return _misc
.DataObject_IsSupported(*args
, **kwargs
)
3996 def GetDataSize(*args
, **kwargs
):
3997 """GetDataSize(DataFormat format) -> size_t"""
3998 return _misc
.DataObject_GetDataSize(*args
, **kwargs
)
4000 def GetAllFormats(*args
, **kwargs
):
4001 """GetAllFormats(DataFormat formats, wxDataObject::Direction dir=Get)"""
4002 return _misc
.DataObject_GetAllFormats(*args
, **kwargs
)
4004 def GetDataHere(*args
, **kwargs
):
4005 """GetDataHere(DataFormat format, void buf) -> bool"""
4006 return _misc
.DataObject_GetDataHere(*args
, **kwargs
)
4008 def SetData(*args
, **kwargs
):
4009 """SetData(DataFormat format, size_t len, void buf) -> bool"""
4010 return _misc
.DataObject_SetData(*args
, **kwargs
)
4013 class DataObjectPtr(DataObject
):
4014 def __init__(self
, this
):
4016 if not hasattr(self
,"thisown"): self
.thisown
= 0
4017 self
.__class
__ = DataObject
4018 _misc
.DataObject_swigregister(DataObjectPtr
)
4019 FormatInvalid
= cvar
.FormatInvalid
4021 class DataObjectSimple(DataObject
):
4024 return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4025 def __init__(self
, *args
, **kwargs
):
4026 """__init__(DataFormat format=FormatInvalid) -> DataObjectSimple"""
4027 newobj
= _misc
.new_DataObjectSimple(*args
, **kwargs
)
4028 self
.this
= newobj
.this
4031 def GetFormat(*args
, **kwargs
):
4032 """GetFormat() -> DataFormat"""
4033 return _misc
.DataObjectSimple_GetFormat(*args
, **kwargs
)
4035 def SetFormat(*args
, **kwargs
):
4036 """SetFormat(DataFormat format)"""
4037 return _misc
.DataObjectSimple_SetFormat(*args
, **kwargs
)
4040 class DataObjectSimplePtr(DataObjectSimple
):
4041 def __init__(self
, this
):
4043 if not hasattr(self
,"thisown"): self
.thisown
= 0
4044 self
.__class
__ = DataObjectSimple
4045 _misc
.DataObjectSimple_swigregister(DataObjectSimplePtr
)
4047 class PyDataObjectSimple(DataObjectSimple
):
4050 return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4051 def __init__(self
, *args
, **kwargs
):
4052 """__init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple"""
4053 newobj
= _misc
.new_PyDataObjectSimple(*args
, **kwargs
)
4054 self
.this
= newobj
.this
4057 self
._setCallbackInfo
(self
, PyDataObjectSimple
)
4059 def _setCallbackInfo(*args
, **kwargs
):
4060 """_setCallbackInfo(PyObject self, PyObject _class)"""
4061 return _misc
.PyDataObjectSimple__setCallbackInfo(*args
, **kwargs
)
4064 class PyDataObjectSimplePtr(PyDataObjectSimple
):
4065 def __init__(self
, this
):
4067 if not hasattr(self
,"thisown"): self
.thisown
= 0
4068 self
.__class
__ = PyDataObjectSimple
4069 _misc
.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr
)
4071 class DataObjectComposite(DataObject
):
4074 return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4075 def __init__(self
, *args
, **kwargs
):
4076 """__init__() -> DataObjectComposite"""
4077 newobj
= _misc
.new_DataObjectComposite(*args
, **kwargs
)
4078 self
.this
= newobj
.this
4081 def Add(*args
, **kwargs
):
4082 """Add(DataObjectSimple dataObject, int preferred=False)"""
4083 val
= _misc
.DataObjectComposite_Add(*args
, **kwargs
)
4088 class DataObjectCompositePtr(DataObjectComposite
):
4089 def __init__(self
, this
):
4091 if not hasattr(self
,"thisown"): self
.thisown
= 0
4092 self
.__class
__ = DataObjectComposite
4093 _misc
.DataObjectComposite_swigregister(DataObjectCompositePtr
)
4095 class TextDataObject(DataObjectSimple
):
4098 return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4099 def __init__(self
, *args
, **kwargs
):
4100 """__init__(wxString text=wxPyEmptyString) -> TextDataObject"""
4101 newobj
= _misc
.new_TextDataObject(*args
, **kwargs
)
4102 self
.this
= newobj
.this
4105 def GetTextLength(*args
, **kwargs
):
4106 """GetTextLength() -> size_t"""
4107 return _misc
.TextDataObject_GetTextLength(*args
, **kwargs
)
4109 def GetText(*args
, **kwargs
):
4110 """GetText() -> wxString"""
4111 return _misc
.TextDataObject_GetText(*args
, **kwargs
)
4113 def SetText(*args
, **kwargs
):
4114 """SetText(wxString text)"""
4115 return _misc
.TextDataObject_SetText(*args
, **kwargs
)
4118 class TextDataObjectPtr(TextDataObject
):
4119 def __init__(self
, this
):
4121 if not hasattr(self
,"thisown"): self
.thisown
= 0
4122 self
.__class
__ = TextDataObject
4123 _misc
.TextDataObject_swigregister(TextDataObjectPtr
)
4125 class PyTextDataObject(TextDataObject
):
4128 return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4129 def __init__(self
, *args
, **kwargs
):
4130 """__init__(wxString text=wxPyEmptyString) -> PyTextDataObject"""
4131 newobj
= _misc
.new_PyTextDataObject(*args
, **kwargs
)
4132 self
.this
= newobj
.this
4135 self
._setCallbackInfo
(self
, PyTextDataObject
)
4137 def _setCallbackInfo(*args
, **kwargs
):
4138 """_setCallbackInfo(PyObject self, PyObject _class)"""
4139 return _misc
.PyTextDataObject__setCallbackInfo(*args
, **kwargs
)
4142 class PyTextDataObjectPtr(PyTextDataObject
):
4143 def __init__(self
, this
):
4145 if not hasattr(self
,"thisown"): self
.thisown
= 0
4146 self
.__class
__ = PyTextDataObject
4147 _misc
.PyTextDataObject_swigregister(PyTextDataObjectPtr
)
4149 class BitmapDataObject(DataObjectSimple
):
4152 return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4153 def __init__(self
, *args
, **kwargs
):
4154 """__init__(wxBitmap bitmap=wxNullBitmap) -> BitmapDataObject"""
4155 newobj
= _misc
.new_BitmapDataObject(*args
, **kwargs
)
4156 self
.this
= newobj
.this
4159 def GetBitmap(*args
, **kwargs
):
4160 """GetBitmap() -> wxBitmap"""
4161 return _misc
.BitmapDataObject_GetBitmap(*args
, **kwargs
)
4163 def SetBitmap(*args
, **kwargs
):
4164 """SetBitmap(wxBitmap bitmap)"""
4165 return _misc
.BitmapDataObject_SetBitmap(*args
, **kwargs
)
4168 class BitmapDataObjectPtr(BitmapDataObject
):
4169 def __init__(self
, this
):
4171 if not hasattr(self
,"thisown"): self
.thisown
= 0
4172 self
.__class
__ = BitmapDataObject
4173 _misc
.BitmapDataObject_swigregister(BitmapDataObjectPtr
)
4175 class PyBitmapDataObject(BitmapDataObject
):
4178 return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4179 def __init__(self
, *args
, **kwargs
):
4180 """__init__(wxBitmap bitmap=wxNullBitmap) -> PyBitmapDataObject"""
4181 newobj
= _misc
.new_PyBitmapDataObject(*args
, **kwargs
)
4182 self
.this
= newobj
.this
4185 self
._setCallbackInfo
(self
, PyBitmapDataObject
)
4187 def _setCallbackInfo(*args
, **kwargs
):
4188 """_setCallbackInfo(PyObject self, PyObject _class)"""
4189 return _misc
.PyBitmapDataObject__setCallbackInfo(*args
, **kwargs
)
4192 class PyBitmapDataObjectPtr(PyBitmapDataObject
):
4193 def __init__(self
, this
):
4195 if not hasattr(self
,"thisown"): self
.thisown
= 0
4196 self
.__class
__ = PyBitmapDataObject
4197 _misc
.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr
)
4199 class FileDataObject(DataObjectSimple
):
4202 return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4203 def __init__(self
, *args
, **kwargs
):
4204 """__init__() -> FileDataObject"""
4205 newobj
= _misc
.new_FileDataObject(*args
, **kwargs
)
4206 self
.this
= newobj
.this
4209 def GetFilenames(*args
, **kwargs
):
4210 """GetFilenames() -> wxArrayString"""
4211 return _misc
.FileDataObject_GetFilenames(*args
, **kwargs
)
4214 class FileDataObjectPtr(FileDataObject
):
4215 def __init__(self
, this
):
4217 if not hasattr(self
,"thisown"): self
.thisown
= 0
4218 self
.__class
__ = FileDataObject
4219 _misc
.FileDataObject_swigregister(FileDataObjectPtr
)
4221 class CustomDataObject(DataObjectSimple
):
4224 return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4225 def __init__(self
, *args
, **kwargs
):
4226 """__init__(DataFormat format=FormatInvalid) -> CustomDataObject"""
4227 newobj
= _misc
.new_CustomDataObject(*args
, **kwargs
)
4228 self
.this
= newobj
.this
4231 def TakeData(*args
, **kwargs
):
4232 """TakeData(PyObject data)"""
4233 return _misc
.CustomDataObject_TakeData(*args
, **kwargs
)
4235 def SetData(*args
, **kwargs
):
4236 """SetData(PyObject data) -> bool"""
4237 return _misc
.CustomDataObject_SetData(*args
, **kwargs
)
4239 def GetSize(*args
, **kwargs
):
4240 """GetSize() -> size_t"""
4241 return _misc
.CustomDataObject_GetSize(*args
, **kwargs
)
4243 def GetData(*args
, **kwargs
):
4244 """GetData() -> PyObject"""
4245 return _misc
.CustomDataObject_GetData(*args
, **kwargs
)
4248 class CustomDataObjectPtr(CustomDataObject
):
4249 def __init__(self
, this
):
4251 if not hasattr(self
,"thisown"): self
.thisown
= 0
4252 self
.__class
__ = CustomDataObject
4253 _misc
.CustomDataObject_swigregister(CustomDataObjectPtr
)
4255 class URLDataObject(DataObjectComposite
):
4258 return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4259 def __init__(self
, *args
, **kwargs
):
4260 """__init__() -> URLDataObject"""
4261 newobj
= _misc
.new_URLDataObject(*args
, **kwargs
)
4262 self
.this
= newobj
.this
4265 def GetURL(*args
, **kwargs
):
4266 """GetURL() -> wxString"""
4267 return _misc
.URLDataObject_GetURL(*args
, **kwargs
)
4269 def SetURL(*args
, **kwargs
):
4270 """SetURL(wxString url)"""
4271 return _misc
.URLDataObject_SetURL(*args
, **kwargs
)
4274 class URLDataObjectPtr(URLDataObject
):
4275 def __init__(self
, this
):
4277 if not hasattr(self
,"thisown"): self
.thisown
= 0
4278 self
.__class
__ = URLDataObject
4279 _misc
.URLDataObject_swigregister(URLDataObjectPtr
)
4281 class MetafileDataObject(DataObjectSimple
):
4284 return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4285 def __init__(self
, *args
, **kwargs
):
4286 """__init__() -> MetafileDataObject"""
4287 newobj
= _misc
.new_MetafileDataObject(*args
, **kwargs
)
4288 self
.this
= newobj
.this
4292 class MetafileDataObjectPtr(MetafileDataObject
):
4293 def __init__(self
, this
):
4295 if not hasattr(self
,"thisown"): self
.thisown
= 0
4296 self
.__class
__ = MetafileDataObject
4297 _misc
.MetafileDataObject_swigregister(MetafileDataObjectPtr
)
4299 #---------------------------------------------------------------------------
4301 Drag_CopyOnly
= _misc
.Drag_CopyOnly
4302 Drag_AllowMove
= _misc
.Drag_AllowMove
4303 Drag_DefaultMove
= _misc
.Drag_DefaultMove
4304 DragError
= _misc
.DragError
4305 DragNone
= _misc
.DragNone
4306 DragCopy
= _misc
.DragCopy
4307 DragMove
= _misc
.DragMove
4308 DragLink
= _misc
.DragLink
4309 DragCancel
= _misc
.DragCancel
4311 def IsDragResultOk(*args
, **kwargs
):
4312 """IsDragResultOk(wxDragResult res) -> bool"""
4313 return _misc
.IsDragResultOk(*args
, **kwargs
)
4314 class DropSource(object):
4317 return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4318 def __init__(self
, *args
, **kwargs
):
4319 """__init__(Window win=None, wxIcon copy=wxNullIcon, wxIcon move=wxNullIcon,
4320 wxIcon none=wxNullIcon) -> DropSource"""
4321 newobj
= _misc
.new_DropSource(*args
, **kwargs
)
4322 self
.this
= newobj
.this
4325 def _setCallbackInfo(*args
, **kwargs
):
4326 """_setCallbackInfo(PyObject self, PyObject _class, int incref)"""
4327 return _misc
.DropSource__setCallbackInfo(*args
, **kwargs
)
4329 def __del__(self
, destroy
=_misc
.delete_DropSource
):
4332 if self
.thisown
: destroy(self
)
4335 def SetData(*args
, **kwargs
):
4336 """SetData(DataObject data)"""
4337 return _misc
.DropSource_SetData(*args
, **kwargs
)
4339 def GetDataObject(*args
, **kwargs
):
4340 """GetDataObject() -> DataObject"""
4341 return _misc
.DropSource_GetDataObject(*args
, **kwargs
)
4343 def SetCursor(*args
, **kwargs
):
4344 """SetCursor(wxDragResult res, wxCursor cursor)"""
4345 return _misc
.DropSource_SetCursor(*args
, **kwargs
)
4347 def DoDragDrop(*args
, **kwargs
):
4348 """DoDragDrop(int flags=Drag_CopyOnly) -> wxDragResult"""
4349 return _misc
.DropSource_DoDragDrop(*args
, **kwargs
)
4351 def base_GiveFeedback(*args
, **kwargs
):
4352 """base_GiveFeedback(wxDragResult effect) -> bool"""
4353 return _misc
.DropSource_base_GiveFeedback(*args
, **kwargs
)
4356 class DropSourcePtr(DropSource
):
4357 def __init__(self
, this
):
4359 if not hasattr(self
,"thisown"): self
.thisown
= 0
4360 self
.__class
__ = DropSource
4361 _misc
.DropSource_swigregister(DropSourcePtr
)
4363 class DropTarget(object):
4366 return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4367 def __init__(self
, *args
, **kwargs
):
4368 """__init__(DataObject dataObject=None) -> DropTarget"""
4369 newobj
= _misc
.new_DropTarget(*args
, **kwargs
)
4370 self
.this
= newobj
.this
4373 if args
: args
[1].thisown
= 0; self
._setCallbackInfo
(self
, DropTarget
)
4375 def _setCallbackInfo(*args
, **kwargs
):
4376 """_setCallbackInfo(PyObject self, PyObject _class)"""
4377 return _misc
.DropTarget__setCallbackInfo(*args
, **kwargs
)
4379 def __del__(self
, destroy
=_misc
.delete_DropTarget
):
4382 if self
.thisown
: destroy(self
)
4385 def GetDataObject(*args
, **kwargs
):
4386 """GetDataObject() -> DataObject"""
4387 return _misc
.DropTarget_GetDataObject(*args
, **kwargs
)
4389 def SetDataObject(*args
, **kwargs
):
4390 """SetDataObject(DataObject dataObject)"""
4391 val
= _misc
.DropTarget_SetDataObject(*args
, **kwargs
)
4395 def base_OnEnter(*args
, **kwargs
):
4396 """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult"""
4397 return _misc
.DropTarget_base_OnEnter(*args
, **kwargs
)
4399 def base_OnDragOver(*args
, **kwargs
):
4400 """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult"""
4401 return _misc
.DropTarget_base_OnDragOver(*args
, **kwargs
)
4403 def base_OnLeave(*args
, **kwargs
):
4404 """base_OnLeave()"""
4405 return _misc
.DropTarget_base_OnLeave(*args
, **kwargs
)
4407 def base_OnDrop(*args
, **kwargs
):
4408 """base_OnDrop(int x, int y) -> bool"""
4409 return _misc
.DropTarget_base_OnDrop(*args
, **kwargs
)
4411 def GetData(*args
, **kwargs
):
4412 """GetData() -> bool"""
4413 return _misc
.DropTarget_GetData(*args
, **kwargs
)
4416 class DropTargetPtr(DropTarget
):
4417 def __init__(self
, this
):
4419 if not hasattr(self
,"thisown"): self
.thisown
= 0
4420 self
.__class
__ = DropTarget
4421 _misc
.DropTarget_swigregister(DropTargetPtr
)
4423 PyDropTarget
= DropTarget
4424 class TextDropTarget(DropTarget
):
4427 return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4428 def __init__(self
, *args
, **kwargs
):
4429 """__init__() -> TextDropTarget"""
4430 newobj
= _misc
.new_TextDropTarget(*args
, **kwargs
)
4431 self
.this
= newobj
.this
4434 self
._setCallbackInfo
(self
, TextDropTarget
)
4436 def _setCallbackInfo(*args
, **kwargs
):
4437 """_setCallbackInfo(PyObject self, PyObject _class)"""
4438 return _misc
.TextDropTarget__setCallbackInfo(*args
, **kwargs
)
4440 def base_OnEnter(*args
, **kwargs
):
4441 """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult"""
4442 return _misc
.TextDropTarget_base_OnEnter(*args
, **kwargs
)
4444 def base_OnDragOver(*args
, **kwargs
):
4445 """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult"""
4446 return _misc
.TextDropTarget_base_OnDragOver(*args
, **kwargs
)
4448 def base_OnLeave(*args
, **kwargs
):
4449 """base_OnLeave()"""
4450 return _misc
.TextDropTarget_base_OnLeave(*args
, **kwargs
)
4452 def base_OnDrop(*args
, **kwargs
):
4453 """base_OnDrop(int x, int y) -> bool"""
4454 return _misc
.TextDropTarget_base_OnDrop(*args
, **kwargs
)
4456 def base_OnData(*args
, **kwargs
):
4457 """base_OnData(int x, int y, wxDragResult def) -> wxDragResult"""
4458 return _misc
.TextDropTarget_base_OnData(*args
, **kwargs
)
4461 class TextDropTargetPtr(TextDropTarget
):
4462 def __init__(self
, this
):
4464 if not hasattr(self
,"thisown"): self
.thisown
= 0
4465 self
.__class
__ = TextDropTarget
4466 _misc
.TextDropTarget_swigregister(TextDropTargetPtr
)
4468 class FileDropTarget(DropTarget
):
4471 return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4472 def __init__(self
, *args
, **kwargs
):
4473 """__init__() -> FileDropTarget"""
4474 newobj
= _misc
.new_FileDropTarget(*args
, **kwargs
)
4475 self
.this
= newobj
.this
4478 self
._setCallbackInfo
(self
, FileDropTarget
)
4480 def _setCallbackInfo(*args
, **kwargs
):
4481 """_setCallbackInfo(PyObject self, PyObject _class)"""
4482 return _misc
.FileDropTarget__setCallbackInfo(*args
, **kwargs
)
4484 def base_OnEnter(*args
, **kwargs
):
4485 """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult"""
4486 return _misc
.FileDropTarget_base_OnEnter(*args
, **kwargs
)
4488 def base_OnDragOver(*args
, **kwargs
):
4489 """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult"""
4490 return _misc
.FileDropTarget_base_OnDragOver(*args
, **kwargs
)
4492 def base_OnLeave(*args
, **kwargs
):
4493 """base_OnLeave()"""
4494 return _misc
.FileDropTarget_base_OnLeave(*args
, **kwargs
)
4496 def base_OnDrop(*args
, **kwargs
):
4497 """base_OnDrop(int x, int y) -> bool"""
4498 return _misc
.FileDropTarget_base_OnDrop(*args
, **kwargs
)
4500 def base_OnData(*args
, **kwargs
):
4501 """base_OnData(int x, int y, wxDragResult def) -> wxDragResult"""
4502 return _misc
.FileDropTarget_base_OnData(*args
, **kwargs
)
4505 class FileDropTargetPtr(FileDropTarget
):
4506 def __init__(self
, this
):
4508 if not hasattr(self
,"thisown"): self
.thisown
= 0
4509 self
.__class
__ = FileDropTarget
4510 _misc
.FileDropTarget_swigregister(FileDropTargetPtr
)
4512 #---------------------------------------------------------------------------
4514 class Clipboard(core
.Object
):
4517 return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4518 def __init__(self
, *args
, **kwargs
):
4519 """__init__() -> Clipboard"""
4520 newobj
= _misc
.new_Clipboard(*args
, **kwargs
)
4521 self
.this
= newobj
.this
4524 def __del__(self
, destroy
=_misc
.delete_Clipboard
):
4527 if self
.thisown
: destroy(self
)
4530 def Open(*args
, **kwargs
):
4531 """Open() -> bool"""
4532 return _misc
.Clipboard_Open(*args
, **kwargs
)
4534 def Close(*args
, **kwargs
):
4536 return _misc
.Clipboard_Close(*args
, **kwargs
)
4538 def IsOpened(*args
, **kwargs
):
4539 """IsOpened() -> bool"""
4540 return _misc
.Clipboard_IsOpened(*args
, **kwargs
)
4542 def AddData(*args
, **kwargs
):
4543 """AddData(DataObject data) -> bool"""
4544 return _misc
.Clipboard_AddData(*args
, **kwargs
)
4546 def SetData(*args
, **kwargs
):
4547 """SetData(DataObject data) -> bool"""
4548 return _misc
.Clipboard_SetData(*args
, **kwargs
)
4550 def IsSupported(*args
, **kwargs
):
4551 """IsSupported(DataFormat format) -> bool"""
4552 return _misc
.Clipboard_IsSupported(*args
, **kwargs
)
4554 def GetData(*args
, **kwargs
):
4555 """GetData(DataObject data) -> bool"""
4556 return _misc
.Clipboard_GetData(*args
, **kwargs
)
4558 def Clear(*args
, **kwargs
):
4560 return _misc
.Clipboard_Clear(*args
, **kwargs
)
4562 def Flush(*args
, **kwargs
):
4563 """Flush() -> bool"""
4564 return _misc
.Clipboard_Flush(*args
, **kwargs
)
4566 def UsePrimarySelection(*args
, **kwargs
):
4567 """UsePrimarySelection(bool primary=False)"""
4568 return _misc
.Clipboard_UsePrimarySelection(*args
, **kwargs
)
4571 class ClipboardPtr(Clipboard
):
4572 def __init__(self
, this
):
4574 if not hasattr(self
,"thisown"): self
.thisown
= 0
4575 self
.__class
__ = Clipboard
4576 _misc
.Clipboard_swigregister(ClipboardPtr
)
4578 class ClipboardLocker(object):
4581 return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4582 def __init__(self
, *args
, **kwargs
):
4583 """__init__(Clipboard clipboard=None) -> ClipboardLocker"""
4584 newobj
= _misc
.new_ClipboardLocker(*args
, **kwargs
)
4585 self
.this
= newobj
.this
4588 def __del__(self
, destroy
=_misc
.delete_ClipboardLocker
):
4591 if self
.thisown
: destroy(self
)
4594 def __nonzero__(*args
, **kwargs
):
4595 """__nonzero__() -> bool"""
4596 return _misc
.ClipboardLocker___nonzero__(*args
, **kwargs
)
4599 class ClipboardLockerPtr(ClipboardLocker
):
4600 def __init__(self
, this
):
4602 if not hasattr(self
,"thisown"): self
.thisown
= 0
4603 self
.__class
__ = ClipboardLocker
4604 _misc
.ClipboardLocker_swigregister(ClipboardLockerPtr
)
4605 TheClipboard
= cvar
.TheClipboard