1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 #---------------------------------------------------------------------------
10 SYS_OEM_FIXED_FONT
= _misc
.SYS_OEM_FIXED_FONT
11 SYS_ANSI_FIXED_FONT
= _misc
.SYS_ANSI_FIXED_FONT
12 SYS_ANSI_VAR_FONT
= _misc
.SYS_ANSI_VAR_FONT
13 SYS_SYSTEM_FONT
= _misc
.SYS_SYSTEM_FONT
14 SYS_DEVICE_DEFAULT_FONT
= _misc
.SYS_DEVICE_DEFAULT_FONT
15 SYS_DEFAULT_PALETTE
= _misc
.SYS_DEFAULT_PALETTE
16 SYS_SYSTEM_FIXED_FONT
= _misc
.SYS_SYSTEM_FIXED_FONT
17 SYS_DEFAULT_GUI_FONT
= _misc
.SYS_DEFAULT_GUI_FONT
18 SYS_ICONTITLE_FONT
= _misc
.SYS_ICONTITLE_FONT
19 SYS_COLOUR_SCROLLBAR
= _misc
.SYS_COLOUR_SCROLLBAR
20 SYS_COLOUR_BACKGROUND
= _misc
.SYS_COLOUR_BACKGROUND
21 SYS_COLOUR_DESKTOP
= _misc
.SYS_COLOUR_DESKTOP
22 SYS_COLOUR_ACTIVECAPTION
= _misc
.SYS_COLOUR_ACTIVECAPTION
23 SYS_COLOUR_INACTIVECAPTION
= _misc
.SYS_COLOUR_INACTIVECAPTION
24 SYS_COLOUR_MENU
= _misc
.SYS_COLOUR_MENU
25 SYS_COLOUR_WINDOW
= _misc
.SYS_COLOUR_WINDOW
26 SYS_COLOUR_WINDOWFRAME
= _misc
.SYS_COLOUR_WINDOWFRAME
27 SYS_COLOUR_MENUTEXT
= _misc
.SYS_COLOUR_MENUTEXT
28 SYS_COLOUR_WINDOWTEXT
= _misc
.SYS_COLOUR_WINDOWTEXT
29 SYS_COLOUR_CAPTIONTEXT
= _misc
.SYS_COLOUR_CAPTIONTEXT
30 SYS_COLOUR_ACTIVEBORDER
= _misc
.SYS_COLOUR_ACTIVEBORDER
31 SYS_COLOUR_INACTIVEBORDER
= _misc
.SYS_COLOUR_INACTIVEBORDER
32 SYS_COLOUR_APPWORKSPACE
= _misc
.SYS_COLOUR_APPWORKSPACE
33 SYS_COLOUR_HIGHLIGHT
= _misc
.SYS_COLOUR_HIGHLIGHT
34 SYS_COLOUR_HIGHLIGHTTEXT
= _misc
.SYS_COLOUR_HIGHLIGHTTEXT
35 SYS_COLOUR_BTNFACE
= _misc
.SYS_COLOUR_BTNFACE
36 SYS_COLOUR_3DFACE
= _misc
.SYS_COLOUR_3DFACE
37 SYS_COLOUR_BTNSHADOW
= _misc
.SYS_COLOUR_BTNSHADOW
38 SYS_COLOUR_3DSHADOW
= _misc
.SYS_COLOUR_3DSHADOW
39 SYS_COLOUR_GRAYTEXT
= _misc
.SYS_COLOUR_GRAYTEXT
40 SYS_COLOUR_BTNTEXT
= _misc
.SYS_COLOUR_BTNTEXT
41 SYS_COLOUR_INACTIVECAPTIONTEXT
= _misc
.SYS_COLOUR_INACTIVECAPTIONTEXT
42 SYS_COLOUR_BTNHIGHLIGHT
= _misc
.SYS_COLOUR_BTNHIGHLIGHT
43 SYS_COLOUR_BTNHILIGHT
= _misc
.SYS_COLOUR_BTNHILIGHT
44 SYS_COLOUR_3DHIGHLIGHT
= _misc
.SYS_COLOUR_3DHIGHLIGHT
45 SYS_COLOUR_3DHILIGHT
= _misc
.SYS_COLOUR_3DHILIGHT
46 SYS_COLOUR_3DDKSHADOW
= _misc
.SYS_COLOUR_3DDKSHADOW
47 SYS_COLOUR_3DLIGHT
= _misc
.SYS_COLOUR_3DLIGHT
48 SYS_COLOUR_INFOTEXT
= _misc
.SYS_COLOUR_INFOTEXT
49 SYS_COLOUR_INFOBK
= _misc
.SYS_COLOUR_INFOBK
50 SYS_COLOUR_LISTBOX
= _misc
.SYS_COLOUR_LISTBOX
51 SYS_COLOUR_HOTLIGHT
= _misc
.SYS_COLOUR_HOTLIGHT
52 SYS_COLOUR_GRADIENTACTIVECAPTION
= _misc
.SYS_COLOUR_GRADIENTACTIVECAPTION
53 SYS_COLOUR_GRADIENTINACTIVECAPTION
= _misc
.SYS_COLOUR_GRADIENTINACTIVECAPTION
54 SYS_COLOUR_MENUHILIGHT
= _misc
.SYS_COLOUR_MENUHILIGHT
55 SYS_COLOUR_MENUBAR
= _misc
.SYS_COLOUR_MENUBAR
56 SYS_COLOUR_MAX
= _misc
.SYS_COLOUR_MAX
57 SYS_MOUSE_BUTTONS
= _misc
.SYS_MOUSE_BUTTONS
58 SYS_BORDER_X
= _misc
.SYS_BORDER_X
59 SYS_BORDER_Y
= _misc
.SYS_BORDER_Y
60 SYS_CURSOR_X
= _misc
.SYS_CURSOR_X
61 SYS_CURSOR_Y
= _misc
.SYS_CURSOR_Y
62 SYS_DCLICK_X
= _misc
.SYS_DCLICK_X
63 SYS_DCLICK_Y
= _misc
.SYS_DCLICK_Y
64 SYS_DRAG_X
= _misc
.SYS_DRAG_X
65 SYS_DRAG_Y
= _misc
.SYS_DRAG_Y
66 SYS_EDGE_X
= _misc
.SYS_EDGE_X
67 SYS_EDGE_Y
= _misc
.SYS_EDGE_Y
68 SYS_HSCROLL_ARROW_X
= _misc
.SYS_HSCROLL_ARROW_X
69 SYS_HSCROLL_ARROW_Y
= _misc
.SYS_HSCROLL_ARROW_Y
70 SYS_HTHUMB_X
= _misc
.SYS_HTHUMB_X
71 SYS_ICON_X
= _misc
.SYS_ICON_X
72 SYS_ICON_Y
= _misc
.SYS_ICON_Y
73 SYS_ICONSPACING_X
= _misc
.SYS_ICONSPACING_X
74 SYS_ICONSPACING_Y
= _misc
.SYS_ICONSPACING_Y
75 SYS_WINDOWMIN_X
= _misc
.SYS_WINDOWMIN_X
76 SYS_WINDOWMIN_Y
= _misc
.SYS_WINDOWMIN_Y
77 SYS_SCREEN_X
= _misc
.SYS_SCREEN_X
78 SYS_SCREEN_Y
= _misc
.SYS_SCREEN_Y
79 SYS_FRAMESIZE_X
= _misc
.SYS_FRAMESIZE_X
80 SYS_FRAMESIZE_Y
= _misc
.SYS_FRAMESIZE_Y
81 SYS_SMALLICON_X
= _misc
.SYS_SMALLICON_X
82 SYS_SMALLICON_Y
= _misc
.SYS_SMALLICON_Y
83 SYS_HSCROLL_Y
= _misc
.SYS_HSCROLL_Y
84 SYS_VSCROLL_X
= _misc
.SYS_VSCROLL_X
85 SYS_VSCROLL_ARROW_X
= _misc
.SYS_VSCROLL_ARROW_X
86 SYS_VSCROLL_ARROW_Y
= _misc
.SYS_VSCROLL_ARROW_Y
87 SYS_VTHUMB_Y
= _misc
.SYS_VTHUMB_Y
88 SYS_CAPTION_Y
= _misc
.SYS_CAPTION_Y
89 SYS_MENU_Y
= _misc
.SYS_MENU_Y
90 SYS_NETWORK_PRESENT
= _misc
.SYS_NETWORK_PRESENT
91 SYS_PENWINDOWS_PRESENT
= _misc
.SYS_PENWINDOWS_PRESENT
92 SYS_SHOW_SOUNDS
= _misc
.SYS_SHOW_SOUNDS
93 SYS_SWAP_BUTTONS
= _misc
.SYS_SWAP_BUTTONS
94 SYS_CAN_DRAW_FRAME_DECORATIONS
= _misc
.SYS_CAN_DRAW_FRAME_DECORATIONS
95 SYS_CAN_ICONIZE_FRAME
= _misc
.SYS_CAN_ICONIZE_FRAME
96 SYS_SCREEN_NONE
= _misc
.SYS_SCREEN_NONE
97 SYS_SCREEN_TINY
= _misc
.SYS_SCREEN_TINY
98 SYS_SCREEN_PDA
= _misc
.SYS_SCREEN_PDA
99 SYS_SCREEN_SMALL
= _misc
.SYS_SCREEN_SMALL
100 SYS_SCREEN_DESKTOP
= _misc
.SYS_SCREEN_DESKTOP
101 class SystemSettings(object):
102 def __init__(self
): raise RuntimeError, "No constructor defined"
104 return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
105 def GetColour(*args
, **kwargs
):
106 """SystemSettings.GetColour(wxSystemColour index) -> wxColour"""
107 return _misc
.SystemSettings_GetColour(*args
, **kwargs
)
109 GetColour
= staticmethod(GetColour
)
110 def GetFont(*args
, **kwargs
):
111 """SystemSettings.GetFont(wxSystemFont index) -> wxFont"""
112 return _misc
.SystemSettings_GetFont(*args
, **kwargs
)
114 GetFont
= staticmethod(GetFont
)
115 def GetMetric(*args
, **kwargs
):
116 """SystemSettings.GetMetric(wxSystemMetric index) -> int"""
117 return _misc
.SystemSettings_GetMetric(*args
, **kwargs
)
119 GetMetric
= staticmethod(GetMetric
)
120 def HasFeature(*args
, **kwargs
):
121 """SystemSettings.HasFeature(wxSystemFeature index) -> bool"""
122 return _misc
.SystemSettings_HasFeature(*args
, **kwargs
)
124 HasFeature
= staticmethod(HasFeature
)
125 def GetScreenType(*args
, **kwargs
):
126 """SystemSettings.GetScreenType() -> wxSystemScreenType"""
127 return _misc
.SystemSettings_GetScreenType(*args
, **kwargs
)
129 GetScreenType
= staticmethod(GetScreenType
)
130 def SetScreenType(*args
, **kwargs
):
131 """SystemSettings.SetScreenType(wxSystemScreenType screen)"""
132 return _misc
.SystemSettings_SetScreenType(*args
, **kwargs
)
134 SetScreenType
= staticmethod(SetScreenType
)
136 class SystemSettingsPtr(SystemSettings
):
137 def __init__(self
, this
):
139 if not hasattr(self
,"thisown"): self
.thisown
= 0
140 self
.__class
__ = SystemSettings
141 _misc
.SystemSettings_swigregister(SystemSettingsPtr
)
143 def SystemSettings_GetColour(*args
, **kwargs
):
144 """SystemSettings_GetColour(wxSystemColour index) -> wxColour"""
145 return _misc
.SystemSettings_GetColour(*args
, **kwargs
)
147 def SystemSettings_GetFont(*args
, **kwargs
):
148 """SystemSettings_GetFont(wxSystemFont index) -> wxFont"""
149 return _misc
.SystemSettings_GetFont(*args
, **kwargs
)
151 def SystemSettings_GetMetric(*args
, **kwargs
):
152 """SystemSettings_GetMetric(wxSystemMetric index) -> int"""
153 return _misc
.SystemSettings_GetMetric(*args
, **kwargs
)
155 def SystemSettings_HasFeature(*args
, **kwargs
):
156 """SystemSettings_HasFeature(wxSystemFeature index) -> bool"""
157 return _misc
.SystemSettings_HasFeature(*args
, **kwargs
)
159 def SystemSettings_GetScreenType(*args
, **kwargs
):
160 """SystemSettings_GetScreenType() -> wxSystemScreenType"""
161 return _misc
.SystemSettings_GetScreenType(*args
, **kwargs
)
163 def SystemSettings_SetScreenType(*args
, **kwargs
):
164 """SystemSettings_SetScreenType(wxSystemScreenType screen)"""
165 return _misc
.SystemSettings_SetScreenType(*args
, **kwargs
)
167 class SystemOptions(core
.Object
):
169 return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
170 def __init__(self
, *args
, **kwargs
):
171 """__init__() -> SystemOptions"""
172 newobj
= _misc
.new_SystemOptions(*args
, **kwargs
)
173 self
.this
= newobj
.this
176 def SetOption(*args
, **kwargs
):
177 """SystemOptions.SetOption(wxString name, wxString value)"""
178 return _misc
.SystemOptions_SetOption(*args
, **kwargs
)
180 SetOption
= staticmethod(SetOption
)
181 def SetOptionInt(*args
, **kwargs
):
182 """SystemOptions.SetOptionInt(wxString name, int value)"""
183 return _misc
.SystemOptions_SetOptionInt(*args
, **kwargs
)
185 SetOptionInt
= staticmethod(SetOptionInt
)
186 def GetOption(*args
, **kwargs
):
187 """SystemOptions.GetOption(wxString name) -> wxString"""
188 return _misc
.SystemOptions_GetOption(*args
, **kwargs
)
190 GetOption
= staticmethod(GetOption
)
191 def GetOptionInt(*args
, **kwargs
):
192 """SystemOptions.GetOptionInt(wxString name) -> int"""
193 return _misc
.SystemOptions_GetOptionInt(*args
, **kwargs
)
195 GetOptionInt
= staticmethod(GetOptionInt
)
196 def HasOption(*args
, **kwargs
):
197 """SystemOptions.HasOption(wxString name) -> bool"""
198 return _misc
.SystemOptions_HasOption(*args
, **kwargs
)
200 HasOption
= staticmethod(HasOption
)
202 class SystemOptionsPtr(SystemOptions
):
203 def __init__(self
, this
):
205 if not hasattr(self
,"thisown"): self
.thisown
= 0
206 self
.__class
__ = SystemOptions
207 _misc
.SystemOptions_swigregister(SystemOptionsPtr
)
209 def SystemOptions_SetOption(*args
, **kwargs
):
210 """SystemOptions_SetOption(wxString name, wxString value)"""
211 return _misc
.SystemOptions_SetOption(*args
, **kwargs
)
213 def SystemOptions_SetOptionInt(*args
, **kwargs
):
214 """SystemOptions_SetOptionInt(wxString name, int value)"""
215 return _misc
.SystemOptions_SetOptionInt(*args
, **kwargs
)
217 def SystemOptions_GetOption(*args
, **kwargs
):
218 """SystemOptions_GetOption(wxString name) -> wxString"""
219 return _misc
.SystemOptions_GetOption(*args
, **kwargs
)
221 def SystemOptions_GetOptionInt(*args
, **kwargs
):
222 """SystemOptions_GetOptionInt(wxString name) -> int"""
223 return _misc
.SystemOptions_GetOptionInt(*args
, **kwargs
)
225 def SystemOptions_HasOption(*args
, **kwargs
):
226 """SystemOptions_HasOption(wxString name) -> bool"""
227 return _misc
.SystemOptions_HasOption(*args
, **kwargs
)
229 #---------------------------------------------------------------------------
232 def NewId(*args
, **kwargs
):
233 """NewId() -> long"""
234 return _misc
.NewId(*args
, **kwargs
)
236 def RegisterId(*args
, **kwargs
):
237 """RegisterId(long id)"""
238 return _misc
.RegisterId(*args
, **kwargs
)
240 def GetCurrentId(*args
, **kwargs
):
241 """GetCurrentId() -> long"""
242 return _misc
.GetCurrentId(*args
, **kwargs
)
244 def Bell(*args
, **kwargs
):
246 return _misc
.Bell(*args
, **kwargs
)
248 def EndBusyCursor(*args
, **kwargs
):
249 """EndBusyCursor()"""
250 return _misc
.EndBusyCursor(*args
, **kwargs
)
252 def GetElapsedTime(*args
, **kwargs
):
253 """GetElapsedTime(bool resetTimer=True) -> long"""
254 return _misc
.GetElapsedTime(*args
, **kwargs
)
256 def GetMousePosition(*args
, **kwargs
):
257 """GetMousePosition() -> (x,y)"""
258 return _misc
.GetMousePosition(*args
, **kwargs
)
260 def IsBusy(*args
, **kwargs
):
261 """IsBusy() -> bool"""
262 return _misc
.IsBusy(*args
, **kwargs
)
264 def Now(*args
, **kwargs
):
265 """Now() -> wxString"""
266 return _misc
.Now(*args
, **kwargs
)
268 def Shell(*args
, **kwargs
):
269 """Shell(wxString command=wxPyEmptyString) -> bool"""
270 return _misc
.Shell(*args
, **kwargs
)
272 def StartTimer(*args
, **kwargs
):
274 return _misc
.StartTimer(*args
, **kwargs
)
276 def GetOsVersion(*args
, **kwargs
):
277 """GetOsVersion() -> (platform, major, minor)"""
278 return _misc
.GetOsVersion(*args
, **kwargs
)
280 def GetOsDescription(*args
, **kwargs
):
281 """GetOsDescription() -> wxString"""
282 return _misc
.GetOsDescription(*args
, **kwargs
)
284 def GetFreeMemory(*args
, **kwargs
):
285 """GetFreeMemory() -> long"""
286 return _misc
.GetFreeMemory(*args
, **kwargs
)
287 SHUTDOWN_POWEROFF
= _misc
.SHUTDOWN_POWEROFF
288 SHUTDOWN_REBOOT
= _misc
.SHUTDOWN_REBOOT
290 def Shutdown(*args
, **kwargs
):
291 """Shutdown(wxShutdownFlags wFlags) -> bool"""
292 return _misc
.Shutdown(*args
, **kwargs
)
294 def Sleep(*args
, **kwargs
):
295 """Sleep(int secs)"""
296 return _misc
.Sleep(*args
, **kwargs
)
298 def Usleep(*args
, **kwargs
):
299 """Usleep(unsigned long milliseconds)"""
300 return _misc
.Usleep(*args
, **kwargs
)
302 def EnableTopLevelWindows(*args
, **kwargs
):
303 """EnableTopLevelWindows(bool enable)"""
304 return _misc
.EnableTopLevelWindows(*args
, **kwargs
)
306 def StripMenuCodes(*args
, **kwargs
):
307 """StripMenuCodes(wxString in) -> wxString"""
308 return _misc
.StripMenuCodes(*args
, **kwargs
)
310 def GetEmailAddress(*args
, **kwargs
):
311 """GetEmailAddress() -> wxString"""
312 return _misc
.GetEmailAddress(*args
, **kwargs
)
314 def GetHostName(*args
, **kwargs
):
315 """GetHostName() -> wxString"""
316 return _misc
.GetHostName(*args
, **kwargs
)
318 def GetFullHostName(*args
, **kwargs
):
319 """GetFullHostName() -> wxString"""
320 return _misc
.GetFullHostName(*args
, **kwargs
)
322 def GetUserId(*args
, **kwargs
):
323 """GetUserId() -> wxString"""
324 return _misc
.GetUserId(*args
, **kwargs
)
326 def GetUserName(*args
, **kwargs
):
327 """GetUserName() -> wxString"""
328 return _misc
.GetUserName(*args
, **kwargs
)
330 def GetHomeDir(*args
, **kwargs
):
331 """GetHomeDir() -> wxString"""
332 return _misc
.GetHomeDir(*args
, **kwargs
)
334 def GetUserHome(*args
, **kwargs
):
335 """GetUserHome(wxString user=wxPyEmptyString) -> wxString"""
336 return _misc
.GetUserHome(*args
, **kwargs
)
338 def GetProcessId(*args
, **kwargs
):
339 """GetProcessId() -> unsigned long"""
340 return _misc
.GetProcessId(*args
, **kwargs
)
342 def Trap(*args
, **kwargs
):
344 return _misc
.Trap(*args
, **kwargs
)
346 def FileSelector(*args
, **kwargs
):
348 FileSelector(wxString message=wxPyFileSelectorPromptStr, wxString default_path=wxPyEmptyString,
349 wxString default_filename=wxPyEmptyString,
350 wxString default_extension=wxPyEmptyString,
351 wxString wildcard=wxPyFileSelectorDefaultWildcardStr,
353 Window parent=None, int x=-1, int y=-1) -> wxString
355 return _misc
.FileSelector(*args
, **kwargs
)
357 def LoadFileSelector(*args
, **kwargs
):
359 LoadFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
360 Window parent=None) -> wxString
362 return _misc
.LoadFileSelector(*args
, **kwargs
)
364 def SaveFileSelector(*args
, **kwargs
):
366 SaveFileSelector(wxString what, wxString extension, wxString default_name=wxPyEmptyString,
367 Window parent=None) -> wxString
369 return _misc
.SaveFileSelector(*args
, **kwargs
)
371 def DirSelector(*args
, **kwargs
):
373 DirSelector(wxString message=wxPyDirSelectorPromptStr, wxString defaultPath=wxPyEmptyString,
374 long style=DD_DEFAULT_STYLE,
375 Point pos=DefaultPosition, Window parent=None) -> wxString
377 return _misc
.DirSelector(*args
, **kwargs
)
379 def GetTextFromUser(*args
, **kwargs
):
381 GetTextFromUser(wxString message, wxString caption=wxPyEmptyString,
382 wxString default_value=wxPyEmptyString, Window parent=None,
383 int x=-1, int y=-1, bool centre=True) -> wxString
385 return _misc
.GetTextFromUser(*args
, **kwargs
)
387 def GetPasswordFromUser(*args
, **kwargs
):
389 GetPasswordFromUser(wxString message, wxString caption=wxPyEmptyString,
390 wxString default_value=wxPyEmptyString, Window parent=None) -> wxString
392 return _misc
.GetPasswordFromUser(*args
, **kwargs
)
394 def GetSingleChoice(*args
, **kwargs
):
396 GetSingleChoice(wxString message, wxString caption, int choices, wxString choices_array,
397 Window parent=None, int x=-1,
398 int y=-1, bool centre=True, int width=150,
399 int height=200) -> wxString
401 return _misc
.GetSingleChoice(*args
, **kwargs
)
403 def GetSingleChoiceIndex(*args
, **kwargs
):
405 GetSingleChoiceIndex(wxString message, wxString caption, int choices, wxString choices_array,
406 Window parent=None, int x=-1,
407 int y=-1, bool centre=True, int width=150,
408 int height=200) -> int
410 return _misc
.GetSingleChoiceIndex(*args
, **kwargs
)
412 def MessageBox(*args
, **kwargs
):
414 MessageBox(wxString message, wxString caption=wxPyEmptyString,
415 int style=wxOK|wxCENTRE, Window parent=None,
416 int x=-1, int y=-1) -> int
418 return _misc
.MessageBox(*args
, **kwargs
)
420 def GetNumberFromUser(*args
, **kwargs
):
422 GetNumberFromUser(wxString message, wxString prompt, wxString caption,
423 long value, long min=0, long max=100, Window parent=None,
424 Point pos=DefaultPosition) -> long
426 return _misc
.GetNumberFromUser(*args
, **kwargs
)
428 def ColourDisplay(*args
, **kwargs
):
429 """ColourDisplay() -> bool"""
430 return _misc
.ColourDisplay(*args
, **kwargs
)
432 def DisplayDepth(*args
, **kwargs
):
433 """DisplayDepth() -> int"""
434 return _misc
.DisplayDepth(*args
, **kwargs
)
436 def GetDisplayDepth(*args
, **kwargs
):
437 """GetDisplayDepth() -> int"""
438 return _misc
.GetDisplayDepth(*args
, **kwargs
)
440 def DisplaySize(*args
, **kwargs
):
441 """DisplaySize() -> (width, height)"""
442 return _misc
.DisplaySize(*args
, **kwargs
)
444 def GetDisplaySize(*args
, **kwargs
):
445 """GetDisplaySize() -> Size"""
446 return _misc
.GetDisplaySize(*args
, **kwargs
)
448 def DisplaySizeMM(*args
, **kwargs
):
449 """DisplaySizeMM() -> (width, height)"""
450 return _misc
.DisplaySizeMM(*args
, **kwargs
)
452 def GetDisplaySizeMM(*args
, **kwargs
):
453 """GetDisplaySizeMM() -> Size"""
454 return _misc
.GetDisplaySizeMM(*args
, **kwargs
)
456 def ClientDisplayRect(*args
, **kwargs
):
457 """ClientDisplayRect() -> (x, y, width, height)"""
458 return _misc
.ClientDisplayRect(*args
, **kwargs
)
460 def GetClientDisplayRect(*args
, **kwargs
):
461 """GetClientDisplayRect() -> Rect"""
462 return _misc
.GetClientDisplayRect(*args
, **kwargs
)
464 def SetCursor(*args
, **kwargs
):
465 """SetCursor(wxCursor cursor)"""
466 return _misc
.SetCursor(*args
, **kwargs
)
468 def BeginBusyCursor(*args
, **kwargs
):
469 """BeginBusyCursor(wxCursor cursor=wxHOURGLASS_CURSOR)"""
470 return _misc
.BeginBusyCursor(*args
, **kwargs
)
472 def GetActiveWindow(*args
, **kwargs
):
473 """GetActiveWindow() -> Window"""
474 return _misc
.GetActiveWindow(*args
, **kwargs
)
476 def GenericFindWindowAtPoint(*args
, **kwargs
):
477 """GenericFindWindowAtPoint(Point pt) -> Window"""
478 return _misc
.GenericFindWindowAtPoint(*args
, **kwargs
)
480 def FindWindowAtPoint(*args
, **kwargs
):
481 """FindWindowAtPoint(Point pt) -> Window"""
482 return _misc
.FindWindowAtPoint(*args
, **kwargs
)
484 def GetTopLevelParent(*args
, **kwargs
):
485 """GetTopLevelParent(Window win) -> Window"""
486 return _misc
.GetTopLevelParent(*args
, **kwargs
)
488 def WakeUpMainThread(*args
, **kwargs
):
489 """WakeUpMainThread()"""
490 return _misc
.WakeUpMainThread(*args
, **kwargs
)
492 def MutexGuiEnter(*args
, **kwargs
):
493 """MutexGuiEnter()"""
494 return _misc
.MutexGuiEnter(*args
, **kwargs
)
496 def MutexGuiLeave(*args
, **kwargs
):
497 """MutexGuiLeave()"""
498 return _misc
.MutexGuiLeave(*args
, **kwargs
)
499 class MutexGuiLocker(object):
501 return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
502 def __init__(self
, *args
, **kwargs
):
503 """__init__() -> MutexGuiLocker"""
504 newobj
= _misc
.new_MutexGuiLocker(*args
, **kwargs
)
505 self
.this
= newobj
.this
508 def __del__(self
, destroy
=_misc
.delete_MutexGuiLocker
):
511 if self
.thisown
: destroy(self
)
515 class MutexGuiLockerPtr(MutexGuiLocker
):
516 def __init__(self
, this
):
518 if not hasattr(self
,"thisown"): self
.thisown
= 0
519 self
.__class
__ = MutexGuiLocker
520 _misc
.MutexGuiLocker_swigregister(MutexGuiLockerPtr
)
523 def Thread_IsMain(*args
, **kwargs
):
524 """Thread_IsMain() -> bool"""
525 return _misc
.Thread_IsMain(*args
, **kwargs
)
526 #---------------------------------------------------------------------------
528 class ToolTip(core
.Object
):
530 return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
531 def __init__(self
, *args
, **kwargs
):
532 """__init__(wxString tip) -> ToolTip"""
533 newobj
= _misc
.new_ToolTip(*args
, **kwargs
)
534 self
.this
= newobj
.this
537 def SetTip(*args
, **kwargs
):
538 """SetTip(wxString tip)"""
539 return _misc
.ToolTip_SetTip(*args
, **kwargs
)
541 def GetTip(*args
, **kwargs
):
542 """GetTip() -> wxString"""
543 return _misc
.ToolTip_GetTip(*args
, **kwargs
)
545 def GetWindow(*args
, **kwargs
):
546 """GetWindow() -> Window"""
547 return _misc
.ToolTip_GetWindow(*args
, **kwargs
)
549 def Enable(*args
, **kwargs
):
550 """ToolTip.Enable(bool flag)"""
551 return _misc
.ToolTip_Enable(*args
, **kwargs
)
553 Enable
= staticmethod(Enable
)
554 def SetDelay(*args
, **kwargs
):
555 """ToolTip.SetDelay(long milliseconds)"""
556 return _misc
.ToolTip_SetDelay(*args
, **kwargs
)
558 SetDelay
= staticmethod(SetDelay
)
560 class ToolTipPtr(ToolTip
):
561 def __init__(self
, this
):
563 if not hasattr(self
,"thisown"): self
.thisown
= 0
564 self
.__class
__ = ToolTip
565 _misc
.ToolTip_swigregister(ToolTipPtr
)
567 def ToolTip_Enable(*args
, **kwargs
):
568 """ToolTip_Enable(bool flag)"""
569 return _misc
.ToolTip_Enable(*args
, **kwargs
)
571 def ToolTip_SetDelay(*args
, **kwargs
):
572 """ToolTip_SetDelay(long milliseconds)"""
573 return _misc
.ToolTip_SetDelay(*args
, **kwargs
)
577 return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
578 def __init__(self
, *args
, **kwargs
):
579 """__init__(Window window, Size size) -> Caret"""
580 newobj
= _misc
.new_Caret(*args
, **kwargs
)
581 self
.this
= newobj
.this
584 def __del__(self
, destroy
=_misc
.delete_Caret
):
587 if self
.thisown
: destroy(self
)
590 def IsOk(*args
, **kwargs
):
592 return _misc
.Caret_IsOk(*args
, **kwargs
)
594 def IsVisible(*args
, **kwargs
):
595 """IsVisible() -> bool"""
596 return _misc
.Caret_IsVisible(*args
, **kwargs
)
598 def GetPosition(*args
, **kwargs
):
599 """GetPosition() -> Point"""
600 return _misc
.Caret_GetPosition(*args
, **kwargs
)
602 def GetPositionTuple(*args
, **kwargs
):
603 """GetPositionTuple() -> (x,y)"""
604 return _misc
.Caret_GetPositionTuple(*args
, **kwargs
)
606 def GetSize(*args
, **kwargs
):
607 """GetSize() -> Size"""
608 return _misc
.Caret_GetSize(*args
, **kwargs
)
610 def GetSizeTuple(*args
, **kwargs
):
611 """GetSizeTuple() -> (width, height)"""
612 return _misc
.Caret_GetSizeTuple(*args
, **kwargs
)
614 def GetWindow(*args
, **kwargs
):
615 """GetWindow() -> Window"""
616 return _misc
.Caret_GetWindow(*args
, **kwargs
)
618 def MoveXY(*args
, **kwargs
):
619 """MoveXY(int x, int y)"""
620 return _misc
.Caret_MoveXY(*args
, **kwargs
)
622 def Move(*args
, **kwargs
):
624 return _misc
.Caret_Move(*args
, **kwargs
)
626 def SetSizeWH(*args
, **kwargs
):
627 """SetSizeWH(int width, int height)"""
628 return _misc
.Caret_SetSizeWH(*args
, **kwargs
)
630 def SetSize(*args
, **kwargs
):
631 """SetSize(Size size)"""
632 return _misc
.Caret_SetSize(*args
, **kwargs
)
634 def Show(*args
, **kwargs
):
635 """Show(int show=True)"""
636 return _misc
.Caret_Show(*args
, **kwargs
)
638 def Hide(*args
, **kwargs
):
640 return _misc
.Caret_Hide(*args
, **kwargs
)
642 def __nonzero__(self
): return self
.IsOk()
644 class CaretPtr(Caret
):
645 def __init__(self
, this
):
647 if not hasattr(self
,"thisown"): self
.thisown
= 0
648 self
.__class
__ = Caret
649 _misc
.Caret_swigregister(CaretPtr
)
652 def Caret_GetBlinkTime(*args
, **kwargs
):
653 """Caret_GetBlinkTime() -> int"""
654 return _misc
.Caret_GetBlinkTime(*args
, **kwargs
)
656 def Caret_SetBlinkTime(*args
, **kwargs
):
657 """Caret_SetBlinkTime(int milliseconds)"""
658 return _misc
.Caret_SetBlinkTime(*args
, **kwargs
)
659 class BusyCursor(object):
661 return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
662 def __init__(self
, *args
, **kwargs
):
663 """__init__(wxCursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor"""
664 newobj
= _misc
.new_BusyCursor(*args
, **kwargs
)
665 self
.this
= newobj
.this
668 def __del__(self
, destroy
=_misc
.delete_BusyCursor
):
671 if self
.thisown
: destroy(self
)
675 class BusyCursorPtr(BusyCursor
):
676 def __init__(self
, this
):
678 if not hasattr(self
,"thisown"): self
.thisown
= 0
679 self
.__class
__ = BusyCursor
680 _misc
.BusyCursor_swigregister(BusyCursorPtr
)
682 class WindowDisabler(object):
684 return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
685 def __init__(self
, *args
, **kwargs
):
686 """__init__(Window winToSkip=None) -> WindowDisabler"""
687 newobj
= _misc
.new_WindowDisabler(*args
, **kwargs
)
688 self
.this
= newobj
.this
691 def __del__(self
, destroy
=_misc
.delete_WindowDisabler
):
694 if self
.thisown
: destroy(self
)
698 class WindowDisablerPtr(WindowDisabler
):
699 def __init__(self
, this
):
701 if not hasattr(self
,"thisown"): self
.thisown
= 0
702 self
.__class
__ = WindowDisabler
703 _misc
.WindowDisabler_swigregister(WindowDisablerPtr
)
705 class BusyInfo(core
.Object
):
707 return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
708 def __init__(self
, *args
, **kwargs
):
709 """__init__(wxString message) -> BusyInfo"""
710 newobj
= _misc
.new_BusyInfo(*args
, **kwargs
)
711 self
.this
= newobj
.this
714 def __del__(self
, destroy
=_misc
.delete_BusyInfo
):
717 if self
.thisown
: destroy(self
)
721 class BusyInfoPtr(BusyInfo
):
722 def __init__(self
, this
):
724 if not hasattr(self
,"thisown"): self
.thisown
= 0
725 self
.__class
__ = BusyInfo
726 _misc
.BusyInfo_swigregister(BusyInfoPtr
)
728 class StopWatch(object):
730 return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
731 def __init__(self
, *args
, **kwargs
):
732 """__init__() -> StopWatch"""
733 newobj
= _misc
.new_StopWatch(*args
, **kwargs
)
734 self
.this
= newobj
.this
737 def Start(*args
, **kwargs
):
738 """Start(long t0=0)"""
739 return _misc
.StopWatch_Start(*args
, **kwargs
)
741 def Pause(*args
, **kwargs
):
743 return _misc
.StopWatch_Pause(*args
, **kwargs
)
745 def Resume(*args
, **kwargs
):
747 return _misc
.StopWatch_Resume(*args
, **kwargs
)
749 def Time(*args
, **kwargs
):
751 return _misc
.StopWatch_Time(*args
, **kwargs
)
754 class StopWatchPtr(StopWatch
):
755 def __init__(self
, this
):
757 if not hasattr(self
,"thisown"): self
.thisown
= 0
758 self
.__class
__ = StopWatch
759 _misc
.StopWatch_swigregister(StopWatchPtr
)
761 class FileHistory(core
.Object
):
763 return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
764 def __init__(self
, *args
, **kwargs
):
765 """__init__(int maxFiles=9) -> FileHistory"""
766 newobj
= _misc
.new_FileHistory(*args
, **kwargs
)
767 self
.this
= newobj
.this
770 def __del__(self
, destroy
=_misc
.delete_FileHistory
):
773 if self
.thisown
: destroy(self
)
776 def AddFileToHistory(*args
, **kwargs
):
777 """AddFileToHistory(wxString file)"""
778 return _misc
.FileHistory_AddFileToHistory(*args
, **kwargs
)
780 def RemoveFileFromHistory(*args
, **kwargs
):
781 """RemoveFileFromHistory(int i)"""
782 return _misc
.FileHistory_RemoveFileFromHistory(*args
, **kwargs
)
784 def GetMaxFiles(*args
, **kwargs
):
785 """GetMaxFiles() -> int"""
786 return _misc
.FileHistory_GetMaxFiles(*args
, **kwargs
)
788 def UseMenu(*args
, **kwargs
):
789 """UseMenu(Menu menu)"""
790 return _misc
.FileHistory_UseMenu(*args
, **kwargs
)
792 def RemoveMenu(*args
, **kwargs
):
793 """RemoveMenu(Menu menu)"""
794 return _misc
.FileHistory_RemoveMenu(*args
, **kwargs
)
796 def Load(*args
, **kwargs
):
797 """Load(ConfigBase config)"""
798 return _misc
.FileHistory_Load(*args
, **kwargs
)
800 def Save(*args
, **kwargs
):
801 """Save(ConfigBase config)"""
802 return _misc
.FileHistory_Save(*args
, **kwargs
)
804 def AddFilesToMenu(*args
, **kwargs
):
805 """AddFilesToMenu()"""
806 return _misc
.FileHistory_AddFilesToMenu(*args
, **kwargs
)
808 def AddFilesToThisMenu(*args
, **kwargs
):
809 """AddFilesToThisMenu(Menu menu)"""
810 return _misc
.FileHistory_AddFilesToThisMenu(*args
, **kwargs
)
812 def GetHistoryFile(*args
, **kwargs
):
813 """GetHistoryFile(int i) -> wxString"""
814 return _misc
.FileHistory_GetHistoryFile(*args
, **kwargs
)
816 def GetCount(*args
, **kwargs
):
817 """GetCount() -> int"""
818 return _misc
.FileHistory_GetCount(*args
, **kwargs
)
821 class FileHistoryPtr(FileHistory
):
822 def __init__(self
, this
):
824 if not hasattr(self
,"thisown"): self
.thisown
= 0
825 self
.__class
__ = FileHistory
826 _misc
.FileHistory_swigregister(FileHistoryPtr
)
828 class SingleInstanceChecker(object):
830 return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
831 def __init__(self
, *args
, **kwargs
):
832 """__init__(wxString name, wxString path=wxPyEmptyString) -> SingleInstanceChecker"""
833 newobj
= _misc
.new_SingleInstanceChecker(*args
, **kwargs
)
834 self
.this
= newobj
.this
837 def __del__(self
, destroy
=_misc
.delete_SingleInstanceChecker
):
840 if self
.thisown
: destroy(self
)
843 def Create(*args
, **kwargs
):
844 """Create(wxString name, wxString path=wxPyEmptyString) -> bool"""
845 return _misc
.SingleInstanceChecker_Create(*args
, **kwargs
)
847 def IsAnotherRunning(*args
, **kwargs
):
848 """IsAnotherRunning() -> bool"""
849 return _misc
.SingleInstanceChecker_IsAnotherRunning(*args
, **kwargs
)
852 class SingleInstanceCheckerPtr(SingleInstanceChecker
):
853 def __init__(self
, this
):
855 if not hasattr(self
,"thisown"): self
.thisown
= 0
856 self
.__class
__ = SingleInstanceChecker
857 _misc
.SingleInstanceChecker_swigregister(SingleInstanceCheckerPtr
)
859 def PreSingleInstanceChecker(*args
, **kwargs
):
860 """PreSingleInstanceChecker() -> SingleInstanceChecker"""
861 val
= _misc
.new_PreSingleInstanceChecker(*args
, **kwargs
)
866 def DrawWindowOnDC(*args
, **kwargs
):
867 """DrawWindowOnDC(Window window, wxDC dc, int method)"""
868 return _misc
.DrawWindowOnDC(*args
, **kwargs
)
869 #---------------------------------------------------------------------------
871 class TipProvider(object):
872 def __init__(self
): raise RuntimeError, "No constructor defined"
874 return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
875 def __del__(self
, destroy
=_misc
.delete_TipProvider
):
878 if self
.thisown
: destroy(self
)
881 def GetTip(*args
, **kwargs
):
882 """GetTip() -> wxString"""
883 return _misc
.TipProvider_GetTip(*args
, **kwargs
)
885 def GetCurrentTip(*args
, **kwargs
):
886 """GetCurrentTip() -> size_t"""
887 return _misc
.TipProvider_GetCurrentTip(*args
, **kwargs
)
889 def PreprocessTip(*args
, **kwargs
):
890 """PreprocessTip(wxString tip) -> wxString"""
891 return _misc
.TipProvider_PreprocessTip(*args
, **kwargs
)
894 class TipProviderPtr(TipProvider
):
895 def __init__(self
, this
):
897 if not hasattr(self
,"thisown"): self
.thisown
= 0
898 self
.__class
__ = TipProvider
899 _misc
.TipProvider_swigregister(TipProviderPtr
)
901 class PyTipProvider(TipProvider
):
903 return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
904 def __init__(self
, *args
, **kwargs
):
905 """__init__(size_t currentTip) -> PyTipProvider"""
906 newobj
= _misc
.new_PyTipProvider(*args
, **kwargs
)
907 self
.this
= newobj
.this
910 def _setCallbackInfo(*args
, **kwargs
):
911 """_setCallbackInfo(PyObject self, PyObject _class)"""
912 return _misc
.PyTipProvider__setCallbackInfo(*args
, **kwargs
)
915 class PyTipProviderPtr(PyTipProvider
):
916 def __init__(self
, this
):
918 if not hasattr(self
,"thisown"): self
.thisown
= 0
919 self
.__class
__ = PyTipProvider
920 _misc
.PyTipProvider_swigregister(PyTipProviderPtr
)
923 def ShowTip(*args
, **kwargs
):
924 """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool"""
925 return _misc
.ShowTip(*args
, **kwargs
)
927 def CreateFileTipProvider(*args
, **kwargs
):
928 """CreateFileTipProvider(wxString filename, size_t currentTip) -> TipProvider"""
929 return _misc
.CreateFileTipProvider(*args
, **kwargs
)
930 #---------------------------------------------------------------------------
932 TIMER_CONTINUOUS
= _misc
.TIMER_CONTINUOUS
933 TIMER_ONE_SHOT
= _misc
.TIMER_ONE_SHOT
934 wxEVT_TIMER
= _misc
.wxEVT_TIMER
935 class Timer(core
.EvtHandler
):
937 return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
938 def __init__(self
, *args
, **kwargs
):
939 """__init__(EvtHandler owner=None, int id=-1) -> Timer"""
940 newobj
= _misc
.new_Timer(*args
, **kwargs
)
941 self
.this
= newobj
.this
944 self
._setCallbackInfo
(self
, Timer
)
946 def __del__(self
, destroy
=_misc
.delete_Timer
):
949 if self
.thisown
: destroy(self
)
952 def _setCallbackInfo(*args
, **kwargs
):
953 """_setCallbackInfo(PyObject self, PyObject _class)"""
954 return _misc
.Timer__setCallbackInfo(*args
, **kwargs
)
956 def SetOwner(*args
, **kwargs
):
957 """SetOwner(EvtHandler owner, int id=-1)"""
958 return _misc
.Timer_SetOwner(*args
, **kwargs
)
960 def Start(*args
, **kwargs
):
961 """Start(int milliseconds=-1, bool oneShot=False) -> bool"""
962 return _misc
.Timer_Start(*args
, **kwargs
)
964 def Stop(*args
, **kwargs
):
966 return _misc
.Timer_Stop(*args
, **kwargs
)
968 def IsRunning(*args
, **kwargs
):
969 """IsRunning() -> bool"""
970 return _misc
.Timer_IsRunning(*args
, **kwargs
)
972 def GetInterval(*args
, **kwargs
):
973 """GetInterval() -> int"""
974 return _misc
.Timer_GetInterval(*args
, **kwargs
)
976 def IsOneShot(*args
, **kwargs
):
977 """IsOneShot() -> bool"""
978 return _misc
.Timer_IsOneShot(*args
, **kwargs
)
981 class TimerPtr(Timer
):
982 def __init__(self
, this
):
984 if not hasattr(self
,"thisown"): self
.thisown
= 0
985 self
.__class
__ = Timer
986 _misc
.Timer_swigregister(TimerPtr
)
988 # For backwards compatibility with 2.4
989 class PyTimer(Timer
):
990 def __init__(self
, notify
):
999 EVT_TIMER
= wx
.PyEventBinder( wxEVT_TIMER
, 1 )
1002 class TimerEvent(core
.Event
):
1004 return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1005 def __init__(self
, *args
, **kwargs
):
1006 """__init__(int timerid=0, int interval=0) -> TimerEvent"""
1007 newobj
= _misc
.new_TimerEvent(*args
, **kwargs
)
1008 self
.this
= newobj
.this
1011 def GetInterval(*args
, **kwargs
):
1012 """GetInterval() -> int"""
1013 return _misc
.TimerEvent_GetInterval(*args
, **kwargs
)
1016 class TimerEventPtr(TimerEvent
):
1017 def __init__(self
, this
):
1019 if not hasattr(self
,"thisown"): self
.thisown
= 0
1020 self
.__class
__ = TimerEvent
1021 _misc
.TimerEvent_swigregister(TimerEventPtr
)
1023 class TimerRunner(object):
1025 return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1026 def __init__(self
, *args
):
1028 __init__(wxTimer timer) -> TimerRunner
1029 __init__(wxTimer timer, int milli, bool oneShot=False) -> TimerRunner
1031 newobj
= _misc
.new_TimerRunner(*args
)
1032 self
.this
= newobj
.this
1035 def __del__(self
, destroy
=_misc
.delete_TimerRunner
):
1038 if self
.thisown
: destroy(self
)
1041 def Start(*args
, **kwargs
):
1042 """Start(int milli, bool oneShot=False)"""
1043 return _misc
.TimerRunner_Start(*args
, **kwargs
)
1046 class TimerRunnerPtr(TimerRunner
):
1047 def __init__(self
, this
):
1049 if not hasattr(self
,"thisown"): self
.thisown
= 0
1050 self
.__class
__ = TimerRunner
1051 _misc
.TimerRunner_swigregister(TimerRunnerPtr
)
1053 #---------------------------------------------------------------------------
1055 LOG_FatalError
= _misc
.LOG_FatalError
1056 LOG_Error
= _misc
.LOG_Error
1057 LOG_Warning
= _misc
.LOG_Warning
1058 LOG_Message
= _misc
.LOG_Message
1059 LOG_Status
= _misc
.LOG_Status
1060 LOG_Info
= _misc
.LOG_Info
1061 LOG_Debug
= _misc
.LOG_Debug
1062 LOG_Trace
= _misc
.LOG_Trace
1063 LOG_Progress
= _misc
.LOG_Progress
1064 LOG_User
= _misc
.LOG_User
1065 LOG_Max
= _misc
.LOG_Max
1066 TRACE_MemAlloc
= _misc
.TRACE_MemAlloc
1067 TRACE_Messages
= _misc
.TRACE_Messages
1068 TRACE_ResAlloc
= _misc
.TRACE_ResAlloc
1069 TRACE_RefCount
= _misc
.TRACE_RefCount
1070 TRACE_OleCalls
= _misc
.TRACE_OleCalls
1071 TraceMemAlloc
= _misc
.TraceMemAlloc
1072 TraceMessages
= _misc
.TraceMessages
1073 TraceResAlloc
= _misc
.TraceResAlloc
1074 TraceRefCount
= _misc
.TraceRefCount
1075 TraceOleCalls
= _misc
.TraceOleCalls
1078 return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1079 def __init__(self
, *args
, **kwargs
):
1080 """__init__() -> Log"""
1081 newobj
= _misc
.new_Log(*args
, **kwargs
)
1082 self
.this
= newobj
.this
1085 def IsEnabled(*args
, **kwargs
):
1086 """Log.IsEnabled() -> bool"""
1087 return _misc
.Log_IsEnabled(*args
, **kwargs
)
1089 IsEnabled
= staticmethod(IsEnabled
)
1090 def EnableLogging(*args
, **kwargs
):
1091 """Log.EnableLogging(bool doIt=True) -> bool"""
1092 return _misc
.Log_EnableLogging(*args
, **kwargs
)
1094 EnableLogging
= staticmethod(EnableLogging
)
1095 def OnLog(*args
, **kwargs
):
1096 """Log.OnLog(wxLogLevel level, wxChar szString, time_t t)"""
1097 return _misc
.Log_OnLog(*args
, **kwargs
)
1099 OnLog
= staticmethod(OnLog
)
1100 def Flush(*args
, **kwargs
):
1102 return _misc
.Log_Flush(*args
, **kwargs
)
1104 def FlushActive(*args
, **kwargs
):
1105 """Log.FlushActive()"""
1106 return _misc
.Log_FlushActive(*args
, **kwargs
)
1108 FlushActive
= staticmethod(FlushActive
)
1109 def GetActiveTarget(*args
, **kwargs
):
1110 """Log.GetActiveTarget() -> Log"""
1111 return _misc
.Log_GetActiveTarget(*args
, **kwargs
)
1113 GetActiveTarget
= staticmethod(GetActiveTarget
)
1114 def SetActiveTarget(*args
, **kwargs
):
1115 """Log.SetActiveTarget(Log pLogger) -> Log"""
1116 return _misc
.Log_SetActiveTarget(*args
, **kwargs
)
1118 SetActiveTarget
= staticmethod(SetActiveTarget
)
1119 def Suspend(*args
, **kwargs
):
1121 return _misc
.Log_Suspend(*args
, **kwargs
)
1123 Suspend
= staticmethod(Suspend
)
1124 def Resume(*args
, **kwargs
):
1126 return _misc
.Log_Resume(*args
, **kwargs
)
1128 Resume
= staticmethod(Resume
)
1129 def SetVerbose(*args
, **kwargs
):
1130 """Log.SetVerbose(bool bVerbose=True)"""
1131 return _misc
.Log_SetVerbose(*args
, **kwargs
)
1133 SetVerbose
= staticmethod(SetVerbose
)
1134 def SetLogLevel(*args
, **kwargs
):
1135 """Log.SetLogLevel(wxLogLevel logLevel)"""
1136 return _misc
.Log_SetLogLevel(*args
, **kwargs
)
1138 SetLogLevel
= staticmethod(SetLogLevel
)
1139 def DontCreateOnDemand(*args
, **kwargs
):
1140 """Log.DontCreateOnDemand()"""
1141 return _misc
.Log_DontCreateOnDemand(*args
, **kwargs
)
1143 DontCreateOnDemand
= staticmethod(DontCreateOnDemand
)
1144 def SetTraceMask(*args
, **kwargs
):
1145 """Log.SetTraceMask(wxTraceMask ulMask)"""
1146 return _misc
.Log_SetTraceMask(*args
, **kwargs
)
1148 SetTraceMask
= staticmethod(SetTraceMask
)
1149 def AddTraceMask(*args
, **kwargs
):
1150 """Log.AddTraceMask(wxString str)"""
1151 return _misc
.Log_AddTraceMask(*args
, **kwargs
)
1153 AddTraceMask
= staticmethod(AddTraceMask
)
1154 def RemoveTraceMask(*args
, **kwargs
):
1155 """Log.RemoveTraceMask(wxString str)"""
1156 return _misc
.Log_RemoveTraceMask(*args
, **kwargs
)
1158 RemoveTraceMask
= staticmethod(RemoveTraceMask
)
1159 def ClearTraceMasks(*args
, **kwargs
):
1160 """Log.ClearTraceMasks()"""
1161 return _misc
.Log_ClearTraceMasks(*args
, **kwargs
)
1163 ClearTraceMasks
= staticmethod(ClearTraceMasks
)
1164 def GetTraceMasks(*args
, **kwargs
):
1165 """Log.GetTraceMasks() -> wxArrayString"""
1166 return _misc
.Log_GetTraceMasks(*args
, **kwargs
)
1168 GetTraceMasks
= staticmethod(GetTraceMasks
)
1169 def SetTimestamp(*args
, **kwargs
):
1170 """Log.SetTimestamp(wxChar ts)"""
1171 return _misc
.Log_SetTimestamp(*args
, **kwargs
)
1173 SetTimestamp
= staticmethod(SetTimestamp
)
1174 def GetVerbose(*args
, **kwargs
):
1175 """Log.GetVerbose() -> bool"""
1176 return _misc
.Log_GetVerbose(*args
, **kwargs
)
1178 GetVerbose
= staticmethod(GetVerbose
)
1179 def GetTraceMask(*args
, **kwargs
):
1180 """Log.GetTraceMask() -> wxTraceMask"""
1181 return _misc
.Log_GetTraceMask(*args
, **kwargs
)
1183 GetTraceMask
= staticmethod(GetTraceMask
)
1184 def IsAllowedTraceMask(*args
, **kwargs
):
1185 """Log.IsAllowedTraceMask(wxChar mask) -> bool"""
1186 return _misc
.Log_IsAllowedTraceMask(*args
, **kwargs
)
1188 IsAllowedTraceMask
= staticmethod(IsAllowedTraceMask
)
1189 def GetLogLevel(*args
, **kwargs
):
1190 """Log.GetLogLevel() -> wxLogLevel"""
1191 return _misc
.Log_GetLogLevel(*args
, **kwargs
)
1193 GetLogLevel
= staticmethod(GetLogLevel
)
1194 def GetTimestamp(*args
, **kwargs
):
1195 """Log.GetTimestamp() -> wxChar"""
1196 return _misc
.Log_GetTimestamp(*args
, **kwargs
)
1198 GetTimestamp
= staticmethod(GetTimestamp
)
1199 def TimeStamp(*args
, **kwargs
):
1200 """Log.TimeStamp() -> wxString"""
1201 return _misc
.Log_TimeStamp(*args
, **kwargs
)
1203 TimeStamp
= staticmethod(TimeStamp
)
1204 def Destroy(*args
, **kwargs
):
1206 return _misc
.Log_Destroy(*args
, **kwargs
)
1210 def __init__(self
, this
):
1212 if not hasattr(self
,"thisown"): self
.thisown
= 0
1213 self
.__class
__ = Log
1214 _misc
.Log_swigregister(LogPtr
)
1216 def Log_IsEnabled(*args
, **kwargs
):
1217 """Log_IsEnabled() -> bool"""
1218 return _misc
.Log_IsEnabled(*args
, **kwargs
)
1220 def Log_EnableLogging(*args
, **kwargs
):
1221 """Log_EnableLogging(bool doIt=True) -> bool"""
1222 return _misc
.Log_EnableLogging(*args
, **kwargs
)
1224 def Log_OnLog(*args
, **kwargs
):
1225 """Log_OnLog(wxLogLevel level, wxChar szString, time_t t)"""
1226 return _misc
.Log_OnLog(*args
, **kwargs
)
1228 def Log_FlushActive(*args
, **kwargs
):
1229 """Log_FlushActive()"""
1230 return _misc
.Log_FlushActive(*args
, **kwargs
)
1232 def Log_GetActiveTarget(*args
, **kwargs
):
1233 """Log_GetActiveTarget() -> Log"""
1234 return _misc
.Log_GetActiveTarget(*args
, **kwargs
)
1236 def Log_SetActiveTarget(*args
, **kwargs
):
1237 """Log_SetActiveTarget(Log pLogger) -> Log"""
1238 return _misc
.Log_SetActiveTarget(*args
, **kwargs
)
1240 def Log_Suspend(*args
, **kwargs
):
1242 return _misc
.Log_Suspend(*args
, **kwargs
)
1244 def Log_Resume(*args
, **kwargs
):
1246 return _misc
.Log_Resume(*args
, **kwargs
)
1248 def Log_SetVerbose(*args
, **kwargs
):
1249 """Log_SetVerbose(bool bVerbose=True)"""
1250 return _misc
.Log_SetVerbose(*args
, **kwargs
)
1252 def Log_SetLogLevel(*args
, **kwargs
):
1253 """Log_SetLogLevel(wxLogLevel logLevel)"""
1254 return _misc
.Log_SetLogLevel(*args
, **kwargs
)
1256 def Log_DontCreateOnDemand(*args
, **kwargs
):
1257 """Log_DontCreateOnDemand()"""
1258 return _misc
.Log_DontCreateOnDemand(*args
, **kwargs
)
1260 def Log_SetTraceMask(*args
, **kwargs
):
1261 """Log_SetTraceMask(wxTraceMask ulMask)"""
1262 return _misc
.Log_SetTraceMask(*args
, **kwargs
)
1264 def Log_AddTraceMask(*args
, **kwargs
):
1265 """Log_AddTraceMask(wxString str)"""
1266 return _misc
.Log_AddTraceMask(*args
, **kwargs
)
1268 def Log_RemoveTraceMask(*args
, **kwargs
):
1269 """Log_RemoveTraceMask(wxString str)"""
1270 return _misc
.Log_RemoveTraceMask(*args
, **kwargs
)
1272 def Log_ClearTraceMasks(*args
, **kwargs
):
1273 """Log_ClearTraceMasks()"""
1274 return _misc
.Log_ClearTraceMasks(*args
, **kwargs
)
1276 def Log_GetTraceMasks(*args
, **kwargs
):
1277 """Log_GetTraceMasks() -> wxArrayString"""
1278 return _misc
.Log_GetTraceMasks(*args
, **kwargs
)
1280 def Log_SetTimestamp(*args
, **kwargs
):
1281 """Log_SetTimestamp(wxChar ts)"""
1282 return _misc
.Log_SetTimestamp(*args
, **kwargs
)
1284 def Log_GetVerbose(*args
, **kwargs
):
1285 """Log_GetVerbose() -> bool"""
1286 return _misc
.Log_GetVerbose(*args
, **kwargs
)
1288 def Log_GetTraceMask(*args
, **kwargs
):
1289 """Log_GetTraceMask() -> wxTraceMask"""
1290 return _misc
.Log_GetTraceMask(*args
, **kwargs
)
1292 def Log_IsAllowedTraceMask(*args
, **kwargs
):
1293 """Log_IsAllowedTraceMask(wxChar mask) -> bool"""
1294 return _misc
.Log_IsAllowedTraceMask(*args
, **kwargs
)
1296 def Log_GetLogLevel(*args
, **kwargs
):
1297 """Log_GetLogLevel() -> wxLogLevel"""
1298 return _misc
.Log_GetLogLevel(*args
, **kwargs
)
1300 def Log_GetTimestamp(*args
, **kwargs
):
1301 """Log_GetTimestamp() -> wxChar"""
1302 return _misc
.Log_GetTimestamp(*args
, **kwargs
)
1304 def Log_TimeStamp(*args
, **kwargs
):
1305 """Log_TimeStamp() -> wxString"""
1306 return _misc
.Log_TimeStamp(*args
, **kwargs
)
1308 class LogStderr(Log
):
1310 return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1311 def __init__(self
, *args
, **kwargs
):
1312 """__init__() -> LogStderr"""
1313 newobj
= _misc
.new_LogStderr(*args
, **kwargs
)
1314 self
.this
= newobj
.this
1318 class LogStderrPtr(LogStderr
):
1319 def __init__(self
, this
):
1321 if not hasattr(self
,"thisown"): self
.thisown
= 0
1322 self
.__class
__ = LogStderr
1323 _misc
.LogStderr_swigregister(LogStderrPtr
)
1325 class LogTextCtrl(Log
):
1327 return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1328 def __init__(self
, *args
, **kwargs
):
1329 """__init__(wxTextCtrl pTextCtrl) -> LogTextCtrl"""
1330 newobj
= _misc
.new_LogTextCtrl(*args
, **kwargs
)
1331 self
.this
= newobj
.this
1335 class LogTextCtrlPtr(LogTextCtrl
):
1336 def __init__(self
, this
):
1338 if not hasattr(self
,"thisown"): self
.thisown
= 0
1339 self
.__class
__ = LogTextCtrl
1340 _misc
.LogTextCtrl_swigregister(LogTextCtrlPtr
)
1344 return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1345 def __init__(self
, *args
, **kwargs
):
1346 """__init__() -> LogGui"""
1347 newobj
= _misc
.new_LogGui(*args
, **kwargs
)
1348 self
.this
= newobj
.this
1352 class LogGuiPtr(LogGui
):
1353 def __init__(self
, this
):
1355 if not hasattr(self
,"thisown"): self
.thisown
= 0
1356 self
.__class
__ = LogGui
1357 _misc
.LogGui_swigregister(LogGuiPtr
)
1359 class LogWindow(Log
):
1361 return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1362 def __init__(self
, *args
, **kwargs
):
1364 __init__(wxFrame pParent, wxString szTitle, bool bShow=True,
1365 bool bPassToOld=True) -> LogWindow
1367 newobj
= _misc
.new_LogWindow(*args
, **kwargs
)
1368 self
.this
= newobj
.this
1371 def Show(*args
, **kwargs
):
1372 """Show(bool bShow=True)"""
1373 return _misc
.LogWindow_Show(*args
, **kwargs
)
1375 def GetFrame(*args
, **kwargs
):
1376 """GetFrame() -> wxFrame"""
1377 return _misc
.LogWindow_GetFrame(*args
, **kwargs
)
1379 def GetOldLog(*args
, **kwargs
):
1380 """GetOldLog() -> Log"""
1381 return _misc
.LogWindow_GetOldLog(*args
, **kwargs
)
1383 def IsPassingMessages(*args
, **kwargs
):
1384 """IsPassingMessages() -> bool"""
1385 return _misc
.LogWindow_IsPassingMessages(*args
, **kwargs
)
1387 def PassMessages(*args
, **kwargs
):
1388 """PassMessages(bool bDoPass)"""
1389 return _misc
.LogWindow_PassMessages(*args
, **kwargs
)
1392 class LogWindowPtr(LogWindow
):
1393 def __init__(self
, this
):
1395 if not hasattr(self
,"thisown"): self
.thisown
= 0
1396 self
.__class
__ = LogWindow
1397 _misc
.LogWindow_swigregister(LogWindowPtr
)
1399 class LogChain(Log
):
1401 return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1402 def __init__(self
, *args
, **kwargs
):
1403 """__init__(Log logger) -> LogChain"""
1404 newobj
= _misc
.new_LogChain(*args
, **kwargs
)
1405 self
.this
= newobj
.this
1408 def SetLog(*args
, **kwargs
):
1409 """SetLog(Log logger)"""
1410 return _misc
.LogChain_SetLog(*args
, **kwargs
)
1412 def PassMessages(*args
, **kwargs
):
1413 """PassMessages(bool bDoPass)"""
1414 return _misc
.LogChain_PassMessages(*args
, **kwargs
)
1416 def IsPassingMessages(*args
, **kwargs
):
1417 """IsPassingMessages() -> bool"""
1418 return _misc
.LogChain_IsPassingMessages(*args
, **kwargs
)
1420 def GetOldLog(*args
, **kwargs
):
1421 """GetOldLog() -> Log"""
1422 return _misc
.LogChain_GetOldLog(*args
, **kwargs
)
1425 class LogChainPtr(LogChain
):
1426 def __init__(self
, this
):
1428 if not hasattr(self
,"thisown"): self
.thisown
= 0
1429 self
.__class
__ = LogChain
1430 _misc
.LogChain_swigregister(LogChainPtr
)
1433 def SysErrorCode(*args
, **kwargs
):
1434 """SysErrorCode() -> unsigned long"""
1435 return _misc
.SysErrorCode(*args
, **kwargs
)
1437 def SysErrorMsg(*args
, **kwargs
):
1438 """SysErrorMsg(unsigned long nErrCode=0) -> wxString"""
1439 return _misc
.SysErrorMsg(*args
, **kwargs
)
1441 def LogFatalError(*args
, **kwargs
):
1442 """LogFatalError(wxString msg)"""
1443 return _misc
.LogFatalError(*args
, **kwargs
)
1445 def LogError(*args
, **kwargs
):
1446 """LogError(wxString msg)"""
1447 return _misc
.LogError(*args
, **kwargs
)
1449 def LogWarning(*args
, **kwargs
):
1450 """LogWarning(wxString msg)"""
1451 return _misc
.LogWarning(*args
, **kwargs
)
1453 def LogMessage(*args
, **kwargs
):
1454 """LogMessage(wxString msg)"""
1455 return _misc
.LogMessage(*args
, **kwargs
)
1457 def LogInfo(*args
, **kwargs
):
1458 """LogInfo(wxString msg)"""
1459 return _misc
.LogInfo(*args
, **kwargs
)
1461 def LogDebug(*args
, **kwargs
):
1462 """LogDebug(wxString msg)"""
1463 return _misc
.LogDebug(*args
, **kwargs
)
1465 def LogVerbose(*args
, **kwargs
):
1466 """LogVerbose(wxString msg)"""
1467 return _misc
.LogVerbose(*args
, **kwargs
)
1469 def LogStatus(*args
, **kwargs
):
1470 """LogStatus(wxString msg)"""
1471 return _misc
.LogStatus(*args
, **kwargs
)
1473 def LogStatusFrame(*args
, **kwargs
):
1474 """LogStatusFrame(wxFrame pFrame, wxString msg)"""
1475 return _misc
.LogStatusFrame(*args
, **kwargs
)
1477 def LogSysError(*args
, **kwargs
):
1478 """LogSysError(wxString msg)"""
1479 return _misc
.LogSysError(*args
, **kwargs
)
1481 def LogTrace(*args
, **kwargs
):
1482 """LogTrace(wxString msg)"""
1483 return _misc
.LogTrace(*args
, **kwargs
)
1485 def LogTraceMask(*args
, **kwargs
):
1486 """LogTraceMask(wxString mask, wxString msg)"""
1487 return _misc
.LogTraceMask(*args
, **kwargs
)
1489 def LogGeneric(*args
, **kwargs
):
1490 """LogGeneric(unsigned long level, wxString msg)"""
1491 return _misc
.LogGeneric(*args
, **kwargs
)
1493 def SafeShowMessage(*args
, **kwargs
):
1494 """SafeShowMessage(wxString title, wxString text)"""
1495 return _misc
.SafeShowMessage(*args
, **kwargs
)
1496 class LogNull(object):
1498 return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1499 def __init__(self
, *args
, **kwargs
):
1500 """__init__() -> LogNull"""
1501 newobj
= _misc
.new_LogNull(*args
, **kwargs
)
1502 self
.this
= newobj
.this
1505 def __del__(self
, destroy
=_misc
.delete_LogNull
):
1508 if self
.thisown
: destroy(self
)
1512 class LogNullPtr(LogNull
):
1513 def __init__(self
, this
):
1515 if not hasattr(self
,"thisown"): self
.thisown
= 0
1516 self
.__class
__ = LogNull
1517 _misc
.LogNull_swigregister(LogNullPtr
)
1521 return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1522 def __init__(self
, *args
, **kwargs
):
1523 """__init__() -> PyLog"""
1524 newobj
= _misc
.new_PyLog(*args
, **kwargs
)
1525 self
.this
= newobj
.this
1528 self
._setCallbackInfo
(self
, PyLog
)
1530 def _setCallbackInfo(*args
, **kwargs
):
1531 """_setCallbackInfo(PyObject self, PyObject _class)"""
1532 return _misc
.PyLog__setCallbackInfo(*args
, **kwargs
)
1535 class PyLogPtr(PyLog
):
1536 def __init__(self
, this
):
1538 if not hasattr(self
,"thisown"): self
.thisown
= 0
1539 self
.__class
__ = PyLog
1540 _misc
.PyLog_swigregister(PyLogPtr
)
1542 #---------------------------------------------------------------------------
1544 PROCESS_DEFAULT
= _misc
.PROCESS_DEFAULT
1545 PROCESS_REDIRECT
= _misc
.PROCESS_REDIRECT
1546 KILL_OK
= _misc
.KILL_OK
1547 KILL_BAD_SIGNAL
= _misc
.KILL_BAD_SIGNAL
1548 KILL_ACCESS_DENIED
= _misc
.KILL_ACCESS_DENIED
1549 KILL_NO_PROCESS
= _misc
.KILL_NO_PROCESS
1550 KILL_ERROR
= _misc
.KILL_ERROR
1551 SIGNONE
= _misc
.SIGNONE
1552 SIGHUP
= _misc
.SIGHUP
1553 SIGINT
= _misc
.SIGINT
1554 SIGQUIT
= _misc
.SIGQUIT
1555 SIGILL
= _misc
.SIGILL
1556 SIGTRAP
= _misc
.SIGTRAP
1557 SIGABRT
= _misc
.SIGABRT
1558 SIGIOT
= _misc
.SIGIOT
1559 SIGEMT
= _misc
.SIGEMT
1560 SIGFPE
= _misc
.SIGFPE
1561 SIGKILL
= _misc
.SIGKILL
1562 SIGBUS
= _misc
.SIGBUS
1563 SIGSEGV
= _misc
.SIGSEGV
1564 SIGSYS
= _misc
.SIGSYS
1565 SIGPIPE
= _misc
.SIGPIPE
1566 SIGALRM
= _misc
.SIGALRM
1567 SIGTERM
= _misc
.SIGTERM
1568 class Process(core
.EvtHandler
):
1570 return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1571 def Kill(*args
, **kwargs
):
1572 """Process.Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError"""
1573 return _misc
.Process_Kill(*args
, **kwargs
)
1575 Kill
= staticmethod(Kill
)
1576 def Exists(*args
, **kwargs
):
1577 """Process.Exists(int pid) -> bool"""
1578 return _misc
.Process_Exists(*args
, **kwargs
)
1580 Exists
= staticmethod(Exists
)
1581 def Open(*args
, **kwargs
):
1582 """Process.Open(wxString cmd, int flags=EXEC_ASYNC) -> Process"""
1583 return _misc
.Process_Open(*args
, **kwargs
)
1585 Open
= staticmethod(Open
)
1586 def __init__(self
, *args
, **kwargs
):
1587 """__init__(EvtHandler parent=None, int id=-1) -> Process"""
1588 newobj
= _misc
.new_Process(*args
, **kwargs
)
1589 self
.this
= newobj
.this
1592 self
._setCallbackInfo
(self
, Process
)
1594 def _setCallbackInfo(*args
, **kwargs
):
1595 """_setCallbackInfo(PyObject self, PyObject _class)"""
1596 return _misc
.Process__setCallbackInfo(*args
, **kwargs
)
1598 def base_OnTerminate(*args
, **kwargs
):
1599 """base_OnTerminate(int pid, int status)"""
1600 return _misc
.Process_base_OnTerminate(*args
, **kwargs
)
1602 def Redirect(*args
, **kwargs
):
1604 return _misc
.Process_Redirect(*args
, **kwargs
)
1606 def IsRedirected(*args
, **kwargs
):
1607 """IsRedirected() -> bool"""
1608 return _misc
.Process_IsRedirected(*args
, **kwargs
)
1610 def Detach(*args
, **kwargs
):
1612 return _misc
.Process_Detach(*args
, **kwargs
)
1614 def GetInputStream(*args
, **kwargs
):
1615 """GetInputStream() -> wxInputStream"""
1616 return _misc
.Process_GetInputStream(*args
, **kwargs
)
1618 def GetErrorStream(*args
, **kwargs
):
1619 """GetErrorStream() -> wxInputStream"""
1620 return _misc
.Process_GetErrorStream(*args
, **kwargs
)
1622 def GetOutputStream(*args
, **kwargs
):
1623 """GetOutputStream() -> OutputStream"""
1624 return _misc
.Process_GetOutputStream(*args
, **kwargs
)
1626 def CloseOutput(*args
, **kwargs
):
1628 return _misc
.Process_CloseOutput(*args
, **kwargs
)
1630 def IsInputOpened(*args
, **kwargs
):
1631 """IsInputOpened() -> bool"""
1632 return _misc
.Process_IsInputOpened(*args
, **kwargs
)
1634 def IsInputAvailable(*args
, **kwargs
):
1635 """IsInputAvailable() -> bool"""
1636 return _misc
.Process_IsInputAvailable(*args
, **kwargs
)
1638 def IsErrorAvailable(*args
, **kwargs
):
1639 """IsErrorAvailable() -> bool"""
1640 return _misc
.Process_IsErrorAvailable(*args
, **kwargs
)
1643 class ProcessPtr(Process
):
1644 def __init__(self
, this
):
1646 if not hasattr(self
,"thisown"): self
.thisown
= 0
1647 self
.__class
__ = Process
1648 _misc
.Process_swigregister(ProcessPtr
)
1650 def Process_Kill(*args
, **kwargs
):
1651 """Process_Kill(int pid, wxSignal sig=SIGTERM) -> wxKillError"""
1652 return _misc
.Process_Kill(*args
, **kwargs
)
1654 def Process_Exists(*args
, **kwargs
):
1655 """Process_Exists(int pid) -> bool"""
1656 return _misc
.Process_Exists(*args
, **kwargs
)
1658 def Process_Open(*args
, **kwargs
):
1659 """Process_Open(wxString cmd, int flags=EXEC_ASYNC) -> Process"""
1660 return _misc
.Process_Open(*args
, **kwargs
)
1662 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):
1711 return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1712 def __init__(self
, *args
, **kwargs
):
1713 """__init__(int joystick=JOYSTICK1) -> Joystick"""
1714 newobj
= _misc
.new_Joystick(*args
, **kwargs
)
1715 self
.this
= newobj
.this
1718 def __del__(self
, destroy
=_misc
.delete_Joystick
):
1721 if self
.thisown
: destroy(self
)
1724 def GetPosition(*args
, **kwargs
):
1725 """GetPosition() -> Point"""
1726 return _misc
.Joystick_GetPosition(*args
, **kwargs
)
1728 def GetZPosition(*args
, **kwargs
):
1729 """GetZPosition() -> int"""
1730 return _misc
.Joystick_GetZPosition(*args
, **kwargs
)
1732 def GetButtonState(*args
, **kwargs
):
1733 """GetButtonState() -> int"""
1734 return _misc
.Joystick_GetButtonState(*args
, **kwargs
)
1736 def GetPOVPosition(*args
, **kwargs
):
1737 """GetPOVPosition() -> int"""
1738 return _misc
.Joystick_GetPOVPosition(*args
, **kwargs
)
1740 def GetPOVCTSPosition(*args
, **kwargs
):
1741 """GetPOVCTSPosition() -> int"""
1742 return _misc
.Joystick_GetPOVCTSPosition(*args
, **kwargs
)
1744 def GetRudderPosition(*args
, **kwargs
):
1745 """GetRudderPosition() -> int"""
1746 return _misc
.Joystick_GetRudderPosition(*args
, **kwargs
)
1748 def GetUPosition(*args
, **kwargs
):
1749 """GetUPosition() -> int"""
1750 return _misc
.Joystick_GetUPosition(*args
, **kwargs
)
1752 def GetVPosition(*args
, **kwargs
):
1753 """GetVPosition() -> int"""
1754 return _misc
.Joystick_GetVPosition(*args
, **kwargs
)
1756 def GetMovementThreshold(*args
, **kwargs
):
1757 """GetMovementThreshold() -> int"""
1758 return _misc
.Joystick_GetMovementThreshold(*args
, **kwargs
)
1760 def SetMovementThreshold(*args
, **kwargs
):
1761 """SetMovementThreshold(int threshold)"""
1762 return _misc
.Joystick_SetMovementThreshold(*args
, **kwargs
)
1764 def IsOk(*args
, **kwargs
):
1765 """IsOk(void ??) -> bool"""
1766 return _misc
.Joystick_IsOk(*args
, **kwargs
)
1768 def GetNumberJoysticks(*args
, **kwargs
):
1769 """GetNumberJoysticks() -> int"""
1770 return _misc
.Joystick_GetNumberJoysticks(*args
, **kwargs
)
1772 def GetManufacturerId(*args
, **kwargs
):
1773 """GetManufacturerId() -> int"""
1774 return _misc
.Joystick_GetManufacturerId(*args
, **kwargs
)
1776 def GetProductId(*args
, **kwargs
):
1777 """GetProductId() -> int"""
1778 return _misc
.Joystick_GetProductId(*args
, **kwargs
)
1780 def GetProductName(*args
, **kwargs
):
1781 """GetProductName() -> wxString"""
1782 return _misc
.Joystick_GetProductName(*args
, **kwargs
)
1784 def GetXMin(*args
, **kwargs
):
1785 """GetXMin() -> int"""
1786 return _misc
.Joystick_GetXMin(*args
, **kwargs
)
1788 def GetYMin(*args
, **kwargs
):
1789 """GetYMin() -> int"""
1790 return _misc
.Joystick_GetYMin(*args
, **kwargs
)
1792 def GetZMin(*args
, **kwargs
):
1793 """GetZMin() -> int"""
1794 return _misc
.Joystick_GetZMin(*args
, **kwargs
)
1796 def GetXMax(*args
, **kwargs
):
1797 """GetXMax() -> int"""
1798 return _misc
.Joystick_GetXMax(*args
, **kwargs
)
1800 def GetYMax(*args
, **kwargs
):
1801 """GetYMax() -> int"""
1802 return _misc
.Joystick_GetYMax(*args
, **kwargs
)
1804 def GetZMax(*args
, **kwargs
):
1805 """GetZMax() -> int"""
1806 return _misc
.Joystick_GetZMax(*args
, **kwargs
)
1808 def GetNumberButtons(*args
, **kwargs
):
1809 """GetNumberButtons() -> int"""
1810 return _misc
.Joystick_GetNumberButtons(*args
, **kwargs
)
1812 def GetNumberAxes(*args
, **kwargs
):
1813 """GetNumberAxes() -> int"""
1814 return _misc
.Joystick_GetNumberAxes(*args
, **kwargs
)
1816 def GetMaxButtons(*args
, **kwargs
):
1817 """GetMaxButtons() -> int"""
1818 return _misc
.Joystick_GetMaxButtons(*args
, **kwargs
)
1820 def GetMaxAxes(*args
, **kwargs
):
1821 """GetMaxAxes() -> int"""
1822 return _misc
.Joystick_GetMaxAxes(*args
, **kwargs
)
1824 def GetPollingMin(*args
, **kwargs
):
1825 """GetPollingMin() -> int"""
1826 return _misc
.Joystick_GetPollingMin(*args
, **kwargs
)
1828 def GetPollingMax(*args
, **kwargs
):
1829 """GetPollingMax() -> int"""
1830 return _misc
.Joystick_GetPollingMax(*args
, **kwargs
)
1832 def GetRudderMin(*args
, **kwargs
):
1833 """GetRudderMin() -> int"""
1834 return _misc
.Joystick_GetRudderMin(*args
, **kwargs
)
1836 def GetRudderMax(*args
, **kwargs
):
1837 """GetRudderMax() -> int"""
1838 return _misc
.Joystick_GetRudderMax(*args
, **kwargs
)
1840 def GetUMin(*args
, **kwargs
):
1841 """GetUMin() -> int"""
1842 return _misc
.Joystick_GetUMin(*args
, **kwargs
)
1844 def GetUMax(*args
, **kwargs
):
1845 """GetUMax() -> int"""
1846 return _misc
.Joystick_GetUMax(*args
, **kwargs
)
1848 def GetVMin(*args
, **kwargs
):
1849 """GetVMin() -> int"""
1850 return _misc
.Joystick_GetVMin(*args
, **kwargs
)
1852 def GetVMax(*args
, **kwargs
):
1853 """GetVMax() -> int"""
1854 return _misc
.Joystick_GetVMax(*args
, **kwargs
)
1856 def HasRudder(*args
, **kwargs
):
1857 """HasRudder() -> bool"""
1858 return _misc
.Joystick_HasRudder(*args
, **kwargs
)
1860 def HasZ(*args
, **kwargs
):
1861 """HasZ() -> bool"""
1862 return _misc
.Joystick_HasZ(*args
, **kwargs
)
1864 def HasU(*args
, **kwargs
):
1865 """HasU() -> bool"""
1866 return _misc
.Joystick_HasU(*args
, **kwargs
)
1868 def HasV(*args
, **kwargs
):
1869 """HasV() -> bool"""
1870 return _misc
.Joystick_HasV(*args
, **kwargs
)
1872 def HasPOV(*args
, **kwargs
):
1873 """HasPOV() -> bool"""
1874 return _misc
.Joystick_HasPOV(*args
, **kwargs
)
1876 def HasPOV4Dir(*args
, **kwargs
):
1877 """HasPOV4Dir() -> bool"""
1878 return _misc
.Joystick_HasPOV4Dir(*args
, **kwargs
)
1880 def HasPOVCTS(*args
, **kwargs
):
1881 """HasPOVCTS() -> bool"""
1882 return _misc
.Joystick_HasPOVCTS(*args
, **kwargs
)
1884 def SetCapture(*args
, **kwargs
):
1885 """SetCapture(Window win, int pollingFreq=0) -> bool"""
1886 return _misc
.Joystick_SetCapture(*args
, **kwargs
)
1888 def ReleaseCapture(*args
, **kwargs
):
1889 """ReleaseCapture() -> bool"""
1890 return _misc
.Joystick_ReleaseCapture(*args
, **kwargs
)
1892 def __nonzero__(self
): return self
.IsOk()
1894 class JoystickPtr(Joystick
):
1895 def __init__(self
, this
):
1897 if not hasattr(self
,"thisown"): self
.thisown
= 0
1898 self
.__class
__ = Joystick
1899 _misc
.Joystick_swigregister(JoystickPtr
)
1901 wxEVT_JOY_BUTTON_DOWN
= _misc
.wxEVT_JOY_BUTTON_DOWN
1902 wxEVT_JOY_BUTTON_UP
= _misc
.wxEVT_JOY_BUTTON_UP
1903 wxEVT_JOY_MOVE
= _misc
.wxEVT_JOY_MOVE
1904 wxEVT_JOY_ZMOVE
= _misc
.wxEVT_JOY_ZMOVE
1905 class JoystickEvent(core
.Event
):
1907 return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1908 m_pos
= property(_misc
.JoystickEvent_m_pos_get
, _misc
.JoystickEvent_m_pos_set
)
1909 m_zPosition
= property(_misc
.JoystickEvent_m_zPosition_get
, _misc
.JoystickEvent_m_zPosition_set
)
1910 m_buttonChange
= property(_misc
.JoystickEvent_m_buttonChange_get
, _misc
.JoystickEvent_m_buttonChange_set
)
1911 m_buttonState
= property(_misc
.JoystickEvent_m_buttonState_get
, _misc
.JoystickEvent_m_buttonState_set
)
1912 m_joyStick
= property(_misc
.JoystickEvent_m_joyStick_get
, _misc
.JoystickEvent_m_joyStick_set
)
1913 def __init__(self
, *args
, **kwargs
):
1915 __init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,
1916 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 #---------------------------------------------------------------------------
2010 return "<%s.%s; proxy of C++ wxWave instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2011 def __init__(self
, *args
, **kwargs
):
2012 """__init__(wxString fileName, bool isResource=False) -> Wave"""
2013 newobj
= _misc
.new_Wave(*args
, **kwargs
)
2014 self
.this
= newobj
.this
2017 def __del__(self
, destroy
=_misc
.delete_Wave
):
2020 if self
.thisown
: destroy(self
)
2023 def IsOk(*args
, **kwargs
):
2024 """IsOk() -> bool"""
2025 return _misc
.Wave_IsOk(*args
, **kwargs
)
2027 def Play(*args
, **kwargs
):
2028 """Play(bool async=True, bool looped=False) -> bool"""
2029 return _misc
.Wave_Play(*args
, **kwargs
)
2031 def __nonzero__(self
): return self
.IsOk()
2033 class WavePtr(Wave
):
2034 def __init__(self
, this
):
2036 if not hasattr(self
,"thisown"): self
.thisown
= 0
2037 self
.__class
__ = Wave
2038 _misc
.Wave_swigregister(WavePtr
)
2040 def WaveData(*args
, **kwargs
):
2041 """WaveData(wxString data) -> Wave"""
2042 val
= _misc
.new_WaveData(*args
, **kwargs
)
2046 #---------------------------------------------------------------------------
2048 MAILCAP_STANDARD
= _misc
.MAILCAP_STANDARD
2049 MAILCAP_NETSCAPE
= _misc
.MAILCAP_NETSCAPE
2050 MAILCAP_KDE
= _misc
.MAILCAP_KDE
2051 MAILCAP_GNOME
= _misc
.MAILCAP_GNOME
2052 MAILCAP_ALL
= _misc
.MAILCAP_ALL
2053 class FileTypeInfo(object):
2055 return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2056 def __init__(self
, *args
, **kwargs
):
2058 __init__(wxString mimeType, wxString openCmd, wxString printCmd,
2059 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):
2135 return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2136 def __init__(self
, *args
, **kwargs
):
2137 """__init__(FileTypeInfo ftInfo) -> FileType"""
2138 newobj
= _misc
.new_FileType(*args
, **kwargs
)
2139 self
.this
= newobj
.this
2142 def __del__(self
, destroy
=_misc
.delete_FileType
):
2145 if self
.thisown
: destroy(self
)
2148 def GetMimeType(*args
, **kwargs
):
2149 """GetMimeType() -> PyObject"""
2150 return _misc
.FileType_GetMimeType(*args
, **kwargs
)
2152 def GetMimeTypes(*args
, **kwargs
):
2153 """GetMimeTypes() -> PyObject"""
2154 return _misc
.FileType_GetMimeTypes(*args
, **kwargs
)
2156 def GetExtensions(*args
, **kwargs
):
2157 """GetExtensions() -> PyObject"""
2158 return _misc
.FileType_GetExtensions(*args
, **kwargs
)
2160 def GetIcon(*args
, **kwargs
):
2161 """GetIcon() -> wxIcon"""
2162 return _misc
.FileType_GetIcon(*args
, **kwargs
)
2164 def GetIconInfo(*args
, **kwargs
):
2165 """GetIconInfo() -> PyObject"""
2166 return _misc
.FileType_GetIconInfo(*args
, **kwargs
)
2168 def GetDescription(*args
, **kwargs
):
2169 """GetDescription() -> PyObject"""
2170 return _misc
.FileType_GetDescription(*args
, **kwargs
)
2172 def GetOpenCommand(*args
, **kwargs
):
2173 """GetOpenCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject"""
2174 return _misc
.FileType_GetOpenCommand(*args
, **kwargs
)
2176 def GetPrintCommand(*args
, **kwargs
):
2177 """GetPrintCommand(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject"""
2178 return _misc
.FileType_GetPrintCommand(*args
, **kwargs
)
2180 def GetAllCommands(*args
, **kwargs
):
2181 """GetAllCommands(wxString filename, wxString mimetype=wxPyEmptyString) -> PyObject"""
2182 return _misc
.FileType_GetAllCommands(*args
, **kwargs
)
2184 def SetCommand(*args
, **kwargs
):
2185 """SetCommand(wxString cmd, wxString verb, bool overwriteprompt=True) -> bool"""
2186 return _misc
.FileType_SetCommand(*args
, **kwargs
)
2188 def SetDefaultIcon(*args
, **kwargs
):
2189 """SetDefaultIcon(wxString cmd=wxPyEmptyString, int index=0) -> bool"""
2190 return _misc
.FileType_SetDefaultIcon(*args
, **kwargs
)
2192 def Unassociate(*args
, **kwargs
):
2193 """Unassociate() -> bool"""
2194 return _misc
.FileType_Unassociate(*args
, **kwargs
)
2196 def ExpandCommand(*args
, **kwargs
):
2197 """FileType.ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString"""
2198 return _misc
.FileType_ExpandCommand(*args
, **kwargs
)
2200 ExpandCommand
= staticmethod(ExpandCommand
)
2202 class FileTypePtr(FileType
):
2203 def __init__(self
, this
):
2205 if not hasattr(self
,"thisown"): self
.thisown
= 0
2206 self
.__class
__ = FileType
2207 _misc
.FileType_swigregister(FileTypePtr
)
2209 def FileType_ExpandCommand(*args
, **kwargs
):
2210 """FileType_ExpandCommand(wxString command, wxString filename, wxString mimetype=wxPyEmptyString) -> wxString"""
2211 return _misc
.FileType_ExpandCommand(*args
, **kwargs
)
2213 class MimeTypesManager(object):
2215 return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2216 def IsOfType(*args
, **kwargs
):
2217 """MimeTypesManager.IsOfType(wxString mimeType, wxString wildcard) -> bool"""
2218 return _misc
.MimeTypesManager_IsOfType(*args
, **kwargs
)
2220 IsOfType
= staticmethod(IsOfType
)
2221 def __init__(self
, *args
, **kwargs
):
2222 """__init__() -> MimeTypesManager"""
2223 newobj
= _misc
.new_MimeTypesManager(*args
, **kwargs
)
2224 self
.this
= newobj
.this
2227 def Initialize(*args
, **kwargs
):
2228 """Initialize(int mailcapStyle=MAILCAP_ALL, wxString extraDir=wxPyEmptyString)"""
2229 return _misc
.MimeTypesManager_Initialize(*args
, **kwargs
)
2231 def ClearData(*args
, **kwargs
):
2233 return _misc
.MimeTypesManager_ClearData(*args
, **kwargs
)
2235 def GetFileTypeFromExtension(*args
, **kwargs
):
2236 """GetFileTypeFromExtension(wxString ext) -> FileType"""
2237 return _misc
.MimeTypesManager_GetFileTypeFromExtension(*args
, **kwargs
)
2239 def GetFileTypeFromMimeType(*args
, **kwargs
):
2240 """GetFileTypeFromMimeType(wxString mimeType) -> FileType"""
2241 return _misc
.MimeTypesManager_GetFileTypeFromMimeType(*args
, **kwargs
)
2243 def ReadMailcap(*args
, **kwargs
):
2244 """ReadMailcap(wxString filename, bool fallback=False) -> bool"""
2245 return _misc
.MimeTypesManager_ReadMailcap(*args
, **kwargs
)
2247 def ReadMimeTypes(*args
, **kwargs
):
2248 """ReadMimeTypes(wxString filename) -> bool"""
2249 return _misc
.MimeTypesManager_ReadMimeTypes(*args
, **kwargs
)
2251 def EnumAllFileTypes(*args
, **kwargs
):
2252 """EnumAllFileTypes() -> PyObject"""
2253 return _misc
.MimeTypesManager_EnumAllFileTypes(*args
, **kwargs
)
2255 def AddFallback(*args
, **kwargs
):
2256 """AddFallback(FileTypeInfo ft)"""
2257 return _misc
.MimeTypesManager_AddFallback(*args
, **kwargs
)
2259 def Associate(*args
, **kwargs
):
2260 """Associate(FileTypeInfo ftInfo) -> FileType"""
2261 return _misc
.MimeTypesManager_Associate(*args
, **kwargs
)
2263 def Unassociate(*args
, **kwargs
):
2264 """Unassociate(FileType ft) -> bool"""
2265 return _misc
.MimeTypesManager_Unassociate(*args
, **kwargs
)
2267 def __del__(self
, destroy
=_misc
.delete_MimeTypesManager
):
2270 if self
.thisown
: destroy(self
)
2274 class MimeTypesManagerPtr(MimeTypesManager
):
2275 def __init__(self
, this
):
2277 if not hasattr(self
,"thisown"): self
.thisown
= 0
2278 self
.__class
__ = MimeTypesManager
2279 _misc
.MimeTypesManager_swigregister(MimeTypesManagerPtr
)
2281 TheMimeTypesManager
= cvar
.TheMimeTypesManager
2283 def MimeTypesManager_IsOfType(*args
, **kwargs
):
2284 """MimeTypesManager_IsOfType(wxString mimeType, wxString wildcard) -> bool"""
2285 return _misc
.MimeTypesManager_IsOfType(*args
, **kwargs
)
2287 #---------------------------------------------------------------------------
2289 class ArtProvider(object):
2291 return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2292 def __init__(self
, *args
, **kwargs
):
2293 """__init__() -> ArtProvider"""
2294 newobj
= _misc
.new_ArtProvider(*args
, **kwargs
)
2295 self
.this
= newobj
.this
2298 self
._setCallbackInfo
(self
, ArtProvider
)
2300 def _setCallbackInfo(*args
, **kwargs
):
2301 """_setCallbackInfo(PyObject self, PyObject _class)"""
2302 return _misc
.ArtProvider__setCallbackInfo(*args
, **kwargs
)
2304 def PushProvider(*args
, **kwargs
):
2306 ArtProvider.PushProvider(ArtProvider provider)
2308 Add new provider to the top of providers stack.
2310 return _misc
.ArtProvider_PushProvider(*args
, **kwargs
)
2312 PushProvider
= staticmethod(PushProvider
)
2313 def PopProvider(*args
, **kwargs
):
2315 ArtProvider.PopProvider() -> bool
2317 Remove latest added provider and delete it.
2319 return _misc
.ArtProvider_PopProvider(*args
, **kwargs
)
2321 PopProvider
= staticmethod(PopProvider
)
2322 def RemoveProvider(*args
, **kwargs
):
2324 ArtProvider.RemoveProvider(ArtProvider provider) -> bool
2326 Remove provider. The provider must have been added previously!
2327 The provider is _not_ deleted.
2329 return _misc
.ArtProvider_RemoveProvider(*args
, **kwargs
)
2331 RemoveProvider
= staticmethod(RemoveProvider
)
2332 def GetBitmap(*args
, **kwargs
):
2334 ArtProvider.GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap
2336 Query the providers for bitmap with given ID and return it. Return
2337 wx.NullBitmap if no provider provides it.
2339 return _misc
.ArtProvider_GetBitmap(*args
, **kwargs
)
2341 GetBitmap
= staticmethod(GetBitmap
)
2342 def GetIcon(*args
, **kwargs
):
2344 ArtProvider.GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon
2346 Query the providers for icon with given ID and return it. Return
2347 wx.NullIcon if no provider provides it.
2349 return _misc
.ArtProvider_GetIcon(*args
, **kwargs
)
2351 GetIcon
= staticmethod(GetIcon
)
2352 def Destroy(*args
, **kwargs
):
2354 return _misc
.ArtProvider_Destroy(*args
, **kwargs
)
2357 class ArtProviderPtr(ArtProvider
):
2358 def __init__(self
, this
):
2360 if not hasattr(self
,"thisown"): self
.thisown
= 0
2361 self
.__class
__ = ArtProvider
2362 _misc
.ArtProvider_swigregister(ArtProviderPtr
)
2363 ART_TOOLBAR
= cvar
.ART_TOOLBAR
2364 ART_MENU
= cvar
.ART_MENU
2365 ART_FRAME_ICON
= cvar
.ART_FRAME_ICON
2366 ART_CMN_DIALOG
= cvar
.ART_CMN_DIALOG
2367 ART_HELP_BROWSER
= cvar
.ART_HELP_BROWSER
2368 ART_MESSAGE_BOX
= cvar
.ART_MESSAGE_BOX
2369 ART_OTHER
= cvar
.ART_OTHER
2370 ART_ADD_BOOKMARK
= cvar
.ART_ADD_BOOKMARK
2371 ART_DEL_BOOKMARK
= cvar
.ART_DEL_BOOKMARK
2372 ART_HELP_SIDE_PANEL
= cvar
.ART_HELP_SIDE_PANEL
2373 ART_HELP_SETTINGS
= cvar
.ART_HELP_SETTINGS
2374 ART_HELP_BOOK
= cvar
.ART_HELP_BOOK
2375 ART_HELP_FOLDER
= cvar
.ART_HELP_FOLDER
2376 ART_HELP_PAGE
= cvar
.ART_HELP_PAGE
2377 ART_GO_BACK
= cvar
.ART_GO_BACK
2378 ART_GO_FORWARD
= cvar
.ART_GO_FORWARD
2379 ART_GO_UP
= cvar
.ART_GO_UP
2380 ART_GO_DOWN
= cvar
.ART_GO_DOWN
2381 ART_GO_TO_PARENT
= cvar
.ART_GO_TO_PARENT
2382 ART_GO_HOME
= cvar
.ART_GO_HOME
2383 ART_FILE_OPEN
= cvar
.ART_FILE_OPEN
2384 ART_PRINT
= cvar
.ART_PRINT
2385 ART_HELP
= cvar
.ART_HELP
2386 ART_TIP
= cvar
.ART_TIP
2387 ART_REPORT_VIEW
= cvar
.ART_REPORT_VIEW
2388 ART_LIST_VIEW
= cvar
.ART_LIST_VIEW
2389 ART_NEW_DIR
= cvar
.ART_NEW_DIR
2390 ART_FOLDER
= cvar
.ART_FOLDER
2391 ART_GO_DIR_UP
= cvar
.ART_GO_DIR_UP
2392 ART_EXECUTABLE_FILE
= cvar
.ART_EXECUTABLE_FILE
2393 ART_NORMAL_FILE
= cvar
.ART_NORMAL_FILE
2394 ART_TICK_MARK
= cvar
.ART_TICK_MARK
2395 ART_CROSS_MARK
= cvar
.ART_CROSS_MARK
2396 ART_ERROR
= cvar
.ART_ERROR
2397 ART_QUESTION
= cvar
.ART_QUESTION
2398 ART_WARNING
= cvar
.ART_WARNING
2399 ART_INFORMATION
= cvar
.ART_INFORMATION
2400 ART_MISSING_IMAGE
= cvar
.ART_MISSING_IMAGE
2402 def ArtProvider_PushProvider(*args
, **kwargs
):
2404 ArtProvider_PushProvider(ArtProvider provider)
2406 Add new provider to the top of providers stack.
2408 return _misc
.ArtProvider_PushProvider(*args
, **kwargs
)
2410 def ArtProvider_PopProvider(*args
, **kwargs
):
2412 ArtProvider_PopProvider() -> bool
2414 Remove latest added provider and delete it.
2416 return _misc
.ArtProvider_PopProvider(*args
, **kwargs
)
2418 def ArtProvider_RemoveProvider(*args
, **kwargs
):
2420 ArtProvider_RemoveProvider(ArtProvider provider) -> bool
2422 Remove provider. The provider must have been added previously!
2423 The provider is _not_ deleted.
2425 return _misc
.ArtProvider_RemoveProvider(*args
, **kwargs
)
2427 def ArtProvider_GetBitmap(*args
, **kwargs
):
2429 ArtProvider_GetBitmap(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxBitmap
2431 Query the providers for bitmap with given ID and return it. Return
2432 wx.NullBitmap if no provider provides it.
2434 return _misc
.ArtProvider_GetBitmap(*args
, **kwargs
)
2436 def ArtProvider_GetIcon(*args
, **kwargs
):
2438 ArtProvider_GetIcon(wxString id, wxString client=ART_OTHER, Size size=DefaultSize) -> wxIcon
2440 Query the providers for icon with given ID and return it. Return
2441 wx.NullIcon if no provider provides it.
2443 return _misc
.ArtProvider_GetIcon(*args
, **kwargs
)
2445 #---------------------------------------------------------------------------
2447 CONFIG_USE_LOCAL_FILE
= _misc
.CONFIG_USE_LOCAL_FILE
2448 CONFIG_USE_GLOBAL_FILE
= _misc
.CONFIG_USE_GLOBAL_FILE
2449 CONFIG_USE_RELATIVE_PATH
= _misc
.CONFIG_USE_RELATIVE_PATH
2450 CONFIG_USE_NO_ESCAPE_CHARACTERS
= _misc
.CONFIG_USE_NO_ESCAPE_CHARACTERS
2451 class ConfigBase(object):
2452 def __init__(self
): raise RuntimeError, "No constructor defined"
2454 return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2455 def __del__(self
, destroy
=_misc
.delete_ConfigBase
):
2458 if self
.thisown
: destroy(self
)
2461 Type_Unknown
= _misc
.ConfigBase_Type_Unknown
2462 Type_String
= _misc
.ConfigBase_Type_String
2463 Type_Boolean
= _misc
.ConfigBase_Type_Boolean
2464 Type_Integer
= _misc
.ConfigBase_Type_Integer
2465 Type_Float
= _misc
.ConfigBase_Type_Float
2466 def Set(*args
, **kwargs
):
2467 """ConfigBase.Set(ConfigBase pConfig) -> ConfigBase"""
2468 return _misc
.ConfigBase_Set(*args
, **kwargs
)
2470 Set
= staticmethod(Set
)
2471 def Get(*args
, **kwargs
):
2472 """ConfigBase.Get(bool createOnDemand=True) -> ConfigBase"""
2473 return _misc
.ConfigBase_Get(*args
, **kwargs
)
2475 Get
= staticmethod(Get
)
2476 def Create(*args
, **kwargs
):
2477 """ConfigBase.Create() -> ConfigBase"""
2478 return _misc
.ConfigBase_Create(*args
, **kwargs
)
2480 Create
= staticmethod(Create
)
2481 def DontCreateOnDemand(*args
, **kwargs
):
2482 """ConfigBase.DontCreateOnDemand()"""
2483 return _misc
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
)
2485 DontCreateOnDemand
= staticmethod(DontCreateOnDemand
)
2486 def SetPath(*args
, **kwargs
):
2487 """SetPath(wxString strPath)"""
2488 return _misc
.ConfigBase_SetPath(*args
, **kwargs
)
2490 def GetPath(*args
, **kwargs
):
2491 """GetPath() -> wxString"""
2492 return _misc
.ConfigBase_GetPath(*args
, **kwargs
)
2494 def GetFirstGroup(*args
, **kwargs
):
2495 """GetFirstGroup() -> PyObject"""
2496 return _misc
.ConfigBase_GetFirstGroup(*args
, **kwargs
)
2498 def GetNextGroup(*args
, **kwargs
):
2499 """GetNextGroup(long index) -> PyObject"""
2500 return _misc
.ConfigBase_GetNextGroup(*args
, **kwargs
)
2502 def GetFirstEntry(*args
, **kwargs
):
2503 """GetFirstEntry() -> PyObject"""
2504 return _misc
.ConfigBase_GetFirstEntry(*args
, **kwargs
)
2506 def GetNextEntry(*args
, **kwargs
):
2507 """GetNextEntry(long index) -> PyObject"""
2508 return _misc
.ConfigBase_GetNextEntry(*args
, **kwargs
)
2510 def GetNumberOfEntries(*args
, **kwargs
):
2511 """GetNumberOfEntries(bool bRecursive=False) -> size_t"""
2512 return _misc
.ConfigBase_GetNumberOfEntries(*args
, **kwargs
)
2514 def GetNumberOfGroups(*args
, **kwargs
):
2515 """GetNumberOfGroups(bool bRecursive=False) -> size_t"""
2516 return _misc
.ConfigBase_GetNumberOfGroups(*args
, **kwargs
)
2518 def HasGroup(*args
, **kwargs
):
2519 """HasGroup(wxString strName) -> bool"""
2520 return _misc
.ConfigBase_HasGroup(*args
, **kwargs
)
2522 def HasEntry(*args
, **kwargs
):
2523 """HasEntry(wxString strName) -> bool"""
2524 return _misc
.ConfigBase_HasEntry(*args
, **kwargs
)
2526 def Exists(*args
, **kwargs
):
2527 """Exists(wxString strName) -> bool"""
2528 return _misc
.ConfigBase_Exists(*args
, **kwargs
)
2530 def GetEntryType(*args
, **kwargs
):
2531 """GetEntryType(wxString name) -> wxConfigBase::EntryType"""
2532 return _misc
.ConfigBase_GetEntryType(*args
, **kwargs
)
2534 def Read(*args
, **kwargs
):
2535 """Read(wxString key, wxString defaultVal=wxPyEmptyString) -> wxString"""
2536 return _misc
.ConfigBase_Read(*args
, **kwargs
)
2538 def ReadInt(*args
, **kwargs
):
2539 """ReadInt(wxString key, long defaultVal=0) -> long"""
2540 return _misc
.ConfigBase_ReadInt(*args
, **kwargs
)
2542 def ReadFloat(*args
, **kwargs
):
2543 """ReadFloat(wxString key, double defaultVal=0.0) -> double"""
2544 return _misc
.ConfigBase_ReadFloat(*args
, **kwargs
)
2546 def ReadBool(*args
, **kwargs
):
2547 """ReadBool(wxString key, bool defaultVal=False) -> bool"""
2548 return _misc
.ConfigBase_ReadBool(*args
, **kwargs
)
2550 def Write(*args
, **kwargs
):
2551 """Write(wxString key, wxString value) -> bool"""
2552 return _misc
.ConfigBase_Write(*args
, **kwargs
)
2554 def WriteInt(*args
, **kwargs
):
2555 """WriteInt(wxString key, long value) -> bool"""
2556 return _misc
.ConfigBase_WriteInt(*args
, **kwargs
)
2558 def WriteFloat(*args
, **kwargs
):
2559 """WriteFloat(wxString key, double value) -> bool"""
2560 return _misc
.ConfigBase_WriteFloat(*args
, **kwargs
)
2562 def WriteBool(*args
, **kwargs
):
2563 """WriteBool(wxString key, bool value) -> bool"""
2564 return _misc
.ConfigBase_WriteBool(*args
, **kwargs
)
2566 def Flush(*args
, **kwargs
):
2567 """Flush(bool bCurrentOnly=False) -> bool"""
2568 return _misc
.ConfigBase_Flush(*args
, **kwargs
)
2570 def RenameEntry(*args
, **kwargs
):
2571 """RenameEntry(wxString oldName, wxString newName) -> bool"""
2572 return _misc
.ConfigBase_RenameEntry(*args
, **kwargs
)
2574 def RenameGroup(*args
, **kwargs
):
2575 """RenameGroup(wxString oldName, wxString newName) -> bool"""
2576 return _misc
.ConfigBase_RenameGroup(*args
, **kwargs
)
2578 def DeleteEntry(*args
, **kwargs
):
2579 """DeleteEntry(wxString key, bool bDeleteGroupIfEmpty=True) -> bool"""
2580 return _misc
.ConfigBase_DeleteEntry(*args
, **kwargs
)
2582 def DeleteGroup(*args
, **kwargs
):
2583 """DeleteGroup(wxString key) -> bool"""
2584 return _misc
.ConfigBase_DeleteGroup(*args
, **kwargs
)
2586 def DeleteAll(*args
, **kwargs
):
2587 """DeleteAll() -> bool"""
2588 return _misc
.ConfigBase_DeleteAll(*args
, **kwargs
)
2590 def IsExpandingEnvVars(*args
, **kwargs
):
2591 """IsExpandingEnvVars() -> bool"""
2592 return _misc
.ConfigBase_IsExpandingEnvVars(*args
, **kwargs
)
2594 def SetExpandEnvVars(*args
, **kwargs
):
2595 """SetExpandEnvVars(bool bDoIt=True)"""
2596 return _misc
.ConfigBase_SetExpandEnvVars(*args
, **kwargs
)
2598 def SetRecordDefaults(*args
, **kwargs
):
2599 """SetRecordDefaults(bool bDoIt=True)"""
2600 return _misc
.ConfigBase_SetRecordDefaults(*args
, **kwargs
)
2602 def IsRecordingDefaults(*args
, **kwargs
):
2603 """IsRecordingDefaults() -> bool"""
2604 return _misc
.ConfigBase_IsRecordingDefaults(*args
, **kwargs
)
2606 def ExpandEnvVars(*args
, **kwargs
):
2607 """ExpandEnvVars(wxString str) -> wxString"""
2608 return _misc
.ConfigBase_ExpandEnvVars(*args
, **kwargs
)
2610 def GetAppName(*args
, **kwargs
):
2611 """GetAppName() -> wxString"""
2612 return _misc
.ConfigBase_GetAppName(*args
, **kwargs
)
2614 def GetVendorName(*args
, **kwargs
):
2615 """GetVendorName() -> wxString"""
2616 return _misc
.ConfigBase_GetVendorName(*args
, **kwargs
)
2618 def SetAppName(*args
, **kwargs
):
2619 """SetAppName(wxString appName)"""
2620 return _misc
.ConfigBase_SetAppName(*args
, **kwargs
)
2622 def SetVendorName(*args
, **kwargs
):
2623 """SetVendorName(wxString vendorName)"""
2624 return _misc
.ConfigBase_SetVendorName(*args
, **kwargs
)
2626 def SetStyle(*args
, **kwargs
):
2627 """SetStyle(long style)"""
2628 return _misc
.ConfigBase_SetStyle(*args
, **kwargs
)
2630 def GetStyle(*args
, **kwargs
):
2631 """GetStyle() -> long"""
2632 return _misc
.ConfigBase_GetStyle(*args
, **kwargs
)
2635 class ConfigBasePtr(ConfigBase
):
2636 def __init__(self
, this
):
2638 if not hasattr(self
,"thisown"): self
.thisown
= 0
2639 self
.__class
__ = ConfigBase
2640 _misc
.ConfigBase_swigregister(ConfigBasePtr
)
2642 def ConfigBase_Set(*args
, **kwargs
):
2643 """ConfigBase_Set(ConfigBase pConfig) -> ConfigBase"""
2644 return _misc
.ConfigBase_Set(*args
, **kwargs
)
2646 def ConfigBase_Get(*args
, **kwargs
):
2647 """ConfigBase_Get(bool createOnDemand=True) -> ConfigBase"""
2648 return _misc
.ConfigBase_Get(*args
, **kwargs
)
2650 def ConfigBase_Create(*args
, **kwargs
):
2651 """ConfigBase_Create() -> ConfigBase"""
2652 return _misc
.ConfigBase_Create(*args
, **kwargs
)
2654 def ConfigBase_DontCreateOnDemand(*args
, **kwargs
):
2655 """ConfigBase_DontCreateOnDemand()"""
2656 return _misc
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
)
2658 class ConfigPathChanger(object):
2660 return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2661 def __init__(self
, *args
, **kwargs
):
2662 """__init__(ConfigBase pContainer, wxString strEntry) -> ConfigPathChanger"""
2663 newobj
= _misc
.new_ConfigPathChanger(*args
, **kwargs
)
2664 self
.this
= newobj
.this
2667 def __del__(self
, destroy
=_misc
.delete_ConfigPathChanger
):
2670 if self
.thisown
: destroy(self
)
2673 def Name(*args
, **kwargs
):
2674 """Name() -> wxString"""
2675 return _misc
.ConfigPathChanger_Name(*args
, **kwargs
)
2678 class ConfigPathChangerPtr(ConfigPathChanger
):
2679 def __init__(self
, this
):
2681 if not hasattr(self
,"thisown"): self
.thisown
= 0
2682 self
.__class
__ = ConfigPathChanger
2683 _misc
.ConfigPathChanger_swigregister(ConfigPathChangerPtr
)
2685 class Config(ConfigBase
):
2687 return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2688 def __init__(self
, *args
, **kwargs
):
2690 __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
2691 wxString localFilename=wxPyEmptyString,
2692 wxString globalFilename=wxPyEmptyString,
2693 long style=0) -> Config
2695 newobj
= _misc
.new_Config(*args
, **kwargs
)
2696 self
.this
= newobj
.this
2699 def __del__(self
, destroy
=_misc
.delete_Config
):
2702 if self
.thisown
: destroy(self
)
2706 class ConfigPtr(Config
):
2707 def __init__(self
, this
):
2709 if not hasattr(self
,"thisown"): self
.thisown
= 0
2710 self
.__class
__ = Config
2711 _misc
.Config_swigregister(ConfigPtr
)
2713 class FileConfig(ConfigBase
):
2715 return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2716 def __init__(self
, *args
, **kwargs
):
2718 __init__(wxString appName=wxPyEmptyString, wxString vendorName=wxPyEmptyString,
2719 wxString localFilename=wxPyEmptyString,
2720 wxString globalFilename=wxPyEmptyString,
2721 long style=0) -> FileConfig
2723 newobj
= _misc
.new_FileConfig(*args
, **kwargs
)
2724 self
.this
= newobj
.this
2727 def __del__(self
, destroy
=_misc
.delete_FileConfig
):
2730 if self
.thisown
: destroy(self
)
2734 class FileConfigPtr(FileConfig
):
2735 def __init__(self
, this
):
2737 if not hasattr(self
,"thisown"): self
.thisown
= 0
2738 self
.__class
__ = FileConfig
2739 _misc
.FileConfig_swigregister(FileConfigPtr
)
2742 def ExpandEnvVars(*args
, **kwargs
):
2743 """ExpandEnvVars(wxString sz) -> wxString"""
2744 return _misc
.ExpandEnvVars(*args
, **kwargs
)
2745 #---------------------------------------------------------------------------
2747 class DateTime(object):
2749 return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2750 Local
= _misc
.DateTime_Local
2751 GMT_12
= _misc
.DateTime_GMT_12
2752 GMT_11
= _misc
.DateTime_GMT_11
2753 GMT_10
= _misc
.DateTime_GMT_10
2754 GMT_9
= _misc
.DateTime_GMT_9
2755 GMT_8
= _misc
.DateTime_GMT_8
2756 GMT_7
= _misc
.DateTime_GMT_7
2757 GMT_6
= _misc
.DateTime_GMT_6
2758 GMT_5
= _misc
.DateTime_GMT_5
2759 GMT_4
= _misc
.DateTime_GMT_4
2760 GMT_3
= _misc
.DateTime_GMT_3
2761 GMT_2
= _misc
.DateTime_GMT_2
2762 GMT_1
= _misc
.DateTime_GMT_1
2763 GMT0
= _misc
.DateTime_GMT0
2764 GMT1
= _misc
.DateTime_GMT1
2765 GMT2
= _misc
.DateTime_GMT2
2766 GMT3
= _misc
.DateTime_GMT3
2767 GMT4
= _misc
.DateTime_GMT4
2768 GMT5
= _misc
.DateTime_GMT5
2769 GMT6
= _misc
.DateTime_GMT6
2770 GMT7
= _misc
.DateTime_GMT7
2771 GMT8
= _misc
.DateTime_GMT8
2772 GMT9
= _misc
.DateTime_GMT9
2773 GMT10
= _misc
.DateTime_GMT10
2774 GMT11
= _misc
.DateTime_GMT11
2775 GMT12
= _misc
.DateTime_GMT12
2776 WET
= _misc
.DateTime_WET
2777 WEST
= _misc
.DateTime_WEST
2778 CET
= _misc
.DateTime_CET
2779 CEST
= _misc
.DateTime_CEST
2780 EET
= _misc
.DateTime_EET
2781 EEST
= _misc
.DateTime_EEST
2782 MSK
= _misc
.DateTime_MSK
2783 MSD
= _misc
.DateTime_MSD
2784 AST
= _misc
.DateTime_AST
2785 ADT
= _misc
.DateTime_ADT
2786 EST
= _misc
.DateTime_EST
2787 EDT
= _misc
.DateTime_EDT
2788 CST
= _misc
.DateTime_CST
2789 CDT
= _misc
.DateTime_CDT
2790 MST
= _misc
.DateTime_MST
2791 MDT
= _misc
.DateTime_MDT
2792 PST
= _misc
.DateTime_PST
2793 PDT
= _misc
.DateTime_PDT
2794 HST
= _misc
.DateTime_HST
2795 AKST
= _misc
.DateTime_AKST
2796 AKDT
= _misc
.DateTime_AKDT
2797 A_WST
= _misc
.DateTime_A_WST
2798 A_CST
= _misc
.DateTime_A_CST
2799 A_EST
= _misc
.DateTime_A_EST
2800 A_ESST
= _misc
.DateTime_A_ESST
2801 UTC
= _misc
.DateTime_UTC
2802 Gregorian
= _misc
.DateTime_Gregorian
2803 Julian
= _misc
.DateTime_Julian
2804 Gr_Unknown
= _misc
.DateTime_Gr_Unknown
2805 Gr_Standard
= _misc
.DateTime_Gr_Standard
2806 Gr_Alaska
= _misc
.DateTime_Gr_Alaska
2807 Gr_Albania
= _misc
.DateTime_Gr_Albania
2808 Gr_Austria
= _misc
.DateTime_Gr_Austria
2809 Gr_Austria_Brixen
= _misc
.DateTime_Gr_Austria_Brixen
2810 Gr_Austria_Salzburg
= _misc
.DateTime_Gr_Austria_Salzburg
2811 Gr_Austria_Tyrol
= _misc
.DateTime_Gr_Austria_Tyrol
2812 Gr_Austria_Carinthia
= _misc
.DateTime_Gr_Austria_Carinthia
2813 Gr_Austria_Styria
= _misc
.DateTime_Gr_Austria_Styria
2814 Gr_Belgium
= _misc
.DateTime_Gr_Belgium
2815 Gr_Bulgaria
= _misc
.DateTime_Gr_Bulgaria
2816 Gr_Bulgaria_1
= _misc
.DateTime_Gr_Bulgaria_1
2817 Gr_Bulgaria_2
= _misc
.DateTime_Gr_Bulgaria_2
2818 Gr_Bulgaria_3
= _misc
.DateTime_Gr_Bulgaria_3
2819 Gr_Canada
= _misc
.DateTime_Gr_Canada
2820 Gr_China
= _misc
.DateTime_Gr_China
2821 Gr_China_1
= _misc
.DateTime_Gr_China_1
2822 Gr_China_2
= _misc
.DateTime_Gr_China_2
2823 Gr_Czechoslovakia
= _misc
.DateTime_Gr_Czechoslovakia
2824 Gr_Denmark
= _misc
.DateTime_Gr_Denmark
2825 Gr_Egypt
= _misc
.DateTime_Gr_Egypt
2826 Gr_Estonia
= _misc
.DateTime_Gr_Estonia
2827 Gr_Finland
= _misc
.DateTime_Gr_Finland
2828 Gr_France
= _misc
.DateTime_Gr_France
2829 Gr_France_Alsace
= _misc
.DateTime_Gr_France_Alsace
2830 Gr_France_Lorraine
= _misc
.DateTime_Gr_France_Lorraine
2831 Gr_France_Strasbourg
= _misc
.DateTime_Gr_France_Strasbourg
2832 Gr_Germany
= _misc
.DateTime_Gr_Germany
2833 Gr_Germany_Catholic
= _misc
.DateTime_Gr_Germany_Catholic
2834 Gr_Germany_Prussia
= _misc
.DateTime_Gr_Germany_Prussia
2835 Gr_Germany_Protestant
= _misc
.DateTime_Gr_Germany_Protestant
2836 Gr_GreatBritain
= _misc
.DateTime_Gr_GreatBritain
2837 Gr_Greece
= _misc
.DateTime_Gr_Greece
2838 Gr_Hungary
= _misc
.DateTime_Gr_Hungary
2839 Gr_Ireland
= _misc
.DateTime_Gr_Ireland
2840 Gr_Italy
= _misc
.DateTime_Gr_Italy
2841 Gr_Japan
= _misc
.DateTime_Gr_Japan
2842 Gr_Japan_1
= _misc
.DateTime_Gr_Japan_1
2843 Gr_Japan_2
= _misc
.DateTime_Gr_Japan_2
2844 Gr_Japan_3
= _misc
.DateTime_Gr_Japan_3
2845 Gr_Latvia
= _misc
.DateTime_Gr_Latvia
2846 Gr_Lithuania
= _misc
.DateTime_Gr_Lithuania
2847 Gr_Luxemburg
= _misc
.DateTime_Gr_Luxemburg
2848 Gr_Netherlands
= _misc
.DateTime_Gr_Netherlands
2849 Gr_Netherlands_Groningen
= _misc
.DateTime_Gr_Netherlands_Groningen
2850 Gr_Netherlands_Gelderland
= _misc
.DateTime_Gr_Netherlands_Gelderland
2851 Gr_Netherlands_Utrecht
= _misc
.DateTime_Gr_Netherlands_Utrecht
2852 Gr_Netherlands_Friesland
= _misc
.DateTime_Gr_Netherlands_Friesland
2853 Gr_Norway
= _misc
.DateTime_Gr_Norway
2854 Gr_Poland
= _misc
.DateTime_Gr_Poland
2855 Gr_Portugal
= _misc
.DateTime_Gr_Portugal
2856 Gr_Romania
= _misc
.DateTime_Gr_Romania
2857 Gr_Russia
= _misc
.DateTime_Gr_Russia
2858 Gr_Scotland
= _misc
.DateTime_Gr_Scotland
2859 Gr_Spain
= _misc
.DateTime_Gr_Spain
2860 Gr_Sweden
= _misc
.DateTime_Gr_Sweden
2861 Gr_Switzerland
= _misc
.DateTime_Gr_Switzerland
2862 Gr_Switzerland_Catholic
= _misc
.DateTime_Gr_Switzerland_Catholic
2863 Gr_Switzerland_Protestant
= _misc
.DateTime_Gr_Switzerland_Protestant
2864 Gr_Turkey
= _misc
.DateTime_Gr_Turkey
2865 Gr_USA
= _misc
.DateTime_Gr_USA
2866 Gr_Wales
= _misc
.DateTime_Gr_Wales
2867 Gr_Yugoslavia
= _misc
.DateTime_Gr_Yugoslavia
2868 Country_Unknown
= _misc
.DateTime_Country_Unknown
2869 Country_Default
= _misc
.DateTime_Country_Default
2870 Country_WesternEurope_Start
= _misc
.DateTime_Country_WesternEurope_Start
2871 Country_EEC
= _misc
.DateTime_Country_EEC
2872 France
= _misc
.DateTime_France
2873 Germany
= _misc
.DateTime_Germany
2874 UK
= _misc
.DateTime_UK
2875 Country_WesternEurope_End
= _misc
.DateTime_Country_WesternEurope_End
2876 Russia
= _misc
.DateTime_Russia
2877 USA
= _misc
.DateTime_USA
2878 Jan
= _misc
.DateTime_Jan
2879 Feb
= _misc
.DateTime_Feb
2880 Mar
= _misc
.DateTime_Mar
2881 Apr
= _misc
.DateTime_Apr
2882 May
= _misc
.DateTime_May
2883 Jun
= _misc
.DateTime_Jun
2884 Jul
= _misc
.DateTime_Jul
2885 Aug
= _misc
.DateTime_Aug
2886 Sep
= _misc
.DateTime_Sep
2887 Oct
= _misc
.DateTime_Oct
2888 Nov
= _misc
.DateTime_Nov
2889 Dec
= _misc
.DateTime_Dec
2890 Inv_Month
= _misc
.DateTime_Inv_Month
2891 Sun
= _misc
.DateTime_Sun
2892 Mon
= _misc
.DateTime_Mon
2893 Tue
= _misc
.DateTime_Tue
2894 Wed
= _misc
.DateTime_Wed
2895 Thu
= _misc
.DateTime_Thu
2896 Fri
= _misc
.DateTime_Fri
2897 Sat
= _misc
.DateTime_Sat
2898 Inv_WeekDay
= _misc
.DateTime_Inv_WeekDay
2899 Inv_Year
= _misc
.DateTime_Inv_Year
2900 Name_Full
= _misc
.DateTime_Name_Full
2901 Name_Abbr
= _misc
.DateTime_Name_Abbr
2902 Default_First
= _misc
.DateTime_Default_First
2903 Monday_First
= _misc
.DateTime_Monday_First
2904 Sunday_First
= _misc
.DateTime_Sunday_First
2905 def SetCountry(*args
, **kwargs
):
2906 """DateTime.SetCountry(wxDateTime::Country country)"""
2907 return _misc
.DateTime_SetCountry(*args
, **kwargs
)
2909 SetCountry
= staticmethod(SetCountry
)
2910 def GetCountry(*args
, **kwargs
):
2911 """DateTime.GetCountry() -> wxDateTime::Country"""
2912 return _misc
.DateTime_GetCountry(*args
, **kwargs
)
2914 GetCountry
= staticmethod(GetCountry
)
2915 def IsWestEuropeanCountry(*args
, **kwargs
):
2916 """DateTime.IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool"""
2917 return _misc
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
)
2919 IsWestEuropeanCountry
= staticmethod(IsWestEuropeanCountry
)
2920 def GetCurrentYear(*args
, **kwargs
):
2921 """DateTime.GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int"""
2922 return _misc
.DateTime_GetCurrentYear(*args
, **kwargs
)
2924 GetCurrentYear
= staticmethod(GetCurrentYear
)
2925 def ConvertYearToBC(*args
, **kwargs
):
2926 """DateTime.ConvertYearToBC(int year) -> int"""
2927 return _misc
.DateTime_ConvertYearToBC(*args
, **kwargs
)
2929 ConvertYearToBC
= staticmethod(ConvertYearToBC
)
2930 def GetCurrentMonth(*args
, **kwargs
):
2931 """DateTime.GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month"""
2932 return _misc
.DateTime_GetCurrentMonth(*args
, **kwargs
)
2934 GetCurrentMonth
= staticmethod(GetCurrentMonth
)
2935 def IsLeapYear(*args
, **kwargs
):
2936 """DateTime.IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool"""
2937 return _misc
.DateTime_IsLeapYear(*args
, **kwargs
)
2939 IsLeapYear
= staticmethod(IsLeapYear
)
2940 def GetCentury(*args
, **kwargs
):
2941 """DateTime.GetCentury(int year=Inv_Year) -> int"""
2942 return _misc
.DateTime_GetCentury(*args
, **kwargs
)
2944 GetCentury
= staticmethod(GetCentury
)
2945 def GetNumberOfDaysinYear(*args
, **kwargs
):
2946 """DateTime.GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int"""
2947 return _misc
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
)
2949 GetNumberOfDaysinYear
= staticmethod(GetNumberOfDaysinYear
)
2950 def GetNumberOfDaysInMonth(*args
, **kwargs
):
2951 """DateTime.GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int"""
2952 return _misc
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
)
2954 GetNumberOfDaysInMonth
= staticmethod(GetNumberOfDaysInMonth
)
2955 def GetMonthName(*args
, **kwargs
):
2956 """DateTime.GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
2957 return _misc
.DateTime_GetMonthName(*args
, **kwargs
)
2959 GetMonthName
= staticmethod(GetMonthName
)
2960 def GetWeekDayName(*args
, **kwargs
):
2961 """DateTime.GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
2962 return _misc
.DateTime_GetWeekDayName(*args
, **kwargs
)
2964 GetWeekDayName
= staticmethod(GetWeekDayName
)
2965 def GetAmPmStrings(*args
, **kwargs
):
2967 GetAmPmStrings() -> (am, pm)
2969 Get the AM and PM strings in the current locale (may be empty)
2971 return _misc
.DateTime_GetAmPmStrings(*args
, **kwargs
)
2973 GetAmPmStrings
= staticmethod(GetAmPmStrings
)
2974 def IsDSTApplicable(*args
, **kwargs
):
2975 """DateTime.IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool"""
2976 return _misc
.DateTime_IsDSTApplicable(*args
, **kwargs
)
2978 IsDSTApplicable
= staticmethod(IsDSTApplicable
)
2979 def GetBeginDST(*args
, **kwargs
):
2980 """DateTime.GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
2981 return _misc
.DateTime_GetBeginDST(*args
, **kwargs
)
2983 GetBeginDST
= staticmethod(GetBeginDST
)
2984 def GetEndDST(*args
, **kwargs
):
2985 """DateTime.GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
2986 return _misc
.DateTime_GetEndDST(*args
, **kwargs
)
2988 GetEndDST
= staticmethod(GetEndDST
)
2989 def Now(*args
, **kwargs
):
2990 """DateTime.Now() -> DateTime"""
2991 return _misc
.DateTime_Now(*args
, **kwargs
)
2993 Now
= staticmethod(Now
)
2994 def UNow(*args
, **kwargs
):
2995 """DateTime.UNow() -> DateTime"""
2996 return _misc
.DateTime_UNow(*args
, **kwargs
)
2998 UNow
= staticmethod(UNow
)
2999 def Today(*args
, **kwargs
):
3000 """DateTime.Today() -> DateTime"""
3001 return _misc
.DateTime_Today(*args
, **kwargs
)
3003 Today
= staticmethod(Today
)
3004 def __init__(self
, *args
, **kwargs
):
3005 """__init__() -> DateTime"""
3006 newobj
= _misc
.new_DateTime(*args
, **kwargs
)
3007 self
.this
= newobj
.this
3010 def __del__(self
, destroy
=_misc
.delete_DateTime
):
3013 if self
.thisown
: destroy(self
)
3016 def SetToCurrent(*args
, **kwargs
):
3017 """SetToCurrent() -> DateTime"""
3018 return _misc
.DateTime_SetToCurrent(*args
, **kwargs
)
3020 def SetTimeT(*args
, **kwargs
):
3021 """SetTimeT(time_t timet) -> DateTime"""
3022 return _misc
.DateTime_SetTimeT(*args
, **kwargs
)
3024 def SetJDN(*args
, **kwargs
):
3025 """SetJDN(double jdn) -> DateTime"""
3026 return _misc
.DateTime_SetJDN(*args
, **kwargs
)
3028 def SetHMS(*args
, **kwargs
):
3029 """SetHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
3030 return _misc
.DateTime_SetHMS(*args
, **kwargs
)
3032 def Set(*args
, **kwargs
):
3034 Set(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year,
3035 int hour=0, int minute=0, int second=0,
3036 int millisec=0) -> DateTime
3038 return _misc
.DateTime_Set(*args
, **kwargs
)
3040 def ResetTime(*args
, **kwargs
):
3041 """ResetTime() -> DateTime"""
3042 return _misc
.DateTime_ResetTime(*args
, **kwargs
)
3044 def SetYear(*args
, **kwargs
):
3045 """SetYear(int year) -> DateTime"""
3046 return _misc
.DateTime_SetYear(*args
, **kwargs
)
3048 def SetMonth(*args
, **kwargs
):
3049 """SetMonth(wxDateTime::Month month) -> DateTime"""
3050 return _misc
.DateTime_SetMonth(*args
, **kwargs
)
3052 def SetDay(*args
, **kwargs
):
3053 """SetDay(int day) -> DateTime"""
3054 return _misc
.DateTime_SetDay(*args
, **kwargs
)
3056 def SetHour(*args
, **kwargs
):
3057 """SetHour(int hour) -> DateTime"""
3058 return _misc
.DateTime_SetHour(*args
, **kwargs
)
3060 def SetMinute(*args
, **kwargs
):
3061 """SetMinute(int minute) -> DateTime"""
3062 return _misc
.DateTime_SetMinute(*args
, **kwargs
)
3064 def SetSecond(*args
, **kwargs
):
3065 """SetSecond(int second) -> DateTime"""
3066 return _misc
.DateTime_SetSecond(*args
, **kwargs
)
3068 def SetMillisecond(*args
, **kwargs
):
3069 """SetMillisecond(int millisecond) -> DateTime"""
3070 return _misc
.DateTime_SetMillisecond(*args
, **kwargs
)
3072 def SetToWeekDayInSameWeek(*args
, **kwargs
):
3073 """SetToWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
3074 return _misc
.DateTime_SetToWeekDayInSameWeek(*args
, **kwargs
)
3076 def GetWeekDayInSameWeek(*args
, **kwargs
):
3077 """GetWeekDayInSameWeek(wxDateTime::WeekDay weekday, wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
3078 return _misc
.DateTime_GetWeekDayInSameWeek(*args
, **kwargs
)
3080 def SetToNextWeekDay(*args
, **kwargs
):
3081 """SetToNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3082 return _misc
.DateTime_SetToNextWeekDay(*args
, **kwargs
)
3084 def GetNextWeekDay(*args
, **kwargs
):
3085 """GetNextWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3086 return _misc
.DateTime_GetNextWeekDay(*args
, **kwargs
)
3088 def SetToPrevWeekDay(*args
, **kwargs
):
3089 """SetToPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3090 return _misc
.DateTime_SetToPrevWeekDay(*args
, **kwargs
)
3092 def GetPrevWeekDay(*args
, **kwargs
):
3093 """GetPrevWeekDay(wxDateTime::WeekDay weekday) -> DateTime"""
3094 return _misc
.DateTime_GetPrevWeekDay(*args
, **kwargs
)
3096 def SetToWeekDay(*args
, **kwargs
):
3098 SetToWeekDay(wxDateTime::WeekDay weekday, int n=1, wxDateTime::Month month=Inv_Month,
3099 int year=Inv_Year) -> bool
3101 return _misc
.DateTime_SetToWeekDay(*args
, **kwargs
)
3103 def SetToLastWeekDay(*args
, **kwargs
):
3105 SetToLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
3106 int year=Inv_Year) -> bool
3108 return _misc
.DateTime_SetToLastWeekDay(*args
, **kwargs
)
3110 def GetLastWeekDay(*args
, **kwargs
):
3112 GetLastWeekDay(wxDateTime::WeekDay weekday, wxDateTime::Month month=Inv_Month,
3113 int year=Inv_Year) -> DateTime
3115 return _misc
.DateTime_GetLastWeekDay(*args
, **kwargs
)
3117 def SetToTheWeek(*args
, **kwargs
):
3118 """SetToTheWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> bool"""
3119 return _misc
.DateTime_SetToTheWeek(*args
, **kwargs
)
3121 def GetWeek(*args
, **kwargs
):
3122 """GetWeek(int numWeek, wxDateTime::WeekDay weekday=Mon, wxDateTime::WeekFlags flags=Monday_First) -> DateTime"""
3123 return _misc
.DateTime_GetWeek(*args
, **kwargs
)
3125 def SetToLastMonthDay(*args
, **kwargs
):
3126 """SetToLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime"""
3127 return _misc
.DateTime_SetToLastMonthDay(*args
, **kwargs
)
3129 def GetLastMonthDay(*args
, **kwargs
):
3130 """GetLastMonthDay(wxDateTime::Month month=Inv_Month, int year=Inv_Year) -> DateTime"""
3131 return _misc
.DateTime_GetLastMonthDay(*args
, **kwargs
)
3133 def SetToYearDay(*args
, **kwargs
):
3134 """SetToYearDay(int yday) -> DateTime"""
3135 return _misc
.DateTime_SetToYearDay(*args
, **kwargs
)
3137 def GetYearDay(*args
, **kwargs
):
3138 """GetYearDay(int yday) -> DateTime"""
3139 return _misc
.DateTime_GetYearDay(*args
, **kwargs
)
3141 def GetJulianDayNumber(*args
, **kwargs
):
3142 """GetJulianDayNumber() -> double"""
3143 return _misc
.DateTime_GetJulianDayNumber(*args
, **kwargs
)
3145 def GetJDN(*args
, **kwargs
):
3146 """GetJDN() -> double"""
3147 return _misc
.DateTime_GetJDN(*args
, **kwargs
)
3149 def GetModifiedJulianDayNumber(*args
, **kwargs
):
3150 """GetModifiedJulianDayNumber() -> double"""
3151 return _misc
.DateTime_GetModifiedJulianDayNumber(*args
, **kwargs
)
3153 def GetMJD(*args
, **kwargs
):
3154 """GetMJD() -> double"""
3155 return _misc
.DateTime_GetMJD(*args
, **kwargs
)
3157 def GetRataDie(*args
, **kwargs
):
3158 """GetRataDie() -> double"""
3159 return _misc
.DateTime_GetRataDie(*args
, **kwargs
)
3161 def ToTimezone(*args
, **kwargs
):
3162 """ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
3163 return _misc
.DateTime_ToTimezone(*args
, **kwargs
)
3165 def MakeTimezone(*args
, **kwargs
):
3166 """MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
3167 return _misc
.DateTime_MakeTimezone(*args
, **kwargs
)
3169 def ToGMT(*args
, **kwargs
):
3170 """ToGMT(bool noDST=False) -> DateTime"""
3171 return _misc
.DateTime_ToGMT(*args
, **kwargs
)
3173 def MakeGMT(*args
, **kwargs
):
3174 """MakeGMT(bool noDST=False) -> DateTime"""
3175 return _misc
.DateTime_MakeGMT(*args
, **kwargs
)
3177 def IsDST(*args
, **kwargs
):
3178 """IsDST(wxDateTime::Country country=Country_Default) -> int"""
3179 return _misc
.DateTime_IsDST(*args
, **kwargs
)
3181 def IsValid(*args
, **kwargs
):
3182 """IsValid() -> bool"""
3183 return _misc
.DateTime_IsValid(*args
, **kwargs
)
3185 def GetTicks(*args
, **kwargs
):
3186 """GetTicks() -> time_t"""
3187 return _misc
.DateTime_GetTicks(*args
, **kwargs
)
3189 def GetYear(*args
, **kwargs
):
3190 """GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3191 return _misc
.DateTime_GetYear(*args
, **kwargs
)
3193 def GetMonth(*args
, **kwargs
):
3194 """GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::Month"""
3195 return _misc
.DateTime_GetMonth(*args
, **kwargs
)
3197 def GetDay(*args
, **kwargs
):
3198 """GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3199 return _misc
.DateTime_GetDay(*args
, **kwargs
)
3201 def GetWeekDay(*args
, **kwargs
):
3202 """GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -> wxDateTime::WeekDay"""
3203 return _misc
.DateTime_GetWeekDay(*args
, **kwargs
)
3205 def GetHour(*args
, **kwargs
):
3206 """GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3207 return _misc
.DateTime_GetHour(*args
, **kwargs
)
3209 def GetMinute(*args
, **kwargs
):
3210 """GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3211 return _misc
.DateTime_GetMinute(*args
, **kwargs
)
3213 def GetSecond(*args
, **kwargs
):
3214 """GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3215 return _misc
.DateTime_GetSecond(*args
, **kwargs
)
3217 def GetMillisecond(*args
, **kwargs
):
3218 """GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3219 return _misc
.DateTime_GetMillisecond(*args
, **kwargs
)
3221 def GetDayOfYear(*args
, **kwargs
):
3222 """GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3223 return _misc
.DateTime_GetDayOfYear(*args
, **kwargs
)
3225 def GetWeekOfYear(*args
, **kwargs
):
3226 """GetWeekOfYear(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3227 return _misc
.DateTime_GetWeekOfYear(*args
, **kwargs
)
3229 def GetWeekOfMonth(*args
, **kwargs
):
3230 """GetWeekOfMonth(wxDateTime::WeekFlags flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
3231 return _misc
.DateTime_GetWeekOfMonth(*args
, **kwargs
)
3233 def IsWorkDay(*args
, **kwargs
):
3234 """IsWorkDay(wxDateTime::Country country=Country_Default) -> bool"""
3235 return _misc
.DateTime_IsWorkDay(*args
, **kwargs
)
3237 def IsEqualTo(*args
, **kwargs
):
3238 """IsEqualTo(DateTime datetime) -> bool"""
3239 return _misc
.DateTime_IsEqualTo(*args
, **kwargs
)
3241 def IsEarlierThan(*args
, **kwargs
):
3242 """IsEarlierThan(DateTime datetime) -> bool"""
3243 return _misc
.DateTime_IsEarlierThan(*args
, **kwargs
)
3245 def IsLaterThan(*args
, **kwargs
):
3246 """IsLaterThan(DateTime datetime) -> bool"""
3247 return _misc
.DateTime_IsLaterThan(*args
, **kwargs
)
3249 def IsStrictlyBetween(*args
, **kwargs
):
3250 """IsStrictlyBetween(DateTime t1, DateTime t2) -> bool"""
3251 return _misc
.DateTime_IsStrictlyBetween(*args
, **kwargs
)
3253 def IsBetween(*args
, **kwargs
):
3254 """IsBetween(DateTime t1, DateTime t2) -> bool"""
3255 return _misc
.DateTime_IsBetween(*args
, **kwargs
)
3257 def IsSameDate(*args
, **kwargs
):
3258 """IsSameDate(DateTime dt) -> bool"""
3259 return _misc
.DateTime_IsSameDate(*args
, **kwargs
)
3261 def IsSameTime(*args
, **kwargs
):
3262 """IsSameTime(DateTime dt) -> bool"""
3263 return _misc
.DateTime_IsSameTime(*args
, **kwargs
)
3265 def IsEqualUpTo(*args
, **kwargs
):
3266 """IsEqualUpTo(DateTime dt, TimeSpan ts) -> bool"""
3267 return _misc
.DateTime_IsEqualUpTo(*args
, **kwargs
)
3269 def AddTS(*args
, **kwargs
):
3270 """AddTS(TimeSpan diff) -> DateTime"""
3271 return _misc
.DateTime_AddTS(*args
, **kwargs
)
3273 def AddDS(*args
, **kwargs
):
3274 """AddDS(DateSpan diff) -> DateTime"""
3275 return _misc
.DateTime_AddDS(*args
, **kwargs
)
3277 def SubtractTS(*args
, **kwargs
):
3278 """SubtractTS(TimeSpan diff) -> DateTime"""
3279 return _misc
.DateTime_SubtractTS(*args
, **kwargs
)
3281 def SubtractDS(*args
, **kwargs
):
3282 """SubtractDS(DateSpan diff) -> DateTime"""
3283 return _misc
.DateTime_SubtractDS(*args
, **kwargs
)
3285 def Subtract(*args
, **kwargs
):
3286 """Subtract(DateTime dt) -> TimeSpan"""
3287 return _misc
.DateTime_Subtract(*args
, **kwargs
)
3289 def __iadd__(*args
):
3291 __iadd__(TimeSpan diff) -> DateTime
3292 __iadd__(DateSpan diff) -> DateTime
3294 return _misc
.DateTime___iadd__(*args
)
3296 def __isub__(*args
):
3298 __isub__(TimeSpan diff) -> DateTime
3299 __isub__(DateSpan diff) -> DateTime
3301 return _misc
.DateTime___isub__(*args
)
3305 __add__(TimeSpan other) -> DateTime
3306 __add__(DateSpan other) -> DateTime
3308 return _misc
.DateTime___add__(*args
)
3312 __sub__(DateTime other) -> TimeSpan
3313 __sub__(TimeSpan other) -> DateTime
3314 __sub__(DateSpan other) -> DateTime
3316 return _misc
.DateTime___sub__(*args
)
3319 """__lt__(DateTime other) -> bool"""
3320 return _misc
.DateTime___lt__(*args
)
3323 """__le__(DateTime other) -> bool"""
3324 return _misc
.DateTime___le__(*args
)
3327 """__gt__(DateTime other) -> bool"""
3328 return _misc
.DateTime___gt__(*args
)
3331 """__ge__(DateTime other) -> bool"""
3332 return _misc
.DateTime___ge__(*args
)
3335 """__eq__(DateTime other) -> bool"""
3336 return _misc
.DateTime___eq__(*args
)
3339 """__ne__(DateTime other) -> bool"""
3340 return _misc
.DateTime___ne__(*args
)
3342 def ParseRfc822Date(*args
, **kwargs
):
3343 """ParseRfc822Date(wxString date) -> int"""
3344 return _misc
.DateTime_ParseRfc822Date(*args
, **kwargs
)
3346 def ParseFormat(*args
, **kwargs
):
3347 """ParseFormat(wxString date, wxString format=wxPyDateFormatStr, DateTime dateDef=wxDefaultDateTime) -> int"""
3348 return _misc
.DateTime_ParseFormat(*args
, **kwargs
)
3350 def ParseDateTime(*args
, **kwargs
):
3351 """ParseDateTime(wxString datetime) -> int"""
3352 return _misc
.DateTime_ParseDateTime(*args
, **kwargs
)
3354 def ParseDate(*args
, **kwargs
):
3355 """ParseDate(wxString date) -> int"""
3356 return _misc
.DateTime_ParseDate(*args
, **kwargs
)
3358 def ParseTime(*args
, **kwargs
):
3359 """ParseTime(wxString time) -> int"""
3360 return _misc
.DateTime_ParseTime(*args
, **kwargs
)
3362 def Format(*args
, **kwargs
):
3363 """Format(wxString format=wxPyDateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -> wxString"""
3364 return _misc
.DateTime_Format(*args
, **kwargs
)
3366 def FormatDate(*args
, **kwargs
):
3367 """FormatDate() -> wxString"""
3368 return _misc
.DateTime_FormatDate(*args
, **kwargs
)
3370 def FormatTime(*args
, **kwargs
):
3371 """FormatTime() -> wxString"""
3372 return _misc
.DateTime_FormatTime(*args
, **kwargs
)
3374 def FormatISODate(*args
, **kwargs
):
3375 """FormatISODate() -> wxString"""
3376 return _misc
.DateTime_FormatISODate(*args
, **kwargs
)
3378 def FormatISOTime(*args
, **kwargs
):
3379 """FormatISOTime() -> wxString"""
3380 return _misc
.DateTime_FormatISOTime(*args
, **kwargs
)
3383 return '<wxDateTime: \"%s\" at %s>' % ( self
.Format(), self
.this
)
3385 return self
.Format()
3388 class DateTimePtr(DateTime
):
3389 def __init__(self
, this
):
3391 if not hasattr(self
,"thisown"): self
.thisown
= 0
3392 self
.__class
__ = DateTime
3393 _misc
.DateTime_swigregister(DateTimePtr
)
3395 def DateTime_SetCountry(*args
, **kwargs
):
3396 """DateTime_SetCountry(wxDateTime::Country country)"""
3397 return _misc
.DateTime_SetCountry(*args
, **kwargs
)
3399 def DateTime_GetCountry(*args
, **kwargs
):
3400 """DateTime_GetCountry() -> wxDateTime::Country"""
3401 return _misc
.DateTime_GetCountry(*args
, **kwargs
)
3403 def DateTime_IsWestEuropeanCountry(*args
, **kwargs
):
3404 """DateTime_IsWestEuropeanCountry(wxDateTime::Country country=Country_Default) -> bool"""
3405 return _misc
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
)
3407 def DateTime_GetCurrentYear(*args
, **kwargs
):
3408 """DateTime_GetCurrentYear(wxDateTime::Calendar cal=Gregorian) -> int"""
3409 return _misc
.DateTime_GetCurrentYear(*args
, **kwargs
)
3411 def DateTime_ConvertYearToBC(*args
, **kwargs
):
3412 """DateTime_ConvertYearToBC(int year) -> int"""
3413 return _misc
.DateTime_ConvertYearToBC(*args
, **kwargs
)
3415 def DateTime_GetCurrentMonth(*args
, **kwargs
):
3416 """DateTime_GetCurrentMonth(wxDateTime::Calendar cal=Gregorian) -> wxDateTime::Month"""
3417 return _misc
.DateTime_GetCurrentMonth(*args
, **kwargs
)
3419 def DateTime_IsLeapYear(*args
, **kwargs
):
3420 """DateTime_IsLeapYear(int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> bool"""
3421 return _misc
.DateTime_IsLeapYear(*args
, **kwargs
)
3423 def DateTime_GetCentury(*args
, **kwargs
):
3424 """DateTime_GetCentury(int year=Inv_Year) -> int"""
3425 return _misc
.DateTime_GetCentury(*args
, **kwargs
)
3427 def DateTime_GetNumberOfDaysinYear(*args
, **kwargs
):
3428 """DateTime_GetNumberOfDaysinYear(int year, wxDateTime::Calendar cal=Gregorian) -> int"""
3429 return _misc
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
)
3431 def DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
):
3432 """DateTime_GetNumberOfDaysInMonth(wxDateTime::Month month, int year=Inv_Year, wxDateTime::Calendar cal=Gregorian) -> int"""
3433 return _misc
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
)
3435 def DateTime_GetMonthName(*args
, **kwargs
):
3436 """DateTime_GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
3437 return _misc
.DateTime_GetMonthName(*args
, **kwargs
)
3439 def DateTime_GetWeekDayName(*args
, **kwargs
):
3440 """DateTime_GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags=Name_Full) -> wxString"""
3441 return _misc
.DateTime_GetWeekDayName(*args
, **kwargs
)
3443 def DateTime_GetAmPmStrings(*args
, **kwargs
):
3445 GetAmPmStrings() -> (am, pm)
3447 Get the AM and PM strings in the current locale (may be empty)
3449 return _misc
.DateTime_GetAmPmStrings(*args
, **kwargs
)
3451 def DateTime_IsDSTApplicable(*args
, **kwargs
):
3452 """DateTime_IsDSTApplicable(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> bool"""
3453 return _misc
.DateTime_IsDSTApplicable(*args
, **kwargs
)
3455 def DateTime_GetBeginDST(*args
, **kwargs
):
3456 """DateTime_GetBeginDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
3457 return _misc
.DateTime_GetBeginDST(*args
, **kwargs
)
3459 def DateTime_GetEndDST(*args
, **kwargs
):
3460 """DateTime_GetEndDST(int year=Inv_Year, wxDateTime::Country country=Country_Default) -> DateTime"""
3461 return _misc
.DateTime_GetEndDST(*args
, **kwargs
)
3463 def DateTime_Now(*args
, **kwargs
):
3464 """DateTime_Now() -> DateTime"""
3465 return _misc
.DateTime_Now(*args
, **kwargs
)
3467 def DateTime_UNow(*args
, **kwargs
):
3468 """DateTime_UNow() -> DateTime"""
3469 return _misc
.DateTime_UNow(*args
, **kwargs
)
3471 def DateTime_Today(*args
, **kwargs
):
3472 """DateTime_Today() -> DateTime"""
3473 return _misc
.DateTime_Today(*args
, **kwargs
)
3475 def DateTimeFromTimeT(*args
, **kwargs
):
3476 """DateTimeFromTimeT(time_t timet) -> DateTime"""
3477 val
= _misc
.new_DateTimeFromTimeT(*args
, **kwargs
)
3481 def DateTimeFromJDN(*args
, **kwargs
):
3482 """DateTimeFromJDN(double jdn) -> DateTime"""
3483 val
= _misc
.new_DateTimeFromJDN(*args
, **kwargs
)
3487 def DateTimeFromHMS(*args
, **kwargs
):
3488 """DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
3489 val
= _misc
.new_DateTimeFromHMS(*args
, **kwargs
)
3493 def DateTimeFromDMY(*args
, **kwargs
):
3495 DateTimeFromDMY(int day, wxDateTime::Month month=Inv_Month, int year=Inv_Year,
3496 int hour=0, int minute=0, int second=0,
3497 int millisec=0) -> DateTime
3499 val
= _misc
.new_DateTimeFromDMY(*args
, **kwargs
)
3503 class TimeSpan(object):
3505 return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3506 def Seconds(*args
, **kwargs
):
3507 """TimeSpan.Seconds(long sec) -> TimeSpan"""
3508 return _misc
.TimeSpan_Seconds(*args
, **kwargs
)
3510 Seconds
= staticmethod(Seconds
)
3511 def Second(*args
, **kwargs
):
3512 """TimeSpan.Second() -> TimeSpan"""
3513 return _misc
.TimeSpan_Second(*args
, **kwargs
)
3515 Second
= staticmethod(Second
)
3516 def Minutes(*args
, **kwargs
):
3517 """TimeSpan.Minutes(long min) -> TimeSpan"""
3518 return _misc
.TimeSpan_Minutes(*args
, **kwargs
)
3520 Minutes
= staticmethod(Minutes
)
3521 def Minute(*args
, **kwargs
):
3522 """TimeSpan.Minute() -> TimeSpan"""
3523 return _misc
.TimeSpan_Minute(*args
, **kwargs
)
3525 Minute
= staticmethod(Minute
)
3526 def Hours(*args
, **kwargs
):
3527 """TimeSpan.Hours(long hours) -> TimeSpan"""
3528 return _misc
.TimeSpan_Hours(*args
, **kwargs
)
3530 Hours
= staticmethod(Hours
)
3531 def Hour(*args
, **kwargs
):
3532 """TimeSpan.Hour() -> TimeSpan"""
3533 return _misc
.TimeSpan_Hour(*args
, **kwargs
)
3535 Hour
= staticmethod(Hour
)
3536 def Days(*args
, **kwargs
):
3537 """TimeSpan.Days(long days) -> TimeSpan"""
3538 return _misc
.TimeSpan_Days(*args
, **kwargs
)
3540 Days
= staticmethod(Days
)
3541 def Day(*args
, **kwargs
):
3542 """TimeSpan.Day() -> TimeSpan"""
3543 return _misc
.TimeSpan_Day(*args
, **kwargs
)
3545 Day
= staticmethod(Day
)
3546 def Weeks(*args
, **kwargs
):
3547 """TimeSpan.Weeks(long days) -> TimeSpan"""
3548 return _misc
.TimeSpan_Weeks(*args
, **kwargs
)
3550 Weeks
= staticmethod(Weeks
)
3551 def Week(*args
, **kwargs
):
3552 """TimeSpan.Week() -> TimeSpan"""
3553 return _misc
.TimeSpan_Week(*args
, **kwargs
)
3555 Week
= staticmethod(Week
)
3556 def __init__(self
, *args
, **kwargs
):
3557 """__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan"""
3558 newobj
= _misc
.new_TimeSpan(*args
, **kwargs
)
3559 self
.this
= newobj
.this
3562 def __del__(self
, destroy
=_misc
.delete_TimeSpan
):
3565 if self
.thisown
: destroy(self
)
3568 def Add(*args
, **kwargs
):
3569 """Add(TimeSpan diff) -> TimeSpan"""
3570 return _misc
.TimeSpan_Add(*args
, **kwargs
)
3572 def Subtract(*args
, **kwargs
):
3573 """Subtract(TimeSpan diff) -> TimeSpan"""
3574 return _misc
.TimeSpan_Subtract(*args
, **kwargs
)
3576 def Multiply(*args
, **kwargs
):
3577 """Multiply(int n) -> TimeSpan"""
3578 return _misc
.TimeSpan_Multiply(*args
, **kwargs
)
3580 def Neg(*args
, **kwargs
):
3581 """Neg() -> TimeSpan"""
3582 return _misc
.TimeSpan_Neg(*args
, **kwargs
)
3584 def Abs(*args
, **kwargs
):
3585 """Abs() -> TimeSpan"""
3586 return _misc
.TimeSpan_Abs(*args
, **kwargs
)
3588 def __iadd__(*args
, **kwargs
):
3589 """__iadd__(TimeSpan diff) -> TimeSpan"""
3590 return _misc
.TimeSpan___iadd__(*args
, **kwargs
)
3592 def __isub__(*args
, **kwargs
):
3593 """__isub__(TimeSpan diff) -> TimeSpan"""
3594 return _misc
.TimeSpan___isub__(*args
, **kwargs
)
3596 def __imul__(*args
, **kwargs
):
3597 """__imul__(int n) -> TimeSpan"""
3598 return _misc
.TimeSpan___imul__(*args
, **kwargs
)
3600 def __neg__(*args
, **kwargs
):
3601 """__neg__() -> TimeSpan"""
3602 return _misc
.TimeSpan___neg__(*args
, **kwargs
)
3604 def __add__(*args
, **kwargs
):
3605 """__add__(TimeSpan other) -> TimeSpan"""
3606 return _misc
.TimeSpan___add__(*args
, **kwargs
)
3608 def __sub__(*args
, **kwargs
):
3609 """__sub__(TimeSpan other) -> TimeSpan"""
3610 return _misc
.TimeSpan___sub__(*args
, **kwargs
)
3612 def __mul__(*args
, **kwargs
):
3613 """__mul__(int n) -> TimeSpan"""
3614 return _misc
.TimeSpan___mul__(*args
, **kwargs
)
3616 def __rmul__(*args
, **kwargs
):
3617 """__rmul__(int n) -> TimeSpan"""
3618 return _misc
.TimeSpan___rmul__(*args
, **kwargs
)
3620 def __lt__(*args
, **kwargs
):
3621 """__lt__(TimeSpan other) -> bool"""
3622 return _misc
.TimeSpan___lt__(*args
, **kwargs
)
3624 def __le__(*args
, **kwargs
):
3625 """__le__(TimeSpan other) -> bool"""
3626 return _misc
.TimeSpan___le__(*args
, **kwargs
)
3628 def __gt__(*args
, **kwargs
):
3629 """__gt__(TimeSpan other) -> bool"""
3630 return _misc
.TimeSpan___gt__(*args
, **kwargs
)
3632 def __ge__(*args
, **kwargs
):
3633 """__ge__(TimeSpan other) -> bool"""
3634 return _misc
.TimeSpan___ge__(*args
, **kwargs
)
3636 def __eq__(*args
, **kwargs
):
3637 """__eq__(TimeSpan other) -> bool"""
3638 return _misc
.TimeSpan___eq__(*args
, **kwargs
)
3640 def __ne__(*args
, **kwargs
):
3641 """__ne__(TimeSpan other) -> bool"""
3642 return _misc
.TimeSpan___ne__(*args
, **kwargs
)
3644 def IsNull(*args
, **kwargs
):
3645 """IsNull() -> bool"""
3646 return _misc
.TimeSpan_IsNull(*args
, **kwargs
)
3648 def IsPositive(*args
, **kwargs
):
3649 """IsPositive() -> bool"""
3650 return _misc
.TimeSpan_IsPositive(*args
, **kwargs
)
3652 def IsNegative(*args
, **kwargs
):
3653 """IsNegative() -> bool"""
3654 return _misc
.TimeSpan_IsNegative(*args
, **kwargs
)
3656 def IsEqualTo(*args
, **kwargs
):
3657 """IsEqualTo(TimeSpan ts) -> bool"""
3658 return _misc
.TimeSpan_IsEqualTo(*args
, **kwargs
)
3660 def IsLongerThan(*args
, **kwargs
):
3661 """IsLongerThan(TimeSpan ts) -> bool"""
3662 return _misc
.TimeSpan_IsLongerThan(*args
, **kwargs
)
3664 def IsShorterThan(*args
, **kwargs
):
3665 """IsShorterThan(TimeSpan t) -> bool"""
3666 return _misc
.TimeSpan_IsShorterThan(*args
, **kwargs
)
3668 def GetWeeks(*args
, **kwargs
):
3669 """GetWeeks() -> int"""
3670 return _misc
.TimeSpan_GetWeeks(*args
, **kwargs
)
3672 def GetDays(*args
, **kwargs
):
3673 """GetDays() -> int"""
3674 return _misc
.TimeSpan_GetDays(*args
, **kwargs
)
3676 def GetHours(*args
, **kwargs
):
3677 """GetHours() -> int"""
3678 return _misc
.TimeSpan_GetHours(*args
, **kwargs
)
3680 def GetMinutes(*args
, **kwargs
):
3681 """GetMinutes() -> int"""
3682 return _misc
.TimeSpan_GetMinutes(*args
, **kwargs
)
3684 def GetSeconds(*args
, **kwargs
):
3685 """GetSeconds() -> wxLongLong"""
3686 return _misc
.TimeSpan_GetSeconds(*args
, **kwargs
)
3688 def GetMilliseconds(*args
, **kwargs
):
3689 """GetMilliseconds() -> wxLongLong"""
3690 return _misc
.TimeSpan_GetMilliseconds(*args
, **kwargs
)
3692 def Format(*args
, **kwargs
):
3693 """Format(wxString format=wxPyTimeSpanFormatStr) -> wxString"""
3694 return _misc
.TimeSpan_Format(*args
, **kwargs
)
3697 return '<wxTimeSpan: \"%s\" at %s>' % ( self
.Format(), self
.this
)
3699 return self
.Format()
3702 class TimeSpanPtr(TimeSpan
):
3703 def __init__(self
, this
):
3705 if not hasattr(self
,"thisown"): self
.thisown
= 0
3706 self
.__class
__ = TimeSpan
3707 _misc
.TimeSpan_swigregister(TimeSpanPtr
)
3709 def TimeSpan_Seconds(*args
, **kwargs
):
3710 """TimeSpan_Seconds(long sec) -> TimeSpan"""
3711 return _misc
.TimeSpan_Seconds(*args
, **kwargs
)
3713 def TimeSpan_Second(*args
, **kwargs
):
3714 """TimeSpan_Second() -> TimeSpan"""
3715 return _misc
.TimeSpan_Second(*args
, **kwargs
)
3717 def TimeSpan_Minutes(*args
, **kwargs
):
3718 """TimeSpan_Minutes(long min) -> TimeSpan"""
3719 return _misc
.TimeSpan_Minutes(*args
, **kwargs
)
3721 def TimeSpan_Minute(*args
, **kwargs
):
3722 """TimeSpan_Minute() -> TimeSpan"""
3723 return _misc
.TimeSpan_Minute(*args
, **kwargs
)
3725 def TimeSpan_Hours(*args
, **kwargs
):
3726 """TimeSpan_Hours(long hours) -> TimeSpan"""
3727 return _misc
.TimeSpan_Hours(*args
, **kwargs
)
3729 def TimeSpan_Hour(*args
, **kwargs
):
3730 """TimeSpan_Hour() -> TimeSpan"""
3731 return _misc
.TimeSpan_Hour(*args
, **kwargs
)
3733 def TimeSpan_Days(*args
, **kwargs
):
3734 """TimeSpan_Days(long days) -> TimeSpan"""
3735 return _misc
.TimeSpan_Days(*args
, **kwargs
)
3737 def TimeSpan_Day(*args
, **kwargs
):
3738 """TimeSpan_Day() -> TimeSpan"""
3739 return _misc
.TimeSpan_Day(*args
, **kwargs
)
3741 def TimeSpan_Weeks(*args
, **kwargs
):
3742 """TimeSpan_Weeks(long days) -> TimeSpan"""
3743 return _misc
.TimeSpan_Weeks(*args
, **kwargs
)
3745 def TimeSpan_Week(*args
, **kwargs
):
3746 """TimeSpan_Week() -> TimeSpan"""
3747 return _misc
.TimeSpan_Week(*args
, **kwargs
)
3749 class DateSpan(object):
3751 return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3752 def __init__(self
, *args
, **kwargs
):
3753 """__init__(int years=0, int months=0, int weeks=0, int days=0) -> DateSpan"""
3754 newobj
= _misc
.new_DateSpan(*args
, **kwargs
)
3755 self
.this
= newobj
.this
3758 def __del__(self
, destroy
=_misc
.delete_DateSpan
):
3761 if self
.thisown
: destroy(self
)
3764 def Days(*args
, **kwargs
):
3765 """DateSpan.Days(int days) -> DateSpan"""
3766 return _misc
.DateSpan_Days(*args
, **kwargs
)
3768 Days
= staticmethod(Days
)
3769 def Day(*args
, **kwargs
):
3770 """DateSpan.Day() -> DateSpan"""
3771 return _misc
.DateSpan_Day(*args
, **kwargs
)
3773 Day
= staticmethod(Day
)
3774 def Weeks(*args
, **kwargs
):
3775 """DateSpan.Weeks(int weeks) -> DateSpan"""
3776 return _misc
.DateSpan_Weeks(*args
, **kwargs
)
3778 Weeks
= staticmethod(Weeks
)
3779 def Week(*args
, **kwargs
):
3780 """DateSpan.Week() -> DateSpan"""
3781 return _misc
.DateSpan_Week(*args
, **kwargs
)
3783 Week
= staticmethod(Week
)
3784 def Months(*args
, **kwargs
):
3785 """DateSpan.Months(int mon) -> DateSpan"""
3786 return _misc
.DateSpan_Months(*args
, **kwargs
)
3788 Months
= staticmethod(Months
)
3789 def Month(*args
, **kwargs
):
3790 """DateSpan.Month() -> DateSpan"""
3791 return _misc
.DateSpan_Month(*args
, **kwargs
)
3793 Month
= staticmethod(Month
)
3794 def Years(*args
, **kwargs
):
3795 """DateSpan.Years(int years) -> DateSpan"""
3796 return _misc
.DateSpan_Years(*args
, **kwargs
)
3798 Years
= staticmethod(Years
)
3799 def Year(*args
, **kwargs
):
3800 """DateSpan.Year() -> DateSpan"""
3801 return _misc
.DateSpan_Year(*args
, **kwargs
)
3803 Year
= staticmethod(Year
)
3804 def SetYears(*args
, **kwargs
):
3805 """SetYears(int n) -> DateSpan"""
3806 return _misc
.DateSpan_SetYears(*args
, **kwargs
)
3808 def SetMonths(*args
, **kwargs
):
3809 """SetMonths(int n) -> DateSpan"""
3810 return _misc
.DateSpan_SetMonths(*args
, **kwargs
)
3812 def SetWeeks(*args
, **kwargs
):
3813 """SetWeeks(int n) -> DateSpan"""
3814 return _misc
.DateSpan_SetWeeks(*args
, **kwargs
)
3816 def SetDays(*args
, **kwargs
):
3817 """SetDays(int n) -> DateSpan"""
3818 return _misc
.DateSpan_SetDays(*args
, **kwargs
)
3820 def GetYears(*args
, **kwargs
):
3821 """GetYears() -> int"""
3822 return _misc
.DateSpan_GetYears(*args
, **kwargs
)
3824 def GetMonths(*args
, **kwargs
):
3825 """GetMonths() -> int"""
3826 return _misc
.DateSpan_GetMonths(*args
, **kwargs
)
3828 def GetWeeks(*args
, **kwargs
):
3829 """GetWeeks() -> int"""
3830 return _misc
.DateSpan_GetWeeks(*args
, **kwargs
)
3832 def GetDays(*args
, **kwargs
):
3833 """GetDays() -> int"""
3834 return _misc
.DateSpan_GetDays(*args
, **kwargs
)
3836 def GetTotalDays(*args
, **kwargs
):
3837 """GetTotalDays() -> int"""
3838 return _misc
.DateSpan_GetTotalDays(*args
, **kwargs
)
3840 def Add(*args
, **kwargs
):
3841 """Add(DateSpan other) -> DateSpan"""
3842 return _misc
.DateSpan_Add(*args
, **kwargs
)
3844 def Subtract(*args
, **kwargs
):
3845 """Subtract(DateSpan other) -> DateSpan"""
3846 return _misc
.DateSpan_Subtract(*args
, **kwargs
)
3848 def Neg(*args
, **kwargs
):
3849 """Neg() -> DateSpan"""
3850 return _misc
.DateSpan_Neg(*args
, **kwargs
)
3852 def Multiply(*args
, **kwargs
):
3853 """Multiply(int factor) -> DateSpan"""
3854 return _misc
.DateSpan_Multiply(*args
, **kwargs
)
3856 def __iadd__(*args
, **kwargs
):
3857 """__iadd__(DateSpan other) -> DateSpan"""
3858 return _misc
.DateSpan___iadd__(*args
, **kwargs
)
3860 def __isub__(*args
, **kwargs
):
3861 """__isub__(DateSpan other) -> DateSpan"""
3862 return _misc
.DateSpan___isub__(*args
, **kwargs
)
3864 def __neg__(*args
, **kwargs
):
3865 """__neg__() -> DateSpan"""
3866 return _misc
.DateSpan___neg__(*args
, **kwargs
)
3868 def __imul__(*args
, **kwargs
):
3869 """__imul__(int factor) -> DateSpan"""
3870 return _misc
.DateSpan___imul__(*args
, **kwargs
)
3872 def __add__(*args
, **kwargs
):
3873 """__add__(DateSpan other) -> DateSpan"""
3874 return _misc
.DateSpan___add__(*args
, **kwargs
)
3876 def __sub__(*args
, **kwargs
):
3877 """__sub__(DateSpan other) -> DateSpan"""
3878 return _misc
.DateSpan___sub__(*args
, **kwargs
)
3880 def __mul__(*args
, **kwargs
):
3881 """__mul__(int n) -> DateSpan"""
3882 return _misc
.DateSpan___mul__(*args
, **kwargs
)
3884 def __rmul__(*args
, **kwargs
):
3885 """__rmul__(int n) -> DateSpan"""
3886 return _misc
.DateSpan___rmul__(*args
, **kwargs
)
3888 def __eq__(*args
, **kwargs
):
3889 """__eq__(DateSpan other) -> bool"""
3890 return _misc
.DateSpan___eq__(*args
, **kwargs
)
3892 def __ne__(*args
, **kwargs
):
3893 """__ne__(DateSpan other) -> bool"""
3894 return _misc
.DateSpan___ne__(*args
, **kwargs
)
3897 class DateSpanPtr(DateSpan
):
3898 def __init__(self
, this
):
3900 if not hasattr(self
,"thisown"): self
.thisown
= 0
3901 self
.__class
__ = DateSpan
3902 _misc
.DateSpan_swigregister(DateSpanPtr
)
3904 def DateSpan_Days(*args
, **kwargs
):
3905 """DateSpan_Days(int days) -> DateSpan"""
3906 return _misc
.DateSpan_Days(*args
, **kwargs
)
3908 def DateSpan_Day(*args
, **kwargs
):
3909 """DateSpan_Day() -> DateSpan"""
3910 return _misc
.DateSpan_Day(*args
, **kwargs
)
3912 def DateSpan_Weeks(*args
, **kwargs
):
3913 """DateSpan_Weeks(int weeks) -> DateSpan"""
3914 return _misc
.DateSpan_Weeks(*args
, **kwargs
)
3916 def DateSpan_Week(*args
, **kwargs
):
3917 """DateSpan_Week() -> DateSpan"""
3918 return _misc
.DateSpan_Week(*args
, **kwargs
)
3920 def DateSpan_Months(*args
, **kwargs
):
3921 """DateSpan_Months(int mon) -> DateSpan"""
3922 return _misc
.DateSpan_Months(*args
, **kwargs
)
3924 def DateSpan_Month(*args
, **kwargs
):
3925 """DateSpan_Month() -> DateSpan"""
3926 return _misc
.DateSpan_Month(*args
, **kwargs
)
3928 def DateSpan_Years(*args
, **kwargs
):
3929 """DateSpan_Years(int years) -> DateSpan"""
3930 return _misc
.DateSpan_Years(*args
, **kwargs
)
3932 def DateSpan_Year(*args
, **kwargs
):
3933 """DateSpan_Year() -> DateSpan"""
3934 return _misc
.DateSpan_Year(*args
, **kwargs
)
3937 def GetLocalTime(*args
, **kwargs
):
3938 """GetLocalTime() -> long"""
3939 return _misc
.GetLocalTime(*args
, **kwargs
)
3941 def GetUTCTime(*args
, **kwargs
):
3942 """GetUTCTime() -> long"""
3943 return _misc
.GetUTCTime(*args
, **kwargs
)
3945 def GetCurrentTime(*args
, **kwargs
):
3946 """GetCurrentTime() -> long"""
3947 return _misc
.GetCurrentTime(*args
, **kwargs
)
3949 def GetLocalTimeMillis(*args
, **kwargs
):
3950 """GetLocalTimeMillis() -> wxLongLong"""
3951 return _misc
.GetLocalTimeMillis(*args
, **kwargs
)
3952 #---------------------------------------------------------------------------
3954 DF_INVALID
= _misc
.DF_INVALID
3955 DF_TEXT
= _misc
.DF_TEXT
3956 DF_BITMAP
= _misc
.DF_BITMAP
3957 DF_METAFILE
= _misc
.DF_METAFILE
3958 DF_SYLK
= _misc
.DF_SYLK
3959 DF_DIF
= _misc
.DF_DIF
3960 DF_TIFF
= _misc
.DF_TIFF
3961 DF_OEMTEXT
= _misc
.DF_OEMTEXT
3962 DF_DIB
= _misc
.DF_DIB
3963 DF_PALETTE
= _misc
.DF_PALETTE
3964 DF_PENDATA
= _misc
.DF_PENDATA
3965 DF_RIFF
= _misc
.DF_RIFF
3966 DF_WAVE
= _misc
.DF_WAVE
3967 DF_UNICODETEXT
= _misc
.DF_UNICODETEXT
3968 DF_ENHMETAFILE
= _misc
.DF_ENHMETAFILE
3969 DF_FILENAME
= _misc
.DF_FILENAME
3970 DF_LOCALE
= _misc
.DF_LOCALE
3971 DF_PRIVATE
= _misc
.DF_PRIVATE
3972 DF_HTML
= _misc
.DF_HTML
3973 DF_MAX
= _misc
.DF_MAX
3974 class DataFormat(object):
3976 return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
3977 def __init__(self
, *args
, **kwargs
):
3978 """__init__(wxDataFormatId type) -> DataFormat"""
3979 newobj
= _misc
.new_DataFormat(*args
, **kwargs
)
3980 self
.this
= newobj
.this
3983 def __del__(self
, destroy
=_misc
.delete_DataFormat
):
3986 if self
.thisown
: destroy(self
)
3991 __eq__(wxDataFormatId format) -> bool
3992 __eq__(DataFormat format) -> bool
3994 return _misc
.DataFormat___eq__(*args
)
3998 __ne__(wxDataFormatId format) -> bool
3999 __ne__(DataFormat format) -> bool
4001 return _misc
.DataFormat___ne__(*args
)
4003 def SetType(*args
, **kwargs
):
4004 """SetType(wxDataFormatId format)"""
4005 return _misc
.DataFormat_SetType(*args
, **kwargs
)
4007 def GetType(*args
, **kwargs
):
4008 """GetType() -> wxDataFormatId"""
4009 return _misc
.DataFormat_GetType(*args
, **kwargs
)
4011 def GetId(*args
, **kwargs
):
4012 """GetId() -> wxString"""
4013 return _misc
.DataFormat_GetId(*args
, **kwargs
)
4015 def SetId(*args
, **kwargs
):
4016 """SetId(wxString format)"""
4017 return _misc
.DataFormat_SetId(*args
, **kwargs
)
4020 class DataFormatPtr(DataFormat
):
4021 def __init__(self
, this
):
4023 if not hasattr(self
,"thisown"): self
.thisown
= 0
4024 self
.__class
__ = DataFormat
4025 _misc
.DataFormat_swigregister(DataFormatPtr
)
4027 def CustomDataFormat(*args
, **kwargs
):
4028 """CustomDataFormat(wxString format) -> DataFormat"""
4029 val
= _misc
.new_CustomDataFormat(*args
, **kwargs
)
4033 class DataObject(object):
4034 def __init__(self
): raise RuntimeError, "No constructor defined"
4036 return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4037 Get
= _misc
.DataObject_Get
4038 Set
= _misc
.DataObject_Set
4039 Both
= _misc
.DataObject_Both
4040 def __del__(self
, destroy
=_misc
.delete_DataObject
):
4043 if self
.thisown
: destroy(self
)
4046 def GetPreferredFormat(*args
, **kwargs
):
4047 """GetPreferredFormat(wxDataObject::Direction dir=Get) -> DataFormat"""
4048 return _misc
.DataObject_GetPreferredFormat(*args
, **kwargs
)
4050 def GetFormatCount(*args
, **kwargs
):
4051 """GetFormatCount(wxDataObject::Direction dir=Get) -> size_t"""
4052 return _misc
.DataObject_GetFormatCount(*args
, **kwargs
)
4054 def IsSupported(*args
, **kwargs
):
4055 """IsSupported(DataFormat format, wxDataObject::Direction dir=Get) -> bool"""
4056 return _misc
.DataObject_IsSupported(*args
, **kwargs
)
4058 def GetDataSize(*args
, **kwargs
):
4059 """GetDataSize(DataFormat format) -> size_t"""
4060 return _misc
.DataObject_GetDataSize(*args
, **kwargs
)
4062 def GetAllFormats(*args
, **kwargs
):
4063 """GetAllFormats(DataFormat formats, wxDataObject::Direction dir=Get)"""
4064 return _misc
.DataObject_GetAllFormats(*args
, **kwargs
)
4066 def GetDataHere(*args
, **kwargs
):
4067 """GetDataHere(DataFormat format, void buf) -> bool"""
4068 return _misc
.DataObject_GetDataHere(*args
, **kwargs
)
4070 def SetData(*args
, **kwargs
):
4071 """SetData(DataFormat format, size_t len, void buf) -> bool"""
4072 return _misc
.DataObject_SetData(*args
, **kwargs
)
4075 class DataObjectPtr(DataObject
):
4076 def __init__(self
, this
):
4078 if not hasattr(self
,"thisown"): self
.thisown
= 0
4079 self
.__class
__ = DataObject
4080 _misc
.DataObject_swigregister(DataObjectPtr
)
4081 FormatInvalid
= cvar
.FormatInvalid
4083 class DataObjectSimple(DataObject
):
4085 return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4086 def __init__(self
, *args
, **kwargs
):
4087 """__init__(DataFormat format=FormatInvalid) -> DataObjectSimple"""
4088 newobj
= _misc
.new_DataObjectSimple(*args
, **kwargs
)
4089 self
.this
= newobj
.this
4092 def GetFormat(*args
, **kwargs
):
4093 """GetFormat() -> DataFormat"""
4094 return _misc
.DataObjectSimple_GetFormat(*args
, **kwargs
)
4096 def SetFormat(*args
, **kwargs
):
4097 """SetFormat(DataFormat format)"""
4098 return _misc
.DataObjectSimple_SetFormat(*args
, **kwargs
)
4101 class DataObjectSimplePtr(DataObjectSimple
):
4102 def __init__(self
, this
):
4104 if not hasattr(self
,"thisown"): self
.thisown
= 0
4105 self
.__class
__ = DataObjectSimple
4106 _misc
.DataObjectSimple_swigregister(DataObjectSimplePtr
)
4108 class PyDataObjectSimple(DataObjectSimple
):
4110 return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4111 def __init__(self
, *args
, **kwargs
):
4112 """__init__(DataFormat format=FormatInvalid) -> PyDataObjectSimple"""
4113 newobj
= _misc
.new_PyDataObjectSimple(*args
, **kwargs
)
4114 self
.this
= newobj
.this
4117 self
._setCallbackInfo
(self
, PyDataObjectSimple
)
4119 def _setCallbackInfo(*args
, **kwargs
):
4120 """_setCallbackInfo(PyObject self, PyObject _class)"""
4121 return _misc
.PyDataObjectSimple__setCallbackInfo(*args
, **kwargs
)
4124 class PyDataObjectSimplePtr(PyDataObjectSimple
):
4125 def __init__(self
, this
):
4127 if not hasattr(self
,"thisown"): self
.thisown
= 0
4128 self
.__class
__ = PyDataObjectSimple
4129 _misc
.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr
)
4131 class DataObjectComposite(DataObject
):
4133 return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4134 def __init__(self
, *args
, **kwargs
):
4135 """__init__() -> DataObjectComposite"""
4136 newobj
= _misc
.new_DataObjectComposite(*args
, **kwargs
)
4137 self
.this
= newobj
.this
4140 def Add(*args
, **kwargs
):
4141 """Add(DataObjectSimple dataObject, int preferred=False)"""
4142 val
= _misc
.DataObjectComposite_Add(*args
, **kwargs
)
4147 class DataObjectCompositePtr(DataObjectComposite
):
4148 def __init__(self
, this
):
4150 if not hasattr(self
,"thisown"): self
.thisown
= 0
4151 self
.__class
__ = DataObjectComposite
4152 _misc
.DataObjectComposite_swigregister(DataObjectCompositePtr
)
4154 class TextDataObject(DataObjectSimple
):
4156 return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4157 def __init__(self
, *args
, **kwargs
):
4158 """__init__(wxString text=wxPyEmptyString) -> TextDataObject"""
4159 newobj
= _misc
.new_TextDataObject(*args
, **kwargs
)
4160 self
.this
= newobj
.this
4163 def GetTextLength(*args
, **kwargs
):
4164 """GetTextLength() -> size_t"""
4165 return _misc
.TextDataObject_GetTextLength(*args
, **kwargs
)
4167 def GetText(*args
, **kwargs
):
4168 """GetText() -> wxString"""
4169 return _misc
.TextDataObject_GetText(*args
, **kwargs
)
4171 def SetText(*args
, **kwargs
):
4172 """SetText(wxString text)"""
4173 return _misc
.TextDataObject_SetText(*args
, **kwargs
)
4176 class TextDataObjectPtr(TextDataObject
):
4177 def __init__(self
, this
):
4179 if not hasattr(self
,"thisown"): self
.thisown
= 0
4180 self
.__class
__ = TextDataObject
4181 _misc
.TextDataObject_swigregister(TextDataObjectPtr
)
4183 class PyTextDataObject(TextDataObject
):
4185 return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4186 def __init__(self
, *args
, **kwargs
):
4187 """__init__(wxString text=wxPyEmptyString) -> PyTextDataObject"""
4188 newobj
= _misc
.new_PyTextDataObject(*args
, **kwargs
)
4189 self
.this
= newobj
.this
4192 self
._setCallbackInfo
(self
, PyTextDataObject
)
4194 def _setCallbackInfo(*args
, **kwargs
):
4195 """_setCallbackInfo(PyObject self, PyObject _class)"""
4196 return _misc
.PyTextDataObject__setCallbackInfo(*args
, **kwargs
)
4199 class PyTextDataObjectPtr(PyTextDataObject
):
4200 def __init__(self
, this
):
4202 if not hasattr(self
,"thisown"): self
.thisown
= 0
4203 self
.__class
__ = PyTextDataObject
4204 _misc
.PyTextDataObject_swigregister(PyTextDataObjectPtr
)
4206 class BitmapDataObject(DataObjectSimple
):
4208 return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4209 def __init__(self
, *args
, **kwargs
):
4210 """__init__(wxBitmap bitmap=wxNullBitmap) -> BitmapDataObject"""
4211 newobj
= _misc
.new_BitmapDataObject(*args
, **kwargs
)
4212 self
.this
= newobj
.this
4215 def GetBitmap(*args
, **kwargs
):
4216 """GetBitmap() -> wxBitmap"""
4217 return _misc
.BitmapDataObject_GetBitmap(*args
, **kwargs
)
4219 def SetBitmap(*args
, **kwargs
):
4220 """SetBitmap(wxBitmap bitmap)"""
4221 return _misc
.BitmapDataObject_SetBitmap(*args
, **kwargs
)
4224 class BitmapDataObjectPtr(BitmapDataObject
):
4225 def __init__(self
, this
):
4227 if not hasattr(self
,"thisown"): self
.thisown
= 0
4228 self
.__class
__ = BitmapDataObject
4229 _misc
.BitmapDataObject_swigregister(BitmapDataObjectPtr
)
4231 class PyBitmapDataObject(BitmapDataObject
):
4233 return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4234 def __init__(self
, *args
, **kwargs
):
4235 """__init__(wxBitmap bitmap=wxNullBitmap) -> PyBitmapDataObject"""
4236 newobj
= _misc
.new_PyBitmapDataObject(*args
, **kwargs
)
4237 self
.this
= newobj
.this
4240 self
._setCallbackInfo
(self
, PyBitmapDataObject
)
4242 def _setCallbackInfo(*args
, **kwargs
):
4243 """_setCallbackInfo(PyObject self, PyObject _class)"""
4244 return _misc
.PyBitmapDataObject__setCallbackInfo(*args
, **kwargs
)
4247 class PyBitmapDataObjectPtr(PyBitmapDataObject
):
4248 def __init__(self
, this
):
4250 if not hasattr(self
,"thisown"): self
.thisown
= 0
4251 self
.__class
__ = PyBitmapDataObject
4252 _misc
.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr
)
4254 class FileDataObject(DataObjectSimple
):
4256 return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4257 def __init__(self
, *args
, **kwargs
):
4258 """__init__() -> FileDataObject"""
4259 newobj
= _misc
.new_FileDataObject(*args
, **kwargs
)
4260 self
.this
= newobj
.this
4263 def GetFilenames(*args
, **kwargs
):
4264 """GetFilenames() -> wxArrayString"""
4265 return _misc
.FileDataObject_GetFilenames(*args
, **kwargs
)
4268 class FileDataObjectPtr(FileDataObject
):
4269 def __init__(self
, this
):
4271 if not hasattr(self
,"thisown"): self
.thisown
= 0
4272 self
.__class
__ = FileDataObject
4273 _misc
.FileDataObject_swigregister(FileDataObjectPtr
)
4275 class CustomDataObject(DataObjectSimple
):
4277 return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4278 def __init__(self
, *args
, **kwargs
):
4279 """__init__(DataFormat format=FormatInvalid) -> CustomDataObject"""
4280 newobj
= _misc
.new_CustomDataObject(*args
, **kwargs
)
4281 self
.this
= newobj
.this
4284 def TakeData(*args
, **kwargs
):
4285 """TakeData(PyObject data)"""
4286 return _misc
.CustomDataObject_TakeData(*args
, **kwargs
)
4288 def SetData(*args
, **kwargs
):
4289 """SetData(PyObject data) -> bool"""
4290 return _misc
.CustomDataObject_SetData(*args
, **kwargs
)
4292 def GetSize(*args
, **kwargs
):
4293 """GetSize() -> size_t"""
4294 return _misc
.CustomDataObject_GetSize(*args
, **kwargs
)
4296 def GetData(*args
, **kwargs
):
4297 """GetData() -> PyObject"""
4298 return _misc
.CustomDataObject_GetData(*args
, **kwargs
)
4301 class CustomDataObjectPtr(CustomDataObject
):
4302 def __init__(self
, this
):
4304 if not hasattr(self
,"thisown"): self
.thisown
= 0
4305 self
.__class
__ = CustomDataObject
4306 _misc
.CustomDataObject_swigregister(CustomDataObjectPtr
)
4308 class URLDataObject(DataObjectComposite
):
4310 return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4311 def __init__(self
, *args
, **kwargs
):
4312 """__init__() -> URLDataObject"""
4313 newobj
= _misc
.new_URLDataObject(*args
, **kwargs
)
4314 self
.this
= newobj
.this
4317 def GetURL(*args
, **kwargs
):
4318 """GetURL() -> wxString"""
4319 return _misc
.URLDataObject_GetURL(*args
, **kwargs
)
4321 def SetURL(*args
, **kwargs
):
4322 """SetURL(wxString url)"""
4323 return _misc
.URLDataObject_SetURL(*args
, **kwargs
)
4326 class URLDataObjectPtr(URLDataObject
):
4327 def __init__(self
, this
):
4329 if not hasattr(self
,"thisown"): self
.thisown
= 0
4330 self
.__class
__ = URLDataObject
4331 _misc
.URLDataObject_swigregister(URLDataObjectPtr
)
4333 class MetafileDataObject(DataObjectSimple
):
4335 return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4336 def __init__(self
, *args
, **kwargs
):
4337 """__init__() -> MetafileDataObject"""
4338 newobj
= _misc
.new_MetafileDataObject(*args
, **kwargs
)
4339 self
.this
= newobj
.this
4342 def SetMetafile(*args
, **kwargs
):
4343 """SetMetafile(wxMetafile metafile)"""
4344 return _misc
.MetafileDataObject_SetMetafile(*args
, **kwargs
)
4346 def GetMetafile(*args
, **kwargs
):
4347 """GetMetafile() -> wxMetafile"""
4348 return _misc
.MetafileDataObject_GetMetafile(*args
, **kwargs
)
4351 class MetafileDataObjectPtr(MetafileDataObject
):
4352 def __init__(self
, this
):
4354 if not hasattr(self
,"thisown"): self
.thisown
= 0
4355 self
.__class
__ = MetafileDataObject
4356 _misc
.MetafileDataObject_swigregister(MetafileDataObjectPtr
)
4358 #---------------------------------------------------------------------------
4360 Drag_CopyOnly
= _misc
.Drag_CopyOnly
4361 Drag_AllowMove
= _misc
.Drag_AllowMove
4362 Drag_DefaultMove
= _misc
.Drag_DefaultMove
4363 DragError
= _misc
.DragError
4364 DragNone
= _misc
.DragNone
4365 DragCopy
= _misc
.DragCopy
4366 DragMove
= _misc
.DragMove
4367 DragLink
= _misc
.DragLink
4368 DragCancel
= _misc
.DragCancel
4370 def IsDragResultOk(*args
, **kwargs
):
4371 """IsDragResultOk(wxDragResult res) -> bool"""
4372 return _misc
.IsDragResultOk(*args
, **kwargs
)
4373 class DropSource(object):
4375 return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4376 def __init__(self
, *args
, **kwargs
):
4378 __init__(Window win=None, wxCursor copy=wxNullCursor, wxCursor move=wxNullCursor,
4379 wxCursor none=wxNullCursor) -> DropSource
4381 newobj
= _misc
.new_DropSource(*args
, **kwargs
)
4382 self
.this
= newobj
.this
4385 def _setCallbackInfo(*args
, **kwargs
):
4386 """_setCallbackInfo(PyObject self, PyObject _class, int incref)"""
4387 return _misc
.DropSource__setCallbackInfo(*args
, **kwargs
)
4389 def __del__(self
, destroy
=_misc
.delete_DropSource
):
4392 if self
.thisown
: destroy(self
)
4395 def SetData(*args
, **kwargs
):
4396 """SetData(DataObject data)"""
4397 return _misc
.DropSource_SetData(*args
, **kwargs
)
4399 def GetDataObject(*args
, **kwargs
):
4400 """GetDataObject() -> DataObject"""
4401 return _misc
.DropSource_GetDataObject(*args
, **kwargs
)
4403 def SetCursor(*args
, **kwargs
):
4404 """SetCursor(wxDragResult res, wxCursor cursor)"""
4405 return _misc
.DropSource_SetCursor(*args
, **kwargs
)
4407 def DoDragDrop(*args
, **kwargs
):
4408 """DoDragDrop(int flags=Drag_CopyOnly) -> wxDragResult"""
4409 return _misc
.DropSource_DoDragDrop(*args
, **kwargs
)
4411 def base_GiveFeedback(*args
, **kwargs
):
4412 """base_GiveFeedback(wxDragResult effect) -> bool"""
4413 return _misc
.DropSource_base_GiveFeedback(*args
, **kwargs
)
4416 class DropSourcePtr(DropSource
):
4417 def __init__(self
, this
):
4419 if not hasattr(self
,"thisown"): self
.thisown
= 0
4420 self
.__class
__ = DropSource
4421 _misc
.DropSource_swigregister(DropSourcePtr
)
4423 class DropTarget(object):
4425 return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4426 def __init__(self
, *args
, **kwargs
):
4427 """__init__(DataObject dataObject=None) -> DropTarget"""
4428 newobj
= _misc
.new_DropTarget(*args
, **kwargs
)
4429 self
.this
= newobj
.this
4432 if args
: args
[0].thisown
= 0;
4433 self
._setCallbackInfo
(self
, DropTarget
)
4435 def _setCallbackInfo(*args
, **kwargs
):
4436 """_setCallbackInfo(PyObject self, PyObject _class)"""
4437 return _misc
.DropTarget__setCallbackInfo(*args
, **kwargs
)
4439 def __del__(self
, destroy
=_misc
.delete_DropTarget
):
4442 if self
.thisown
: destroy(self
)
4445 def GetDataObject(*args
, **kwargs
):
4446 """GetDataObject() -> DataObject"""
4447 return _misc
.DropTarget_GetDataObject(*args
, **kwargs
)
4449 def SetDataObject(*args
, **kwargs
):
4450 """SetDataObject(DataObject dataObject)"""
4451 val
= _misc
.DropTarget_SetDataObject(*args
, **kwargs
)
4455 def base_OnEnter(*args
, **kwargs
):
4456 """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult"""
4457 return _misc
.DropTarget_base_OnEnter(*args
, **kwargs
)
4459 def base_OnDragOver(*args
, **kwargs
):
4460 """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult"""
4461 return _misc
.DropTarget_base_OnDragOver(*args
, **kwargs
)
4463 def base_OnLeave(*args
, **kwargs
):
4464 """base_OnLeave()"""
4465 return _misc
.DropTarget_base_OnLeave(*args
, **kwargs
)
4467 def base_OnDrop(*args
, **kwargs
):
4468 """base_OnDrop(int x, int y) -> bool"""
4469 return _misc
.DropTarget_base_OnDrop(*args
, **kwargs
)
4471 def GetData(*args
, **kwargs
):
4472 """GetData() -> bool"""
4473 return _misc
.DropTarget_GetData(*args
, **kwargs
)
4476 class DropTargetPtr(DropTarget
):
4477 def __init__(self
, this
):
4479 if not hasattr(self
,"thisown"): self
.thisown
= 0
4480 self
.__class
__ = DropTarget
4481 _misc
.DropTarget_swigregister(DropTargetPtr
)
4483 PyDropTarget
= DropTarget
4484 class TextDropTarget(DropTarget
):
4486 return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4487 def __init__(self
, *args
, **kwargs
):
4488 """__init__() -> TextDropTarget"""
4489 newobj
= _misc
.new_TextDropTarget(*args
, **kwargs
)
4490 self
.this
= newobj
.this
4493 self
._setCallbackInfo
(self
, TextDropTarget
)
4495 def _setCallbackInfo(*args
, **kwargs
):
4496 """_setCallbackInfo(PyObject self, PyObject _class)"""
4497 return _misc
.TextDropTarget__setCallbackInfo(*args
, **kwargs
)
4499 def base_OnEnter(*args
, **kwargs
):
4500 """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult"""
4501 return _misc
.TextDropTarget_base_OnEnter(*args
, **kwargs
)
4503 def base_OnDragOver(*args
, **kwargs
):
4504 """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult"""
4505 return _misc
.TextDropTarget_base_OnDragOver(*args
, **kwargs
)
4507 def base_OnLeave(*args
, **kwargs
):
4508 """base_OnLeave()"""
4509 return _misc
.TextDropTarget_base_OnLeave(*args
, **kwargs
)
4511 def base_OnDrop(*args
, **kwargs
):
4512 """base_OnDrop(int x, int y) -> bool"""
4513 return _misc
.TextDropTarget_base_OnDrop(*args
, **kwargs
)
4515 def base_OnData(*args
, **kwargs
):
4516 """base_OnData(int x, int y, wxDragResult def) -> wxDragResult"""
4517 return _misc
.TextDropTarget_base_OnData(*args
, **kwargs
)
4520 class TextDropTargetPtr(TextDropTarget
):
4521 def __init__(self
, this
):
4523 if not hasattr(self
,"thisown"): self
.thisown
= 0
4524 self
.__class
__ = TextDropTarget
4525 _misc
.TextDropTarget_swigregister(TextDropTargetPtr
)
4527 class FileDropTarget(DropTarget
):
4529 return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4530 def __init__(self
, *args
, **kwargs
):
4531 """__init__() -> FileDropTarget"""
4532 newobj
= _misc
.new_FileDropTarget(*args
, **kwargs
)
4533 self
.this
= newobj
.this
4536 self
._setCallbackInfo
(self
, FileDropTarget
)
4538 def _setCallbackInfo(*args
, **kwargs
):
4539 """_setCallbackInfo(PyObject self, PyObject _class)"""
4540 return _misc
.FileDropTarget__setCallbackInfo(*args
, **kwargs
)
4542 def base_OnEnter(*args
, **kwargs
):
4543 """base_OnEnter(int x, int y, wxDragResult def) -> wxDragResult"""
4544 return _misc
.FileDropTarget_base_OnEnter(*args
, **kwargs
)
4546 def base_OnDragOver(*args
, **kwargs
):
4547 """base_OnDragOver(int x, int y, wxDragResult def) -> wxDragResult"""
4548 return _misc
.FileDropTarget_base_OnDragOver(*args
, **kwargs
)
4550 def base_OnLeave(*args
, **kwargs
):
4551 """base_OnLeave()"""
4552 return _misc
.FileDropTarget_base_OnLeave(*args
, **kwargs
)
4554 def base_OnDrop(*args
, **kwargs
):
4555 """base_OnDrop(int x, int y) -> bool"""
4556 return _misc
.FileDropTarget_base_OnDrop(*args
, **kwargs
)
4558 def base_OnData(*args
, **kwargs
):
4559 """base_OnData(int x, int y, wxDragResult def) -> wxDragResult"""
4560 return _misc
.FileDropTarget_base_OnData(*args
, **kwargs
)
4563 class FileDropTargetPtr(FileDropTarget
):
4564 def __init__(self
, this
):
4566 if not hasattr(self
,"thisown"): self
.thisown
= 0
4567 self
.__class
__ = FileDropTarget
4568 _misc
.FileDropTarget_swigregister(FileDropTargetPtr
)
4570 #---------------------------------------------------------------------------
4572 class Clipboard(core
.Object
):
4574 return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4575 def __init__(self
, *args
, **kwargs
):
4576 """__init__() -> Clipboard"""
4577 newobj
= _misc
.new_Clipboard(*args
, **kwargs
)
4578 self
.this
= newobj
.this
4581 def __del__(self
, destroy
=_misc
.delete_Clipboard
):
4584 if self
.thisown
: destroy(self
)
4587 def Open(*args
, **kwargs
):
4588 """Open() -> bool"""
4589 return _misc
.Clipboard_Open(*args
, **kwargs
)
4591 def Close(*args
, **kwargs
):
4593 return _misc
.Clipboard_Close(*args
, **kwargs
)
4595 def IsOpened(*args
, **kwargs
):
4596 """IsOpened() -> bool"""
4597 return _misc
.Clipboard_IsOpened(*args
, **kwargs
)
4599 def AddData(*args
, **kwargs
):
4600 """AddData(DataObject data) -> bool"""
4601 return _misc
.Clipboard_AddData(*args
, **kwargs
)
4603 def SetData(*args
, **kwargs
):
4604 """SetData(DataObject data) -> bool"""
4605 return _misc
.Clipboard_SetData(*args
, **kwargs
)
4607 def IsSupported(*args
, **kwargs
):
4608 """IsSupported(DataFormat format) -> bool"""
4609 return _misc
.Clipboard_IsSupported(*args
, **kwargs
)
4611 def GetData(*args
, **kwargs
):
4612 """GetData(DataObject data) -> bool"""
4613 return _misc
.Clipboard_GetData(*args
, **kwargs
)
4615 def Clear(*args
, **kwargs
):
4617 return _misc
.Clipboard_Clear(*args
, **kwargs
)
4619 def Flush(*args
, **kwargs
):
4620 """Flush() -> bool"""
4621 return _misc
.Clipboard_Flush(*args
, **kwargs
)
4623 def UsePrimarySelection(*args
, **kwargs
):
4624 """UsePrimarySelection(bool primary=False)"""
4625 return _misc
.Clipboard_UsePrimarySelection(*args
, **kwargs
)
4628 class ClipboardPtr(Clipboard
):
4629 def __init__(self
, this
):
4631 if not hasattr(self
,"thisown"): self
.thisown
= 0
4632 self
.__class
__ = Clipboard
4633 _misc
.Clipboard_swigregister(ClipboardPtr
)
4635 class ClipboardLocker(object):
4637 return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
4638 def __init__(self
, *args
, **kwargs
):
4639 """__init__(Clipboard clipboard=None) -> ClipboardLocker"""
4640 newobj
= _misc
.new_ClipboardLocker(*args
, **kwargs
)
4641 self
.this
= newobj
.this
4644 def __del__(self
, destroy
=_misc
.delete_ClipboardLocker
):
4647 if self
.thisown
: destroy(self
)
4650 def __nonzero__(*args
, **kwargs
):
4651 """__nonzero__() -> bool"""
4652 return _misc
.ClipboardLocker___nonzero__(*args
, **kwargs
)
4655 class ClipboardLockerPtr(ClipboardLocker
):
4656 def __init__(self
, this
):
4658 if not hasattr(self
,"thisown"): self
.thisown
= 0
4659 self
.__class
__ = ClipboardLocker
4660 _misc
.ClipboardLocker_swigregister(ClipboardLockerPtr
)
4661 TheClipboard
= cvar
.TheClipboard