1 # This file was created automatically by SWIG. 
   2 # Don't modify this file, modify the SWIG interface instead. 
   6 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1): 
   8         if isinstance(value
, class_type
): 
   9             self
.__dict
__[name
] = value
.this
 
  10             if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
 
  13     method 
= class_type
.__swig
_setmethods
__.get(name
,None) 
  14     if method
: return method(self
,value
) 
  15     if (not static
) or hasattr(self
,name
) or (name 
== "thisown"): 
  16         self
.__dict
__[name
] = value
 
  18         raise AttributeError("You cannot add attributes to %s" % self
) 
  20 def _swig_setattr(self
,class_type
,name
,value
): 
  21     return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0) 
  23 def _swig_getattr(self
,class_type
,name
): 
  24     method 
= class_type
.__swig
_getmethods
__.get(name
,None) 
  25     if method
: return method(self
) 
  26     raise AttributeError,name
 
  30     _object 
= types
.ObjectType
 
  32 except AttributeError: 
  38 def _swig_setattr_nondynamic_method(set): 
  39     def set_attr(self
,name
,value
): 
  40         if hasattr(self
,name
) or (name 
in ("this", "thisown")): 
  43             raise AttributeError("You cannot add attributes to %s" % self
) 
  49 #--------------------------------------------------------------------------- 
  51 SYS_OEM_FIXED_FONT 
= _misc_
.SYS_OEM_FIXED_FONT
 
  52 SYS_ANSI_FIXED_FONT 
= _misc_
.SYS_ANSI_FIXED_FONT
 
  53 SYS_ANSI_VAR_FONT 
= _misc_
.SYS_ANSI_VAR_FONT
 
  54 SYS_SYSTEM_FONT 
= _misc_
.SYS_SYSTEM_FONT
 
  55 SYS_DEVICE_DEFAULT_FONT 
= _misc_
.SYS_DEVICE_DEFAULT_FONT
 
  56 SYS_DEFAULT_PALETTE 
= _misc_
.SYS_DEFAULT_PALETTE
 
  57 SYS_SYSTEM_FIXED_FONT 
= _misc_
.SYS_SYSTEM_FIXED_FONT
 
  58 SYS_DEFAULT_GUI_FONT 
= _misc_
.SYS_DEFAULT_GUI_FONT
 
  59 SYS_ICONTITLE_FONT 
= _misc_
.SYS_ICONTITLE_FONT
 
  60 SYS_COLOUR_SCROLLBAR 
= _misc_
.SYS_COLOUR_SCROLLBAR
 
  61 SYS_COLOUR_BACKGROUND 
= _misc_
.SYS_COLOUR_BACKGROUND
 
  62 SYS_COLOUR_DESKTOP 
= _misc_
.SYS_COLOUR_DESKTOP
 
  63 SYS_COLOUR_ACTIVECAPTION 
= _misc_
.SYS_COLOUR_ACTIVECAPTION
 
  64 SYS_COLOUR_INACTIVECAPTION 
= _misc_
.SYS_COLOUR_INACTIVECAPTION
 
  65 SYS_COLOUR_MENU 
= _misc_
.SYS_COLOUR_MENU
 
  66 SYS_COLOUR_WINDOW 
= _misc_
.SYS_COLOUR_WINDOW
 
  67 SYS_COLOUR_WINDOWFRAME 
= _misc_
.SYS_COLOUR_WINDOWFRAME
 
  68 SYS_COLOUR_MENUTEXT 
= _misc_
.SYS_COLOUR_MENUTEXT
 
  69 SYS_COLOUR_WINDOWTEXT 
= _misc_
.SYS_COLOUR_WINDOWTEXT
 
  70 SYS_COLOUR_CAPTIONTEXT 
= _misc_
.SYS_COLOUR_CAPTIONTEXT
 
  71 SYS_COLOUR_ACTIVEBORDER 
= _misc_
.SYS_COLOUR_ACTIVEBORDER
 
  72 SYS_COLOUR_INACTIVEBORDER 
= _misc_
.SYS_COLOUR_INACTIVEBORDER
 
  73 SYS_COLOUR_APPWORKSPACE 
= _misc_
.SYS_COLOUR_APPWORKSPACE
 
  74 SYS_COLOUR_HIGHLIGHT 
= _misc_
.SYS_COLOUR_HIGHLIGHT
 
  75 SYS_COLOUR_HIGHLIGHTTEXT 
= _misc_
.SYS_COLOUR_HIGHLIGHTTEXT
 
  76 SYS_COLOUR_BTNFACE 
= _misc_
.SYS_COLOUR_BTNFACE
 
  77 SYS_COLOUR_3DFACE 
= _misc_
.SYS_COLOUR_3DFACE
 
  78 SYS_COLOUR_BTNSHADOW 
= _misc_
.SYS_COLOUR_BTNSHADOW
 
  79 SYS_COLOUR_3DSHADOW 
= _misc_
.SYS_COLOUR_3DSHADOW
 
  80 SYS_COLOUR_GRAYTEXT 
= _misc_
.SYS_COLOUR_GRAYTEXT
 
  81 SYS_COLOUR_BTNTEXT 
= _misc_
.SYS_COLOUR_BTNTEXT
 
  82 SYS_COLOUR_INACTIVECAPTIONTEXT 
= _misc_
.SYS_COLOUR_INACTIVECAPTIONTEXT
 
  83 SYS_COLOUR_BTNHIGHLIGHT 
= _misc_
.SYS_COLOUR_BTNHIGHLIGHT
 
  84 SYS_COLOUR_BTNHILIGHT 
= _misc_
.SYS_COLOUR_BTNHILIGHT
 
  85 SYS_COLOUR_3DHIGHLIGHT 
= _misc_
.SYS_COLOUR_3DHIGHLIGHT
 
  86 SYS_COLOUR_3DHILIGHT 
= _misc_
.SYS_COLOUR_3DHILIGHT
 
  87 SYS_COLOUR_3DDKSHADOW 
= _misc_
.SYS_COLOUR_3DDKSHADOW
 
  88 SYS_COLOUR_3DLIGHT 
= _misc_
.SYS_COLOUR_3DLIGHT
 
  89 SYS_COLOUR_INFOTEXT 
= _misc_
.SYS_COLOUR_INFOTEXT
 
  90 SYS_COLOUR_INFOBK 
= _misc_
.SYS_COLOUR_INFOBK
 
  91 SYS_COLOUR_LISTBOX 
= _misc_
.SYS_COLOUR_LISTBOX
 
  92 SYS_COLOUR_HOTLIGHT 
= _misc_
.SYS_COLOUR_HOTLIGHT
 
  93 SYS_COLOUR_GRADIENTACTIVECAPTION 
= _misc_
.SYS_COLOUR_GRADIENTACTIVECAPTION
 
  94 SYS_COLOUR_GRADIENTINACTIVECAPTION 
= _misc_
.SYS_COLOUR_GRADIENTINACTIVECAPTION
 
  95 SYS_COLOUR_MENUHILIGHT 
= _misc_
.SYS_COLOUR_MENUHILIGHT
 
  96 SYS_COLOUR_MENUBAR 
= _misc_
.SYS_COLOUR_MENUBAR
 
  97 SYS_COLOUR_MAX 
= _misc_
.SYS_COLOUR_MAX
 
  98 SYS_MOUSE_BUTTONS 
= _misc_
.SYS_MOUSE_BUTTONS
 
  99 SYS_BORDER_X 
= _misc_
.SYS_BORDER_X
 
 100 SYS_BORDER_Y 
= _misc_
.SYS_BORDER_Y
 
 101 SYS_CURSOR_X 
= _misc_
.SYS_CURSOR_X
 
 102 SYS_CURSOR_Y 
= _misc_
.SYS_CURSOR_Y
 
 103 SYS_DCLICK_X 
= _misc_
.SYS_DCLICK_X
 
 104 SYS_DCLICK_Y 
= _misc_
.SYS_DCLICK_Y
 
 105 SYS_DRAG_X 
= _misc_
.SYS_DRAG_X
 
 106 SYS_DRAG_Y 
= _misc_
.SYS_DRAG_Y
 
 107 SYS_EDGE_X 
= _misc_
.SYS_EDGE_X
 
 108 SYS_EDGE_Y 
= _misc_
.SYS_EDGE_Y
 
 109 SYS_HSCROLL_ARROW_X 
= _misc_
.SYS_HSCROLL_ARROW_X
 
 110 SYS_HSCROLL_ARROW_Y 
= _misc_
.SYS_HSCROLL_ARROW_Y
 
 111 SYS_HTHUMB_X 
= _misc_
.SYS_HTHUMB_X
 
 112 SYS_ICON_X 
= _misc_
.SYS_ICON_X
 
 113 SYS_ICON_Y 
= _misc_
.SYS_ICON_Y
 
 114 SYS_ICONSPACING_X 
= _misc_
.SYS_ICONSPACING_X
 
 115 SYS_ICONSPACING_Y 
= _misc_
.SYS_ICONSPACING_Y
 
 116 SYS_WINDOWMIN_X 
= _misc_
.SYS_WINDOWMIN_X
 
 117 SYS_WINDOWMIN_Y 
= _misc_
.SYS_WINDOWMIN_Y
 
 118 SYS_SCREEN_X 
= _misc_
.SYS_SCREEN_X
 
 119 SYS_SCREEN_Y 
= _misc_
.SYS_SCREEN_Y
 
 120 SYS_FRAMESIZE_X 
= _misc_
.SYS_FRAMESIZE_X
 
 121 SYS_FRAMESIZE_Y 
= _misc_
.SYS_FRAMESIZE_Y
 
 122 SYS_SMALLICON_X 
= _misc_
.SYS_SMALLICON_X
 
 123 SYS_SMALLICON_Y 
= _misc_
.SYS_SMALLICON_Y
 
 124 SYS_HSCROLL_Y 
= _misc_
.SYS_HSCROLL_Y
 
 125 SYS_VSCROLL_X 
= _misc_
.SYS_VSCROLL_X
 
 126 SYS_VSCROLL_ARROW_X 
= _misc_
.SYS_VSCROLL_ARROW_X
 
 127 SYS_VSCROLL_ARROW_Y 
= _misc_
.SYS_VSCROLL_ARROW_Y
 
 128 SYS_VTHUMB_Y 
= _misc_
.SYS_VTHUMB_Y
 
 129 SYS_CAPTION_Y 
= _misc_
.SYS_CAPTION_Y
 
 130 SYS_MENU_Y 
= _misc_
.SYS_MENU_Y
 
 131 SYS_NETWORK_PRESENT 
= _misc_
.SYS_NETWORK_PRESENT
 
 132 SYS_PENWINDOWS_PRESENT 
= _misc_
.SYS_PENWINDOWS_PRESENT
 
 133 SYS_SHOW_SOUNDS 
= _misc_
.SYS_SHOW_SOUNDS
 
 134 SYS_SWAP_BUTTONS 
= _misc_
.SYS_SWAP_BUTTONS
 
 135 SYS_CAN_DRAW_FRAME_DECORATIONS 
= _misc_
.SYS_CAN_DRAW_FRAME_DECORATIONS
 
 136 SYS_CAN_ICONIZE_FRAME 
= _misc_
.SYS_CAN_ICONIZE_FRAME
 
 137 SYS_SCREEN_NONE 
= _misc_
.SYS_SCREEN_NONE
 
 138 SYS_SCREEN_TINY 
= _misc_
.SYS_SCREEN_TINY
 
 139 SYS_SCREEN_PDA 
= _misc_
.SYS_SCREEN_PDA
 
 140 SYS_SCREEN_SMALL 
= _misc_
.SYS_SCREEN_SMALL
 
 141 SYS_SCREEN_DESKTOP 
= _misc_
.SYS_SCREEN_DESKTOP
 
 142 class SystemSettings(object): 
 143     """Proxy of C++ SystemSettings class""" 
 144     def __init__(self
): raise RuntimeError, "No constructor defined" 
 146         return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 147     def GetColour(*args
, **kwargs
): 
 148         """GetColour(int index) -> Colour""" 
 149         return _misc_
.SystemSettings_GetColour(*args
, **kwargs
) 
 151     GetColour 
= staticmethod(GetColour
) 
 152     def GetFont(*args
, **kwargs
): 
 153         """GetFont(int index) -> Font""" 
 154         return _misc_
.SystemSettings_GetFont(*args
, **kwargs
) 
 156     GetFont 
= staticmethod(GetFont
) 
 157     def GetMetric(*args
, **kwargs
): 
 158         """GetMetric(int index, Window win=None) -> int""" 
 159         return _misc_
.SystemSettings_GetMetric(*args
, **kwargs
) 
 161     GetMetric 
= staticmethod(GetMetric
) 
 162     def HasFeature(*args
, **kwargs
): 
 163         """HasFeature(int index) -> bool""" 
 164         return _misc_
.SystemSettings_HasFeature(*args
, **kwargs
) 
 166     HasFeature 
= staticmethod(HasFeature
) 
 167     def GetScreenType(*args
, **kwargs
): 
 168         """GetScreenType() -> int""" 
 169         return _misc_
.SystemSettings_GetScreenType(*args
, **kwargs
) 
 171     GetScreenType 
= staticmethod(GetScreenType
) 
 172     def SetScreenType(*args
, **kwargs
): 
 173         """SetScreenType(int screen)""" 
 174         return _misc_
.SystemSettings_SetScreenType(*args
, **kwargs
) 
 176     SetScreenType 
= staticmethod(SetScreenType
) 
 178 class SystemSettingsPtr(SystemSettings
): 
 179     def __init__(self
, this
): 
 181         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 182         self
.__class
__ = SystemSettings
 
 183 _misc_
.SystemSettings_swigregister(SystemSettingsPtr
) 
 185 def SystemSettings_GetColour(*args
, **kwargs
): 
 186     """SystemSettings_GetColour(int index) -> Colour""" 
 187     return _misc_
.SystemSettings_GetColour(*args
, **kwargs
) 
 189 def SystemSettings_GetFont(*args
, **kwargs
): 
 190     """SystemSettings_GetFont(int index) -> Font""" 
 191     return _misc_
.SystemSettings_GetFont(*args
, **kwargs
) 
 193 def SystemSettings_GetMetric(*args
, **kwargs
): 
 194     """SystemSettings_GetMetric(int index, Window win=None) -> int""" 
 195     return _misc_
.SystemSettings_GetMetric(*args
, **kwargs
) 
 197 def SystemSettings_HasFeature(*args
, **kwargs
): 
 198     """SystemSettings_HasFeature(int index) -> bool""" 
 199     return _misc_
.SystemSettings_HasFeature(*args
, **kwargs
) 
 201 def SystemSettings_GetScreenType(*args
, **kwargs
): 
 202     """SystemSettings_GetScreenType() -> int""" 
 203     return _misc_
.SystemSettings_GetScreenType(*args
, **kwargs
) 
 205 def SystemSettings_SetScreenType(*args
, **kwargs
): 
 206     """SystemSettings_SetScreenType(int screen)""" 
 207     return _misc_
.SystemSettings_SetScreenType(*args
, **kwargs
) 
 209 class SystemOptions(_core
.Object
): 
 210     """Proxy of C++ SystemOptions class""" 
 212         return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 213     def __init__(self
, *args
, **kwargs
): 
 214         """__init__(self) -> SystemOptions""" 
 215         newobj 
= _misc_
.new_SystemOptions(*args
, **kwargs
) 
 216         self
.this 
= newobj
.this
 
 219     def SetOption(*args
, **kwargs
): 
 220         """SetOption(String name, String value)""" 
 221         return _misc_
.SystemOptions_SetOption(*args
, **kwargs
) 
 223     SetOption 
= staticmethod(SetOption
) 
 224     def SetOptionInt(*args
, **kwargs
): 
 225         """SetOptionInt(String name, int value)""" 
 226         return _misc_
.SystemOptions_SetOptionInt(*args
, **kwargs
) 
 228     SetOptionInt 
= staticmethod(SetOptionInt
) 
 229     def GetOption(*args
, **kwargs
): 
 230         """GetOption(String name) -> String""" 
 231         return _misc_
.SystemOptions_GetOption(*args
, **kwargs
) 
 233     GetOption 
= staticmethod(GetOption
) 
 234     def GetOptionInt(*args
, **kwargs
): 
 235         """GetOptionInt(String name) -> int""" 
 236         return _misc_
.SystemOptions_GetOptionInt(*args
, **kwargs
) 
 238     GetOptionInt 
= staticmethod(GetOptionInt
) 
 239     def HasOption(*args
, **kwargs
): 
 240         """HasOption(String name) -> bool""" 
 241         return _misc_
.SystemOptions_HasOption(*args
, **kwargs
) 
 243     HasOption 
= staticmethod(HasOption
) 
 244     def IsFalse(*args
, **kwargs
): 
 245         """IsFalse(String name) -> bool""" 
 246         return _misc_
.SystemOptions_IsFalse(*args
, **kwargs
) 
 248     IsFalse 
= staticmethod(IsFalse
) 
 250 class SystemOptionsPtr(SystemOptions
): 
 251     def __init__(self
, this
): 
 253         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 254         self
.__class
__ = SystemOptions
 
 255 _misc_
.SystemOptions_swigregister(SystemOptionsPtr
) 
 257 WINDOW_DEFAULT_VARIANT 
= cvar
.WINDOW_DEFAULT_VARIANT
 
 259 def SystemOptions_SetOption(*args
, **kwargs
): 
 260     """SystemOptions_SetOption(String name, String value)""" 
 261     return _misc_
.SystemOptions_SetOption(*args
, **kwargs
) 
 263 def SystemOptions_SetOptionInt(*args
, **kwargs
): 
 264     """SystemOptions_SetOptionInt(String name, int value)""" 
 265     return _misc_
.SystemOptions_SetOptionInt(*args
, **kwargs
) 
 267 def SystemOptions_GetOption(*args
, **kwargs
): 
 268     """SystemOptions_GetOption(String name) -> String""" 
 269     return _misc_
.SystemOptions_GetOption(*args
, **kwargs
) 
 271 def SystemOptions_GetOptionInt(*args
, **kwargs
): 
 272     """SystemOptions_GetOptionInt(String name) -> int""" 
 273     return _misc_
.SystemOptions_GetOptionInt(*args
, **kwargs
) 
 275 def SystemOptions_HasOption(*args
, **kwargs
): 
 276     """SystemOptions_HasOption(String name) -> bool""" 
 277     return _misc_
.SystemOptions_HasOption(*args
, **kwargs
) 
 279 def SystemOptions_IsFalse(*args
, **kwargs
): 
 280     """SystemOptions_IsFalse(String name) -> bool""" 
 281     return _misc_
.SystemOptions_IsFalse(*args
, **kwargs
) 
 283 #--------------------------------------------------------------------------- 
 286 def NewId(*args
, **kwargs
): 
 287     """NewId() -> long""" 
 288     return _misc_
.NewId(*args
, **kwargs
) 
 290 def RegisterId(*args
, **kwargs
): 
 291     """RegisterId(long id)""" 
 292     return _misc_
.RegisterId(*args
, **kwargs
) 
 294 def GetCurrentId(*args
, **kwargs
): 
 295     """GetCurrentId() -> long""" 
 296     return _misc_
.GetCurrentId(*args
, **kwargs
) 
 298 def IsStockID(*args
, **kwargs
): 
 299     """IsStockID(int id) -> bool""" 
 300     return _misc_
.IsStockID(*args
, **kwargs
) 
 302 def IsStockLabel(*args
, **kwargs
): 
 303     """IsStockLabel(int id, String label) -> bool""" 
 304     return _misc_
.IsStockLabel(*args
, **kwargs
) 
 306 def GetStockLabel(*args
, **kwargs
): 
 307     """GetStockLabel(int id, bool withCodes=True, String accelerator=EmptyString) -> String""" 
 308     return _misc_
.GetStockLabel(*args
, **kwargs
) 
 310 def Bell(*args
, **kwargs
): 
 312     return _misc_
.Bell(*args
, **kwargs
) 
 314 def EndBusyCursor(*args
, **kwargs
): 
 315     """EndBusyCursor()""" 
 316     return _misc_
.EndBusyCursor(*args
, **kwargs
) 
 318 def GetElapsedTime(*args
, **kwargs
): 
 319     """GetElapsedTime(bool resetTimer=True) -> long""" 
 320     return _misc_
.GetElapsedTime(*args
, **kwargs
) 
 322 def GetMousePosition(*args
, **kwargs
): 
 323     """GetMousePosition() -> (x,y)""" 
 324     return _misc_
.GetMousePosition(*args
, **kwargs
) 
 326 def IsBusy(*args
, **kwargs
): 
 327     """IsBusy() -> bool""" 
 328     return _misc_
.IsBusy(*args
, **kwargs
) 
 330 def Now(*args
, **kwargs
): 
 331     """Now() -> String""" 
 332     return _misc_
.Now(*args
, **kwargs
) 
 334 def Shell(*args
, **kwargs
): 
 335     """Shell(String command=EmptyString) -> bool""" 
 336     return _misc_
.Shell(*args
, **kwargs
) 
 338 def StartTimer(*args
, **kwargs
): 
 340     return _misc_
.StartTimer(*args
, **kwargs
) 
 342 def GetOsVersion(*args
, **kwargs
): 
 343     """GetOsVersion() -> (platform, major, minor)""" 
 344     return _misc_
.GetOsVersion(*args
, **kwargs
) 
 346 def GetOsDescription(*args
, **kwargs
): 
 347     """GetOsDescription() -> String""" 
 348     return _misc_
.GetOsDescription(*args
, **kwargs
) 
 350 def GetFreeMemory(*args
, **kwargs
): 
 351     """GetFreeMemory() -> long""" 
 352     return _misc_
.GetFreeMemory(*args
, **kwargs
) 
 353 SHUTDOWN_POWEROFF 
= _misc_
.SHUTDOWN_POWEROFF
 
 354 SHUTDOWN_REBOOT 
= _misc_
.SHUTDOWN_REBOOT
 
 356 def Shutdown(*args
, **kwargs
): 
 357     """Shutdown(int wFlags) -> bool""" 
 358     return _misc_
.Shutdown(*args
, **kwargs
) 
 360 def Sleep(*args
, **kwargs
): 
 361     """Sleep(int secs)""" 
 362     return _misc_
.Sleep(*args
, **kwargs
) 
 364 def MilliSleep(*args
, **kwargs
): 
 365     """MilliSleep(unsigned long milliseconds)""" 
 366     return _misc_
.MilliSleep(*args
, **kwargs
) 
 368 def MicroSleep(*args
, **kwargs
): 
 369     """MicroSleep(unsigned long microseconds)""" 
 370     return _misc_
.MicroSleep(*args
, **kwargs
) 
 373 def EnableTopLevelWindows(*args
, **kwargs
): 
 374     """EnableTopLevelWindows(bool enable)""" 
 375     return _misc_
.EnableTopLevelWindows(*args
, **kwargs
) 
 377 def StripMenuCodes(*args
, **kwargs
): 
 378     """StripMenuCodes(String in) -> String""" 
 379     return _misc_
.StripMenuCodes(*args
, **kwargs
) 
 381 def GetEmailAddress(*args
, **kwargs
): 
 382     """GetEmailAddress() -> String""" 
 383     return _misc_
.GetEmailAddress(*args
, **kwargs
) 
 385 def GetHostName(*args
, **kwargs
): 
 386     """GetHostName() -> String""" 
 387     return _misc_
.GetHostName(*args
, **kwargs
) 
 389 def GetFullHostName(*args
, **kwargs
): 
 390     """GetFullHostName() -> String""" 
 391     return _misc_
.GetFullHostName(*args
, **kwargs
) 
 393 def GetUserId(*args
, **kwargs
): 
 394     """GetUserId() -> String""" 
 395     return _misc_
.GetUserId(*args
, **kwargs
) 
 397 def GetUserName(*args
, **kwargs
): 
 398     """GetUserName() -> String""" 
 399     return _misc_
.GetUserName(*args
, **kwargs
) 
 401 def GetHomeDir(*args
, **kwargs
): 
 402     """GetHomeDir() -> String""" 
 403     return _misc_
.GetHomeDir(*args
, **kwargs
) 
 405 def GetUserHome(*args
, **kwargs
): 
 406     """GetUserHome(String user=EmptyString) -> String""" 
 407     return _misc_
.GetUserHome(*args
, **kwargs
) 
 409 def GetProcessId(*args
, **kwargs
): 
 410     """GetProcessId() -> unsigned long""" 
 411     return _misc_
.GetProcessId(*args
, **kwargs
) 
 413 def Trap(*args
, **kwargs
): 
 415     return _misc_
.Trap(*args
, **kwargs
) 
 417 def FileSelector(*args
, **kwargs
): 
 419     FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString,  
 420         String default_filename=EmptyString,  
 421         String default_extension=EmptyString,  
 422         String wildcard=FileSelectorDefaultWildcardStr,  
 423         int flags=0, Window parent=None, int x=-1,  
 426     return _misc_
.FileSelector(*args
, **kwargs
) 
 428 def LoadFileSelector(*args
, **kwargs
): 
 430     LoadFileSelector(String what, String extension, String default_name=EmptyString,  
 431         Window parent=None) -> String 
 433     return _misc_
.LoadFileSelector(*args
, **kwargs
) 
 435 def SaveFileSelector(*args
, **kwargs
): 
 437     SaveFileSelector(String what, String extension, String default_name=EmptyString,  
 438         Window parent=None) -> String 
 440     return _misc_
.SaveFileSelector(*args
, **kwargs
) 
 442 def DirSelector(*args
, **kwargs
): 
 444     DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString,  
 445         long style=DD_DEFAULT_STYLE,  
 446         Point pos=DefaultPosition, Window parent=None) -> String 
 448     return _misc_
.DirSelector(*args
, **kwargs
) 
 450 def GetTextFromUser(*args
, **kwargs
): 
 452     GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString,  
 454         int x=-1, int y=-1, bool centre=True) -> String 
 456     return _misc_
.GetTextFromUser(*args
, **kwargs
) 
 458 def GetPasswordFromUser(*args
, **kwargs
): 
 460     GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString,  
 461         Window parent=None) -> String 
 463     return _misc_
.GetPasswordFromUser(*args
, **kwargs
) 
 465 def GetSingleChoice(*args
, **kwargs
): 
 467     GetSingleChoice(String message, String caption, int choices, Window parent=None,  
 468         int x=-1, int y=-1, bool centre=True,  
 469         int width=150, int height=200) -> String 
 471     return _misc_
.GetSingleChoice(*args
, **kwargs
) 
 473 def GetSingleChoiceIndex(*args
, **kwargs
): 
 475     GetSingleChoiceIndex(String message, String caption, int choices, Window parent=None,  
 476         int x=-1, int y=-1, bool centre=True,  
 477         int width=150, int height=200) -> int 
 479     return _misc_
.GetSingleChoiceIndex(*args
, **kwargs
) 
 481 def MessageBox(*args
, **kwargs
): 
 483     MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE,  
 484         Window parent=None, int x=-1,  
 487     return _misc_
.MessageBox(*args
, **kwargs
) 
 489 def GetNumberFromUser(*args
, **kwargs
): 
 491     GetNumberFromUser(String message, String prompt, String caption, long value,  
 492         long min=0, long max=100, Window parent=None,  
 493         Point pos=DefaultPosition) -> long 
 495     return _misc_
.GetNumberFromUser(*args
, **kwargs
) 
 497 def ColourDisplay(*args
, **kwargs
): 
 498     """ColourDisplay() -> bool""" 
 499     return _misc_
.ColourDisplay(*args
, **kwargs
) 
 501 def DisplayDepth(*args
, **kwargs
): 
 502     """DisplayDepth() -> int""" 
 503     return _misc_
.DisplayDepth(*args
, **kwargs
) 
 505 def GetDisplayDepth(*args
, **kwargs
): 
 506     """GetDisplayDepth() -> int""" 
 507     return _misc_
.GetDisplayDepth(*args
, **kwargs
) 
 509 def DisplaySize(*args
, **kwargs
): 
 510     """DisplaySize() -> (width, height)""" 
 511     return _misc_
.DisplaySize(*args
, **kwargs
) 
 513 def GetDisplaySize(*args
, **kwargs
): 
 514     """GetDisplaySize() -> Size""" 
 515     return _misc_
.GetDisplaySize(*args
, **kwargs
) 
 517 def DisplaySizeMM(*args
, **kwargs
): 
 518     """DisplaySizeMM() -> (width, height)""" 
 519     return _misc_
.DisplaySizeMM(*args
, **kwargs
) 
 521 def GetDisplaySizeMM(*args
, **kwargs
): 
 522     """GetDisplaySizeMM() -> Size""" 
 523     return _misc_
.GetDisplaySizeMM(*args
, **kwargs
) 
 525 def ClientDisplayRect(*args
, **kwargs
): 
 526     """ClientDisplayRect() -> (x, y, width, height)""" 
 527     return _misc_
.ClientDisplayRect(*args
, **kwargs
) 
 529 def GetClientDisplayRect(*args
, **kwargs
): 
 530     """GetClientDisplayRect() -> Rect""" 
 531     return _misc_
.GetClientDisplayRect(*args
, **kwargs
) 
 533 def SetCursor(*args
, **kwargs
): 
 534     """SetCursor(Cursor cursor)""" 
 535     return _misc_
.SetCursor(*args
, **kwargs
) 
 537 def BeginBusyCursor(*args
, **kwargs
): 
 538     """BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)""" 
 539     return _misc_
.BeginBusyCursor(*args
, **kwargs
) 
 541 def GetActiveWindow(*args
, **kwargs
): 
 542     """GetActiveWindow() -> Window""" 
 543     return _misc_
.GetActiveWindow(*args
, **kwargs
) 
 545 def GenericFindWindowAtPoint(*args
, **kwargs
): 
 546     """GenericFindWindowAtPoint(Point pt) -> Window""" 
 547     return _misc_
.GenericFindWindowAtPoint(*args
, **kwargs
) 
 549 def FindWindowAtPoint(*args
, **kwargs
): 
 550     """FindWindowAtPoint(Point pt) -> Window""" 
 551     return _misc_
.FindWindowAtPoint(*args
, **kwargs
) 
 553 def GetTopLevelParent(*args
, **kwargs
): 
 554     """GetTopLevelParent(Window win) -> Window""" 
 555     return _misc_
.GetTopLevelParent(*args
, **kwargs
) 
 557 def GetKeyState(*args
, **kwargs
): 
 559     GetKeyState(int key) -> bool 
 561     Get the state of a key (true if pressed or toggled on, false if not.) 
 562     This is generally most useful getting the state of the modifier or 
 563     toggle keys.  On some platforms those may be the only keys that work. 
 566     return _misc_
.GetKeyState(*args
, **kwargs
) 
 568 def WakeUpMainThread(*args
, **kwargs
): 
 569     """WakeUpMainThread()""" 
 570     return _misc_
.WakeUpMainThread(*args
, **kwargs
) 
 572 def MutexGuiEnter(*args
, **kwargs
): 
 573     """MutexGuiEnter()""" 
 574     return _misc_
.MutexGuiEnter(*args
, **kwargs
) 
 576 def MutexGuiLeave(*args
, **kwargs
): 
 577     """MutexGuiLeave()""" 
 578     return _misc_
.MutexGuiLeave(*args
, **kwargs
) 
 579 class MutexGuiLocker(object): 
 580     """Proxy of C++ MutexGuiLocker class""" 
 582         return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 583     def __init__(self
, *args
, **kwargs
): 
 584         """__init__(self) -> MutexGuiLocker""" 
 585         newobj 
= _misc_
.new_MutexGuiLocker(*args
, **kwargs
) 
 586         self
.this 
= newobj
.this
 
 589     def __del__(self
, destroy
=_misc_
.delete_MutexGuiLocker
): 
 592             if self
.thisown
: destroy(self
) 
 596 class MutexGuiLockerPtr(MutexGuiLocker
): 
 597     def __init__(self
, this
): 
 599         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 600         self
.__class
__ = MutexGuiLocker
 
 601 _misc_
.MutexGuiLocker_swigregister(MutexGuiLockerPtr
) 
 602 FileSelectorPromptStr 
= cvar
.FileSelectorPromptStr
 
 603 FileSelectorDefaultWildcardStr 
= cvar
.FileSelectorDefaultWildcardStr
 
 604 DirSelectorPromptStr 
= cvar
.DirSelectorPromptStr
 
 607 def Thread_IsMain(*args
, **kwargs
): 
 608     """Thread_IsMain() -> bool""" 
 609     return _misc_
.Thread_IsMain(*args
, **kwargs
) 
 610 #--------------------------------------------------------------------------- 
 612 class ToolTip(_core
.Object
): 
 613     """Proxy of C++ ToolTip class""" 
 615         return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 616     def __init__(self
, *args
, **kwargs
): 
 617         """__init__(self, String tip) -> ToolTip""" 
 618         newobj 
= _misc_
.new_ToolTip(*args
, **kwargs
) 
 619         self
.this 
= newobj
.this
 
 622     def SetTip(*args
, **kwargs
): 
 623         """SetTip(self, String tip)""" 
 624         return _misc_
.ToolTip_SetTip(*args
, **kwargs
) 
 626     def GetTip(*args
, **kwargs
): 
 627         """GetTip(self) -> String""" 
 628         return _misc_
.ToolTip_GetTip(*args
, **kwargs
) 
 630     def GetWindow(*args
, **kwargs
): 
 631         """GetWindow(self) -> Window""" 
 632         return _misc_
.ToolTip_GetWindow(*args
, **kwargs
) 
 634     def Enable(*args
, **kwargs
): 
 635         """Enable(bool flag)""" 
 636         return _misc_
.ToolTip_Enable(*args
, **kwargs
) 
 638     Enable 
= staticmethod(Enable
) 
 639     def SetDelay(*args
, **kwargs
): 
 640         """SetDelay(long milliseconds)""" 
 641         return _misc_
.ToolTip_SetDelay(*args
, **kwargs
) 
 643     SetDelay 
= staticmethod(SetDelay
) 
 645 class ToolTipPtr(ToolTip
): 
 646     def __init__(self
, this
): 
 648         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 649         self
.__class
__ = ToolTip
 
 650 _misc_
.ToolTip_swigregister(ToolTipPtr
) 
 652 def ToolTip_Enable(*args
, **kwargs
): 
 653     """ToolTip_Enable(bool flag)""" 
 654     return _misc_
.ToolTip_Enable(*args
, **kwargs
) 
 656 def ToolTip_SetDelay(*args
, **kwargs
): 
 657     """ToolTip_SetDelay(long milliseconds)""" 
 658     return _misc_
.ToolTip_SetDelay(*args
, **kwargs
) 
 661     """Proxy of C++ Caret class""" 
 663         return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 664     def __init__(self
, *args
, **kwargs
): 
 665         """__init__(self, Window window, Size size) -> Caret""" 
 666         newobj 
= _misc_
.new_Caret(*args
, **kwargs
) 
 667         self
.this 
= newobj
.this
 
 670     def Destroy(*args
, **kwargs
): 
 674         Deletes the C++ object this Python object is a proxy for. 
 676         return _misc_
.Caret_Destroy(*args
, **kwargs
) 
 678     def IsOk(*args
, **kwargs
): 
 679         """IsOk(self) -> bool""" 
 680         return _misc_
.Caret_IsOk(*args
, **kwargs
) 
 682     def IsVisible(*args
, **kwargs
): 
 683         """IsVisible(self) -> bool""" 
 684         return _misc_
.Caret_IsVisible(*args
, **kwargs
) 
 686     def GetPosition(*args
, **kwargs
): 
 687         """GetPosition(self) -> Point""" 
 688         return _misc_
.Caret_GetPosition(*args
, **kwargs
) 
 690     def GetPositionTuple(*args
, **kwargs
): 
 691         """GetPositionTuple() -> (x,y)""" 
 692         return _misc_
.Caret_GetPositionTuple(*args
, **kwargs
) 
 694     def GetSize(*args
, **kwargs
): 
 695         """GetSize(self) -> Size""" 
 696         return _misc_
.Caret_GetSize(*args
, **kwargs
) 
 698     def GetSizeTuple(*args
, **kwargs
): 
 699         """GetSizeTuple() -> (width, height)""" 
 700         return _misc_
.Caret_GetSizeTuple(*args
, **kwargs
) 
 702     def GetWindow(*args
, **kwargs
): 
 703         """GetWindow(self) -> Window""" 
 704         return _misc_
.Caret_GetWindow(*args
, **kwargs
) 
 706     def MoveXY(*args
, **kwargs
): 
 707         """MoveXY(self, int x, int y)""" 
 708         return _misc_
.Caret_MoveXY(*args
, **kwargs
) 
 710     def Move(*args
, **kwargs
): 
 711         """Move(self, Point pt)""" 
 712         return _misc_
.Caret_Move(*args
, **kwargs
) 
 714     def SetSizeWH(*args
, **kwargs
): 
 715         """SetSizeWH(self, int width, int height)""" 
 716         return _misc_
.Caret_SetSizeWH(*args
, **kwargs
) 
 718     def SetSize(*args
, **kwargs
): 
 719         """SetSize(self, Size size)""" 
 720         return _misc_
.Caret_SetSize(*args
, **kwargs
) 
 722     def Show(*args
, **kwargs
): 
 723         """Show(self, int show=True)""" 
 724         return _misc_
.Caret_Show(*args
, **kwargs
) 
 726     def Hide(*args
, **kwargs
): 
 728         return _misc_
.Caret_Hide(*args
, **kwargs
) 
 730     def __nonzero__(self
): return self
.IsOk()  
 731     def GetBlinkTime(*args
, **kwargs
): 
 732         """GetBlinkTime() -> int""" 
 733         return _misc_
.Caret_GetBlinkTime(*args
, **kwargs
) 
 735     GetBlinkTime 
= staticmethod(GetBlinkTime
) 
 736     def SetBlinkTime(*args
, **kwargs
): 
 737         """SetBlinkTime(int milliseconds)""" 
 738         return _misc_
.Caret_SetBlinkTime(*args
, **kwargs
) 
 740     SetBlinkTime 
= staticmethod(SetBlinkTime
) 
 742 class CaretPtr(Caret
): 
 743     def __init__(self
, this
): 
 745         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 746         self
.__class
__ = Caret
 
 747 _misc_
.Caret_swigregister(CaretPtr
) 
 749 def Caret_GetBlinkTime(*args
, **kwargs
): 
 750     """Caret_GetBlinkTime() -> int""" 
 751     return _misc_
.Caret_GetBlinkTime(*args
, **kwargs
) 
 753 def Caret_SetBlinkTime(*args
, **kwargs
): 
 754     """Caret_SetBlinkTime(int milliseconds)""" 
 755     return _misc_
.Caret_SetBlinkTime(*args
, **kwargs
) 
 757 class BusyCursor(object): 
 758     """Proxy of C++ BusyCursor class""" 
 760         return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 761     def __init__(self
, *args
, **kwargs
): 
 762         """__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor""" 
 763         newobj 
= _misc_
.new_BusyCursor(*args
, **kwargs
) 
 764         self
.this 
= newobj
.this
 
 767     def __del__(self
, destroy
=_misc_
.delete_BusyCursor
): 
 770             if self
.thisown
: destroy(self
) 
 774 class BusyCursorPtr(BusyCursor
): 
 775     def __init__(self
, this
): 
 777         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 778         self
.__class
__ = BusyCursor
 
 779 _misc_
.BusyCursor_swigregister(BusyCursorPtr
) 
 781 class WindowDisabler(object): 
 782     """Proxy of C++ WindowDisabler class""" 
 784         return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 785     def __init__(self
, *args
, **kwargs
): 
 786         """__init__(self, Window winToSkip=None) -> WindowDisabler""" 
 787         newobj 
= _misc_
.new_WindowDisabler(*args
, **kwargs
) 
 788         self
.this 
= newobj
.this
 
 791     def __del__(self
, destroy
=_misc_
.delete_WindowDisabler
): 
 794             if self
.thisown
: destroy(self
) 
 798 class WindowDisablerPtr(WindowDisabler
): 
 799     def __init__(self
, this
): 
 801         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 802         self
.__class
__ = WindowDisabler
 
 803 _misc_
.WindowDisabler_swigregister(WindowDisablerPtr
) 
 805 class BusyInfo(_core
.Object
): 
 806     """Proxy of C++ BusyInfo class""" 
 808         return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 809     def __init__(self
, *args
, **kwargs
): 
 810         """__init__(self, String message) -> BusyInfo""" 
 811         newobj 
= _misc_
.new_BusyInfo(*args
, **kwargs
) 
 812         self
.this 
= newobj
.this
 
 815     def __del__(self
, destroy
=_misc_
.delete_BusyInfo
): 
 818             if self
.thisown
: destroy(self
) 
 822 class BusyInfoPtr(BusyInfo
): 
 823     def __init__(self
, this
): 
 825         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 826         self
.__class
__ = BusyInfo
 
 827 _misc_
.BusyInfo_swigregister(BusyInfoPtr
) 
 829 class StopWatch(object): 
 830     """Proxy of C++ StopWatch class""" 
 832         return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 833     def __init__(self
, *args
, **kwargs
): 
 834         """__init__(self) -> StopWatch""" 
 835         newobj 
= _misc_
.new_StopWatch(*args
, **kwargs
) 
 836         self
.this 
= newobj
.this
 
 839     def Start(*args
, **kwargs
): 
 840         """Start(self, long t0=0)""" 
 841         return _misc_
.StopWatch_Start(*args
, **kwargs
) 
 843     def Pause(*args
, **kwargs
): 
 845         return _misc_
.StopWatch_Pause(*args
, **kwargs
) 
 847     def Resume(*args
, **kwargs
): 
 849         return _misc_
.StopWatch_Resume(*args
, **kwargs
) 
 851     def Time(*args
, **kwargs
): 
 852         """Time(self) -> long""" 
 853         return _misc_
.StopWatch_Time(*args
, **kwargs
) 
 856 class StopWatchPtr(StopWatch
): 
 857     def __init__(self
, this
): 
 859         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 860         self
.__class
__ = StopWatch
 
 861 _misc_
.StopWatch_swigregister(StopWatchPtr
) 
 863 class FileHistory(_core
.Object
): 
 864     """Proxy of C++ FileHistory class""" 
 866         return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 867     def __init__(self
, *args
, **kwargs
): 
 868         """__init__(self, int maxFiles=9, int idBase=ID_FILE1) -> FileHistory""" 
 869         newobj 
= _misc_
.new_FileHistory(*args
, **kwargs
) 
 870         self
.this 
= newobj
.this
 
 873     def __del__(self
, destroy
=_misc_
.delete_FileHistory
): 
 876             if self
.thisown
: destroy(self
) 
 879     def AddFileToHistory(*args
, **kwargs
): 
 880         """AddFileToHistory(self, String file)""" 
 881         return _misc_
.FileHistory_AddFileToHistory(*args
, **kwargs
) 
 883     def RemoveFileFromHistory(*args
, **kwargs
): 
 884         """RemoveFileFromHistory(self, int i)""" 
 885         return _misc_
.FileHistory_RemoveFileFromHistory(*args
, **kwargs
) 
 887     def GetMaxFiles(*args
, **kwargs
): 
 888         """GetMaxFiles(self) -> int""" 
 889         return _misc_
.FileHistory_GetMaxFiles(*args
, **kwargs
) 
 891     def UseMenu(*args
, **kwargs
): 
 892         """UseMenu(self, Menu menu)""" 
 893         return _misc_
.FileHistory_UseMenu(*args
, **kwargs
) 
 895     def RemoveMenu(*args
, **kwargs
): 
 896         """RemoveMenu(self, Menu menu)""" 
 897         return _misc_
.FileHistory_RemoveMenu(*args
, **kwargs
) 
 899     def Load(*args
, **kwargs
): 
 900         """Load(self, ConfigBase config)""" 
 901         return _misc_
.FileHistory_Load(*args
, **kwargs
) 
 903     def Save(*args
, **kwargs
): 
 904         """Save(self, ConfigBase config)""" 
 905         return _misc_
.FileHistory_Save(*args
, **kwargs
) 
 907     def AddFilesToMenu(*args
, **kwargs
): 
 908         """AddFilesToMenu(self)""" 
 909         return _misc_
.FileHistory_AddFilesToMenu(*args
, **kwargs
) 
 911     def AddFilesToThisMenu(*args
, **kwargs
): 
 912         """AddFilesToThisMenu(self, Menu menu)""" 
 913         return _misc_
.FileHistory_AddFilesToThisMenu(*args
, **kwargs
) 
 915     def GetHistoryFile(*args
, **kwargs
): 
 916         """GetHistoryFile(self, int i) -> String""" 
 917         return _misc_
.FileHistory_GetHistoryFile(*args
, **kwargs
) 
 919     def GetCount(*args
, **kwargs
): 
 920         """GetCount(self) -> int""" 
 921         return _misc_
.FileHistory_GetCount(*args
, **kwargs
) 
 923     GetNoHistoryFiles 
= GetCount 
 
 925 class FileHistoryPtr(FileHistory
): 
 926     def __init__(self
, this
): 
 928         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 929         self
.__class
__ = FileHistory
 
 930 _misc_
.FileHistory_swigregister(FileHistoryPtr
) 
 932 class SingleInstanceChecker(object): 
 933     """Proxy of C++ SingleInstanceChecker class""" 
 935         return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 936     def __init__(self
, *args
, **kwargs
): 
 937         """__init__(self, String name, String path=EmptyString) -> SingleInstanceChecker""" 
 938         newobj 
= _misc_
.new_SingleInstanceChecker(*args
, **kwargs
) 
 939         self
.this 
= newobj
.this
 
 942     def __del__(self
, destroy
=_misc_
.delete_SingleInstanceChecker
): 
 945             if self
.thisown
: destroy(self
) 
 948     def Create(*args
, **kwargs
): 
 949         """Create(self, String name, String path=EmptyString) -> bool""" 
 950         return _misc_
.SingleInstanceChecker_Create(*args
, **kwargs
) 
 952     def IsAnotherRunning(*args
, **kwargs
): 
 953         """IsAnotherRunning(self) -> bool""" 
 954         return _misc_
.SingleInstanceChecker_IsAnotherRunning(*args
, **kwargs
) 
 957 class SingleInstanceCheckerPtr(SingleInstanceChecker
): 
 958     def __init__(self
, this
): 
 960         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 961         self
.__class
__ = SingleInstanceChecker
 
 962 _misc_
.SingleInstanceChecker_swigregister(SingleInstanceCheckerPtr
) 
 964 def PreSingleInstanceChecker(*args
, **kwargs
): 
 965     """PreSingleInstanceChecker() -> SingleInstanceChecker""" 
 966     val 
= _misc_
.new_PreSingleInstanceChecker(*args
, **kwargs
) 
 971 def DrawWindowOnDC(*args
, **kwargs
): 
 972     """DrawWindowOnDC(Window window, DC dc) -> bool""" 
 973     return _misc_
.DrawWindowOnDC(*args
, **kwargs
) 
 974 #--------------------------------------------------------------------------- 
 976 class TipProvider(object): 
 977     """Proxy of C++ TipProvider class""" 
 978     def __init__(self
): raise RuntimeError, "No constructor defined" 
 980         return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 981     def __del__(self
, destroy
=_misc_
.delete_TipProvider
): 
 984             if self
.thisown
: destroy(self
) 
 987     def GetTip(*args
, **kwargs
): 
 988         """GetTip(self) -> String""" 
 989         return _misc_
.TipProvider_GetTip(*args
, **kwargs
) 
 991     def GetCurrentTip(*args
, **kwargs
): 
 992         """GetCurrentTip(self) -> size_t""" 
 993         return _misc_
.TipProvider_GetCurrentTip(*args
, **kwargs
) 
 995     def PreprocessTip(*args
, **kwargs
): 
 996         """PreprocessTip(self, String tip) -> String""" 
 997         return _misc_
.TipProvider_PreprocessTip(*args
, **kwargs
) 
1000 class TipProviderPtr(TipProvider
): 
1001     def __init__(self
, this
): 
1003         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1004         self
.__class
__ = TipProvider
 
1005 _misc_
.TipProvider_swigregister(TipProviderPtr
) 
1007 class PyTipProvider(TipProvider
): 
1008     """Proxy of C++ PyTipProvider class""" 
1010         return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1011     def __init__(self
, *args
, **kwargs
): 
1012         """__init__(self, size_t currentTip) -> PyTipProvider""" 
1013         newobj 
= _misc_
.new_PyTipProvider(*args
, **kwargs
) 
1014         self
.this 
= newobj
.this
 
1017         self
._setCallbackInfo
(self
, PyTipProvider
) 
1019     def _setCallbackInfo(*args
, **kwargs
): 
1020         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1021         return _misc_
.PyTipProvider__setCallbackInfo(*args
, **kwargs
) 
1024 class PyTipProviderPtr(PyTipProvider
): 
1025     def __init__(self
, this
): 
1027         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1028         self
.__class
__ = PyTipProvider
 
1029 _misc_
.PyTipProvider_swigregister(PyTipProviderPtr
) 
1032 def ShowTip(*args
, **kwargs
): 
1033     """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool""" 
1034     return _misc_
.ShowTip(*args
, **kwargs
) 
1036 def CreateFileTipProvider(*args
, **kwargs
): 
1037     """CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider""" 
1038     return _misc_
.CreateFileTipProvider(*args
, **kwargs
) 
1039 #--------------------------------------------------------------------------- 
1041 TIMER_CONTINUOUS 
= _misc_
.TIMER_CONTINUOUS
 
1042 TIMER_ONE_SHOT 
= _misc_
.TIMER_ONE_SHOT
 
1043 wxEVT_TIMER 
= _misc_
.wxEVT_TIMER
 
1044 class Timer(_core
.EvtHandler
): 
1045     """Proxy of C++ Timer class""" 
1047         return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1048     def __init__(self
, *args
, **kwargs
): 
1049         """__init__(self, EvtHandler owner=None, int id=-1) -> Timer""" 
1050         newobj 
= _misc_
.new_Timer(*args
, **kwargs
) 
1051         self
.this 
= newobj
.this
 
1054         self
._setCallbackInfo
(self
, Timer
, 0); self
._setOORInfo
(self
, 0) 
1056     def __del__(self
, destroy
=_misc_
.delete_Timer
): 
1059             if self
.thisown
: destroy(self
) 
1062     def _setCallbackInfo(*args
, **kwargs
): 
1063         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=1)""" 
1064         return _misc_
.Timer__setCallbackInfo(*args
, **kwargs
) 
1066     def SetOwner(*args
, **kwargs
): 
1067         """SetOwner(self, EvtHandler owner, int id=-1)""" 
1068         return _misc_
.Timer_SetOwner(*args
, **kwargs
) 
1070     def GetOwner(*args
, **kwargs
): 
1071         """GetOwner(self) -> EvtHandler""" 
1072         return _misc_
.Timer_GetOwner(*args
, **kwargs
) 
1074     def Start(*args
, **kwargs
): 
1075         """Start(self, int milliseconds=-1, bool oneShot=False) -> bool""" 
1076         return _misc_
.Timer_Start(*args
, **kwargs
) 
1078     def Stop(*args
, **kwargs
): 
1080         return _misc_
.Timer_Stop(*args
, **kwargs
) 
1082     def IsRunning(*args
, **kwargs
): 
1083         """IsRunning(self) -> bool""" 
1084         return _misc_
.Timer_IsRunning(*args
, **kwargs
) 
1086     def GetInterval(*args
, **kwargs
): 
1087         """GetInterval(self) -> int""" 
1088         return _misc_
.Timer_GetInterval(*args
, **kwargs
) 
1090     def IsOneShot(*args
, **kwargs
): 
1091         """IsOneShot(self) -> bool""" 
1092         return _misc_
.Timer_IsOneShot(*args
, **kwargs
) 
1094     def GetId(*args
, **kwargs
): 
1095         """GetId(self) -> int""" 
1096         return _misc_
.Timer_GetId(*args
, **kwargs
) 
1099         """NO-OP: Timers must be destroyed by normal refrence counting""" 
1103 class TimerPtr(Timer
): 
1104     def __init__(self
, this
): 
1106         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1107         self
.__class
__ = Timer
 
1108 _misc_
.Timer_swigregister(TimerPtr
) 
1110 # For backwards compatibility with 2.4 
1111 class PyTimer(Timer
): 
1112     def __init__(self
, notify
): 
1113         Timer
.__init
__(self
) 
1114         self
.notify 
= notify
 
1121 EVT_TIMER 
= wx
.PyEventBinder( wxEVT_TIMER
, 1 ) 
1124 class TimerEvent(_core
.Event
): 
1125     """Proxy of C++ TimerEvent class""" 
1127         return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1128     def __init__(self
, *args
, **kwargs
): 
1129         """__init__(self, int timerid=0, int interval=0) -> TimerEvent""" 
1130         newobj 
= _misc_
.new_TimerEvent(*args
, **kwargs
) 
1131         self
.this 
= newobj
.this
 
1134     def GetInterval(*args
, **kwargs
): 
1135         """GetInterval(self) -> int""" 
1136         return _misc_
.TimerEvent_GetInterval(*args
, **kwargs
) 
1139 class TimerEventPtr(TimerEvent
): 
1140     def __init__(self
, this
): 
1142         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1143         self
.__class
__ = TimerEvent
 
1144 _misc_
.TimerEvent_swigregister(TimerEventPtr
) 
1146 class TimerRunner(object): 
1147     """Proxy of C++ TimerRunner class""" 
1149         return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1150     def __init__(self
, *args
): 
1152         __init__(self, wxTimer timer) -> TimerRunner 
1153         __init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner 
1155         newobj 
= _misc_
.new_TimerRunner(*args
) 
1156         self
.this 
= newobj
.this
 
1159     def __del__(self
, destroy
=_misc_
.delete_TimerRunner
): 
1162             if self
.thisown
: destroy(self
) 
1165     def Start(*args
, **kwargs
): 
1166         """Start(self, int milli, bool oneShot=False)""" 
1167         return _misc_
.TimerRunner_Start(*args
, **kwargs
) 
1170 class TimerRunnerPtr(TimerRunner
): 
1171     def __init__(self
, this
): 
1173         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1174         self
.__class
__ = TimerRunner
 
1175 _misc_
.TimerRunner_swigregister(TimerRunnerPtr
) 
1177 #--------------------------------------------------------------------------- 
1179 LOG_FatalError 
= _misc_
.LOG_FatalError
 
1180 LOG_Error 
= _misc_
.LOG_Error
 
1181 LOG_Warning 
= _misc_
.LOG_Warning
 
1182 LOG_Message 
= _misc_
.LOG_Message
 
1183 LOG_Status 
= _misc_
.LOG_Status
 
1184 LOG_Info 
= _misc_
.LOG_Info
 
1185 LOG_Debug 
= _misc_
.LOG_Debug
 
1186 LOG_Trace 
= _misc_
.LOG_Trace
 
1187 LOG_Progress 
= _misc_
.LOG_Progress
 
1188 LOG_User 
= _misc_
.LOG_User
 
1189 LOG_Max 
= _misc_
.LOG_Max
 
1190 TRACE_MemAlloc 
= _misc_
.TRACE_MemAlloc
 
1191 TRACE_Messages 
= _misc_
.TRACE_Messages
 
1192 TRACE_ResAlloc 
= _misc_
.TRACE_ResAlloc
 
1193 TRACE_RefCount 
= _misc_
.TRACE_RefCount
 
1194 TRACE_OleCalls 
= _misc_
.TRACE_OleCalls
 
1195 TraceMemAlloc 
= _misc_
.TraceMemAlloc
 
1196 TraceMessages 
= _misc_
.TraceMessages
 
1197 TraceResAlloc 
= _misc_
.TraceResAlloc
 
1198 TraceRefCount 
= _misc_
.TraceRefCount
 
1199 TraceOleCalls 
= _misc_
.TraceOleCalls
 
1201     """Proxy of C++ Log class""" 
1203         return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1204     def __init__(self
, *args
, **kwargs
): 
1205         """__init__(self) -> Log""" 
1206         newobj 
= _misc_
.new_Log(*args
, **kwargs
) 
1207         self
.this 
= newobj
.this
 
1210     def IsEnabled(*args
, **kwargs
): 
1211         """IsEnabled() -> bool""" 
1212         return _misc_
.Log_IsEnabled(*args
, **kwargs
) 
1214     IsEnabled 
= staticmethod(IsEnabled
) 
1215     def EnableLogging(*args
, **kwargs
): 
1216         """EnableLogging(bool doIt=True) -> bool""" 
1217         return _misc_
.Log_EnableLogging(*args
, **kwargs
) 
1219     EnableLogging 
= staticmethod(EnableLogging
) 
1220     def OnLog(*args
, **kwargs
): 
1221         """OnLog(wxLogLevel level, wxChar szString, time_t t)""" 
1222         return _misc_
.Log_OnLog(*args
, **kwargs
) 
1224     OnLog 
= staticmethod(OnLog
) 
1225     def Flush(*args
, **kwargs
): 
1227         return _misc_
.Log_Flush(*args
, **kwargs
) 
1229     def FlushActive(*args
, **kwargs
): 
1231         return _misc_
.Log_FlushActive(*args
, **kwargs
) 
1233     FlushActive 
= staticmethod(FlushActive
) 
1234     def GetActiveTarget(*args
, **kwargs
): 
1235         """GetActiveTarget() -> Log""" 
1236         return _misc_
.Log_GetActiveTarget(*args
, **kwargs
) 
1238     GetActiveTarget 
= staticmethod(GetActiveTarget
) 
1239     def SetActiveTarget(*args
, **kwargs
): 
1240         """SetActiveTarget(Log pLogger) -> Log""" 
1241         return _misc_
.Log_SetActiveTarget(*args
, **kwargs
) 
1243     SetActiveTarget 
= staticmethod(SetActiveTarget
) 
1244     def Suspend(*args
, **kwargs
): 
1246         return _misc_
.Log_Suspend(*args
, **kwargs
) 
1248     Suspend 
= staticmethod(Suspend
) 
1249     def Resume(*args
, **kwargs
): 
1251         return _misc_
.Log_Resume(*args
, **kwargs
) 
1253     Resume 
= staticmethod(Resume
) 
1254     def SetVerbose(*args
, **kwargs
): 
1255         """SetVerbose(bool bVerbose=True)""" 
1256         return _misc_
.Log_SetVerbose(*args
, **kwargs
) 
1258     SetVerbose 
= staticmethod(SetVerbose
) 
1259     def SetLogLevel(*args
, **kwargs
): 
1260         """SetLogLevel(wxLogLevel logLevel)""" 
1261         return _misc_
.Log_SetLogLevel(*args
, **kwargs
) 
1263     SetLogLevel 
= staticmethod(SetLogLevel
) 
1264     def DontCreateOnDemand(*args
, **kwargs
): 
1265         """DontCreateOnDemand()""" 
1266         return _misc_
.Log_DontCreateOnDemand(*args
, **kwargs
) 
1268     DontCreateOnDemand 
= staticmethod(DontCreateOnDemand
) 
1269     def SetTraceMask(*args
, **kwargs
): 
1270         """SetTraceMask(wxTraceMask ulMask)""" 
1271         return _misc_
.Log_SetTraceMask(*args
, **kwargs
) 
1273     SetTraceMask 
= staticmethod(SetTraceMask
) 
1274     def AddTraceMask(*args
, **kwargs
): 
1275         """AddTraceMask(String str)""" 
1276         return _misc_
.Log_AddTraceMask(*args
, **kwargs
) 
1278     AddTraceMask 
= staticmethod(AddTraceMask
) 
1279     def RemoveTraceMask(*args
, **kwargs
): 
1280         """RemoveTraceMask(String str)""" 
1281         return _misc_
.Log_RemoveTraceMask(*args
, **kwargs
) 
1283     RemoveTraceMask 
= staticmethod(RemoveTraceMask
) 
1284     def ClearTraceMasks(*args
, **kwargs
): 
1285         """ClearTraceMasks()""" 
1286         return _misc_
.Log_ClearTraceMasks(*args
, **kwargs
) 
1288     ClearTraceMasks 
= staticmethod(ClearTraceMasks
) 
1289     def GetTraceMasks(*args
, **kwargs
): 
1290         """GetTraceMasks() -> wxArrayString""" 
1291         return _misc_
.Log_GetTraceMasks(*args
, **kwargs
) 
1293     GetTraceMasks 
= staticmethod(GetTraceMasks
) 
1294     def SetTimestamp(*args
, **kwargs
): 
1295         """SetTimestamp(wxChar ts)""" 
1296         return _misc_
.Log_SetTimestamp(*args
, **kwargs
) 
1298     SetTimestamp 
= staticmethod(SetTimestamp
) 
1299     def GetVerbose(*args
, **kwargs
): 
1300         """GetVerbose() -> bool""" 
1301         return _misc_
.Log_GetVerbose(*args
, **kwargs
) 
1303     GetVerbose 
= staticmethod(GetVerbose
) 
1304     def GetTraceMask(*args
, **kwargs
): 
1305         """GetTraceMask() -> wxTraceMask""" 
1306         return _misc_
.Log_GetTraceMask(*args
, **kwargs
) 
1308     GetTraceMask 
= staticmethod(GetTraceMask
) 
1309     def IsAllowedTraceMask(*args
, **kwargs
): 
1310         """IsAllowedTraceMask(wxChar mask) -> bool""" 
1311         return _misc_
.Log_IsAllowedTraceMask(*args
, **kwargs
) 
1313     IsAllowedTraceMask 
= staticmethod(IsAllowedTraceMask
) 
1314     def GetLogLevel(*args
, **kwargs
): 
1315         """GetLogLevel() -> wxLogLevel""" 
1316         return _misc_
.Log_GetLogLevel(*args
, **kwargs
) 
1318     GetLogLevel 
= staticmethod(GetLogLevel
) 
1319     def GetTimestamp(*args
, **kwargs
): 
1320         """GetTimestamp() -> wxChar""" 
1321         return _misc_
.Log_GetTimestamp(*args
, **kwargs
) 
1323     GetTimestamp 
= staticmethod(GetTimestamp
) 
1324     def TimeStamp(*args
, **kwargs
): 
1325         """TimeStamp() -> String""" 
1326         return _misc_
.Log_TimeStamp(*args
, **kwargs
) 
1328     TimeStamp 
= staticmethod(TimeStamp
) 
1329     def Destroy(*args
, **kwargs
): 
1331         return _misc_
.Log_Destroy(*args
, **kwargs
) 
1335     def __init__(self
, this
): 
1337         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1338         self
.__class
__ = Log
 
1339 _misc_
.Log_swigregister(LogPtr
) 
1341 def Log_IsEnabled(*args
, **kwargs
): 
1342     """Log_IsEnabled() -> bool""" 
1343     return _misc_
.Log_IsEnabled(*args
, **kwargs
) 
1345 def Log_EnableLogging(*args
, **kwargs
): 
1346     """Log_EnableLogging(bool doIt=True) -> bool""" 
1347     return _misc_
.Log_EnableLogging(*args
, **kwargs
) 
1349 def Log_OnLog(*args
, **kwargs
): 
1350     """Log_OnLog(wxLogLevel level, wxChar szString, time_t t)""" 
1351     return _misc_
.Log_OnLog(*args
, **kwargs
) 
1353 def Log_FlushActive(*args
, **kwargs
): 
1354     """Log_FlushActive()""" 
1355     return _misc_
.Log_FlushActive(*args
, **kwargs
) 
1357 def Log_GetActiveTarget(*args
, **kwargs
): 
1358     """Log_GetActiveTarget() -> Log""" 
1359     return _misc_
.Log_GetActiveTarget(*args
, **kwargs
) 
1361 def Log_SetActiveTarget(*args
, **kwargs
): 
1362     """Log_SetActiveTarget(Log pLogger) -> Log""" 
1363     return _misc_
.Log_SetActiveTarget(*args
, **kwargs
) 
1365 def Log_Suspend(*args
, **kwargs
): 
1367     return _misc_
.Log_Suspend(*args
, **kwargs
) 
1369 def Log_Resume(*args
, **kwargs
): 
1371     return _misc_
.Log_Resume(*args
, **kwargs
) 
1373 def Log_SetVerbose(*args
, **kwargs
): 
1374     """Log_SetVerbose(bool bVerbose=True)""" 
1375     return _misc_
.Log_SetVerbose(*args
, **kwargs
) 
1377 def Log_SetLogLevel(*args
, **kwargs
): 
1378     """Log_SetLogLevel(wxLogLevel logLevel)""" 
1379     return _misc_
.Log_SetLogLevel(*args
, **kwargs
) 
1381 def Log_DontCreateOnDemand(*args
, **kwargs
): 
1382     """Log_DontCreateOnDemand()""" 
1383     return _misc_
.Log_DontCreateOnDemand(*args
, **kwargs
) 
1385 def Log_SetTraceMask(*args
, **kwargs
): 
1386     """Log_SetTraceMask(wxTraceMask ulMask)""" 
1387     return _misc_
.Log_SetTraceMask(*args
, **kwargs
) 
1389 def Log_AddTraceMask(*args
, **kwargs
): 
1390     """Log_AddTraceMask(String str)""" 
1391     return _misc_
.Log_AddTraceMask(*args
, **kwargs
) 
1393 def Log_RemoveTraceMask(*args
, **kwargs
): 
1394     """Log_RemoveTraceMask(String str)""" 
1395     return _misc_
.Log_RemoveTraceMask(*args
, **kwargs
) 
1397 def Log_ClearTraceMasks(*args
, **kwargs
): 
1398     """Log_ClearTraceMasks()""" 
1399     return _misc_
.Log_ClearTraceMasks(*args
, **kwargs
) 
1401 def Log_GetTraceMasks(*args
, **kwargs
): 
1402     """Log_GetTraceMasks() -> wxArrayString""" 
1403     return _misc_
.Log_GetTraceMasks(*args
, **kwargs
) 
1405 def Log_SetTimestamp(*args
, **kwargs
): 
1406     """Log_SetTimestamp(wxChar ts)""" 
1407     return _misc_
.Log_SetTimestamp(*args
, **kwargs
) 
1409 def Log_GetVerbose(*args
, **kwargs
): 
1410     """Log_GetVerbose() -> bool""" 
1411     return _misc_
.Log_GetVerbose(*args
, **kwargs
) 
1413 def Log_GetTraceMask(*args
, **kwargs
): 
1414     """Log_GetTraceMask() -> wxTraceMask""" 
1415     return _misc_
.Log_GetTraceMask(*args
, **kwargs
) 
1417 def Log_IsAllowedTraceMask(*args
, **kwargs
): 
1418     """Log_IsAllowedTraceMask(wxChar mask) -> bool""" 
1419     return _misc_
.Log_IsAllowedTraceMask(*args
, **kwargs
) 
1421 def Log_GetLogLevel(*args
, **kwargs
): 
1422     """Log_GetLogLevel() -> wxLogLevel""" 
1423     return _misc_
.Log_GetLogLevel(*args
, **kwargs
) 
1425 def Log_GetTimestamp(*args
, **kwargs
): 
1426     """Log_GetTimestamp() -> wxChar""" 
1427     return _misc_
.Log_GetTimestamp(*args
, **kwargs
) 
1429 def Log_TimeStamp(*args
, **kwargs
): 
1430     """Log_TimeStamp() -> String""" 
1431     return _misc_
.Log_TimeStamp(*args
, **kwargs
) 
1433 class LogStderr(Log
): 
1434     """Proxy of C++ LogStderr class""" 
1436         return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1437     def __init__(self
, *args
, **kwargs
): 
1438         """__init__(self) -> LogStderr""" 
1439         newobj 
= _misc_
.new_LogStderr(*args
, **kwargs
) 
1440         self
.this 
= newobj
.this
 
1444 class LogStderrPtr(LogStderr
): 
1445     def __init__(self
, this
): 
1447         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1448         self
.__class
__ = LogStderr
 
1449 _misc_
.LogStderr_swigregister(LogStderrPtr
) 
1451 class LogTextCtrl(Log
): 
1452     """Proxy of C++ LogTextCtrl class""" 
1454         return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1455     def __init__(self
, *args
, **kwargs
): 
1456         """__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl""" 
1457         newobj 
= _misc_
.new_LogTextCtrl(*args
, **kwargs
) 
1458         self
.this 
= newobj
.this
 
1462 class LogTextCtrlPtr(LogTextCtrl
): 
1463     def __init__(self
, this
): 
1465         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1466         self
.__class
__ = LogTextCtrl
 
1467 _misc_
.LogTextCtrl_swigregister(LogTextCtrlPtr
) 
1470     """Proxy of C++ LogGui class""" 
1472         return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1473     def __init__(self
, *args
, **kwargs
): 
1474         """__init__(self) -> LogGui""" 
1475         newobj 
= _misc_
.new_LogGui(*args
, **kwargs
) 
1476         self
.this 
= newobj
.this
 
1480 class LogGuiPtr(LogGui
): 
1481     def __init__(self
, this
): 
1483         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1484         self
.__class
__ = LogGui
 
1485 _misc_
.LogGui_swigregister(LogGuiPtr
) 
1487 class LogWindow(Log
): 
1488     """Proxy of C++ LogWindow class""" 
1490         return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1491     def __init__(self
, *args
, **kwargs
): 
1492         """__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow""" 
1493         newobj 
= _misc_
.new_LogWindow(*args
, **kwargs
) 
1494         self
.this 
= newobj
.this
 
1497     def Show(*args
, **kwargs
): 
1498         """Show(self, bool bShow=True)""" 
1499         return _misc_
.LogWindow_Show(*args
, **kwargs
) 
1501     def GetFrame(*args
, **kwargs
): 
1502         """GetFrame(self) -> wxFrame""" 
1503         return _misc_
.LogWindow_GetFrame(*args
, **kwargs
) 
1505     def GetOldLog(*args
, **kwargs
): 
1506         """GetOldLog(self) -> Log""" 
1507         return _misc_
.LogWindow_GetOldLog(*args
, **kwargs
) 
1509     def IsPassingMessages(*args
, **kwargs
): 
1510         """IsPassingMessages(self) -> bool""" 
1511         return _misc_
.LogWindow_IsPassingMessages(*args
, **kwargs
) 
1513     def PassMessages(*args
, **kwargs
): 
1514         """PassMessages(self, bool bDoPass)""" 
1515         return _misc_
.LogWindow_PassMessages(*args
, **kwargs
) 
1518 class LogWindowPtr(LogWindow
): 
1519     def __init__(self
, this
): 
1521         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1522         self
.__class
__ = LogWindow
 
1523 _misc_
.LogWindow_swigregister(LogWindowPtr
) 
1525 class LogChain(Log
): 
1526     """Proxy of C++ LogChain class""" 
1528         return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1529     def __init__(self
, *args
, **kwargs
): 
1530         """__init__(self, Log logger) -> LogChain""" 
1531         newobj 
= _misc_
.new_LogChain(*args
, **kwargs
) 
1532         self
.this 
= newobj
.this
 
1535     def SetLog(*args
, **kwargs
): 
1536         """SetLog(self, Log logger)""" 
1537         return _misc_
.LogChain_SetLog(*args
, **kwargs
) 
1539     def PassMessages(*args
, **kwargs
): 
1540         """PassMessages(self, bool bDoPass)""" 
1541         return _misc_
.LogChain_PassMessages(*args
, **kwargs
) 
1543     def IsPassingMessages(*args
, **kwargs
): 
1544         """IsPassingMessages(self) -> bool""" 
1545         return _misc_
.LogChain_IsPassingMessages(*args
, **kwargs
) 
1547     def GetOldLog(*args
, **kwargs
): 
1548         """GetOldLog(self) -> Log""" 
1549         return _misc_
.LogChain_GetOldLog(*args
, **kwargs
) 
1552 class LogChainPtr(LogChain
): 
1553     def __init__(self
, this
): 
1555         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1556         self
.__class
__ = LogChain
 
1557 _misc_
.LogChain_swigregister(LogChainPtr
) 
1560 def SysErrorCode(*args
, **kwargs
): 
1561     """SysErrorCode() -> unsigned long""" 
1562     return _misc_
.SysErrorCode(*args
, **kwargs
) 
1564 def SysErrorMsg(*args
, **kwargs
): 
1565     """SysErrorMsg(unsigned long nErrCode=0) -> String""" 
1566     return _misc_
.SysErrorMsg(*args
, **kwargs
) 
1568 def LogFatalError(*args
, **kwargs
): 
1569     """LogFatalError(String msg)""" 
1570     return _misc_
.LogFatalError(*args
, **kwargs
) 
1572 def LogError(*args
, **kwargs
): 
1573     """LogError(String msg)""" 
1574     return _misc_
.LogError(*args
, **kwargs
) 
1576 def LogWarning(*args
, **kwargs
): 
1577     """LogWarning(String msg)""" 
1578     return _misc_
.LogWarning(*args
, **kwargs
) 
1580 def LogMessage(*args
, **kwargs
): 
1581     """LogMessage(String msg)""" 
1582     return _misc_
.LogMessage(*args
, **kwargs
) 
1584 def LogInfo(*args
, **kwargs
): 
1585     """LogInfo(String msg)""" 
1586     return _misc_
.LogInfo(*args
, **kwargs
) 
1588 def LogDebug(*args
, **kwargs
): 
1589     """LogDebug(String msg)""" 
1590     return _misc_
.LogDebug(*args
, **kwargs
) 
1592 def LogVerbose(*args
, **kwargs
): 
1593     """LogVerbose(String msg)""" 
1594     return _misc_
.LogVerbose(*args
, **kwargs
) 
1596 def LogStatus(*args
, **kwargs
): 
1597     """LogStatus(String msg)""" 
1598     return _misc_
.LogStatus(*args
, **kwargs
) 
1600 def LogStatusFrame(*args
, **kwargs
): 
1601     """LogStatusFrame(wxFrame pFrame, String msg)""" 
1602     return _misc_
.LogStatusFrame(*args
, **kwargs
) 
1604 def LogSysError(*args
, **kwargs
): 
1605     """LogSysError(String msg)""" 
1606     return _misc_
.LogSysError(*args
, **kwargs
) 
1608 def LogGeneric(*args
, **kwargs
): 
1609     """LogGeneric(unsigned long level, String msg)""" 
1610     return _misc_
.LogGeneric(*args
, **kwargs
) 
1612 def SafeShowMessage(*args
, **kwargs
): 
1613     """SafeShowMessage(String title, String text)""" 
1614     return _misc_
.SafeShowMessage(*args
, **kwargs
) 
1615 class LogNull(object): 
1616     """Proxy of C++ LogNull class""" 
1618         return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1619     def __init__(self
, *args
, **kwargs
): 
1620         """__init__(self) -> LogNull""" 
1621         newobj 
= _misc_
.new_LogNull(*args
, **kwargs
) 
1622         self
.this 
= newobj
.this
 
1625     def __del__(self
, destroy
=_misc_
.delete_LogNull
): 
1628             if self
.thisown
: destroy(self
) 
1632 class LogNullPtr(LogNull
): 
1633     def __init__(self
, this
): 
1635         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1636         self
.__class
__ = LogNull
 
1637 _misc_
.LogNull_swigregister(LogNullPtr
) 
1639 def LogTrace(*args
): 
1641     LogTrace(unsigned long mask, String msg) 
1642     LogTrace(String mask, String msg) 
1644     return _misc_
.LogTrace(*args
) 
1647     """Proxy of C++ PyLog class""" 
1649         return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1650     def __init__(self
, *args
, **kwargs
): 
1651         """__init__(self) -> PyLog""" 
1652         newobj 
= _misc_
.new_PyLog(*args
, **kwargs
) 
1653         self
.this 
= newobj
.this
 
1656         self
._setCallbackInfo
(self
, PyLog
) 
1658     def _setCallbackInfo(*args
, **kwargs
): 
1659         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1660         return _misc_
.PyLog__setCallbackInfo(*args
, **kwargs
) 
1663 class PyLogPtr(PyLog
): 
1664     def __init__(self
, this
): 
1666         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1667         self
.__class
__ = PyLog
 
1668 _misc_
.PyLog_swigregister(PyLogPtr
) 
1670 #--------------------------------------------------------------------------- 
1672 PROCESS_DEFAULT 
= _misc_
.PROCESS_DEFAULT
 
1673 PROCESS_REDIRECT 
= _misc_
.PROCESS_REDIRECT
 
1674 KILL_OK 
= _misc_
.KILL_OK
 
1675 KILL_BAD_SIGNAL 
= _misc_
.KILL_BAD_SIGNAL
 
1676 KILL_ACCESS_DENIED 
= _misc_
.KILL_ACCESS_DENIED
 
1677 KILL_NO_PROCESS 
= _misc_
.KILL_NO_PROCESS
 
1678 KILL_ERROR 
= _misc_
.KILL_ERROR
 
1679 KILL_NOCHILDREN 
= _misc_
.KILL_NOCHILDREN
 
1680 KILL_CHILDREN 
= _misc_
.KILL_CHILDREN
 
1681 SIGNONE 
= _misc_
.SIGNONE
 
1682 SIGHUP 
= _misc_
.SIGHUP
 
1683 SIGINT 
= _misc_
.SIGINT
 
1684 SIGQUIT 
= _misc_
.SIGQUIT
 
1685 SIGILL 
= _misc_
.SIGILL
 
1686 SIGTRAP 
= _misc_
.SIGTRAP
 
1687 SIGABRT 
= _misc_
.SIGABRT
 
1688 SIGIOT 
= _misc_
.SIGIOT
 
1689 SIGEMT 
= _misc_
.SIGEMT
 
1690 SIGFPE 
= _misc_
.SIGFPE
 
1691 SIGKILL 
= _misc_
.SIGKILL
 
1692 SIGBUS 
= _misc_
.SIGBUS
 
1693 SIGSEGV 
= _misc_
.SIGSEGV
 
1694 SIGSYS 
= _misc_
.SIGSYS
 
1695 SIGPIPE 
= _misc_
.SIGPIPE
 
1696 SIGALRM 
= _misc_
.SIGALRM
 
1697 SIGTERM 
= _misc_
.SIGTERM
 
1698 class Process(_core
.EvtHandler
): 
1699     """Proxy of C++ Process class""" 
1701         return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1702     def Kill(*args
, **kwargs
): 
1703         """Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int""" 
1704         return _misc_
.Process_Kill(*args
, **kwargs
) 
1706     Kill 
= staticmethod(Kill
) 
1707     def Exists(*args
, **kwargs
): 
1708         """Exists(int pid) -> bool""" 
1709         return _misc_
.Process_Exists(*args
, **kwargs
) 
1711     Exists 
= staticmethod(Exists
) 
1712     def Open(*args
, **kwargs
): 
1713         """Open(String cmd, int flags=EXEC_ASYNC) -> Process""" 
1714         return _misc_
.Process_Open(*args
, **kwargs
) 
1716     Open 
= staticmethod(Open
) 
1717     def __init__(self
, *args
, **kwargs
): 
1718         """__init__(self, EvtHandler parent=None, int id=-1) -> Process""" 
1719         newobj 
= _misc_
.new_Process(*args
, **kwargs
) 
1720         self
.this 
= newobj
.this
 
1723         self
._setCallbackInfo
(self
, Process
) 
1725     def _setCallbackInfo(*args
, **kwargs
): 
1726         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1727         return _misc_
.Process__setCallbackInfo(*args
, **kwargs
) 
1729     def base_OnTerminate(*args
, **kwargs
): 
1730         """base_OnTerminate(self, int pid, int status)""" 
1731         return _misc_
.Process_base_OnTerminate(*args
, **kwargs
) 
1733     def Redirect(*args
, **kwargs
): 
1734         """Redirect(self)""" 
1735         return _misc_
.Process_Redirect(*args
, **kwargs
) 
1737     def IsRedirected(*args
, **kwargs
): 
1738         """IsRedirected(self) -> bool""" 
1739         return _misc_
.Process_IsRedirected(*args
, **kwargs
) 
1741     def Detach(*args
, **kwargs
): 
1743         return _misc_
.Process_Detach(*args
, **kwargs
) 
1745     def GetInputStream(*args
, **kwargs
): 
1746         """GetInputStream(self) -> InputStream""" 
1747         return _misc_
.Process_GetInputStream(*args
, **kwargs
) 
1749     def GetErrorStream(*args
, **kwargs
): 
1750         """GetErrorStream(self) -> InputStream""" 
1751         return _misc_
.Process_GetErrorStream(*args
, **kwargs
) 
1753     def GetOutputStream(*args
, **kwargs
): 
1754         """GetOutputStream(self) -> OutputStream""" 
1755         return _misc_
.Process_GetOutputStream(*args
, **kwargs
) 
1757     def CloseOutput(*args
, **kwargs
): 
1758         """CloseOutput(self)""" 
1759         return _misc_
.Process_CloseOutput(*args
, **kwargs
) 
1761     def IsInputOpened(*args
, **kwargs
): 
1762         """IsInputOpened(self) -> bool""" 
1763         return _misc_
.Process_IsInputOpened(*args
, **kwargs
) 
1765     def IsInputAvailable(*args
, **kwargs
): 
1766         """IsInputAvailable(self) -> bool""" 
1767         return _misc_
.Process_IsInputAvailable(*args
, **kwargs
) 
1769     def IsErrorAvailable(*args
, **kwargs
): 
1770         """IsErrorAvailable(self) -> bool""" 
1771         return _misc_
.Process_IsErrorAvailable(*args
, **kwargs
) 
1774 class ProcessPtr(Process
): 
1775     def __init__(self
, this
): 
1777         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1778         self
.__class
__ = Process
 
1779 _misc_
.Process_swigregister(ProcessPtr
) 
1781 def Process_Kill(*args
, **kwargs
): 
1782     """Process_Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int""" 
1783     return _misc_
.Process_Kill(*args
, **kwargs
) 
1785 def Process_Exists(*args
, **kwargs
): 
1786     """Process_Exists(int pid) -> bool""" 
1787     return _misc_
.Process_Exists(*args
, **kwargs
) 
1789 def Process_Open(*args
, **kwargs
): 
1790     """Process_Open(String cmd, int flags=EXEC_ASYNC) -> Process""" 
1791     return _misc_
.Process_Open(*args
, **kwargs
) 
1793 class ProcessEvent(_core
.Event
): 
1794     """Proxy of C++ ProcessEvent class""" 
1796         return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1797     def __init__(self
, *args
, **kwargs
): 
1798         """__init__(self, int id=0, int pid=0, int exitcode=0) -> ProcessEvent""" 
1799         newobj 
= _misc_
.new_ProcessEvent(*args
, **kwargs
) 
1800         self
.this 
= newobj
.this
 
1803     def GetPid(*args
, **kwargs
): 
1804         """GetPid(self) -> int""" 
1805         return _misc_
.ProcessEvent_GetPid(*args
, **kwargs
) 
1807     def GetExitCode(*args
, **kwargs
): 
1808         """GetExitCode(self) -> int""" 
1809         return _misc_
.ProcessEvent_GetExitCode(*args
, **kwargs
) 
1811     m_pid 
= property(_misc_
.ProcessEvent_m_pid_get
, _misc_
.ProcessEvent_m_pid_set
) 
1812     m_exitcode 
= property(_misc_
.ProcessEvent_m_exitcode_get
, _misc_
.ProcessEvent_m_exitcode_set
) 
1814 class ProcessEventPtr(ProcessEvent
): 
1815     def __init__(self
, this
): 
1817         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1818         self
.__class
__ = ProcessEvent
 
1819 _misc_
.ProcessEvent_swigregister(ProcessEventPtr
) 
1821 wxEVT_END_PROCESS 
= _misc_
.wxEVT_END_PROCESS
 
1822 EVT_END_PROCESS 
= wx
.PyEventBinder( wxEVT_END_PROCESS
, 1 ) 
1824 EXEC_ASYNC 
= _misc_
.EXEC_ASYNC
 
1825 EXEC_SYNC 
= _misc_
.EXEC_SYNC
 
1826 EXEC_NOHIDE 
= _misc_
.EXEC_NOHIDE
 
1827 EXEC_MAKE_GROUP_LEADER 
= _misc_
.EXEC_MAKE_GROUP_LEADER
 
1828 EXEC_NODISABLE 
= _misc_
.EXEC_NODISABLE
 
1830 def Execute(*args
, **kwargs
): 
1831     """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long""" 
1832     return _misc_
.Execute(*args
, **kwargs
) 
1834 def Kill(*args
, **kwargs
): 
1835     """Kill(long pid, int sig=SIGTERM, int rc, int flags=KILL_NOCHILDREN) -> int""" 
1836     return _misc_
.Kill(*args
, **kwargs
) 
1837 #--------------------------------------------------------------------------- 
1839 JOYSTICK1 
= _misc_
.JOYSTICK1
 
1840 JOYSTICK2 
= _misc_
.JOYSTICK2
 
1841 JOY_BUTTON_ANY 
= _misc_
.JOY_BUTTON_ANY
 
1842 JOY_BUTTON1 
= _misc_
.JOY_BUTTON1
 
1843 JOY_BUTTON2 
= _misc_
.JOY_BUTTON2
 
1844 JOY_BUTTON3 
= _misc_
.JOY_BUTTON3
 
1845 JOY_BUTTON4 
= _misc_
.JOY_BUTTON4
 
1846 class Joystick(object): 
1847     """Proxy of C++ Joystick class""" 
1849         return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1850     def __init__(self
, *args
, **kwargs
): 
1851         """__init__(self, int joystick=JOYSTICK1) -> Joystick""" 
1852         newobj 
= _misc_
.new_Joystick(*args
, **kwargs
) 
1853         self
.this 
= newobj
.this
 
1856     def __del__(self
, destroy
=_misc_
.delete_Joystick
): 
1859             if self
.thisown
: destroy(self
) 
1862     def GetPosition(*args
, **kwargs
): 
1863         """GetPosition(self) -> Point""" 
1864         return _misc_
.Joystick_GetPosition(*args
, **kwargs
) 
1866     def GetZPosition(*args
, **kwargs
): 
1867         """GetZPosition(self) -> int""" 
1868         return _misc_
.Joystick_GetZPosition(*args
, **kwargs
) 
1870     def GetButtonState(*args
, **kwargs
): 
1871         """GetButtonState(self) -> int""" 
1872         return _misc_
.Joystick_GetButtonState(*args
, **kwargs
) 
1874     def GetPOVPosition(*args
, **kwargs
): 
1875         """GetPOVPosition(self) -> int""" 
1876         return _misc_
.Joystick_GetPOVPosition(*args
, **kwargs
) 
1878     def GetPOVCTSPosition(*args
, **kwargs
): 
1879         """GetPOVCTSPosition(self) -> int""" 
1880         return _misc_
.Joystick_GetPOVCTSPosition(*args
, **kwargs
) 
1882     def GetRudderPosition(*args
, **kwargs
): 
1883         """GetRudderPosition(self) -> int""" 
1884         return _misc_
.Joystick_GetRudderPosition(*args
, **kwargs
) 
1886     def GetUPosition(*args
, **kwargs
): 
1887         """GetUPosition(self) -> int""" 
1888         return _misc_
.Joystick_GetUPosition(*args
, **kwargs
) 
1890     def GetVPosition(*args
, **kwargs
): 
1891         """GetVPosition(self) -> int""" 
1892         return _misc_
.Joystick_GetVPosition(*args
, **kwargs
) 
1894     def GetMovementThreshold(*args
, **kwargs
): 
1895         """GetMovementThreshold(self) -> int""" 
1896         return _misc_
.Joystick_GetMovementThreshold(*args
, **kwargs
) 
1898     def SetMovementThreshold(*args
, **kwargs
): 
1899         """SetMovementThreshold(self, int threshold)""" 
1900         return _misc_
.Joystick_SetMovementThreshold(*args
, **kwargs
) 
1902     def IsOk(*args
, **kwargs
): 
1903         """IsOk(self) -> bool""" 
1904         return _misc_
.Joystick_IsOk(*args
, **kwargs
) 
1906     def GetNumberJoysticks(*args
, **kwargs
): 
1907         """GetNumberJoysticks(self) -> int""" 
1908         return _misc_
.Joystick_GetNumberJoysticks(*args
, **kwargs
) 
1910     def GetManufacturerId(*args
, **kwargs
): 
1911         """GetManufacturerId(self) -> int""" 
1912         return _misc_
.Joystick_GetManufacturerId(*args
, **kwargs
) 
1914     def GetProductId(*args
, **kwargs
): 
1915         """GetProductId(self) -> int""" 
1916         return _misc_
.Joystick_GetProductId(*args
, **kwargs
) 
1918     def GetProductName(*args
, **kwargs
): 
1919         """GetProductName(self) -> String""" 
1920         return _misc_
.Joystick_GetProductName(*args
, **kwargs
) 
1922     def GetXMin(*args
, **kwargs
): 
1923         """GetXMin(self) -> int""" 
1924         return _misc_
.Joystick_GetXMin(*args
, **kwargs
) 
1926     def GetYMin(*args
, **kwargs
): 
1927         """GetYMin(self) -> int""" 
1928         return _misc_
.Joystick_GetYMin(*args
, **kwargs
) 
1930     def GetZMin(*args
, **kwargs
): 
1931         """GetZMin(self) -> int""" 
1932         return _misc_
.Joystick_GetZMin(*args
, **kwargs
) 
1934     def GetXMax(*args
, **kwargs
): 
1935         """GetXMax(self) -> int""" 
1936         return _misc_
.Joystick_GetXMax(*args
, **kwargs
) 
1938     def GetYMax(*args
, **kwargs
): 
1939         """GetYMax(self) -> int""" 
1940         return _misc_
.Joystick_GetYMax(*args
, **kwargs
) 
1942     def GetZMax(*args
, **kwargs
): 
1943         """GetZMax(self) -> int""" 
1944         return _misc_
.Joystick_GetZMax(*args
, **kwargs
) 
1946     def GetNumberButtons(*args
, **kwargs
): 
1947         """GetNumberButtons(self) -> int""" 
1948         return _misc_
.Joystick_GetNumberButtons(*args
, **kwargs
) 
1950     def GetNumberAxes(*args
, **kwargs
): 
1951         """GetNumberAxes(self) -> int""" 
1952         return _misc_
.Joystick_GetNumberAxes(*args
, **kwargs
) 
1954     def GetMaxButtons(*args
, **kwargs
): 
1955         """GetMaxButtons(self) -> int""" 
1956         return _misc_
.Joystick_GetMaxButtons(*args
, **kwargs
) 
1958     def GetMaxAxes(*args
, **kwargs
): 
1959         """GetMaxAxes(self) -> int""" 
1960         return _misc_
.Joystick_GetMaxAxes(*args
, **kwargs
) 
1962     def GetPollingMin(*args
, **kwargs
): 
1963         """GetPollingMin(self) -> int""" 
1964         return _misc_
.Joystick_GetPollingMin(*args
, **kwargs
) 
1966     def GetPollingMax(*args
, **kwargs
): 
1967         """GetPollingMax(self) -> int""" 
1968         return _misc_
.Joystick_GetPollingMax(*args
, **kwargs
) 
1970     def GetRudderMin(*args
, **kwargs
): 
1971         """GetRudderMin(self) -> int""" 
1972         return _misc_
.Joystick_GetRudderMin(*args
, **kwargs
) 
1974     def GetRudderMax(*args
, **kwargs
): 
1975         """GetRudderMax(self) -> int""" 
1976         return _misc_
.Joystick_GetRudderMax(*args
, **kwargs
) 
1978     def GetUMin(*args
, **kwargs
): 
1979         """GetUMin(self) -> int""" 
1980         return _misc_
.Joystick_GetUMin(*args
, **kwargs
) 
1982     def GetUMax(*args
, **kwargs
): 
1983         """GetUMax(self) -> int""" 
1984         return _misc_
.Joystick_GetUMax(*args
, **kwargs
) 
1986     def GetVMin(*args
, **kwargs
): 
1987         """GetVMin(self) -> int""" 
1988         return _misc_
.Joystick_GetVMin(*args
, **kwargs
) 
1990     def GetVMax(*args
, **kwargs
): 
1991         """GetVMax(self) -> int""" 
1992         return _misc_
.Joystick_GetVMax(*args
, **kwargs
) 
1994     def HasRudder(*args
, **kwargs
): 
1995         """HasRudder(self) -> bool""" 
1996         return _misc_
.Joystick_HasRudder(*args
, **kwargs
) 
1998     def HasZ(*args
, **kwargs
): 
1999         """HasZ(self) -> bool""" 
2000         return _misc_
.Joystick_HasZ(*args
, **kwargs
) 
2002     def HasU(*args
, **kwargs
): 
2003         """HasU(self) -> bool""" 
2004         return _misc_
.Joystick_HasU(*args
, **kwargs
) 
2006     def HasV(*args
, **kwargs
): 
2007         """HasV(self) -> bool""" 
2008         return _misc_
.Joystick_HasV(*args
, **kwargs
) 
2010     def HasPOV(*args
, **kwargs
): 
2011         """HasPOV(self) -> bool""" 
2012         return _misc_
.Joystick_HasPOV(*args
, **kwargs
) 
2014     def HasPOV4Dir(*args
, **kwargs
): 
2015         """HasPOV4Dir(self) -> bool""" 
2016         return _misc_
.Joystick_HasPOV4Dir(*args
, **kwargs
) 
2018     def HasPOVCTS(*args
, **kwargs
): 
2019         """HasPOVCTS(self) -> bool""" 
2020         return _misc_
.Joystick_HasPOVCTS(*args
, **kwargs
) 
2022     def SetCapture(*args
, **kwargs
): 
2023         """SetCapture(self, Window win, int pollingFreq=0) -> bool""" 
2024         return _misc_
.Joystick_SetCapture(*args
, **kwargs
) 
2026     def ReleaseCapture(*args
, **kwargs
): 
2027         """ReleaseCapture(self) -> bool""" 
2028         return _misc_
.Joystick_ReleaseCapture(*args
, **kwargs
) 
2030     def __nonzero__(self
): return self
.IsOk()  
2032 class JoystickPtr(Joystick
): 
2033     def __init__(self
, this
): 
2035         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2036         self
.__class
__ = Joystick
 
2037 _misc_
.Joystick_swigregister(JoystickPtr
) 
2039 wxEVT_JOY_BUTTON_DOWN 
= _misc_
.wxEVT_JOY_BUTTON_DOWN
 
2040 wxEVT_JOY_BUTTON_UP 
= _misc_
.wxEVT_JOY_BUTTON_UP
 
2041 wxEVT_JOY_MOVE 
= _misc_
.wxEVT_JOY_MOVE
 
2042 wxEVT_JOY_ZMOVE 
= _misc_
.wxEVT_JOY_ZMOVE
 
2043 class JoystickEvent(_core
.Event
): 
2044     """Proxy of C++ JoystickEvent class""" 
2046         return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2047     def __init__(self
, *args
, **kwargs
): 
2049         __init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,  
2050             int change=0) -> JoystickEvent 
2052         newobj 
= _misc_
.new_JoystickEvent(*args
, **kwargs
) 
2053         self
.this 
= newobj
.this
 
2056     def GetPosition(*args
, **kwargs
): 
2057         """GetPosition(self) -> Point""" 
2058         return _misc_
.JoystickEvent_GetPosition(*args
, **kwargs
) 
2060     def GetZPosition(*args
, **kwargs
): 
2061         """GetZPosition(self) -> int""" 
2062         return _misc_
.JoystickEvent_GetZPosition(*args
, **kwargs
) 
2064     def GetButtonState(*args
, **kwargs
): 
2065         """GetButtonState(self) -> int""" 
2066         return _misc_
.JoystickEvent_GetButtonState(*args
, **kwargs
) 
2068     def GetButtonChange(*args
, **kwargs
): 
2069         """GetButtonChange(self) -> int""" 
2070         return _misc_
.JoystickEvent_GetButtonChange(*args
, **kwargs
) 
2072     def GetJoystick(*args
, **kwargs
): 
2073         """GetJoystick(self) -> int""" 
2074         return _misc_
.JoystickEvent_GetJoystick(*args
, **kwargs
) 
2076     def SetJoystick(*args
, **kwargs
): 
2077         """SetJoystick(self, int stick)""" 
2078         return _misc_
.JoystickEvent_SetJoystick(*args
, **kwargs
) 
2080     def SetButtonState(*args
, **kwargs
): 
2081         """SetButtonState(self, int state)""" 
2082         return _misc_
.JoystickEvent_SetButtonState(*args
, **kwargs
) 
2084     def SetButtonChange(*args
, **kwargs
): 
2085         """SetButtonChange(self, int change)""" 
2086         return _misc_
.JoystickEvent_SetButtonChange(*args
, **kwargs
) 
2088     def SetPosition(*args
, **kwargs
): 
2089         """SetPosition(self, Point pos)""" 
2090         return _misc_
.JoystickEvent_SetPosition(*args
, **kwargs
) 
2092     def SetZPosition(*args
, **kwargs
): 
2093         """SetZPosition(self, int zPos)""" 
2094         return _misc_
.JoystickEvent_SetZPosition(*args
, **kwargs
) 
2096     def IsButton(*args
, **kwargs
): 
2097         """IsButton(self) -> bool""" 
2098         return _misc_
.JoystickEvent_IsButton(*args
, **kwargs
) 
2100     def IsMove(*args
, **kwargs
): 
2101         """IsMove(self) -> bool""" 
2102         return _misc_
.JoystickEvent_IsMove(*args
, **kwargs
) 
2104     def IsZMove(*args
, **kwargs
): 
2105         """IsZMove(self) -> bool""" 
2106         return _misc_
.JoystickEvent_IsZMove(*args
, **kwargs
) 
2108     def ButtonDown(*args
, **kwargs
): 
2109         """ButtonDown(self, int but=JOY_BUTTON_ANY) -> bool""" 
2110         return _misc_
.JoystickEvent_ButtonDown(*args
, **kwargs
) 
2112     def ButtonUp(*args
, **kwargs
): 
2113         """ButtonUp(self, int but=JOY_BUTTON_ANY) -> bool""" 
2114         return _misc_
.JoystickEvent_ButtonUp(*args
, **kwargs
) 
2116     def ButtonIsDown(*args
, **kwargs
): 
2117         """ButtonIsDown(self, int but=JOY_BUTTON_ANY) -> bool""" 
2118         return _misc_
.JoystickEvent_ButtonIsDown(*args
, **kwargs
) 
2120     m_pos 
= property(GetPosition
, SetPosition
) 
2121     m_zPosition 
= property(GetZPosition
, SetZPosition
) 
2122     m_buttonChange 
= property(GetButtonChange
, SetButtonChange
) 
2123     m_buttonState 
= property(GetButtonState
, SetButtonState
) 
2124     m_joyStick 
= property(GetJoystick
, SetJoystick
) 
2127 class JoystickEventPtr(JoystickEvent
): 
2128     def __init__(self
, this
): 
2130         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2131         self
.__class
__ = JoystickEvent
 
2132 _misc_
.JoystickEvent_swigregister(JoystickEventPtr
) 
2134 EVT_JOY_BUTTON_DOWN 
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_DOWN 
) 
2135 EVT_JOY_BUTTON_UP 
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_UP 
) 
2136 EVT_JOY_MOVE 
= wx
.PyEventBinder( wxEVT_JOY_MOVE 
) 
2137 EVT_JOY_ZMOVE 
= wx
.PyEventBinder( wxEVT_JOY_ZMOVE 
) 
2139 EVT_JOYSTICK_EVENTS 
= wx
.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN
, 
2140                                         wxEVT_JOY_BUTTON_UP
,  
2146 #--------------------------------------------------------------------------- 
2148 SOUND_SYNC 
= _misc_
.SOUND_SYNC
 
2149 SOUND_ASYNC 
= _misc_
.SOUND_ASYNC
 
2150 SOUND_LOOP 
= _misc_
.SOUND_LOOP
 
2151 class Sound(object): 
2152     """Proxy of C++ Sound class""" 
2154         return "<%s.%s; proxy of C++ wxSound instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2155     def __init__(self
, *args
, **kwargs
): 
2156         """__init__(self, String fileName=EmptyString) -> Sound""" 
2157         newobj 
= _misc_
.new_Sound(*args
, **kwargs
) 
2158         self
.this 
= newobj
.this
 
2161     def __del__(self
, destroy
=_misc_
.delete_Sound
): 
2164             if self
.thisown
: destroy(self
) 
2167     def Create(*args
, **kwargs
): 
2168         """Create(self, String fileName) -> bool""" 
2169         return _misc_
.Sound_Create(*args
, **kwargs
) 
2171     def CreateFromData(*args
, **kwargs
): 
2172         """CreateFromData(self, PyObject data) -> bool""" 
2173         return _misc_
.Sound_CreateFromData(*args
, **kwargs
) 
2175     def IsOk(*args
, **kwargs
): 
2176         """IsOk(self) -> bool""" 
2177         return _misc_
.Sound_IsOk(*args
, **kwargs
) 
2179     def Play(*args
, **kwargs
): 
2180         """Play(self, unsigned int flags=SOUND_ASYNC) -> bool""" 
2181         return _misc_
.Sound_Play(*args
, **kwargs
) 
2183     def PlaySound(*args
, **kwargs
): 
2184         """PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool""" 
2185         return _misc_
.Sound_PlaySound(*args
, **kwargs
) 
2187     PlaySound 
= staticmethod(PlaySound
) 
2188     def Stop(*args
, **kwargs
): 
2190         return _misc_
.Sound_Stop(*args
, **kwargs
) 
2192     Stop 
= staticmethod(Stop
) 
2193     def __nonzero__(self
): return self
.IsOk()  
2195 class SoundPtr(Sound
): 
2196     def __init__(self
, this
): 
2198         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2199         self
.__class
__ = Sound
 
2200 _misc_
.Sound_swigregister(SoundPtr
) 
2202 def SoundFromData(*args
, **kwargs
): 
2203     """SoundFromData(PyObject data) -> Sound""" 
2204     val 
= _misc_
.new_SoundFromData(*args
, **kwargs
) 
2208 def Sound_PlaySound(*args
, **kwargs
): 
2209     """Sound_PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool""" 
2210     return _misc_
.Sound_PlaySound(*args
, **kwargs
) 
2212 def Sound_Stop(*args
, **kwargs
): 
2214     return _misc_
.Sound_Stop(*args
, **kwargs
) 
2216 #--------------------------------------------------------------------------- 
2218 MAILCAP_STANDARD 
= _misc_
.MAILCAP_STANDARD
 
2219 MAILCAP_NETSCAPE 
= _misc_
.MAILCAP_NETSCAPE
 
2220 MAILCAP_KDE 
= _misc_
.MAILCAP_KDE
 
2221 MAILCAP_GNOME 
= _misc_
.MAILCAP_GNOME
 
2222 MAILCAP_ALL 
= _misc_
.MAILCAP_ALL
 
2223 class FileTypeInfo(object): 
2224     """Proxy of C++ FileTypeInfo class""" 
2226         return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2227     def __init__(self
, *args
, **kwargs
): 
2228         """__init__(self, String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo""" 
2229         newobj 
= _misc_
.new_FileTypeInfo(*args
, **kwargs
) 
2230         self
.this 
= newobj
.this
 
2233     def IsValid(*args
, **kwargs
): 
2234         """IsValid(self) -> bool""" 
2235         return _misc_
.FileTypeInfo_IsValid(*args
, **kwargs
) 
2237     def SetIcon(*args
, **kwargs
): 
2238         """SetIcon(self, String iconFile, int iconIndex=0)""" 
2239         return _misc_
.FileTypeInfo_SetIcon(*args
, **kwargs
) 
2241     def SetShortDesc(*args
, **kwargs
): 
2242         """SetShortDesc(self, String shortDesc)""" 
2243         return _misc_
.FileTypeInfo_SetShortDesc(*args
, **kwargs
) 
2245     def GetMimeType(*args
, **kwargs
): 
2246         """GetMimeType(self) -> String""" 
2247         return _misc_
.FileTypeInfo_GetMimeType(*args
, **kwargs
) 
2249     def GetOpenCommand(*args
, **kwargs
): 
2250         """GetOpenCommand(self) -> String""" 
2251         return _misc_
.FileTypeInfo_GetOpenCommand(*args
, **kwargs
) 
2253     def GetPrintCommand(*args
, **kwargs
): 
2254         """GetPrintCommand(self) -> String""" 
2255         return _misc_
.FileTypeInfo_GetPrintCommand(*args
, **kwargs
) 
2257     def GetShortDesc(*args
, **kwargs
): 
2258         """GetShortDesc(self) -> String""" 
2259         return _misc_
.FileTypeInfo_GetShortDesc(*args
, **kwargs
) 
2261     def GetDescription(*args
, **kwargs
): 
2262         """GetDescription(self) -> String""" 
2263         return _misc_
.FileTypeInfo_GetDescription(*args
, **kwargs
) 
2265     def GetExtensions(*args
, **kwargs
): 
2266         """GetExtensions(self) -> wxArrayString""" 
2267         return _misc_
.FileTypeInfo_GetExtensions(*args
, **kwargs
) 
2269     def GetExtensionsCount(*args
, **kwargs
): 
2270         """GetExtensionsCount(self) -> int""" 
2271         return _misc_
.FileTypeInfo_GetExtensionsCount(*args
, **kwargs
) 
2273     def GetIconFile(*args
, **kwargs
): 
2274         """GetIconFile(self) -> String""" 
2275         return _misc_
.FileTypeInfo_GetIconFile(*args
, **kwargs
) 
2277     def GetIconIndex(*args
, **kwargs
): 
2278         """GetIconIndex(self) -> int""" 
2279         return _misc_
.FileTypeInfo_GetIconIndex(*args
, **kwargs
) 
2282 class FileTypeInfoPtr(FileTypeInfo
): 
2283     def __init__(self
, this
): 
2285         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2286         self
.__class
__ = FileTypeInfo
 
2287 _misc_
.FileTypeInfo_swigregister(FileTypeInfoPtr
) 
2289 def FileTypeInfoSequence(*args
, **kwargs
): 
2290     """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo""" 
2291     val 
= _misc_
.new_FileTypeInfoSequence(*args
, **kwargs
) 
2295 def NullFileTypeInfo(*args
, **kwargs
): 
2296     """NullFileTypeInfo() -> FileTypeInfo""" 
2297     val 
= _misc_
.new_NullFileTypeInfo(*args
, **kwargs
) 
2301 class FileType(object): 
2302     """Proxy of C++ FileType class""" 
2304         return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2305     def __init__(self
, *args
, **kwargs
): 
2306         """__init__(self, FileTypeInfo ftInfo) -> FileType""" 
2307         newobj 
= _misc_
.new_FileType(*args
, **kwargs
) 
2308         self
.this 
= newobj
.this
 
2311     def __del__(self
, destroy
=_misc_
.delete_FileType
): 
2314             if self
.thisown
: destroy(self
) 
2317     def GetMimeType(*args
, **kwargs
): 
2318         """GetMimeType(self) -> PyObject""" 
2319         return _misc_
.FileType_GetMimeType(*args
, **kwargs
) 
2321     def GetMimeTypes(*args
, **kwargs
): 
2322         """GetMimeTypes(self) -> PyObject""" 
2323         return _misc_
.FileType_GetMimeTypes(*args
, **kwargs
) 
2325     def GetExtensions(*args
, **kwargs
): 
2326         """GetExtensions(self) -> PyObject""" 
2327         return _misc_
.FileType_GetExtensions(*args
, **kwargs
) 
2329     def GetIcon(*args
, **kwargs
): 
2330         """GetIcon(self) -> Icon""" 
2331         return _misc_
.FileType_GetIcon(*args
, **kwargs
) 
2333     def GetIconInfo(*args
, **kwargs
): 
2334         """GetIconInfo(self) -> PyObject""" 
2335         return _misc_
.FileType_GetIconInfo(*args
, **kwargs
) 
2337     def GetDescription(*args
, **kwargs
): 
2338         """GetDescription(self) -> PyObject""" 
2339         return _misc_
.FileType_GetDescription(*args
, **kwargs
) 
2341     def GetOpenCommand(*args
, **kwargs
): 
2342         """GetOpenCommand(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2343         return _misc_
.FileType_GetOpenCommand(*args
, **kwargs
) 
2345     def GetPrintCommand(*args
, **kwargs
): 
2346         """GetPrintCommand(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2347         return _misc_
.FileType_GetPrintCommand(*args
, **kwargs
) 
2349     def GetAllCommands(*args
, **kwargs
): 
2350         """GetAllCommands(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2351         return _misc_
.FileType_GetAllCommands(*args
, **kwargs
) 
2353     def SetCommand(*args
, **kwargs
): 
2354         """SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -> bool""" 
2355         return _misc_
.FileType_SetCommand(*args
, **kwargs
) 
2357     def SetDefaultIcon(*args
, **kwargs
): 
2358         """SetDefaultIcon(self, String cmd=EmptyString, int index=0) -> bool""" 
2359         return _misc_
.FileType_SetDefaultIcon(*args
, **kwargs
) 
2361     def Unassociate(*args
, **kwargs
): 
2362         """Unassociate(self) -> bool""" 
2363         return _misc_
.FileType_Unassociate(*args
, **kwargs
) 
2365     def ExpandCommand(*args
, **kwargs
): 
2366         """ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" 
2367         return _misc_
.FileType_ExpandCommand(*args
, **kwargs
) 
2369     ExpandCommand 
= staticmethod(ExpandCommand
) 
2371 class FileTypePtr(FileType
): 
2372     def __init__(self
, this
): 
2374         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2375         self
.__class
__ = FileType
 
2376 _misc_
.FileType_swigregister(FileTypePtr
) 
2378 def FileType_ExpandCommand(*args
, **kwargs
): 
2379     """FileType_ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" 
2380     return _misc_
.FileType_ExpandCommand(*args
, **kwargs
) 
2382 class MimeTypesManager(object): 
2383     """Proxy of C++ MimeTypesManager class""" 
2385         return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2386     def IsOfType(*args
, **kwargs
): 
2387         """IsOfType(String mimeType, String wildcard) -> bool""" 
2388         return _misc_
.MimeTypesManager_IsOfType(*args
, **kwargs
) 
2390     IsOfType 
= staticmethod(IsOfType
) 
2391     def __init__(self
, *args
, **kwargs
): 
2392         """__init__(self) -> MimeTypesManager""" 
2393         newobj 
= _misc_
.new_MimeTypesManager(*args
, **kwargs
) 
2394         self
.this 
= newobj
.this
 
2397     def Initialize(*args
, **kwargs
): 
2398         """Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)""" 
2399         return _misc_
.MimeTypesManager_Initialize(*args
, **kwargs
) 
2401     def ClearData(*args
, **kwargs
): 
2402         """ClearData(self)""" 
2403         return _misc_
.MimeTypesManager_ClearData(*args
, **kwargs
) 
2405     def GetFileTypeFromExtension(*args
, **kwargs
): 
2406         """GetFileTypeFromExtension(self, String ext) -> FileType""" 
2407         return _misc_
.MimeTypesManager_GetFileTypeFromExtension(*args
, **kwargs
) 
2409     def GetFileTypeFromMimeType(*args
, **kwargs
): 
2410         """GetFileTypeFromMimeType(self, String mimeType) -> FileType""" 
2411         return _misc_
.MimeTypesManager_GetFileTypeFromMimeType(*args
, **kwargs
) 
2413     def ReadMailcap(*args
, **kwargs
): 
2414         """ReadMailcap(self, String filename, bool fallback=False) -> bool""" 
2415         return _misc_
.MimeTypesManager_ReadMailcap(*args
, **kwargs
) 
2417     def ReadMimeTypes(*args
, **kwargs
): 
2418         """ReadMimeTypes(self, String filename) -> bool""" 
2419         return _misc_
.MimeTypesManager_ReadMimeTypes(*args
, **kwargs
) 
2421     def EnumAllFileTypes(*args
, **kwargs
): 
2422         """EnumAllFileTypes(self) -> PyObject""" 
2423         return _misc_
.MimeTypesManager_EnumAllFileTypes(*args
, **kwargs
) 
2425     def AddFallback(*args
, **kwargs
): 
2426         """AddFallback(self, FileTypeInfo ft)""" 
2427         return _misc_
.MimeTypesManager_AddFallback(*args
, **kwargs
) 
2429     def Associate(*args
, **kwargs
): 
2430         """Associate(self, FileTypeInfo ftInfo) -> FileType""" 
2431         return _misc_
.MimeTypesManager_Associate(*args
, **kwargs
) 
2433     def Unassociate(*args
, **kwargs
): 
2434         """Unassociate(self, FileType ft) -> bool""" 
2435         return _misc_
.MimeTypesManager_Unassociate(*args
, **kwargs
) 
2437     def __del__(self
, destroy
=_misc_
.delete_MimeTypesManager
): 
2440             if self
.thisown
: destroy(self
) 
2444 class MimeTypesManagerPtr(MimeTypesManager
): 
2445     def __init__(self
, this
): 
2447         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2448         self
.__class
__ = MimeTypesManager
 
2449 _misc_
.MimeTypesManager_swigregister(MimeTypesManagerPtr
) 
2450 TheMimeTypesManager 
= cvar
.TheMimeTypesManager
 
2452 def MimeTypesManager_IsOfType(*args
, **kwargs
): 
2453     """MimeTypesManager_IsOfType(String mimeType, String wildcard) -> bool""" 
2454     return _misc_
.MimeTypesManager_IsOfType(*args
, **kwargs
) 
2456 #--------------------------------------------------------------------------- 
2458 class ArtProvider(object): 
2460     The wx.ArtProvider class is used to customize the look of wxWidgets 
2461     application. When wxWidgets needs to display an icon or a bitmap (e.g. 
2462     in the standard file dialog), it does not use hard-coded resource but 
2463     asks wx.ArtProvider for it instead. This way the users can plug in 
2464     their own wx.ArtProvider class and easily replace standard art with 
2465     his/her own version. It is easy thing to do: all that is needed is 
2466     to derive a class from wx.ArtProvider, override it's CreateBitmap 
2467     method and register the provider with wx.ArtProvider.PushProvider:: 
2469         class MyArtProvider(wx.ArtProvider): 
2471                 wx.ArtProvider.__init__(self) 
2473             def CreateBitmap(self, artid, client, size): 
2479         return "<%s.%s; proxy of C++ wxPyArtProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2480     def __init__(self
, *args
, **kwargs
): 
2482         __init__(self) -> ArtProvider 
2484         The wx.ArtProvider class is used to customize the look of wxWidgets 
2485         application. When wxWidgets needs to display an icon or a bitmap (e.g. 
2486         in the standard file dialog), it does not use hard-coded resource but 
2487         asks wx.ArtProvider for it instead. This way the users can plug in 
2488         their own wx.ArtProvider class and easily replace standard art with 
2489         his/her own version. It is easy thing to do: all that is needed is 
2490         to derive a class from wx.ArtProvider, override it's CreateBitmap 
2491         method and register the provider with wx.ArtProvider.PushProvider:: 
2493             class MyArtProvider(wx.ArtProvider): 
2495                     wx.ArtProvider.__init__(self) 
2497                 def CreateBitmap(self, artid, client, size): 
2502         newobj 
= _misc_
.new_ArtProvider(*args
, **kwargs
) 
2503         self
.this 
= newobj
.this
 
2506         self
._setCallbackInfo
(self
, ArtProvider
) 
2508     def _setCallbackInfo(*args
, **kwargs
): 
2509         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
2510         return _misc_
.ArtProvider__setCallbackInfo(*args
, **kwargs
) 
2512     def PushProvider(*args
, **kwargs
): 
2514         PushProvider(ArtProvider provider) 
2516         Add new provider to the top of providers stack. 
2518         return _misc_
.ArtProvider_PushProvider(*args
, **kwargs
) 
2520     PushProvider 
= staticmethod(PushProvider
) 
2521     def PopProvider(*args
, **kwargs
): 
2523         PopProvider() -> bool 
2525         Remove latest added provider and delete it. 
2527         return _misc_
.ArtProvider_PopProvider(*args
, **kwargs
) 
2529     PopProvider 
= staticmethod(PopProvider
) 
2530     def RemoveProvider(*args
, **kwargs
): 
2532         RemoveProvider(ArtProvider provider) -> bool 
2534         Remove provider. The provider must have been added previously!  The 
2535         provider is _not_ deleted. 
2537         return _misc_
.ArtProvider_RemoveProvider(*args
, **kwargs
) 
2539     RemoveProvider 
= staticmethod(RemoveProvider
) 
2540     def GetBitmap(*args
, **kwargs
): 
2542         GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap 
2544         Query the providers for bitmap with given ID and return it. Return 
2545         wx.NullBitmap if no provider provides it. 
2547         return _misc_
.ArtProvider_GetBitmap(*args
, **kwargs
) 
2549     GetBitmap 
= staticmethod(GetBitmap
) 
2550     def GetIcon(*args
, **kwargs
): 
2552         GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon 
2554         Query the providers for icon with given ID and return it.  Return 
2555         wx.NullIcon if no provider provides it. 
2557         return _misc_
.ArtProvider_GetIcon(*args
, **kwargs
) 
2559     GetIcon 
= staticmethod(GetIcon
) 
2560     def GetSizeHint(*args
, **kwargs
): 
2562         GetSizeHint(String client, bool platform_dependent=False) -> Size 
2564         Get the size hint of an icon from a specific Art Client, queries the 
2565         topmost provider if platform_dependent = false 
2567         return _misc_
.ArtProvider_GetSizeHint(*args
, **kwargs
) 
2569     GetSizeHint 
= staticmethod(GetSizeHint
) 
2570     def Destroy(*args
, **kwargs
): 
2572         return _misc_
.ArtProvider_Destroy(*args
, **kwargs
) 
2575 class ArtProviderPtr(ArtProvider
): 
2576     def __init__(self
, this
): 
2578         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2579         self
.__class
__ = ArtProvider
 
2580 _misc_
.ArtProvider_swigregister(ArtProviderPtr
) 
2581 ART_TOOLBAR 
= cvar
.ART_TOOLBAR
 
2582 ART_MENU 
= cvar
.ART_MENU
 
2583 ART_FRAME_ICON 
= cvar
.ART_FRAME_ICON
 
2584 ART_CMN_DIALOG 
= cvar
.ART_CMN_DIALOG
 
2585 ART_HELP_BROWSER 
= cvar
.ART_HELP_BROWSER
 
2586 ART_MESSAGE_BOX 
= cvar
.ART_MESSAGE_BOX
 
2587 ART_BUTTON 
= cvar
.ART_BUTTON
 
2588 ART_OTHER 
= cvar
.ART_OTHER
 
2589 ART_ADD_BOOKMARK 
= cvar
.ART_ADD_BOOKMARK
 
2590 ART_DEL_BOOKMARK 
= cvar
.ART_DEL_BOOKMARK
 
2591 ART_HELP_SIDE_PANEL 
= cvar
.ART_HELP_SIDE_PANEL
 
2592 ART_HELP_SETTINGS 
= cvar
.ART_HELP_SETTINGS
 
2593 ART_HELP_BOOK 
= cvar
.ART_HELP_BOOK
 
2594 ART_HELP_FOLDER 
= cvar
.ART_HELP_FOLDER
 
2595 ART_HELP_PAGE 
= cvar
.ART_HELP_PAGE
 
2596 ART_GO_BACK 
= cvar
.ART_GO_BACK
 
2597 ART_GO_FORWARD 
= cvar
.ART_GO_FORWARD
 
2598 ART_GO_UP 
= cvar
.ART_GO_UP
 
2599 ART_GO_DOWN 
= cvar
.ART_GO_DOWN
 
2600 ART_GO_TO_PARENT 
= cvar
.ART_GO_TO_PARENT
 
2601 ART_GO_HOME 
= cvar
.ART_GO_HOME
 
2602 ART_FILE_OPEN 
= cvar
.ART_FILE_OPEN
 
2603 ART_FILE_SAVE 
= cvar
.ART_FILE_SAVE
 
2604 ART_FILE_SAVE_AS 
= cvar
.ART_FILE_SAVE_AS
 
2605 ART_PRINT 
= cvar
.ART_PRINT
 
2606 ART_HELP 
= cvar
.ART_HELP
 
2607 ART_TIP 
= cvar
.ART_TIP
 
2608 ART_REPORT_VIEW 
= cvar
.ART_REPORT_VIEW
 
2609 ART_LIST_VIEW 
= cvar
.ART_LIST_VIEW
 
2610 ART_NEW_DIR 
= cvar
.ART_NEW_DIR
 
2611 ART_HARDDISK 
= cvar
.ART_HARDDISK
 
2612 ART_FLOPPY 
= cvar
.ART_FLOPPY
 
2613 ART_CDROM 
= cvar
.ART_CDROM
 
2614 ART_REMOVABLE 
= cvar
.ART_REMOVABLE
 
2615 ART_FOLDER 
= cvar
.ART_FOLDER
 
2616 ART_FOLDER_OPEN 
= cvar
.ART_FOLDER_OPEN
 
2617 ART_GO_DIR_UP 
= cvar
.ART_GO_DIR_UP
 
2618 ART_EXECUTABLE_FILE 
= cvar
.ART_EXECUTABLE_FILE
 
2619 ART_NORMAL_FILE 
= cvar
.ART_NORMAL_FILE
 
2620 ART_TICK_MARK 
= cvar
.ART_TICK_MARK
 
2621 ART_CROSS_MARK 
= cvar
.ART_CROSS_MARK
 
2622 ART_ERROR 
= cvar
.ART_ERROR
 
2623 ART_QUESTION 
= cvar
.ART_QUESTION
 
2624 ART_WARNING 
= cvar
.ART_WARNING
 
2625 ART_INFORMATION 
= cvar
.ART_INFORMATION
 
2626 ART_MISSING_IMAGE 
= cvar
.ART_MISSING_IMAGE
 
2627 ART_COPY 
= cvar
.ART_COPY
 
2628 ART_CUT 
= cvar
.ART_CUT
 
2629 ART_PASTE 
= cvar
.ART_PASTE
 
2630 ART_DELETE 
= cvar
.ART_DELETE
 
2631 ART_UNDO 
= cvar
.ART_UNDO
 
2632 ART_REDO 
= cvar
.ART_REDO
 
2633 ART_QUIT 
= cvar
.ART_QUIT
 
2634 ART_FIND 
= cvar
.ART_FIND
 
2635 ART_FIND_AND_REPLACE 
= cvar
.ART_FIND_AND_REPLACE
 
2637 def ArtProvider_PushProvider(*args
, **kwargs
): 
2639     ArtProvider_PushProvider(ArtProvider provider) 
2641     Add new provider to the top of providers stack. 
2643     return _misc_
.ArtProvider_PushProvider(*args
, **kwargs
) 
2645 def ArtProvider_PopProvider(*args
, **kwargs
): 
2647     ArtProvider_PopProvider() -> bool 
2649     Remove latest added provider and delete it. 
2651     return _misc_
.ArtProvider_PopProvider(*args
, **kwargs
) 
2653 def ArtProvider_RemoveProvider(*args
, **kwargs
): 
2655     ArtProvider_RemoveProvider(ArtProvider provider) -> bool 
2657     Remove provider. The provider must have been added previously!  The 
2658     provider is _not_ deleted. 
2660     return _misc_
.ArtProvider_RemoveProvider(*args
, **kwargs
) 
2662 def ArtProvider_GetBitmap(*args
, **kwargs
): 
2664     ArtProvider_GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap 
2666     Query the providers for bitmap with given ID and return it. Return 
2667     wx.NullBitmap if no provider provides it. 
2669     return _misc_
.ArtProvider_GetBitmap(*args
, **kwargs
) 
2671 def ArtProvider_GetIcon(*args
, **kwargs
): 
2673     ArtProvider_GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon 
2675     Query the providers for icon with given ID and return it.  Return 
2676     wx.NullIcon if no provider provides it. 
2678     return _misc_
.ArtProvider_GetIcon(*args
, **kwargs
) 
2680 def ArtProvider_GetSizeHint(*args
, **kwargs
): 
2682     ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size 
2684     Get the size hint of an icon from a specific Art Client, queries the 
2685     topmost provider if platform_dependent = false 
2687     return _misc_
.ArtProvider_GetSizeHint(*args
, **kwargs
) 
2689 #--------------------------------------------------------------------------- 
2691 CONFIG_USE_LOCAL_FILE 
= _misc_
.CONFIG_USE_LOCAL_FILE
 
2692 CONFIG_USE_GLOBAL_FILE 
= _misc_
.CONFIG_USE_GLOBAL_FILE
 
2693 CONFIG_USE_RELATIVE_PATH 
= _misc_
.CONFIG_USE_RELATIVE_PATH
 
2694 CONFIG_USE_NO_ESCAPE_CHARACTERS 
= _misc_
.CONFIG_USE_NO_ESCAPE_CHARACTERS
 
2695 class ConfigBase(object): 
2697     wx.ConfigBase class defines the basic interface of all config 
2698     classes. It can not be used by itself (it is an abstract base class) 
2699     and you will always use one of its derivations: wx.Config or 
2702     wx.ConfigBase organizes the items in a tree-like structure, modeled 
2703     after the Unix/Dos filesystem. There are groups that act like 
2704     directories and entries, key/value pairs that act like files.  There 
2705     is always one current group given by the current path.  As in the file 
2706     system case, to specify a key in the config class you must use a path 
2707     to it.  Config classes also support the notion of the current group, 
2708     which makes it possible to use relative paths. 
2710     Keys are pairs "key_name = value" where value may be of string, 
2711     integer floating point or boolean, you can not store binary data 
2712     without first encoding it as a string.  For performance reasons items 
2713     should be kept small, no more than a couple kilobytes. 
2716     def __init__(self
): raise RuntimeError, "No constructor defined" 
2718         return "<%s.%s; proxy of C++ wxConfigBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2719     def __del__(self
, destroy
=_misc_
.delete_ConfigBase
): 
2722             if self
.thisown
: destroy(self
) 
2725     Type_Unknown 
= _misc_
.ConfigBase_Type_Unknown
 
2726     Type_String 
= _misc_
.ConfigBase_Type_String
 
2727     Type_Boolean 
= _misc_
.ConfigBase_Type_Boolean
 
2728     Type_Integer 
= _misc_
.ConfigBase_Type_Integer
 
2729     Type_Float 
= _misc_
.ConfigBase_Type_Float
 
2730     def Set(*args
, **kwargs
): 
2732         Set(ConfigBase config) -> ConfigBase 
2734         Sets the global config object (the one returned by Get) and returns a 
2735         reference to the previous global config object. 
2737         return _misc_
.ConfigBase_Set(*args
, **kwargs
) 
2739     Set 
= staticmethod(Set
) 
2740     def Get(*args
, **kwargs
): 
2742         Get(bool createOnDemand=True) -> ConfigBase 
2744         Returns the current global config object, creating one if neccessary. 
2746         return _misc_
.ConfigBase_Get(*args
, **kwargs
) 
2748     Get 
= staticmethod(Get
) 
2749     def Create(*args
, **kwargs
): 
2751         Create() -> ConfigBase 
2753         Create and return a new global config object.  This function will 
2754         create the "best" implementation of wx.Config available for the 
2757         return _misc_
.ConfigBase_Create(*args
, **kwargs
) 
2759     Create 
= staticmethod(Create
) 
2760     def DontCreateOnDemand(*args
, **kwargs
): 
2762         DontCreateOnDemand() 
2764         Should Get() try to create a new log object if there isn't a current 
2767         return _misc_
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
) 
2769     DontCreateOnDemand 
= staticmethod(DontCreateOnDemand
) 
2770     def SetPath(*args
, **kwargs
): 
2772         SetPath(self, String path) 
2774         Set current path: if the first character is '/', it's the absolute 
2775         path, otherwise it's a relative path. '..' is supported. If the 
2776         strPath doesn't exist it is created. 
2778         return _misc_
.ConfigBase_SetPath(*args
, **kwargs
) 
2780     def GetPath(*args
, **kwargs
): 
2782         GetPath(self) -> String 
2784         Retrieve the current path (always as absolute path) 
2786         return _misc_
.ConfigBase_GetPath(*args
, **kwargs
) 
2788     def GetFirstGroup(*args
, **kwargs
): 
2790         GetFirstGroup() -> (more, value, index) 
2792         Allows enumerating the subgroups in a config object.  Returns a tuple 
2793         containing a flag indicating there are more items, the name of the 
2794         current item, and an index to pass to GetNextGroup to fetch the next 
2797         return _misc_
.ConfigBase_GetFirstGroup(*args
, **kwargs
) 
2799     def GetNextGroup(*args
, **kwargs
): 
2801         GetNextGroup(long index) -> (more, value, index) 
2803         Allows enumerating the subgroups in a config object.  Returns a tuple 
2804         containing a flag indicating there are more items, the name of the 
2805         current item, and an index to pass to GetNextGroup to fetch the next 
2808         return _misc_
.ConfigBase_GetNextGroup(*args
, **kwargs
) 
2810     def GetFirstEntry(*args
, **kwargs
): 
2812         GetFirstEntry() -> (more, value, index) 
2814         Allows enumerating the entries in the current group in a config 
2815         object.  Returns a tuple containing a flag indicating there are more 
2816         items, the name of the current item, and an index to pass to 
2817         GetNextGroup to fetch the next item. 
2819         return _misc_
.ConfigBase_GetFirstEntry(*args
, **kwargs
) 
2821     def GetNextEntry(*args
, **kwargs
): 
2823         GetNextEntry(long index) -> (more, value, index) 
2825         Allows enumerating the entries in the current group in a config 
2826         object.  Returns a tuple containing a flag indicating there are more 
2827         items, the name of the current item, and an index to pass to 
2828         GetNextGroup to fetch the next item. 
2830         return _misc_
.ConfigBase_GetNextEntry(*args
, **kwargs
) 
2832     def GetNumberOfEntries(*args
, **kwargs
): 
2834         GetNumberOfEntries(self, bool recursive=False) -> size_t 
2836         Get the number of entries in the current group, with or without its 
2839         return _misc_
.ConfigBase_GetNumberOfEntries(*args
, **kwargs
) 
2841     def GetNumberOfGroups(*args
, **kwargs
): 
2843         GetNumberOfGroups(self, bool recursive=False) -> size_t 
2845         Get the number of subgroups in the current group, with or without its 
2848         return _misc_
.ConfigBase_GetNumberOfGroups(*args
, **kwargs
) 
2850     def HasGroup(*args
, **kwargs
): 
2852         HasGroup(self, String name) -> bool 
2854         Returns True if the group by this name exists 
2856         return _misc_
.ConfigBase_HasGroup(*args
, **kwargs
) 
2858     def HasEntry(*args
, **kwargs
): 
2860         HasEntry(self, String name) -> bool 
2862         Returns True if the entry by this name exists 
2864         return _misc_
.ConfigBase_HasEntry(*args
, **kwargs
) 
2866     def Exists(*args
, **kwargs
): 
2868         Exists(self, String name) -> bool 
2870         Returns True if either a group or an entry with a given name exists 
2872         return _misc_
.ConfigBase_Exists(*args
, **kwargs
) 
2874     def GetEntryType(*args
, **kwargs
): 
2876         GetEntryType(self, String name) -> int 
2878         Get the type of the entry.  Returns one of the wx.Config.Type_XXX values. 
2880         return _misc_
.ConfigBase_GetEntryType(*args
, **kwargs
) 
2882     def Read(*args
, **kwargs
): 
2884         Read(self, String key, String defaultVal=EmptyString) -> String 
2886         Returns the value of key if it exists, defaultVal otherwise. 
2888         return _misc_
.ConfigBase_Read(*args
, **kwargs
) 
2890     def ReadInt(*args
, **kwargs
): 
2892         ReadInt(self, String key, long defaultVal=0) -> long 
2894         Returns the value of key if it exists, defaultVal otherwise. 
2896         return _misc_
.ConfigBase_ReadInt(*args
, **kwargs
) 
2898     def ReadFloat(*args
, **kwargs
): 
2900         ReadFloat(self, String key, double defaultVal=0.0) -> double 
2902         Returns the value of key if it exists, defaultVal otherwise. 
2904         return _misc_
.ConfigBase_ReadFloat(*args
, **kwargs
) 
2906     def ReadBool(*args
, **kwargs
): 
2908         ReadBool(self, String key, bool defaultVal=False) -> bool 
2910         Returns the value of key if it exists, defaultVal otherwise. 
2912         return _misc_
.ConfigBase_ReadBool(*args
, **kwargs
) 
2914     def Write(*args
, **kwargs
): 
2916         Write(self, String key, String value) -> bool 
2918         write the value (return True on success) 
2920         return _misc_
.ConfigBase_Write(*args
, **kwargs
) 
2922     def WriteInt(*args
, **kwargs
): 
2924         WriteInt(self, String key, long value) -> bool 
2926         write the value (return True on success) 
2928         return _misc_
.ConfigBase_WriteInt(*args
, **kwargs
) 
2930     def WriteFloat(*args
, **kwargs
): 
2932         WriteFloat(self, String key, double value) -> bool 
2934         write the value (return True on success) 
2936         return _misc_
.ConfigBase_WriteFloat(*args
, **kwargs
) 
2938     def WriteBool(*args
, **kwargs
): 
2940         WriteBool(self, String key, bool value) -> bool 
2942         write the value (return True on success) 
2944         return _misc_
.ConfigBase_WriteBool(*args
, **kwargs
) 
2946     def Flush(*args
, **kwargs
): 
2948         Flush(self, bool currentOnly=False) -> bool 
2950         permanently writes all changes 
2952         return _misc_
.ConfigBase_Flush(*args
, **kwargs
) 
2954     def RenameEntry(*args
, **kwargs
): 
2956         RenameEntry(self, String oldName, String newName) -> bool 
2958         Rename an entry.  Returns False on failure (probably because the new 
2959         name is already taken by an existing entry) 
2961         return _misc_
.ConfigBase_RenameEntry(*args
, **kwargs
) 
2963     def RenameGroup(*args
, **kwargs
): 
2965         RenameGroup(self, String oldName, String newName) -> bool 
2967         Rename a group.  Returns False on failure (probably because the new 
2968         name is already taken by an existing entry) 
2970         return _misc_
.ConfigBase_RenameGroup(*args
, **kwargs
) 
2972     def DeleteEntry(*args
, **kwargs
): 
2974         DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -> bool 
2976         Deletes the specified entry and the group it belongs to if it was the 
2977         last key in it and the second parameter is True 
2979         return _misc_
.ConfigBase_DeleteEntry(*args
, **kwargs
) 
2981     def DeleteGroup(*args
, **kwargs
): 
2983         DeleteGroup(self, String key) -> bool 
2985         Delete the group (with all subgroups) 
2987         return _misc_
.ConfigBase_DeleteGroup(*args
, **kwargs
) 
2989     def DeleteAll(*args
, **kwargs
): 
2991         DeleteAll(self) -> bool 
2993         Delete the whole underlying object (disk file, registry key, ...) 
2994         primarly intended for use by deinstallation routine. 
2996         return _misc_
.ConfigBase_DeleteAll(*args
, **kwargs
) 
2998     def SetExpandEnvVars(*args
, **kwargs
): 
3000         SetExpandEnvVars(self, bool doIt=True) 
3002         We can automatically expand environment variables in the config 
3003         entries this option is on by default, you can turn it on/off at any 
3006         return _misc_
.ConfigBase_SetExpandEnvVars(*args
, **kwargs
) 
3008     def IsExpandingEnvVars(*args
, **kwargs
): 
3010         IsExpandingEnvVars(self) -> bool 
3012         Are we currently expanding environment variables? 
3014         return _misc_
.ConfigBase_IsExpandingEnvVars(*args
, **kwargs
) 
3016     def SetRecordDefaults(*args
, **kwargs
): 
3018         SetRecordDefaults(self, bool doIt=True) 
3020         Set whether the config objec should record default values. 
3022         return _misc_
.ConfigBase_SetRecordDefaults(*args
, **kwargs
) 
3024     def IsRecordingDefaults(*args
, **kwargs
): 
3026         IsRecordingDefaults(self) -> bool 
3028         Are we currently recording default values? 
3030         return _misc_
.ConfigBase_IsRecordingDefaults(*args
, **kwargs
) 
3032     def ExpandEnvVars(*args
, **kwargs
): 
3034         ExpandEnvVars(self, String str) -> String 
3036         Expand any environment variables in str and return the result 
3038         return _misc_
.ConfigBase_ExpandEnvVars(*args
, **kwargs
) 
3040     def GetAppName(*args
, **kwargs
): 
3041         """GetAppName(self) -> String""" 
3042         return _misc_
.ConfigBase_GetAppName(*args
, **kwargs
) 
3044     def GetVendorName(*args
, **kwargs
): 
3045         """GetVendorName(self) -> String""" 
3046         return _misc_
.ConfigBase_GetVendorName(*args
, **kwargs
) 
3048     def SetAppName(*args
, **kwargs
): 
3049         """SetAppName(self, String appName)""" 
3050         return _misc_
.ConfigBase_SetAppName(*args
, **kwargs
) 
3052     def SetVendorName(*args
, **kwargs
): 
3053         """SetVendorName(self, String vendorName)""" 
3054         return _misc_
.ConfigBase_SetVendorName(*args
, **kwargs
) 
3056     def SetStyle(*args
, **kwargs
): 
3057         """SetStyle(self, long style)""" 
3058         return _misc_
.ConfigBase_SetStyle(*args
, **kwargs
) 
3060     def GetStyle(*args
, **kwargs
): 
3061         """GetStyle(self) -> long""" 
3062         return _misc_
.ConfigBase_GetStyle(*args
, **kwargs
) 
3065 class ConfigBasePtr(ConfigBase
): 
3066     def __init__(self
, this
): 
3068         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3069         self
.__class
__ = ConfigBase
 
3070 _misc_
.ConfigBase_swigregister(ConfigBasePtr
) 
3072 def ConfigBase_Set(*args
, **kwargs
): 
3074     ConfigBase_Set(ConfigBase config) -> ConfigBase 
3076     Sets the global config object (the one returned by Get) and returns a 
3077     reference to the previous global config object. 
3079     return _misc_
.ConfigBase_Set(*args
, **kwargs
) 
3081 def ConfigBase_Get(*args
, **kwargs
): 
3083     ConfigBase_Get(bool createOnDemand=True) -> ConfigBase 
3085     Returns the current global config object, creating one if neccessary. 
3087     return _misc_
.ConfigBase_Get(*args
, **kwargs
) 
3089 def ConfigBase_Create(*args
, **kwargs
): 
3091     ConfigBase_Create() -> ConfigBase 
3093     Create and return a new global config object.  This function will 
3094     create the "best" implementation of wx.Config available for the 
3097     return _misc_
.ConfigBase_Create(*args
, **kwargs
) 
3099 def ConfigBase_DontCreateOnDemand(*args
, **kwargs
): 
3101     ConfigBase_DontCreateOnDemand() 
3103     Should Get() try to create a new log object if there isn't a current 
3106     return _misc_
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
) 
3108 class Config(ConfigBase
): 
3110     This ConfigBase-derived class will use the registry on Windows, 
3111     and will be a wx.FileConfig on other platforms. 
3114         return "<%s.%s; proxy of C++ wxConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3115     def __init__(self
, *args
, **kwargs
): 
3117         __init__(self, String appName=EmptyString, String vendorName=EmptyString,  
3118             String localFilename=EmptyString, String globalFilename=EmptyString,  
3119             long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config 
3121         newobj 
= _misc_
.new_Config(*args
, **kwargs
) 
3122         self
.this 
= newobj
.this
 
3125     def __del__(self
, destroy
=_misc_
.delete_Config
): 
3128             if self
.thisown
: destroy(self
) 
3132 class ConfigPtr(Config
): 
3133     def __init__(self
, this
): 
3135         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3136         self
.__class
__ = Config
 
3137 _misc_
.Config_swigregister(ConfigPtr
) 
3139 class FileConfig(ConfigBase
): 
3140     """This config class will use a file for storage on all platforms.""" 
3142         return "<%s.%s; proxy of C++ wxFileConfig instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3143     def __init__(self
, *args
, **kwargs
): 
3145         __init__(self, String appName=EmptyString, String vendorName=EmptyString,  
3146             String localFilename=EmptyString, String globalFilename=EmptyString,  
3147             long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig 
3149         newobj 
= _misc_
.new_FileConfig(*args
, **kwargs
) 
3150         self
.this 
= newobj
.this
 
3153     def __del__(self
, destroy
=_misc_
.delete_FileConfig
): 
3156             if self
.thisown
: destroy(self
) 
3160 class FileConfigPtr(FileConfig
): 
3161     def __init__(self
, this
): 
3163         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3164         self
.__class
__ = FileConfig
 
3165 _misc_
.FileConfig_swigregister(FileConfigPtr
) 
3167 class ConfigPathChanger(object): 
3169     A handy little class which changes current path to the path of given 
3170     entry and restores it in the destructoir: so if you declare a local 
3171     variable of this type, you work in the entry directory and the path is 
3172     automatically restored when the function returns. 
3175         return "<%s.%s; proxy of C++ wxConfigPathChanger instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3176     def __init__(self
, *args
, **kwargs
): 
3177         """__init__(self, ConfigBase config, String entry) -> ConfigPathChanger""" 
3178         newobj 
= _misc_
.new_ConfigPathChanger(*args
, **kwargs
) 
3179         self
.this 
= newobj
.this
 
3182     def __del__(self
, destroy
=_misc_
.delete_ConfigPathChanger
): 
3185             if self
.thisown
: destroy(self
) 
3188     def Name(*args
, **kwargs
): 
3190         Name(self) -> String 
3194         return _misc_
.ConfigPathChanger_Name(*args
, **kwargs
) 
3197 class ConfigPathChangerPtr(ConfigPathChanger
): 
3198     def __init__(self
, this
): 
3200         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3201         self
.__class
__ = ConfigPathChanger
 
3202 _misc_
.ConfigPathChanger_swigregister(ConfigPathChangerPtr
) 
3205 def ExpandEnvVars(*args
, **kwargs
): 
3207     ExpandEnvVars(String sz) -> String 
3209     Replace environment variables ($SOMETHING) with their values. The 
3210     format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric 
3211     characters and '_' only. '$' must be escaped ('\$') in order to be 
3214     return _misc_
.ExpandEnvVars(*args
, **kwargs
) 
3215 #--------------------------------------------------------------------------- 
3217 class DateTime(object): 
3218     """Proxy of C++ DateTime class""" 
3220         return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3221     Local 
= _misc_
.DateTime_Local
 
3222     GMT_12 
= _misc_
.DateTime_GMT_12
 
3223     GMT_11 
= _misc_
.DateTime_GMT_11
 
3224     GMT_10 
= _misc_
.DateTime_GMT_10
 
3225     GMT_9 
= _misc_
.DateTime_GMT_9
 
3226     GMT_8 
= _misc_
.DateTime_GMT_8
 
3227     GMT_7 
= _misc_
.DateTime_GMT_7
 
3228     GMT_6 
= _misc_
.DateTime_GMT_6
 
3229     GMT_5 
= _misc_
.DateTime_GMT_5
 
3230     GMT_4 
= _misc_
.DateTime_GMT_4
 
3231     GMT_3 
= _misc_
.DateTime_GMT_3
 
3232     GMT_2 
= _misc_
.DateTime_GMT_2
 
3233     GMT_1 
= _misc_
.DateTime_GMT_1
 
3234     GMT0 
= _misc_
.DateTime_GMT0
 
3235     GMT1 
= _misc_
.DateTime_GMT1
 
3236     GMT2 
= _misc_
.DateTime_GMT2
 
3237     GMT3 
= _misc_
.DateTime_GMT3
 
3238     GMT4 
= _misc_
.DateTime_GMT4
 
3239     GMT5 
= _misc_
.DateTime_GMT5
 
3240     GMT6 
= _misc_
.DateTime_GMT6
 
3241     GMT7 
= _misc_
.DateTime_GMT7
 
3242     GMT8 
= _misc_
.DateTime_GMT8
 
3243     GMT9 
= _misc_
.DateTime_GMT9
 
3244     GMT10 
= _misc_
.DateTime_GMT10
 
3245     GMT11 
= _misc_
.DateTime_GMT11
 
3246     GMT12 
= _misc_
.DateTime_GMT12
 
3247     WET 
= _misc_
.DateTime_WET
 
3248     WEST 
= _misc_
.DateTime_WEST
 
3249     CET 
= _misc_
.DateTime_CET
 
3250     CEST 
= _misc_
.DateTime_CEST
 
3251     EET 
= _misc_
.DateTime_EET
 
3252     EEST 
= _misc_
.DateTime_EEST
 
3253     MSK 
= _misc_
.DateTime_MSK
 
3254     MSD 
= _misc_
.DateTime_MSD
 
3255     AST 
= _misc_
.DateTime_AST
 
3256     ADT 
= _misc_
.DateTime_ADT
 
3257     EST 
= _misc_
.DateTime_EST
 
3258     EDT 
= _misc_
.DateTime_EDT
 
3259     CST 
= _misc_
.DateTime_CST
 
3260     CDT 
= _misc_
.DateTime_CDT
 
3261     MST 
= _misc_
.DateTime_MST
 
3262     MDT 
= _misc_
.DateTime_MDT
 
3263     PST 
= _misc_
.DateTime_PST
 
3264     PDT 
= _misc_
.DateTime_PDT
 
3265     HST 
= _misc_
.DateTime_HST
 
3266     AKST 
= _misc_
.DateTime_AKST
 
3267     AKDT 
= _misc_
.DateTime_AKDT
 
3268     A_WST 
= _misc_
.DateTime_A_WST
 
3269     A_CST 
= _misc_
.DateTime_A_CST
 
3270     A_EST 
= _misc_
.DateTime_A_EST
 
3271     A_ESST 
= _misc_
.DateTime_A_ESST
 
3272     UTC 
= _misc_
.DateTime_UTC
 
3273     Gregorian 
= _misc_
.DateTime_Gregorian
 
3274     Julian 
= _misc_
.DateTime_Julian
 
3275     Gr_Unknown 
= _misc_
.DateTime_Gr_Unknown
 
3276     Gr_Standard 
= _misc_
.DateTime_Gr_Standard
 
3277     Gr_Alaska 
= _misc_
.DateTime_Gr_Alaska
 
3278     Gr_Albania 
= _misc_
.DateTime_Gr_Albania
 
3279     Gr_Austria 
= _misc_
.DateTime_Gr_Austria
 
3280     Gr_Austria_Brixen 
= _misc_
.DateTime_Gr_Austria_Brixen
 
3281     Gr_Austria_Salzburg 
= _misc_
.DateTime_Gr_Austria_Salzburg
 
3282     Gr_Austria_Tyrol 
= _misc_
.DateTime_Gr_Austria_Tyrol
 
3283     Gr_Austria_Carinthia 
= _misc_
.DateTime_Gr_Austria_Carinthia
 
3284     Gr_Austria_Styria 
= _misc_
.DateTime_Gr_Austria_Styria
 
3285     Gr_Belgium 
= _misc_
.DateTime_Gr_Belgium
 
3286     Gr_Bulgaria 
= _misc_
.DateTime_Gr_Bulgaria
 
3287     Gr_Bulgaria_1 
= _misc_
.DateTime_Gr_Bulgaria_1
 
3288     Gr_Bulgaria_2 
= _misc_
.DateTime_Gr_Bulgaria_2
 
3289     Gr_Bulgaria_3 
= _misc_
.DateTime_Gr_Bulgaria_3
 
3290     Gr_Canada 
= _misc_
.DateTime_Gr_Canada
 
3291     Gr_China 
= _misc_
.DateTime_Gr_China
 
3292     Gr_China_1 
= _misc_
.DateTime_Gr_China_1
 
3293     Gr_China_2 
= _misc_
.DateTime_Gr_China_2
 
3294     Gr_Czechoslovakia 
= _misc_
.DateTime_Gr_Czechoslovakia
 
3295     Gr_Denmark 
= _misc_
.DateTime_Gr_Denmark
 
3296     Gr_Egypt 
= _misc_
.DateTime_Gr_Egypt
 
3297     Gr_Estonia 
= _misc_
.DateTime_Gr_Estonia
 
3298     Gr_Finland 
= _misc_
.DateTime_Gr_Finland
 
3299     Gr_France 
= _misc_
.DateTime_Gr_France
 
3300     Gr_France_Alsace 
= _misc_
.DateTime_Gr_France_Alsace
 
3301     Gr_France_Lorraine 
= _misc_
.DateTime_Gr_France_Lorraine
 
3302     Gr_France_Strasbourg 
= _misc_
.DateTime_Gr_France_Strasbourg
 
3303     Gr_Germany 
= _misc_
.DateTime_Gr_Germany
 
3304     Gr_Germany_Catholic 
= _misc_
.DateTime_Gr_Germany_Catholic
 
3305     Gr_Germany_Prussia 
= _misc_
.DateTime_Gr_Germany_Prussia
 
3306     Gr_Germany_Protestant 
= _misc_
.DateTime_Gr_Germany_Protestant
 
3307     Gr_GreatBritain 
= _misc_
.DateTime_Gr_GreatBritain
 
3308     Gr_Greece 
= _misc_
.DateTime_Gr_Greece
 
3309     Gr_Hungary 
= _misc_
.DateTime_Gr_Hungary
 
3310     Gr_Ireland 
= _misc_
.DateTime_Gr_Ireland
 
3311     Gr_Italy 
= _misc_
.DateTime_Gr_Italy
 
3312     Gr_Japan 
= _misc_
.DateTime_Gr_Japan
 
3313     Gr_Japan_1 
= _misc_
.DateTime_Gr_Japan_1
 
3314     Gr_Japan_2 
= _misc_
.DateTime_Gr_Japan_2
 
3315     Gr_Japan_3 
= _misc_
.DateTime_Gr_Japan_3
 
3316     Gr_Latvia 
= _misc_
.DateTime_Gr_Latvia
 
3317     Gr_Lithuania 
= _misc_
.DateTime_Gr_Lithuania
 
3318     Gr_Luxemburg 
= _misc_
.DateTime_Gr_Luxemburg
 
3319     Gr_Netherlands 
= _misc_
.DateTime_Gr_Netherlands
 
3320     Gr_Netherlands_Groningen 
= _misc_
.DateTime_Gr_Netherlands_Groningen
 
3321     Gr_Netherlands_Gelderland 
= _misc_
.DateTime_Gr_Netherlands_Gelderland
 
3322     Gr_Netherlands_Utrecht 
= _misc_
.DateTime_Gr_Netherlands_Utrecht
 
3323     Gr_Netherlands_Friesland 
= _misc_
.DateTime_Gr_Netherlands_Friesland
 
3324     Gr_Norway 
= _misc_
.DateTime_Gr_Norway
 
3325     Gr_Poland 
= _misc_
.DateTime_Gr_Poland
 
3326     Gr_Portugal 
= _misc_
.DateTime_Gr_Portugal
 
3327     Gr_Romania 
= _misc_
.DateTime_Gr_Romania
 
3328     Gr_Russia 
= _misc_
.DateTime_Gr_Russia
 
3329     Gr_Scotland 
= _misc_
.DateTime_Gr_Scotland
 
3330     Gr_Spain 
= _misc_
.DateTime_Gr_Spain
 
3331     Gr_Sweden 
= _misc_
.DateTime_Gr_Sweden
 
3332     Gr_Switzerland 
= _misc_
.DateTime_Gr_Switzerland
 
3333     Gr_Switzerland_Catholic 
= _misc_
.DateTime_Gr_Switzerland_Catholic
 
3334     Gr_Switzerland_Protestant 
= _misc_
.DateTime_Gr_Switzerland_Protestant
 
3335     Gr_Turkey 
= _misc_
.DateTime_Gr_Turkey
 
3336     Gr_USA 
= _misc_
.DateTime_Gr_USA
 
3337     Gr_Wales 
= _misc_
.DateTime_Gr_Wales
 
3338     Gr_Yugoslavia 
= _misc_
.DateTime_Gr_Yugoslavia
 
3339     Country_Unknown 
= _misc_
.DateTime_Country_Unknown
 
3340     Country_Default 
= _misc_
.DateTime_Country_Default
 
3341     Country_WesternEurope_Start 
= _misc_
.DateTime_Country_WesternEurope_Start
 
3342     Country_EEC 
= _misc_
.DateTime_Country_EEC
 
3343     France 
= _misc_
.DateTime_France
 
3344     Germany 
= _misc_
.DateTime_Germany
 
3345     UK 
= _misc_
.DateTime_UK
 
3346     Country_WesternEurope_End 
= _misc_
.DateTime_Country_WesternEurope_End
 
3347     Russia 
= _misc_
.DateTime_Russia
 
3348     USA 
= _misc_
.DateTime_USA
 
3349     Jan 
= _misc_
.DateTime_Jan
 
3350     Feb 
= _misc_
.DateTime_Feb
 
3351     Mar 
= _misc_
.DateTime_Mar
 
3352     Apr 
= _misc_
.DateTime_Apr
 
3353     May 
= _misc_
.DateTime_May
 
3354     Jun 
= _misc_
.DateTime_Jun
 
3355     Jul 
= _misc_
.DateTime_Jul
 
3356     Aug 
= _misc_
.DateTime_Aug
 
3357     Sep 
= _misc_
.DateTime_Sep
 
3358     Oct 
= _misc_
.DateTime_Oct
 
3359     Nov 
= _misc_
.DateTime_Nov
 
3360     Dec 
= _misc_
.DateTime_Dec
 
3361     Inv_Month 
= _misc_
.DateTime_Inv_Month
 
3362     Sun 
= _misc_
.DateTime_Sun
 
3363     Mon 
= _misc_
.DateTime_Mon
 
3364     Tue 
= _misc_
.DateTime_Tue
 
3365     Wed 
= _misc_
.DateTime_Wed
 
3366     Thu 
= _misc_
.DateTime_Thu
 
3367     Fri 
= _misc_
.DateTime_Fri
 
3368     Sat 
= _misc_
.DateTime_Sat
 
3369     Inv_WeekDay 
= _misc_
.DateTime_Inv_WeekDay
 
3370     Inv_Year 
= _misc_
.DateTime_Inv_Year
 
3371     Name_Full 
= _misc_
.DateTime_Name_Full
 
3372     Name_Abbr 
= _misc_
.DateTime_Name_Abbr
 
3373     Default_First 
= _misc_
.DateTime_Default_First
 
3374     Monday_First 
= _misc_
.DateTime_Monday_First
 
3375     Sunday_First 
= _misc_
.DateTime_Sunday_First
 
3376     def SetCountry(*args
, **kwargs
): 
3377         """SetCountry(int country)""" 
3378         return _misc_
.DateTime_SetCountry(*args
, **kwargs
) 
3380     SetCountry 
= staticmethod(SetCountry
) 
3381     def GetCountry(*args
, **kwargs
): 
3382         """GetCountry() -> int""" 
3383         return _misc_
.DateTime_GetCountry(*args
, **kwargs
) 
3385     GetCountry 
= staticmethod(GetCountry
) 
3386     def IsWestEuropeanCountry(*args
, **kwargs
): 
3387         """IsWestEuropeanCountry(int country=Country_Default) -> bool""" 
3388         return _misc_
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
) 
3390     IsWestEuropeanCountry 
= staticmethod(IsWestEuropeanCountry
) 
3391     def GetCurrentYear(*args
, **kwargs
): 
3392         """GetCurrentYear(int cal=Gregorian) -> int""" 
3393         return _misc_
.DateTime_GetCurrentYear(*args
, **kwargs
) 
3395     GetCurrentYear 
= staticmethod(GetCurrentYear
) 
3396     def ConvertYearToBC(*args
, **kwargs
): 
3397         """ConvertYearToBC(int year) -> int""" 
3398         return _misc_
.DateTime_ConvertYearToBC(*args
, **kwargs
) 
3400     ConvertYearToBC 
= staticmethod(ConvertYearToBC
) 
3401     def GetCurrentMonth(*args
, **kwargs
): 
3402         """GetCurrentMonth(int cal=Gregorian) -> int""" 
3403         return _misc_
.DateTime_GetCurrentMonth(*args
, **kwargs
) 
3405     GetCurrentMonth 
= staticmethod(GetCurrentMonth
) 
3406     def IsLeapYear(*args
, **kwargs
): 
3407         """IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" 
3408         return _misc_
.DateTime_IsLeapYear(*args
, **kwargs
) 
3410     IsLeapYear 
= staticmethod(IsLeapYear
) 
3411     def GetCentury(*args
, **kwargs
): 
3412         """GetCentury(int year=Inv_Year) -> int""" 
3413         return _misc_
.DateTime_GetCentury(*args
, **kwargs
) 
3415     GetCentury 
= staticmethod(GetCentury
) 
3416     def GetNumberOfDaysinYear(*args
, **kwargs
): 
3417         """GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" 
3418         return _misc_
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
) 
3420     GetNumberOfDaysinYear 
= staticmethod(GetNumberOfDaysinYear
) 
3421     def GetNumberOfDaysInMonth(*args
, **kwargs
): 
3422         """GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" 
3423         return _misc_
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
) 
3425     GetNumberOfDaysInMonth 
= staticmethod(GetNumberOfDaysInMonth
) 
3426     def GetMonthName(*args
, **kwargs
): 
3427         """GetMonthName(int month, int flags=Name_Full) -> String""" 
3428         return _misc_
.DateTime_GetMonthName(*args
, **kwargs
) 
3430     GetMonthName 
= staticmethod(GetMonthName
) 
3431     def GetWeekDayName(*args
, **kwargs
): 
3432         """GetWeekDayName(int weekday, int flags=Name_Full) -> String""" 
3433         return _misc_
.DateTime_GetWeekDayName(*args
, **kwargs
) 
3435     GetWeekDayName 
= staticmethod(GetWeekDayName
) 
3436     def GetAmPmStrings(*args
, **kwargs
): 
3438         GetAmPmStrings() -> (am, pm) 
3440         Get the AM and PM strings in the current locale (may be empty) 
3442         return _misc_
.DateTime_GetAmPmStrings(*args
, **kwargs
) 
3444     GetAmPmStrings 
= staticmethod(GetAmPmStrings
) 
3445     def IsDSTApplicable(*args
, **kwargs
): 
3446         """IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" 
3447         return _misc_
.DateTime_IsDSTApplicable(*args
, **kwargs
) 
3449     IsDSTApplicable 
= staticmethod(IsDSTApplicable
) 
3450     def GetBeginDST(*args
, **kwargs
): 
3451         """GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3452         return _misc_
.DateTime_GetBeginDST(*args
, **kwargs
) 
3454     GetBeginDST 
= staticmethod(GetBeginDST
) 
3455     def GetEndDST(*args
, **kwargs
): 
3456         """GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3457         return _misc_
.DateTime_GetEndDST(*args
, **kwargs
) 
3459     GetEndDST 
= staticmethod(GetEndDST
) 
3460     def Now(*args
, **kwargs
): 
3461         """Now() -> DateTime""" 
3462         return _misc_
.DateTime_Now(*args
, **kwargs
) 
3464     Now 
= staticmethod(Now
) 
3465     def UNow(*args
, **kwargs
): 
3466         """UNow() -> DateTime""" 
3467         return _misc_
.DateTime_UNow(*args
, **kwargs
) 
3469     UNow 
= staticmethod(UNow
) 
3470     def Today(*args
, **kwargs
): 
3471         """Today() -> DateTime""" 
3472         return _misc_
.DateTime_Today(*args
, **kwargs
) 
3474     Today 
= staticmethod(Today
) 
3475     def __init__(self
, *args
, **kwargs
): 
3476         """__init__(self) -> DateTime""" 
3477         newobj 
= _misc_
.new_DateTime(*args
, **kwargs
) 
3478         self
.this 
= newobj
.this
 
3481     def __del__(self
, destroy
=_misc_
.delete_DateTime
): 
3484             if self
.thisown
: destroy(self
) 
3487     def SetToCurrent(*args
, **kwargs
): 
3488         """SetToCurrent(self) -> DateTime""" 
3489         return _misc_
.DateTime_SetToCurrent(*args
, **kwargs
) 
3491     def SetTimeT(*args
, **kwargs
): 
3492         """SetTimeT(self, time_t timet) -> DateTime""" 
3493         return _misc_
.DateTime_SetTimeT(*args
, **kwargs
) 
3495     def SetJDN(*args
, **kwargs
): 
3496         """SetJDN(self, double jdn) -> DateTime""" 
3497         return _misc_
.DateTime_SetJDN(*args
, **kwargs
) 
3499     def SetHMS(*args
, **kwargs
): 
3500         """SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -> DateTime""" 
3501         return _misc_
.DateTime_SetHMS(*args
, **kwargs
) 
3503     def Set(*args
, **kwargs
): 
3505         Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0,  
3506             int minute=0, int second=0, int millisec=0) -> DateTime 
3508         return _misc_
.DateTime_Set(*args
, **kwargs
) 
3510     def ResetTime(*args
, **kwargs
): 
3511         """ResetTime(self) -> DateTime""" 
3512         return _misc_
.DateTime_ResetTime(*args
, **kwargs
) 
3514     def SetYear(*args
, **kwargs
): 
3515         """SetYear(self, int year) -> DateTime""" 
3516         return _misc_
.DateTime_SetYear(*args
, **kwargs
) 
3518     def SetMonth(*args
, **kwargs
): 
3519         """SetMonth(self, int month) -> DateTime""" 
3520         return _misc_
.DateTime_SetMonth(*args
, **kwargs
) 
3522     def SetDay(*args
, **kwargs
): 
3523         """SetDay(self, int day) -> DateTime""" 
3524         return _misc_
.DateTime_SetDay(*args
, **kwargs
) 
3526     def SetHour(*args
, **kwargs
): 
3527         """SetHour(self, int hour) -> DateTime""" 
3528         return _misc_
.DateTime_SetHour(*args
, **kwargs
) 
3530     def SetMinute(*args
, **kwargs
): 
3531         """SetMinute(self, int minute) -> DateTime""" 
3532         return _misc_
.DateTime_SetMinute(*args
, **kwargs
) 
3534     def SetSecond(*args
, **kwargs
): 
3535         """SetSecond(self, int second) -> DateTime""" 
3536         return _misc_
.DateTime_SetSecond(*args
, **kwargs
) 
3538     def SetMillisecond(*args
, **kwargs
): 
3539         """SetMillisecond(self, int millisecond) -> DateTime""" 
3540         return _misc_
.DateTime_SetMillisecond(*args
, **kwargs
) 
3542     def SetToWeekDayInSameWeek(*args
, **kwargs
): 
3543         """SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime""" 
3544         return _misc_
.DateTime_SetToWeekDayInSameWeek(*args
, **kwargs
) 
3546     def GetWeekDayInSameWeek(*args
, **kwargs
): 
3547         """GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime""" 
3548         return _misc_
.DateTime_GetWeekDayInSameWeek(*args
, **kwargs
) 
3550     def SetToNextWeekDay(*args
, **kwargs
): 
3551         """SetToNextWeekDay(self, int weekday) -> DateTime""" 
3552         return _misc_
.DateTime_SetToNextWeekDay(*args
, **kwargs
) 
3554     def GetNextWeekDay(*args
, **kwargs
): 
3555         """GetNextWeekDay(self, int weekday) -> DateTime""" 
3556         return _misc_
.DateTime_GetNextWeekDay(*args
, **kwargs
) 
3558     def SetToPrevWeekDay(*args
, **kwargs
): 
3559         """SetToPrevWeekDay(self, int weekday) -> DateTime""" 
3560         return _misc_
.DateTime_SetToPrevWeekDay(*args
, **kwargs
) 
3562     def GetPrevWeekDay(*args
, **kwargs
): 
3563         """GetPrevWeekDay(self, int weekday) -> DateTime""" 
3564         return _misc_
.DateTime_GetPrevWeekDay(*args
, **kwargs
) 
3566     def SetToWeekDay(*args
, **kwargs
): 
3567         """SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool""" 
3568         return _misc_
.DateTime_SetToWeekDay(*args
, **kwargs
) 
3570     def SetToLastWeekDay(*args
, **kwargs
): 
3571         """SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> bool""" 
3572         return _misc_
.DateTime_SetToLastWeekDay(*args
, **kwargs
) 
3574     def GetLastWeekDay(*args
, **kwargs
): 
3575         """GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3576         return _misc_
.DateTime_GetLastWeekDay(*args
, **kwargs
) 
3578     def SetToTheWeek(*args
, **kwargs
): 
3579         """SetToTheWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> bool""" 
3580         return _misc_
.DateTime_SetToTheWeek(*args
, **kwargs
) 
3582     def GetWeek(*args
, **kwargs
): 
3583         """GetWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -> DateTime""" 
3584         return _misc_
.DateTime_GetWeek(*args
, **kwargs
) 
3586     SetToTheWeek 
= wx
._deprecated
(SetToTheWeek
, "SetToTheWeek is deprecated, use (static) SetToWeekOfYear instead") 
3587     GetWeek 
= wx
._deprecated
(GetWeek
, "GetWeek is deprecated, use GetWeekOfYear instead") 
3589     def SetToWeekOfYear(*args
, **kwargs
): 
3590         """SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime""" 
3591         return _misc_
.DateTime_SetToWeekOfYear(*args
, **kwargs
) 
3593     SetToWeekOfYear 
= staticmethod(SetToWeekOfYear
) 
3594     def SetToLastMonthDay(*args
, **kwargs
): 
3595         """SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3596         return _misc_
.DateTime_SetToLastMonthDay(*args
, **kwargs
) 
3598     def GetLastMonthDay(*args
, **kwargs
): 
3599         """GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3600         return _misc_
.DateTime_GetLastMonthDay(*args
, **kwargs
) 
3602     def SetToYearDay(*args
, **kwargs
): 
3603         """SetToYearDay(self, int yday) -> DateTime""" 
3604         return _misc_
.DateTime_SetToYearDay(*args
, **kwargs
) 
3606     def GetYearDay(*args
, **kwargs
): 
3607         """GetYearDay(self, int yday) -> DateTime""" 
3608         return _misc_
.DateTime_GetYearDay(*args
, **kwargs
) 
3610     def GetJulianDayNumber(*args
, **kwargs
): 
3611         """GetJulianDayNumber(self) -> double""" 
3612         return _misc_
.DateTime_GetJulianDayNumber(*args
, **kwargs
) 
3614     def GetJDN(*args
, **kwargs
): 
3615         """GetJDN(self) -> double""" 
3616         return _misc_
.DateTime_GetJDN(*args
, **kwargs
) 
3618     def GetModifiedJulianDayNumber(*args
, **kwargs
): 
3619         """GetModifiedJulianDayNumber(self) -> double""" 
3620         return _misc_
.DateTime_GetModifiedJulianDayNumber(*args
, **kwargs
) 
3622     def GetMJD(*args
, **kwargs
): 
3623         """GetMJD(self) -> double""" 
3624         return _misc_
.DateTime_GetMJD(*args
, **kwargs
) 
3626     def GetRataDie(*args
, **kwargs
): 
3627         """GetRataDie(self) -> double""" 
3628         return _misc_
.DateTime_GetRataDie(*args
, **kwargs
) 
3630     def ToTimezone(*args
, **kwargs
): 
3631         """ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3632         return _misc_
.DateTime_ToTimezone(*args
, **kwargs
) 
3634     def MakeTimezone(*args
, **kwargs
): 
3635         """MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3636         return _misc_
.DateTime_MakeTimezone(*args
, **kwargs
) 
3638     def ToGMT(*args
, **kwargs
): 
3639         """ToGMT(self, bool noDST=False) -> DateTime""" 
3640         return _misc_
.DateTime_ToGMT(*args
, **kwargs
) 
3642     def MakeGMT(*args
, **kwargs
): 
3643         """MakeGMT(self, bool noDST=False) -> DateTime""" 
3644         return _misc_
.DateTime_MakeGMT(*args
, **kwargs
) 
3646     def IsDST(*args
, **kwargs
): 
3647         """IsDST(self, int country=Country_Default) -> int""" 
3648         return _misc_
.DateTime_IsDST(*args
, **kwargs
) 
3650     def IsValid(*args
, **kwargs
): 
3651         """IsValid(self) -> bool""" 
3652         return _misc_
.DateTime_IsValid(*args
, **kwargs
) 
3655     def __nonzero__(self
): return self
.Ok()  
3656     def GetTicks(*args
, **kwargs
): 
3657         """GetTicks(self) -> time_t""" 
3658         return _misc_
.DateTime_GetTicks(*args
, **kwargs
) 
3660     def GetYear(*args
, **kwargs
): 
3661         """GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3662         return _misc_
.DateTime_GetYear(*args
, **kwargs
) 
3664     def GetMonth(*args
, **kwargs
): 
3665         """GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3666         return _misc_
.DateTime_GetMonth(*args
, **kwargs
) 
3668     def GetDay(*args
, **kwargs
): 
3669         """GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3670         return _misc_
.DateTime_GetDay(*args
, **kwargs
) 
3672     def GetWeekDay(*args
, **kwargs
): 
3673         """GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3674         return _misc_
.DateTime_GetWeekDay(*args
, **kwargs
) 
3676     def GetHour(*args
, **kwargs
): 
3677         """GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3678         return _misc_
.DateTime_GetHour(*args
, **kwargs
) 
3680     def GetMinute(*args
, **kwargs
): 
3681         """GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3682         return _misc_
.DateTime_GetMinute(*args
, **kwargs
) 
3684     def GetSecond(*args
, **kwargs
): 
3685         """GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3686         return _misc_
.DateTime_GetSecond(*args
, **kwargs
) 
3688     def GetMillisecond(*args
, **kwargs
): 
3689         """GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3690         return _misc_
.DateTime_GetMillisecond(*args
, **kwargs
) 
3692     def GetDayOfYear(*args
, **kwargs
): 
3693         """GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3694         return _misc_
.DateTime_GetDayOfYear(*args
, **kwargs
) 
3696     def GetWeekOfYear(*args
, **kwargs
): 
3697         """GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3698         return _misc_
.DateTime_GetWeekOfYear(*args
, **kwargs
) 
3700     def GetWeekOfMonth(*args
, **kwargs
): 
3701         """GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3702         return _misc_
.DateTime_GetWeekOfMonth(*args
, **kwargs
) 
3704     def IsWorkDay(*args
, **kwargs
): 
3705         """IsWorkDay(self, int country=Country_Default) -> bool""" 
3706         return _misc_
.DateTime_IsWorkDay(*args
, **kwargs
) 
3708     def IsEqualTo(*args
, **kwargs
): 
3709         """IsEqualTo(self, DateTime datetime) -> bool""" 
3710         return _misc_
.DateTime_IsEqualTo(*args
, **kwargs
) 
3712     def IsEarlierThan(*args
, **kwargs
): 
3713         """IsEarlierThan(self, DateTime datetime) -> bool""" 
3714         return _misc_
.DateTime_IsEarlierThan(*args
, **kwargs
) 
3716     def IsLaterThan(*args
, **kwargs
): 
3717         """IsLaterThan(self, DateTime datetime) -> bool""" 
3718         return _misc_
.DateTime_IsLaterThan(*args
, **kwargs
) 
3720     def IsStrictlyBetween(*args
, **kwargs
): 
3721         """IsStrictlyBetween(self, DateTime t1, DateTime t2) -> bool""" 
3722         return _misc_
.DateTime_IsStrictlyBetween(*args
, **kwargs
) 
3724     def IsBetween(*args
, **kwargs
): 
3725         """IsBetween(self, DateTime t1, DateTime t2) -> bool""" 
3726         return _misc_
.DateTime_IsBetween(*args
, **kwargs
) 
3728     def IsSameDate(*args
, **kwargs
): 
3729         """IsSameDate(self, DateTime dt) -> bool""" 
3730         return _misc_
.DateTime_IsSameDate(*args
, **kwargs
) 
3732     def IsSameTime(*args
, **kwargs
): 
3733         """IsSameTime(self, DateTime dt) -> bool""" 
3734         return _misc_
.DateTime_IsSameTime(*args
, **kwargs
) 
3736     def IsEqualUpTo(*args
, **kwargs
): 
3737         """IsEqualUpTo(self, DateTime dt, TimeSpan ts) -> bool""" 
3738         return _misc_
.DateTime_IsEqualUpTo(*args
, **kwargs
) 
3740     def AddTS(*args
, **kwargs
): 
3741         """AddTS(self, TimeSpan diff) -> DateTime""" 
3742         return _misc_
.DateTime_AddTS(*args
, **kwargs
) 
3744     def AddDS(*args
, **kwargs
): 
3745         """AddDS(self, DateSpan diff) -> DateTime""" 
3746         return _misc_
.DateTime_AddDS(*args
, **kwargs
) 
3748     def SubtractTS(*args
, **kwargs
): 
3749         """SubtractTS(self, TimeSpan diff) -> DateTime""" 
3750         return _misc_
.DateTime_SubtractTS(*args
, **kwargs
) 
3752     def SubtractDS(*args
, **kwargs
): 
3753         """SubtractDS(self, DateSpan diff) -> DateTime""" 
3754         return _misc_
.DateTime_SubtractDS(*args
, **kwargs
) 
3756     def Subtract(*args
, **kwargs
): 
3757         """Subtract(self, DateTime dt) -> TimeSpan""" 
3758         return _misc_
.DateTime_Subtract(*args
, **kwargs
) 
3760     def __iadd__(*args
): 
3762         __iadd__(self, TimeSpan diff) -> DateTime 
3763         __iadd__(self, DateSpan diff) -> DateTime 
3765         return _misc_
.DateTime___iadd__(*args
) 
3767     def __isub__(*args
): 
3769         __isub__(self, TimeSpan diff) -> DateTime 
3770         __isub__(self, DateSpan diff) -> DateTime 
3772         return _misc_
.DateTime___isub__(*args
) 
3776         __add__(self, TimeSpan other) -> DateTime 
3777         __add__(self, DateSpan other) -> DateTime 
3779         return _misc_
.DateTime___add__(*args
) 
3783         __sub__(self, DateTime other) -> TimeSpan 
3784         __sub__(self, TimeSpan other) -> DateTime 
3785         __sub__(self, DateSpan other) -> DateTime 
3787         return _misc_
.DateTime___sub__(*args
) 
3789     def __lt__(*args
, **kwargs
): 
3790         """__lt__(self, DateTime other) -> bool""" 
3791         return _misc_
.DateTime___lt__(*args
, **kwargs
) 
3793     def __le__(*args
, **kwargs
): 
3794         """__le__(self, DateTime other) -> bool""" 
3795         return _misc_
.DateTime___le__(*args
, **kwargs
) 
3797     def __gt__(*args
, **kwargs
): 
3798         """__gt__(self, DateTime other) -> bool""" 
3799         return _misc_
.DateTime___gt__(*args
, **kwargs
) 
3801     def __ge__(*args
, **kwargs
): 
3802         """__ge__(self, DateTime other) -> bool""" 
3803         return _misc_
.DateTime___ge__(*args
, **kwargs
) 
3805     def __eq__(*args
, **kwargs
): 
3806         """__eq__(self, DateTime other) -> bool""" 
3807         return _misc_
.DateTime___eq__(*args
, **kwargs
) 
3809     def __ne__(*args
, **kwargs
): 
3810         """__ne__(self, DateTime other) -> bool""" 
3811         return _misc_
.DateTime___ne__(*args
, **kwargs
) 
3813     def ParseRfc822Date(*args
, **kwargs
): 
3814         """ParseRfc822Date(self, String date) -> int""" 
3815         return _misc_
.DateTime_ParseRfc822Date(*args
, **kwargs
) 
3817     def ParseFormat(*args
, **kwargs
): 
3818         """ParseFormat(self, String date, String format=DefaultDateTimeFormat, DateTime dateDef=DefaultDateTime) -> int""" 
3819         return _misc_
.DateTime_ParseFormat(*args
, **kwargs
) 
3821     def ParseDateTime(*args
, **kwargs
): 
3822         """ParseDateTime(self, String datetime) -> int""" 
3823         return _misc_
.DateTime_ParseDateTime(*args
, **kwargs
) 
3825     def ParseDate(*args
, **kwargs
): 
3826         """ParseDate(self, String date) -> int""" 
3827         return _misc_
.DateTime_ParseDate(*args
, **kwargs
) 
3829     def ParseTime(*args
, **kwargs
): 
3830         """ParseTime(self, String time) -> int""" 
3831         return _misc_
.DateTime_ParseTime(*args
, **kwargs
) 
3833     def Format(*args
, **kwargs
): 
3834         """Format(self, String format=DefaultDateTimeFormat, wxDateTime::TimeZone tz=LOCAL_TZ) -> String""" 
3835         return _misc_
.DateTime_Format(*args
, **kwargs
) 
3837     def FormatDate(*args
, **kwargs
): 
3838         """FormatDate(self) -> String""" 
3839         return _misc_
.DateTime_FormatDate(*args
, **kwargs
) 
3841     def FormatTime(*args
, **kwargs
): 
3842         """FormatTime(self) -> String""" 
3843         return _misc_
.DateTime_FormatTime(*args
, **kwargs
) 
3845     def FormatISODate(*args
, **kwargs
): 
3846         """FormatISODate(self) -> String""" 
3847         return _misc_
.DateTime_FormatISODate(*args
, **kwargs
) 
3849     def FormatISOTime(*args
, **kwargs
): 
3850         """FormatISOTime(self) -> String""" 
3851         return _misc_
.DateTime_FormatISOTime(*args
, **kwargs
) 
3855             return '<wx.DateTime: \"%s\" at %s>' % ( self
.Format(), self
.this
) 
3857             return '<wx.DateTime: \"INVALID\" at %s>' % self
.this
 
3860             return self
.Format() 
3862             return "INVALID DateTime" 
3865 class DateTimePtr(DateTime
): 
3866     def __init__(self
, this
): 
3868         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3869         self
.__class
__ = DateTime
 
3870 _misc_
.DateTime_swigregister(DateTimePtr
) 
3871 DefaultDateTimeFormat 
= cvar
.DefaultDateTimeFormat
 
3872 DefaultTimeSpanFormat 
= cvar
.DefaultTimeSpanFormat
 
3874 def DateTime_SetCountry(*args
, **kwargs
): 
3875     """DateTime_SetCountry(int country)""" 
3876     return _misc_
.DateTime_SetCountry(*args
, **kwargs
) 
3878 def DateTime_GetCountry(*args
, **kwargs
): 
3879     """DateTime_GetCountry() -> int""" 
3880     return _misc_
.DateTime_GetCountry(*args
, **kwargs
) 
3882 def DateTime_IsWestEuropeanCountry(*args
, **kwargs
): 
3883     """DateTime_IsWestEuropeanCountry(int country=Country_Default) -> bool""" 
3884     return _misc_
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
) 
3886 def DateTime_GetCurrentYear(*args
, **kwargs
): 
3887     """DateTime_GetCurrentYear(int cal=Gregorian) -> int""" 
3888     return _misc_
.DateTime_GetCurrentYear(*args
, **kwargs
) 
3890 def DateTime_ConvertYearToBC(*args
, **kwargs
): 
3891     """DateTime_ConvertYearToBC(int year) -> int""" 
3892     return _misc_
.DateTime_ConvertYearToBC(*args
, **kwargs
) 
3894 def DateTime_GetCurrentMonth(*args
, **kwargs
): 
3895     """DateTime_GetCurrentMonth(int cal=Gregorian) -> int""" 
3896     return _misc_
.DateTime_GetCurrentMonth(*args
, **kwargs
) 
3898 def DateTime_IsLeapYear(*args
, **kwargs
): 
3899     """DateTime_IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" 
3900     return _misc_
.DateTime_IsLeapYear(*args
, **kwargs
) 
3902 def DateTime_GetCentury(*args
, **kwargs
): 
3903     """DateTime_GetCentury(int year=Inv_Year) -> int""" 
3904     return _misc_
.DateTime_GetCentury(*args
, **kwargs
) 
3906 def DateTime_GetNumberOfDaysinYear(*args
, **kwargs
): 
3907     """DateTime_GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" 
3908     return _misc_
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
) 
3910 def DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
): 
3911     """DateTime_GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" 
3912     return _misc_
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
) 
3914 def DateTime_GetMonthName(*args
, **kwargs
): 
3915     """DateTime_GetMonthName(int month, int flags=Name_Full) -> String""" 
3916     return _misc_
.DateTime_GetMonthName(*args
, **kwargs
) 
3918 def DateTime_GetWeekDayName(*args
, **kwargs
): 
3919     """DateTime_GetWeekDayName(int weekday, int flags=Name_Full) -> String""" 
3920     return _misc_
.DateTime_GetWeekDayName(*args
, **kwargs
) 
3922 def DateTime_GetAmPmStrings(*args
, **kwargs
): 
3924     GetAmPmStrings() -> (am, pm) 
3926     Get the AM and PM strings in the current locale (may be empty) 
3928     return _misc_
.DateTime_GetAmPmStrings(*args
, **kwargs
) 
3930 def DateTime_IsDSTApplicable(*args
, **kwargs
): 
3931     """DateTime_IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" 
3932     return _misc_
.DateTime_IsDSTApplicable(*args
, **kwargs
) 
3934 def DateTime_GetBeginDST(*args
, **kwargs
): 
3935     """DateTime_GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3936     return _misc_
.DateTime_GetBeginDST(*args
, **kwargs
) 
3938 def DateTime_GetEndDST(*args
, **kwargs
): 
3939     """DateTime_GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3940     return _misc_
.DateTime_GetEndDST(*args
, **kwargs
) 
3942 def DateTime_Now(*args
, **kwargs
): 
3943     """DateTime_Now() -> DateTime""" 
3944     return _misc_
.DateTime_Now(*args
, **kwargs
) 
3946 def DateTime_UNow(*args
, **kwargs
): 
3947     """DateTime_UNow() -> DateTime""" 
3948     return _misc_
.DateTime_UNow(*args
, **kwargs
) 
3950 def DateTime_Today(*args
, **kwargs
): 
3951     """DateTime_Today() -> DateTime""" 
3952     return _misc_
.DateTime_Today(*args
, **kwargs
) 
3954 def DateTimeFromTimeT(*args
, **kwargs
): 
3955     """DateTimeFromTimeT(time_t timet) -> DateTime""" 
3956     val 
= _misc_
.new_DateTimeFromTimeT(*args
, **kwargs
) 
3960 def DateTimeFromJDN(*args
, **kwargs
): 
3961     """DateTimeFromJDN(double jdn) -> DateTime""" 
3962     val 
= _misc_
.new_DateTimeFromJDN(*args
, **kwargs
) 
3966 def DateTimeFromHMS(*args
, **kwargs
): 
3967     """DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime""" 
3968     val 
= _misc_
.new_DateTimeFromHMS(*args
, **kwargs
) 
3972 def DateTimeFromDMY(*args
, **kwargs
): 
3974     DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0,  
3975         int minute=0, int second=0, int millisec=0) -> DateTime 
3977     val 
= _misc_
.new_DateTimeFromDMY(*args
, **kwargs
) 
3981 def DateTime_SetToWeekOfYear(*args
, **kwargs
): 
3982     """DateTime_SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime""" 
3983     return _misc_
.DateTime_SetToWeekOfYear(*args
, **kwargs
) 
3985 class TimeSpan(object): 
3986     """Proxy of C++ TimeSpan class""" 
3988         return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3989     def Seconds(*args
, **kwargs
): 
3990         """Seconds(long sec) -> TimeSpan""" 
3991         return _misc_
.TimeSpan_Seconds(*args
, **kwargs
) 
3993     Seconds 
= staticmethod(Seconds
) 
3994     def Second(*args
, **kwargs
): 
3995         """Second() -> TimeSpan""" 
3996         return _misc_
.TimeSpan_Second(*args
, **kwargs
) 
3998     Second 
= staticmethod(Second
) 
3999     def Minutes(*args
, **kwargs
): 
4000         """Minutes(long min) -> TimeSpan""" 
4001         return _misc_
.TimeSpan_Minutes(*args
, **kwargs
) 
4003     Minutes 
= staticmethod(Minutes
) 
4004     def Minute(*args
, **kwargs
): 
4005         """Minute() -> TimeSpan""" 
4006         return _misc_
.TimeSpan_Minute(*args
, **kwargs
) 
4008     Minute 
= staticmethod(Minute
) 
4009     def Hours(*args
, **kwargs
): 
4010         """Hours(long hours) -> TimeSpan""" 
4011         return _misc_
.TimeSpan_Hours(*args
, **kwargs
) 
4013     Hours 
= staticmethod(Hours
) 
4014     def Hour(*args
, **kwargs
): 
4015         """Hour() -> TimeSpan""" 
4016         return _misc_
.TimeSpan_Hour(*args
, **kwargs
) 
4018     Hour 
= staticmethod(Hour
) 
4019     def Days(*args
, **kwargs
): 
4020         """Days(long days) -> TimeSpan""" 
4021         return _misc_
.TimeSpan_Days(*args
, **kwargs
) 
4023     Days 
= staticmethod(Days
) 
4024     def Day(*args
, **kwargs
): 
4025         """Day() -> TimeSpan""" 
4026         return _misc_
.TimeSpan_Day(*args
, **kwargs
) 
4028     Day 
= staticmethod(Day
) 
4029     def Weeks(*args
, **kwargs
): 
4030         """Weeks(long days) -> TimeSpan""" 
4031         return _misc_
.TimeSpan_Weeks(*args
, **kwargs
) 
4033     Weeks 
= staticmethod(Weeks
) 
4034     def Week(*args
, **kwargs
): 
4035         """Week() -> TimeSpan""" 
4036         return _misc_
.TimeSpan_Week(*args
, **kwargs
) 
4038     Week 
= staticmethod(Week
) 
4039     def __init__(self
, *args
, **kwargs
): 
4040         """__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan""" 
4041         newobj 
= _misc_
.new_TimeSpan(*args
, **kwargs
) 
4042         self
.this 
= newobj
.this
 
4045     def __del__(self
, destroy
=_misc_
.delete_TimeSpan
): 
4048             if self
.thisown
: destroy(self
) 
4051     def Add(*args
, **kwargs
): 
4052         """Add(self, TimeSpan diff) -> TimeSpan""" 
4053         return _misc_
.TimeSpan_Add(*args
, **kwargs
) 
4055     def Subtract(*args
, **kwargs
): 
4056         """Subtract(self, TimeSpan diff) -> TimeSpan""" 
4057         return _misc_
.TimeSpan_Subtract(*args
, **kwargs
) 
4059     def Multiply(*args
, **kwargs
): 
4060         """Multiply(self, int n) -> TimeSpan""" 
4061         return _misc_
.TimeSpan_Multiply(*args
, **kwargs
) 
4063     def Neg(*args
, **kwargs
): 
4064         """Neg(self) -> TimeSpan""" 
4065         return _misc_
.TimeSpan_Neg(*args
, **kwargs
) 
4067     def Abs(*args
, **kwargs
): 
4068         """Abs(self) -> TimeSpan""" 
4069         return _misc_
.TimeSpan_Abs(*args
, **kwargs
) 
4071     def __iadd__(*args
, **kwargs
): 
4072         """__iadd__(self, TimeSpan diff) -> TimeSpan""" 
4073         return _misc_
.TimeSpan___iadd__(*args
, **kwargs
) 
4075     def __isub__(*args
, **kwargs
): 
4076         """__isub__(self, TimeSpan diff) -> TimeSpan""" 
4077         return _misc_
.TimeSpan___isub__(*args
, **kwargs
) 
4079     def __imul__(*args
, **kwargs
): 
4080         """__imul__(self, int n) -> TimeSpan""" 
4081         return _misc_
.TimeSpan___imul__(*args
, **kwargs
) 
4083     def __neg__(*args
, **kwargs
): 
4084         """__neg__(self) -> TimeSpan""" 
4085         return _misc_
.TimeSpan___neg__(*args
, **kwargs
) 
4087     def __add__(*args
, **kwargs
): 
4088         """__add__(self, TimeSpan other) -> TimeSpan""" 
4089         return _misc_
.TimeSpan___add__(*args
, **kwargs
) 
4091     def __sub__(*args
, **kwargs
): 
4092         """__sub__(self, TimeSpan other) -> TimeSpan""" 
4093         return _misc_
.TimeSpan___sub__(*args
, **kwargs
) 
4095     def __mul__(*args
, **kwargs
): 
4096         """__mul__(self, int n) -> TimeSpan""" 
4097         return _misc_
.TimeSpan___mul__(*args
, **kwargs
) 
4099     def __rmul__(*args
, **kwargs
): 
4100         """__rmul__(self, int n) -> TimeSpan""" 
4101         return _misc_
.TimeSpan___rmul__(*args
, **kwargs
) 
4103     def __lt__(*args
, **kwargs
): 
4104         """__lt__(self, TimeSpan other) -> bool""" 
4105         return _misc_
.TimeSpan___lt__(*args
, **kwargs
) 
4107     def __le__(*args
, **kwargs
): 
4108         """__le__(self, TimeSpan other) -> bool""" 
4109         return _misc_
.TimeSpan___le__(*args
, **kwargs
) 
4111     def __gt__(*args
, **kwargs
): 
4112         """__gt__(self, TimeSpan other) -> bool""" 
4113         return _misc_
.TimeSpan___gt__(*args
, **kwargs
) 
4115     def __ge__(*args
, **kwargs
): 
4116         """__ge__(self, TimeSpan other) -> bool""" 
4117         return _misc_
.TimeSpan___ge__(*args
, **kwargs
) 
4119     def __eq__(*args
, **kwargs
): 
4120         """__eq__(self, TimeSpan other) -> bool""" 
4121         return _misc_
.TimeSpan___eq__(*args
, **kwargs
) 
4123     def __ne__(*args
, **kwargs
): 
4124         """__ne__(self, TimeSpan other) -> bool""" 
4125         return _misc_
.TimeSpan___ne__(*args
, **kwargs
) 
4127     def IsNull(*args
, **kwargs
): 
4128         """IsNull(self) -> bool""" 
4129         return _misc_
.TimeSpan_IsNull(*args
, **kwargs
) 
4131     def IsPositive(*args
, **kwargs
): 
4132         """IsPositive(self) -> bool""" 
4133         return _misc_
.TimeSpan_IsPositive(*args
, **kwargs
) 
4135     def IsNegative(*args
, **kwargs
): 
4136         """IsNegative(self) -> bool""" 
4137         return _misc_
.TimeSpan_IsNegative(*args
, **kwargs
) 
4139     def IsEqualTo(*args
, **kwargs
): 
4140         """IsEqualTo(self, TimeSpan ts) -> bool""" 
4141         return _misc_
.TimeSpan_IsEqualTo(*args
, **kwargs
) 
4143     def IsLongerThan(*args
, **kwargs
): 
4144         """IsLongerThan(self, TimeSpan ts) -> bool""" 
4145         return _misc_
.TimeSpan_IsLongerThan(*args
, **kwargs
) 
4147     def IsShorterThan(*args
, **kwargs
): 
4148         """IsShorterThan(self, TimeSpan t) -> bool""" 
4149         return _misc_
.TimeSpan_IsShorterThan(*args
, **kwargs
) 
4151     def GetWeeks(*args
, **kwargs
): 
4152         """GetWeeks(self) -> int""" 
4153         return _misc_
.TimeSpan_GetWeeks(*args
, **kwargs
) 
4155     def GetDays(*args
, **kwargs
): 
4156         """GetDays(self) -> int""" 
4157         return _misc_
.TimeSpan_GetDays(*args
, **kwargs
) 
4159     def GetHours(*args
, **kwargs
): 
4160         """GetHours(self) -> int""" 
4161         return _misc_
.TimeSpan_GetHours(*args
, **kwargs
) 
4163     def GetMinutes(*args
, **kwargs
): 
4164         """GetMinutes(self) -> int""" 
4165         return _misc_
.TimeSpan_GetMinutes(*args
, **kwargs
) 
4167     def GetSeconds(*args
, **kwargs
): 
4168         """GetSeconds(self) -> wxLongLong""" 
4169         return _misc_
.TimeSpan_GetSeconds(*args
, **kwargs
) 
4171     def GetMilliseconds(*args
, **kwargs
): 
4172         """GetMilliseconds(self) -> wxLongLong""" 
4173         return _misc_
.TimeSpan_GetMilliseconds(*args
, **kwargs
) 
4175     def Format(*args
, **kwargs
): 
4176         """Format(self, String format=DefaultTimeSpanFormat) -> String""" 
4177         return _misc_
.TimeSpan_Format(*args
, **kwargs
) 
4180         return '<wx.TimeSpan: \"%s\" at %s>' % ( self
.Format(), self
.this
) 
4182         return self
.Format() 
4185 class TimeSpanPtr(TimeSpan
): 
4186     def __init__(self
, this
): 
4188         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4189         self
.__class
__ = TimeSpan
 
4190 _misc_
.TimeSpan_swigregister(TimeSpanPtr
) 
4192 def TimeSpan_Seconds(*args
, **kwargs
): 
4193     """TimeSpan_Seconds(long sec) -> TimeSpan""" 
4194     return _misc_
.TimeSpan_Seconds(*args
, **kwargs
) 
4196 def TimeSpan_Second(*args
, **kwargs
): 
4197     """TimeSpan_Second() -> TimeSpan""" 
4198     return _misc_
.TimeSpan_Second(*args
, **kwargs
) 
4200 def TimeSpan_Minutes(*args
, **kwargs
): 
4201     """TimeSpan_Minutes(long min) -> TimeSpan""" 
4202     return _misc_
.TimeSpan_Minutes(*args
, **kwargs
) 
4204 def TimeSpan_Minute(*args
, **kwargs
): 
4205     """TimeSpan_Minute() -> TimeSpan""" 
4206     return _misc_
.TimeSpan_Minute(*args
, **kwargs
) 
4208 def TimeSpan_Hours(*args
, **kwargs
): 
4209     """TimeSpan_Hours(long hours) -> TimeSpan""" 
4210     return _misc_
.TimeSpan_Hours(*args
, **kwargs
) 
4212 def TimeSpan_Hour(*args
, **kwargs
): 
4213     """TimeSpan_Hour() -> TimeSpan""" 
4214     return _misc_
.TimeSpan_Hour(*args
, **kwargs
) 
4216 def TimeSpan_Days(*args
, **kwargs
): 
4217     """TimeSpan_Days(long days) -> TimeSpan""" 
4218     return _misc_
.TimeSpan_Days(*args
, **kwargs
) 
4220 def TimeSpan_Day(*args
, **kwargs
): 
4221     """TimeSpan_Day() -> TimeSpan""" 
4222     return _misc_
.TimeSpan_Day(*args
, **kwargs
) 
4224 def TimeSpan_Weeks(*args
, **kwargs
): 
4225     """TimeSpan_Weeks(long days) -> TimeSpan""" 
4226     return _misc_
.TimeSpan_Weeks(*args
, **kwargs
) 
4228 def TimeSpan_Week(*args
, **kwargs
): 
4229     """TimeSpan_Week() -> TimeSpan""" 
4230     return _misc_
.TimeSpan_Week(*args
, **kwargs
) 
4232 class DateSpan(object): 
4233     """Proxy of C++ DateSpan class""" 
4235         return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4236     def __init__(self
, *args
, **kwargs
): 
4237         """__init__(self, int years=0, int months=0, int weeks=0, int days=0) -> DateSpan""" 
4238         newobj 
= _misc_
.new_DateSpan(*args
, **kwargs
) 
4239         self
.this 
= newobj
.this
 
4242     def __del__(self
, destroy
=_misc_
.delete_DateSpan
): 
4245             if self
.thisown
: destroy(self
) 
4248     def Days(*args
, **kwargs
): 
4249         """Days(int days) -> DateSpan""" 
4250         return _misc_
.DateSpan_Days(*args
, **kwargs
) 
4252     Days 
= staticmethod(Days
) 
4253     def Day(*args
, **kwargs
): 
4254         """Day() -> DateSpan""" 
4255         return _misc_
.DateSpan_Day(*args
, **kwargs
) 
4257     Day 
= staticmethod(Day
) 
4258     def Weeks(*args
, **kwargs
): 
4259         """Weeks(int weeks) -> DateSpan""" 
4260         return _misc_
.DateSpan_Weeks(*args
, **kwargs
) 
4262     Weeks 
= staticmethod(Weeks
) 
4263     def Week(*args
, **kwargs
): 
4264         """Week() -> DateSpan""" 
4265         return _misc_
.DateSpan_Week(*args
, **kwargs
) 
4267     Week 
= staticmethod(Week
) 
4268     def Months(*args
, **kwargs
): 
4269         """Months(int mon) -> DateSpan""" 
4270         return _misc_
.DateSpan_Months(*args
, **kwargs
) 
4272     Months 
= staticmethod(Months
) 
4273     def Month(*args
, **kwargs
): 
4274         """Month() -> DateSpan""" 
4275         return _misc_
.DateSpan_Month(*args
, **kwargs
) 
4277     Month 
= staticmethod(Month
) 
4278     def Years(*args
, **kwargs
): 
4279         """Years(int years) -> DateSpan""" 
4280         return _misc_
.DateSpan_Years(*args
, **kwargs
) 
4282     Years 
= staticmethod(Years
) 
4283     def Year(*args
, **kwargs
): 
4284         """Year() -> DateSpan""" 
4285         return _misc_
.DateSpan_Year(*args
, **kwargs
) 
4287     Year 
= staticmethod(Year
) 
4288     def SetYears(*args
, **kwargs
): 
4289         """SetYears(self, int n) -> DateSpan""" 
4290         return _misc_
.DateSpan_SetYears(*args
, **kwargs
) 
4292     def SetMonths(*args
, **kwargs
): 
4293         """SetMonths(self, int n) -> DateSpan""" 
4294         return _misc_
.DateSpan_SetMonths(*args
, **kwargs
) 
4296     def SetWeeks(*args
, **kwargs
): 
4297         """SetWeeks(self, int n) -> DateSpan""" 
4298         return _misc_
.DateSpan_SetWeeks(*args
, **kwargs
) 
4300     def SetDays(*args
, **kwargs
): 
4301         """SetDays(self, int n) -> DateSpan""" 
4302         return _misc_
.DateSpan_SetDays(*args
, **kwargs
) 
4304     def GetYears(*args
, **kwargs
): 
4305         """GetYears(self) -> int""" 
4306         return _misc_
.DateSpan_GetYears(*args
, **kwargs
) 
4308     def GetMonths(*args
, **kwargs
): 
4309         """GetMonths(self) -> int""" 
4310         return _misc_
.DateSpan_GetMonths(*args
, **kwargs
) 
4312     def GetWeeks(*args
, **kwargs
): 
4313         """GetWeeks(self) -> int""" 
4314         return _misc_
.DateSpan_GetWeeks(*args
, **kwargs
) 
4316     def GetDays(*args
, **kwargs
): 
4317         """GetDays(self) -> int""" 
4318         return _misc_
.DateSpan_GetDays(*args
, **kwargs
) 
4320     def GetTotalDays(*args
, **kwargs
): 
4321         """GetTotalDays(self) -> int""" 
4322         return _misc_
.DateSpan_GetTotalDays(*args
, **kwargs
) 
4324     def Add(*args
, **kwargs
): 
4325         """Add(self, DateSpan other) -> DateSpan""" 
4326         return _misc_
.DateSpan_Add(*args
, **kwargs
) 
4328     def Subtract(*args
, **kwargs
): 
4329         """Subtract(self, DateSpan other) -> DateSpan""" 
4330         return _misc_
.DateSpan_Subtract(*args
, **kwargs
) 
4332     def Neg(*args
, **kwargs
): 
4333         """Neg(self) -> DateSpan""" 
4334         return _misc_
.DateSpan_Neg(*args
, **kwargs
) 
4336     def Multiply(*args
, **kwargs
): 
4337         """Multiply(self, int factor) -> DateSpan""" 
4338         return _misc_
.DateSpan_Multiply(*args
, **kwargs
) 
4340     def __iadd__(*args
, **kwargs
): 
4341         """__iadd__(self, DateSpan other) -> DateSpan""" 
4342         return _misc_
.DateSpan___iadd__(*args
, **kwargs
) 
4344     def __isub__(*args
, **kwargs
): 
4345         """__isub__(self, DateSpan other) -> DateSpan""" 
4346         return _misc_
.DateSpan___isub__(*args
, **kwargs
) 
4348     def __neg__(*args
, **kwargs
): 
4349         """__neg__(self) -> DateSpan""" 
4350         return _misc_
.DateSpan___neg__(*args
, **kwargs
) 
4352     def __imul__(*args
, **kwargs
): 
4353         """__imul__(self, int factor) -> DateSpan""" 
4354         return _misc_
.DateSpan___imul__(*args
, **kwargs
) 
4356     def __add__(*args
, **kwargs
): 
4357         """__add__(self, DateSpan other) -> DateSpan""" 
4358         return _misc_
.DateSpan___add__(*args
, **kwargs
) 
4360     def __sub__(*args
, **kwargs
): 
4361         """__sub__(self, DateSpan other) -> DateSpan""" 
4362         return _misc_
.DateSpan___sub__(*args
, **kwargs
) 
4364     def __mul__(*args
, **kwargs
): 
4365         """__mul__(self, int n) -> DateSpan""" 
4366         return _misc_
.DateSpan___mul__(*args
, **kwargs
) 
4368     def __rmul__(*args
, **kwargs
): 
4369         """__rmul__(self, int n) -> DateSpan""" 
4370         return _misc_
.DateSpan___rmul__(*args
, **kwargs
) 
4372     def __eq__(*args
, **kwargs
): 
4373         """__eq__(self, DateSpan other) -> bool""" 
4374         return _misc_
.DateSpan___eq__(*args
, **kwargs
) 
4376     def __ne__(*args
, **kwargs
): 
4377         """__ne__(self, DateSpan other) -> bool""" 
4378         return _misc_
.DateSpan___ne__(*args
, **kwargs
) 
4381 class DateSpanPtr(DateSpan
): 
4382     def __init__(self
, this
): 
4384         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4385         self
.__class
__ = DateSpan
 
4386 _misc_
.DateSpan_swigregister(DateSpanPtr
) 
4388 def DateSpan_Days(*args
, **kwargs
): 
4389     """DateSpan_Days(int days) -> DateSpan""" 
4390     return _misc_
.DateSpan_Days(*args
, **kwargs
) 
4392 def DateSpan_Day(*args
, **kwargs
): 
4393     """DateSpan_Day() -> DateSpan""" 
4394     return _misc_
.DateSpan_Day(*args
, **kwargs
) 
4396 def DateSpan_Weeks(*args
, **kwargs
): 
4397     """DateSpan_Weeks(int weeks) -> DateSpan""" 
4398     return _misc_
.DateSpan_Weeks(*args
, **kwargs
) 
4400 def DateSpan_Week(*args
, **kwargs
): 
4401     """DateSpan_Week() -> DateSpan""" 
4402     return _misc_
.DateSpan_Week(*args
, **kwargs
) 
4404 def DateSpan_Months(*args
, **kwargs
): 
4405     """DateSpan_Months(int mon) -> DateSpan""" 
4406     return _misc_
.DateSpan_Months(*args
, **kwargs
) 
4408 def DateSpan_Month(*args
, **kwargs
): 
4409     """DateSpan_Month() -> DateSpan""" 
4410     return _misc_
.DateSpan_Month(*args
, **kwargs
) 
4412 def DateSpan_Years(*args
, **kwargs
): 
4413     """DateSpan_Years(int years) -> DateSpan""" 
4414     return _misc_
.DateSpan_Years(*args
, **kwargs
) 
4416 def DateSpan_Year(*args
, **kwargs
): 
4417     """DateSpan_Year() -> DateSpan""" 
4418     return _misc_
.DateSpan_Year(*args
, **kwargs
) 
4421 def GetLocalTime(*args
, **kwargs
): 
4422     """GetLocalTime() -> long""" 
4423     return _misc_
.GetLocalTime(*args
, **kwargs
) 
4425 def GetUTCTime(*args
, **kwargs
): 
4426     """GetUTCTime() -> long""" 
4427     return _misc_
.GetUTCTime(*args
, **kwargs
) 
4429 def GetCurrentTime(*args
, **kwargs
): 
4430     """GetCurrentTime() -> long""" 
4431     return _misc_
.GetCurrentTime(*args
, **kwargs
) 
4433 def GetLocalTimeMillis(*args
, **kwargs
): 
4434     """GetLocalTimeMillis() -> wxLongLong""" 
4435     return _misc_
.GetLocalTimeMillis(*args
, **kwargs
) 
4436 #--------------------------------------------------------------------------- 
4438 DF_INVALID 
= _misc_
.DF_INVALID
 
4439 DF_TEXT 
= _misc_
.DF_TEXT
 
4440 DF_BITMAP 
= _misc_
.DF_BITMAP
 
4441 DF_METAFILE 
= _misc_
.DF_METAFILE
 
4442 DF_SYLK 
= _misc_
.DF_SYLK
 
4443 DF_DIF 
= _misc_
.DF_DIF
 
4444 DF_TIFF 
= _misc_
.DF_TIFF
 
4445 DF_OEMTEXT 
= _misc_
.DF_OEMTEXT
 
4446 DF_DIB 
= _misc_
.DF_DIB
 
4447 DF_PALETTE 
= _misc_
.DF_PALETTE
 
4448 DF_PENDATA 
= _misc_
.DF_PENDATA
 
4449 DF_RIFF 
= _misc_
.DF_RIFF
 
4450 DF_WAVE 
= _misc_
.DF_WAVE
 
4451 DF_UNICODETEXT 
= _misc_
.DF_UNICODETEXT
 
4452 DF_ENHMETAFILE 
= _misc_
.DF_ENHMETAFILE
 
4453 DF_FILENAME 
= _misc_
.DF_FILENAME
 
4454 DF_LOCALE 
= _misc_
.DF_LOCALE
 
4455 DF_PRIVATE 
= _misc_
.DF_PRIVATE
 
4456 DF_HTML 
= _misc_
.DF_HTML
 
4457 DF_MAX 
= _misc_
.DF_MAX
 
4458 class DataFormat(object): 
4460     A wx.DataFormat is an encapsulation of a platform-specific format 
4461     handle which is used by the system for the clipboard and drag and drop 
4462     operations. The applications are usually only interested in, for 
4463     example, pasting data from the clipboard only if the data is in a 
4464     format the program understands.  A data format is is used to uniquely 
4465     identify this format. 
4468         return "<%s.%s; proxy of C++ wxDataFormat instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4469     def __init__(self
, *args
, **kwargs
): 
4471         __init__(self, int type) -> DataFormat 
4473         Constructs a data format object for one of the standard data formats 
4474         or an empty data object (use SetType or SetId later in this case) 
4476         newobj 
= _misc_
.new_DataFormat(*args
, **kwargs
) 
4477         self
.this 
= newobj
.this
 
4480     def __del__(self
, destroy
=_misc_
.delete_DataFormat
): 
4483             if self
.thisown
: destroy(self
) 
4488         __eq__(self, int format) -> bool 
4489         __eq__(self, DataFormat format) -> bool 
4491         return _misc_
.DataFormat___eq__(*args
) 
4495         __ne__(self, int format) -> bool 
4496         __ne__(self, DataFormat format) -> bool 
4498         return _misc_
.DataFormat___ne__(*args
) 
4500     def SetType(*args
, **kwargs
): 
4502         SetType(self, int format) 
4504         Sets the format to the given value, which should be one of wx.DF_XXX 
4507         return _misc_
.DataFormat_SetType(*args
, **kwargs
) 
4509     def GetType(*args
, **kwargs
): 
4511         GetType(self) -> int 
4513         Returns the platform-specific number identifying the format. 
4515         return _misc_
.DataFormat_GetType(*args
, **kwargs
) 
4517     def GetId(*args
, **kwargs
): 
4519         GetId(self) -> String 
4521         Returns the name of a custom format (this function will fail for a 
4524         return _misc_
.DataFormat_GetId(*args
, **kwargs
) 
4526     def SetId(*args
, **kwargs
): 
4528         SetId(self, String format) 
4530         Sets the format to be the custom format identified by the given name. 
4532         return _misc_
.DataFormat_SetId(*args
, **kwargs
) 
4535 class DataFormatPtr(DataFormat
): 
4536     def __init__(self
, this
): 
4538         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4539         self
.__class
__ = DataFormat
 
4540 _misc_
.DataFormat_swigregister(DataFormatPtr
) 
4541 DefaultDateTime 
= cvar
.DefaultDateTime
 
4543 def CustomDataFormat(*args
, **kwargs
): 
4545     CustomDataFormat(String format) -> DataFormat 
4547     Constructs a data format object for a custom format identified by its 
4550     val 
= _misc_
.new_CustomDataFormat(*args
, **kwargs
) 
4554 class DataObject(object): 
4556     A wx.DataObject represents data that can be copied to or from the 
4557     clipboard, or dragged and dropped. The important thing about 
4558     wx.DataObject is that this is a 'smart' piece of data unlike usual 
4559     'dumb' data containers such as memory buffers or files. Being 'smart' 
4560     here means that the data object itself should know what data formats 
4561     it supports and how to render itself in each of supported formats. 
4563     **NOTE**: This class is an abstract base class and can not be used 
4564     directly from Python.  If you need a custom type of data object then 
4565     you should instead derive from `wx.PyDataObjectSimple` or use 
4566     `wx.CustomDataObject`. 
4569     def __init__(self
): raise RuntimeError, "No constructor defined" 
4571         return "<%s.%s; proxy of C++ wxDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4572     Get 
= _misc_
.DataObject_Get
 
4573     Set 
= _misc_
.DataObject_Set
 
4574     Both 
= _misc_
.DataObject_Both
 
4575     def __del__(self
, destroy
=_misc_
.delete_DataObject
): 
4578             if self
.thisown
: destroy(self
) 
4581     def GetPreferredFormat(*args
, **kwargs
): 
4583         GetPreferredFormat(self, int dir=Get) -> DataFormat 
4585         Returns the preferred format for either rendering the data (if dir is 
4586         Get, its default value) or for setting it. Usually this will be the 
4587         native format of the wx.DataObject. 
4589         return _misc_
.DataObject_GetPreferredFormat(*args
, **kwargs
) 
4591     def GetFormatCount(*args
, **kwargs
): 
4593         GetFormatCount(self, int dir=Get) -> size_t 
4595         Returns the number of available formats for rendering or setting the 
4598         return _misc_
.DataObject_GetFormatCount(*args
, **kwargs
) 
4600     def IsSupported(*args
, **kwargs
): 
4602         IsSupported(self, DataFormat format, int dir=Get) -> bool 
4604         Returns True if this format is supported. 
4606         return _misc_
.DataObject_IsSupported(*args
, **kwargs
) 
4608     def GetDataSize(*args
, **kwargs
): 
4610         GetDataSize(self, DataFormat format) -> size_t 
4612         Get the (total) size of data for the given format 
4614         return _misc_
.DataObject_GetDataSize(*args
, **kwargs
) 
4616     def GetAllFormats(*args
, **kwargs
): 
4618         GetAllFormats(self, int dir=Get) -> [formats] 
4620         Returns a list of all the wx.DataFormats that this dataobject supports 
4621         in the given direction. 
4623         return _misc_
.DataObject_GetAllFormats(*args
, **kwargs
) 
4625     def GetDataHere(*args
, **kwargs
): 
4627         GetDataHere(self, DataFormat format) -> String 
4629         Get the data bytes in the specified format, returns None on failure. 
4632         return _misc_
.DataObject_GetDataHere(*args
, **kwargs
) 
4634     def SetData(*args
, **kwargs
): 
4636         SetData(self, DataFormat format, String data) -> bool 
4638         Set the data in the specified format from the bytes in the the data string. 
4641         return _misc_
.DataObject_SetData(*args
, **kwargs
) 
4644 class DataObjectPtr(DataObject
): 
4645     def __init__(self
, this
): 
4647         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4648         self
.__class
__ = DataObject
 
4649 _misc_
.DataObject_swigregister(DataObjectPtr
) 
4650 FormatInvalid 
= cvar
.FormatInvalid
 
4652 class DataObjectSimple(DataObject
): 
4654     wx.DataObjectSimple is a `wx.DataObject` which only supports one 
4655     format.  This is the simplest possible `wx.DataObject` implementation. 
4657     This is still an "abstract base class" meaning that you can't use it 
4658     directly.  You either need to use one of the predefined base classes, 
4659     or derive your own class from `wx.PyDataObjectSimple`. 
4663         return "<%s.%s; proxy of C++ wxDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4664     def __init__(self
, *args
, **kwargs
): 
4666         __init__(self, DataFormat format=FormatInvalid) -> DataObjectSimple 
4668         Constructor accepts the supported format (none by default) which may 
4669         also be set later with `SetFormat`. 
4671         newobj 
= _misc_
.new_DataObjectSimple(*args
, **kwargs
) 
4672         self
.this 
= newobj
.this
 
4675     def GetFormat(*args
, **kwargs
): 
4677         GetFormat(self) -> DataFormat 
4679         Returns the (one and only one) format supported by this object. It is 
4680         assumed that the format is supported in both directions. 
4682         return _misc_
.DataObjectSimple_GetFormat(*args
, **kwargs
) 
4684     def SetFormat(*args
, **kwargs
): 
4686         SetFormat(self, DataFormat format) 
4688         Sets the supported format. 
4690         return _misc_
.DataObjectSimple_SetFormat(*args
, **kwargs
) 
4692     def GetDataSize(*args
, **kwargs
): 
4694         GetDataSize(self) -> size_t 
4696         Get the size of our data. 
4698         return _misc_
.DataObjectSimple_GetDataSize(*args
, **kwargs
) 
4700     def GetDataHere(*args
, **kwargs
): 
4702         GetDataHere(self) -> String 
4704         Returns the data bytes from the data object as a string, returns None 
4705         on failure.  Must be implemented in the derived class if the object 
4706         supports rendering its data. 
4708         return _misc_
.DataObjectSimple_GetDataHere(*args
, **kwargs
) 
4710     def SetData(*args
, **kwargs
): 
4712         SetData(self, String data) -> bool 
4714         Copy the data value to the data object.  Must be implemented in the 
4715         derived class if the object supports setting its data. 
4718         return _misc_
.DataObjectSimple_SetData(*args
, **kwargs
) 
4721 class DataObjectSimplePtr(DataObjectSimple
): 
4722     def __init__(self
, this
): 
4724         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4725         self
.__class
__ = DataObjectSimple
 
4726 _misc_
.DataObjectSimple_swigregister(DataObjectSimplePtr
) 
4728 class PyDataObjectSimple(DataObjectSimple
): 
4730     wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is 
4731     Python-aware and knows how to reflect calls to its C++ virtual methods 
4732     to methods in the Python derived class.  You should derive from this 
4733     class and overload `GetDataSize`, `GetDataHere` and `SetData` when you 
4734     need to create your own simple single-format type of `wx.DataObject`. 
4738         return "<%s.%s; proxy of C++ wxPyDataObjectSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4739     def __init__(self
, *args
, **kwargs
): 
4741         __init__(self, DataFormat format=FormatInvalid) -> PyDataObjectSimple 
4743         wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is 
4744         Python-aware and knows how to reflect calls to its C++ virtual methods 
4745         to methods in the Python derived class.  You should derive from this 
4746         class and overload `GetDataSize`, `GetDataHere` and `SetData` when you 
4747         need to create your own simple single-format type of `wx.DataObject`. 
4750         newobj 
= _misc_
.new_PyDataObjectSimple(*args
, **kwargs
) 
4751         self
.this 
= newobj
.this
 
4754         self
._setCallbackInfo
(self
, PyDataObjectSimple
) 
4756     def _setCallbackInfo(*args
, **kwargs
): 
4757         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
4758         return _misc_
.PyDataObjectSimple__setCallbackInfo(*args
, **kwargs
) 
4761 class PyDataObjectSimplePtr(PyDataObjectSimple
): 
4762     def __init__(self
, this
): 
4764         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4765         self
.__class
__ = PyDataObjectSimple
 
4766 _misc_
.PyDataObjectSimple_swigregister(PyDataObjectSimplePtr
) 
4768 class DataObjectComposite(DataObject
): 
4770     wx.DataObjectComposite is the simplest `wx.DataObject` derivation 
4771     which may be sued to support multiple formats. It contains several 
4772     'wx.DataObjectSimple` objects and supports any format supported by at 
4773     least one of them. Only one of these data objects is *preferred* (the 
4774     first one if not explicitly changed by using the second parameter of 
4775     `Add`) and its format determines the preferred format of the composite 
4776     data object as well. 
4778     See `wx.DataObject` documentation for the reasons why you might prefer 
4779     to use wx.DataObject directly instead of wx.DataObjectComposite for 
4784         return "<%s.%s; proxy of C++ wxDataObjectComposite instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4785     def __init__(self
, *args
, **kwargs
): 
4787         __init__(self) -> DataObjectComposite 
4789         wx.DataObjectComposite is the simplest `wx.DataObject` derivation 
4790         which may be sued to support multiple formats. It contains several 
4791         'wx.DataObjectSimple` objects and supports any format supported by at 
4792         least one of them. Only one of these data objects is *preferred* (the 
4793         first one if not explicitly changed by using the second parameter of 
4794         `Add`) and its format determines the preferred format of the composite 
4795         data object as well. 
4797         See `wx.DataObject` documentation for the reasons why you might prefer 
4798         to use wx.DataObject directly instead of wx.DataObjectComposite for 
4802         newobj 
= _misc_
.new_DataObjectComposite(*args
, **kwargs
) 
4803         self
.this 
= newobj
.this
 
4806     def Add(*args
, **kwargs
): 
4808         Add(self, DataObjectSimple dataObject, bool preferred=False) 
4810         Adds the dataObject to the list of supported objects and it becomes 
4811         the preferred object if preferred is True. 
4813         return _misc_
.DataObjectComposite_Add(*args
, **kwargs
) 
4816 class DataObjectCompositePtr(DataObjectComposite
): 
4817     def __init__(self
, this
): 
4819         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4820         self
.__class
__ = DataObjectComposite
 
4821 _misc_
.DataObjectComposite_swigregister(DataObjectCompositePtr
) 
4823 class TextDataObject(DataObjectSimple
): 
4825     wx.TextDataObject is a specialization of `wx.DataObject` for text 
4826     data. It can be used without change to paste data into the `wx.Clipboard` 
4827     or a `wx.DropSource`. 
4829     Alternativly, you may wish to derive a new class from the 
4830     `wx.PyTextDataObject` class for providing text on-demand in order to 
4831     minimize memory consumption when offering data in several formats, 
4832     such as plain text and RTF, because by default the text is stored in a 
4833     string in this class, but it might as well be generated on demand when 
4834     requested. For this, `GetTextLength` and `GetText` will have to be 
4838         return "<%s.%s; proxy of C++ wxTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4839     def __init__(self
, *args
, **kwargs
): 
4841         __init__(self, String text=EmptyString) -> TextDataObject 
4843         Constructor, may be used to initialise the text (otherwise `SetText` 
4844         should be used later). 
4846         newobj 
= _misc_
.new_TextDataObject(*args
, **kwargs
) 
4847         self
.this 
= newobj
.this
 
4850     def GetTextLength(*args
, **kwargs
): 
4852         GetTextLength(self) -> size_t 
4854         Returns the data size.  By default, returns the size of the text data 
4855         set in the constructor or using `SetText`.  This can be overridden (via 
4856         `wx.PyTextDataObject`) to provide text size data on-demand. It is 
4857         recommended to return the text length plus 1 for a trailing zero, but 
4858         this is not strictly required. 
4860         return _misc_
.TextDataObject_GetTextLength(*args
, **kwargs
) 
4862     def GetText(*args
, **kwargs
): 
4864         GetText(self) -> String 
4866         Returns the text associated with the data object. 
4868         return _misc_
.TextDataObject_GetText(*args
, **kwargs
) 
4870     def SetText(*args
, **kwargs
): 
4872         SetText(self, String text) 
4874         Sets the text associated with the data object. This method is called 
4875         when the data object receives the data and, by default, copies the 
4876         text into the member variable. If you want to process the text on the 
4877         fly you may wish to override this function (via 
4878         `wx.PyTextDataObject`.) 
4880         return _misc_
.TextDataObject_SetText(*args
, **kwargs
) 
4883 class TextDataObjectPtr(TextDataObject
): 
4884     def __init__(self
, this
): 
4886         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4887         self
.__class
__ = TextDataObject
 
4888 _misc_
.TextDataObject_swigregister(TextDataObjectPtr
) 
4890 class PyTextDataObject(TextDataObject
): 
4892     wx.PyTextDataObject is a version of `wx.TextDataObject` that is 
4893     Python-aware and knows how to reflect calls to its C++ virtual methods 
4894     to methods in the Python derived class.  You should derive from this 
4895     class and overload `GetTextLength`, `GetText`, and `SetText` when you 
4896     want to be able to provide text on demand instead of preloading it 
4897     into the data object. 
4900         return "<%s.%s; proxy of C++ wxPyTextDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4901     def __init__(self
, *args
, **kwargs
): 
4903         __init__(self, String text=EmptyString) -> PyTextDataObject 
4905         wx.PyTextDataObject is a version of `wx.TextDataObject` that is 
4906         Python-aware and knows how to reflect calls to its C++ virtual methods 
4907         to methods in the Python derived class.  You should derive from this 
4908         class and overload `GetTextLength`, `GetText`, and `SetText` when you 
4909         want to be able to provide text on demand instead of preloading it 
4910         into the data object. 
4912         newobj 
= _misc_
.new_PyTextDataObject(*args
, **kwargs
) 
4913         self
.this 
= newobj
.this
 
4916         self
._setCallbackInfo
(self
, PyTextDataObject
) 
4918     def _setCallbackInfo(*args
, **kwargs
): 
4919         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
4920         return _misc_
.PyTextDataObject__setCallbackInfo(*args
, **kwargs
) 
4923 class PyTextDataObjectPtr(PyTextDataObject
): 
4924     def __init__(self
, this
): 
4926         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4927         self
.__class
__ = PyTextDataObject
 
4928 _misc_
.PyTextDataObject_swigregister(PyTextDataObjectPtr
) 
4930 class BitmapDataObject(DataObjectSimple
): 
4932     wx.BitmapDataObject is a specialization of wxDataObject for bitmap 
4933     data. It can be used without change to paste data into the `wx.Clipboard` 
4934     or a `wx.DropSource`. 
4938         return "<%s.%s; proxy of C++ wxBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4939     def __init__(self
, *args
, **kwargs
): 
4941         __init__(self, Bitmap bitmap=wxNullBitmap) -> BitmapDataObject 
4943         Constructor, optionally passing a bitmap (otherwise use `SetBitmap` 
4946         newobj 
= _misc_
.new_BitmapDataObject(*args
, **kwargs
) 
4947         self
.this 
= newobj
.this
 
4950     def GetBitmap(*args
, **kwargs
): 
4952         GetBitmap(self) -> Bitmap 
4954         Returns the bitmap associated with the data object.  You may wish to 
4955         override this method (by deriving from `wx.PyBitmapDataObject`) when 
4956         offering data on-demand, but this is not required by wxWidgets' 
4957         internals. Use this method to get data in bitmap form from the 
4960         return _misc_
.BitmapDataObject_GetBitmap(*args
, **kwargs
) 
4962     def SetBitmap(*args
, **kwargs
): 
4964         SetBitmap(self, Bitmap bitmap) 
4966         Sets the bitmap associated with the data object. This method is called 
4967         when the data object receives data. Usually there will be no reason to 
4968         override this function. 
4970         return _misc_
.BitmapDataObject_SetBitmap(*args
, **kwargs
) 
4973 class BitmapDataObjectPtr(BitmapDataObject
): 
4974     def __init__(self
, this
): 
4976         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4977         self
.__class
__ = BitmapDataObject
 
4978 _misc_
.BitmapDataObject_swigregister(BitmapDataObjectPtr
) 
4980 class PyBitmapDataObject(BitmapDataObject
): 
4982     wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is 
4983     Python-aware and knows how to reflect calls to its C++ virtual methods 
4984     to methods in the Python derived class. To be able to provide bitmap 
4985     data on demand derive from this class and overload `GetBitmap`. 
4988         return "<%s.%s; proxy of C++ wxPyBitmapDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4989     def __init__(self
, *args
, **kwargs
): 
4991         __init__(self, Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject 
4993         wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is 
4994         Python-aware and knows how to reflect calls to its C++ virtual methods 
4995         to methods in the Python derived class. To be able to provide bitmap 
4996         data on demand derive from this class and overload `GetBitmap`. 
4998         newobj 
= _misc_
.new_PyBitmapDataObject(*args
, **kwargs
) 
4999         self
.this 
= newobj
.this
 
5002         self
._setCallbackInfo
(self
, PyBitmapDataObject
) 
5004     def _setCallbackInfo(*args
, **kwargs
): 
5005         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5006         return _misc_
.PyBitmapDataObject__setCallbackInfo(*args
, **kwargs
) 
5009 class PyBitmapDataObjectPtr(PyBitmapDataObject
): 
5010     def __init__(self
, this
): 
5012         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5013         self
.__class
__ = PyBitmapDataObject
 
5014 _misc_
.PyBitmapDataObject_swigregister(PyBitmapDataObjectPtr
) 
5016 class FileDataObject(DataObjectSimple
): 
5018     wx.FileDataObject is a specialization of `wx.DataObjectSimple` for 
5019     file names. The program works with it just as if it were a list of 
5020     absolute file names, but internally it uses the same format as 
5021     Explorer and other compatible programs under Windows or GNOME/KDE 
5022     filemanager under Unix which makes it possible to receive files from 
5023     them using this class. 
5026         return "<%s.%s; proxy of C++ wxFileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5027     def __init__(self
, *args
, **kwargs
): 
5028         """__init__(self) -> FileDataObject""" 
5029         newobj 
= _misc_
.new_FileDataObject(*args
, **kwargs
) 
5030         self
.this 
= newobj
.this
 
5033     def GetFilenames(*args
, **kwargs
): 
5035         GetFilenames(self) -> [names] 
5037         Returns a list of file names. 
5039         return _misc_
.FileDataObject_GetFilenames(*args
, **kwargs
) 
5041     def AddFile(*args
, **kwargs
): 
5043         AddFile(self, String filename) 
5045         Adds a file to the list of files represented by this data object. 
5047         return _misc_
.FileDataObject_AddFile(*args
, **kwargs
) 
5050 class FileDataObjectPtr(FileDataObject
): 
5051     def __init__(self
, this
): 
5053         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5054         self
.__class
__ = FileDataObject
 
5055 _misc_
.FileDataObject_swigregister(FileDataObjectPtr
) 
5057 class CustomDataObject(DataObjectSimple
): 
5059     wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for 
5060     some application-specific data in arbitrary format.  Python strings 
5061     are used for getting and setting data, but any picklable object can 
5062     easily be transfered via strings.  A copy of the data is stored in the 
5066         return "<%s.%s; proxy of C++ wxCustomDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5067     def __init__(self
, *args
): 
5069         __init__(self, DataFormat format) -> CustomDataObject 
5070         __init__(self, String formatName) -> CustomDataObject 
5071         __init__(self) -> CustomDataObject 
5073         wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for 
5074         some application-specific data in arbitrary format.  Python strings 
5075         are used for getting and setting data, but any picklable object can 
5076         easily be transfered via strings.  A copy of the data is stored in the 
5079         newobj 
= _misc_
.new_CustomDataObject(*args
) 
5080         self
.this 
= newobj
.this
 
5083     def SetData(*args
, **kwargs
): 
5085         SetData(self, String data) -> bool 
5087         Copy the data value to the data object. 
5089         return _misc_
.CustomDataObject_SetData(*args
, **kwargs
) 
5092     def GetSize(*args
, **kwargs
): 
5094         GetSize(self) -> size_t 
5096         Get the size of the data. 
5098         return _misc_
.CustomDataObject_GetSize(*args
, **kwargs
) 
5100     def GetData(*args
, **kwargs
): 
5102         GetData(self) -> String 
5104         Returns the data bytes from the data object as a string. 
5106         return _misc_
.CustomDataObject_GetData(*args
, **kwargs
) 
5109 class CustomDataObjectPtr(CustomDataObject
): 
5110     def __init__(self
, this
): 
5112         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5113         self
.__class
__ = CustomDataObject
 
5114 _misc_
.CustomDataObject_swigregister(CustomDataObjectPtr
) 
5116 class URLDataObject(DataObjectComposite
): 
5118     This data object holds a URL in a format that is compatible with some 
5119     browsers such that it is able to be dragged to or from them. 
5122         return "<%s.%s; proxy of C++ wxURLDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5123     def __init__(self
, *args
, **kwargs
): 
5125         __init__(self) -> URLDataObject 
5127         This data object holds a URL in a format that is compatible with some 
5128         browsers such that it is able to be dragged to or from them. 
5130         newobj 
= _misc_
.new_URLDataObject(*args
, **kwargs
) 
5131         self
.this 
= newobj
.this
 
5134     def GetURL(*args
, **kwargs
): 
5136         GetURL(self) -> String 
5138         Returns a string containing the current URL. 
5140         return _misc_
.URLDataObject_GetURL(*args
, **kwargs
) 
5142     def SetURL(*args
, **kwargs
): 
5144         SetURL(self, String url) 
5148         return _misc_
.URLDataObject_SetURL(*args
, **kwargs
) 
5151 class URLDataObjectPtr(URLDataObject
): 
5152     def __init__(self
, this
): 
5154         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5155         self
.__class
__ = URLDataObject
 
5156 _misc_
.URLDataObject_swigregister(URLDataObjectPtr
) 
5158 class MetafileDataObject(DataObjectSimple
): 
5159     """Proxy of C++ MetafileDataObject class""" 
5161         return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5162     def __init__(self
, *args
, **kwargs
): 
5163         """__init__(self) -> MetafileDataObject""" 
5164         newobj 
= _misc_
.new_MetafileDataObject(*args
, **kwargs
) 
5165         self
.this 
= newobj
.this
 
5168     def SetMetafile(*args
, **kwargs
): 
5169         """SetMetafile(self, wxMetafile metafile)""" 
5170         return _misc_
.MetafileDataObject_SetMetafile(*args
, **kwargs
) 
5172     def GetMetafile(*args
, **kwargs
): 
5173         """GetMetafile(self) -> wxMetafile""" 
5174         return _misc_
.MetafileDataObject_GetMetafile(*args
, **kwargs
) 
5177 class MetafileDataObjectPtr(MetafileDataObject
): 
5178     def __init__(self
, this
): 
5180         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5181         self
.__class
__ = MetafileDataObject
 
5182 _misc_
.MetafileDataObject_swigregister(MetafileDataObjectPtr
) 
5184 #--------------------------------------------------------------------------- 
5186 Drag_CopyOnly 
= _misc_
.Drag_CopyOnly
 
5187 Drag_AllowMove 
= _misc_
.Drag_AllowMove
 
5188 Drag_DefaultMove 
= _misc_
.Drag_DefaultMove
 
5189 DragError 
= _misc_
.DragError
 
5190 DragNone 
= _misc_
.DragNone
 
5191 DragCopy 
= _misc_
.DragCopy
 
5192 DragMove 
= _misc_
.DragMove
 
5193 DragLink 
= _misc_
.DragLink
 
5194 DragCancel 
= _misc_
.DragCancel
 
5196 def IsDragResultOk(*args
, **kwargs
): 
5197     """IsDragResultOk(int res) -> bool""" 
5198     return _misc_
.IsDragResultOk(*args
, **kwargs
) 
5199 class DropSource(object): 
5200     """Proxy of C++ DropSource class""" 
5202         return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5203     def __init__(self
, *args
, **kwargs
): 
5205         __init__(self, Window win, Cursor copy=wxNullCursor, Cursor move=wxNullCursor,  
5206             Cursor none=wxNullCursor) -> DropSource 
5208         newobj 
= _misc_
.new_DropSource(*args
, **kwargs
) 
5209         self
.this 
= newobj
.this
 
5212         self
._setCallbackInfo
(self
, DropSource
, 0) 
5214     def _setCallbackInfo(*args
, **kwargs
): 
5215         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)""" 
5216         return _misc_
.DropSource__setCallbackInfo(*args
, **kwargs
) 
5218     def __del__(self
, destroy
=_misc_
.delete_DropSource
): 
5221             if self
.thisown
: destroy(self
) 
5224     def SetData(*args
, **kwargs
): 
5225         """SetData(self, DataObject data)""" 
5226         return _misc_
.DropSource_SetData(*args
, **kwargs
) 
5228     def GetDataObject(*args
, **kwargs
): 
5229         """GetDataObject(self) -> DataObject""" 
5230         return _misc_
.DropSource_GetDataObject(*args
, **kwargs
) 
5232     def SetCursor(*args
, **kwargs
): 
5233         """SetCursor(self, int res, Cursor cursor)""" 
5234         return _misc_
.DropSource_SetCursor(*args
, **kwargs
) 
5236     def DoDragDrop(*args
, **kwargs
): 
5237         """DoDragDrop(self, int flags=Drag_CopyOnly) -> int""" 
5238         return _misc_
.DropSource_DoDragDrop(*args
, **kwargs
) 
5240     def base_GiveFeedback(*args
, **kwargs
): 
5241         """base_GiveFeedback(self, int effect) -> bool""" 
5242         return _misc_
.DropSource_base_GiveFeedback(*args
, **kwargs
) 
5245 class DropSourcePtr(DropSource
): 
5246     def __init__(self
, this
): 
5248         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5249         self
.__class
__ = DropSource
 
5250 _misc_
.DropSource_swigregister(DropSourcePtr
) 
5252 class DropTarget(object): 
5253     """Proxy of C++ DropTarget class""" 
5255         return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5256     def __init__(self
, *args
, **kwargs
): 
5257         """__init__(self, DataObject dataObject=None) -> DropTarget""" 
5258         newobj 
= _misc_
.new_DropTarget(*args
, **kwargs
) 
5259         self
.this 
= newobj
.this
 
5262         self
._setCallbackInfo
(self
, DropTarget
) 
5264     def _setCallbackInfo(*args
, **kwargs
): 
5265         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5266         return _misc_
.DropTarget__setCallbackInfo(*args
, **kwargs
) 
5268     def __del__(self
, destroy
=_misc_
.delete_DropTarget
): 
5271             if self
.thisown
: destroy(self
) 
5274     def GetDataObject(*args
, **kwargs
): 
5275         """GetDataObject(self) -> DataObject""" 
5276         return _misc_
.DropTarget_GetDataObject(*args
, **kwargs
) 
5278     def SetDataObject(*args
, **kwargs
): 
5279         """SetDataObject(self, DataObject dataObject)""" 
5280         return _misc_
.DropTarget_SetDataObject(*args
, **kwargs
) 
5282     def base_OnEnter(*args
, **kwargs
): 
5283         """base_OnEnter(self, int x, int y, int def) -> int""" 
5284         return _misc_
.DropTarget_base_OnEnter(*args
, **kwargs
) 
5286     def base_OnDragOver(*args
, **kwargs
): 
5287         """base_OnDragOver(self, int x, int y, int def) -> int""" 
5288         return _misc_
.DropTarget_base_OnDragOver(*args
, **kwargs
) 
5290     def base_OnLeave(*args
, **kwargs
): 
5291         """base_OnLeave(self)""" 
5292         return _misc_
.DropTarget_base_OnLeave(*args
, **kwargs
) 
5294     def base_OnDrop(*args
, **kwargs
): 
5295         """base_OnDrop(self, int x, int y) -> bool""" 
5296         return _misc_
.DropTarget_base_OnDrop(*args
, **kwargs
) 
5298     def GetData(*args
, **kwargs
): 
5299         """GetData(self) -> bool""" 
5300         return _misc_
.DropTarget_GetData(*args
, **kwargs
) 
5302     def SetDefaultAction(*args
, **kwargs
): 
5303         """SetDefaultAction(self, int action)""" 
5304         return _misc_
.DropTarget_SetDefaultAction(*args
, **kwargs
) 
5306     def GetDefaultAction(*args
, **kwargs
): 
5307         """GetDefaultAction(self) -> int""" 
5308         return _misc_
.DropTarget_GetDefaultAction(*args
, **kwargs
) 
5311 class DropTargetPtr(DropTarget
): 
5312     def __init__(self
, this
): 
5314         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5315         self
.__class
__ = DropTarget
 
5316 _misc_
.DropTarget_swigregister(DropTargetPtr
) 
5318 PyDropTarget 
= DropTarget 
 
5319 class TextDropTarget(DropTarget
): 
5320     """Proxy of C++ TextDropTarget class""" 
5322         return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5323     def __init__(self
, *args
, **kwargs
): 
5324         """__init__(self) -> TextDropTarget""" 
5325         newobj 
= _misc_
.new_TextDropTarget(*args
, **kwargs
) 
5326         self
.this 
= newobj
.this
 
5329         self
._setCallbackInfo
(self
, TextDropTarget
) 
5331     def _setCallbackInfo(*args
, **kwargs
): 
5332         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5333         return _misc_
.TextDropTarget__setCallbackInfo(*args
, **kwargs
) 
5335     def base_OnEnter(*args
, **kwargs
): 
5336         """base_OnEnter(self, int x, int y, int def) -> int""" 
5337         return _misc_
.TextDropTarget_base_OnEnter(*args
, **kwargs
) 
5339     def base_OnDragOver(*args
, **kwargs
): 
5340         """base_OnDragOver(self, int x, int y, int def) -> int""" 
5341         return _misc_
.TextDropTarget_base_OnDragOver(*args
, **kwargs
) 
5343     def base_OnLeave(*args
, **kwargs
): 
5344         """base_OnLeave(self)""" 
5345         return _misc_
.TextDropTarget_base_OnLeave(*args
, **kwargs
) 
5347     def base_OnDrop(*args
, **kwargs
): 
5348         """base_OnDrop(self, int x, int y) -> bool""" 
5349         return _misc_
.TextDropTarget_base_OnDrop(*args
, **kwargs
) 
5351     def base_OnData(*args
, **kwargs
): 
5352         """base_OnData(self, int x, int y, int def) -> int""" 
5353         return _misc_
.TextDropTarget_base_OnData(*args
, **kwargs
) 
5356 class TextDropTargetPtr(TextDropTarget
): 
5357     def __init__(self
, this
): 
5359         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5360         self
.__class
__ = TextDropTarget
 
5361 _misc_
.TextDropTarget_swigregister(TextDropTargetPtr
) 
5363 class FileDropTarget(DropTarget
): 
5364     """Proxy of C++ FileDropTarget class""" 
5366         return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5367     def __init__(self
, *args
, **kwargs
): 
5368         """__init__(self) -> FileDropTarget""" 
5369         newobj 
= _misc_
.new_FileDropTarget(*args
, **kwargs
) 
5370         self
.this 
= newobj
.this
 
5373         self
._setCallbackInfo
(self
, FileDropTarget
) 
5375     def _setCallbackInfo(*args
, **kwargs
): 
5376         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5377         return _misc_
.FileDropTarget__setCallbackInfo(*args
, **kwargs
) 
5379     def base_OnEnter(*args
, **kwargs
): 
5380         """base_OnEnter(self, int x, int y, int def) -> int""" 
5381         return _misc_
.FileDropTarget_base_OnEnter(*args
, **kwargs
) 
5383     def base_OnDragOver(*args
, **kwargs
): 
5384         """base_OnDragOver(self, int x, int y, int def) -> int""" 
5385         return _misc_
.FileDropTarget_base_OnDragOver(*args
, **kwargs
) 
5387     def base_OnLeave(*args
, **kwargs
): 
5388         """base_OnLeave(self)""" 
5389         return _misc_
.FileDropTarget_base_OnLeave(*args
, **kwargs
) 
5391     def base_OnDrop(*args
, **kwargs
): 
5392         """base_OnDrop(self, int x, int y) -> bool""" 
5393         return _misc_
.FileDropTarget_base_OnDrop(*args
, **kwargs
) 
5395     def base_OnData(*args
, **kwargs
): 
5396         """base_OnData(self, int x, int y, int def) -> int""" 
5397         return _misc_
.FileDropTarget_base_OnData(*args
, **kwargs
) 
5400 class FileDropTargetPtr(FileDropTarget
): 
5401     def __init__(self
, this
): 
5403         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5404         self
.__class
__ = FileDropTarget
 
5405 _misc_
.FileDropTarget_swigregister(FileDropTargetPtr
) 
5407 #--------------------------------------------------------------------------- 
5409 class Clipboard(_core
.Object
): 
5411     wx.Clipboard represents the system clipboard and provides methods to 
5412     copy data to it or paste data from it.  Normally, you should only use 
5413     ``wx.TheClipboard`` which is a reference to a global wx.Clipboard 
5416     Call ``wx.TheClipboard``'s `Open` method to get ownership of the 
5417     clipboard. If this operation returns True, you now own the 
5418     clipboard. Call `SetData` to put data on the clipboard, or `GetData` 
5419     to retrieve data from the clipboard.  Call `Close` to close the 
5420     clipboard and relinquish ownership. You should keep the clipboard open 
5423     :see: `wx.DataObject` 
5427         return "<%s.%s; proxy of C++ wxClipboard instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5428     def __init__(self
, *args
, **kwargs
): 
5429         """__init__(self) -> Clipboard""" 
5430         newobj 
= _misc_
.new_Clipboard(*args
, **kwargs
) 
5431         self
.this 
= newobj
.this
 
5434     def __del__(self
, destroy
=_misc_
.delete_Clipboard
): 
5437             if self
.thisown
: destroy(self
) 
5440     def Open(*args
, **kwargs
): 
5444         Call this function to open the clipboard before calling SetData and 
5445         GetData.  Call Close when you have finished with the clipboard.  You 
5446         should keep the clipboard open for only a very short time.  Returns 
5449         return _misc_
.Clipboard_Open(*args
, **kwargs
) 
5451     def Close(*args
, **kwargs
): 
5455         Closes the clipboard. 
5457         return _misc_
.Clipboard_Close(*args
, **kwargs
) 
5459     def IsOpened(*args
, **kwargs
): 
5461         IsOpened(self) -> bool 
5463         Query whether the clipboard is opened 
5465         return _misc_
.Clipboard_IsOpened(*args
, **kwargs
) 
5467     def AddData(*args
, **kwargs
): 
5469         AddData(self, DataObject data) -> bool 
5471         Call this function to add the data object to the clipboard. You may 
5472         call this function repeatedly after having cleared the clipboard. 
5473         After this function has been called, the clipboard owns the data, so 
5474         do not delete the data explicitly. 
5476         :see: `wx.DataObject` 
5478         return _misc_
.Clipboard_AddData(*args
, **kwargs
) 
5480     def SetData(*args
, **kwargs
): 
5482         SetData(self, DataObject data) -> bool 
5484         Set the clipboard data, this is the same as `Clear` followed by 
5487         :see: `wx.DataObject` 
5489         return _misc_
.Clipboard_SetData(*args
, **kwargs
) 
5491     def IsSupported(*args
, **kwargs
): 
5493         IsSupported(self, DataFormat format) -> bool 
5495         Returns True if the given format is available in the data object(s) on 
5498         return _misc_
.Clipboard_IsSupported(*args
, **kwargs
) 
5500     def GetData(*args
, **kwargs
): 
5502         GetData(self, DataObject data) -> bool 
5504         Call this function to fill data with data on the clipboard, if 
5505         available in the required format. Returns true on success. 
5507         return _misc_
.Clipboard_GetData(*args
, **kwargs
) 
5509     def Clear(*args
, **kwargs
): 
5513         Clears data from the clipboard object and also the system's clipboard 
5516         return _misc_
.Clipboard_Clear(*args
, **kwargs
) 
5518     def Flush(*args
, **kwargs
): 
5522         Flushes the clipboard: this means that the data which is currently on 
5523         clipboard will stay available even after the application exits, 
5524         possibly eating memory, otherwise the clipboard will be emptied on 
5525         exit.  Returns False if the operation is unsuccesful for any reason. 
5527         return _misc_
.Clipboard_Flush(*args
, **kwargs
) 
5529     def UsePrimarySelection(*args
, **kwargs
): 
5531         UsePrimarySelection(self, bool primary=True) 
5533         On platforms supporting it (the X11 based platforms), selects the 
5534         so called PRIMARY SELECTION as the clipboard as opposed to the 
5535         normal clipboard, if primary is True. 
5537         return _misc_
.Clipboard_UsePrimarySelection(*args
, **kwargs
) 
5539     def Get(*args
, **kwargs
): 
5543         Returns global instance (wxTheClipboard) of the object. 
5545         return _misc_
.Clipboard_Get(*args
, **kwargs
) 
5547     Get 
= staticmethod(Get
) 
5549 class ClipboardPtr(Clipboard
): 
5550     def __init__(self
, this
): 
5552         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5553         self
.__class
__ = Clipboard
 
5554 _misc_
.Clipboard_swigregister(ClipboardPtr
) 
5556 def Clipboard_Get(*args
, **kwargs
): 
5558     Clipboard_Get() -> Clipboard 
5560     Returns global instance (wxTheClipboard) of the object. 
5562     return _misc_
.Clipboard_Get(*args
, **kwargs
) 
5564 class _wxPyDelayedInitWrapper(object): 
5565     def __init__(self
, initfunc
, *args
, **kwargs
): 
5566         self
._initfunc 
= initfunc
 
5568         self
._kwargs 
= kwargs
 
5569         self
._instance 
= None 
5570     def _checkInstance(self
): 
5571         if self
._instance 
is None: 
5572             self
._instance 
= self
._initfunc
(*self
._args
, **self
._kwargs
)         
5573     def __getattr__(self
, name
): 
5574         self
._checkInstance
() 
5575         return getattr(self
._instance
, name
) 
5577         self
._checkInstance
() 
5578         return repr(self
._instance
) 
5579 TheClipboard 
= _wxPyDelayedInitWrapper(Clipboard
.Get
) 
5581 class ClipboardLocker(object): 
5583     A helpful class for opening the clipboard and automatically 
5584     closing it when the locker is destroyed. 
5587         return "<%s.%s; proxy of C++ wxClipboardLocker instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5588     def __init__(self
, *args
, **kwargs
): 
5590         __init__(self, Clipboard clipboard=None) -> ClipboardLocker 
5592         A helpful class for opening the clipboard and automatically 
5593         closing it when the locker is destroyed. 
5595         newobj 
= _misc_
.new_ClipboardLocker(*args
, **kwargs
) 
5596         self
.this 
= newobj
.this
 
5599     def __del__(self
, destroy
=_misc_
.delete_ClipboardLocker
): 
5602             if self
.thisown
: destroy(self
) 
5605     def __nonzero__(*args
, **kwargs
): 
5607         __nonzero__(self) -> bool 
5609         A ClipboardLocker instance evaluates to True if the clipboard was 
5610         successfully opened. 
5612         return _misc_
.ClipboardLocker___nonzero__(*args
, **kwargs
) 
5615 class ClipboardLockerPtr(ClipboardLocker
): 
5616     def __init__(self
, this
): 
5618         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5619         self
.__class
__ = ClipboardLocker
 
5620 _misc_
.ClipboardLocker_swigregister(ClipboardLockerPtr
) 
5622 #--------------------------------------------------------------------------- 
5624 class VideoMode(object): 
5625     """A simple struct containing video mode parameters for a display""" 
5627         return "<%s.%s; proxy of C++ wxVideoMode instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5628     def __init__(self
, *args
, **kwargs
): 
5630         __init__(self, int width=0, int height=0, int depth=0, int freq=0) -> VideoMode 
5632         A simple struct containing video mode parameters for a display 
5634         newobj 
= _misc_
.new_VideoMode(*args
, **kwargs
) 
5635         self
.this 
= newobj
.this
 
5638     def __del__(self
, destroy
=_misc_
.delete_VideoMode
): 
5641             if self
.thisown
: destroy(self
) 
5644     def Matches(*args
, **kwargs
): 
5646         Matches(self, VideoMode other) -> bool 
5648         Returns true if this mode matches the other one in the sense that all 
5649         non zero fields of the other mode have the same value in this 
5650         one (except for refresh which is allowed to have a greater value) 
5652         return _misc_
.VideoMode_Matches(*args
, **kwargs
) 
5654     def GetWidth(*args
, **kwargs
): 
5656         GetWidth(self) -> int 
5658         Returns the screen width in pixels (e.g. 640*480), 0 means unspecified 
5660         return _misc_
.VideoMode_GetWidth(*args
, **kwargs
) 
5662     def GetHeight(*args
, **kwargs
): 
5664         GetHeight(self) -> int 
5666         Returns the screen width in pixels (e.g. 640*480), 0 means 
5669         return _misc_
.VideoMode_GetHeight(*args
, **kwargs
) 
5671     def GetDepth(*args
, **kwargs
): 
5673         GetDepth(self) -> int 
5675         Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0 
5676         means unspecified/known 
5678         return _misc_
.VideoMode_GetDepth(*args
, **kwargs
) 
5680     def IsOk(*args
, **kwargs
): 
5684         returns true if the object has been initialized 
5686         return _misc_
.VideoMode_IsOk(*args
, **kwargs
) 
5688     def __nonzero__(self
): return self
.IsOk()  
5689     def __eq__(*args
, **kwargs
): 
5690         """__eq__(self, VideoMode other) -> bool""" 
5691         return _misc_
.VideoMode___eq__(*args
, **kwargs
) 
5693     def __ne__(*args
, **kwargs
): 
5694         """__ne__(self, VideoMode other) -> bool""" 
5695         return _misc_
.VideoMode___ne__(*args
, **kwargs
) 
5697     w 
= property(_misc_
.VideoMode_w_get
, _misc_
.VideoMode_w_set
) 
5698     h 
= property(_misc_
.VideoMode_h_get
, _misc_
.VideoMode_h_set
) 
5699     bpp 
= property(_misc_
.VideoMode_bpp_get
, _misc_
.VideoMode_bpp_set
) 
5700     refresh 
= property(_misc_
.VideoMode_refresh_get
, _misc_
.VideoMode_refresh_set
) 
5702 class VideoModePtr(VideoMode
): 
5703     def __init__(self
, this
): 
5705         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5706         self
.__class
__ = VideoMode
 
5707 _misc_
.VideoMode_swigregister(VideoModePtr
) 
5709 class Display(object): 
5710     """Represents a display/monitor attached to the system""" 
5712         return "<%s.%s; proxy of C++ wxDisplay instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5713     def __init__(self
, *args
, **kwargs
): 
5715         __init__(self, size_t index=0) -> Display 
5717         Set up a Display instance with the specified display.  The displays 
5718         are numbered from 0 to GetCount() - 1, 0 is always the primary display 
5719         and the only one which is always supported 
5721         newobj 
= _misc_
.new_Display(*args
, **kwargs
) 
5722         self
.this 
= newobj
.this
 
5725     def __del__(self
, destroy
=_misc_
.delete_Display
): 
5728             if self
.thisown
: destroy(self
) 
5731     def GetCount(*args
, **kwargs
): 
5733         GetCount() -> size_t 
5735         Return the number of available displays. 
5737         return _misc_
.Display_GetCount(*args
, **kwargs
) 
5739     GetCount 
= staticmethod(GetCount
) 
5740     def GetFromPoint(*args
, **kwargs
): 
5742         GetFromPoint(Point pt) -> int 
5744         Find the display where the given point lies, return wx.NOT_FOUND if it 
5745         doesn't belong to any display 
5747         return _misc_
.Display_GetFromPoint(*args
, **kwargs
) 
5749     GetFromPoint 
= staticmethod(GetFromPoint
) 
5750     def GetFromWindow(*args
, **kwargs
): 
5752         GetFromWindow(Window window) -> int 
5754         Find the display where the given window lies, return wx.NOT_FOUND if 
5755         it is not shown at all. 
5757         return _misc_
.Display_GetFromWindow(*args
, **kwargs
) 
5759     GetFromWindow 
= staticmethod(GetFromWindow
) 
5760     def IsOk(*args
, **kwargs
): 
5764         Return true if the object was initialized successfully 
5766         return _misc_
.Display_IsOk(*args
, **kwargs
) 
5768     def __nonzero__(self
): return self
.IsOk()  
5769     def GetGeometry(*args
, **kwargs
): 
5771         GetGeometry(self) -> Rect 
5773         Returns the bounding rectangle of the display whose index was passed 
5776         return _misc_
.Display_GetGeometry(*args
, **kwargs
) 
5778     def GetName(*args
, **kwargs
): 
5780         GetName(self) -> String 
5782         Returns the display's name. A name is not available on all platforms. 
5784         return _misc_
.Display_GetName(*args
, **kwargs
) 
5786     def IsPrimary(*args
, **kwargs
): 
5788         IsPrimary(self) -> bool 
5790         Returns true if the display is the primary display. The primary 
5791         display is the one whose index is 0. 
5793         return _misc_
.Display_IsPrimary(*args
, **kwargs
) 
5795     def GetModes(*args
, **kwargs
): 
5797         GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...] 
5799         Enumerate all video modes supported by this display matching the given 
5800         one (in the sense of VideoMode.Match()). 
5802         As any mode matches the default value of the argument and there is 
5803         always at least one video mode supported by display, the returned 
5804         array is only empty for the default value of the argument if this 
5805         function is not supported at all on this platform. 
5807         return _misc_
.Display_GetModes(*args
, **kwargs
) 
5809     def GetCurrentMode(*args
, **kwargs
): 
5811         GetCurrentMode(self) -> VideoMode 
5813         Get the current video mode. 
5815         return _misc_
.Display_GetCurrentMode(*args
, **kwargs
) 
5817     def ChangeMode(*args
, **kwargs
): 
5819         ChangeMode(self, VideoMode mode=DefaultVideoMode) -> bool 
5821         Changes the video mode of this display to the mode specified in the 
5824         If wx.DefaultVideoMode is passed in as the mode parameter, the defined 
5825         behaviour is that wx.Display will reset the video mode to the default 
5826         mode used by the display.  On Windows, the behavior is normal. 
5827         However, there are differences on other platforms. On Unix variations 
5828         using X11 extensions it should behave as defined, but some 
5829         irregularities may occur. 
5831         On wxMac passing in wx.DefaultVideoMode as the mode parameter does 
5832         nothing.  This happens because Carbon no longer has access to 
5833         DMUseScreenPrefs, an undocumented function that changed the video mode 
5834         to the system default by using the system's 'scrn' resource. 
5836         Returns True if succeeded, False otherwise 
5838         return _misc_
.Display_ChangeMode(*args
, **kwargs
) 
5840     def ResetMode(*args
, **kwargs
): 
5844         Restore the default video mode (just a more readable synonym) 
5846         return _misc_
.Display_ResetMode(*args
, **kwargs
) 
5849 class DisplayPtr(Display
): 
5850     def __init__(self
, this
): 
5852         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5853         self
.__class
__ = Display
 
5854 _misc_
.Display_swigregister(DisplayPtr
) 
5855 DefaultVideoMode 
= cvar
.DefaultVideoMode
 
5857 def Display_GetCount(*args
, **kwargs
): 
5859     Display_GetCount() -> size_t 
5861     Return the number of available displays. 
5863     return _misc_
.Display_GetCount(*args
, **kwargs
) 
5865 def Display_GetFromPoint(*args
, **kwargs
): 
5867     Display_GetFromPoint(Point pt) -> int 
5869     Find the display where the given point lies, return wx.NOT_FOUND if it 
5870     doesn't belong to any display 
5872     return _misc_
.Display_GetFromPoint(*args
, **kwargs
) 
5874 def Display_GetFromWindow(*args
, **kwargs
): 
5876     Display_GetFromWindow(Window window) -> int 
5878     Find the display where the given window lies, return wx.NOT_FOUND if 
5879     it is not shown at all. 
5881     return _misc_
.Display_GetFromWindow(*args
, **kwargs
) 
5883 #--------------------------------------------------------------------------- 
5885 class StandardPaths(object): 
5887     wx.StandardPaths returns the standard locations in the file system and 
5888     should be used by the programs to find their data files in a portable 
5891     In the description of the methods below, the example return values are 
5892     given for the Unix, Windows and Mac OS X systems, however please note 
5893     that these are just the examples and the actual values may differ. For 
5894     example, under Windows: the system administrator may change the 
5895     standard directories locations, i.e. the Windows directory may be 
5896     named W:\Win2003 instead of the default C:\Windows. 
5898     The strings appname and username should be replaced with the value 
5899     returned by `wx.App.GetAppName` and the name of the currently logged 
5900     in user, respectively. The string prefix is only used under Unix and 
5901     is /usr/local by default but may be changed using `SetInstallPrefix`. 
5903     The directories returned by the methods of this class may or may not 
5904     exist. If they don't exist, it's up to the caller to create them, 
5905     wxStandardPaths doesn't do it. 
5907     Finally note that these functions only work with standardly packaged 
5908     applications. I.e. under Unix you should follow the standard 
5909     installation conventions and under Mac you should create your 
5910     application bundle according to the Apple guidelines. Again, this 
5911     class doesn't help you to do it. 
5913     def __init__(self
): raise RuntimeError, "No constructor defined" 
5915         return "<%s.%s; proxy of C++ wxStandardPaths instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5916     def Get(*args
, **kwargs
): 
5918         Get() -> StandardPaths 
5920         Return the global standard paths singleton 
5922         return _misc_
.StandardPaths_Get(*args
, **kwargs
) 
5924     Get 
= staticmethod(Get
) 
5925     def GetConfigDir(*args
, **kwargs
): 
5927         GetConfigDir(self) -> String 
5929         Return the directory with system config files: /etc under Unix, 
5930         'c:\Documents and Settings\All Users\Application Data' under Windows, 
5931         /Library/Preferences for Mac 
5933         return _misc_
.StandardPaths_GetConfigDir(*args
, **kwargs
) 
5935     def GetUserConfigDir(*args
, **kwargs
): 
5937         GetUserConfigDir(self) -> String 
5939         Return the directory for the user config files: $HOME under Unix, 
5940         'c:\Documents and Settings\username' under Windows, and  
5941         ~/Library/Preferences under Mac 
5943         Only use this if you have a single file to put there, otherwise 
5944         `GetUserDataDir` is more appropriate 
5946         return _misc_
.StandardPaths_GetUserConfigDir(*args
, **kwargs
) 
5948     def GetDataDir(*args
, **kwargs
): 
5950         GetDataDir(self) -> String 
5952         Return the location of the application's global, (i.e. not 
5953         user-specific,) data files: prefix/share/appname under Unix, 
5954         'c:\Program Files\appname' under Windows, 
5955         appname.app/Contents/SharedSupport app bundle directory under Mac. 
5957         return _misc_
.StandardPaths_GetDataDir(*args
, **kwargs
) 
5959     def GetLocalDataDir(*args
, **kwargs
): 
5961         GetLocalDataDir(self) -> String 
5963         Return the location for application data files which are 
5964         host-specific.  Same as `GetDataDir` except under Unix where it is 
5967         return _misc_
.StandardPaths_GetLocalDataDir(*args
, **kwargs
) 
5969     def GetUserDataDir(*args
, **kwargs
): 
5971         GetUserDataDir(self) -> String 
5973         Return the directory for the user-dependent application data files: 
5974         $HOME/.appname under Unix, c:\Documents and 
5975         Settings\username\Application Data\appname under Windows and 
5976         ~/Library/Application Support/appname under Mac 
5978         return _misc_
.StandardPaths_GetUserDataDir(*args
, **kwargs
) 
5980     def GetUserLocalDataDir(*args
, **kwargs
): 
5982         GetUserLocalDataDir(self) -> String 
5984         Return the directory for user data files which shouldn't be shared 
5985         with the other machines 
5987         Same as `GetUserDataDir` for all platforms except Windows where it is 
5988         the 'Local Settings\Application Data\appname' directory. 
5990         return _misc_
.StandardPaths_GetUserLocalDataDir(*args
, **kwargs
) 
5992     def GetPluginsDir(*args
, **kwargs
): 
5994         GetPluginsDir(self) -> String 
5996         Return the directory where the loadable modules (plugins) live: 
5997         prefix/lib/appname under Unix, program directory under Windows and 
5998         Contents/Plugins app bundle subdirectory under Mac 
6000         return _misc_
.StandardPaths_GetPluginsDir(*args
, **kwargs
) 
6002     def SetInstallPrefix(*args
, **kwargs
): 
6004         SetInstallPrefix(self, String prefix) 
6006         Set the program installation directory which is /usr/local by default. 
6007         This value will be used by other methods such as `GetDataDir` and 
6008         `GetPluginsDir` as the prefix for what they return. (This function 
6009         only has meaning on Unix systems.) 
6011         return _misc_
.StandardPaths_SetInstallPrefix(*args
, **kwargs
) 
6013     def GetInstallPrefix(*args
, **kwargs
): 
6015         GetInstallPrefix(self) -> String 
6017         Get the program installation prefix. The default is the prefix where 
6018         Python is installed. (This function only has meaning on Unix systems.) 
6020         return _misc_
.StandardPaths_GetInstallPrefix(*args
, **kwargs
) 
6023 class StandardPathsPtr(StandardPaths
): 
6024     def __init__(self
, this
): 
6026         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
6027         self
.__class
__ = StandardPaths
 
6028 _misc_
.StandardPaths_swigregister(StandardPathsPtr
) 
6030 def StandardPaths_Get(*args
, **kwargs
): 
6032     StandardPaths_Get() -> StandardPaths 
6034     Return the global standard paths singleton 
6036     return _misc_
.StandardPaths_Get(*args
, **kwargs
)