1 # This file was created automatically by SWIG 1.3.29. 
   2 # Don't modify this file, modify the SWIG interface instead. 
   6 new_instancemethod 
= new
.instancemethod
 
   7 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1): 
   8     if (name 
== "thisown"): return self
.this
.own(value
) 
  10         if type(value
).__name
__ == 'PySwigObject': 
  11             self
.__dict
__[name
] = value
 
  13     method 
= class_type
.__swig
_setmethods
__.get(name
,None) 
  14     if method
: return method(self
,value
) 
  15     if (not static
) or hasattr(self
,name
): 
  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     if (name 
== "thisown"): return self
.this
.own() 
  25     method 
= class_type
.__swig
_getmethods
__.get(name
,None) 
  26     if method
: return method(self
) 
  27     raise AttributeError,name
 
  30     try: strthis 
= "proxy of " + self
.this
.__repr
__() 
  32     return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,) 
  36     _object 
= types
.ObjectType
 
  38 except AttributeError: 
  44 def _swig_setattr_nondynamic_method(set): 
  45     def set_attr(self
,name
,value
): 
  46         if (name 
== "thisown"): return self
.this
.own(value
) 
  47         if hasattr(self
,name
) or (name 
== "this"): 
  50             raise AttributeError("You cannot add attributes to %s" % self
) 
  56 #--------------------------------------------------------------------------- 
  58 SYS_OEM_FIXED_FONT 
= _misc_
.SYS_OEM_FIXED_FONT
 
  59 SYS_ANSI_FIXED_FONT 
= _misc_
.SYS_ANSI_FIXED_FONT
 
  60 SYS_ANSI_VAR_FONT 
= _misc_
.SYS_ANSI_VAR_FONT
 
  61 SYS_SYSTEM_FONT 
= _misc_
.SYS_SYSTEM_FONT
 
  62 SYS_DEVICE_DEFAULT_FONT 
= _misc_
.SYS_DEVICE_DEFAULT_FONT
 
  63 SYS_DEFAULT_PALETTE 
= _misc_
.SYS_DEFAULT_PALETTE
 
  64 SYS_SYSTEM_FIXED_FONT 
= _misc_
.SYS_SYSTEM_FIXED_FONT
 
  65 SYS_DEFAULT_GUI_FONT 
= _misc_
.SYS_DEFAULT_GUI_FONT
 
  66 SYS_ICONTITLE_FONT 
= _misc_
.SYS_ICONTITLE_FONT
 
  67 SYS_COLOUR_SCROLLBAR 
= _misc_
.SYS_COLOUR_SCROLLBAR
 
  68 SYS_COLOUR_BACKGROUND 
= _misc_
.SYS_COLOUR_BACKGROUND
 
  69 SYS_COLOUR_DESKTOP 
= _misc_
.SYS_COLOUR_DESKTOP
 
  70 SYS_COLOUR_ACTIVECAPTION 
= _misc_
.SYS_COLOUR_ACTIVECAPTION
 
  71 SYS_COLOUR_INACTIVECAPTION 
= _misc_
.SYS_COLOUR_INACTIVECAPTION
 
  72 SYS_COLOUR_MENU 
= _misc_
.SYS_COLOUR_MENU
 
  73 SYS_COLOUR_WINDOW 
= _misc_
.SYS_COLOUR_WINDOW
 
  74 SYS_COLOUR_WINDOWFRAME 
= _misc_
.SYS_COLOUR_WINDOWFRAME
 
  75 SYS_COLOUR_MENUTEXT 
= _misc_
.SYS_COLOUR_MENUTEXT
 
  76 SYS_COLOUR_WINDOWTEXT 
= _misc_
.SYS_COLOUR_WINDOWTEXT
 
  77 SYS_COLOUR_CAPTIONTEXT 
= _misc_
.SYS_COLOUR_CAPTIONTEXT
 
  78 SYS_COLOUR_ACTIVEBORDER 
= _misc_
.SYS_COLOUR_ACTIVEBORDER
 
  79 SYS_COLOUR_INACTIVEBORDER 
= _misc_
.SYS_COLOUR_INACTIVEBORDER
 
  80 SYS_COLOUR_APPWORKSPACE 
= _misc_
.SYS_COLOUR_APPWORKSPACE
 
  81 SYS_COLOUR_HIGHLIGHT 
= _misc_
.SYS_COLOUR_HIGHLIGHT
 
  82 SYS_COLOUR_HIGHLIGHTTEXT 
= _misc_
.SYS_COLOUR_HIGHLIGHTTEXT
 
  83 SYS_COLOUR_BTNFACE 
= _misc_
.SYS_COLOUR_BTNFACE
 
  84 SYS_COLOUR_3DFACE 
= _misc_
.SYS_COLOUR_3DFACE
 
  85 SYS_COLOUR_BTNSHADOW 
= _misc_
.SYS_COLOUR_BTNSHADOW
 
  86 SYS_COLOUR_3DSHADOW 
= _misc_
.SYS_COLOUR_3DSHADOW
 
  87 SYS_COLOUR_GRAYTEXT 
= _misc_
.SYS_COLOUR_GRAYTEXT
 
  88 SYS_COLOUR_BTNTEXT 
= _misc_
.SYS_COLOUR_BTNTEXT
 
  89 SYS_COLOUR_INACTIVECAPTIONTEXT 
= _misc_
.SYS_COLOUR_INACTIVECAPTIONTEXT
 
  90 SYS_COLOUR_BTNHIGHLIGHT 
= _misc_
.SYS_COLOUR_BTNHIGHLIGHT
 
  91 SYS_COLOUR_BTNHILIGHT 
= _misc_
.SYS_COLOUR_BTNHILIGHT
 
  92 SYS_COLOUR_3DHIGHLIGHT 
= _misc_
.SYS_COLOUR_3DHIGHLIGHT
 
  93 SYS_COLOUR_3DHILIGHT 
= _misc_
.SYS_COLOUR_3DHILIGHT
 
  94 SYS_COLOUR_3DDKSHADOW 
= _misc_
.SYS_COLOUR_3DDKSHADOW
 
  95 SYS_COLOUR_3DLIGHT 
= _misc_
.SYS_COLOUR_3DLIGHT
 
  96 SYS_COLOUR_INFOTEXT 
= _misc_
.SYS_COLOUR_INFOTEXT
 
  97 SYS_COLOUR_INFOBK 
= _misc_
.SYS_COLOUR_INFOBK
 
  98 SYS_COLOUR_LISTBOX 
= _misc_
.SYS_COLOUR_LISTBOX
 
  99 SYS_COLOUR_HOTLIGHT 
= _misc_
.SYS_COLOUR_HOTLIGHT
 
 100 SYS_COLOUR_GRADIENTACTIVECAPTION 
= _misc_
.SYS_COLOUR_GRADIENTACTIVECAPTION
 
 101 SYS_COLOUR_GRADIENTINACTIVECAPTION 
= _misc_
.SYS_COLOUR_GRADIENTINACTIVECAPTION
 
 102 SYS_COLOUR_MENUHILIGHT 
= _misc_
.SYS_COLOUR_MENUHILIGHT
 
 103 SYS_COLOUR_MENUBAR 
= _misc_
.SYS_COLOUR_MENUBAR
 
 104 SYS_COLOUR_MAX 
= _misc_
.SYS_COLOUR_MAX
 
 105 SYS_MOUSE_BUTTONS 
= _misc_
.SYS_MOUSE_BUTTONS
 
 106 SYS_BORDER_X 
= _misc_
.SYS_BORDER_X
 
 107 SYS_BORDER_Y 
= _misc_
.SYS_BORDER_Y
 
 108 SYS_CURSOR_X 
= _misc_
.SYS_CURSOR_X
 
 109 SYS_CURSOR_Y 
= _misc_
.SYS_CURSOR_Y
 
 110 SYS_DCLICK_X 
= _misc_
.SYS_DCLICK_X
 
 111 SYS_DCLICK_Y 
= _misc_
.SYS_DCLICK_Y
 
 112 SYS_DRAG_X 
= _misc_
.SYS_DRAG_X
 
 113 SYS_DRAG_Y 
= _misc_
.SYS_DRAG_Y
 
 114 SYS_EDGE_X 
= _misc_
.SYS_EDGE_X
 
 115 SYS_EDGE_Y 
= _misc_
.SYS_EDGE_Y
 
 116 SYS_HSCROLL_ARROW_X 
= _misc_
.SYS_HSCROLL_ARROW_X
 
 117 SYS_HSCROLL_ARROW_Y 
= _misc_
.SYS_HSCROLL_ARROW_Y
 
 118 SYS_HTHUMB_X 
= _misc_
.SYS_HTHUMB_X
 
 119 SYS_ICON_X 
= _misc_
.SYS_ICON_X
 
 120 SYS_ICON_Y 
= _misc_
.SYS_ICON_Y
 
 121 SYS_ICONSPACING_X 
= _misc_
.SYS_ICONSPACING_X
 
 122 SYS_ICONSPACING_Y 
= _misc_
.SYS_ICONSPACING_Y
 
 123 SYS_WINDOWMIN_X 
= _misc_
.SYS_WINDOWMIN_X
 
 124 SYS_WINDOWMIN_Y 
= _misc_
.SYS_WINDOWMIN_Y
 
 125 SYS_SCREEN_X 
= _misc_
.SYS_SCREEN_X
 
 126 SYS_SCREEN_Y 
= _misc_
.SYS_SCREEN_Y
 
 127 SYS_FRAMESIZE_X 
= _misc_
.SYS_FRAMESIZE_X
 
 128 SYS_FRAMESIZE_Y 
= _misc_
.SYS_FRAMESIZE_Y
 
 129 SYS_SMALLICON_X 
= _misc_
.SYS_SMALLICON_X
 
 130 SYS_SMALLICON_Y 
= _misc_
.SYS_SMALLICON_Y
 
 131 SYS_HSCROLL_Y 
= _misc_
.SYS_HSCROLL_Y
 
 132 SYS_VSCROLL_X 
= _misc_
.SYS_VSCROLL_X
 
 133 SYS_VSCROLL_ARROW_X 
= _misc_
.SYS_VSCROLL_ARROW_X
 
 134 SYS_VSCROLL_ARROW_Y 
= _misc_
.SYS_VSCROLL_ARROW_Y
 
 135 SYS_VTHUMB_Y 
= _misc_
.SYS_VTHUMB_Y
 
 136 SYS_CAPTION_Y 
= _misc_
.SYS_CAPTION_Y
 
 137 SYS_MENU_Y 
= _misc_
.SYS_MENU_Y
 
 138 SYS_NETWORK_PRESENT 
= _misc_
.SYS_NETWORK_PRESENT
 
 139 SYS_PENWINDOWS_PRESENT 
= _misc_
.SYS_PENWINDOWS_PRESENT
 
 140 SYS_SHOW_SOUNDS 
= _misc_
.SYS_SHOW_SOUNDS
 
 141 SYS_SWAP_BUTTONS 
= _misc_
.SYS_SWAP_BUTTONS
 
 142 SYS_CAN_DRAW_FRAME_DECORATIONS 
= _misc_
.SYS_CAN_DRAW_FRAME_DECORATIONS
 
 143 SYS_CAN_ICONIZE_FRAME 
= _misc_
.SYS_CAN_ICONIZE_FRAME
 
 144 SYS_TABLET_PRESENT 
= _misc_
.SYS_TABLET_PRESENT
 
 145 SYS_SCREEN_NONE 
= _misc_
.SYS_SCREEN_NONE
 
 146 SYS_SCREEN_TINY 
= _misc_
.SYS_SCREEN_TINY
 
 147 SYS_SCREEN_PDA 
= _misc_
.SYS_SCREEN_PDA
 
 148 SYS_SCREEN_SMALL 
= _misc_
.SYS_SCREEN_SMALL
 
 149 SYS_SCREEN_DESKTOP 
= _misc_
.SYS_SCREEN_DESKTOP
 
 150 class SystemSettings(object): 
 151     """Proxy of C++ SystemSettings class""" 
 152     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 153     def __init__(self
): raise AttributeError, "No constructor defined" 
 154     __repr__ 
= _swig_repr
 
 155     def GetColour(*args
, **kwargs
): 
 156         """GetColour(int index) -> Colour""" 
 157         return _misc_
.SystemSettings_GetColour(*args
, **kwargs
) 
 159     GetColour 
= staticmethod(GetColour
) 
 160     def GetFont(*args
, **kwargs
): 
 161         """GetFont(int index) -> Font""" 
 162         return _misc_
.SystemSettings_GetFont(*args
, **kwargs
) 
 164     GetFont 
= staticmethod(GetFont
) 
 165     def GetMetric(*args
, **kwargs
): 
 166         """GetMetric(int index, Window win=None) -> int""" 
 167         return _misc_
.SystemSettings_GetMetric(*args
, **kwargs
) 
 169     GetMetric 
= staticmethod(GetMetric
) 
 170     def HasFeature(*args
, **kwargs
): 
 171         """HasFeature(int index) -> bool""" 
 172         return _misc_
.SystemSettings_HasFeature(*args
, **kwargs
) 
 174     HasFeature 
= staticmethod(HasFeature
) 
 175     def GetScreenType(*args
, **kwargs
): 
 176         """GetScreenType() -> int""" 
 177         return _misc_
.SystemSettings_GetScreenType(*args
, **kwargs
) 
 179     GetScreenType 
= staticmethod(GetScreenType
) 
 180     def SetScreenType(*args
, **kwargs
): 
 181         """SetScreenType(int screen)""" 
 182         return _misc_
.SystemSettings_SetScreenType(*args
, **kwargs
) 
 184     SetScreenType 
= staticmethod(SetScreenType
) 
 185 _misc_
.SystemSettings_swigregister(SystemSettings
) 
 187 def SystemSettings_GetColour(*args
, **kwargs
): 
 188   """SystemSettings_GetColour(int index) -> Colour""" 
 189   return _misc_
.SystemSettings_GetColour(*args
, **kwargs
) 
 191 def SystemSettings_GetFont(*args
, **kwargs
): 
 192   """SystemSettings_GetFont(int index) -> Font""" 
 193   return _misc_
.SystemSettings_GetFont(*args
, **kwargs
) 
 195 def SystemSettings_GetMetric(*args
, **kwargs
): 
 196   """SystemSettings_GetMetric(int index, Window win=None) -> int""" 
 197   return _misc_
.SystemSettings_GetMetric(*args
, **kwargs
) 
 199 def SystemSettings_HasFeature(*args
, **kwargs
): 
 200   """SystemSettings_HasFeature(int index) -> bool""" 
 201   return _misc_
.SystemSettings_HasFeature(*args
, **kwargs
) 
 203 def SystemSettings_GetScreenType(*args
): 
 204   """SystemSettings_GetScreenType() -> int""" 
 205   return _misc_
.SystemSettings_GetScreenType(*args
) 
 207 def SystemSettings_SetScreenType(*args
, **kwargs
): 
 208   """SystemSettings_SetScreenType(int screen)""" 
 209   return _misc_
.SystemSettings_SetScreenType(*args
, **kwargs
) 
 211 class SystemOptions(_core
.Object
): 
 212     """Proxy of C++ SystemOptions class""" 
 213     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 214     __repr__ 
= _swig_repr
 
 215     def __init__(self
, *args
, **kwargs
):  
 216         """__init__(self) -> SystemOptions""" 
 217         _misc_
.SystemOptions_swiginit(self
,_misc_
.new_SystemOptions(*args
, **kwargs
)) 
 218     def SetOption(*args
, **kwargs
): 
 219         """SetOption(String name, String value)""" 
 220         return _misc_
.SystemOptions_SetOption(*args
, **kwargs
) 
 222     SetOption 
= staticmethod(SetOption
) 
 223     def SetOptionInt(*args
, **kwargs
): 
 224         """SetOptionInt(String name, int value)""" 
 225         return _misc_
.SystemOptions_SetOptionInt(*args
, **kwargs
) 
 227     SetOptionInt 
= staticmethod(SetOptionInt
) 
 228     def GetOption(*args
, **kwargs
): 
 229         """GetOption(String name) -> String""" 
 230         return _misc_
.SystemOptions_GetOption(*args
, **kwargs
) 
 232     GetOption 
= staticmethod(GetOption
) 
 233     def GetOptionInt(*args
, **kwargs
): 
 234         """GetOptionInt(String name) -> int""" 
 235         return _misc_
.SystemOptions_GetOptionInt(*args
, **kwargs
) 
 237     GetOptionInt 
= staticmethod(GetOptionInt
) 
 238     def HasOption(*args
, **kwargs
): 
 239         """HasOption(String name) -> bool""" 
 240         return _misc_
.SystemOptions_HasOption(*args
, **kwargs
) 
 242     HasOption 
= staticmethod(HasOption
) 
 243     def IsFalse(*args
, **kwargs
): 
 244         """IsFalse(String name) -> bool""" 
 245         return _misc_
.SystemOptions_IsFalse(*args
, **kwargs
) 
 247     IsFalse 
= staticmethod(IsFalse
) 
 248 _misc_
.SystemOptions_swigregister(SystemOptions
) 
 250 WINDOW_DEFAULT_VARIANT 
= cvar
.WINDOW_DEFAULT_VARIANT
 
 252 def SystemOptions_SetOption(*args
, **kwargs
): 
 253   """SystemOptions_SetOption(String name, String value)""" 
 254   return _misc_
.SystemOptions_SetOption(*args
, **kwargs
) 
 256 def SystemOptions_SetOptionInt(*args
, **kwargs
): 
 257   """SystemOptions_SetOptionInt(String name, int value)""" 
 258   return _misc_
.SystemOptions_SetOptionInt(*args
, **kwargs
) 
 260 def SystemOptions_GetOption(*args
, **kwargs
): 
 261   """SystemOptions_GetOption(String name) -> String""" 
 262   return _misc_
.SystemOptions_GetOption(*args
, **kwargs
) 
 264 def SystemOptions_GetOptionInt(*args
, **kwargs
): 
 265   """SystemOptions_GetOptionInt(String name) -> int""" 
 266   return _misc_
.SystemOptions_GetOptionInt(*args
, **kwargs
) 
 268 def SystemOptions_HasOption(*args
, **kwargs
): 
 269   """SystemOptions_HasOption(String name) -> bool""" 
 270   return _misc_
.SystemOptions_HasOption(*args
, **kwargs
) 
 272 def SystemOptions_IsFalse(*args
, **kwargs
): 
 273   """SystemOptions_IsFalse(String name) -> bool""" 
 274   return _misc_
.SystemOptions_IsFalse(*args
, **kwargs
) 
 276 #--------------------------------------------------------------------------- 
 280   """NewId() -> long""" 
 281   return _misc_
.NewId(*args
) 
 283 def RegisterId(*args
, **kwargs
): 
 284   """RegisterId(long id)""" 
 285   return _misc_
.RegisterId(*args
, **kwargs
) 
 287 def GetCurrentId(*args
): 
 288   """GetCurrentId() -> long""" 
 289   return _misc_
.GetCurrentId(*args
) 
 291 def IsStockID(*args
, **kwargs
): 
 292   """IsStockID(int id) -> bool""" 
 293   return _misc_
.IsStockID(*args
, **kwargs
) 
 295 def IsStockLabel(*args
, **kwargs
): 
 296   """IsStockLabel(int id, String label) -> bool""" 
 297   return _misc_
.IsStockLabel(*args
, **kwargs
) 
 298 STOCK_NOFLAGS 
= _misc_
.STOCK_NOFLAGS
 
 299 STOCK_WITH_MNEMONIC 
= _misc_
.STOCK_WITH_MNEMONIC
 
 300 STOCK_WITH_ACCELERATOR 
= _misc_
.STOCK_WITH_ACCELERATOR
 
 302 def GetStockLabel(*args
, **kwargs
): 
 303   """GetStockLabel(int id, long flags=STOCK_WITH_MNEMONIC) -> String""" 
 304   return _misc_
.GetStockLabel(*args
, **kwargs
) 
 305 STOCK_MENU 
= _misc_
.STOCK_MENU
 
 307 def GetStockHelpString(*args
, **kwargs
): 
 308   """GetStockHelpString(int id, int client=STOCK_MENU) -> String""" 
 309   return _misc_
.GetStockHelpString(*args
, **kwargs
) 
 313   return _misc_
.Bell(*args
) 
 315 def EndBusyCursor(*args
): 
 316   """EndBusyCursor()""" 
 317   return _misc_
.EndBusyCursor(*args
) 
 320   """IsBusy() -> bool""" 
 321   return _misc_
.IsBusy(*args
) 
 324   """Now() -> String""" 
 325   return _misc_
.Now(*args
) 
 327 def Shell(*args
, **kwargs
): 
 328   """Shell(String command=EmptyString) -> bool""" 
 329   return _misc_
.Shell(*args
, **kwargs
) 
 331 def GetOsVersion(*args
): 
 332   """GetOsVersion() -> (platform, major, minor)""" 
 333   return _misc_
.GetOsVersion(*args
) 
 335 def GetOsDescription(*args
): 
 336   """GetOsDescription() -> String""" 
 337   return _misc_
.GetOsDescription(*args
) 
 339 def IsPlatformLittleEndian(*args
): 
 340   """IsPlatformLittleEndian() -> bool""" 
 341   return _misc_
.IsPlatformLittleEndian(*args
) 
 343 def IsPlatform64Bit(*args
): 
 344   """IsPlatform64Bit() -> bool""" 
 345   return _misc_
.IsPlatform64Bit(*args
) 
 347 def GetFreeMemory(*args
): 
 348   """GetFreeMemory() -> wxMemorySize""" 
 349   return _misc_
.GetFreeMemory(*args
) 
 350 SHUTDOWN_POWEROFF 
= _misc_
.SHUTDOWN_POWEROFF
 
 351 SHUTDOWN_REBOOT 
= _misc_
.SHUTDOWN_REBOOT
 
 353 def Shutdown(*args
, **kwargs
): 
 354   """Shutdown(int wFlags) -> bool""" 
 355   return _misc_
.Shutdown(*args
, **kwargs
) 
 357 def Sleep(*args
, **kwargs
): 
 358   """Sleep(int secs)""" 
 359   return _misc_
.Sleep(*args
, **kwargs
) 
 361 def MilliSleep(*args
, **kwargs
): 
 362   """MilliSleep(unsigned long milliseconds)""" 
 363   return _misc_
.MilliSleep(*args
, **kwargs
) 
 365 def MicroSleep(*args
, **kwargs
): 
 366   """MicroSleep(unsigned long microseconds)""" 
 367   return _misc_
.MicroSleep(*args
, **kwargs
) 
 370 def EnableTopLevelWindows(*args
, **kwargs
): 
 371   """EnableTopLevelWindows(bool enable)""" 
 372   return _misc_
.EnableTopLevelWindows(*args
, **kwargs
) 
 374 def StripMenuCodes(*args
, **kwargs
): 
 375   """StripMenuCodes(String in) -> String""" 
 376   return _misc_
.StripMenuCodes(*args
, **kwargs
) 
 378 def GetEmailAddress(*args
): 
 379   """GetEmailAddress() -> String""" 
 380   return _misc_
.GetEmailAddress(*args
) 
 382 def GetHostName(*args
): 
 383   """GetHostName() -> String""" 
 384   return _misc_
.GetHostName(*args
) 
 386 def GetFullHostName(*args
): 
 387   """GetFullHostName() -> String""" 
 388   return _misc_
.GetFullHostName(*args
) 
 390 def GetUserId(*args
): 
 391   """GetUserId() -> String""" 
 392   return _misc_
.GetUserId(*args
) 
 394 def GetUserName(*args
): 
 395   """GetUserName() -> String""" 
 396   return _misc_
.GetUserName(*args
) 
 398 def GetHomeDir(*args
): 
 399   """GetHomeDir() -> String""" 
 400   return _misc_
.GetHomeDir(*args
) 
 402 def GetUserHome(*args
, **kwargs
): 
 403   """GetUserHome(String user=EmptyString) -> String""" 
 404   return _misc_
.GetUserHome(*args
, **kwargs
) 
 406 def GetProcessId(*args
): 
 407   """GetProcessId() -> unsigned long""" 
 408   return _misc_
.GetProcessId(*args
) 
 412   return _misc_
.Trap(*args
) 
 414 def FileSelector(*args
, **kwargs
): 
 416     FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString,  
 417         String default_filename=EmptyString,  
 418         String default_extension=EmptyString,  
 419         String wildcard=FileSelectorDefaultWildcardStr,  
 420         int flags=0, Window parent=None, int x=-1,  
 423   return _misc_
.FileSelector(*args
, **kwargs
) 
 425 def LoadFileSelector(*args
, **kwargs
): 
 427     LoadFileSelector(String what, String extension, String default_name=EmptyString,  
 428         Window parent=None) -> String 
 430   return _misc_
.LoadFileSelector(*args
, **kwargs
) 
 432 def SaveFileSelector(*args
, **kwargs
): 
 434     SaveFileSelector(String what, String extension, String default_name=EmptyString,  
 435         Window parent=None) -> String 
 437   return _misc_
.SaveFileSelector(*args
, **kwargs
) 
 439 def DirSelector(*args
, **kwargs
): 
 441     DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString,  
 442         long style=wxDD_DEFAULT_STYLE,  
 443         Point pos=DefaultPosition, Window parent=None) -> String 
 445   return _misc_
.DirSelector(*args
, **kwargs
) 
 447 def GetTextFromUser(*args
, **kwargs
): 
 449     GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString,  
 451         int x=-1, int y=-1, bool centre=True) -> String 
 453   return _misc_
.GetTextFromUser(*args
, **kwargs
) 
 455 def GetPasswordFromUser(*args
, **kwargs
): 
 457     GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString,  
 458         Window parent=None) -> String 
 460   return _misc_
.GetPasswordFromUser(*args
, **kwargs
) 
 462 def GetSingleChoice(*args
, **kwargs
): 
 464     GetSingleChoice(String message, String caption, int choices, Window parent=None,  
 465         int x=-1, int y=-1, bool centre=True,  
 466         int width=150, int height=200) -> String 
 468   return _misc_
.GetSingleChoice(*args
, **kwargs
) 
 470 def GetSingleChoiceIndex(*args
, **kwargs
): 
 472     GetSingleChoiceIndex(String message, String caption, int choices, Window parent=None,  
 473         int x=-1, int y=-1, bool centre=True,  
 474         int width=150, int height=200) -> int 
 476   return _misc_
.GetSingleChoiceIndex(*args
, **kwargs
) 
 478 def MessageBox(*args
, **kwargs
): 
 480     MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE,  
 481         Window parent=None, int x=-1,  
 484   return _misc_
.MessageBox(*args
, **kwargs
) 
 486 def GetNumberFromUser(*args
, **kwargs
): 
 488     GetNumberFromUser(String message, String prompt, String caption, long value,  
 489         long min=0, long max=100, Window parent=None,  
 490         Point pos=DefaultPosition) -> long 
 492   return _misc_
.GetNumberFromUser(*args
, **kwargs
) 
 494 def ColourDisplay(*args
): 
 495   """ColourDisplay() -> bool""" 
 496   return _misc_
.ColourDisplay(*args
) 
 498 def DisplayDepth(*args
): 
 499   """DisplayDepth() -> int""" 
 500   return _misc_
.DisplayDepth(*args
) 
 502 def GetDisplayDepth(*args
): 
 503   """GetDisplayDepth() -> int""" 
 504   return _misc_
.GetDisplayDepth(*args
) 
 506 def DisplaySize(*args
): 
 507   """DisplaySize() -> (width, height)""" 
 508   return _misc_
.DisplaySize(*args
) 
 510 def GetDisplaySize(*args
): 
 511   """GetDisplaySize() -> Size""" 
 512   return _misc_
.GetDisplaySize(*args
) 
 514 def DisplaySizeMM(*args
): 
 515   """DisplaySizeMM() -> (width, height)""" 
 516   return _misc_
.DisplaySizeMM(*args
) 
 518 def GetDisplaySizeMM(*args
): 
 519   """GetDisplaySizeMM() -> Size""" 
 520   return _misc_
.GetDisplaySizeMM(*args
) 
 522 def ClientDisplayRect(*args
): 
 523   """ClientDisplayRect() -> (x, y, width, height)""" 
 524   return _misc_
.ClientDisplayRect(*args
) 
 526 def GetClientDisplayRect(*args
): 
 527   """GetClientDisplayRect() -> Rect""" 
 528   return _misc_
.GetClientDisplayRect(*args
) 
 530 def SetCursor(*args
, **kwargs
): 
 531   """SetCursor(Cursor cursor)""" 
 532   return _misc_
.SetCursor(*args
, **kwargs
) 
 534 def GetXDisplay(*args
): 
 536     GetXDisplay() -> void 
 538     Returns a swigified pointer to the X11 display.  Returns None on 
 541   return _misc_
.GetXDisplay(*args
) 
 543 def BeginBusyCursor(*args
, **kwargs
): 
 544   """BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)""" 
 545   return _misc_
.BeginBusyCursor(*args
, **kwargs
) 
 547 def GetMousePosition(*args
): 
 549     GetMousePosition() -> Point 
 551     Get the current mouse position on the screen. 
 553   return _misc_
.GetMousePosition(*args
) 
 555 def FindWindowAtPointer(*args
): 
 557     FindWindowAtPointer() -> Window 
 559     Returns the window currently under the mouse pointer, if it belongs to 
 560         this application.  Otherwise it returns None. 
 562   return _misc_
.FindWindowAtPointer(*args
) 
 564 def GetActiveWindow(*args
): 
 566     GetActiveWindow() -> Window 
 568     Get the currently active window of this application, or None 
 570   return _misc_
.GetActiveWindow(*args
) 
 572 def GenericFindWindowAtPoint(*args
, **kwargs
): 
 573   """GenericFindWindowAtPoint(Point pt) -> Window""" 
 574   return _misc_
.GenericFindWindowAtPoint(*args
, **kwargs
) 
 576 def FindWindowAtPoint(*args
, **kwargs
): 
 577   """FindWindowAtPoint(Point pt) -> Window""" 
 578   return _misc_
.FindWindowAtPoint(*args
, **kwargs
) 
 580 def GetTopLevelParent(*args
, **kwargs
): 
 581   """GetTopLevelParent(Window win) -> Window""" 
 582   return _misc_
.GetTopLevelParent(*args
, **kwargs
) 
 584 def LaunchDefaultBrowser(*args
, **kwargs
): 
 586     LaunchDefaultBrowser(String url) -> bool 
 588     Launches the user's default browser and tells it to open the location 
 589     at ``url``.  Returns ``True`` if the application was successfully 
 592   return _misc_
.LaunchDefaultBrowser(*args
, **kwargs
) 
 594 def GetKeyState(*args
, **kwargs
): 
 596     GetKeyState(int key) -> bool 
 598     Get the state of a key (true if pressed or toggled on, false if not.) 
 599     This is generally most useful getting the state of the modifier or 
 600     toggle keys.  On some platforms those may be the only keys that this 
 601     function is able to detect. 
 604   return _misc_
.GetKeyState(*args
, **kwargs
) 
 605 class MouseState(object): 
 607     `wx.MouseState` is used to hold information about mouse button and 
 608     modifier key states and is what is returned from `wx.GetMouseState`. 
 610     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 611     __repr__ 
= _swig_repr
 
 612     def __init__(self
, *args
, **kwargs
):  
 614         __init__(self) -> MouseState 
 616         `wx.MouseState` is used to hold information about mouse button and 
 617         modifier key states and is what is returned from `wx.GetMouseState`. 
 619         _misc_
.MouseState_swiginit(self
,_misc_
.new_MouseState(*args
, **kwargs
)) 
 620     __swig_destroy__ 
= _misc_
.delete_MouseState
 
 621     __del__ 
= lambda self 
: None; 
 622     def GetX(*args
, **kwargs
): 
 623         """GetX(self) -> int""" 
 624         return _misc_
.MouseState_GetX(*args
, **kwargs
) 
 626     def GetY(*args
, **kwargs
): 
 627         """GetY(self) -> int""" 
 628         return _misc_
.MouseState_GetY(*args
, **kwargs
) 
 630     def LeftDown(*args
, **kwargs
): 
 631         """LeftDown(self) -> bool""" 
 632         return _misc_
.MouseState_LeftDown(*args
, **kwargs
) 
 634     def MiddleDown(*args
, **kwargs
): 
 635         """MiddleDown(self) -> bool""" 
 636         return _misc_
.MouseState_MiddleDown(*args
, **kwargs
) 
 638     def RightDown(*args
, **kwargs
): 
 639         """RightDown(self) -> bool""" 
 640         return _misc_
.MouseState_RightDown(*args
, **kwargs
) 
 642     def ControlDown(*args
, **kwargs
): 
 643         """ControlDown(self) -> bool""" 
 644         return _misc_
.MouseState_ControlDown(*args
, **kwargs
) 
 646     def ShiftDown(*args
, **kwargs
): 
 647         """ShiftDown(self) -> bool""" 
 648         return _misc_
.MouseState_ShiftDown(*args
, **kwargs
) 
 650     def AltDown(*args
, **kwargs
): 
 651         """AltDown(self) -> bool""" 
 652         return _misc_
.MouseState_AltDown(*args
, **kwargs
) 
 654     def MetaDown(*args
, **kwargs
): 
 655         """MetaDown(self) -> bool""" 
 656         return _misc_
.MouseState_MetaDown(*args
, **kwargs
) 
 658     def CmdDown(*args
, **kwargs
): 
 659         """CmdDown(self) -> bool""" 
 660         return _misc_
.MouseState_CmdDown(*args
, **kwargs
) 
 662     def SetX(*args
, **kwargs
): 
 663         """SetX(self, int x)""" 
 664         return _misc_
.MouseState_SetX(*args
, **kwargs
) 
 666     def SetY(*args
, **kwargs
): 
 667         """SetY(self, int y)""" 
 668         return _misc_
.MouseState_SetY(*args
, **kwargs
) 
 670     def SetLeftDown(*args
, **kwargs
): 
 671         """SetLeftDown(self, bool down)""" 
 672         return _misc_
.MouseState_SetLeftDown(*args
, **kwargs
) 
 674     def SetMiddleDown(*args
, **kwargs
): 
 675         """SetMiddleDown(self, bool down)""" 
 676         return _misc_
.MouseState_SetMiddleDown(*args
, **kwargs
) 
 678     def SetRightDown(*args
, **kwargs
): 
 679         """SetRightDown(self, bool down)""" 
 680         return _misc_
.MouseState_SetRightDown(*args
, **kwargs
) 
 682     def SetControlDown(*args
, **kwargs
): 
 683         """SetControlDown(self, bool down)""" 
 684         return _misc_
.MouseState_SetControlDown(*args
, **kwargs
) 
 686     def SetShiftDown(*args
, **kwargs
): 
 687         """SetShiftDown(self, bool down)""" 
 688         return _misc_
.MouseState_SetShiftDown(*args
, **kwargs
) 
 690     def SetAltDown(*args
, **kwargs
): 
 691         """SetAltDown(self, bool down)""" 
 692         return _misc_
.MouseState_SetAltDown(*args
, **kwargs
) 
 694     def SetMetaDown(*args
, **kwargs
): 
 695         """SetMetaDown(self, bool down)""" 
 696         return _misc_
.MouseState_SetMetaDown(*args
, **kwargs
) 
 698     x 
= property(GetX
, SetX
) 
 699     y 
= property(GetY
, SetY
) 
 700     leftDown 
= property(LeftDown
, SetLeftDown
) 
 701     middleDown 
= property(MiddleDown
, SetMiddleDown
) 
 702     rightDown 
= property(RightDown
, SetRightDown
) 
 703     controlDown 
= property(ControlDown
, SetControlDown
) 
 704     shiftDown 
= property(ShiftDown
, SetShiftDown
) 
 705     altDown 
= property(AltDown
, SetAltDown
) 
 706     metaDown 
= property(MetaDown
, SetMetaDown
) 
 707     cmdDown 
= property(CmdDown
) 
 709 _misc_
.MouseState_swigregister(MouseState
) 
 710 FileSelectorPromptStr 
= cvar
.FileSelectorPromptStr
 
 711 FileSelectorDefaultWildcardStr 
= cvar
.FileSelectorDefaultWildcardStr
 
 712 DirSelectorPromptStr 
= cvar
.DirSelectorPromptStr
 
 715 def GetMouseState(*args
): 
 717     GetMouseState() -> MouseState 
 719     Returns the current state of the mouse.  Returns an instance of a 
 720     `wx.MouseState` object that contains the current position of the mouse 
 721     pointer in screen coordinants, as well as boolean values indicating 
 722     the up/down status of the mouse buttons and the modifier keys. 
 724   return _misc_
.GetMouseState(*args
) 
 726 def WakeUpMainThread(*args
): 
 727   """WakeUpMainThread()""" 
 728   return _misc_
.WakeUpMainThread(*args
) 
 730 def MutexGuiEnter(*args
): 
 731   """MutexGuiEnter()""" 
 732   return _misc_
.MutexGuiEnter(*args
) 
 734 def MutexGuiLeave(*args
): 
 735   """MutexGuiLeave()""" 
 736   return _misc_
.MutexGuiLeave(*args
) 
 737 class MutexGuiLocker(object): 
 738     """Proxy of C++ MutexGuiLocker class""" 
 739     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 740     __repr__ 
= _swig_repr
 
 741     def __init__(self
, *args
, **kwargs
):  
 742         """__init__(self) -> MutexGuiLocker""" 
 743         _misc_
.MutexGuiLocker_swiginit(self
,_misc_
.new_MutexGuiLocker(*args
, **kwargs
)) 
 744     __swig_destroy__ 
= _misc_
.delete_MutexGuiLocker
 
 745     __del__ 
= lambda self 
: None; 
 746 _misc_
.MutexGuiLocker_swigregister(MutexGuiLocker
) 
 749 def Thread_IsMain(*args
): 
 750   """Thread_IsMain() -> bool""" 
 751   return _misc_
.Thread_IsMain(*args
) 
 752 #--------------------------------------------------------------------------- 
 754 class ToolTip(_core
.Object
): 
 755     """Proxy of C++ ToolTip class""" 
 756     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 757     __repr__ 
= _swig_repr
 
 758     def __init__(self
, *args
, **kwargs
):  
 759         """__init__(self, String tip) -> ToolTip""" 
 760         _misc_
.ToolTip_swiginit(self
,_misc_
.new_ToolTip(*args
, **kwargs
)) 
 761     __swig_destroy__ 
= _misc_
.delete_ToolTip
 
 762     __del__ 
= lambda self 
: None; 
 763     def SetTip(*args
, **kwargs
): 
 764         """SetTip(self, String tip)""" 
 765         return _misc_
.ToolTip_SetTip(*args
, **kwargs
) 
 767     def GetTip(*args
, **kwargs
): 
 768         """GetTip(self) -> String""" 
 769         return _misc_
.ToolTip_GetTip(*args
, **kwargs
) 
 771     def GetWindow(*args
, **kwargs
): 
 772         """GetWindow(self) -> Window""" 
 773         return _misc_
.ToolTip_GetWindow(*args
, **kwargs
) 
 775     def Enable(*args
, **kwargs
): 
 776         """Enable(bool flag)""" 
 777         return _misc_
.ToolTip_Enable(*args
, **kwargs
) 
 779     Enable 
= staticmethod(Enable
) 
 780     def SetDelay(*args
, **kwargs
): 
 781         """SetDelay(long milliseconds)""" 
 782         return _misc_
.ToolTip_SetDelay(*args
, **kwargs
) 
 784     SetDelay 
= staticmethod(SetDelay
) 
 785     Tip 
= property(GetTip
,SetTip
,doc
="See `GetTip` and `SetTip`")  
 786     Window 
= property(GetWindow
,doc
="See `GetWindow`")  
 787 _misc_
.ToolTip_swigregister(ToolTip
) 
 789 def ToolTip_Enable(*args
, **kwargs
): 
 790   """ToolTip_Enable(bool flag)""" 
 791   return _misc_
.ToolTip_Enable(*args
, **kwargs
) 
 793 def ToolTip_SetDelay(*args
, **kwargs
): 
 794   """ToolTip_SetDelay(long milliseconds)""" 
 795   return _misc_
.ToolTip_SetDelay(*args
, **kwargs
) 
 798     """Proxy of C++ Caret class""" 
 799     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 800     __repr__ 
= _swig_repr
 
 801     def __init__(self
, *args
, **kwargs
):  
 802         """__init__(self, Window window, Size size) -> Caret""" 
 803         _misc_
.Caret_swiginit(self
,_misc_
.new_Caret(*args
, **kwargs
)) 
 804     __swig_destroy__ 
= _misc_
.delete_Caret
 
 805     __del__ 
= lambda self 
: None; 
 806     def Destroy(*args
, **kwargs
): 
 810         Deletes the C++ object this Python object is a proxy for. 
 812         args
[0].this
.own(False) 
 813         return _misc_
.Caret_Destroy(*args
, **kwargs
) 
 815     def IsOk(*args
, **kwargs
): 
 816         """IsOk(self) -> bool""" 
 817         return _misc_
.Caret_IsOk(*args
, **kwargs
) 
 819     def IsVisible(*args
, **kwargs
): 
 820         """IsVisible(self) -> bool""" 
 821         return _misc_
.Caret_IsVisible(*args
, **kwargs
) 
 823     def GetPosition(*args
, **kwargs
): 
 824         """GetPosition(self) -> Point""" 
 825         return _misc_
.Caret_GetPosition(*args
, **kwargs
) 
 827     def GetPositionTuple(*args
, **kwargs
): 
 828         """GetPositionTuple() -> (x,y)""" 
 829         return _misc_
.Caret_GetPositionTuple(*args
, **kwargs
) 
 831     def GetSize(*args
, **kwargs
): 
 832         """GetSize(self) -> Size""" 
 833         return _misc_
.Caret_GetSize(*args
, **kwargs
) 
 835     def GetSizeTuple(*args
, **kwargs
): 
 836         """GetSizeTuple() -> (width, height)""" 
 837         return _misc_
.Caret_GetSizeTuple(*args
, **kwargs
) 
 839     def GetWindow(*args
, **kwargs
): 
 840         """GetWindow(self) -> Window""" 
 841         return _misc_
.Caret_GetWindow(*args
, **kwargs
) 
 843     def MoveXY(*args
, **kwargs
): 
 844         """MoveXY(self, int x, int y)""" 
 845         return _misc_
.Caret_MoveXY(*args
, **kwargs
) 
 847     def Move(*args
, **kwargs
): 
 848         """Move(self, Point pt)""" 
 849         return _misc_
.Caret_Move(*args
, **kwargs
) 
 851     def SetSizeWH(*args
, **kwargs
): 
 852         """SetSizeWH(self, int width, int height)""" 
 853         return _misc_
.Caret_SetSizeWH(*args
, **kwargs
) 
 855     def SetSize(*args
, **kwargs
): 
 856         """SetSize(self, Size size)""" 
 857         return _misc_
.Caret_SetSize(*args
, **kwargs
) 
 859     def Show(*args
, **kwargs
): 
 860         """Show(self, int show=True)""" 
 861         return _misc_
.Caret_Show(*args
, **kwargs
) 
 863     def Hide(*args
, **kwargs
): 
 865         return _misc_
.Caret_Hide(*args
, **kwargs
) 
 867     def __nonzero__(self
): return self
.IsOk()  
 868     def GetBlinkTime(*args
, **kwargs
): 
 869         """GetBlinkTime() -> int""" 
 870         return _misc_
.Caret_GetBlinkTime(*args
, **kwargs
) 
 872     GetBlinkTime 
= staticmethod(GetBlinkTime
) 
 873     def SetBlinkTime(*args
, **kwargs
): 
 874         """SetBlinkTime(int milliseconds)""" 
 875         return _misc_
.Caret_SetBlinkTime(*args
, **kwargs
) 
 877     SetBlinkTime 
= staticmethod(SetBlinkTime
) 
 878     Position 
= property(GetPosition
,doc
="See `GetPosition`")  
 879     Size 
= property(GetSize
,SetSize
,doc
="See `GetSize` and `SetSize`")  
 880     Window 
= property(GetWindow
,doc
="See `GetWindow`")  
 881 _misc_
.Caret_swigregister(Caret
) 
 883 def Caret_GetBlinkTime(*args
): 
 884   """Caret_GetBlinkTime() -> int""" 
 885   return _misc_
.Caret_GetBlinkTime(*args
) 
 887 def Caret_SetBlinkTime(*args
, **kwargs
): 
 888   """Caret_SetBlinkTime(int milliseconds)""" 
 889   return _misc_
.Caret_SetBlinkTime(*args
, **kwargs
) 
 891 class BusyCursor(object): 
 892     """Proxy of C++ BusyCursor class""" 
 893     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 894     __repr__ 
= _swig_repr
 
 895     def __init__(self
, *args
, **kwargs
):  
 896         """__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor""" 
 897         _misc_
.BusyCursor_swiginit(self
,_misc_
.new_BusyCursor(*args
, **kwargs
)) 
 898     __swig_destroy__ 
= _misc_
.delete_BusyCursor
 
 899     __del__ 
= lambda self 
: None; 
 900 _misc_
.BusyCursor_swigregister(BusyCursor
) 
 902 class WindowDisabler(object): 
 903     """Proxy of C++ WindowDisabler class""" 
 904     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 905     __repr__ 
= _swig_repr
 
 906     def __init__(self
, *args
, **kwargs
):  
 907         """__init__(self, Window winToSkip=None) -> WindowDisabler""" 
 908         _misc_
.WindowDisabler_swiginit(self
,_misc_
.new_WindowDisabler(*args
, **kwargs
)) 
 909     __swig_destroy__ 
= _misc_
.delete_WindowDisabler
 
 910     __del__ 
= lambda self 
: None; 
 911 _misc_
.WindowDisabler_swigregister(WindowDisabler
) 
 913 class BusyInfo(_core
.Object
): 
 914     """Proxy of C++ BusyInfo class""" 
 915     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 916     __repr__ 
= _swig_repr
 
 917     def __init__(self
, *args
, **kwargs
):  
 918         """__init__(self, String message, Window parent=None) -> BusyInfo""" 
 919         _misc_
.BusyInfo_swiginit(self
,_misc_
.new_BusyInfo(*args
, **kwargs
)) 
 920     __swig_destroy__ 
= _misc_
.delete_BusyInfo
 
 921     __del__ 
= lambda self 
: None; 
 922     def Destroy(self
): pass  
 923 _misc_
.BusyInfo_swigregister(BusyInfo
) 
 925 class StopWatch(object): 
 926     """Proxy of C++ StopWatch class""" 
 927     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 928     __repr__ 
= _swig_repr
 
 929     def __init__(self
, *args
, **kwargs
):  
 930         """__init__(self) -> StopWatch""" 
 931         _misc_
.StopWatch_swiginit(self
,_misc_
.new_StopWatch(*args
, **kwargs
)) 
 932     __swig_destroy__ 
= _misc_
.delete_StopWatch
 
 933     __del__ 
= lambda self 
: None; 
 934     def Start(*args
, **kwargs
): 
 935         """Start(self, long t0=0)""" 
 936         return _misc_
.StopWatch_Start(*args
, **kwargs
) 
 938     def Pause(*args
, **kwargs
): 
 940         return _misc_
.StopWatch_Pause(*args
, **kwargs
) 
 942     def Resume(*args
, **kwargs
): 
 944         return _misc_
.StopWatch_Resume(*args
, **kwargs
) 
 946     def Time(*args
, **kwargs
): 
 947         """Time(self) -> long""" 
 948         return _misc_
.StopWatch_Time(*args
, **kwargs
) 
 950 _misc_
.StopWatch_swigregister(StopWatch
) 
 952 class FileHistory(_core
.Object
): 
 953     """Proxy of C++ FileHistory class""" 
 954     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 955     __repr__ 
= _swig_repr
 
 956     def __init__(self
, *args
, **kwargs
):  
 957         """__init__(self, int maxFiles=9, int idBase=ID_FILE1) -> FileHistory""" 
 958         _misc_
.FileHistory_swiginit(self
,_misc_
.new_FileHistory(*args
, **kwargs
)) 
 959     __swig_destroy__ 
= _misc_
.delete_FileHistory
 
 960     __del__ 
= lambda self 
: None; 
 961     def AddFileToHistory(*args
, **kwargs
): 
 962         """AddFileToHistory(self, String file)""" 
 963         return _misc_
.FileHistory_AddFileToHistory(*args
, **kwargs
) 
 965     def RemoveFileFromHistory(*args
, **kwargs
): 
 966         """RemoveFileFromHistory(self, int i)""" 
 967         return _misc_
.FileHistory_RemoveFileFromHistory(*args
, **kwargs
) 
 969     def GetMaxFiles(*args
, **kwargs
): 
 970         """GetMaxFiles(self) -> int""" 
 971         return _misc_
.FileHistory_GetMaxFiles(*args
, **kwargs
) 
 973     def UseMenu(*args
, **kwargs
): 
 974         """UseMenu(self, Menu menu)""" 
 975         return _misc_
.FileHistory_UseMenu(*args
, **kwargs
) 
 977     def RemoveMenu(*args
, **kwargs
): 
 978         """RemoveMenu(self, Menu menu)""" 
 979         return _misc_
.FileHistory_RemoveMenu(*args
, **kwargs
) 
 981     def Load(*args
, **kwargs
): 
 982         """Load(self, ConfigBase config)""" 
 983         return _misc_
.FileHistory_Load(*args
, **kwargs
) 
 985     def Save(*args
, **kwargs
): 
 986         """Save(self, ConfigBase config)""" 
 987         return _misc_
.FileHistory_Save(*args
, **kwargs
) 
 989     def AddFilesToMenu(*args
, **kwargs
): 
 990         """AddFilesToMenu(self)""" 
 991         return _misc_
.FileHistory_AddFilesToMenu(*args
, **kwargs
) 
 993     def AddFilesToThisMenu(*args
, **kwargs
): 
 994         """AddFilesToThisMenu(self, Menu menu)""" 
 995         return _misc_
.FileHistory_AddFilesToThisMenu(*args
, **kwargs
) 
 997     def GetHistoryFile(*args
, **kwargs
): 
 998         """GetHistoryFile(self, int i) -> String""" 
 999         return _misc_
.FileHistory_GetHistoryFile(*args
, **kwargs
) 
1001     def GetCount(*args
, **kwargs
): 
1002         """GetCount(self) -> int""" 
1003         return _misc_
.FileHistory_GetCount(*args
, **kwargs
) 
1005     GetNoHistoryFiles 
= GetCount 
 
1006     Count 
= property(GetCount
,doc
="See `GetCount`")  
1007     HistoryFile 
= property(GetHistoryFile
,doc
="See `GetHistoryFile`")  
1008     MaxFiles 
= property(GetMaxFiles
,doc
="See `GetMaxFiles`")  
1009     NoHistoryFiles 
= property(GetNoHistoryFiles
,doc
="See `GetNoHistoryFiles`")  
1010 _misc_
.FileHistory_swigregister(FileHistory
) 
1012 class SingleInstanceChecker(object): 
1013     """Proxy of C++ SingleInstanceChecker class""" 
1014     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1015     __repr__ 
= _swig_repr
 
1016     def __init__(self
, *args
, **kwargs
):  
1017         """__init__(self, String name, String path=EmptyString) -> SingleInstanceChecker""" 
1018         _misc_
.SingleInstanceChecker_swiginit(self
,_misc_
.new_SingleInstanceChecker(*args
, **kwargs
)) 
1019     __swig_destroy__ 
= _misc_
.delete_SingleInstanceChecker
 
1020     __del__ 
= lambda self 
: None; 
1021     def Create(*args
, **kwargs
): 
1022         """Create(self, String name, String path=EmptyString) -> bool""" 
1023         return _misc_
.SingleInstanceChecker_Create(*args
, **kwargs
) 
1025     def IsAnotherRunning(*args
, **kwargs
): 
1026         """IsAnotherRunning(self) -> bool""" 
1027         return _misc_
.SingleInstanceChecker_IsAnotherRunning(*args
, **kwargs
) 
1029 _misc_
.SingleInstanceChecker_swigregister(SingleInstanceChecker
) 
1031 def PreSingleInstanceChecker(*args
, **kwargs
): 
1032     """PreSingleInstanceChecker() -> SingleInstanceChecker""" 
1033     val 
= _misc_
.new_PreSingleInstanceChecker(*args
, **kwargs
) 
1036 #--------------------------------------------------------------------------- 
1038 OS_UNKNOWN 
= _misc_
.OS_UNKNOWN
 
1039 OS_MAC_OS 
= _misc_
.OS_MAC_OS
 
1040 OS_MAC_OSX_DARWIN 
= _misc_
.OS_MAC_OSX_DARWIN
 
1041 OS_MAC 
= _misc_
.OS_MAC
 
1042 OS_WINDOWS_9X 
= _misc_
.OS_WINDOWS_9X
 
1043 OS_WINDOWS_NT 
= _misc_
.OS_WINDOWS_NT
 
1044 OS_WINDOWS_MICRO 
= _misc_
.OS_WINDOWS_MICRO
 
1045 OS_WINDOWS_CE 
= _misc_
.OS_WINDOWS_CE
 
1046 OS_WINDOWS 
= _misc_
.OS_WINDOWS
 
1047 OS_UNIX_LINUX 
= _misc_
.OS_UNIX_LINUX
 
1048 OS_UNIX_FREEBSD 
= _misc_
.OS_UNIX_FREEBSD
 
1049 OS_UNIX_OPENBSD 
= _misc_
.OS_UNIX_OPENBSD
 
1050 OS_UNIX_NETBSD 
= _misc_
.OS_UNIX_NETBSD
 
1051 OS_UNIX_SOLARIS 
= _misc_
.OS_UNIX_SOLARIS
 
1052 OS_UNIX_AIX 
= _misc_
.OS_UNIX_AIX
 
1053 OS_UNIX_HPUX 
= _misc_
.OS_UNIX_HPUX
 
1054 OS_UNIX 
= _misc_
.OS_UNIX
 
1055 OS_DOS 
= _misc_
.OS_DOS
 
1056 OS_OS2 
= _misc_
.OS_OS2
 
1057 PORT_UNKNOWN 
= _misc_
.PORT_UNKNOWN
 
1058 PORT_BASE 
= _misc_
.PORT_BASE
 
1059 PORT_MSW 
= _misc_
.PORT_MSW
 
1060 PORT_MOTIF 
= _misc_
.PORT_MOTIF
 
1061 PORT_GTK 
= _misc_
.PORT_GTK
 
1062 PORT_MGL 
= _misc_
.PORT_MGL
 
1063 PORT_X11 
= _misc_
.PORT_X11
 
1064 PORT_PM 
= _misc_
.PORT_PM
 
1065 PORT_OS2 
= _misc_
.PORT_OS2
 
1066 PORT_MAC 
= _misc_
.PORT_MAC
 
1067 PORT_COCOA 
= _misc_
.PORT_COCOA
 
1068 PORT_WINCE 
= _misc_
.PORT_WINCE
 
1069 PORT_PALMOS 
= _misc_
.PORT_PALMOS
 
1070 PORT_DFB 
= _misc_
.PORT_DFB
 
1071 ARCH_INVALID 
= _misc_
.ARCH_INVALID
 
1072 ARCH_32 
= _misc_
.ARCH_32
 
1073 ARCH_64 
= _misc_
.ARCH_64
 
1074 ARCH_MAX 
= _misc_
.ARCH_MAX
 
1075 ENDIAN_INVALID 
= _misc_
.ENDIAN_INVALID
 
1076 ENDIAN_BIG 
= _misc_
.ENDIAN_BIG
 
1077 ENDIAN_LITTLE 
= _misc_
.ENDIAN_LITTLE
 
1078 ENDIAN_PDP 
= _misc_
.ENDIAN_PDP
 
1079 ENDIAN_MAX 
= _misc_
.ENDIAN_MAX
 
1080 class PlatformInformation(object): 
1081     """Proxy of C++ PlatformInformation class""" 
1082     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1083     __repr__ 
= _swig_repr
 
1084     def __init__(self
, *args
, **kwargs
):  
1085         """__init__(self) -> PlatformInformation""" 
1086         _misc_
.PlatformInformation_swiginit(self
,_misc_
.new_PlatformInformation(*args
, **kwargs
)) 
1087     def __eq__(*args
, **kwargs
): 
1088         """__eq__(self, PlatformInformation t) -> bool""" 
1089         return _misc_
.PlatformInformation___eq__(*args
, **kwargs
) 
1091     def __ne__(*args
, **kwargs
): 
1092         """__ne__(self, PlatformInformation t) -> bool""" 
1093         return _misc_
.PlatformInformation___ne__(*args
, **kwargs
) 
1095     def GetOSMajorVersion(*args
, **kwargs
): 
1096         """GetOSMajorVersion(self) -> int""" 
1097         return _misc_
.PlatformInformation_GetOSMajorVersion(*args
, **kwargs
) 
1099     def GetOSMinorVersion(*args
, **kwargs
): 
1100         """GetOSMinorVersion(self) -> int""" 
1101         return _misc_
.PlatformInformation_GetOSMinorVersion(*args
, **kwargs
) 
1103     def CheckOSVersion(*args
, **kwargs
): 
1104         """CheckOSVersion(self, int major, int minor) -> bool""" 
1105         return _misc_
.PlatformInformation_CheckOSVersion(*args
, **kwargs
) 
1107     def GetToolkitMajorVersion(*args
, **kwargs
): 
1108         """GetToolkitMajorVersion(self) -> int""" 
1109         return _misc_
.PlatformInformation_GetToolkitMajorVersion(*args
, **kwargs
) 
1111     def GetToolkitMinorVersion(*args
, **kwargs
): 
1112         """GetToolkitMinorVersion(self) -> int""" 
1113         return _misc_
.PlatformInformation_GetToolkitMinorVersion(*args
, **kwargs
) 
1115     def CheckToolkitVersion(*args
, **kwargs
): 
1116         """CheckToolkitVersion(self, int major, int minor) -> bool""" 
1117         return _misc_
.PlatformInformation_CheckToolkitVersion(*args
, **kwargs
) 
1119     def IsUsingUniversalWidgets(*args
, **kwargs
): 
1120         """IsUsingUniversalWidgets(self) -> bool""" 
1121         return _misc_
.PlatformInformation_IsUsingUniversalWidgets(*args
, **kwargs
) 
1123     def GetOperatingSystemId(*args
, **kwargs
): 
1124         """GetOperatingSystemId(self) -> int""" 
1125         return _misc_
.PlatformInformation_GetOperatingSystemId(*args
, **kwargs
) 
1127     def GetPortId(*args
, **kwargs
): 
1128         """GetPortId(self) -> int""" 
1129         return _misc_
.PlatformInformation_GetPortId(*args
, **kwargs
) 
1131     def GetArchitecture(*args
, **kwargs
): 
1132         """GetArchitecture(self) -> int""" 
1133         return _misc_
.PlatformInformation_GetArchitecture(*args
, **kwargs
) 
1135     def GetEndianness(*args
, **kwargs
): 
1136         """GetEndianness(self) -> int""" 
1137         return _misc_
.PlatformInformation_GetEndianness(*args
, **kwargs
) 
1139     def GetOperatingSystemFamilyName(*args
, **kwargs
): 
1140         """GetOperatingSystemFamilyName(self) -> String""" 
1141         return _misc_
.PlatformInformation_GetOperatingSystemFamilyName(*args
, **kwargs
) 
1143     def GetOperatingSystemIdName(*args
, **kwargs
): 
1144         """GetOperatingSystemIdName(self) -> String""" 
1145         return _misc_
.PlatformInformation_GetOperatingSystemIdName(*args
, **kwargs
) 
1147     def GetPortIdName(*args
, **kwargs
): 
1148         """GetPortIdName(self) -> String""" 
1149         return _misc_
.PlatformInformation_GetPortIdName(*args
, **kwargs
) 
1151     def GetPortIdShortName(*args
, **kwargs
): 
1152         """GetPortIdShortName(self) -> String""" 
1153         return _misc_
.PlatformInformation_GetPortIdShortName(*args
, **kwargs
) 
1155     def GetArchName(*args
, **kwargs
): 
1156         """GetArchName(self) -> String""" 
1157         return _misc_
.PlatformInformation_GetArchName(*args
, **kwargs
) 
1159     def GetEndiannessName(*args
, **kwargs
): 
1160         """GetEndiannessName(self) -> String""" 
1161         return _misc_
.PlatformInformation_GetEndiannessName(*args
, **kwargs
) 
1163     def SetOSVersion(*args
, **kwargs
): 
1164         """SetOSVersion(self, int major, int minor)""" 
1165         return _misc_
.PlatformInformation_SetOSVersion(*args
, **kwargs
) 
1167     def SetToolkitVersion(*args
, **kwargs
): 
1168         """SetToolkitVersion(self, int major, int minor)""" 
1169         return _misc_
.PlatformInformation_SetToolkitVersion(*args
, **kwargs
) 
1171     def SetOperatingSystemId(*args
, **kwargs
): 
1172         """SetOperatingSystemId(self, int n)""" 
1173         return _misc_
.PlatformInformation_SetOperatingSystemId(*args
, **kwargs
) 
1175     def SetPortId(*args
, **kwargs
): 
1176         """SetPortId(self, int n)""" 
1177         return _misc_
.PlatformInformation_SetPortId(*args
, **kwargs
) 
1179     def SetArchitecture(*args
, **kwargs
): 
1180         """SetArchitecture(self, int n)""" 
1181         return _misc_
.PlatformInformation_SetArchitecture(*args
, **kwargs
) 
1183     def SetEndianness(*args
, **kwargs
): 
1184         """SetEndianness(self, int n)""" 
1185         return _misc_
.PlatformInformation_SetEndianness(*args
, **kwargs
) 
1187     def IsOk(*args
, **kwargs
): 
1188         """IsOk(self) -> bool""" 
1189         return _misc_
.PlatformInformation_IsOk(*args
, **kwargs
) 
1191     ArchName 
= property(GetArchName
,doc
="See `GetArchName`")  
1192     Architecture 
= property(GetArchitecture
,SetArchitecture
,doc
="See `GetArchitecture` and `SetArchitecture`")  
1193     Endianness 
= property(GetEndianness
,SetEndianness
,doc
="See `GetEndianness` and `SetEndianness`")  
1194     EndiannessName 
= property(GetEndiannessName
,doc
="See `GetEndiannessName`")  
1195     OSMajorVersion 
= property(GetOSMajorVersion
,doc
="See `GetOSMajorVersion`")  
1196     OSMinorVersion 
= property(GetOSMinorVersion
,doc
="See `GetOSMinorVersion`")  
1197     OperatingSystemFamilyName 
= property(GetOperatingSystemFamilyName
,doc
="See `GetOperatingSystemFamilyName`")  
1198     OperatingSystemId 
= property(GetOperatingSystemId
,SetOperatingSystemId
,doc
="See `GetOperatingSystemId` and `SetOperatingSystemId`")  
1199     OperatingSystemIdName 
= property(GetOperatingSystemIdName
,doc
="See `GetOperatingSystemIdName`")  
1200     PortId 
= property(GetPortId
,SetPortId
,doc
="See `GetPortId` and `SetPortId`")  
1201     PortIdName 
= property(GetPortIdName
,doc
="See `GetPortIdName`")  
1202     PortIdShortName 
= property(GetPortIdShortName
,doc
="See `GetPortIdShortName`")  
1203     ToolkitMajorVersion 
= property(GetToolkitMajorVersion
,doc
="See `GetToolkitMajorVersion`")  
1204     ToolkitMinorVersion 
= property(GetToolkitMinorVersion
,doc
="See `GetToolkitMinorVersion`")  
1205 _misc_
.PlatformInformation_swigregister(PlatformInformation
) 
1208 def DrawWindowOnDC(*args
, **kwargs
): 
1209   """DrawWindowOnDC(Window window, DC dc) -> bool""" 
1210   return _misc_
.DrawWindowOnDC(*args
, **kwargs
) 
1211 #--------------------------------------------------------------------------- 
1213 class TipProvider(object): 
1214     """Proxy of C++ TipProvider class""" 
1215     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1216     def __init__(self
): raise AttributeError, "No constructor defined" 
1217     __repr__ 
= _swig_repr
 
1218     __swig_destroy__ 
= _misc_
.delete_TipProvider
 
1219     __del__ 
= lambda self 
: None; 
1220     def GetTip(*args
, **kwargs
): 
1221         """GetTip(self) -> String""" 
1222         return _misc_
.TipProvider_GetTip(*args
, **kwargs
) 
1224     def GetCurrentTip(*args
, **kwargs
): 
1225         """GetCurrentTip(self) -> size_t""" 
1226         return _misc_
.TipProvider_GetCurrentTip(*args
, **kwargs
) 
1228     def PreprocessTip(*args
, **kwargs
): 
1229         """PreprocessTip(self, String tip) -> String""" 
1230         return _misc_
.TipProvider_PreprocessTip(*args
, **kwargs
) 
1232     CurrentTip 
= property(GetCurrentTip
,doc
="See `GetCurrentTip`")  
1233     Tip 
= property(GetTip
,doc
="See `GetTip`")  
1234 _misc_
.TipProvider_swigregister(TipProvider
) 
1236 class PyTipProvider(TipProvider
): 
1237     """Proxy of C++ PyTipProvider class""" 
1238     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1239     __repr__ 
= _swig_repr
 
1240     def __init__(self
, *args
, **kwargs
):  
1241         """__init__(self, size_t currentTip) -> PyTipProvider""" 
1242         _misc_
.PyTipProvider_swiginit(self
,_misc_
.new_PyTipProvider(*args
, **kwargs
)) 
1243         PyTipProvider
._setCallbackInfo
(self
, self
, PyTipProvider
) 
1245     def _setCallbackInfo(*args
, **kwargs
): 
1246         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1247         return _misc_
.PyTipProvider__setCallbackInfo(*args
, **kwargs
) 
1249 _misc_
.PyTipProvider_swigregister(PyTipProvider
) 
1252 def ShowTip(*args
, **kwargs
): 
1253   """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool""" 
1254   return _misc_
.ShowTip(*args
, **kwargs
) 
1256 def CreateFileTipProvider(*args
, **kwargs
): 
1257   """CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider""" 
1258   return _misc_
.CreateFileTipProvider(*args
, **kwargs
) 
1259 #--------------------------------------------------------------------------- 
1261 TIMER_CONTINUOUS 
= _misc_
.TIMER_CONTINUOUS
 
1262 TIMER_ONE_SHOT 
= _misc_
.TIMER_ONE_SHOT
 
1263 wxEVT_TIMER 
= _misc_
.wxEVT_TIMER
 
1264 class Timer(_core
.EvtHandler
): 
1265     """Proxy of C++ Timer class""" 
1266     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1267     __repr__ 
= _swig_repr
 
1268     def __init__(self
, *args
, **kwargs
):  
1269         """__init__(self, EvtHandler owner=None, int id=ID_ANY) -> Timer""" 
1270         _misc_
.Timer_swiginit(self
,_misc_
.new_Timer(*args
, **kwargs
)) 
1271         self
._setOORInfo
(self
,0); self
.this
.own(True); Timer
._setCallbackInfo
(self
, self
, Timer
) 
1273     __swig_destroy__ 
= _misc_
.delete_Timer
 
1274     __del__ 
= lambda self 
: None; 
1275     def _setCallbackInfo(*args
, **kwargs
): 
1276         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=0)""" 
1277         return _misc_
.Timer__setCallbackInfo(*args
, **kwargs
) 
1279     def SetOwner(*args
, **kwargs
): 
1280         """SetOwner(self, EvtHandler owner, int id=ID_ANY)""" 
1281         return _misc_
.Timer_SetOwner(*args
, **kwargs
) 
1283     def GetOwner(*args
, **kwargs
): 
1284         """GetOwner(self) -> EvtHandler""" 
1285         return _misc_
.Timer_GetOwner(*args
, **kwargs
) 
1287     def Start(*args
, **kwargs
): 
1288         """Start(self, int milliseconds=-1, bool oneShot=False) -> bool""" 
1289         return _misc_
.Timer_Start(*args
, **kwargs
) 
1291     def Stop(*args
, **kwargs
): 
1293         return _misc_
.Timer_Stop(*args
, **kwargs
) 
1295     def Notify(*args
, **kwargs
): 
1297         return _misc_
.Timer_Notify(*args
, **kwargs
) 
1299     def IsRunning(*args
, **kwargs
): 
1300         """IsRunning(self) -> bool""" 
1301         return _misc_
.Timer_IsRunning(*args
, **kwargs
) 
1303     def GetInterval(*args
, **kwargs
): 
1304         """GetInterval(self) -> int""" 
1305         return _misc_
.Timer_GetInterval(*args
, **kwargs
) 
1307     def GetId(*args
, **kwargs
): 
1308         """GetId(self) -> int""" 
1309         return _misc_
.Timer_GetId(*args
, **kwargs
) 
1311     def IsOneShot(*args
, **kwargs
): 
1312         """IsOneShot(self) -> bool""" 
1313         return _misc_
.Timer_IsOneShot(*args
, **kwargs
) 
1316         """NO-OP: Timers must be destroyed by normal reference counting""" 
1319     Id 
= property(GetId
,doc
="See `GetId`")  
1320     Interval 
= property(GetInterval
,doc
="See `GetInterval`")  
1321     Owner 
= property(GetOwner
,SetOwner
,doc
="See `GetOwner` and `SetOwner`")  
1322 _misc_
.Timer_swigregister(Timer
) 
1324 # For backwards compatibility with 2.4 
1325 class PyTimer(Timer
): 
1326     def __init__(self
, notify
): 
1327         Timer
.__init
__(self
) 
1328         self
.notify 
= notify
 
1335 EVT_TIMER 
= wx
.PyEventBinder( wxEVT_TIMER
, 1 ) 
1338 class TimerEvent(_core
.Event
): 
1339     """Proxy of C++ TimerEvent class""" 
1340     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1341     __repr__ 
= _swig_repr
 
1342     def __init__(self
, *args
, **kwargs
):  
1343         """__init__(self, int timerid=0, int interval=0) -> TimerEvent""" 
1344         _misc_
.TimerEvent_swiginit(self
,_misc_
.new_TimerEvent(*args
, **kwargs
)) 
1345     def GetInterval(*args
, **kwargs
): 
1346         """GetInterval(self) -> int""" 
1347         return _misc_
.TimerEvent_GetInterval(*args
, **kwargs
) 
1349     Interval 
= property(GetInterval
,doc
="See `GetInterval`")  
1350 _misc_
.TimerEvent_swigregister(TimerEvent
) 
1352 class TimerRunner(object): 
1353     """Proxy of C++ TimerRunner class""" 
1354     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1355     __repr__ 
= _swig_repr
 
1356     def __init__(self
, *args
):  
1358         __init__(self, wxTimer timer) -> TimerRunner 
1359         __init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner 
1361         _misc_
.TimerRunner_swiginit(self
,_misc_
.new_TimerRunner(*args
)) 
1362     __swig_destroy__ 
= _misc_
.delete_TimerRunner
 
1363     __del__ 
= lambda self 
: None; 
1364     def Start(*args
, **kwargs
): 
1365         """Start(self, int milli, bool oneShot=False)""" 
1366         return _misc_
.TimerRunner_Start(*args
, **kwargs
) 
1368 _misc_
.TimerRunner_swigregister(TimerRunner
) 
1370 #--------------------------------------------------------------------------- 
1372 LOG_FatalError 
= _misc_
.LOG_FatalError
 
1373 LOG_Error 
= _misc_
.LOG_Error
 
1374 LOG_Warning 
= _misc_
.LOG_Warning
 
1375 LOG_Message 
= _misc_
.LOG_Message
 
1376 LOG_Status 
= _misc_
.LOG_Status
 
1377 LOG_Info 
= _misc_
.LOG_Info
 
1378 LOG_Debug 
= _misc_
.LOG_Debug
 
1379 LOG_Trace 
= _misc_
.LOG_Trace
 
1380 LOG_Progress 
= _misc_
.LOG_Progress
 
1381 LOG_User 
= _misc_
.LOG_User
 
1382 LOG_Max 
= _misc_
.LOG_Max
 
1383 TRACE_MemAlloc 
= _misc_
.TRACE_MemAlloc
 
1384 TRACE_Messages 
= _misc_
.TRACE_Messages
 
1385 TRACE_ResAlloc 
= _misc_
.TRACE_ResAlloc
 
1386 TRACE_RefCount 
= _misc_
.TRACE_RefCount
 
1387 TRACE_OleCalls 
= _misc_
.TRACE_OleCalls
 
1388 TraceMemAlloc 
= _misc_
.TraceMemAlloc
 
1389 TraceMessages 
= _misc_
.TraceMessages
 
1390 TraceResAlloc 
= _misc_
.TraceResAlloc
 
1391 TraceRefCount 
= _misc_
.TraceRefCount
 
1392 TraceOleCalls 
= _misc_
.TraceOleCalls
 
1394     """Proxy of C++ Log class""" 
1395     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1396     __repr__ 
= _swig_repr
 
1397     def __init__(self
, *args
, **kwargs
):  
1398         """__init__(self) -> Log""" 
1399         _misc_
.Log_swiginit(self
,_misc_
.new_Log(*args
, **kwargs
)) 
1400     __swig_destroy__ 
= _misc_
.delete_Log
 
1401     __del__ 
= lambda self 
: None; 
1402     def IsEnabled(*args
, **kwargs
): 
1403         """IsEnabled() -> bool""" 
1404         return _misc_
.Log_IsEnabled(*args
, **kwargs
) 
1406     IsEnabled 
= staticmethod(IsEnabled
) 
1407     def EnableLogging(*args
, **kwargs
): 
1408         """EnableLogging(bool doIt=True) -> bool""" 
1409         return _misc_
.Log_EnableLogging(*args
, **kwargs
) 
1411     EnableLogging 
= staticmethod(EnableLogging
) 
1412     def OnLog(*args
, **kwargs
): 
1413         """OnLog(LogLevel level, wxChar szString, time_t t)""" 
1414         return _misc_
.Log_OnLog(*args
, **kwargs
) 
1416     OnLog 
= staticmethod(OnLog
) 
1417     def Flush(*args
, **kwargs
): 
1419         return _misc_
.Log_Flush(*args
, **kwargs
) 
1421     def FlushActive(*args
, **kwargs
): 
1423         return _misc_
.Log_FlushActive(*args
, **kwargs
) 
1425     FlushActive 
= staticmethod(FlushActive
) 
1426     def GetActiveTarget(*args
, **kwargs
): 
1427         """GetActiveTarget() -> Log""" 
1428         return _misc_
.Log_GetActiveTarget(*args
, **kwargs
) 
1430     GetActiveTarget 
= staticmethod(GetActiveTarget
) 
1431     def SetActiveTarget(*args
, **kwargs
): 
1432         """SetActiveTarget(Log pLogger) -> Log""" 
1433         return _misc_
.Log_SetActiveTarget(*args
, **kwargs
) 
1435     SetActiveTarget 
= staticmethod(SetActiveTarget
) 
1436     def Suspend(*args
, **kwargs
): 
1438         return _misc_
.Log_Suspend(*args
, **kwargs
) 
1440     Suspend 
= staticmethod(Suspend
) 
1441     def Resume(*args
, **kwargs
): 
1443         return _misc_
.Log_Resume(*args
, **kwargs
) 
1445     Resume 
= staticmethod(Resume
) 
1446     def SetVerbose(*args
, **kwargs
): 
1447         """SetVerbose(bool bVerbose=True)""" 
1448         return _misc_
.Log_SetVerbose(*args
, **kwargs
) 
1450     SetVerbose 
= staticmethod(SetVerbose
) 
1451     def SetLogLevel(*args
, **kwargs
): 
1452         """SetLogLevel(LogLevel logLevel)""" 
1453         return _misc_
.Log_SetLogLevel(*args
, **kwargs
) 
1455     SetLogLevel 
= staticmethod(SetLogLevel
) 
1456     def DontCreateOnDemand(*args
, **kwargs
): 
1457         """DontCreateOnDemand()""" 
1458         return _misc_
.Log_DontCreateOnDemand(*args
, **kwargs
) 
1460     DontCreateOnDemand 
= staticmethod(DontCreateOnDemand
) 
1461     def SetRepetitionCounting(*args
, **kwargs
): 
1462         """SetRepetitionCounting(bool bRepetCounting=True)""" 
1463         return _misc_
.Log_SetRepetitionCounting(*args
, **kwargs
) 
1465     SetRepetitionCounting 
= staticmethod(SetRepetitionCounting
) 
1466     def GetRepetitionCounting(*args
, **kwargs
): 
1467         """GetRepetitionCounting() -> bool""" 
1468         return _misc_
.Log_GetRepetitionCounting(*args
, **kwargs
) 
1470     GetRepetitionCounting 
= staticmethod(GetRepetitionCounting
) 
1471     def SetTraceMask(*args
, **kwargs
): 
1472         """SetTraceMask(TraceMask ulMask)""" 
1473         return _misc_
.Log_SetTraceMask(*args
, **kwargs
) 
1475     SetTraceMask 
= staticmethod(SetTraceMask
) 
1476     def AddTraceMask(*args
, **kwargs
): 
1477         """AddTraceMask(String str)""" 
1478         return _misc_
.Log_AddTraceMask(*args
, **kwargs
) 
1480     AddTraceMask 
= staticmethod(AddTraceMask
) 
1481     def RemoveTraceMask(*args
, **kwargs
): 
1482         """RemoveTraceMask(String str)""" 
1483         return _misc_
.Log_RemoveTraceMask(*args
, **kwargs
) 
1485     RemoveTraceMask 
= staticmethod(RemoveTraceMask
) 
1486     def ClearTraceMasks(*args
, **kwargs
): 
1487         """ClearTraceMasks()""" 
1488         return _misc_
.Log_ClearTraceMasks(*args
, **kwargs
) 
1490     ClearTraceMasks 
= staticmethod(ClearTraceMasks
) 
1491     def GetTraceMasks(*args
, **kwargs
): 
1492         """GetTraceMasks() -> wxArrayString""" 
1493         return _misc_
.Log_GetTraceMasks(*args
, **kwargs
) 
1495     GetTraceMasks 
= staticmethod(GetTraceMasks
) 
1496     def SetTimestamp(*args
, **kwargs
): 
1497         """SetTimestamp(wxChar ts)""" 
1498         return _misc_
.Log_SetTimestamp(*args
, **kwargs
) 
1500     SetTimestamp 
= staticmethod(SetTimestamp
) 
1501     def GetVerbose(*args
, **kwargs
): 
1502         """GetVerbose() -> bool""" 
1503         return _misc_
.Log_GetVerbose(*args
, **kwargs
) 
1505     GetVerbose 
= staticmethod(GetVerbose
) 
1506     def GetTraceMask(*args
, **kwargs
): 
1507         """GetTraceMask() -> TraceMask""" 
1508         return _misc_
.Log_GetTraceMask(*args
, **kwargs
) 
1510     GetTraceMask 
= staticmethod(GetTraceMask
) 
1511     def IsAllowedTraceMask(*args
, **kwargs
): 
1512         """IsAllowedTraceMask(wxChar mask) -> bool""" 
1513         return _misc_
.Log_IsAllowedTraceMask(*args
, **kwargs
) 
1515     IsAllowedTraceMask 
= staticmethod(IsAllowedTraceMask
) 
1516     def GetLogLevel(*args
, **kwargs
): 
1517         """GetLogLevel() -> LogLevel""" 
1518         return _misc_
.Log_GetLogLevel(*args
, **kwargs
) 
1520     GetLogLevel 
= staticmethod(GetLogLevel
) 
1521     def GetTimestamp(*args
, **kwargs
): 
1522         """GetTimestamp() -> wxChar""" 
1523         return _misc_
.Log_GetTimestamp(*args
, **kwargs
) 
1525     GetTimestamp 
= staticmethod(GetTimestamp
) 
1526     def TimeStamp(*args
, **kwargs
): 
1527         """TimeStamp() -> String""" 
1528         return _misc_
.Log_TimeStamp(*args
, **kwargs
) 
1530     TimeStamp 
= staticmethod(TimeStamp
) 
1531     def Destroy(*args
, **kwargs
): 
1533         args
[0].this
.own(False) 
1534         return _misc_
.Log_Destroy(*args
, **kwargs
) 
1536 _misc_
.Log_swigregister(Log
) 
1538 def Log_IsEnabled(*args
): 
1539   """Log_IsEnabled() -> bool""" 
1540   return _misc_
.Log_IsEnabled(*args
) 
1542 def Log_EnableLogging(*args
, **kwargs
): 
1543   """Log_EnableLogging(bool doIt=True) -> bool""" 
1544   return _misc_
.Log_EnableLogging(*args
, **kwargs
) 
1546 def Log_OnLog(*args
, **kwargs
): 
1547   """Log_OnLog(LogLevel level, wxChar szString, time_t t)""" 
1548   return _misc_
.Log_OnLog(*args
, **kwargs
) 
1550 def Log_FlushActive(*args
): 
1551   """Log_FlushActive()""" 
1552   return _misc_
.Log_FlushActive(*args
) 
1554 def Log_GetActiveTarget(*args
): 
1555   """Log_GetActiveTarget() -> Log""" 
1556   return _misc_
.Log_GetActiveTarget(*args
) 
1558 def Log_SetActiveTarget(*args
, **kwargs
): 
1559   """Log_SetActiveTarget(Log pLogger) -> Log""" 
1560   return _misc_
.Log_SetActiveTarget(*args
, **kwargs
) 
1562 def Log_Suspend(*args
): 
1564   return _misc_
.Log_Suspend(*args
) 
1566 def Log_Resume(*args
): 
1568   return _misc_
.Log_Resume(*args
) 
1570 def Log_SetVerbose(*args
, **kwargs
): 
1571   """Log_SetVerbose(bool bVerbose=True)""" 
1572   return _misc_
.Log_SetVerbose(*args
, **kwargs
) 
1574 def Log_SetLogLevel(*args
, **kwargs
): 
1575   """Log_SetLogLevel(LogLevel logLevel)""" 
1576   return _misc_
.Log_SetLogLevel(*args
, **kwargs
) 
1578 def Log_DontCreateOnDemand(*args
): 
1579   """Log_DontCreateOnDemand()""" 
1580   return _misc_
.Log_DontCreateOnDemand(*args
) 
1582 def Log_SetRepetitionCounting(*args
, **kwargs
): 
1583   """Log_SetRepetitionCounting(bool bRepetCounting=True)""" 
1584   return _misc_
.Log_SetRepetitionCounting(*args
, **kwargs
) 
1586 def Log_GetRepetitionCounting(*args
): 
1587   """Log_GetRepetitionCounting() -> bool""" 
1588   return _misc_
.Log_GetRepetitionCounting(*args
) 
1590 def Log_SetTraceMask(*args
, **kwargs
): 
1591   """Log_SetTraceMask(TraceMask ulMask)""" 
1592   return _misc_
.Log_SetTraceMask(*args
, **kwargs
) 
1594 def Log_AddTraceMask(*args
, **kwargs
): 
1595   """Log_AddTraceMask(String str)""" 
1596   return _misc_
.Log_AddTraceMask(*args
, **kwargs
) 
1598 def Log_RemoveTraceMask(*args
, **kwargs
): 
1599   """Log_RemoveTraceMask(String str)""" 
1600   return _misc_
.Log_RemoveTraceMask(*args
, **kwargs
) 
1602 def Log_ClearTraceMasks(*args
): 
1603   """Log_ClearTraceMasks()""" 
1604   return _misc_
.Log_ClearTraceMasks(*args
) 
1606 def Log_GetTraceMasks(*args
): 
1607   """Log_GetTraceMasks() -> wxArrayString""" 
1608   return _misc_
.Log_GetTraceMasks(*args
) 
1610 def Log_SetTimestamp(*args
, **kwargs
): 
1611   """Log_SetTimestamp(wxChar ts)""" 
1612   return _misc_
.Log_SetTimestamp(*args
, **kwargs
) 
1614 def Log_GetVerbose(*args
): 
1615   """Log_GetVerbose() -> bool""" 
1616   return _misc_
.Log_GetVerbose(*args
) 
1618 def Log_GetTraceMask(*args
): 
1619   """Log_GetTraceMask() -> TraceMask""" 
1620   return _misc_
.Log_GetTraceMask(*args
) 
1622 def Log_IsAllowedTraceMask(*args
, **kwargs
): 
1623   """Log_IsAllowedTraceMask(wxChar mask) -> bool""" 
1624   return _misc_
.Log_IsAllowedTraceMask(*args
, **kwargs
) 
1626 def Log_GetLogLevel(*args
): 
1627   """Log_GetLogLevel() -> LogLevel""" 
1628   return _misc_
.Log_GetLogLevel(*args
) 
1630 def Log_GetTimestamp(*args
): 
1631   """Log_GetTimestamp() -> wxChar""" 
1632   return _misc_
.Log_GetTimestamp(*args
) 
1634 def Log_TimeStamp(*args
): 
1635   """Log_TimeStamp() -> String""" 
1636   return _misc_
.Log_TimeStamp(*args
) 
1638 class LogStderr(Log
): 
1639     """Proxy of C++ LogStderr class""" 
1640     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1641     __repr__ 
= _swig_repr
 
1642     def __init__(self
, *args
, **kwargs
):  
1643         """__init__(self) -> LogStderr""" 
1644         _misc_
.LogStderr_swiginit(self
,_misc_
.new_LogStderr(*args
, **kwargs
)) 
1645 _misc_
.LogStderr_swigregister(LogStderr
) 
1647 class LogTextCtrl(Log
): 
1648     """Proxy of C++ LogTextCtrl class""" 
1649     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1650     __repr__ 
= _swig_repr
 
1651     def __init__(self
, *args
, **kwargs
):  
1652         """__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl""" 
1653         _misc_
.LogTextCtrl_swiginit(self
,_misc_
.new_LogTextCtrl(*args
, **kwargs
)) 
1654 _misc_
.LogTextCtrl_swigregister(LogTextCtrl
) 
1657     """Proxy of C++ LogGui class""" 
1658     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1659     __repr__ 
= _swig_repr
 
1660     def __init__(self
, *args
, **kwargs
):  
1661         """__init__(self) -> LogGui""" 
1662         _misc_
.LogGui_swiginit(self
,_misc_
.new_LogGui(*args
, **kwargs
)) 
1663 _misc_
.LogGui_swigregister(LogGui
) 
1665 class LogWindow(Log
): 
1666     """Proxy of C++ LogWindow class""" 
1667     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1668     __repr__ 
= _swig_repr
 
1669     def __init__(self
, *args
, **kwargs
):  
1670         """__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow""" 
1671         _misc_
.LogWindow_swiginit(self
,_misc_
.new_LogWindow(*args
, **kwargs
)) 
1672     def Show(*args
, **kwargs
): 
1673         """Show(self, bool bShow=True)""" 
1674         return _misc_
.LogWindow_Show(*args
, **kwargs
) 
1676     def GetFrame(*args
, **kwargs
): 
1677         """GetFrame(self) -> wxFrame""" 
1678         return _misc_
.LogWindow_GetFrame(*args
, **kwargs
) 
1680     def GetOldLog(*args
, **kwargs
): 
1681         """GetOldLog(self) -> Log""" 
1682         return _misc_
.LogWindow_GetOldLog(*args
, **kwargs
) 
1684     def IsPassingMessages(*args
, **kwargs
): 
1685         """IsPassingMessages(self) -> bool""" 
1686         return _misc_
.LogWindow_IsPassingMessages(*args
, **kwargs
) 
1688     def PassMessages(*args
, **kwargs
): 
1689         """PassMessages(self, bool bDoPass)""" 
1690         return _misc_
.LogWindow_PassMessages(*args
, **kwargs
) 
1692     Frame 
= property(GetFrame
,doc
="See `GetFrame`")  
1693     OldLog 
= property(GetOldLog
,doc
="See `GetOldLog`")  
1694 _misc_
.LogWindow_swigregister(LogWindow
) 
1696 class LogChain(Log
): 
1697     """Proxy of C++ LogChain class""" 
1698     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1699     __repr__ 
= _swig_repr
 
1700     def __init__(self
, *args
, **kwargs
):  
1701         """__init__(self, Log logger) -> LogChain""" 
1702         _misc_
.LogChain_swiginit(self
,_misc_
.new_LogChain(*args
, **kwargs
)) 
1703     def SetLog(*args
, **kwargs
): 
1704         """SetLog(self, Log logger)""" 
1705         return _misc_
.LogChain_SetLog(*args
, **kwargs
) 
1707     def PassMessages(*args
, **kwargs
): 
1708         """PassMessages(self, bool bDoPass)""" 
1709         return _misc_
.LogChain_PassMessages(*args
, **kwargs
) 
1711     def IsPassingMessages(*args
, **kwargs
): 
1712         """IsPassingMessages(self) -> bool""" 
1713         return _misc_
.LogChain_IsPassingMessages(*args
, **kwargs
) 
1715     def GetOldLog(*args
, **kwargs
): 
1716         """GetOldLog(self) -> Log""" 
1717         return _misc_
.LogChain_GetOldLog(*args
, **kwargs
) 
1719     OldLog 
= property(GetOldLog
,doc
="See `GetOldLog`")  
1720 _misc_
.LogChain_swigregister(LogChain
) 
1722 class LogBuffer(Log
): 
1723     """Proxy of C++ LogBuffer class""" 
1724     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1725     __repr__ 
= _swig_repr
 
1726     def __init__(self
, *args
, **kwargs
):  
1727         """__init__(self) -> LogBuffer""" 
1728         _misc_
.LogBuffer_swiginit(self
,_misc_
.new_LogBuffer(*args
, **kwargs
)) 
1729     def GetBuffer(*args
, **kwargs
): 
1730         """GetBuffer(self) -> String""" 
1731         return _misc_
.LogBuffer_GetBuffer(*args
, **kwargs
) 
1733     Buffer 
= property(GetBuffer
,doc
="See `GetBuffer`")  
1734 _misc_
.LogBuffer_swigregister(LogBuffer
) 
1737 def SysErrorCode(*args
): 
1738   """SysErrorCode() -> unsigned long""" 
1739   return _misc_
.SysErrorCode(*args
) 
1741 def SysErrorMsg(*args
, **kwargs
): 
1742   """SysErrorMsg(unsigned long nErrCode=0) -> String""" 
1743   return _misc_
.SysErrorMsg(*args
, **kwargs
) 
1745 def LogFatalError(*args
, **kwargs
): 
1746   """LogFatalError(String msg)""" 
1747   return _misc_
.LogFatalError(*args
, **kwargs
) 
1749 def LogError(*args
, **kwargs
): 
1750   """LogError(String msg)""" 
1751   return _misc_
.LogError(*args
, **kwargs
) 
1753 def LogWarning(*args
, **kwargs
): 
1754   """LogWarning(String msg)""" 
1755   return _misc_
.LogWarning(*args
, **kwargs
) 
1757 def LogMessage(*args
, **kwargs
): 
1758   """LogMessage(String msg)""" 
1759   return _misc_
.LogMessage(*args
, **kwargs
) 
1761 def LogInfo(*args
, **kwargs
): 
1762   """LogInfo(String msg)""" 
1763   return _misc_
.LogInfo(*args
, **kwargs
) 
1765 def LogDebug(*args
, **kwargs
): 
1766   """LogDebug(String msg)""" 
1767   return _misc_
.LogDebug(*args
, **kwargs
) 
1769 def LogVerbose(*args
, **kwargs
): 
1770   """LogVerbose(String msg)""" 
1771   return _misc_
.LogVerbose(*args
, **kwargs
) 
1773 def LogStatus(*args
, **kwargs
): 
1774   """LogStatus(String msg)""" 
1775   return _misc_
.LogStatus(*args
, **kwargs
) 
1777 def LogStatusFrame(*args
, **kwargs
): 
1778   """LogStatusFrame(wxFrame pFrame, String msg)""" 
1779   return _misc_
.LogStatusFrame(*args
, **kwargs
) 
1781 def LogSysError(*args
, **kwargs
): 
1782   """LogSysError(String msg)""" 
1783   return _misc_
.LogSysError(*args
, **kwargs
) 
1785 def LogGeneric(*args
, **kwargs
): 
1786   """LogGeneric(unsigned long level, String msg)""" 
1787   return _misc_
.LogGeneric(*args
, **kwargs
) 
1789 def SafeShowMessage(*args
, **kwargs
): 
1790   """SafeShowMessage(String title, String text)""" 
1791   return _misc_
.SafeShowMessage(*args
, **kwargs
) 
1792 class LogNull(object): 
1793     """Proxy of C++ LogNull class""" 
1794     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1795     __repr__ 
= _swig_repr
 
1796     def __init__(self
, *args
, **kwargs
):  
1797         """__init__(self) -> LogNull""" 
1798         _misc_
.LogNull_swiginit(self
,_misc_
.new_LogNull(*args
, **kwargs
)) 
1799     __swig_destroy__ 
= _misc_
.delete_LogNull
 
1800     __del__ 
= lambda self 
: None; 
1801 _misc_
.LogNull_swigregister(LogNull
) 
1803 def LogTrace(*args
): 
1805     LogTrace(unsigned long mask, String msg) 
1806     LogTrace(String mask, String msg) 
1808   return _misc_
.LogTrace(*args
) 
1811     """Proxy of C++ PyLog class""" 
1812     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1813     __repr__ 
= _swig_repr
 
1814     def __init__(self
, *args
, **kwargs
):  
1815         """__init__(self) -> PyLog""" 
1816         _misc_
.PyLog_swiginit(self
,_misc_
.new_PyLog(*args
, **kwargs
)) 
1817         PyLog
._setCallbackInfo
(self
, self
, PyLog
) 
1819     def _setCallbackInfo(*args
, **kwargs
): 
1820         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1821         return _misc_
.PyLog__setCallbackInfo(*args
, **kwargs
) 
1823 _misc_
.PyLog_swigregister(PyLog
) 
1825 #--------------------------------------------------------------------------- 
1827 PROCESS_DEFAULT 
= _misc_
.PROCESS_DEFAULT
 
1828 PROCESS_REDIRECT 
= _misc_
.PROCESS_REDIRECT
 
1829 KILL_OK 
= _misc_
.KILL_OK
 
1830 KILL_BAD_SIGNAL 
= _misc_
.KILL_BAD_SIGNAL
 
1831 KILL_ACCESS_DENIED 
= _misc_
.KILL_ACCESS_DENIED
 
1832 KILL_NO_PROCESS 
= _misc_
.KILL_NO_PROCESS
 
1833 KILL_ERROR 
= _misc_
.KILL_ERROR
 
1834 KILL_NOCHILDREN 
= _misc_
.KILL_NOCHILDREN
 
1835 KILL_CHILDREN 
= _misc_
.KILL_CHILDREN
 
1836 SIGNONE 
= _misc_
.SIGNONE
 
1837 SIGHUP 
= _misc_
.SIGHUP
 
1838 SIGINT 
= _misc_
.SIGINT
 
1839 SIGQUIT 
= _misc_
.SIGQUIT
 
1840 SIGILL 
= _misc_
.SIGILL
 
1841 SIGTRAP 
= _misc_
.SIGTRAP
 
1842 SIGABRT 
= _misc_
.SIGABRT
 
1843 SIGIOT 
= _misc_
.SIGIOT
 
1844 SIGEMT 
= _misc_
.SIGEMT
 
1845 SIGFPE 
= _misc_
.SIGFPE
 
1846 SIGKILL 
= _misc_
.SIGKILL
 
1847 SIGBUS 
= _misc_
.SIGBUS
 
1848 SIGSEGV 
= _misc_
.SIGSEGV
 
1849 SIGSYS 
= _misc_
.SIGSYS
 
1850 SIGPIPE 
= _misc_
.SIGPIPE
 
1851 SIGALRM 
= _misc_
.SIGALRM
 
1852 SIGTERM 
= _misc_
.SIGTERM
 
1853 class Process(_core
.EvtHandler
): 
1854     """Proxy of C++ Process class""" 
1855     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1856     __repr__ 
= _swig_repr
 
1857     def Kill(*args
, **kwargs
): 
1858         """Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int""" 
1859         return _misc_
.Process_Kill(*args
, **kwargs
) 
1861     Kill 
= staticmethod(Kill
) 
1862     def Exists(*args
, **kwargs
): 
1863         """Exists(int pid) -> bool""" 
1864         return _misc_
.Process_Exists(*args
, **kwargs
) 
1866     Exists 
= staticmethod(Exists
) 
1867     def Open(*args
, **kwargs
): 
1868         """Open(String cmd, int flags=EXEC_ASYNC) -> Process""" 
1869         return _misc_
.Process_Open(*args
, **kwargs
) 
1871     Open 
= staticmethod(Open
) 
1872     def __init__(self
, *args
, **kwargs
):  
1873         """__init__(self, EvtHandler parent=None, int id=-1) -> Process""" 
1874         _misc_
.Process_swiginit(self
,_misc_
.new_Process(*args
, **kwargs
)) 
1875         Process
._setCallbackInfo
(self
, self
, Process
); self
.this
.own(False) 
1877     __swig_destroy__ 
= _misc_
.delete_Process
 
1878     __del__ 
= lambda self 
: None; 
1879     def _setCallbackInfo(*args
, **kwargs
): 
1880         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1881         return _misc_
.Process__setCallbackInfo(*args
, **kwargs
) 
1883     def GetPid(*args
, **kwargs
): 
1885         GetPid(self) -> long 
1887         get the process ID of the process executed by Open() 
1889         return _misc_
.Process_GetPid(*args
, **kwargs
) 
1891     def OnTerminate(*args
, **kwargs
): 
1892         """OnTerminate(self, int pid, int status)""" 
1893         return _misc_
.Process_OnTerminate(*args
, **kwargs
) 
1895     def base_OnTerminate(*args
, **kw
): 
1896         return Process
.OnTerminate(*args
, **kw
) 
1897     base_OnTerminate 
= wx
._deprecated
(base_OnTerminate
, 
1898                                    "Please use Process.OnTerminate instead.") 
1900     def Redirect(*args
, **kwargs
): 
1901         """Redirect(self)""" 
1902         return _misc_
.Process_Redirect(*args
, **kwargs
) 
1904     def IsRedirected(*args
, **kwargs
): 
1905         """IsRedirected(self) -> bool""" 
1906         return _misc_
.Process_IsRedirected(*args
, **kwargs
) 
1908     def Detach(*args
, **kwargs
): 
1910         return _misc_
.Process_Detach(*args
, **kwargs
) 
1912     def GetInputStream(*args
, **kwargs
): 
1913         """GetInputStream(self) -> InputStream""" 
1914         return _misc_
.Process_GetInputStream(*args
, **kwargs
) 
1916     def GetErrorStream(*args
, **kwargs
): 
1917         """GetErrorStream(self) -> InputStream""" 
1918         return _misc_
.Process_GetErrorStream(*args
, **kwargs
) 
1920     def GetOutputStream(*args
, **kwargs
): 
1921         """GetOutputStream(self) -> OutputStream""" 
1922         return _misc_
.Process_GetOutputStream(*args
, **kwargs
) 
1924     def CloseOutput(*args
, **kwargs
): 
1925         """CloseOutput(self)""" 
1926         return _misc_
.Process_CloseOutput(*args
, **kwargs
) 
1928     def IsInputOpened(*args
, **kwargs
): 
1929         """IsInputOpened(self) -> bool""" 
1930         return _misc_
.Process_IsInputOpened(*args
, **kwargs
) 
1932     def IsInputAvailable(*args
, **kwargs
): 
1933         """IsInputAvailable(self) -> bool""" 
1934         return _misc_
.Process_IsInputAvailable(*args
, **kwargs
) 
1936     def IsErrorAvailable(*args
, **kwargs
): 
1937         """IsErrorAvailable(self) -> bool""" 
1938         return _misc_
.Process_IsErrorAvailable(*args
, **kwargs
) 
1940     ErrorStream 
= property(GetErrorStream
,doc
="See `GetErrorStream`")  
1941     InputStream 
= property(GetInputStream
,doc
="See `GetInputStream`")  
1942     OutputStream 
= property(GetOutputStream
,doc
="See `GetOutputStream`")  
1943     InputOpened 
= property(IsInputOpened
)  
1944     InputAvailable 
= property(IsInputAvailable
)  
1945     ErrorAvailable 
= property(IsErrorAvailable
)  
1946 _misc_
.Process_swigregister(Process
) 
1948 def Process_Kill(*args
, **kwargs
): 
1949   """Process_Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int""" 
1950   return _misc_
.Process_Kill(*args
, **kwargs
) 
1952 def Process_Exists(*args
, **kwargs
): 
1953   """Process_Exists(int pid) -> bool""" 
1954   return _misc_
.Process_Exists(*args
, **kwargs
) 
1956 def Process_Open(*args
, **kwargs
): 
1957   """Process_Open(String cmd, int flags=EXEC_ASYNC) -> Process""" 
1958   return _misc_
.Process_Open(*args
, **kwargs
) 
1960 class ProcessEvent(_core
.Event
): 
1961     """Proxy of C++ ProcessEvent class""" 
1962     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1963     __repr__ 
= _swig_repr
 
1964     def __init__(self
, *args
, **kwargs
):  
1965         """__init__(self, int id=0, int pid=0, int exitcode=0) -> ProcessEvent""" 
1966         _misc_
.ProcessEvent_swiginit(self
,_misc_
.new_ProcessEvent(*args
, **kwargs
)) 
1967     def GetPid(*args
, **kwargs
): 
1968         """GetPid(self) -> int""" 
1969         return _misc_
.ProcessEvent_GetPid(*args
, **kwargs
) 
1971     def GetExitCode(*args
, **kwargs
): 
1972         """GetExitCode(self) -> int""" 
1973         return _misc_
.ProcessEvent_GetExitCode(*args
, **kwargs
) 
1975     m_pid 
= property(_misc_
.ProcessEvent_m_pid_get
, _misc_
.ProcessEvent_m_pid_set
) 
1976     m_exitcode 
= property(_misc_
.ProcessEvent_m_exitcode_get
, _misc_
.ProcessEvent_m_exitcode_set
) 
1977     ExitCode 
= property(GetExitCode
,doc
="See `GetExitCode`")  
1978     Pid 
= property(GetPid
,doc
="See `GetPid`")  
1979 _misc_
.ProcessEvent_swigregister(ProcessEvent
) 
1981 wxEVT_END_PROCESS 
= _misc_
.wxEVT_END_PROCESS
 
1982 EVT_END_PROCESS 
= wx
.PyEventBinder( wxEVT_END_PROCESS
, 1 ) 
1984 EXEC_ASYNC 
= _misc_
.EXEC_ASYNC
 
1985 EXEC_SYNC 
= _misc_
.EXEC_SYNC
 
1986 EXEC_NOHIDE 
= _misc_
.EXEC_NOHIDE
 
1987 EXEC_MAKE_GROUP_LEADER 
= _misc_
.EXEC_MAKE_GROUP_LEADER
 
1988 EXEC_NODISABLE 
= _misc_
.EXEC_NODISABLE
 
1989 EXEC_NOEVENTS 
= _misc_
.EXEC_NOEVENTS
 
1990 EXEC_BLOCK 
= _misc_
.EXEC_BLOCK
 
1992 def Execute(*args
, **kwargs
): 
1993   """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long""" 
1994   return _misc_
.Execute(*args
, **kwargs
) 
1996 def Kill(*args
, **kwargs
): 
1997   """Kill(long pid, int sig=SIGTERM, int rc, int flags=KILL_NOCHILDREN) -> int""" 
1998   return _misc_
.Kill(*args
, **kwargs
) 
1999 #--------------------------------------------------------------------------- 
2001 JOYSTICK1 
= _misc_
.JOYSTICK1
 
2002 JOYSTICK2 
= _misc_
.JOYSTICK2
 
2003 JOY_BUTTON_ANY 
= _misc_
.JOY_BUTTON_ANY
 
2004 JOY_BUTTON1 
= _misc_
.JOY_BUTTON1
 
2005 JOY_BUTTON2 
= _misc_
.JOY_BUTTON2
 
2006 JOY_BUTTON3 
= _misc_
.JOY_BUTTON3
 
2007 JOY_BUTTON4 
= _misc_
.JOY_BUTTON4
 
2008 class Joystick(object): 
2009     """Proxy of C++ Joystick class""" 
2010     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2011     __repr__ 
= _swig_repr
 
2012     def __init__(self
, *args
, **kwargs
):  
2013         """__init__(self, int joystick=JOYSTICK1) -> Joystick""" 
2014         _misc_
.Joystick_swiginit(self
,_misc_
.new_Joystick(*args
, **kwargs
)) 
2015     __swig_destroy__ 
= _misc_
.delete_Joystick
 
2016     __del__ 
= lambda self 
: None; 
2017     def GetPosition(*args
, **kwargs
): 
2018         """GetPosition(self) -> Point""" 
2019         return _misc_
.Joystick_GetPosition(*args
, **kwargs
) 
2021     def GetZPosition(*args
, **kwargs
): 
2022         """GetZPosition(self) -> int""" 
2023         return _misc_
.Joystick_GetZPosition(*args
, **kwargs
) 
2025     def GetButtonState(*args
, **kwargs
): 
2026         """GetButtonState(self) -> int""" 
2027         return _misc_
.Joystick_GetButtonState(*args
, **kwargs
) 
2029     def GetPOVPosition(*args
, **kwargs
): 
2030         """GetPOVPosition(self) -> int""" 
2031         return _misc_
.Joystick_GetPOVPosition(*args
, **kwargs
) 
2033     def GetPOVCTSPosition(*args
, **kwargs
): 
2034         """GetPOVCTSPosition(self) -> int""" 
2035         return _misc_
.Joystick_GetPOVCTSPosition(*args
, **kwargs
) 
2037     def GetRudderPosition(*args
, **kwargs
): 
2038         """GetRudderPosition(self) -> int""" 
2039         return _misc_
.Joystick_GetRudderPosition(*args
, **kwargs
) 
2041     def GetUPosition(*args
, **kwargs
): 
2042         """GetUPosition(self) -> int""" 
2043         return _misc_
.Joystick_GetUPosition(*args
, **kwargs
) 
2045     def GetVPosition(*args
, **kwargs
): 
2046         """GetVPosition(self) -> int""" 
2047         return _misc_
.Joystick_GetVPosition(*args
, **kwargs
) 
2049     def GetMovementThreshold(*args
, **kwargs
): 
2050         """GetMovementThreshold(self) -> int""" 
2051         return _misc_
.Joystick_GetMovementThreshold(*args
, **kwargs
) 
2053     def SetMovementThreshold(*args
, **kwargs
): 
2054         """SetMovementThreshold(self, int threshold)""" 
2055         return _misc_
.Joystick_SetMovementThreshold(*args
, **kwargs
) 
2057     def IsOk(*args
, **kwargs
): 
2058         """IsOk(self) -> bool""" 
2059         return _misc_
.Joystick_IsOk(*args
, **kwargs
) 
2061     def GetNumberJoysticks(*args
, **kwargs
): 
2062         """GetNumberJoysticks(self) -> int""" 
2063         return _misc_
.Joystick_GetNumberJoysticks(*args
, **kwargs
) 
2065     def GetManufacturerId(*args
, **kwargs
): 
2066         """GetManufacturerId(self) -> int""" 
2067         return _misc_
.Joystick_GetManufacturerId(*args
, **kwargs
) 
2069     def GetProductId(*args
, **kwargs
): 
2070         """GetProductId(self) -> int""" 
2071         return _misc_
.Joystick_GetProductId(*args
, **kwargs
) 
2073     def GetProductName(*args
, **kwargs
): 
2074         """GetProductName(self) -> String""" 
2075         return _misc_
.Joystick_GetProductName(*args
, **kwargs
) 
2077     def GetXMin(*args
, **kwargs
): 
2078         """GetXMin(self) -> int""" 
2079         return _misc_
.Joystick_GetXMin(*args
, **kwargs
) 
2081     def GetYMin(*args
, **kwargs
): 
2082         """GetYMin(self) -> int""" 
2083         return _misc_
.Joystick_GetYMin(*args
, **kwargs
) 
2085     def GetZMin(*args
, **kwargs
): 
2086         """GetZMin(self) -> int""" 
2087         return _misc_
.Joystick_GetZMin(*args
, **kwargs
) 
2089     def GetXMax(*args
, **kwargs
): 
2090         """GetXMax(self) -> int""" 
2091         return _misc_
.Joystick_GetXMax(*args
, **kwargs
) 
2093     def GetYMax(*args
, **kwargs
): 
2094         """GetYMax(self) -> int""" 
2095         return _misc_
.Joystick_GetYMax(*args
, **kwargs
) 
2097     def GetZMax(*args
, **kwargs
): 
2098         """GetZMax(self) -> int""" 
2099         return _misc_
.Joystick_GetZMax(*args
, **kwargs
) 
2101     def GetNumberButtons(*args
, **kwargs
): 
2102         """GetNumberButtons(self) -> int""" 
2103         return _misc_
.Joystick_GetNumberButtons(*args
, **kwargs
) 
2105     def GetNumberAxes(*args
, **kwargs
): 
2106         """GetNumberAxes(self) -> int""" 
2107         return _misc_
.Joystick_GetNumberAxes(*args
, **kwargs
) 
2109     def GetMaxButtons(*args
, **kwargs
): 
2110         """GetMaxButtons(self) -> int""" 
2111         return _misc_
.Joystick_GetMaxButtons(*args
, **kwargs
) 
2113     def GetMaxAxes(*args
, **kwargs
): 
2114         """GetMaxAxes(self) -> int""" 
2115         return _misc_
.Joystick_GetMaxAxes(*args
, **kwargs
) 
2117     def GetPollingMin(*args
, **kwargs
): 
2118         """GetPollingMin(self) -> int""" 
2119         return _misc_
.Joystick_GetPollingMin(*args
, **kwargs
) 
2121     def GetPollingMax(*args
, **kwargs
): 
2122         """GetPollingMax(self) -> int""" 
2123         return _misc_
.Joystick_GetPollingMax(*args
, **kwargs
) 
2125     def GetRudderMin(*args
, **kwargs
): 
2126         """GetRudderMin(self) -> int""" 
2127         return _misc_
.Joystick_GetRudderMin(*args
, **kwargs
) 
2129     def GetRudderMax(*args
, **kwargs
): 
2130         """GetRudderMax(self) -> int""" 
2131         return _misc_
.Joystick_GetRudderMax(*args
, **kwargs
) 
2133     def GetUMin(*args
, **kwargs
): 
2134         """GetUMin(self) -> int""" 
2135         return _misc_
.Joystick_GetUMin(*args
, **kwargs
) 
2137     def GetUMax(*args
, **kwargs
): 
2138         """GetUMax(self) -> int""" 
2139         return _misc_
.Joystick_GetUMax(*args
, **kwargs
) 
2141     def GetVMin(*args
, **kwargs
): 
2142         """GetVMin(self) -> int""" 
2143         return _misc_
.Joystick_GetVMin(*args
, **kwargs
) 
2145     def GetVMax(*args
, **kwargs
): 
2146         """GetVMax(self) -> int""" 
2147         return _misc_
.Joystick_GetVMax(*args
, **kwargs
) 
2149     def HasRudder(*args
, **kwargs
): 
2150         """HasRudder(self) -> bool""" 
2151         return _misc_
.Joystick_HasRudder(*args
, **kwargs
) 
2153     def HasZ(*args
, **kwargs
): 
2154         """HasZ(self) -> bool""" 
2155         return _misc_
.Joystick_HasZ(*args
, **kwargs
) 
2157     def HasU(*args
, **kwargs
): 
2158         """HasU(self) -> bool""" 
2159         return _misc_
.Joystick_HasU(*args
, **kwargs
) 
2161     def HasV(*args
, **kwargs
): 
2162         """HasV(self) -> bool""" 
2163         return _misc_
.Joystick_HasV(*args
, **kwargs
) 
2165     def HasPOV(*args
, **kwargs
): 
2166         """HasPOV(self) -> bool""" 
2167         return _misc_
.Joystick_HasPOV(*args
, **kwargs
) 
2169     def HasPOV4Dir(*args
, **kwargs
): 
2170         """HasPOV4Dir(self) -> bool""" 
2171         return _misc_
.Joystick_HasPOV4Dir(*args
, **kwargs
) 
2173     def HasPOVCTS(*args
, **kwargs
): 
2174         """HasPOVCTS(self) -> bool""" 
2175         return _misc_
.Joystick_HasPOVCTS(*args
, **kwargs
) 
2177     def SetCapture(*args
, **kwargs
): 
2178         """SetCapture(self, Window win, int pollingFreq=0) -> bool""" 
2179         return _misc_
.Joystick_SetCapture(*args
, **kwargs
) 
2181     def ReleaseCapture(*args
, **kwargs
): 
2182         """ReleaseCapture(self) -> bool""" 
2183         return _misc_
.Joystick_ReleaseCapture(*args
, **kwargs
) 
2185     def __nonzero__(self
): return self
.IsOk()  
2186     ButtonState 
= property(GetButtonState
,doc
="See `GetButtonState`")  
2187     ManufacturerId 
= property(GetManufacturerId
,doc
="See `GetManufacturerId`")  
2188     MaxAxes 
= property(GetMaxAxes
,doc
="See `GetMaxAxes`")  
2189     MaxButtons 
= property(GetMaxButtons
,doc
="See `GetMaxButtons`")  
2190     MovementThreshold 
= property(GetMovementThreshold
,SetMovementThreshold
,doc
="See `GetMovementThreshold` and `SetMovementThreshold`")  
2191     NumberAxes 
= property(GetNumberAxes
,doc
="See `GetNumberAxes`")  
2192     NumberButtons 
= property(GetNumberButtons
,doc
="See `GetNumberButtons`")  
2193     NumberJoysticks 
= property(GetNumberJoysticks
,doc
="See `GetNumberJoysticks`")  
2194     POVCTSPosition 
= property(GetPOVCTSPosition
,doc
="See `GetPOVCTSPosition`")  
2195     POVPosition 
= property(GetPOVPosition
,doc
="See `GetPOVPosition`")  
2196     PollingMax 
= property(GetPollingMax
,doc
="See `GetPollingMax`")  
2197     PollingMin 
= property(GetPollingMin
,doc
="See `GetPollingMin`")  
2198     Position 
= property(GetPosition
,doc
="See `GetPosition`")  
2199     ProductId 
= property(GetProductId
,doc
="See `GetProductId`")  
2200     ProductName 
= property(GetProductName
,doc
="See `GetProductName`")  
2201     RudderMax 
= property(GetRudderMax
,doc
="See `GetRudderMax`")  
2202     RudderMin 
= property(GetRudderMin
,doc
="See `GetRudderMin`")  
2203     RudderPosition 
= property(GetRudderPosition
,doc
="See `GetRudderPosition`")  
2204     UMax 
= property(GetUMax
,doc
="See `GetUMax`")  
2205     UMin 
= property(GetUMin
,doc
="See `GetUMin`")  
2206     UPosition 
= property(GetUPosition
,doc
="See `GetUPosition`")  
2207     VMax 
= property(GetVMax
,doc
="See `GetVMax`")  
2208     VMin 
= property(GetVMin
,doc
="See `GetVMin`")  
2209     VPosition 
= property(GetVPosition
,doc
="See `GetVPosition`")  
2210     XMax 
= property(GetXMax
,doc
="See `GetXMax`")  
2211     XMin 
= property(GetXMin
,doc
="See `GetXMin`")  
2212     YMax 
= property(GetYMax
,doc
="See `GetYMax`")  
2213     YMin 
= property(GetYMin
,doc
="See `GetYMin`")  
2214     ZMax 
= property(GetZMax
,doc
="See `GetZMax`")  
2215     ZMin 
= property(GetZMin
,doc
="See `GetZMin`")  
2216     ZPosition 
= property(GetZPosition
,doc
="See `GetZPosition`")  
2217 _misc_
.Joystick_swigregister(Joystick
) 
2219 wxEVT_JOY_BUTTON_DOWN 
= _misc_
.wxEVT_JOY_BUTTON_DOWN
 
2220 wxEVT_JOY_BUTTON_UP 
= _misc_
.wxEVT_JOY_BUTTON_UP
 
2221 wxEVT_JOY_MOVE 
= _misc_
.wxEVT_JOY_MOVE
 
2222 wxEVT_JOY_ZMOVE 
= _misc_
.wxEVT_JOY_ZMOVE
 
2223 class JoystickEvent(_core
.Event
): 
2224     """Proxy of C++ JoystickEvent class""" 
2225     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2226     __repr__ 
= _swig_repr
 
2227     def __init__(self
, *args
, **kwargs
):  
2229         __init__(self, EventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1,  
2230             int change=0) -> JoystickEvent 
2232         _misc_
.JoystickEvent_swiginit(self
,_misc_
.new_JoystickEvent(*args
, **kwargs
)) 
2233     def GetPosition(*args
, **kwargs
): 
2234         """GetPosition(self) -> Point""" 
2235         return _misc_
.JoystickEvent_GetPosition(*args
, **kwargs
) 
2237     def GetZPosition(*args
, **kwargs
): 
2238         """GetZPosition(self) -> int""" 
2239         return _misc_
.JoystickEvent_GetZPosition(*args
, **kwargs
) 
2241     def GetButtonState(*args
, **kwargs
): 
2242         """GetButtonState(self) -> int""" 
2243         return _misc_
.JoystickEvent_GetButtonState(*args
, **kwargs
) 
2245     def GetButtonChange(*args
, **kwargs
): 
2246         """GetButtonChange(self) -> int""" 
2247         return _misc_
.JoystickEvent_GetButtonChange(*args
, **kwargs
) 
2249     def GetJoystick(*args
, **kwargs
): 
2250         """GetJoystick(self) -> int""" 
2251         return _misc_
.JoystickEvent_GetJoystick(*args
, **kwargs
) 
2253     def SetJoystick(*args
, **kwargs
): 
2254         """SetJoystick(self, int stick)""" 
2255         return _misc_
.JoystickEvent_SetJoystick(*args
, **kwargs
) 
2257     def SetButtonState(*args
, **kwargs
): 
2258         """SetButtonState(self, int state)""" 
2259         return _misc_
.JoystickEvent_SetButtonState(*args
, **kwargs
) 
2261     def SetButtonChange(*args
, **kwargs
): 
2262         """SetButtonChange(self, int change)""" 
2263         return _misc_
.JoystickEvent_SetButtonChange(*args
, **kwargs
) 
2265     def SetPosition(*args
, **kwargs
): 
2266         """SetPosition(self, Point pos)""" 
2267         return _misc_
.JoystickEvent_SetPosition(*args
, **kwargs
) 
2269     def SetZPosition(*args
, **kwargs
): 
2270         """SetZPosition(self, int zPos)""" 
2271         return _misc_
.JoystickEvent_SetZPosition(*args
, **kwargs
) 
2273     def IsButton(*args
, **kwargs
): 
2274         """IsButton(self) -> bool""" 
2275         return _misc_
.JoystickEvent_IsButton(*args
, **kwargs
) 
2277     def IsMove(*args
, **kwargs
): 
2278         """IsMove(self) -> bool""" 
2279         return _misc_
.JoystickEvent_IsMove(*args
, **kwargs
) 
2281     def IsZMove(*args
, **kwargs
): 
2282         """IsZMove(self) -> bool""" 
2283         return _misc_
.JoystickEvent_IsZMove(*args
, **kwargs
) 
2285     def ButtonDown(*args
, **kwargs
): 
2286         """ButtonDown(self, int but=JOY_BUTTON_ANY) -> bool""" 
2287         return _misc_
.JoystickEvent_ButtonDown(*args
, **kwargs
) 
2289     def ButtonUp(*args
, **kwargs
): 
2290         """ButtonUp(self, int but=JOY_BUTTON_ANY) -> bool""" 
2291         return _misc_
.JoystickEvent_ButtonUp(*args
, **kwargs
) 
2293     def ButtonIsDown(*args
, **kwargs
): 
2294         """ButtonIsDown(self, int but=JOY_BUTTON_ANY) -> bool""" 
2295         return _misc_
.JoystickEvent_ButtonIsDown(*args
, **kwargs
) 
2297     m_pos 
= property(GetPosition
, SetPosition
) 
2298     m_zPosition 
= property(GetZPosition
, SetZPosition
) 
2299     m_buttonChange 
= property(GetButtonChange
, SetButtonChange
) 
2300     m_buttonState 
= property(GetButtonState
, SetButtonState
) 
2301     m_joyStick 
= property(GetJoystick
, SetJoystick
) 
2303     ButtonChange 
= property(GetButtonChange
,SetButtonChange
,doc
="See `GetButtonChange` and `SetButtonChange`")  
2304     ButtonState 
= property(GetButtonState
,SetButtonState
,doc
="See `GetButtonState` and `SetButtonState`")  
2305     Joystick 
= property(GetJoystick
,SetJoystick
,doc
="See `GetJoystick` and `SetJoystick`")  
2306     Position 
= property(GetPosition
,SetPosition
,doc
="See `GetPosition` and `SetPosition`")  
2307     ZPosition 
= property(GetZPosition
,SetZPosition
,doc
="See `GetZPosition` and `SetZPosition`")  
2308 _misc_
.JoystickEvent_swigregister(JoystickEvent
) 
2310 EVT_JOY_BUTTON_DOWN 
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_DOWN 
) 
2311 EVT_JOY_BUTTON_UP 
= wx
.PyEventBinder( wxEVT_JOY_BUTTON_UP 
) 
2312 EVT_JOY_MOVE 
= wx
.PyEventBinder( wxEVT_JOY_MOVE 
) 
2313 EVT_JOY_ZMOVE 
= wx
.PyEventBinder( wxEVT_JOY_ZMOVE 
) 
2315 EVT_JOYSTICK_EVENTS 
= wx
.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN
, 
2316                                         wxEVT_JOY_BUTTON_UP
,  
2322 #--------------------------------------------------------------------------- 
2324 SOUND_SYNC 
= _misc_
.SOUND_SYNC
 
2325 SOUND_ASYNC 
= _misc_
.SOUND_ASYNC
 
2326 SOUND_LOOP 
= _misc_
.SOUND_LOOP
 
2327 class Sound(object): 
2328     """Proxy of C++ Sound class""" 
2329     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2330     __repr__ 
= _swig_repr
 
2331     def __init__(self
, *args
, **kwargs
):  
2332         """__init__(self, String fileName=EmptyString) -> Sound""" 
2333         _misc_
.Sound_swiginit(self
,_misc_
.new_Sound(*args
, **kwargs
)) 
2334     __swig_destroy__ 
= _misc_
.delete_Sound
 
2335     __del__ 
= lambda self 
: None; 
2336     def Create(*args
, **kwargs
): 
2337         """Create(self, String fileName) -> bool""" 
2338         return _misc_
.Sound_Create(*args
, **kwargs
) 
2340     def CreateFromData(*args
, **kwargs
): 
2341         """CreateFromData(self, PyObject data) -> bool""" 
2342         return _misc_
.Sound_CreateFromData(*args
, **kwargs
) 
2344     def IsOk(*args
, **kwargs
): 
2345         """IsOk(self) -> bool""" 
2346         return _misc_
.Sound_IsOk(*args
, **kwargs
) 
2348     def Play(*args
, **kwargs
): 
2349         """Play(self, unsigned int flags=SOUND_ASYNC) -> bool""" 
2350         return _misc_
.Sound_Play(*args
, **kwargs
) 
2352     def PlaySound(*args
, **kwargs
): 
2353         """PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool""" 
2354         return _misc_
.Sound_PlaySound(*args
, **kwargs
) 
2356     PlaySound 
= staticmethod(PlaySound
) 
2357     def Stop(*args
, **kwargs
): 
2359         return _misc_
.Sound_Stop(*args
, **kwargs
) 
2361     Stop 
= staticmethod(Stop
) 
2362     def __nonzero__(self
): return self
.IsOk()  
2363 _misc_
.Sound_swigregister(Sound
) 
2365 def SoundFromData(*args
, **kwargs
): 
2366     """SoundFromData(PyObject data) -> Sound""" 
2367     val 
= _misc_
.new_SoundFromData(*args
, **kwargs
) 
2370 def Sound_PlaySound(*args
, **kwargs
): 
2371   """Sound_PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool""" 
2372   return _misc_
.Sound_PlaySound(*args
, **kwargs
) 
2374 def Sound_Stop(*args
): 
2376   return _misc_
.Sound_Stop(*args
) 
2378 #--------------------------------------------------------------------------- 
2380 MAILCAP_STANDARD 
= _misc_
.MAILCAP_STANDARD
 
2381 MAILCAP_NETSCAPE 
= _misc_
.MAILCAP_NETSCAPE
 
2382 MAILCAP_KDE 
= _misc_
.MAILCAP_KDE
 
2383 MAILCAP_GNOME 
= _misc_
.MAILCAP_GNOME
 
2384 MAILCAP_ALL 
= _misc_
.MAILCAP_ALL
 
2385 class FileTypeInfo(object): 
2386     """Proxy of C++ FileTypeInfo class""" 
2387     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2388     __repr__ 
= _swig_repr
 
2389     def __init__(self
, *args
, **kwargs
):  
2390         """__init__(self, String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo""" 
2391         _misc_
.FileTypeInfo_swiginit(self
,_misc_
.new_FileTypeInfo(*args
, **kwargs
)) 
2392     def IsValid(*args
, **kwargs
): 
2393         """IsValid(self) -> bool""" 
2394         return _misc_
.FileTypeInfo_IsValid(*args
, **kwargs
) 
2396     def SetIcon(*args
, **kwargs
): 
2397         """SetIcon(self, String iconFile, int iconIndex=0)""" 
2398         return _misc_
.FileTypeInfo_SetIcon(*args
, **kwargs
) 
2400     def SetShortDesc(*args
, **kwargs
): 
2401         """SetShortDesc(self, String shortDesc)""" 
2402         return _misc_
.FileTypeInfo_SetShortDesc(*args
, **kwargs
) 
2404     def GetMimeType(*args
, **kwargs
): 
2405         """GetMimeType(self) -> String""" 
2406         return _misc_
.FileTypeInfo_GetMimeType(*args
, **kwargs
) 
2408     def GetOpenCommand(*args
, **kwargs
): 
2409         """GetOpenCommand(self) -> String""" 
2410         return _misc_
.FileTypeInfo_GetOpenCommand(*args
, **kwargs
) 
2412     def GetPrintCommand(*args
, **kwargs
): 
2413         """GetPrintCommand(self) -> String""" 
2414         return _misc_
.FileTypeInfo_GetPrintCommand(*args
, **kwargs
) 
2416     def GetShortDesc(*args
, **kwargs
): 
2417         """GetShortDesc(self) -> String""" 
2418         return _misc_
.FileTypeInfo_GetShortDesc(*args
, **kwargs
) 
2420     def GetDescription(*args
, **kwargs
): 
2421         """GetDescription(self) -> String""" 
2422         return _misc_
.FileTypeInfo_GetDescription(*args
, **kwargs
) 
2424     def GetExtensions(*args
, **kwargs
): 
2425         """GetExtensions(self) -> wxArrayString""" 
2426         return _misc_
.FileTypeInfo_GetExtensions(*args
, **kwargs
) 
2428     def GetExtensionsCount(*args
, **kwargs
): 
2429         """GetExtensionsCount(self) -> size_t""" 
2430         return _misc_
.FileTypeInfo_GetExtensionsCount(*args
, **kwargs
) 
2432     def GetIconFile(*args
, **kwargs
): 
2433         """GetIconFile(self) -> String""" 
2434         return _misc_
.FileTypeInfo_GetIconFile(*args
, **kwargs
) 
2436     def GetIconIndex(*args
, **kwargs
): 
2437         """GetIconIndex(self) -> int""" 
2438         return _misc_
.FileTypeInfo_GetIconIndex(*args
, **kwargs
) 
2440     Description 
= property(GetDescription
,doc
="See `GetDescription`")  
2441     Extensions 
= property(GetExtensions
,doc
="See `GetExtensions`")  
2442     ExtensionsCount 
= property(GetExtensionsCount
,doc
="See `GetExtensionsCount`")  
2443     IconFile 
= property(GetIconFile
,doc
="See `GetIconFile`")  
2444     IconIndex 
= property(GetIconIndex
,doc
="See `GetIconIndex`")  
2445     MimeType 
= property(GetMimeType
,doc
="See `GetMimeType`")  
2446     OpenCommand 
= property(GetOpenCommand
,doc
="See `GetOpenCommand`")  
2447     PrintCommand 
= property(GetPrintCommand
,doc
="See `GetPrintCommand`")  
2448     ShortDesc 
= property(GetShortDesc
,SetShortDesc
,doc
="See `GetShortDesc` and `SetShortDesc`")  
2449 _misc_
.FileTypeInfo_swigregister(FileTypeInfo
) 
2451 def FileTypeInfoSequence(*args
, **kwargs
): 
2452     """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo""" 
2453     val 
= _misc_
.new_FileTypeInfoSequence(*args
, **kwargs
) 
2456 def NullFileTypeInfo(*args
, **kwargs
): 
2457     """NullFileTypeInfo() -> FileTypeInfo""" 
2458     val 
= _misc_
.new_NullFileTypeInfo(*args
, **kwargs
) 
2461 class FileType(object): 
2462     """Proxy of C++ FileType class""" 
2463     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2464     __repr__ 
= _swig_repr
 
2465     def __init__(self
, *args
, **kwargs
):  
2466         """__init__(self, FileTypeInfo ftInfo) -> FileType""" 
2467         _misc_
.FileType_swiginit(self
,_misc_
.new_FileType(*args
, **kwargs
)) 
2468     __swig_destroy__ 
= _misc_
.delete_FileType
 
2469     __del__ 
= lambda self 
: None; 
2470     def GetMimeType(*args
, **kwargs
): 
2471         """GetMimeType(self) -> PyObject""" 
2472         return _misc_
.FileType_GetMimeType(*args
, **kwargs
) 
2474     def GetMimeTypes(*args
, **kwargs
): 
2475         """GetMimeTypes(self) -> PyObject""" 
2476         return _misc_
.FileType_GetMimeTypes(*args
, **kwargs
) 
2478     def GetExtensions(*args
, **kwargs
): 
2479         """GetExtensions(self) -> PyObject""" 
2480         return _misc_
.FileType_GetExtensions(*args
, **kwargs
) 
2482     def GetIcon(*args
, **kwargs
): 
2483         """GetIcon(self) -> Icon""" 
2484         return _misc_
.FileType_GetIcon(*args
, **kwargs
) 
2486     def GetIconInfo(*args
, **kwargs
): 
2487         """GetIconInfo(self) -> PyObject""" 
2488         return _misc_
.FileType_GetIconInfo(*args
, **kwargs
) 
2490     def GetDescription(*args
, **kwargs
): 
2491         """GetDescription(self) -> PyObject""" 
2492         return _misc_
.FileType_GetDescription(*args
, **kwargs
) 
2494     def GetOpenCommand(*args
, **kwargs
): 
2495         """GetOpenCommand(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2496         return _misc_
.FileType_GetOpenCommand(*args
, **kwargs
) 
2498     def GetPrintCommand(*args
, **kwargs
): 
2499         """GetPrintCommand(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2500         return _misc_
.FileType_GetPrintCommand(*args
, **kwargs
) 
2502     def GetAllCommands(*args
, **kwargs
): 
2503         """GetAllCommands(self, String filename, String mimetype=EmptyString) -> PyObject""" 
2504         return _misc_
.FileType_GetAllCommands(*args
, **kwargs
) 
2506     def SetCommand(*args
, **kwargs
): 
2507         """SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -> bool""" 
2508         return _misc_
.FileType_SetCommand(*args
, **kwargs
) 
2510     def SetDefaultIcon(*args
, **kwargs
): 
2511         """SetDefaultIcon(self, String cmd=EmptyString, int index=0) -> bool""" 
2512         return _misc_
.FileType_SetDefaultIcon(*args
, **kwargs
) 
2514     def Unassociate(*args
, **kwargs
): 
2515         """Unassociate(self) -> bool""" 
2516         return _misc_
.FileType_Unassociate(*args
, **kwargs
) 
2518     def ExpandCommand(*args
, **kwargs
): 
2519         """ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" 
2520         return _misc_
.FileType_ExpandCommand(*args
, **kwargs
) 
2522     ExpandCommand 
= staticmethod(ExpandCommand
) 
2523     AllCommands 
= property(GetAllCommands
,doc
="See `GetAllCommands`")  
2524     Description 
= property(GetDescription
,doc
="See `GetDescription`")  
2525     Extensions 
= property(GetExtensions
,doc
="See `GetExtensions`")  
2526     Icon 
= property(GetIcon
,doc
="See `GetIcon`")  
2527     IconInfo 
= property(GetIconInfo
,doc
="See `GetIconInfo`")  
2528     MimeType 
= property(GetMimeType
,doc
="See `GetMimeType`")  
2529     MimeTypes 
= property(GetMimeTypes
,doc
="See `GetMimeTypes`")  
2530     OpenCommand 
= property(GetOpenCommand
,doc
="See `GetOpenCommand`")  
2531     PrintCommand 
= property(GetPrintCommand
,doc
="See `GetPrintCommand`")  
2532 _misc_
.FileType_swigregister(FileType
) 
2534 def FileType_ExpandCommand(*args
, **kwargs
): 
2535   """FileType_ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String""" 
2536   return _misc_
.FileType_ExpandCommand(*args
, **kwargs
) 
2538 class MimeTypesManager(object): 
2539     """Proxy of C++ MimeTypesManager class""" 
2540     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2541     __repr__ 
= _swig_repr
 
2542     def IsOfType(*args
, **kwargs
): 
2543         """IsOfType(String mimeType, String wildcard) -> bool""" 
2544         return _misc_
.MimeTypesManager_IsOfType(*args
, **kwargs
) 
2546     IsOfType 
= staticmethod(IsOfType
) 
2547     def __init__(self
, *args
, **kwargs
):  
2548         """__init__(self) -> MimeTypesManager""" 
2549         _misc_
.MimeTypesManager_swiginit(self
,_misc_
.new_MimeTypesManager(*args
, **kwargs
)) 
2550     def Initialize(*args
, **kwargs
): 
2551         """Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)""" 
2552         return _misc_
.MimeTypesManager_Initialize(*args
, **kwargs
) 
2554     def ClearData(*args
, **kwargs
): 
2555         """ClearData(self)""" 
2556         return _misc_
.MimeTypesManager_ClearData(*args
, **kwargs
) 
2558     def GetFileTypeFromExtension(*args
, **kwargs
): 
2559         """GetFileTypeFromExtension(self, String ext) -> FileType""" 
2560         return _misc_
.MimeTypesManager_GetFileTypeFromExtension(*args
, **kwargs
) 
2562     def GetFileTypeFromMimeType(*args
, **kwargs
): 
2563         """GetFileTypeFromMimeType(self, String mimeType) -> FileType""" 
2564         return _misc_
.MimeTypesManager_GetFileTypeFromMimeType(*args
, **kwargs
) 
2566     def ReadMailcap(*args
, **kwargs
): 
2567         """ReadMailcap(self, String filename, bool fallback=False) -> bool""" 
2568         return _misc_
.MimeTypesManager_ReadMailcap(*args
, **kwargs
) 
2570     def ReadMimeTypes(*args
, **kwargs
): 
2571         """ReadMimeTypes(self, String filename) -> bool""" 
2572         return _misc_
.MimeTypesManager_ReadMimeTypes(*args
, **kwargs
) 
2574     def EnumAllFileTypes(*args
, **kwargs
): 
2575         """EnumAllFileTypes(self) -> PyObject""" 
2576         return _misc_
.MimeTypesManager_EnumAllFileTypes(*args
, **kwargs
) 
2578     def AddFallback(*args
, **kwargs
): 
2579         """AddFallback(self, FileTypeInfo ft)""" 
2580         return _misc_
.MimeTypesManager_AddFallback(*args
, **kwargs
) 
2582     def Associate(*args
, **kwargs
): 
2583         """Associate(self, FileTypeInfo ftInfo) -> FileType""" 
2584         return _misc_
.MimeTypesManager_Associate(*args
, **kwargs
) 
2586     def Unassociate(*args
, **kwargs
): 
2587         """Unassociate(self, FileType ft) -> bool""" 
2588         return _misc_
.MimeTypesManager_Unassociate(*args
, **kwargs
) 
2590     __swig_destroy__ 
= _misc_
.delete_MimeTypesManager
 
2591     __del__ 
= lambda self 
: None; 
2592 _misc_
.MimeTypesManager_swigregister(MimeTypesManager
) 
2593 TheMimeTypesManager 
= cvar
.TheMimeTypesManager
 
2595 def MimeTypesManager_IsOfType(*args
, **kwargs
): 
2596   """MimeTypesManager_IsOfType(String mimeType, String wildcard) -> bool""" 
2597   return _misc_
.MimeTypesManager_IsOfType(*args
, **kwargs
) 
2599 #--------------------------------------------------------------------------- 
2601 class ArtProvider(object): 
2603     The wx.ArtProvider class is used to customize the look of wxWidgets 
2604     application. When wxWidgets needs to display an icon or a bitmap (e.g. 
2605     in the standard file dialog), it does not use hard-coded resource but 
2606     asks wx.ArtProvider for it instead. This way the users can plug in 
2607     their own wx.ArtProvider class and easily replace standard art with 
2608     his/her own version. It is easy thing to do: all that is needed is 
2609     to derive a class from wx.ArtProvider, override it's CreateBitmap 
2610     method and register the provider with `wx.ArtProvider.Push`:: 
2612         class MyArtProvider(wx.ArtProvider): 
2614                 wx.ArtProvider.__init__(self) 
2616             def CreateBitmap(self, artid, client, size): 
2621     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2622     __repr__ 
= _swig_repr
 
2623     def __init__(self
, *args
, **kwargs
):  
2625         __init__(self) -> ArtProvider 
2627         The wx.ArtProvider class is used to customize the look of wxWidgets 
2628         application. When wxWidgets needs to display an icon or a bitmap (e.g. 
2629         in the standard file dialog), it does not use hard-coded resource but 
2630         asks wx.ArtProvider for it instead. This way the users can plug in 
2631         their own wx.ArtProvider class and easily replace standard art with 
2632         his/her own version. It is easy thing to do: all that is needed is 
2633         to derive a class from wx.ArtProvider, override it's CreateBitmap 
2634         method and register the provider with `wx.ArtProvider.Push`:: 
2636             class MyArtProvider(wx.ArtProvider): 
2638                     wx.ArtProvider.__init__(self) 
2640                 def CreateBitmap(self, artid, client, size): 
2645         _misc_
.ArtProvider_swiginit(self
,_misc_
.new_ArtProvider(*args
, **kwargs
)) 
2646         ArtProvider
._setCallbackInfo
(self
, self
, ArtProvider
) 
2648     __swig_destroy__ 
= _misc_
.delete_ArtProvider
 
2649     __del__ 
= lambda self 
: None; 
2650     def _setCallbackInfo(*args
, **kwargs
): 
2651         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
2652         return _misc_
.ArtProvider__setCallbackInfo(*args
, **kwargs
) 
2654     def Push(*args
, **kwargs
): 
2656         Push(ArtProvider provider) 
2658         Add new provider to the top of providers stack. 
2660         return _misc_
.ArtProvider_Push(*args
, **kwargs
) 
2662     Push 
= staticmethod(Push
) 
2664     def Insert(*args
, **kwargs
): 
2666         Insert(ArtProvider provider) 
2668         Add new provider to the bottom of providers stack. 
2670         return _misc_
.ArtProvider_Insert(*args
, **kwargs
) 
2672     Insert 
= staticmethod(Insert
) 
2673     InsertProvider 
= Insert 
 
2674     def Pop(*args
, **kwargs
): 
2678         Remove latest added provider and delete it. 
2680         return _misc_
.ArtProvider_Pop(*args
, **kwargs
) 
2682     Pop 
= staticmethod(Pop
) 
2684     def Delete(*args
, **kwargs
): 
2686         Delete(ArtProvider provider) -> bool 
2688         Remove provider. The provider must have been added previously!  The 
2689         provider is _not_ deleted. 
2691         val 
= _misc_
.ArtProvider_Delete(*args
, **kwargs
) 
2695     Delete 
= staticmethod(Delete
) 
2696     RemoveProvider 
= Delete 
 
2697     def GetBitmap(*args
, **kwargs
): 
2699         GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap 
2701         Query the providers for bitmap with given ID and return it. Return 
2702         wx.NullBitmap if no provider provides it. 
2704         return _misc_
.ArtProvider_GetBitmap(*args
, **kwargs
) 
2706     GetBitmap 
= staticmethod(GetBitmap
) 
2707     def GetIcon(*args
, **kwargs
): 
2709         GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon 
2711         Query the providers for icon with given ID and return it.  Return 
2712         wx.NullIcon if no provider provides it. 
2714         return _misc_
.ArtProvider_GetIcon(*args
, **kwargs
) 
2716     GetIcon 
= staticmethod(GetIcon
) 
2717     def GetIconBundle(*args
, **kwargs
): 
2719         GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle 
2721         Query the providers for iconbundle with given ID and return it. Return 
2722         wx.NullIconBundle if no provider provides it. 
2724         return _misc_
.ArtProvider_GetIconBundle(*args
, **kwargs
) 
2726     GetIconBundle 
= staticmethod(GetIconBundle
) 
2727     def GetSizeHint(*args
, **kwargs
): 
2729         GetSizeHint(String client, bool platform_dependent=False) -> Size 
2731         Get the size hint of an icon from a specific Art Client, queries the 
2732         topmost provider if platform_dependent = false 
2734         return _misc_
.ArtProvider_GetSizeHint(*args
, **kwargs
) 
2736     GetSizeHint 
= staticmethod(GetSizeHint
) 
2737     def Destroy(*args
, **kwargs
): 
2739         args
[0].this
.own(False) 
2740         return _misc_
.ArtProvider_Destroy(*args
, **kwargs
) 
2742 _misc_
.ArtProvider_swigregister(ArtProvider
) 
2743 ART_TOOLBAR 
= cvar
.ART_TOOLBAR
 
2744 ART_MENU 
= cvar
.ART_MENU
 
2745 ART_FRAME_ICON 
= cvar
.ART_FRAME_ICON
 
2746 ART_CMN_DIALOG 
= cvar
.ART_CMN_DIALOG
 
2747 ART_HELP_BROWSER 
= cvar
.ART_HELP_BROWSER
 
2748 ART_MESSAGE_BOX 
= cvar
.ART_MESSAGE_BOX
 
2749 ART_BUTTON 
= cvar
.ART_BUTTON
 
2750 ART_LIST 
= cvar
.ART_LIST
 
2751 ART_OTHER 
= cvar
.ART_OTHER
 
2752 ART_ADD_BOOKMARK 
= cvar
.ART_ADD_BOOKMARK
 
2753 ART_DEL_BOOKMARK 
= cvar
.ART_DEL_BOOKMARK
 
2754 ART_HELP_SIDE_PANEL 
= cvar
.ART_HELP_SIDE_PANEL
 
2755 ART_HELP_SETTINGS 
= cvar
.ART_HELP_SETTINGS
 
2756 ART_HELP_BOOK 
= cvar
.ART_HELP_BOOK
 
2757 ART_HELP_FOLDER 
= cvar
.ART_HELP_FOLDER
 
2758 ART_HELP_PAGE 
= cvar
.ART_HELP_PAGE
 
2759 ART_GO_BACK 
= cvar
.ART_GO_BACK
 
2760 ART_GO_FORWARD 
= cvar
.ART_GO_FORWARD
 
2761 ART_GO_UP 
= cvar
.ART_GO_UP
 
2762 ART_GO_DOWN 
= cvar
.ART_GO_DOWN
 
2763 ART_GO_TO_PARENT 
= cvar
.ART_GO_TO_PARENT
 
2764 ART_GO_HOME 
= cvar
.ART_GO_HOME
 
2765 ART_FILE_OPEN 
= cvar
.ART_FILE_OPEN
 
2766 ART_FILE_SAVE 
= cvar
.ART_FILE_SAVE
 
2767 ART_FILE_SAVE_AS 
= cvar
.ART_FILE_SAVE_AS
 
2768 ART_PRINT 
= cvar
.ART_PRINT
 
2769 ART_HELP 
= cvar
.ART_HELP
 
2770 ART_TIP 
= cvar
.ART_TIP
 
2771 ART_REPORT_VIEW 
= cvar
.ART_REPORT_VIEW
 
2772 ART_LIST_VIEW 
= cvar
.ART_LIST_VIEW
 
2773 ART_NEW_DIR 
= cvar
.ART_NEW_DIR
 
2774 ART_HARDDISK 
= cvar
.ART_HARDDISK
 
2775 ART_FLOPPY 
= cvar
.ART_FLOPPY
 
2776 ART_CDROM 
= cvar
.ART_CDROM
 
2777 ART_REMOVABLE 
= cvar
.ART_REMOVABLE
 
2778 ART_FOLDER 
= cvar
.ART_FOLDER
 
2779 ART_FOLDER_OPEN 
= cvar
.ART_FOLDER_OPEN
 
2780 ART_GO_DIR_UP 
= cvar
.ART_GO_DIR_UP
 
2781 ART_EXECUTABLE_FILE 
= cvar
.ART_EXECUTABLE_FILE
 
2782 ART_NORMAL_FILE 
= cvar
.ART_NORMAL_FILE
 
2783 ART_TICK_MARK 
= cvar
.ART_TICK_MARK
 
2784 ART_CROSS_MARK 
= cvar
.ART_CROSS_MARK
 
2785 ART_ERROR 
= cvar
.ART_ERROR
 
2786 ART_QUESTION 
= cvar
.ART_QUESTION
 
2787 ART_WARNING 
= cvar
.ART_WARNING
 
2788 ART_INFORMATION 
= cvar
.ART_INFORMATION
 
2789 ART_MISSING_IMAGE 
= cvar
.ART_MISSING_IMAGE
 
2790 ART_COPY 
= cvar
.ART_COPY
 
2791 ART_CUT 
= cvar
.ART_CUT
 
2792 ART_PASTE 
= cvar
.ART_PASTE
 
2793 ART_DELETE 
= cvar
.ART_DELETE
 
2794 ART_NEW 
= cvar
.ART_NEW
 
2795 ART_UNDO 
= cvar
.ART_UNDO
 
2796 ART_REDO 
= cvar
.ART_REDO
 
2797 ART_QUIT 
= cvar
.ART_QUIT
 
2798 ART_FIND 
= cvar
.ART_FIND
 
2799 ART_FIND_AND_REPLACE 
= cvar
.ART_FIND_AND_REPLACE
 
2801 def ArtProvider_Push(*args
, **kwargs
): 
2803     ArtProvider_Push(ArtProvider provider) 
2805     Add new provider to the top of providers stack. 
2807   return _misc_
.ArtProvider_Push(*args
, **kwargs
) 
2809 def ArtProvider_Insert(*args
, **kwargs
): 
2811     ArtProvider_Insert(ArtProvider provider) 
2813     Add new provider to the bottom of providers stack. 
2815   return _misc_
.ArtProvider_Insert(*args
, **kwargs
) 
2817 def ArtProvider_Pop(*args
): 
2819     ArtProvider_Pop() -> bool 
2821     Remove latest added provider and delete it. 
2823   return _misc_
.ArtProvider_Pop(*args
) 
2825 def ArtProvider_Delete(*args
, **kwargs
): 
2827     ArtProvider_Delete(ArtProvider provider) -> bool 
2829     Remove provider. The provider must have been added previously!  The 
2830     provider is _not_ deleted. 
2832   val 
= _misc_
.ArtProvider_Delete(*args
, **kwargs
) 
2836 def ArtProvider_GetBitmap(*args
, **kwargs
): 
2838     ArtProvider_GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap 
2840     Query the providers for bitmap with given ID and return it. Return 
2841     wx.NullBitmap if no provider provides it. 
2843   return _misc_
.ArtProvider_GetBitmap(*args
, **kwargs
) 
2845 def ArtProvider_GetIcon(*args
, **kwargs
): 
2847     ArtProvider_GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon 
2849     Query the providers for icon with given ID and return it.  Return 
2850     wx.NullIcon if no provider provides it. 
2852   return _misc_
.ArtProvider_GetIcon(*args
, **kwargs
) 
2854 def ArtProvider_GetIconBundle(*args
, **kwargs
): 
2856     ArtProvider_GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle 
2858     Query the providers for iconbundle with given ID and return it. Return 
2859     wx.NullIconBundle if no provider provides it. 
2861   return _misc_
.ArtProvider_GetIconBundle(*args
, **kwargs
) 
2863 def ArtProvider_GetSizeHint(*args
, **kwargs
): 
2865     ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size 
2867     Get the size hint of an icon from a specific Art Client, queries the 
2868     topmost provider if platform_dependent = false 
2870   return _misc_
.ArtProvider_GetSizeHint(*args
, **kwargs
) 
2872 #--------------------------------------------------------------------------- 
2874 CONFIG_USE_LOCAL_FILE 
= _misc_
.CONFIG_USE_LOCAL_FILE
 
2875 CONFIG_USE_GLOBAL_FILE 
= _misc_
.CONFIG_USE_GLOBAL_FILE
 
2876 CONFIG_USE_RELATIVE_PATH 
= _misc_
.CONFIG_USE_RELATIVE_PATH
 
2877 CONFIG_USE_NO_ESCAPE_CHARACTERS 
= _misc_
.CONFIG_USE_NO_ESCAPE_CHARACTERS
 
2878 class ConfigBase(object): 
2880     wx.ConfigBase class defines the basic interface of all config 
2881     classes. It can not be used by itself (it is an abstract base class) 
2882     and you will always use one of its derivations: wx.Config or 
2885     wx.ConfigBase organizes the items in a tree-like structure, modeled 
2886     after the Unix/Dos filesystem. There are groups that act like 
2887     directories and entries, key/value pairs that act like files.  There 
2888     is always one current group given by the current path.  As in the file 
2889     system case, to specify a key in the config class you must use a path 
2890     to it.  Config classes also support the notion of the current group, 
2891     which makes it possible to use relative paths. 
2893     Keys are pairs "key_name = value" where value may be of string, 
2894     integer floating point or boolean, you can not store binary data 
2895     without first encoding it as a string.  For performance reasons items 
2896     should be kept small, no more than a couple kilobytes. 
2899     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2900     def __init__(self
): raise AttributeError, "No constructor defined" 
2901     __repr__ 
= _swig_repr
 
2902     __swig_destroy__ 
= _misc_
.delete_ConfigBase
 
2903     __del__ 
= lambda self 
: None; 
2904     Type_Unknown 
= _misc_
.ConfigBase_Type_Unknown
 
2905     Type_String 
= _misc_
.ConfigBase_Type_String
 
2906     Type_Boolean 
= _misc_
.ConfigBase_Type_Boolean
 
2907     Type_Integer 
= _misc_
.ConfigBase_Type_Integer
 
2908     Type_Float 
= _misc_
.ConfigBase_Type_Float
 
2909     def Set(*args
, **kwargs
): 
2911         Set(ConfigBase config) -> ConfigBase 
2913         Sets the global config object (the one returned by Get) and returns a 
2914         reference to the previous global config object. 
2916         return _misc_
.ConfigBase_Set(*args
, **kwargs
) 
2918     Set 
= staticmethod(Set
) 
2919     def Get(*args
, **kwargs
): 
2921         Get(bool createOnDemand=True) -> ConfigBase 
2923         Returns the current global config object, creating one if neccessary. 
2925         return _misc_
.ConfigBase_Get(*args
, **kwargs
) 
2927     Get 
= staticmethod(Get
) 
2928     def Create(*args
, **kwargs
): 
2930         Create() -> ConfigBase 
2932         Create and return a new global config object.  This function will 
2933         create the "best" implementation of wx.Config available for the 
2936         return _misc_
.ConfigBase_Create(*args
, **kwargs
) 
2938     Create 
= staticmethod(Create
) 
2939     def DontCreateOnDemand(*args
, **kwargs
): 
2941         DontCreateOnDemand() 
2943         Should Get() try to create a new log object if there isn't a current 
2946         return _misc_
.ConfigBase_DontCreateOnDemand(*args
, **kwargs
) 
2948     DontCreateOnDemand 
= staticmethod(DontCreateOnDemand
) 
2949     def SetPath(*args
, **kwargs
): 
2951         SetPath(self, String path) 
2953         Set current path: if the first character is '/', it's the absolute 
2954         path, otherwise it's a relative path. '..' is supported. If the 
2955         strPath doesn't exist it is created. 
2957         return _misc_
.ConfigBase_SetPath(*args
, **kwargs
) 
2959     def GetPath(*args
, **kwargs
): 
2961         GetPath(self) -> String 
2963         Retrieve the current path (always as absolute path) 
2965         return _misc_
.ConfigBase_GetPath(*args
, **kwargs
) 
2967     def GetFirstGroup(*args
, **kwargs
): 
2969         GetFirstGroup() -> (more, value, index) 
2971         Allows enumerating the subgroups in a config object.  Returns a tuple 
2972         containing a flag indicating there are more items, the name of the 
2973         current item, and an index to pass to GetNextGroup to fetch the next 
2976         return _misc_
.ConfigBase_GetFirstGroup(*args
, **kwargs
) 
2978     def GetNextGroup(*args
, **kwargs
): 
2980         GetNextGroup(long index) -> (more, value, index) 
2982         Allows enumerating the subgroups in a config object.  Returns a tuple 
2983         containing a flag indicating there are more items, the name of the 
2984         current item, and an index to pass to GetNextGroup to fetch the next 
2987         return _misc_
.ConfigBase_GetNextGroup(*args
, **kwargs
) 
2989     def GetFirstEntry(*args
, **kwargs
): 
2991         GetFirstEntry() -> (more, value, index) 
2993         Allows enumerating the entries in the current group in a config 
2994         object.  Returns a tuple containing a flag indicating there are more 
2995         items, the name of the current item, and an index to pass to 
2996         GetNextGroup to fetch the next item. 
2998         return _misc_
.ConfigBase_GetFirstEntry(*args
, **kwargs
) 
3000     def GetNextEntry(*args
, **kwargs
): 
3002         GetNextEntry(long index) -> (more, value, index) 
3004         Allows enumerating the entries in the current group in a config 
3005         object.  Returns a tuple containing a flag indicating there are more 
3006         items, the name of the current item, and an index to pass to 
3007         GetNextGroup to fetch the next item. 
3009         return _misc_
.ConfigBase_GetNextEntry(*args
, **kwargs
) 
3011     def GetNumberOfEntries(*args
, **kwargs
): 
3013         GetNumberOfEntries(self, bool recursive=False) -> size_t 
3015         Get the number of entries in the current group, with or without its 
3018         return _misc_
.ConfigBase_GetNumberOfEntries(*args
, **kwargs
) 
3020     def GetNumberOfGroups(*args
, **kwargs
): 
3022         GetNumberOfGroups(self, bool recursive=False) -> size_t 
3024         Get the number of subgroups in the current group, with or without its 
3027         return _misc_
.ConfigBase_GetNumberOfGroups(*args
, **kwargs
) 
3029     def HasGroup(*args
, **kwargs
): 
3031         HasGroup(self, String name) -> bool 
3033         Returns True if the group by this name exists 
3035         return _misc_
.ConfigBase_HasGroup(*args
, **kwargs
) 
3037     def HasEntry(*args
, **kwargs
): 
3039         HasEntry(self, String name) -> bool 
3041         Returns True if the entry by this name exists 
3043         return _misc_
.ConfigBase_HasEntry(*args
, **kwargs
) 
3045     def Exists(*args
, **kwargs
): 
3047         Exists(self, String name) -> bool 
3049         Returns True if either a group or an entry with a given name exists 
3051         return _misc_
.ConfigBase_Exists(*args
, **kwargs
) 
3053     def GetEntryType(*args
, **kwargs
): 
3055         GetEntryType(self, String name) -> int 
3057         Get the type of the entry.  Returns one of the wx.Config.Type_XXX values. 
3059         return _misc_
.ConfigBase_GetEntryType(*args
, **kwargs
) 
3061     def Read(*args
, **kwargs
): 
3063         Read(self, String key, String defaultVal=EmptyString) -> String 
3065         Returns the value of key if it exists, defaultVal otherwise. 
3067         return _misc_
.ConfigBase_Read(*args
, **kwargs
) 
3069     def ReadInt(*args
, **kwargs
): 
3071         ReadInt(self, String key, long defaultVal=0) -> long 
3073         Returns the value of key if it exists, defaultVal otherwise. 
3075         return _misc_
.ConfigBase_ReadInt(*args
, **kwargs
) 
3077     def ReadFloat(*args
, **kwargs
): 
3079         ReadFloat(self, String key, double defaultVal=0.0) -> double 
3081         Returns the value of key if it exists, defaultVal otherwise. 
3083         return _misc_
.ConfigBase_ReadFloat(*args
, **kwargs
) 
3085     def ReadBool(*args
, **kwargs
): 
3087         ReadBool(self, String key, bool defaultVal=False) -> bool 
3089         Returns the value of key if it exists, defaultVal otherwise. 
3091         return _misc_
.ConfigBase_ReadBool(*args
, **kwargs
) 
3093     def Write(*args
, **kwargs
): 
3095         Write(self, String key, String value) -> bool 
3097         write the value (return True on success) 
3099         return _misc_
.ConfigBase_Write(*args
, **kwargs
) 
3101     def WriteInt(*args
, **kwargs
): 
3103         WriteInt(self, String key, long value) -> bool 
3105         write the value (return True on success) 
3107         return _misc_
.ConfigBase_WriteInt(*args
, **kwargs
) 
3109     def WriteFloat(*args
, **kwargs
): 
3111         WriteFloat(self, String key, double value) -> bool 
3113         write the value (return True on success) 
3115         return _misc_
.ConfigBase_WriteFloat(*args
, **kwargs
) 
3117     def WriteBool(*args
, **kwargs
): 
3119         WriteBool(self, String key, bool value) -> bool 
3121         write the value (return True on success) 
3123         return _misc_
.ConfigBase_WriteBool(*args
, **kwargs
) 
3125     def Flush(*args
, **kwargs
): 
3127         Flush(self, bool currentOnly=False) -> bool 
3129         permanently writes all changes 
3131         return _misc_
.ConfigBase_Flush(*args
, **kwargs
) 
3133     def RenameEntry(*args
, **kwargs
): 
3135         RenameEntry(self, String oldName, String newName) -> bool 
3137         Rename an entry.  Returns False on failure (probably because the new 
3138         name is already taken by an existing entry) 
3140         return _misc_
.ConfigBase_RenameEntry(*args
, **kwargs
) 
3142     def RenameGroup(*args
, **kwargs
): 
3144         RenameGroup(self, String oldName, String newName) -> bool 
3146         Rename a group.  Returns False on failure (probably because the new 
3147         name is already taken by an existing entry) 
3149         return _misc_
.ConfigBase_RenameGroup(*args
, **kwargs
) 
3151     def DeleteEntry(*args
, **kwargs
): 
3153         DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -> bool 
3155         Deletes the specified entry and the group it belongs to if it was the 
3156         last key in it and the second parameter is True 
3158         return _misc_
.ConfigBase_DeleteEntry(*args
, **kwargs
) 
3160     def DeleteGroup(*args
, **kwargs
): 
3162         DeleteGroup(self, String key) -> bool 
3164         Delete the group (with all subgroups) 
3166         return _misc_
.ConfigBase_DeleteGroup(*args
, **kwargs
) 
3168     def DeleteAll(*args
, **kwargs
): 
3170         DeleteAll(self) -> bool 
3172         Delete the whole underlying object (disk file, registry key, ...) 
3173         primarly intended for use by deinstallation routine. 
3175         return _misc_
.ConfigBase_DeleteAll(*args
, **kwargs
) 
3177     def SetExpandEnvVars(*args
, **kwargs
): 
3179         SetExpandEnvVars(self, bool doIt=True) 
3181         We can automatically expand environment variables in the config 
3182         entries this option is on by default, you can turn it on/off at any 
3185         return _misc_
.ConfigBase_SetExpandEnvVars(*args
, **kwargs
) 
3187     def IsExpandingEnvVars(*args
, **kwargs
): 
3189         IsExpandingEnvVars(self) -> bool 
3191         Are we currently expanding environment variables? 
3193         return _misc_
.ConfigBase_IsExpandingEnvVars(*args
, **kwargs
) 
3195     def SetRecordDefaults(*args
, **kwargs
): 
3197         SetRecordDefaults(self, bool doIt=True) 
3199         Set whether the config objec should record default values. 
3201         return _misc_
.ConfigBase_SetRecordDefaults(*args
, **kwargs
) 
3203     def IsRecordingDefaults(*args
, **kwargs
): 
3205         IsRecordingDefaults(self) -> bool 
3207         Are we currently recording default values? 
3209         return _misc_
.ConfigBase_IsRecordingDefaults(*args
, **kwargs
) 
3211     def ExpandEnvVars(*args
, **kwargs
): 
3213         ExpandEnvVars(self, String str) -> String 
3215         Expand any environment variables in str and return the result 
3217         return _misc_
.ConfigBase_ExpandEnvVars(*args
, **kwargs
) 
3219     def GetAppName(*args
, **kwargs
): 
3220         """GetAppName(self) -> String""" 
3221         return _misc_
.ConfigBase_GetAppName(*args
, **kwargs
) 
3223     def GetVendorName(*args
, **kwargs
): 
3224         """GetVendorName(self) -> String""" 
3225         return _misc_
.ConfigBase_GetVendorName(*args
, **kwargs
) 
3227     def SetAppName(*args
, **kwargs
): 
3228         """SetAppName(self, String appName)""" 
3229         return _misc_
.ConfigBase_SetAppName(*args
, **kwargs
) 
3231     def SetVendorName(*args
, **kwargs
): 
3232         """SetVendorName(self, String vendorName)""" 
3233         return _misc_
.ConfigBase_SetVendorName(*args
, **kwargs
) 
3235     def SetStyle(*args
, **kwargs
): 
3236         """SetStyle(self, long style)""" 
3237         return _misc_
.ConfigBase_SetStyle(*args
, **kwargs
) 
3239     def GetStyle(*args
, **kwargs
): 
3240         """GetStyle(self) -> long""" 
3241         return _misc_
.ConfigBase_GetStyle(*args
, **kwargs
) 
3243     AppName 
= property(GetAppName
,SetAppName
,doc
="See `GetAppName` and `SetAppName`")  
3244     EntryType 
= property(GetEntryType
,doc
="See `GetEntryType`")  
3245     FirstEntry 
= property(GetFirstEntry
,doc
="See `GetFirstEntry`")  
3246     FirstGroup 
= property(GetFirstGroup
,doc
="See `GetFirstGroup`")  
3247     NextEntry 
= property(GetNextEntry
,doc
="See `GetNextEntry`")  
3248     NextGroup 
= property(GetNextGroup
,doc
="See `GetNextGroup`")  
3249     NumberOfEntries 
= property(GetNumberOfEntries
,doc
="See `GetNumberOfEntries`")  
3250     NumberOfGroups 
= property(GetNumberOfGroups
,doc
="See `GetNumberOfGroups`")  
3251     Path 
= property(GetPath
,SetPath
,doc
="See `GetPath` and `SetPath`")  
3252     Style 
= property(GetStyle
,SetStyle
,doc
="See `GetStyle` and `SetStyle`")  
3253     VendorName 
= property(GetVendorName
,SetVendorName
,doc
="See `GetVendorName` and `SetVendorName`")  
3254 _misc_
.ConfigBase_swigregister(ConfigBase
) 
3256 def ConfigBase_Set(*args
, **kwargs
): 
3258     ConfigBase_Set(ConfigBase config) -> ConfigBase 
3260     Sets the global config object (the one returned by Get) and returns a 
3261     reference to the previous global config object. 
3263   return _misc_
.ConfigBase_Set(*args
, **kwargs
) 
3265 def ConfigBase_Get(*args
, **kwargs
): 
3267     ConfigBase_Get(bool createOnDemand=True) -> ConfigBase 
3269     Returns the current global config object, creating one if neccessary. 
3271   return _misc_
.ConfigBase_Get(*args
, **kwargs
) 
3273 def ConfigBase_Create(*args
): 
3275     ConfigBase_Create() -> ConfigBase 
3277     Create and return a new global config object.  This function will 
3278     create the "best" implementation of wx.Config available for the 
3281   return _misc_
.ConfigBase_Create(*args
) 
3283 def ConfigBase_DontCreateOnDemand(*args
): 
3285     ConfigBase_DontCreateOnDemand() 
3287     Should Get() try to create a new log object if there isn't a current 
3290   return _misc_
.ConfigBase_DontCreateOnDemand(*args
) 
3292 class Config(ConfigBase
): 
3294     This ConfigBase-derived class will use the registry on Windows, 
3295     and will be a wx.FileConfig on other platforms. 
3297     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3298     __repr__ 
= _swig_repr
 
3299     def __init__(self
, *args
, **kwargs
):  
3301         __init__(self, String appName=EmptyString, String vendorName=EmptyString,  
3302             String localFilename=EmptyString, String globalFilename=EmptyString,  
3303             long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config 
3305         _misc_
.Config_swiginit(self
,_misc_
.new_Config(*args
, **kwargs
)) 
3306     __swig_destroy__ 
= _misc_
.delete_Config
 
3307     __del__ 
= lambda self 
: None; 
3308 _misc_
.Config_swigregister(Config
) 
3310 class FileConfig(ConfigBase
): 
3311     """This config class will use a file for storage on all platforms.""" 
3312     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3313     __repr__ 
= _swig_repr
 
3314     def __init__(self
, *args
, **kwargs
):  
3316         __init__(self, String appName=EmptyString, String vendorName=EmptyString,  
3317             String localFilename=EmptyString, String globalFilename=EmptyString,  
3318             long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig 
3320         _misc_
.FileConfig_swiginit(self
,_misc_
.new_FileConfig(*args
, **kwargs
)) 
3321     __swig_destroy__ 
= _misc_
.delete_FileConfig
 
3322     __del__ 
= lambda self 
: None; 
3323     def GetGlobalFileName(*args
, **kwargs
): 
3324         """GetGlobalFileName(String szFile) -> String""" 
3325         return _misc_
.FileConfig_GetGlobalFileName(*args
, **kwargs
) 
3327     GetGlobalFileName 
= staticmethod(GetGlobalFileName
) 
3328     def GetLocalFileName(*args
, **kwargs
): 
3329         """GetLocalFileName(String szFile, int style=0) -> String""" 
3330         return _misc_
.FileConfig_GetLocalFileName(*args
, **kwargs
) 
3332     GetLocalFileName 
= staticmethod(GetLocalFileName
) 
3333 _misc_
.FileConfig_swigregister(FileConfig
) 
3335 def FileConfig_GetGlobalFileName(*args
, **kwargs
): 
3336   """FileConfig_GetGlobalFileName(String szFile) -> String""" 
3337   return _misc_
.FileConfig_GetGlobalFileName(*args
, **kwargs
) 
3339 def FileConfig_GetLocalFileName(*args
, **kwargs
): 
3340   """FileConfig_GetLocalFileName(String szFile, int style=0) -> String""" 
3341   return _misc_
.FileConfig_GetLocalFileName(*args
, **kwargs
) 
3343 class ConfigPathChanger(object): 
3345     A handy little class which changes current path to the path of given 
3346     entry and restores it in the destructoir: so if you declare a local 
3347     variable of this type, you work in the entry directory and the path is 
3348     automatically restored when the function returns. 
3350     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3351     __repr__ 
= _swig_repr
 
3352     def __init__(self
, *args
, **kwargs
):  
3353         """__init__(self, ConfigBase config, String entry) -> ConfigPathChanger""" 
3354         _misc_
.ConfigPathChanger_swiginit(self
,_misc_
.new_ConfigPathChanger(*args
, **kwargs
)) 
3355     __swig_destroy__ 
= _misc_
.delete_ConfigPathChanger
 
3356     __del__ 
= lambda self 
: None; 
3357     def Name(*args
, **kwargs
): 
3359         Name(self) -> String 
3363         return _misc_
.ConfigPathChanger_Name(*args
, **kwargs
) 
3365 _misc_
.ConfigPathChanger_swigregister(ConfigPathChanger
) 
3368 def ExpandEnvVars(*args
, **kwargs
): 
3370     ExpandEnvVars(String sz) -> String 
3372     Replace environment variables ($SOMETHING) with their values. The 
3373     format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric 
3374     characters and '_' only. '$' must be escaped ('\$') in order to be 
3377   return _misc_
.ExpandEnvVars(*args
, **kwargs
) 
3378 #--------------------------------------------------------------------------- 
3380 class DateTime(object): 
3381     """Proxy of C++ DateTime class""" 
3382     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3383     __repr__ 
= _swig_repr
 
3384     Local 
= _misc_
.DateTime_Local
 
3385     GMT_12 
= _misc_
.DateTime_GMT_12
 
3386     GMT_11 
= _misc_
.DateTime_GMT_11
 
3387     GMT_10 
= _misc_
.DateTime_GMT_10
 
3388     GMT_9 
= _misc_
.DateTime_GMT_9
 
3389     GMT_8 
= _misc_
.DateTime_GMT_8
 
3390     GMT_7 
= _misc_
.DateTime_GMT_7
 
3391     GMT_6 
= _misc_
.DateTime_GMT_6
 
3392     GMT_5 
= _misc_
.DateTime_GMT_5
 
3393     GMT_4 
= _misc_
.DateTime_GMT_4
 
3394     GMT_3 
= _misc_
.DateTime_GMT_3
 
3395     GMT_2 
= _misc_
.DateTime_GMT_2
 
3396     GMT_1 
= _misc_
.DateTime_GMT_1
 
3397     GMT0 
= _misc_
.DateTime_GMT0
 
3398     GMT1 
= _misc_
.DateTime_GMT1
 
3399     GMT2 
= _misc_
.DateTime_GMT2
 
3400     GMT3 
= _misc_
.DateTime_GMT3
 
3401     GMT4 
= _misc_
.DateTime_GMT4
 
3402     GMT5 
= _misc_
.DateTime_GMT5
 
3403     GMT6 
= _misc_
.DateTime_GMT6
 
3404     GMT7 
= _misc_
.DateTime_GMT7
 
3405     GMT8 
= _misc_
.DateTime_GMT8
 
3406     GMT9 
= _misc_
.DateTime_GMT9
 
3407     GMT10 
= _misc_
.DateTime_GMT10
 
3408     GMT11 
= _misc_
.DateTime_GMT11
 
3409     GMT12 
= _misc_
.DateTime_GMT12
 
3410     GMT13 
= _misc_
.DateTime_GMT13
 
3411     WET 
= _misc_
.DateTime_WET
 
3412     WEST 
= _misc_
.DateTime_WEST
 
3413     CET 
= _misc_
.DateTime_CET
 
3414     CEST 
= _misc_
.DateTime_CEST
 
3415     EET 
= _misc_
.DateTime_EET
 
3416     EEST 
= _misc_
.DateTime_EEST
 
3417     MSK 
= _misc_
.DateTime_MSK
 
3418     MSD 
= _misc_
.DateTime_MSD
 
3419     AST 
= _misc_
.DateTime_AST
 
3420     ADT 
= _misc_
.DateTime_ADT
 
3421     EST 
= _misc_
.DateTime_EST
 
3422     EDT 
= _misc_
.DateTime_EDT
 
3423     CST 
= _misc_
.DateTime_CST
 
3424     CDT 
= _misc_
.DateTime_CDT
 
3425     MST 
= _misc_
.DateTime_MST
 
3426     MDT 
= _misc_
.DateTime_MDT
 
3427     PST 
= _misc_
.DateTime_PST
 
3428     PDT 
= _misc_
.DateTime_PDT
 
3429     HST 
= _misc_
.DateTime_HST
 
3430     AKST 
= _misc_
.DateTime_AKST
 
3431     AKDT 
= _misc_
.DateTime_AKDT
 
3432     A_WST 
= _misc_
.DateTime_A_WST
 
3433     A_CST 
= _misc_
.DateTime_A_CST
 
3434     A_EST 
= _misc_
.DateTime_A_EST
 
3435     A_ESST 
= _misc_
.DateTime_A_ESST
 
3436     NZST 
= _misc_
.DateTime_NZST
 
3437     NZDT 
= _misc_
.DateTime_NZDT
 
3438     UTC 
= _misc_
.DateTime_UTC
 
3439     Gregorian 
= _misc_
.DateTime_Gregorian
 
3440     Julian 
= _misc_
.DateTime_Julian
 
3441     Gr_Unknown 
= _misc_
.DateTime_Gr_Unknown
 
3442     Gr_Standard 
= _misc_
.DateTime_Gr_Standard
 
3443     Gr_Alaska 
= _misc_
.DateTime_Gr_Alaska
 
3444     Gr_Albania 
= _misc_
.DateTime_Gr_Albania
 
3445     Gr_Austria 
= _misc_
.DateTime_Gr_Austria
 
3446     Gr_Austria_Brixen 
= _misc_
.DateTime_Gr_Austria_Brixen
 
3447     Gr_Austria_Salzburg 
= _misc_
.DateTime_Gr_Austria_Salzburg
 
3448     Gr_Austria_Tyrol 
= _misc_
.DateTime_Gr_Austria_Tyrol
 
3449     Gr_Austria_Carinthia 
= _misc_
.DateTime_Gr_Austria_Carinthia
 
3450     Gr_Austria_Styria 
= _misc_
.DateTime_Gr_Austria_Styria
 
3451     Gr_Belgium 
= _misc_
.DateTime_Gr_Belgium
 
3452     Gr_Bulgaria 
= _misc_
.DateTime_Gr_Bulgaria
 
3453     Gr_Bulgaria_1 
= _misc_
.DateTime_Gr_Bulgaria_1
 
3454     Gr_Bulgaria_2 
= _misc_
.DateTime_Gr_Bulgaria_2
 
3455     Gr_Bulgaria_3 
= _misc_
.DateTime_Gr_Bulgaria_3
 
3456     Gr_Canada 
= _misc_
.DateTime_Gr_Canada
 
3457     Gr_China 
= _misc_
.DateTime_Gr_China
 
3458     Gr_China_1 
= _misc_
.DateTime_Gr_China_1
 
3459     Gr_China_2 
= _misc_
.DateTime_Gr_China_2
 
3460     Gr_Czechoslovakia 
= _misc_
.DateTime_Gr_Czechoslovakia
 
3461     Gr_Denmark 
= _misc_
.DateTime_Gr_Denmark
 
3462     Gr_Egypt 
= _misc_
.DateTime_Gr_Egypt
 
3463     Gr_Estonia 
= _misc_
.DateTime_Gr_Estonia
 
3464     Gr_Finland 
= _misc_
.DateTime_Gr_Finland
 
3465     Gr_France 
= _misc_
.DateTime_Gr_France
 
3466     Gr_France_Alsace 
= _misc_
.DateTime_Gr_France_Alsace
 
3467     Gr_France_Lorraine 
= _misc_
.DateTime_Gr_France_Lorraine
 
3468     Gr_France_Strasbourg 
= _misc_
.DateTime_Gr_France_Strasbourg
 
3469     Gr_Germany 
= _misc_
.DateTime_Gr_Germany
 
3470     Gr_Germany_Catholic 
= _misc_
.DateTime_Gr_Germany_Catholic
 
3471     Gr_Germany_Prussia 
= _misc_
.DateTime_Gr_Germany_Prussia
 
3472     Gr_Germany_Protestant 
= _misc_
.DateTime_Gr_Germany_Protestant
 
3473     Gr_GreatBritain 
= _misc_
.DateTime_Gr_GreatBritain
 
3474     Gr_Greece 
= _misc_
.DateTime_Gr_Greece
 
3475     Gr_Hungary 
= _misc_
.DateTime_Gr_Hungary
 
3476     Gr_Ireland 
= _misc_
.DateTime_Gr_Ireland
 
3477     Gr_Italy 
= _misc_
.DateTime_Gr_Italy
 
3478     Gr_Japan 
= _misc_
.DateTime_Gr_Japan
 
3479     Gr_Japan_1 
= _misc_
.DateTime_Gr_Japan_1
 
3480     Gr_Japan_2 
= _misc_
.DateTime_Gr_Japan_2
 
3481     Gr_Japan_3 
= _misc_
.DateTime_Gr_Japan_3
 
3482     Gr_Latvia 
= _misc_
.DateTime_Gr_Latvia
 
3483     Gr_Lithuania 
= _misc_
.DateTime_Gr_Lithuania
 
3484     Gr_Luxemburg 
= _misc_
.DateTime_Gr_Luxemburg
 
3485     Gr_Netherlands 
= _misc_
.DateTime_Gr_Netherlands
 
3486     Gr_Netherlands_Groningen 
= _misc_
.DateTime_Gr_Netherlands_Groningen
 
3487     Gr_Netherlands_Gelderland 
= _misc_
.DateTime_Gr_Netherlands_Gelderland
 
3488     Gr_Netherlands_Utrecht 
= _misc_
.DateTime_Gr_Netherlands_Utrecht
 
3489     Gr_Netherlands_Friesland 
= _misc_
.DateTime_Gr_Netherlands_Friesland
 
3490     Gr_Norway 
= _misc_
.DateTime_Gr_Norway
 
3491     Gr_Poland 
= _misc_
.DateTime_Gr_Poland
 
3492     Gr_Portugal 
= _misc_
.DateTime_Gr_Portugal
 
3493     Gr_Romania 
= _misc_
.DateTime_Gr_Romania
 
3494     Gr_Russia 
= _misc_
.DateTime_Gr_Russia
 
3495     Gr_Scotland 
= _misc_
.DateTime_Gr_Scotland
 
3496     Gr_Spain 
= _misc_
.DateTime_Gr_Spain
 
3497     Gr_Sweden 
= _misc_
.DateTime_Gr_Sweden
 
3498     Gr_Switzerland 
= _misc_
.DateTime_Gr_Switzerland
 
3499     Gr_Switzerland_Catholic 
= _misc_
.DateTime_Gr_Switzerland_Catholic
 
3500     Gr_Switzerland_Protestant 
= _misc_
.DateTime_Gr_Switzerland_Protestant
 
3501     Gr_Turkey 
= _misc_
.DateTime_Gr_Turkey
 
3502     Gr_USA 
= _misc_
.DateTime_Gr_USA
 
3503     Gr_Wales 
= _misc_
.DateTime_Gr_Wales
 
3504     Gr_Yugoslavia 
= _misc_
.DateTime_Gr_Yugoslavia
 
3505     Country_Unknown 
= _misc_
.DateTime_Country_Unknown
 
3506     Country_Default 
= _misc_
.DateTime_Country_Default
 
3507     Country_WesternEurope_Start 
= _misc_
.DateTime_Country_WesternEurope_Start
 
3508     Country_EEC 
= _misc_
.DateTime_Country_EEC
 
3509     France 
= _misc_
.DateTime_France
 
3510     Germany 
= _misc_
.DateTime_Germany
 
3511     UK 
= _misc_
.DateTime_UK
 
3512     Country_WesternEurope_End 
= _misc_
.DateTime_Country_WesternEurope_End
 
3513     Russia 
= _misc_
.DateTime_Russia
 
3514     USA 
= _misc_
.DateTime_USA
 
3515     Jan 
= _misc_
.DateTime_Jan
 
3516     Feb 
= _misc_
.DateTime_Feb
 
3517     Mar 
= _misc_
.DateTime_Mar
 
3518     Apr 
= _misc_
.DateTime_Apr
 
3519     May 
= _misc_
.DateTime_May
 
3520     Jun 
= _misc_
.DateTime_Jun
 
3521     Jul 
= _misc_
.DateTime_Jul
 
3522     Aug 
= _misc_
.DateTime_Aug
 
3523     Sep 
= _misc_
.DateTime_Sep
 
3524     Oct 
= _misc_
.DateTime_Oct
 
3525     Nov 
= _misc_
.DateTime_Nov
 
3526     Dec 
= _misc_
.DateTime_Dec
 
3527     Inv_Month 
= _misc_
.DateTime_Inv_Month
 
3528     Sun 
= _misc_
.DateTime_Sun
 
3529     Mon 
= _misc_
.DateTime_Mon
 
3530     Tue 
= _misc_
.DateTime_Tue
 
3531     Wed 
= _misc_
.DateTime_Wed
 
3532     Thu 
= _misc_
.DateTime_Thu
 
3533     Fri 
= _misc_
.DateTime_Fri
 
3534     Sat 
= _misc_
.DateTime_Sat
 
3535     Inv_WeekDay 
= _misc_
.DateTime_Inv_WeekDay
 
3536     Inv_Year 
= _misc_
.DateTime_Inv_Year
 
3537     Name_Full 
= _misc_
.DateTime_Name_Full
 
3538     Name_Abbr 
= _misc_
.DateTime_Name_Abbr
 
3539     Default_First 
= _misc_
.DateTime_Default_First
 
3540     Monday_First 
= _misc_
.DateTime_Monday_First
 
3541     Sunday_First 
= _misc_
.DateTime_Sunday_First
 
3542     def SetCountry(*args
, **kwargs
): 
3543         """SetCountry(int country)""" 
3544         return _misc_
.DateTime_SetCountry(*args
, **kwargs
) 
3546     SetCountry 
= staticmethod(SetCountry
) 
3547     def GetCountry(*args
, **kwargs
): 
3548         """GetCountry() -> int""" 
3549         return _misc_
.DateTime_GetCountry(*args
, **kwargs
) 
3551     GetCountry 
= staticmethod(GetCountry
) 
3552     def IsWestEuropeanCountry(*args
, **kwargs
): 
3553         """IsWestEuropeanCountry(int country=Country_Default) -> bool""" 
3554         return _misc_
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
) 
3556     IsWestEuropeanCountry 
= staticmethod(IsWestEuropeanCountry
) 
3557     def GetCurrentYear(*args
, **kwargs
): 
3558         """GetCurrentYear(int cal=Gregorian) -> int""" 
3559         return _misc_
.DateTime_GetCurrentYear(*args
, **kwargs
) 
3561     GetCurrentYear 
= staticmethod(GetCurrentYear
) 
3562     def ConvertYearToBC(*args
, **kwargs
): 
3563         """ConvertYearToBC(int year) -> int""" 
3564         return _misc_
.DateTime_ConvertYearToBC(*args
, **kwargs
) 
3566     ConvertYearToBC 
= staticmethod(ConvertYearToBC
) 
3567     def GetCurrentMonth(*args
, **kwargs
): 
3568         """GetCurrentMonth(int cal=Gregorian) -> int""" 
3569         return _misc_
.DateTime_GetCurrentMonth(*args
, **kwargs
) 
3571     GetCurrentMonth 
= staticmethod(GetCurrentMonth
) 
3572     def IsLeapYear(*args
, **kwargs
): 
3573         """IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" 
3574         return _misc_
.DateTime_IsLeapYear(*args
, **kwargs
) 
3576     IsLeapYear 
= staticmethod(IsLeapYear
) 
3577     def GetCentury(*args
, **kwargs
): 
3578         """GetCentury(int year=Inv_Year) -> int""" 
3579         return _misc_
.DateTime_GetCentury(*args
, **kwargs
) 
3581     GetCentury 
= staticmethod(GetCentury
) 
3582     def GetNumberOfDaysinYear(*args
, **kwargs
): 
3583         """GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" 
3584         return _misc_
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
) 
3586     GetNumberOfDaysinYear 
= staticmethod(GetNumberOfDaysinYear
) 
3587     def GetNumberOfDaysInMonth(*args
, **kwargs
): 
3588         """GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" 
3589         return _misc_
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
) 
3591     GetNumberOfDaysInMonth 
= staticmethod(GetNumberOfDaysInMonth
) 
3592     def GetMonthName(*args
, **kwargs
): 
3593         """GetMonthName(int month, int flags=Name_Full) -> String""" 
3594         return _misc_
.DateTime_GetMonthName(*args
, **kwargs
) 
3596     GetMonthName 
= staticmethod(GetMonthName
) 
3597     def GetWeekDayName(*args
, **kwargs
): 
3598         """GetWeekDayName(int weekday, int flags=Name_Full) -> String""" 
3599         return _misc_
.DateTime_GetWeekDayName(*args
, **kwargs
) 
3601     GetWeekDayName 
= staticmethod(GetWeekDayName
) 
3602     def GetAmPmStrings(*args
, **kwargs
): 
3604         GetAmPmStrings() -> (am, pm) 
3606         Get the AM and PM strings in the current locale (may be empty) 
3608         return _misc_
.DateTime_GetAmPmStrings(*args
, **kwargs
) 
3610     GetAmPmStrings 
= staticmethod(GetAmPmStrings
) 
3611     def IsDSTApplicable(*args
, **kwargs
): 
3612         """IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" 
3613         return _misc_
.DateTime_IsDSTApplicable(*args
, **kwargs
) 
3615     IsDSTApplicable 
= staticmethod(IsDSTApplicable
) 
3616     def GetBeginDST(*args
, **kwargs
): 
3617         """GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3618         return _misc_
.DateTime_GetBeginDST(*args
, **kwargs
) 
3620     GetBeginDST 
= staticmethod(GetBeginDST
) 
3621     def GetEndDST(*args
, **kwargs
): 
3622         """GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
3623         return _misc_
.DateTime_GetEndDST(*args
, **kwargs
) 
3625     GetEndDST 
= staticmethod(GetEndDST
) 
3626     def Now(*args
, **kwargs
): 
3627         """Now() -> DateTime""" 
3628         return _misc_
.DateTime_Now(*args
, **kwargs
) 
3630     Now 
= staticmethod(Now
) 
3631     def UNow(*args
, **kwargs
): 
3632         """UNow() -> DateTime""" 
3633         return _misc_
.DateTime_UNow(*args
, **kwargs
) 
3635     UNow 
= staticmethod(UNow
) 
3636     def Today(*args
, **kwargs
): 
3637         """Today() -> DateTime""" 
3638         return _misc_
.DateTime_Today(*args
, **kwargs
) 
3640     Today 
= staticmethod(Today
) 
3641     def __init__(self
, *args
, **kwargs
):  
3642         """__init__(self) -> DateTime""" 
3643         _misc_
.DateTime_swiginit(self
,_misc_
.new_DateTime(*args
, **kwargs
)) 
3644     __swig_destroy__ 
= _misc_
.delete_DateTime
 
3645     __del__ 
= lambda self 
: None; 
3646     def SetToCurrent(*args
, **kwargs
): 
3647         """SetToCurrent(self) -> DateTime""" 
3648         return _misc_
.DateTime_SetToCurrent(*args
, **kwargs
) 
3650     def SetTimeT(*args
, **kwargs
): 
3651         """SetTimeT(self, time_t timet) -> DateTime""" 
3652         return _misc_
.DateTime_SetTimeT(*args
, **kwargs
) 
3654     def SetJDN(*args
, **kwargs
): 
3655         """SetJDN(self, double jdn) -> DateTime""" 
3656         return _misc_
.DateTime_SetJDN(*args
, **kwargs
) 
3658     def SetHMS(*args
, **kwargs
): 
3659         """SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -> DateTime""" 
3660         return _misc_
.DateTime_SetHMS(*args
, **kwargs
) 
3662     def Set(*args
, **kwargs
): 
3664         Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0,  
3665             int minute=0, int second=0, int millisec=0) -> DateTime 
3667         return _misc_
.DateTime_Set(*args
, **kwargs
) 
3669     def ResetTime(*args
, **kwargs
): 
3670         """ResetTime(self) -> DateTime""" 
3671         return _misc_
.DateTime_ResetTime(*args
, **kwargs
) 
3673     def GetDateOnly(*args
, **kwargs
): 
3674         """GetDateOnly(self) -> DateTime""" 
3675         return _misc_
.DateTime_GetDateOnly(*args
, **kwargs
) 
3677     def SetYear(*args
, **kwargs
): 
3678         """SetYear(self, int year) -> DateTime""" 
3679         return _misc_
.DateTime_SetYear(*args
, **kwargs
) 
3681     def SetMonth(*args
, **kwargs
): 
3682         """SetMonth(self, int month) -> DateTime""" 
3683         return _misc_
.DateTime_SetMonth(*args
, **kwargs
) 
3685     def SetDay(*args
, **kwargs
): 
3686         """SetDay(self, int day) -> DateTime""" 
3687         return _misc_
.DateTime_SetDay(*args
, **kwargs
) 
3689     def SetHour(*args
, **kwargs
): 
3690         """SetHour(self, int hour) -> DateTime""" 
3691         return _misc_
.DateTime_SetHour(*args
, **kwargs
) 
3693     def SetMinute(*args
, **kwargs
): 
3694         """SetMinute(self, int minute) -> DateTime""" 
3695         return _misc_
.DateTime_SetMinute(*args
, **kwargs
) 
3697     def SetSecond(*args
, **kwargs
): 
3698         """SetSecond(self, int second) -> DateTime""" 
3699         return _misc_
.DateTime_SetSecond(*args
, **kwargs
) 
3701     def SetMillisecond(*args
, **kwargs
): 
3702         """SetMillisecond(self, int millisecond) -> DateTime""" 
3703         return _misc_
.DateTime_SetMillisecond(*args
, **kwargs
) 
3705     def SetToWeekDayInSameWeek(*args
, **kwargs
): 
3706         """SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime""" 
3707         return _misc_
.DateTime_SetToWeekDayInSameWeek(*args
, **kwargs
) 
3709     def GetWeekDayInSameWeek(*args
, **kwargs
): 
3710         """GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime""" 
3711         return _misc_
.DateTime_GetWeekDayInSameWeek(*args
, **kwargs
) 
3713     def SetToNextWeekDay(*args
, **kwargs
): 
3714         """SetToNextWeekDay(self, int weekday) -> DateTime""" 
3715         return _misc_
.DateTime_SetToNextWeekDay(*args
, **kwargs
) 
3717     def GetNextWeekDay(*args
, **kwargs
): 
3718         """GetNextWeekDay(self, int weekday) -> DateTime""" 
3719         return _misc_
.DateTime_GetNextWeekDay(*args
, **kwargs
) 
3721     def SetToPrevWeekDay(*args
, **kwargs
): 
3722         """SetToPrevWeekDay(self, int weekday) -> DateTime""" 
3723         return _misc_
.DateTime_SetToPrevWeekDay(*args
, **kwargs
) 
3725     def GetPrevWeekDay(*args
, **kwargs
): 
3726         """GetPrevWeekDay(self, int weekday) -> DateTime""" 
3727         return _misc_
.DateTime_GetPrevWeekDay(*args
, **kwargs
) 
3729     def SetToWeekDay(*args
, **kwargs
): 
3730         """SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool""" 
3731         return _misc_
.DateTime_SetToWeekDay(*args
, **kwargs
) 
3733     def SetToLastWeekDay(*args
, **kwargs
): 
3734         """SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> bool""" 
3735         return _misc_
.DateTime_SetToLastWeekDay(*args
, **kwargs
) 
3737     def GetLastWeekDay(*args
, **kwargs
): 
3738         """GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3739         return _misc_
.DateTime_GetLastWeekDay(*args
, **kwargs
) 
3741     def SetToWeekOfYear(*args
, **kwargs
): 
3742         """SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime""" 
3743         return _misc_
.DateTime_SetToWeekOfYear(*args
, **kwargs
) 
3745     SetToWeekOfYear 
= staticmethod(SetToWeekOfYear
) 
3746     def SetToLastMonthDay(*args
, **kwargs
): 
3747         """SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3748         return _misc_
.DateTime_SetToLastMonthDay(*args
, **kwargs
) 
3750     def GetLastMonthDay(*args
, **kwargs
): 
3751         """GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime""" 
3752         return _misc_
.DateTime_GetLastMonthDay(*args
, **kwargs
) 
3754     def SetToYearDay(*args
, **kwargs
): 
3755         """SetToYearDay(self, int yday) -> DateTime""" 
3756         return _misc_
.DateTime_SetToYearDay(*args
, **kwargs
) 
3758     def GetYearDay(*args
, **kwargs
): 
3759         """GetYearDay(self, int yday) -> DateTime""" 
3760         return _misc_
.DateTime_GetYearDay(*args
, **kwargs
) 
3762     def GetJulianDayNumber(*args
, **kwargs
): 
3763         """GetJulianDayNumber(self) -> double""" 
3764         return _misc_
.DateTime_GetJulianDayNumber(*args
, **kwargs
) 
3766     def GetJDN(*args
, **kwargs
): 
3767         """GetJDN(self) -> double""" 
3768         return _misc_
.DateTime_GetJDN(*args
, **kwargs
) 
3770     def GetModifiedJulianDayNumber(*args
, **kwargs
): 
3771         """GetModifiedJulianDayNumber(self) -> double""" 
3772         return _misc_
.DateTime_GetModifiedJulianDayNumber(*args
, **kwargs
) 
3774     def GetMJD(*args
, **kwargs
): 
3775         """GetMJD(self) -> double""" 
3776         return _misc_
.DateTime_GetMJD(*args
, **kwargs
) 
3778     def GetRataDie(*args
, **kwargs
): 
3779         """GetRataDie(self) -> double""" 
3780         return _misc_
.DateTime_GetRataDie(*args
, **kwargs
) 
3782     def ToTimezone(*args
, **kwargs
): 
3783         """ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3784         return _misc_
.DateTime_ToTimezone(*args
, **kwargs
) 
3786     def MakeTimezone(*args
, **kwargs
): 
3787         """MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3788         return _misc_
.DateTime_MakeTimezone(*args
, **kwargs
) 
3790     def FromTimezone(*args
, **kwargs
): 
3791         """FromTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3792         return _misc_
.DateTime_FromTimezone(*args
, **kwargs
) 
3794     def MakeFromTimezone(*args
, **kwargs
): 
3795         """MakeFromTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime""" 
3796         return _misc_
.DateTime_MakeFromTimezone(*args
, **kwargs
) 
3798     def ToUTC(*args
, **kwargs
): 
3799         """ToUTC(self, bool noDST=False) -> DateTime""" 
3800         return _misc_
.DateTime_ToUTC(*args
, **kwargs
) 
3802     def MakeUTC(*args
, **kwargs
): 
3803         """MakeUTC(self, bool noDST=False) -> DateTime""" 
3804         return _misc_
.DateTime_MakeUTC(*args
, **kwargs
) 
3806     def ToGMT(*args
, **kwargs
): 
3807         """ToGMT(self, bool noDST=False) -> DateTime""" 
3808         return _misc_
.DateTime_ToGMT(*args
, **kwargs
) 
3810     def MakeGMT(*args
, **kwargs
): 
3811         """MakeGMT(self, bool noDST=False) -> DateTime""" 
3812         return _misc_
.DateTime_MakeGMT(*args
, **kwargs
) 
3814     def FromUTC(*args
, **kwargs
): 
3815         """FromUTC(self, bool noDST=False) -> DateTime""" 
3816         return _misc_
.DateTime_FromUTC(*args
, **kwargs
) 
3818     def MakeFromUTC(*args
, **kwargs
): 
3819         """MakeFromUTC(self, bool noDST=False) -> DateTime""" 
3820         return _misc_
.DateTime_MakeFromUTC(*args
, **kwargs
) 
3822     def IsDST(*args
, **kwargs
): 
3823         """IsDST(self, int country=Country_Default) -> int""" 
3824         return _misc_
.DateTime_IsDST(*args
, **kwargs
) 
3826     def IsValid(*args
, **kwargs
): 
3827         """IsValid(self) -> bool""" 
3828         return _misc_
.DateTime_IsValid(*args
, **kwargs
) 
3832     def __nonzero__(self
): return self
.IsOk()  
3833     def GetTicks(*args
, **kwargs
): 
3834         """GetTicks(self) -> time_t""" 
3835         return _misc_
.DateTime_GetTicks(*args
, **kwargs
) 
3837     def GetYear(*args
, **kwargs
): 
3838         """GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3839         return _misc_
.DateTime_GetYear(*args
, **kwargs
) 
3841     def GetMonth(*args
, **kwargs
): 
3842         """GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3843         return _misc_
.DateTime_GetMonth(*args
, **kwargs
) 
3845     def GetDay(*args
, **kwargs
): 
3846         """GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3847         return _misc_
.DateTime_GetDay(*args
, **kwargs
) 
3849     def GetWeekDay(*args
, **kwargs
): 
3850         """GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3851         return _misc_
.DateTime_GetWeekDay(*args
, **kwargs
) 
3853     def GetHour(*args
, **kwargs
): 
3854         """GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3855         return _misc_
.DateTime_GetHour(*args
, **kwargs
) 
3857     def GetMinute(*args
, **kwargs
): 
3858         """GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3859         return _misc_
.DateTime_GetMinute(*args
, **kwargs
) 
3861     def GetSecond(*args
, **kwargs
): 
3862         """GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3863         return _misc_
.DateTime_GetSecond(*args
, **kwargs
) 
3865     def GetMillisecond(*args
, **kwargs
): 
3866         """GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3867         return _misc_
.DateTime_GetMillisecond(*args
, **kwargs
) 
3869     def GetDayOfYear(*args
, **kwargs
): 
3870         """GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3871         return _misc_
.DateTime_GetDayOfYear(*args
, **kwargs
) 
3873     def GetWeekOfYear(*args
, **kwargs
): 
3874         """GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3875         return _misc_
.DateTime_GetWeekOfYear(*args
, **kwargs
) 
3877     def GetWeekOfMonth(*args
, **kwargs
): 
3878         """GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int""" 
3879         return _misc_
.DateTime_GetWeekOfMonth(*args
, **kwargs
) 
3881     def IsWorkDay(*args
, **kwargs
): 
3882         """IsWorkDay(self, int country=Country_Default) -> bool""" 
3883         return _misc_
.DateTime_IsWorkDay(*args
, **kwargs
) 
3885     def IsEqualTo(*args
, **kwargs
): 
3886         """IsEqualTo(self, DateTime datetime) -> bool""" 
3887         return _misc_
.DateTime_IsEqualTo(*args
, **kwargs
) 
3889     def IsEarlierThan(*args
, **kwargs
): 
3890         """IsEarlierThan(self, DateTime datetime) -> bool""" 
3891         return _misc_
.DateTime_IsEarlierThan(*args
, **kwargs
) 
3893     def IsLaterThan(*args
, **kwargs
): 
3894         """IsLaterThan(self, DateTime datetime) -> bool""" 
3895         return _misc_
.DateTime_IsLaterThan(*args
, **kwargs
) 
3897     def IsStrictlyBetween(*args
, **kwargs
): 
3898         """IsStrictlyBetween(self, DateTime t1, DateTime t2) -> bool""" 
3899         return _misc_
.DateTime_IsStrictlyBetween(*args
, **kwargs
) 
3901     def IsBetween(*args
, **kwargs
): 
3902         """IsBetween(self, DateTime t1, DateTime t2) -> bool""" 
3903         return _misc_
.DateTime_IsBetween(*args
, **kwargs
) 
3905     def IsSameDate(*args
, **kwargs
): 
3906         """IsSameDate(self, DateTime dt) -> bool""" 
3907         return _misc_
.DateTime_IsSameDate(*args
, **kwargs
) 
3909     def IsSameTime(*args
, **kwargs
): 
3910         """IsSameTime(self, DateTime dt) -> bool""" 
3911         return _misc_
.DateTime_IsSameTime(*args
, **kwargs
) 
3913     def IsEqualUpTo(*args
, **kwargs
): 
3914         """IsEqualUpTo(self, DateTime dt, TimeSpan ts) -> bool""" 
3915         return _misc_
.DateTime_IsEqualUpTo(*args
, **kwargs
) 
3917     def AddTS(*args
, **kwargs
): 
3918         """AddTS(self, TimeSpan diff) -> DateTime""" 
3919         return _misc_
.DateTime_AddTS(*args
, **kwargs
) 
3921     def AddDS(*args
, **kwargs
): 
3922         """AddDS(self, DateSpan diff) -> DateTime""" 
3923         return _misc_
.DateTime_AddDS(*args
, **kwargs
) 
3925     def SubtractTS(*args
, **kwargs
): 
3926         """SubtractTS(self, TimeSpan diff) -> DateTime""" 
3927         return _misc_
.DateTime_SubtractTS(*args
, **kwargs
) 
3929     def SubtractDS(*args
, **kwargs
): 
3930         """SubtractDS(self, DateSpan diff) -> DateTime""" 
3931         return _misc_
.DateTime_SubtractDS(*args
, **kwargs
) 
3933     def Subtract(*args
, **kwargs
): 
3934         """Subtract(self, DateTime dt) -> TimeSpan""" 
3935         return _misc_
.DateTime_Subtract(*args
, **kwargs
) 
3937     def __iadd__(*args
): 
3939         __iadd__(self, TimeSpan diff) -> DateTime 
3940         __iadd__(self, DateSpan diff) -> DateTime 
3942         return _misc_
.DateTime___iadd__(*args
) 
3944     def __isub__(*args
): 
3946         __isub__(self, TimeSpan diff) -> DateTime 
3947         __isub__(self, DateSpan diff) -> DateTime 
3949         return _misc_
.DateTime___isub__(*args
) 
3953         __add__(self, TimeSpan other) -> DateTime 
3954         __add__(self, DateSpan other) -> DateTime 
3956         return _misc_
.DateTime___add__(*args
) 
3960         __sub__(self, DateTime other) -> TimeSpan 
3961         __sub__(self, TimeSpan other) -> DateTime 
3962         __sub__(self, DateSpan other) -> DateTime 
3964         return _misc_
.DateTime___sub__(*args
) 
3966     def __lt__(*args
, **kwargs
): 
3967         """__lt__(self, DateTime other) -> bool""" 
3968         return _misc_
.DateTime___lt__(*args
, **kwargs
) 
3970     def __le__(*args
, **kwargs
): 
3971         """__le__(self, DateTime other) -> bool""" 
3972         return _misc_
.DateTime___le__(*args
, **kwargs
) 
3974     def __gt__(*args
, **kwargs
): 
3975         """__gt__(self, DateTime other) -> bool""" 
3976         return _misc_
.DateTime___gt__(*args
, **kwargs
) 
3978     def __ge__(*args
, **kwargs
): 
3979         """__ge__(self, DateTime other) -> bool""" 
3980         return _misc_
.DateTime___ge__(*args
, **kwargs
) 
3982     def __eq__(*args
, **kwargs
): 
3983         """__eq__(self, DateTime other) -> bool""" 
3984         return _misc_
.DateTime___eq__(*args
, **kwargs
) 
3986     def __ne__(*args
, **kwargs
): 
3987         """__ne__(self, DateTime other) -> bool""" 
3988         return _misc_
.DateTime___ne__(*args
, **kwargs
) 
3990     def ParseRfc822Date(*args
, **kwargs
): 
3991         """ParseRfc822Date(self, String date) -> int""" 
3992         return _misc_
.DateTime_ParseRfc822Date(*args
, **kwargs
) 
3994     def ParseFormat(*args
, **kwargs
): 
3995         """ParseFormat(self, String date, String format=DefaultDateTimeFormat, DateTime dateDef=DefaultDateTime) -> int""" 
3996         return _misc_
.DateTime_ParseFormat(*args
, **kwargs
) 
3998     def ParseDateTime(*args
, **kwargs
): 
3999         """ParseDateTime(self, String datetime) -> int""" 
4000         return _misc_
.DateTime_ParseDateTime(*args
, **kwargs
) 
4002     def ParseDate(*args
, **kwargs
): 
4003         """ParseDate(self, String date) -> int""" 
4004         return _misc_
.DateTime_ParseDate(*args
, **kwargs
) 
4006     def ParseTime(*args
, **kwargs
): 
4007         """ParseTime(self, String time) -> int""" 
4008         return _misc_
.DateTime_ParseTime(*args
, **kwargs
) 
4010     def Format(*args
, **kwargs
): 
4011         """Format(self, String format=DefaultDateTimeFormat, wxDateTime::TimeZone tz=LOCAL_TZ) -> String""" 
4012         return _misc_
.DateTime_Format(*args
, **kwargs
) 
4014     def FormatDate(*args
, **kwargs
): 
4015         """FormatDate(self) -> String""" 
4016         return _misc_
.DateTime_FormatDate(*args
, **kwargs
) 
4018     def FormatTime(*args
, **kwargs
): 
4019         """FormatTime(self) -> String""" 
4020         return _misc_
.DateTime_FormatTime(*args
, **kwargs
) 
4022     def FormatISODate(*args
, **kwargs
): 
4023         """FormatISODate(self) -> String""" 
4024         return _misc_
.DateTime_FormatISODate(*args
, **kwargs
) 
4026     def FormatISOTime(*args
, **kwargs
): 
4027         """FormatISOTime(self) -> String""" 
4028         return _misc_
.DateTime_FormatISOTime(*args
, **kwargs
) 
4032             f 
= self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4033             return '<wx.DateTime: \"%s\" at %s>' % ( f
, self
.this
) 
4035             return '<wx.DateTime: \"INVALID\" at %s>' % self
.this
 
4038             return self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4040             return "INVALID DateTime" 
4042     Day 
= property(GetDay
,SetDay
,doc
="See `GetDay` and `SetDay`")  
4043     DayOfYear 
= property(GetDayOfYear
,doc
="See `GetDayOfYear`")  
4044     Hour 
= property(GetHour
,SetHour
,doc
="See `GetHour` and `SetHour`")  
4045     JDN 
= property(GetJDN
,SetJDN
,doc
="See `GetJDN` and `SetJDN`")  
4046     JulianDayNumber 
= property(GetJulianDayNumber
,doc
="See `GetJulianDayNumber`")  
4047     LastMonthDay 
= property(GetLastMonthDay
,doc
="See `GetLastMonthDay`")  
4048     LastWeekDay 
= property(GetLastWeekDay
,doc
="See `GetLastWeekDay`")  
4049     MJD 
= property(GetMJD
,doc
="See `GetMJD`")  
4050     Millisecond 
= property(GetMillisecond
,SetMillisecond
,doc
="See `GetMillisecond` and `SetMillisecond`")  
4051     Minute 
= property(GetMinute
,SetMinute
,doc
="See `GetMinute` and `SetMinute`")  
4052     ModifiedJulianDayNumber 
= property(GetModifiedJulianDayNumber
,doc
="See `GetModifiedJulianDayNumber`")  
4053     Month 
= property(GetMonth
,SetMonth
,doc
="See `GetMonth` and `SetMonth`")  
4054     NextWeekDay 
= property(GetNextWeekDay
,doc
="See `GetNextWeekDay`")  
4055     PrevWeekDay 
= property(GetPrevWeekDay
,doc
="See `GetPrevWeekDay`")  
4056     RataDie 
= property(GetRataDie
,doc
="See `GetRataDie`")  
4057     Second 
= property(GetSecond
,SetSecond
,doc
="See `GetSecond` and `SetSecond`")  
4058     Ticks 
= property(GetTicks
,doc
="See `GetTicks`")  
4059     WeekDay 
= property(GetWeekDay
,doc
="See `GetWeekDay`")  
4060     WeekDayInSameWeek 
= property(GetWeekDayInSameWeek
,doc
="See `GetWeekDayInSameWeek`")  
4061     WeekOfMonth 
= property(GetWeekOfMonth
,doc
="See `GetWeekOfMonth`")  
4062     WeekOfYear 
= property(GetWeekOfYear
,doc
="See `GetWeekOfYear`")  
4063     Year 
= property(GetYear
,SetYear
,doc
="See `GetYear` and `SetYear`")  
4064     YearDay 
= property(GetYearDay
,doc
="See `GetYearDay`")  
4065 _misc_
.DateTime_swigregister(DateTime
) 
4066 DefaultDateTimeFormat 
= cvar
.DefaultDateTimeFormat
 
4067 DefaultTimeSpanFormat 
= cvar
.DefaultTimeSpanFormat
 
4069 def DateTime_SetCountry(*args
, **kwargs
): 
4070   """DateTime_SetCountry(int country)""" 
4071   return _misc_
.DateTime_SetCountry(*args
, **kwargs
) 
4073 def DateTime_GetCountry(*args
): 
4074   """DateTime_GetCountry() -> int""" 
4075   return _misc_
.DateTime_GetCountry(*args
) 
4077 def DateTime_IsWestEuropeanCountry(*args
, **kwargs
): 
4078   """DateTime_IsWestEuropeanCountry(int country=Country_Default) -> bool""" 
4079   return _misc_
.DateTime_IsWestEuropeanCountry(*args
, **kwargs
) 
4081 def DateTime_GetCurrentYear(*args
, **kwargs
): 
4082   """DateTime_GetCurrentYear(int cal=Gregorian) -> int""" 
4083   return _misc_
.DateTime_GetCurrentYear(*args
, **kwargs
) 
4085 def DateTime_ConvertYearToBC(*args
, **kwargs
): 
4086   """DateTime_ConvertYearToBC(int year) -> int""" 
4087   return _misc_
.DateTime_ConvertYearToBC(*args
, **kwargs
) 
4089 def DateTime_GetCurrentMonth(*args
, **kwargs
): 
4090   """DateTime_GetCurrentMonth(int cal=Gregorian) -> int""" 
4091   return _misc_
.DateTime_GetCurrentMonth(*args
, **kwargs
) 
4093 def DateTime_IsLeapYear(*args
, **kwargs
): 
4094   """DateTime_IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool""" 
4095   return _misc_
.DateTime_IsLeapYear(*args
, **kwargs
) 
4097 def DateTime_GetCentury(*args
, **kwargs
): 
4098   """DateTime_GetCentury(int year=Inv_Year) -> int""" 
4099   return _misc_
.DateTime_GetCentury(*args
, **kwargs
) 
4101 def DateTime_GetNumberOfDaysinYear(*args
, **kwargs
): 
4102   """DateTime_GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int""" 
4103   return _misc_
.DateTime_GetNumberOfDaysinYear(*args
, **kwargs
) 
4105 def DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
): 
4106   """DateTime_GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int""" 
4107   return _misc_
.DateTime_GetNumberOfDaysInMonth(*args
, **kwargs
) 
4109 def DateTime_GetMonthName(*args
, **kwargs
): 
4110   """DateTime_GetMonthName(int month, int flags=Name_Full) -> String""" 
4111   return _misc_
.DateTime_GetMonthName(*args
, **kwargs
) 
4113 def DateTime_GetWeekDayName(*args
, **kwargs
): 
4114   """DateTime_GetWeekDayName(int weekday, int flags=Name_Full) -> String""" 
4115   return _misc_
.DateTime_GetWeekDayName(*args
, **kwargs
) 
4117 def DateTime_GetAmPmStrings(*args
): 
4119     GetAmPmStrings() -> (am, pm) 
4121     Get the AM and PM strings in the current locale (may be empty) 
4123   return _misc_
.DateTime_GetAmPmStrings(*args
) 
4125 def DateTime_IsDSTApplicable(*args
, **kwargs
): 
4126   """DateTime_IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool""" 
4127   return _misc_
.DateTime_IsDSTApplicable(*args
, **kwargs
) 
4129 def DateTime_GetBeginDST(*args
, **kwargs
): 
4130   """DateTime_GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
4131   return _misc_
.DateTime_GetBeginDST(*args
, **kwargs
) 
4133 def DateTime_GetEndDST(*args
, **kwargs
): 
4134   """DateTime_GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime""" 
4135   return _misc_
.DateTime_GetEndDST(*args
, **kwargs
) 
4137 def DateTime_Now(*args
): 
4138   """DateTime_Now() -> DateTime""" 
4139   return _misc_
.DateTime_Now(*args
) 
4141 def DateTime_UNow(*args
): 
4142   """DateTime_UNow() -> DateTime""" 
4143   return _misc_
.DateTime_UNow(*args
) 
4145 def DateTime_Today(*args
): 
4146   """DateTime_Today() -> DateTime""" 
4147   return _misc_
.DateTime_Today(*args
) 
4149 def DateTimeFromTimeT(*args
, **kwargs
): 
4150     """DateTimeFromTimeT(time_t timet) -> DateTime""" 
4151     val 
= _misc_
.new_DateTimeFromTimeT(*args
, **kwargs
) 
4154 def DateTimeFromJDN(*args
, **kwargs
): 
4155     """DateTimeFromJDN(double jdn) -> DateTime""" 
4156     val 
= _misc_
.new_DateTimeFromJDN(*args
, **kwargs
) 
4159 def DateTimeFromHMS(*args
, **kwargs
): 
4160     """DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime""" 
4161     val 
= _misc_
.new_DateTimeFromHMS(*args
, **kwargs
) 
4164 def DateTimeFromDMY(*args
, **kwargs
): 
4166     DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0,  
4167         int minute=0, int second=0, int millisec=0) -> DateTime 
4169     val 
= _misc_
.new_DateTimeFromDMY(*args
, **kwargs
) 
4172 def DateTimeFromDateTime(*args
, **kwargs
): 
4173     """DateTimeFromDateTime(DateTime date) -> DateTime""" 
4174     val 
= _misc_
.new_DateTimeFromDateTime(*args
, **kwargs
) 
4177 def DateTime_SetToWeekOfYear(*args
, **kwargs
): 
4178   """DateTime_SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime""" 
4179   return _misc_
.DateTime_SetToWeekOfYear(*args
, **kwargs
) 
4181 class TimeSpan(object): 
4182     """Proxy of C++ TimeSpan class""" 
4183     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4184     __repr__ 
= _swig_repr
 
4185     def Milliseconds(*args
, **kwargs
): 
4186         """Milliseconds(long ms) -> TimeSpan""" 
4187         return _misc_
.TimeSpan_Milliseconds(*args
, **kwargs
) 
4189     Milliseconds 
= staticmethod(Milliseconds
) 
4190     def Millisecond(*args
, **kwargs
): 
4191         """Millisecond() -> TimeSpan""" 
4192         return _misc_
.TimeSpan_Millisecond(*args
, **kwargs
) 
4194     Millisecond 
= staticmethod(Millisecond
) 
4195     def Seconds(*args
, **kwargs
): 
4196         """Seconds(long sec) -> TimeSpan""" 
4197         return _misc_
.TimeSpan_Seconds(*args
, **kwargs
) 
4199     Seconds 
= staticmethod(Seconds
) 
4200     def Second(*args
, **kwargs
): 
4201         """Second() -> TimeSpan""" 
4202         return _misc_
.TimeSpan_Second(*args
, **kwargs
) 
4204     Second 
= staticmethod(Second
) 
4205     def Minutes(*args
, **kwargs
): 
4206         """Minutes(long min) -> TimeSpan""" 
4207         return _misc_
.TimeSpan_Minutes(*args
, **kwargs
) 
4209     Minutes 
= staticmethod(Minutes
) 
4210     def Minute(*args
, **kwargs
): 
4211         """Minute() -> TimeSpan""" 
4212         return _misc_
.TimeSpan_Minute(*args
, **kwargs
) 
4214     Minute 
= staticmethod(Minute
) 
4215     def Hours(*args
, **kwargs
): 
4216         """Hours(long hours) -> TimeSpan""" 
4217         return _misc_
.TimeSpan_Hours(*args
, **kwargs
) 
4219     Hours 
= staticmethod(Hours
) 
4220     def Hour(*args
, **kwargs
): 
4221         """Hour() -> TimeSpan""" 
4222         return _misc_
.TimeSpan_Hour(*args
, **kwargs
) 
4224     Hour 
= staticmethod(Hour
) 
4225     def Days(*args
, **kwargs
): 
4226         """Days(long days) -> TimeSpan""" 
4227         return _misc_
.TimeSpan_Days(*args
, **kwargs
) 
4229     Days 
= staticmethod(Days
) 
4230     def Day(*args
, **kwargs
): 
4231         """Day() -> TimeSpan""" 
4232         return _misc_
.TimeSpan_Day(*args
, **kwargs
) 
4234     Day 
= staticmethod(Day
) 
4235     def Weeks(*args
, **kwargs
): 
4236         """Weeks(long days) -> TimeSpan""" 
4237         return _misc_
.TimeSpan_Weeks(*args
, **kwargs
) 
4239     Weeks 
= staticmethod(Weeks
) 
4240     def Week(*args
, **kwargs
): 
4241         """Week() -> TimeSpan""" 
4242         return _misc_
.TimeSpan_Week(*args
, **kwargs
) 
4244     Week 
= staticmethod(Week
) 
4245     def __init__(self
, *args
, **kwargs
):  
4246         """__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan""" 
4247         _misc_
.TimeSpan_swiginit(self
,_misc_
.new_TimeSpan(*args
, **kwargs
)) 
4248     __swig_destroy__ 
= _misc_
.delete_TimeSpan
 
4249     __del__ 
= lambda self 
: None; 
4250     def Add(*args
, **kwargs
): 
4251         """Add(self, TimeSpan diff) -> TimeSpan""" 
4252         return _misc_
.TimeSpan_Add(*args
, **kwargs
) 
4254     def Subtract(*args
, **kwargs
): 
4255         """Subtract(self, TimeSpan diff) -> TimeSpan""" 
4256         return _misc_
.TimeSpan_Subtract(*args
, **kwargs
) 
4258     def Multiply(*args
, **kwargs
): 
4259         """Multiply(self, int n) -> TimeSpan""" 
4260         return _misc_
.TimeSpan_Multiply(*args
, **kwargs
) 
4262     def Neg(*args
, **kwargs
): 
4263         """Neg(self) -> TimeSpan""" 
4264         return _misc_
.TimeSpan_Neg(*args
, **kwargs
) 
4266     def Abs(*args
, **kwargs
): 
4267         """Abs(self) -> TimeSpan""" 
4268         return _misc_
.TimeSpan_Abs(*args
, **kwargs
) 
4270     def __iadd__(*args
, **kwargs
): 
4271         """__iadd__(self, TimeSpan diff) -> TimeSpan""" 
4272         return _misc_
.TimeSpan___iadd__(*args
, **kwargs
) 
4274     def __isub__(*args
, **kwargs
): 
4275         """__isub__(self, TimeSpan diff) -> TimeSpan""" 
4276         return _misc_
.TimeSpan___isub__(*args
, **kwargs
) 
4278     def __imul__(*args
, **kwargs
): 
4279         """__imul__(self, int n) -> TimeSpan""" 
4280         return _misc_
.TimeSpan___imul__(*args
, **kwargs
) 
4282     def __neg__(*args
, **kwargs
): 
4283         """__neg__(self) -> TimeSpan""" 
4284         return _misc_
.TimeSpan___neg__(*args
, **kwargs
) 
4286     def __add__(*args
, **kwargs
): 
4287         """__add__(self, TimeSpan other) -> TimeSpan""" 
4288         return _misc_
.TimeSpan___add__(*args
, **kwargs
) 
4290     def __sub__(*args
, **kwargs
): 
4291         """__sub__(self, TimeSpan other) -> TimeSpan""" 
4292         return _misc_
.TimeSpan___sub__(*args
, **kwargs
) 
4294     def __mul__(*args
, **kwargs
): 
4295         """__mul__(self, int n) -> TimeSpan""" 
4296         return _misc_
.TimeSpan___mul__(*args
, **kwargs
) 
4298     def __rmul__(*args
, **kwargs
): 
4299         """__rmul__(self, int n) -> TimeSpan""" 
4300         return _misc_
.TimeSpan___rmul__(*args
, **kwargs
) 
4302     def __lt__(*args
, **kwargs
): 
4303         """__lt__(self, TimeSpan other) -> bool""" 
4304         return _misc_
.TimeSpan___lt__(*args
, **kwargs
) 
4306     def __le__(*args
, **kwargs
): 
4307         """__le__(self, TimeSpan other) -> bool""" 
4308         return _misc_
.TimeSpan___le__(*args
, **kwargs
) 
4310     def __gt__(*args
, **kwargs
): 
4311         """__gt__(self, TimeSpan other) -> bool""" 
4312         return _misc_
.TimeSpan___gt__(*args
, **kwargs
) 
4314     def __ge__(*args
, **kwargs
): 
4315         """__ge__(self, TimeSpan other) -> bool""" 
4316         return _misc_
.TimeSpan___ge__(*args
, **kwargs
) 
4318     def __eq__(*args
, **kwargs
): 
4319         """__eq__(self, TimeSpan other) -> bool""" 
4320         return _misc_
.TimeSpan___eq__(*args
, **kwargs
) 
4322     def __ne__(*args
, **kwargs
): 
4323         """__ne__(self, TimeSpan other) -> bool""" 
4324         return _misc_
.TimeSpan___ne__(*args
, **kwargs
) 
4326     def IsNull(*args
, **kwargs
): 
4327         """IsNull(self) -> bool""" 
4328         return _misc_
.TimeSpan_IsNull(*args
, **kwargs
) 
4330     def IsPositive(*args
, **kwargs
): 
4331         """IsPositive(self) -> bool""" 
4332         return _misc_
.TimeSpan_IsPositive(*args
, **kwargs
) 
4334     def IsNegative(*args
, **kwargs
): 
4335         """IsNegative(self) -> bool""" 
4336         return _misc_
.TimeSpan_IsNegative(*args
, **kwargs
) 
4338     def IsEqualTo(*args
, **kwargs
): 
4339         """IsEqualTo(self, TimeSpan ts) -> bool""" 
4340         return _misc_
.TimeSpan_IsEqualTo(*args
, **kwargs
) 
4342     def IsLongerThan(*args
, **kwargs
): 
4343         """IsLongerThan(self, TimeSpan ts) -> bool""" 
4344         return _misc_
.TimeSpan_IsLongerThan(*args
, **kwargs
) 
4346     def IsShorterThan(*args
, **kwargs
): 
4347         """IsShorterThan(self, TimeSpan t) -> bool""" 
4348         return _misc_
.TimeSpan_IsShorterThan(*args
, **kwargs
) 
4350     def GetWeeks(*args
, **kwargs
): 
4351         """GetWeeks(self) -> int""" 
4352         return _misc_
.TimeSpan_GetWeeks(*args
, **kwargs
) 
4354     def GetDays(*args
, **kwargs
): 
4355         """GetDays(self) -> int""" 
4356         return _misc_
.TimeSpan_GetDays(*args
, **kwargs
) 
4358     def GetHours(*args
, **kwargs
): 
4359         """GetHours(self) -> int""" 
4360         return _misc_
.TimeSpan_GetHours(*args
, **kwargs
) 
4362     def GetMinutes(*args
, **kwargs
): 
4363         """GetMinutes(self) -> int""" 
4364         return _misc_
.TimeSpan_GetMinutes(*args
, **kwargs
) 
4366     def GetSeconds(*args
, **kwargs
): 
4367         """GetSeconds(self) -> wxLongLong""" 
4368         return _misc_
.TimeSpan_GetSeconds(*args
, **kwargs
) 
4370     def GetMilliseconds(*args
, **kwargs
): 
4371         """GetMilliseconds(self) -> wxLongLong""" 
4372         return _misc_
.TimeSpan_GetMilliseconds(*args
, **kwargs
) 
4374     def Format(*args
, **kwargs
): 
4375         """Format(self, String format=DefaultTimeSpanFormat) -> String""" 
4376         return _misc_
.TimeSpan_Format(*args
, **kwargs
) 
4379         f 
= self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4380         return '<wx.TimeSpan: \"%s\" at %s>' % ( f
, self
.this
) 
4382         return self
.Format().encode(wx
.GetDefaultPyEncoding()) 
4384     days 
= property(GetDays
,doc
="See `GetDays`")  
4385     hours 
= property(GetHours
,doc
="See `GetHours`")  
4386     milliseconds 
= property(GetMilliseconds
,doc
="See `GetMilliseconds`")  
4387     minutes 
= property(GetMinutes
,doc
="See `GetMinutes`")  
4388     seconds 
= property(GetSeconds
,doc
="See `GetSeconds`")  
4389     weeks 
= property(GetWeeks
,doc
="See `GetWeeks`")  
4390 _misc_
.TimeSpan_swigregister(TimeSpan
) 
4392 def TimeSpan_Milliseconds(*args
, **kwargs
): 
4393   """TimeSpan_Milliseconds(long ms) -> TimeSpan""" 
4394   return _misc_
.TimeSpan_Milliseconds(*args
, **kwargs
) 
4396 def TimeSpan_Millisecond(*args
): 
4397   """TimeSpan_Millisecond() -> TimeSpan""" 
4398   return _misc_
.TimeSpan_Millisecond(*args
) 
4400 def TimeSpan_Seconds(*args
, **kwargs
): 
4401   """TimeSpan_Seconds(long sec) -> TimeSpan""" 
4402   return _misc_
.TimeSpan_Seconds(*args
, **kwargs
) 
4404 def TimeSpan_Second(*args
): 
4405   """TimeSpan_Second() -> TimeSpan""" 
4406   return _misc_
.TimeSpan_Second(*args
) 
4408 def TimeSpan_Minutes(*args
, **kwargs
): 
4409   """TimeSpan_Minutes(long min) -> TimeSpan""" 
4410   return _misc_
.TimeSpan_Minutes(*args
, **kwargs
) 
4412 def TimeSpan_Minute(*args
): 
4413   """TimeSpan_Minute() -> TimeSpan""" 
4414   return _misc_
.TimeSpan_Minute(*args
) 
4416 def TimeSpan_Hours(*args
, **kwargs
): 
4417   """TimeSpan_Hours(long hours) -> TimeSpan""" 
4418   return _misc_
.TimeSpan_Hours(*args
, **kwargs
) 
4420 def TimeSpan_Hour(*args
): 
4421   """TimeSpan_Hour() -> TimeSpan""" 
4422   return _misc_
.TimeSpan_Hour(*args
) 
4424 def TimeSpan_Days(*args
, **kwargs
): 
4425   """TimeSpan_Days(long days) -> TimeSpan""" 
4426   return _misc_
.TimeSpan_Days(*args
, **kwargs
) 
4428 def TimeSpan_Day(*args
): 
4429   """TimeSpan_Day() -> TimeSpan""" 
4430   return _misc_
.TimeSpan_Day(*args
) 
4432 def TimeSpan_Weeks(*args
, **kwargs
): 
4433   """TimeSpan_Weeks(long days) -> TimeSpan""" 
4434   return _misc_
.TimeSpan_Weeks(*args
, **kwargs
) 
4436 def TimeSpan_Week(*args
): 
4437   """TimeSpan_Week() -> TimeSpan""" 
4438   return _misc_
.TimeSpan_Week(*args
) 
4440 class DateSpan(object): 
4441     """Proxy of C++ DateSpan class""" 
4442     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4443     __repr__ 
= _swig_repr
 
4444     def __init__(self
, *args
, **kwargs
):  
4445         """__init__(self, int years=0, int months=0, int weeks=0, int days=0) -> DateSpan""" 
4446         _misc_
.DateSpan_swiginit(self
,_misc_
.new_DateSpan(*args
, **kwargs
)) 
4447     __swig_destroy__ 
= _misc_
.delete_DateSpan
 
4448     __del__ 
= lambda self 
: None; 
4449     def Days(*args
, **kwargs
): 
4450         """Days(int days) -> DateSpan""" 
4451         return _misc_
.DateSpan_Days(*args
, **kwargs
) 
4453     Days 
= staticmethod(Days
) 
4454     def Day(*args
, **kwargs
): 
4455         """Day() -> DateSpan""" 
4456         return _misc_
.DateSpan_Day(*args
, **kwargs
) 
4458     Day 
= staticmethod(Day
) 
4459     def Weeks(*args
, **kwargs
): 
4460         """Weeks(int weeks) -> DateSpan""" 
4461         return _misc_
.DateSpan_Weeks(*args
, **kwargs
) 
4463     Weeks 
= staticmethod(Weeks
) 
4464     def Week(*args
, **kwargs
): 
4465         """Week() -> DateSpan""" 
4466         return _misc_
.DateSpan_Week(*args
, **kwargs
) 
4468     Week 
= staticmethod(Week
) 
4469     def Months(*args
, **kwargs
): 
4470         """Months(int mon) -> DateSpan""" 
4471         return _misc_
.DateSpan_Months(*args
, **kwargs
) 
4473     Months 
= staticmethod(Months
) 
4474     def Month(*args
, **kwargs
): 
4475         """Month() -> DateSpan""" 
4476         return _misc_
.DateSpan_Month(*args
, **kwargs
) 
4478     Month 
= staticmethod(Month
) 
4479     def Years(*args
, **kwargs
): 
4480         """Years(int years) -> DateSpan""" 
4481         return _misc_
.DateSpan_Years(*args
, **kwargs
) 
4483     Years 
= staticmethod(Years
) 
4484     def Year(*args
, **kwargs
): 
4485         """Year() -> DateSpan""" 
4486         return _misc_
.DateSpan_Year(*args
, **kwargs
) 
4488     Year 
= staticmethod(Year
) 
4489     def SetYears(*args
, **kwargs
): 
4490         """SetYears(self, int n) -> DateSpan""" 
4491         return _misc_
.DateSpan_SetYears(*args
, **kwargs
) 
4493     def SetMonths(*args
, **kwargs
): 
4494         """SetMonths(self, int n) -> DateSpan""" 
4495         return _misc_
.DateSpan_SetMonths(*args
, **kwargs
) 
4497     def SetWeeks(*args
, **kwargs
): 
4498         """SetWeeks(self, int n) -> DateSpan""" 
4499         return _misc_
.DateSpan_SetWeeks(*args
, **kwargs
) 
4501     def SetDays(*args
, **kwargs
): 
4502         """SetDays(self, int n) -> DateSpan""" 
4503         return _misc_
.DateSpan_SetDays(*args
, **kwargs
) 
4505     def GetYears(*args
, **kwargs
): 
4506         """GetYears(self) -> int""" 
4507         return _misc_
.DateSpan_GetYears(*args
, **kwargs
) 
4509     def GetMonths(*args
, **kwargs
): 
4510         """GetMonths(self) -> int""" 
4511         return _misc_
.DateSpan_GetMonths(*args
, **kwargs
) 
4513     def GetWeeks(*args
, **kwargs
): 
4514         """GetWeeks(self) -> int""" 
4515         return _misc_
.DateSpan_GetWeeks(*args
, **kwargs
) 
4517     def GetDays(*args
, **kwargs
): 
4518         """GetDays(self) -> int""" 
4519         return _misc_
.DateSpan_GetDays(*args
, **kwargs
) 
4521     def GetTotalDays(*args
, **kwargs
): 
4522         """GetTotalDays(self) -> int""" 
4523         return _misc_
.DateSpan_GetTotalDays(*args
, **kwargs
) 
4525     def Add(*args
, **kwargs
): 
4526         """Add(self, DateSpan other) -> DateSpan""" 
4527         return _misc_
.DateSpan_Add(*args
, **kwargs
) 
4529     def Subtract(*args
, **kwargs
): 
4530         """Subtract(self, DateSpan other) -> DateSpan""" 
4531         return _misc_
.DateSpan_Subtract(*args
, **kwargs
) 
4533     def Neg(*args
, **kwargs
): 
4534         """Neg(self) -> DateSpan""" 
4535         return _misc_
.DateSpan_Neg(*args
, **kwargs
) 
4537     def Multiply(*args
, **kwargs
): 
4538         """Multiply(self, int factor) -> DateSpan""" 
4539         return _misc_
.DateSpan_Multiply(*args
, **kwargs
) 
4541     def __iadd__(*args
, **kwargs
): 
4542         """__iadd__(self, DateSpan other) -> DateSpan""" 
4543         return _misc_
.DateSpan___iadd__(*args
, **kwargs
) 
4545     def __isub__(*args
, **kwargs
): 
4546         """__isub__(self, DateSpan other) -> DateSpan""" 
4547         return _misc_
.DateSpan___isub__(*args
, **kwargs
) 
4549     def __neg__(*args
, **kwargs
): 
4550         """__neg__(self) -> DateSpan""" 
4551         return _misc_
.DateSpan___neg__(*args
, **kwargs
) 
4553     def __imul__(*args
, **kwargs
): 
4554         """__imul__(self, int factor) -> DateSpan""" 
4555         return _misc_
.DateSpan___imul__(*args
, **kwargs
) 
4557     def __add__(*args
, **kwargs
): 
4558         """__add__(self, DateSpan other) -> DateSpan""" 
4559         return _misc_
.DateSpan___add__(*args
, **kwargs
) 
4561     def __sub__(*args
, **kwargs
): 
4562         """__sub__(self, DateSpan other) -> DateSpan""" 
4563         return _misc_
.DateSpan___sub__(*args
, **kwargs
) 
4565     def __mul__(*args
, **kwargs
): 
4566         """__mul__(self, int n) -> DateSpan""" 
4567         return _misc_
.DateSpan___mul__(*args
, **kwargs
) 
4569     def __rmul__(*args
, **kwargs
): 
4570         """__rmul__(self, int n) -> DateSpan""" 
4571         return _misc_
.DateSpan___rmul__(*args
, **kwargs
) 
4573     def __eq__(*args
, **kwargs
): 
4574         """__eq__(self, DateSpan other) -> bool""" 
4575         return _misc_
.DateSpan___eq__(*args
, **kwargs
) 
4577     def __ne__(*args
, **kwargs
): 
4578         """__ne__(self, DateSpan other) -> bool""" 
4579         return _misc_
.DateSpan___ne__(*args
, **kwargs
) 
4581     days 
= property(GetDays
,SetDays
,doc
="See `GetDays` and `SetDays`")  
4582     months 
= property(GetMonths
,SetMonths
,doc
="See `GetMonths` and `SetMonths`")  
4583     totalDays 
= property(GetTotalDays
,doc
="See `GetTotalDays`")  
4584     weeks 
= property(GetWeeks
,SetWeeks
,doc
="See `GetWeeks` and `SetWeeks`")  
4585     years 
= property(GetYears
,SetYears
,doc
="See `GetYears` and `SetYears`")  
4586 _misc_
.DateSpan_swigregister(DateSpan
) 
4588 def DateSpan_Days(*args
, **kwargs
): 
4589   """DateSpan_Days(int days) -> DateSpan""" 
4590   return _misc_
.DateSpan_Days(*args
, **kwargs
) 
4592 def DateSpan_Day(*args
): 
4593   """DateSpan_Day() -> DateSpan""" 
4594   return _misc_
.DateSpan_Day(*args
) 
4596 def DateSpan_Weeks(*args
, **kwargs
): 
4597   """DateSpan_Weeks(int weeks) -> DateSpan""" 
4598   return _misc_
.DateSpan_Weeks(*args
, **kwargs
) 
4600 def DateSpan_Week(*args
): 
4601   """DateSpan_Week() -> DateSpan""" 
4602   return _misc_
.DateSpan_Week(*args
) 
4604 def DateSpan_Months(*args
, **kwargs
): 
4605   """DateSpan_Months(int mon) -> DateSpan""" 
4606   return _misc_
.DateSpan_Months(*args
, **kwargs
) 
4608 def DateSpan_Month(*args
): 
4609   """DateSpan_Month() -> DateSpan""" 
4610   return _misc_
.DateSpan_Month(*args
) 
4612 def DateSpan_Years(*args
, **kwargs
): 
4613   """DateSpan_Years(int years) -> DateSpan""" 
4614   return _misc_
.DateSpan_Years(*args
, **kwargs
) 
4616 def DateSpan_Year(*args
): 
4617   """DateSpan_Year() -> DateSpan""" 
4618   return _misc_
.DateSpan_Year(*args
) 
4621 def GetLocalTime(*args
): 
4622   """GetLocalTime() -> long""" 
4623   return _misc_
.GetLocalTime(*args
) 
4625 def GetUTCTime(*args
): 
4626   """GetUTCTime() -> long""" 
4627   return _misc_
.GetUTCTime(*args
) 
4629 def GetCurrentTime(*args
): 
4630   """GetCurrentTime() -> long""" 
4631   return _misc_
.GetCurrentTime(*args
) 
4633 def GetLocalTimeMillis(*args
): 
4634   """GetLocalTimeMillis() -> wxLongLong""" 
4635   return _misc_
.GetLocalTimeMillis(*args
) 
4636 #--------------------------------------------------------------------------- 
4638 DF_INVALID 
= _misc_
.DF_INVALID
 
4639 DF_TEXT 
= _misc_
.DF_TEXT
 
4640 DF_BITMAP 
= _misc_
.DF_BITMAP
 
4641 DF_METAFILE 
= _misc_
.DF_METAFILE
 
4642 DF_SYLK 
= _misc_
.DF_SYLK
 
4643 DF_DIF 
= _misc_
.DF_DIF
 
4644 DF_TIFF 
= _misc_
.DF_TIFF
 
4645 DF_OEMTEXT 
= _misc_
.DF_OEMTEXT
 
4646 DF_DIB 
= _misc_
.DF_DIB
 
4647 DF_PALETTE 
= _misc_
.DF_PALETTE
 
4648 DF_PENDATA 
= _misc_
.DF_PENDATA
 
4649 DF_RIFF 
= _misc_
.DF_RIFF
 
4650 DF_WAVE 
= _misc_
.DF_WAVE
 
4651 DF_UNICODETEXT 
= _misc_
.DF_UNICODETEXT
 
4652 DF_ENHMETAFILE 
= _misc_
.DF_ENHMETAFILE
 
4653 DF_FILENAME 
= _misc_
.DF_FILENAME
 
4654 DF_LOCALE 
= _misc_
.DF_LOCALE
 
4655 DF_PRIVATE 
= _misc_
.DF_PRIVATE
 
4656 DF_HTML 
= _misc_
.DF_HTML
 
4657 DF_MAX 
= _misc_
.DF_MAX
 
4658 class DataFormat(object): 
4660     A wx.DataFormat is an encapsulation of a platform-specific format 
4661     handle which is used by the system for the clipboard and drag and drop 
4662     operations. The applications are usually only interested in, for 
4663     example, pasting data from the clipboard only if the data is in a 
4664     format the program understands.  A data format is is used to uniquely 
4665     identify this format. 
4667     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4668     __repr__ 
= _swig_repr
 
4669     def __init__(self
, *args
, **kwargs
):  
4671         __init__(self, int type) -> DataFormat 
4673         Constructs a data format object for one of the standard data formats 
4674         or an empty data object (use SetType or SetId later in this case) 
4676         _misc_
.DataFormat_swiginit(self
,_misc_
.new_DataFormat(*args
, **kwargs
)) 
4677     __swig_destroy__ 
= _misc_
.delete_DataFormat
 
4678     __del__ 
= lambda self 
: None; 
4681         __eq__(self, int format) -> bool 
4682         __eq__(self, DataFormat format) -> bool 
4684         return _misc_
.DataFormat___eq__(*args
) 
4688         __ne__(self, int format) -> bool 
4689         __ne__(self, DataFormat format) -> bool 
4691         return _misc_
.DataFormat___ne__(*args
) 
4693     def SetType(*args
, **kwargs
): 
4695         SetType(self, int format) 
4697         Sets the format to the given value, which should be one of wx.DF_XXX 
4700         return _misc_
.DataFormat_SetType(*args
, **kwargs
) 
4702     def GetType(*args
, **kwargs
): 
4704         GetType(self) -> int 
4706         Returns the platform-specific number identifying the format. 
4708         return _misc_
.DataFormat_GetType(*args
, **kwargs
) 
4710     def _GetId(*args
, **kwargs
): 
4711         """_GetId(self) -> String""" 
4712         return _misc_
.DataFormat__GetId(*args
, **kwargs
) 
4715         """Returns the name of a custom format (this function will fail for a 
4717         nolog 
= wx
.LogNull() 
4718         return self
._GetId
() 
4720     def SetId(*args
, **kwargs
): 
4722         SetId(self, String format) 
4724         Sets the format to be the custom format identified by the given name. 
4726         return _misc_
.DataFormat_SetId(*args
, **kwargs
) 
4728     Id 
= property(GetId
,SetId
,doc
="See `GetId` and `SetId`")  
4729     Type 
= property(GetType
,SetType
,doc
="See `GetType` and `SetType`")  
4730 _misc_
.DataFormat_swigregister(DataFormat
) 
4731 DefaultDateTime 
= cvar
.DefaultDateTime
 
4733 def CustomDataFormat(*args
, **kwargs
): 
4735     CustomDataFormat(String format) -> DataFormat 
4737     Constructs a data format object for a custom format identified by its 
4740     val 
= _misc_
.new_CustomDataFormat(*args
, **kwargs
) 
4743 class DataObject(object): 
4745     A wx.DataObject represents data that can be copied to or from the 
4746     clipboard, or dragged and dropped. The important thing about 
4747     wx.DataObject is that this is a 'smart' piece of data unlike usual 
4748     'dumb' data containers such as memory buffers or files. Being 'smart' 
4749     here means that the data object itself should know what data formats 
4750     it supports and how to render itself in each of supported formats. 
4752     **NOTE**: This class is an abstract base class and can not be used 
4753     directly from Python.  If you need a custom type of data object then 
4754     you should instead derive from `wx.PyDataObjectSimple` or use 
4755     `wx.CustomDataObject`. 
4758     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4759     def __init__(self
): raise AttributeError, "No constructor defined" 
4760     __repr__ 
= _swig_repr
 
4761     Get 
= _misc_
.DataObject_Get
 
4762     Set 
= _misc_
.DataObject_Set
 
4763     Both 
= _misc_
.DataObject_Both
 
4764     __swig_destroy__ 
= _misc_
.delete_DataObject
 
4765     __del__ 
= lambda self 
: None; 
4766     def GetPreferredFormat(*args
, **kwargs
): 
4768         GetPreferredFormat(self, int dir=Get) -> DataFormat 
4770         Returns the preferred format for either rendering the data (if dir is 
4771         Get, its default value) or for setting it. Usually this will be the 
4772         native format of the wx.DataObject. 
4774         return _misc_
.DataObject_GetPreferredFormat(*args
, **kwargs
) 
4776     def GetFormatCount(*args
, **kwargs
): 
4778         GetFormatCount(self, int dir=Get) -> size_t 
4780         Returns the number of available formats for rendering or setting the 
4783         return _misc_
.DataObject_GetFormatCount(*args
, **kwargs
) 
4785     def IsSupported(*args
, **kwargs
): 
4787         IsSupported(self, DataFormat format, int dir=Get) -> bool 
4789         Returns True if this format is supported. 
4791         return _misc_
.DataObject_IsSupported(*args
, **kwargs
) 
4793     def GetDataSize(*args
, **kwargs
): 
4795         GetDataSize(self, DataFormat format) -> size_t 
4797         Get the (total) size of data for the given format 
4799         return _misc_
.DataObject_GetDataSize(*args
, **kwargs
) 
4801     def GetAllFormats(*args
, **kwargs
): 
4803         GetAllFormats(self, int dir=Get) -> [formats] 
4805         Returns a list of all the wx.DataFormats that this dataobject supports 
4806         in the given direction. 
4808         return _misc_
.DataObject_GetAllFormats(*args
, **kwargs
) 
4810     def GetDataHere(*args
, **kwargs
): 
4812         GetDataHere(self, DataFormat format) -> String 
4814         Get the data bytes in the specified format, returns None on failure. 
4816         return _misc_
.DataObject_GetDataHere(*args
, **kwargs
) 
4818     def SetData(*args
, **kwargs
): 
4820         SetData(self, DataFormat format, String data) -> bool 
4822         Set the data in the specified format from the bytes in the the data string. 
4825         return _misc_
.DataObject_SetData(*args
, **kwargs
) 
4827     AllFormats 
= property(GetAllFormats
,doc
="See `GetAllFormats`")  
4828     DataHere 
= property(GetDataHere
,doc
="See `GetDataHere`")  
4829     DataSize 
= property(GetDataSize
,doc
="See `GetDataSize`")  
4830     FormatCount 
= property(GetFormatCount
,doc
="See `GetFormatCount`")  
4831     PreferredFormat 
= property(GetPreferredFormat
,doc
="See `GetPreferredFormat`")  
4832 _misc_
.DataObject_swigregister(DataObject
) 
4833 FormatInvalid 
= cvar
.FormatInvalid
 
4835 class DataObjectSimple(DataObject
): 
4837     wx.DataObjectSimple is a `wx.DataObject` which only supports one 
4838     format.  This is the simplest possible `wx.DataObject` implementation. 
4840     This is still an "abstract base class" meaning that you can't use it 
4841     directly.  You either need to use one of the predefined base classes, 
4842     or derive your own class from `wx.PyDataObjectSimple`. 
4845     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4846     __repr__ 
= _swig_repr
 
4847     def __init__(self
, *args
, **kwargs
):  
4849         __init__(self, DataFormat format=FormatInvalid) -> DataObjectSimple 
4851         Constructor accepts the supported format (none by default) which may 
4852         also be set later with `SetFormat`. 
4854         _misc_
.DataObjectSimple_swiginit(self
,_misc_
.new_DataObjectSimple(*args
, **kwargs
)) 
4855     def GetFormat(*args
, **kwargs
): 
4857         GetFormat(self) -> DataFormat 
4859         Returns the (one and only one) format supported by this object. It is 
4860         assumed that the format is supported in both directions. 
4862         return _misc_
.DataObjectSimple_GetFormat(*args
, **kwargs
) 
4864     def SetFormat(*args
, **kwargs
): 
4866         SetFormat(self, DataFormat format) 
4868         Sets the supported format. 
4870         return _misc_
.DataObjectSimple_SetFormat(*args
, **kwargs
) 
4872     def GetDataSize(*args
, **kwargs
): 
4874         GetDataSize(self) -> size_t 
4876         Get the size of our data. 
4878         return _misc_
.DataObjectSimple_GetDataSize(*args
, **kwargs
) 
4880     def GetDataHere(*args
, **kwargs
): 
4882         GetDataHere(self) -> String 
4884         Returns the data bytes from the data object as a string, returns None 
4885         on failure.  Must be implemented in the derived class if the object 
4886         supports rendering its data. 
4888         return _misc_
.DataObjectSimple_GetDataHere(*args
, **kwargs
) 
4890     def SetData(*args
, **kwargs
): 
4892         SetData(self, String data) -> bool 
4894         Copy the data value to the data object.  Must be implemented in the 
4895         derived class if the object supports setting its data. 
4898         return _misc_
.DataObjectSimple_SetData(*args
, **kwargs
) 
4900     Format 
= property(GetFormat
,SetFormat
,doc
="See `GetFormat` and `SetFormat`")  
4901 _misc_
.DataObjectSimple_swigregister(DataObjectSimple
) 
4903 class PyDataObjectSimple(DataObjectSimple
): 
4905     wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` 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 `GetDataSize`, `GetDataHere` and `SetData` when you 
4909     need to create your own simple single-format type of `wx.DataObject`. 
4912     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4913     __repr__ 
= _swig_repr
 
4914     def __init__(self
, *args
, **kwargs
):  
4916         __init__(self, DataFormat format=FormatInvalid) -> PyDataObjectSimple 
4918         wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is 
4919         Python-aware and knows how to reflect calls to its C++ virtual methods 
4920         to methods in the Python derived class.  You should derive from this 
4921         class and overload `GetDataSize`, `GetDataHere` and `SetData` when you 
4922         need to create your own simple single-format type of `wx.DataObject`. 
4925         _misc_
.PyDataObjectSimple_swiginit(self
,_misc_
.new_PyDataObjectSimple(*args
, **kwargs
)) 
4926         PyDataObjectSimple
._setCallbackInfo
(self
, self
, PyDataObjectSimple
) 
4928     def _setCallbackInfo(*args
, **kwargs
): 
4929         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
4930         return _misc_
.PyDataObjectSimple__setCallbackInfo(*args
, **kwargs
) 
4932 _misc_
.PyDataObjectSimple_swigregister(PyDataObjectSimple
) 
4934 class DataObjectComposite(DataObject
): 
4936     wx.DataObjectComposite is the simplest `wx.DataObject` derivation 
4937     which may be sued to support multiple formats. It contains several 
4938     'wx.DataObjectSimple` objects and supports any format supported by at 
4939     least one of them. Only one of these data objects is *preferred* (the 
4940     first one if not explicitly changed by using the second parameter of 
4941     `Add`) and its format determines the preferred format of the composite 
4942     data object as well. 
4944     See `wx.DataObject` documentation for the reasons why you might prefer 
4945     to use wx.DataObject directly instead of wx.DataObjectComposite for 
4949     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4950     __repr__ 
= _swig_repr
 
4951     def __init__(self
, *args
, **kwargs
):  
4953         __init__(self) -> DataObjectComposite 
4955         wx.DataObjectComposite is the simplest `wx.DataObject` derivation 
4956         which may be sued to support multiple formats. It contains several 
4957         'wx.DataObjectSimple` objects and supports any format supported by at 
4958         least one of them. Only one of these data objects is *preferred* (the 
4959         first one if not explicitly changed by using the second parameter of 
4960         `Add`) and its format determines the preferred format of the composite 
4961         data object as well. 
4963         See `wx.DataObject` documentation for the reasons why you might prefer 
4964         to use wx.DataObject directly instead of wx.DataObjectComposite for 
4968         _misc_
.DataObjectComposite_swiginit(self
,_misc_
.new_DataObjectComposite(*args
, **kwargs
)) 
4969     def Add(*args
, **kwargs
): 
4971         Add(self, DataObjectSimple dataObject, bool preferred=False) 
4973         Adds the dataObject to the list of supported objects and it becomes 
4974         the preferred object if preferred is True. 
4976         return _misc_
.DataObjectComposite_Add(*args
, **kwargs
) 
4978     def GetReceivedFormat(*args
, **kwargs
): 
4980         GetReceivedFormat(self) -> DataFormat 
4982         Report the format passed to the `SetData` method.  This should be the 
4983         format of the data object within the composite that recieved data from 
4984         the clipboard or the DnD operation.  You can use this method to find 
4985         out what kind of data object was recieved. 
4987         return _misc_
.DataObjectComposite_GetReceivedFormat(*args
, **kwargs
) 
4989     ReceivedFormat 
= property(GetReceivedFormat
,doc
="See `GetReceivedFormat`")  
4990 _misc_
.DataObjectComposite_swigregister(DataObjectComposite
) 
4992 class TextDataObject(DataObjectSimple
): 
4994     wx.TextDataObject is a specialization of `wx.DataObject` for text 
4995     data. It can be used without change to paste data into the `wx.Clipboard` 
4996     or a `wx.DropSource`. 
4998     Alternativly, you may wish to derive a new class from the 
4999     `wx.PyTextDataObject` class for providing text on-demand in order to 
5000     minimize memory consumption when offering data in several formats, 
5001     such as plain text and RTF, because by default the text is stored in a 
5002     string in this class, but it might as well be generated on demand when 
5003     requested. For this, `GetTextLength` and `GetText` will have to be 
5006     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5007     __repr__ 
= _swig_repr
 
5008     def __init__(self
, *args
, **kwargs
):  
5010         __init__(self, String text=EmptyString) -> TextDataObject 
5012         Constructor, may be used to initialise the text (otherwise `SetText` 
5013         should be used later). 
5015         _misc_
.TextDataObject_swiginit(self
,_misc_
.new_TextDataObject(*args
, **kwargs
)) 
5016     def GetTextLength(*args
, **kwargs
): 
5018         GetTextLength(self) -> size_t 
5020         Returns the data size.  By default, returns the size of the text data 
5021         set in the constructor or using `SetText`.  This can be overridden (via 
5022         `wx.PyTextDataObject`) to provide text size data on-demand. It is 
5023         recommended to return the text length plus 1 for a trailing zero, but 
5024         this is not strictly required. 
5026         return _misc_
.TextDataObject_GetTextLength(*args
, **kwargs
) 
5028     def GetText(*args
, **kwargs
): 
5030         GetText(self) -> String 
5032         Returns the text associated with the data object. 
5034         return _misc_
.TextDataObject_GetText(*args
, **kwargs
) 
5036     def SetText(*args
, **kwargs
): 
5038         SetText(self, String text) 
5040         Sets the text associated with the data object. This method is called 
5041         when the data object receives the data and, by default, copies the 
5042         text into the member variable. If you want to process the text on the 
5043         fly you may wish to override this function (via 
5044         `wx.PyTextDataObject`.) 
5046         return _misc_
.TextDataObject_SetText(*args
, **kwargs
) 
5048     Text 
= property(GetText
,SetText
,doc
="See `GetText` and `SetText`")  
5049     TextLength 
= property(GetTextLength
,doc
="See `GetTextLength`")  
5050 _misc_
.TextDataObject_swigregister(TextDataObject
) 
5052 class PyTextDataObject(TextDataObject
): 
5054     wx.PyTextDataObject is a version of `wx.TextDataObject` that is 
5055     Python-aware and knows how to reflect calls to its C++ virtual methods 
5056     to methods in the Python derived class.  You should derive from this 
5057     class and overload `GetTextLength`, `GetText`, and `SetText` when you 
5058     want to be able to provide text on demand instead of preloading it 
5059     into the data object. 
5061     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5062     __repr__ 
= _swig_repr
 
5063     def __init__(self
, *args
, **kwargs
):  
5065         __init__(self, String text=EmptyString) -> PyTextDataObject 
5067         wx.PyTextDataObject is a version of `wx.TextDataObject` that is 
5068         Python-aware and knows how to reflect calls to its C++ virtual methods 
5069         to methods in the Python derived class.  You should derive from this 
5070         class and overload `GetTextLength`, `GetText`, and `SetText` when you 
5071         want to be able to provide text on demand instead of preloading it 
5072         into the data object. 
5074         _misc_
.PyTextDataObject_swiginit(self
,_misc_
.new_PyTextDataObject(*args
, **kwargs
)) 
5075         PyTextDataObject
._setCallbackInfo
(self
, self
, PyTextDataObject
) 
5077     def _setCallbackInfo(*args
, **kwargs
): 
5078         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5079         return _misc_
.PyTextDataObject__setCallbackInfo(*args
, **kwargs
) 
5081 _misc_
.PyTextDataObject_swigregister(PyTextDataObject
) 
5083 class BitmapDataObject(DataObjectSimple
): 
5085     wx.BitmapDataObject is a specialization of wxDataObject for bitmap 
5086     data. It can be used without change to paste data into the `wx.Clipboard` 
5087     or a `wx.DropSource`. 
5090     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5091     __repr__ 
= _swig_repr
 
5092     def __init__(self
, *args
, **kwargs
):  
5094         __init__(self, Bitmap bitmap=wxNullBitmap) -> BitmapDataObject 
5096         Constructor, optionally passing a bitmap (otherwise use `SetBitmap` 
5099         _misc_
.BitmapDataObject_swiginit(self
,_misc_
.new_BitmapDataObject(*args
, **kwargs
)) 
5100     def GetBitmap(*args
, **kwargs
): 
5102         GetBitmap(self) -> Bitmap 
5104         Returns the bitmap associated with the data object.  You may wish to 
5105         override this method (by deriving from `wx.PyBitmapDataObject`) when 
5106         offering data on-demand, but this is not required by wxWidgets' 
5107         internals. Use this method to get data in bitmap form from the 
5110         return _misc_
.BitmapDataObject_GetBitmap(*args
, **kwargs
) 
5112     def SetBitmap(*args
, **kwargs
): 
5114         SetBitmap(self, Bitmap bitmap) 
5116         Sets the bitmap associated with the data object. This method is called 
5117         when the data object receives data. Usually there will be no reason to 
5118         override this function. 
5120         return _misc_
.BitmapDataObject_SetBitmap(*args
, **kwargs
) 
5122     Bitmap 
= property(GetBitmap
,SetBitmap
,doc
="See `GetBitmap` and `SetBitmap`")  
5123 _misc_
.BitmapDataObject_swigregister(BitmapDataObject
) 
5125 class PyBitmapDataObject(BitmapDataObject
): 
5127     wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is 
5128     Python-aware and knows how to reflect calls to its C++ virtual methods 
5129     to methods in the Python derived class. To be able to provide bitmap 
5130     data on demand derive from this class and overload `GetBitmap`. 
5132     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5133     __repr__ 
= _swig_repr
 
5134     def __init__(self
, *args
, **kwargs
):  
5136         __init__(self, Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject 
5138         wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is 
5139         Python-aware and knows how to reflect calls to its C++ virtual methods 
5140         to methods in the Python derived class. To be able to provide bitmap 
5141         data on demand derive from this class and overload `GetBitmap`. 
5143         _misc_
.PyBitmapDataObject_swiginit(self
,_misc_
.new_PyBitmapDataObject(*args
, **kwargs
)) 
5144         PyBitmapDataObject
._setCallbackInfo
(self
, self
, PyBitmapDataObject
) 
5146     def _setCallbackInfo(*args
, **kwargs
): 
5147         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5148         return _misc_
.PyBitmapDataObject__setCallbackInfo(*args
, **kwargs
) 
5150 _misc_
.PyBitmapDataObject_swigregister(PyBitmapDataObject
) 
5152 class FileDataObject(DataObjectSimple
): 
5154     wx.FileDataObject is a specialization of `wx.DataObjectSimple` for 
5155     file names. The program works with it just as if it were a list of 
5156     absolute file names, but internally it uses the same format as 
5157     Explorer and other compatible programs under Windows or GNOME/KDE 
5158     filemanager under Unix which makes it possible to receive files from 
5159     them using this class. 
5161     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5162     __repr__ 
= _swig_repr
 
5163     def __init__(self
, *args
, **kwargs
):  
5164         """__init__(self) -> FileDataObject""" 
5165         _misc_
.FileDataObject_swiginit(self
,_misc_
.new_FileDataObject(*args
, **kwargs
)) 
5166     def GetFilenames(*args
, **kwargs
): 
5168         GetFilenames(self) -> [names] 
5170         Returns a list of file names. 
5172         return _misc_
.FileDataObject_GetFilenames(*args
, **kwargs
) 
5174     def AddFile(*args
, **kwargs
): 
5176         AddFile(self, String filename) 
5178         Adds a file to the list of files represented by this data object. 
5180         return _misc_
.FileDataObject_AddFile(*args
, **kwargs
) 
5182     Filenames 
= property(GetFilenames
,doc
="See `GetFilenames`")  
5183 _misc_
.FileDataObject_swigregister(FileDataObject
) 
5185 class CustomDataObject(DataObjectSimple
): 
5187     wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for 
5188     some application-specific data in arbitrary format.  Python strings 
5189     are used for getting and setting data, but any picklable object can 
5190     easily be transfered via strings.  A copy of the data is stored in the 
5193     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5194     __repr__ 
= _swig_repr
 
5195     def __init__(self
, *args
):  
5197         __init__(self, DataFormat format) -> CustomDataObject 
5198         __init__(self, String formatName) -> CustomDataObject 
5199         __init__(self) -> CustomDataObject 
5201         wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for 
5202         some application-specific data in arbitrary format.  Python strings 
5203         are used for getting and setting data, but any picklable object can 
5204         easily be transfered via strings.  A copy of the data is stored in the 
5207         _misc_
.CustomDataObject_swiginit(self
,_misc_
.new_CustomDataObject(*args
)) 
5208     def SetData(*args
, **kwargs
): 
5210         SetData(self, String data) -> bool 
5212         Copy the data value to the data object. 
5214         return _misc_
.CustomDataObject_SetData(*args
, **kwargs
) 
5217     def GetSize(*args
, **kwargs
): 
5219         GetSize(self) -> size_t 
5221         Get the size of the data. 
5223         return _misc_
.CustomDataObject_GetSize(*args
, **kwargs
) 
5225     def GetData(*args
, **kwargs
): 
5227         GetData(self) -> String 
5229         Returns the data bytes from the data object as a string. 
5231         return _misc_
.CustomDataObject_GetData(*args
, **kwargs
) 
5233     Data 
= property(GetData
,SetData
,doc
="See `GetData` and `SetData`")  
5234     Size 
= property(GetSize
,doc
="See `GetSize`")  
5235 _misc_
.CustomDataObject_swigregister(CustomDataObject
) 
5237 class URLDataObject(DataObject
): 
5239     This data object holds a URL in a format that is compatible with some 
5240     browsers such that it is able to be dragged to or from them. 
5242     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5243     __repr__ 
= _swig_repr
 
5244     def __init__(self
, *args
, **kwargs
):  
5246         __init__(self, String url=EmptyString) -> URLDataObject 
5248         This data object holds a URL in a format that is compatible with some 
5249         browsers such that it is able to be dragged to or from them. 
5251         _misc_
.URLDataObject_swiginit(self
,_misc_
.new_URLDataObject(*args
, **kwargs
)) 
5252     def GetURL(*args
, **kwargs
): 
5254         GetURL(self) -> String 
5256         Returns a string containing the current URL. 
5258         return _misc_
.URLDataObject_GetURL(*args
, **kwargs
) 
5260     def SetURL(*args
, **kwargs
): 
5262         SetURL(self, String url) 
5266         return _misc_
.URLDataObject_SetURL(*args
, **kwargs
) 
5268     URL 
= property(GetURL
,SetURL
,doc
="See `GetURL` and `SetURL`")  
5269 _misc_
.URLDataObject_swigregister(URLDataObject
) 
5271 class MetafileDataObject(DataObjectSimple
): 
5272     """Proxy of C++ MetafileDataObject class""" 
5273     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5274     __repr__ 
= _swig_repr
 
5275     def __init__(self
, *args
, **kwargs
):  
5276         """__init__(self) -> MetafileDataObject""" 
5277         _misc_
.MetafileDataObject_swiginit(self
,_misc_
.new_MetafileDataObject(*args
, **kwargs
)) 
5278 _misc_
.MetafileDataObject_swigregister(MetafileDataObject
) 
5280 #--------------------------------------------------------------------------- 
5282 Drag_CopyOnly 
= _misc_
.Drag_CopyOnly
 
5283 Drag_AllowMove 
= _misc_
.Drag_AllowMove
 
5284 Drag_DefaultMove 
= _misc_
.Drag_DefaultMove
 
5285 DragError 
= _misc_
.DragError
 
5286 DragNone 
= _misc_
.DragNone
 
5287 DragCopy 
= _misc_
.DragCopy
 
5288 DragMove 
= _misc_
.DragMove
 
5289 DragLink 
= _misc_
.DragLink
 
5290 DragCancel 
= _misc_
.DragCancel
 
5292 def IsDragResultOk(*args
, **kwargs
): 
5293   """IsDragResultOk(int res) -> bool""" 
5294   return _misc_
.IsDragResultOk(*args
, **kwargs
) 
5295 class DropSource(object): 
5296     """Proxy of C++ DropSource class""" 
5297     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5298     __repr__ 
= _swig_repr
 
5299     def __init__(self
, *args
, **kwargs
):  
5301         __init__(self, Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon,  
5302             Icon none=wxNullIcon) -> DropSource 
5304         _misc_
.DropSource_swiginit(self
,_misc_
.new_DropSource(*args
, **kwargs
)) 
5305         DropSource
._setCallbackInfo
(self
, self
, DropSource
) 
5307     def _setCallbackInfo(*args
, **kwargs
): 
5308         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=0)""" 
5309         return _misc_
.DropSource__setCallbackInfo(*args
, **kwargs
) 
5311     __swig_destroy__ 
= _misc_
.delete_DropSource
 
5312     __del__ 
= lambda self 
: None; 
5313     def SetData(*args
, **kwargs
): 
5314         """SetData(self, DataObject data)""" 
5315         return _misc_
.DropSource_SetData(*args
, **kwargs
) 
5317     def GetDataObject(*args
, **kwargs
): 
5318         """GetDataObject(self) -> DataObject""" 
5319         return _misc_
.DropSource_GetDataObject(*args
, **kwargs
) 
5321     def SetCursor(*args
, **kwargs
): 
5322         """SetCursor(self, int res, Cursor cursor)""" 
5323         return _misc_
.DropSource_SetCursor(*args
, **kwargs
) 
5325     def DoDragDrop(*args
, **kwargs
): 
5326         """DoDragDrop(self, int flags=Drag_CopyOnly) -> int""" 
5327         return _misc_
.DropSource_DoDragDrop(*args
, **kwargs
) 
5329     def GiveFeedback(*args
, **kwargs
): 
5330         """GiveFeedback(self, int effect) -> bool""" 
5331         return _misc_
.DropSource_GiveFeedback(*args
, **kwargs
) 
5333     def base_GiveFeedback(*args
, **kw
): 
5334         return DropSource
.GiveFeedback(*args
, **kw
) 
5335     base_GiveFeedback 
= wx
._deprecated
(base_GiveFeedback
, 
5336                                    "Please use DropSource.GiveFeedback instead.") 
5338     DataObject 
= property(GetDataObject
,SetData
,doc
="See `GetDataObject` and `SetData`")  
5339 _misc_
.DropSource_swigregister(DropSource
) 
5341 def DROP_ICON(filename
): 
5343     Returns either a `wx.Cursor` or `wx.Icon` created from the image file 
5344     ``filename``.  This function is useful with the `wx.DropSource` class 
5345     which, depending on platform accepts either a icon or a cursor. 
5347     img 
= wx
.Image(filename
) 
5348     if wx
.Platform 
== '__WXGTK__': 
5349         return wx
.IconFromBitmap(wx
.BitmapFromImage(img
)) 
5351         return wx
.CursorFromImage(img
) 
5353 class DropTarget(object): 
5354     """Proxy of C++ DropTarget class""" 
5355     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5356     __repr__ 
= _swig_repr
 
5357     def __init__(self
, *args
, **kwargs
):  
5358         """__init__(self, DataObject dataObject=None) -> DropTarget""" 
5359         _misc_
.DropTarget_swiginit(self
,_misc_
.new_DropTarget(*args
, **kwargs
)) 
5360         DropTarget
._setCallbackInfo
(self
, self
, DropTarget
) 
5362     def _setCallbackInfo(*args
, **kwargs
): 
5363         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5364         return _misc_
.DropTarget__setCallbackInfo(*args
, **kwargs
) 
5366     __swig_destroy__ 
= _misc_
.delete_DropTarget
 
5367     __del__ 
= lambda self 
: None; 
5368     def GetDataObject(*args
, **kwargs
): 
5369         """GetDataObject(self) -> DataObject""" 
5370         return _misc_
.DropTarget_GetDataObject(*args
, **kwargs
) 
5372     def SetDataObject(*args
, **kwargs
): 
5373         """SetDataObject(self, DataObject dataObject)""" 
5374         return _misc_
.DropTarget_SetDataObject(*args
, **kwargs
) 
5376     def OnEnter(*args
, **kwargs
): 
5377         """OnEnter(self, int x, int y, int def) -> int""" 
5378         return _misc_
.DropTarget_OnEnter(*args
, **kwargs
) 
5380     def OnDragOver(*args
, **kwargs
): 
5381         """OnDragOver(self, int x, int y, int def) -> int""" 
5382         return _misc_
.DropTarget_OnDragOver(*args
, **kwargs
) 
5384     def OnLeave(*args
, **kwargs
): 
5386         return _misc_
.DropTarget_OnLeave(*args
, **kwargs
) 
5388     def OnDrop(*args
, **kwargs
): 
5389         """OnDrop(self, int x, int y) -> bool""" 
5390         return _misc_
.DropTarget_OnDrop(*args
, **kwargs
) 
5392     def base_OnEnter(*args
, **kw
): 
5393         return DropTarget
.OnEnter(*args
, **kw
) 
5394     base_OnEnter 
= wx
._deprecated
(base_OnEnter
, 
5395                                    "Please use DropTarget.OnEnter instead.") 
5397     def base_OnDragOver(*args
, **kw
): 
5398         return DropTarget
.OnDragOver(*args
, **kw
) 
5399     base_OnDragOver 
= wx
._deprecated
(base_OnDragOver
, 
5400                                    "Please use DropTarget.OnDragOver instead.") 
5402     def base_OnLeave(*args
, **kw
): 
5403         return DropTarget
.OnLeave(*args
, **kw
) 
5404     base_OnLeave 
= wx
._deprecated
(base_OnLeave
, 
5405                                    "Please use DropTarget.OnLeave instead.") 
5407     def base_OnDrop(*args
, **kw
): 
5408         return DropTarget
.OnDrop(*args
, **kw
) 
5409     base_OnDrop 
= wx
._deprecated
(base_OnDrop
, 
5410                                    "Please use DropTarget.OnDrop instead.") 
5412     def GetData(*args
, **kwargs
): 
5413         """GetData(self) -> bool""" 
5414         return _misc_
.DropTarget_GetData(*args
, **kwargs
) 
5416     def SetDefaultAction(*args
, **kwargs
): 
5417         """SetDefaultAction(self, int action)""" 
5418         return _misc_
.DropTarget_SetDefaultAction(*args
, **kwargs
) 
5420     def GetDefaultAction(*args
, **kwargs
): 
5421         """GetDefaultAction(self) -> int""" 
5422         return _misc_
.DropTarget_GetDefaultAction(*args
, **kwargs
) 
5424     DataObject 
= property(GetDataObject
,SetDataObject
,doc
="See `GetDataObject` and `SetDataObject`")  
5425     DefaultAction 
= property(GetDefaultAction
,SetDefaultAction
,doc
="See `GetDefaultAction` and `SetDefaultAction`")  
5426 _misc_
.DropTarget_swigregister(DropTarget
) 
5428 PyDropTarget 
= DropTarget 
 
5429 class TextDropTarget(DropTarget
): 
5430     """Proxy of C++ TextDropTarget class""" 
5431     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5432     __repr__ 
= _swig_repr
 
5433     def __init__(self
, *args
, **kwargs
):  
5434         """__init__(self) -> TextDropTarget""" 
5435         _misc_
.TextDropTarget_swiginit(self
,_misc_
.new_TextDropTarget(*args
, **kwargs
)) 
5436         TextDropTarget
._setCallbackInfo
(self
, self
, TextDropTarget
) 
5438     def _setCallbackInfo(*args
, **kwargs
): 
5439         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5440         return _misc_
.TextDropTarget__setCallbackInfo(*args
, **kwargs
) 
5442     def OnDropText(*args
, **kwargs
): 
5443         """OnDropText(self, int x, int y, String text) -> bool""" 
5444         return _misc_
.TextDropTarget_OnDropText(*args
, **kwargs
) 
5446     def OnEnter(*args
, **kwargs
): 
5447         """OnEnter(self, int x, int y, int def) -> int""" 
5448         return _misc_
.TextDropTarget_OnEnter(*args
, **kwargs
) 
5450     def OnDragOver(*args
, **kwargs
): 
5451         """OnDragOver(self, int x, int y, int def) -> int""" 
5452         return _misc_
.TextDropTarget_OnDragOver(*args
, **kwargs
) 
5454     def OnLeave(*args
, **kwargs
): 
5456         return _misc_
.TextDropTarget_OnLeave(*args
, **kwargs
) 
5458     def OnDrop(*args
, **kwargs
): 
5459         """OnDrop(self, int x, int y) -> bool""" 
5460         return _misc_
.TextDropTarget_OnDrop(*args
, **kwargs
) 
5462     def OnData(*args
, **kwargs
): 
5463         """OnData(self, int x, int y, int def) -> int""" 
5464         return _misc_
.TextDropTarget_OnData(*args
, **kwargs
) 
5466     def base_OnDropText(*args
, **kw
): 
5467         return TextDropTarget
.OnDropText(*args
, **kw
) 
5468     base_OnDropText 
= wx
._deprecated
(base_OnDropText
, 
5469                                    "Please use TextDropTarget.OnDropText instead.") 
5471     def base_OnEnter(*args
, **kw
): 
5472         return TextDropTarget
.OnEnter(*args
, **kw
) 
5473     base_OnEnter 
= wx
._deprecated
(base_OnEnter
, 
5474                                    "Please use TextDropTarget.OnEnter instead.") 
5476     def base_OnDragOver(*args
, **kw
): 
5477         return TextDropTarget
.OnDragOver(*args
, **kw
) 
5478     base_OnDragOver 
= wx
._deprecated
(base_OnDragOver
, 
5479                                    "Please use TextDropTarget.OnDragOver instead.") 
5481     def base_OnLeave(*args
, **kw
): 
5482         return TextDropTarget
.OnLeave(*args
, **kw
) 
5483     base_OnLeave 
= wx
._deprecated
(base_OnLeave
, 
5484                                    "Please use TextDropTarget.OnLeave instead.") 
5486     def base_OnDrop(*args
, **kw
): 
5487         return TextDropTarget
.OnDrop(*args
, **kw
) 
5488     base_OnDrop 
= wx
._deprecated
(base_OnDrop
, 
5489                                    "Please use TextDropTarget.OnDrop instead.") 
5491     def base_OnData(*args
, **kw
): 
5492         return TextDropTarget
.OnData(*args
, **kw
) 
5493     base_OnData 
= wx
._deprecated
(base_OnData
, 
5494                                    "Please use TextDropTarget.OnData instead.") 
5496 _misc_
.TextDropTarget_swigregister(TextDropTarget
) 
5498 class FileDropTarget(DropTarget
): 
5499     """Proxy of C++ FileDropTarget class""" 
5500     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5501     __repr__ 
= _swig_repr
 
5502     def __init__(self
, *args
, **kwargs
):  
5503         """__init__(self) -> FileDropTarget""" 
5504         _misc_
.FileDropTarget_swiginit(self
,_misc_
.new_FileDropTarget(*args
, **kwargs
)) 
5505         FileDropTarget
._setCallbackInfo
(self
, self
, FileDropTarget
) 
5507     def _setCallbackInfo(*args
, **kwargs
): 
5508         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5509         return _misc_
.FileDropTarget__setCallbackInfo(*args
, **kwargs
) 
5511     def OnDropFiles(*args
, **kwargs
): 
5512         """OnDropFiles(self, int x, int y, wxArrayString filenames) -> bool""" 
5513         return _misc_
.FileDropTarget_OnDropFiles(*args
, **kwargs
) 
5515     def OnEnter(*args
, **kwargs
): 
5516         """OnEnter(self, int x, int y, int def) -> int""" 
5517         return _misc_
.FileDropTarget_OnEnter(*args
, **kwargs
) 
5519     def OnDragOver(*args
, **kwargs
): 
5520         """OnDragOver(self, int x, int y, int def) -> int""" 
5521         return _misc_
.FileDropTarget_OnDragOver(*args
, **kwargs
) 
5523     def OnLeave(*args
, **kwargs
): 
5525         return _misc_
.FileDropTarget_OnLeave(*args
, **kwargs
) 
5527     def OnDrop(*args
, **kwargs
): 
5528         """OnDrop(self, int x, int y) -> bool""" 
5529         return _misc_
.FileDropTarget_OnDrop(*args
, **kwargs
) 
5531     def OnData(*args
, **kwargs
): 
5532         """OnData(self, int x, int y, int def) -> int""" 
5533         return _misc_
.FileDropTarget_OnData(*args
, **kwargs
) 
5535     def base_OnDropFiles(*args
, **kw
): 
5536         return FileDropTarget
.OnDropFiles(*args
, **kw
) 
5537     base_OnDropFiles 
= wx
._deprecated
(base_OnDropFiles
, 
5538                                    "Please use FileDropTarget.OnDropFiles instead.") 
5540     def base_OnEnter(*args
, **kw
): 
5541         return FileDropTarget
.OnEnter(*args
, **kw
) 
5542     base_OnEnter 
= wx
._deprecated
(base_OnEnter
, 
5543                                    "Please use FileDropTarget.OnEnter instead.") 
5545     def base_OnDragOver(*args
, **kw
): 
5546         return FileDropTarget
.OnDragOver(*args
, **kw
) 
5547     base_OnDragOver 
= wx
._deprecated
(base_OnDragOver
, 
5548                                    "Please use FileDropTarget.OnDragOver instead.") 
5550     def base_OnLeave(*args
, **kw
): 
5551         return FileDropTarget
.OnLeave(*args
, **kw
) 
5552     base_OnLeave 
= wx
._deprecated
(base_OnLeave
, 
5553                                    "Please use FileDropTarget.OnLeave instead.") 
5555     def base_OnDrop(*args
, **kw
): 
5556         return FileDropTarget
.OnDrop(*args
, **kw
) 
5557     base_OnDrop 
= wx
._deprecated
(base_OnDrop
, 
5558                                    "Please use FileDropTarget.OnDrop instead.") 
5560     def base_OnData(*args
, **kw
): 
5561         return FileDropTarget
.OnData(*args
, **kw
) 
5562     base_OnData 
= wx
._deprecated
(base_OnData
, 
5563                                    "Please use FileDropTarget.OnData instead.") 
5565 _misc_
.FileDropTarget_swigregister(FileDropTarget
) 
5567 #--------------------------------------------------------------------------- 
5569 class Clipboard(_core
.Object
): 
5571     wx.Clipboard represents the system clipboard and provides methods to 
5572     copy data to it or paste data from it.  Normally, you should only use 
5573     ``wx.TheClipboard`` which is a reference to a global wx.Clipboard 
5576     Call ``wx.TheClipboard``'s `Open` method to get ownership of the 
5577     clipboard. If this operation returns True, you now own the 
5578     clipboard. Call `SetData` to put data on the clipboard, or `GetData` 
5579     to retrieve data from the clipboard.  Call `Close` to close the 
5580     clipboard and relinquish ownership. You should keep the clipboard open 
5583     :see: `wx.DataObject` 
5586     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5587     __repr__ 
= _swig_repr
 
5588     def __init__(self
, *args
, **kwargs
):  
5589         """__init__(self) -> Clipboard""" 
5590         _misc_
.Clipboard_swiginit(self
,_misc_
.new_Clipboard(*args
, **kwargs
)) 
5591     __swig_destroy__ 
= _misc_
.delete_Clipboard
 
5592     __del__ 
= lambda self 
: None; 
5593     def Open(*args
, **kwargs
): 
5597         Call this function to open the clipboard before calling SetData and 
5598         GetData.  Call Close when you have finished with the clipboard.  You 
5599         should keep the clipboard open for only a very short time.  Returns 
5602         return _misc_
.Clipboard_Open(*args
, **kwargs
) 
5604     def Close(*args
, **kwargs
): 
5608         Closes the clipboard. 
5610         return _misc_
.Clipboard_Close(*args
, **kwargs
) 
5612     def IsOpened(*args
, **kwargs
): 
5614         IsOpened(self) -> bool 
5616         Query whether the clipboard is opened 
5618         return _misc_
.Clipboard_IsOpened(*args
, **kwargs
) 
5620     def AddData(*args
, **kwargs
): 
5622         AddData(self, DataObject data) -> bool 
5624         Call this function to add the data object to the clipboard. You may 
5625         call this function repeatedly after having cleared the clipboard. 
5626         After this function has been called, the clipboard owns the data, so 
5627         do not delete the data explicitly. 
5629         :see: `wx.DataObject` 
5631         return _misc_
.Clipboard_AddData(*args
, **kwargs
) 
5633     def SetData(*args
, **kwargs
): 
5635         SetData(self, DataObject data) -> bool 
5637         Set the clipboard data, this is the same as `Clear` followed by 
5640         :see: `wx.DataObject` 
5642         return _misc_
.Clipboard_SetData(*args
, **kwargs
) 
5644     def IsSupported(*args
, **kwargs
): 
5646         IsSupported(self, DataFormat format) -> bool 
5648         Returns True if the given format is available in the data object(s) on 
5651         return _misc_
.Clipboard_IsSupported(*args
, **kwargs
) 
5653     def GetData(*args
, **kwargs
): 
5655         GetData(self, DataObject data) -> bool 
5657         Call this function to fill data with data on the clipboard, if 
5658         available in the required format. Returns true on success. 
5660         return _misc_
.Clipboard_GetData(*args
, **kwargs
) 
5662     def Clear(*args
, **kwargs
): 
5666         Clears data from the clipboard object and also the system's clipboard 
5669         return _misc_
.Clipboard_Clear(*args
, **kwargs
) 
5671     def Flush(*args
, **kwargs
): 
5675         Flushes the clipboard: this means that the data which is currently on 
5676         clipboard will stay available even after the application exits, 
5677         possibly eating memory, otherwise the clipboard will be emptied on 
5678         exit.  Returns False if the operation is unsuccesful for any reason. 
5680         return _misc_
.Clipboard_Flush(*args
, **kwargs
) 
5682     def UsePrimarySelection(*args
, **kwargs
): 
5684         UsePrimarySelection(self, bool primary=True) 
5686         On platforms supporting it (the X11 based platforms), selects the so 
5687         called PRIMARY SELECTION as the clipboard as opposed to the normal 
5688         clipboard, if primary is True.  On other platforms all clipboard 
5689         operations fail when using the primary selection.  This allows code 
5690         supporting the primary selection to be written without ill effects on 
5691         the other platforms. 
5693         return _misc_
.Clipboard_UsePrimarySelection(*args
, **kwargs
) 
5695     def IsUsingPrimarySelection(*args
, **kwargs
): 
5697         IsUsingPrimarySelection(self) -> bool 
5699         Return true if we're using primary selection 
5701         return _misc_
.Clipboard_IsUsingPrimarySelection(*args
, **kwargs
) 
5703     def Get(*args
, **kwargs
): 
5707         Returns global instance (wxTheClipboard) of the object. 
5709         return _misc_
.Clipboard_Get(*args
, **kwargs
) 
5711     Get 
= staticmethod(Get
) 
5712 _misc_
.Clipboard_swigregister(Clipboard
) 
5714 def Clipboard_Get(*args
): 
5716     Clipboard_Get() -> Clipboard 
5718     Returns global instance (wxTheClipboard) of the object. 
5720   return _misc_
.Clipboard_Get(*args
) 
5722 class _wxPyDelayedInitWrapper(object): 
5723     def __init__(self
, initfunc
, *args
, **kwargs
): 
5724         self
._initfunc 
= initfunc
 
5726         self
._kwargs 
= kwargs
 
5727         self
._instance 
= None 
5728     def _checkInstance(self
): 
5729         if self
._instance 
is None: 
5731                 self
._instance 
= self
._initfunc
(*self
._args
, **self
._kwargs
)         
5732     def __getattr__(self
, name
): 
5733         self
._checkInstance
() 
5734         return getattr(self
._instance
, name
) 
5736         self
._checkInstance
() 
5737         return repr(self
._instance
) 
5738 TheClipboard 
= _wxPyDelayedInitWrapper(Clipboard
.Get
) 
5740 class ClipboardLocker(object): 
5742     A helpful class for opening the clipboard and automatically 
5743     closing it when the locker is destroyed. 
5745     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5746     __repr__ 
= _swig_repr
 
5747     def __init__(self
, *args
, **kwargs
):  
5749         __init__(self, Clipboard clipboard=None) -> ClipboardLocker 
5751         A helpful class for opening the clipboard and automatically 
5752         closing it when the locker is destroyed. 
5754         _misc_
.ClipboardLocker_swiginit(self
,_misc_
.new_ClipboardLocker(*args
, **kwargs
)) 
5755     __swig_destroy__ 
= _misc_
.delete_ClipboardLocker
 
5756     __del__ 
= lambda self 
: None; 
5757     def __nonzero__(*args
, **kwargs
): 
5759         __nonzero__(self) -> bool 
5761         A ClipboardLocker instance evaluates to True if the clipboard was 
5762         successfully opened. 
5764         return _misc_
.ClipboardLocker___nonzero__(*args
, **kwargs
) 
5766 _misc_
.ClipboardLocker_swigregister(ClipboardLocker
) 
5768 #--------------------------------------------------------------------------- 
5770 class VideoMode(object): 
5771     """A simple struct containing video mode parameters for a display""" 
5772     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5773     __repr__ 
= _swig_repr
 
5774     def __init__(self
, *args
, **kwargs
):  
5776         __init__(self, int width=0, int height=0, int depth=0, int freq=0) -> VideoMode 
5778         A simple struct containing video mode parameters for a display 
5780         _misc_
.VideoMode_swiginit(self
,_misc_
.new_VideoMode(*args
, **kwargs
)) 
5781     __swig_destroy__ 
= _misc_
.delete_VideoMode
 
5782     __del__ 
= lambda self 
: None; 
5783     def Matches(*args
, **kwargs
): 
5785         Matches(self, VideoMode other) -> bool 
5787         Returns True if this mode matches the other one in the sense that all 
5788         non-zero fields of the other mode have the same value in this 
5789         one (except for refresh which is allowed to have a greater value) 
5791         return _misc_
.VideoMode_Matches(*args
, **kwargs
) 
5793     def GetWidth(*args
, **kwargs
): 
5795         GetWidth(self) -> int 
5797         Returns the screen width in pixels (e.g. 640*480), 0 means unspecified 
5799         return _misc_
.VideoMode_GetWidth(*args
, **kwargs
) 
5801     def GetHeight(*args
, **kwargs
): 
5803         GetHeight(self) -> int 
5805         Returns the screen height in pixels (e.g. 640*480), 0 means unspecified 
5807         return _misc_
.VideoMode_GetHeight(*args
, **kwargs
) 
5809     def GetDepth(*args
, **kwargs
): 
5811         GetDepth(self) -> int 
5813         Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0 
5814         means unspecified/known 
5816         return _misc_
.VideoMode_GetDepth(*args
, **kwargs
) 
5818     def IsOk(*args
, **kwargs
): 
5822         returns true if the object has been initialized 
5824         return _misc_
.VideoMode_IsOk(*args
, **kwargs
) 
5826     def __nonzero__(self
): return self
.IsOk()  
5827     def __eq__(*args
, **kwargs
): 
5828         """__eq__(self, VideoMode other) -> bool""" 
5829         return _misc_
.VideoMode___eq__(*args
, **kwargs
) 
5831     def __ne__(*args
, **kwargs
): 
5832         """__ne__(self, VideoMode other) -> bool""" 
5833         return _misc_
.VideoMode___ne__(*args
, **kwargs
) 
5835     w 
= property(_misc_
.VideoMode_w_get
, _misc_
.VideoMode_w_set
) 
5836     h 
= property(_misc_
.VideoMode_h_get
, _misc_
.VideoMode_h_set
) 
5837     bpp 
= property(_misc_
.VideoMode_bpp_get
, _misc_
.VideoMode_bpp_set
) 
5838     refresh 
= property(_misc_
.VideoMode_refresh_get
, _misc_
.VideoMode_refresh_set
) 
5839     Depth 
= property(GetDepth
,doc
="See `GetDepth`")  
5840     Height 
= property(GetHeight
,doc
="See `GetHeight`")  
5841     Width 
= property(GetWidth
,doc
="See `GetWidth`")  
5842 _misc_
.VideoMode_swigregister(VideoMode
) 
5844 class Display(object): 
5845     """Represents a display/monitor attached to the system""" 
5846     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5847     __repr__ 
= _swig_repr
 
5848     def __init__(self
, *args
, **kwargs
):  
5850         __init__(self, unsigned int index=0) -> Display 
5852         Set up a Display instance with the specified display.  The displays 
5853         are numbered from 0 to GetCount() - 1, 0 is always the primary display 
5854         and the only one which is always supported 
5856         _misc_
.Display_swiginit(self
,_misc_
.new_Display(*args
, **kwargs
)) 
5857     __swig_destroy__ 
= _misc_
.delete_Display
 
5858     __del__ 
= lambda self 
: None; 
5859     def GetCount(*args
, **kwargs
): 
5861         GetCount() -> unsigned int 
5863         Return the number of available displays. 
5865         return _misc_
.Display_GetCount(*args
, **kwargs
) 
5867     GetCount 
= staticmethod(GetCount
) 
5868     def GetFromPoint(*args
, **kwargs
): 
5870         GetFromPoint(Point pt) -> int 
5872         Find the display where the given point lies, return wx.NOT_FOUND if it 
5873         doesn't belong to any display 
5875         return _misc_
.Display_GetFromPoint(*args
, **kwargs
) 
5877     GetFromPoint 
= staticmethod(GetFromPoint
) 
5878     def GetFromWindow(*args
, **kwargs
): 
5880         GetFromWindow(Window window) -> int 
5882         Find the display where the given window lies, return wx.NOT_FOUND if 
5883         it is not shown at all. 
5885         return _misc_
.Display_GetFromWindow(*args
, **kwargs
) 
5887     GetFromWindow 
= staticmethod(GetFromWindow
) 
5888     def IsOk(*args
, **kwargs
): 
5892         Return true if the object was initialized successfully 
5894         return _misc_
.Display_IsOk(*args
, **kwargs
) 
5896     def __nonzero__(self
): return self
.IsOk()  
5897     def GetGeometry(*args
, **kwargs
): 
5899         GetGeometry(self) -> Rect 
5901         Returns the bounding rectangle of the display whose index was passed 
5904         return _misc_
.Display_GetGeometry(*args
, **kwargs
) 
5906     def GetClientArea(*args
, **kwargs
): 
5908         GetClientArea(self) -> Rect 
5910         Returns the bounding rectangle the client area of the display, 
5911         i.e., without taskbars and such. 
5913         return _misc_
.Display_GetClientArea(*args
, **kwargs
) 
5915     def GetName(*args
, **kwargs
): 
5917         GetName(self) -> String 
5919         Returns the display's name. A name is not available on all platforms. 
5921         return _misc_
.Display_GetName(*args
, **kwargs
) 
5923     def IsPrimary(*args
, **kwargs
): 
5925         IsPrimary(self) -> bool 
5927         Returns True if the display is the primary display. The primary 
5928         display is the one whose index is 0. 
5930         return _misc_
.Display_IsPrimary(*args
, **kwargs
) 
5932     def GetModes(*args
, **kwargs
): 
5934         GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...] 
5936         Enumerate all video modes supported by this display matching the given 
5937         one (in the sense of VideoMode.Match()). 
5939         As any mode matches the default value of the argument and there is 
5940         always at least one video mode supported by display, the returned 
5941         array is only empty for the default value of the argument if this 
5942         function is not supported at all on this platform. 
5944         return _misc_
.Display_GetModes(*args
, **kwargs
) 
5946     def GetCurrentMode(*args
, **kwargs
): 
5948         GetCurrentMode(self) -> VideoMode 
5950         Get the current video mode. 
5952         return _misc_
.Display_GetCurrentMode(*args
, **kwargs
) 
5954     def ChangeMode(*args
, **kwargs
): 
5956         ChangeMode(self, VideoMode mode=DefaultVideoMode) -> bool 
5958         Changes the video mode of this display to the mode specified in the 
5961         If wx.DefaultVideoMode is passed in as the mode parameter, the defined 
5962         behaviour is that wx.Display will reset the video mode to the default 
5963         mode used by the display.  On Windows, the behavior is normal. 
5964         However, there are differences on other platforms. On Unix variations 
5965         using X11 extensions it should behave as defined, but some 
5966         irregularities may occur. 
5968         On wxMac passing in wx.DefaultVideoMode as the mode parameter does 
5969         nothing.  This happens because Carbon no longer has access to 
5970         DMUseScreenPrefs, an undocumented function that changed the video mode 
5971         to the system default by using the system's 'scrn' resource. 
5973         Returns True if succeeded, False otherwise 
5975         return _misc_
.Display_ChangeMode(*args
, **kwargs
) 
5977     def ResetMode(*args
, **kwargs
): 
5981         Restore the default video mode (just a more readable synonym) 
5983         return _misc_
.Display_ResetMode(*args
, **kwargs
) 
5985     ClientArea 
= property(GetClientArea
,doc
="See `GetClientArea`")  
5986     CurrentMode 
= property(GetCurrentMode
,doc
="See `GetCurrentMode`")  
5987     Geometry 
= property(GetGeometry
,doc
="See `GetGeometry`")  
5988     Modes 
= property(GetModes
,doc
="See `GetModes`")  
5989     Name 
= property(GetName
,doc
="See `GetName`")  
5990 _misc_
.Display_swigregister(Display
) 
5991 DefaultVideoMode 
= cvar
.DefaultVideoMode
 
5993 def Display_GetCount(*args
): 
5995     Display_GetCount() -> unsigned int 
5997     Return the number of available displays. 
5999   return _misc_
.Display_GetCount(*args
) 
6001 def Display_GetFromPoint(*args
, **kwargs
): 
6003     Display_GetFromPoint(Point pt) -> int 
6005     Find the display where the given point lies, return wx.NOT_FOUND if it 
6006     doesn't belong to any display 
6008   return _misc_
.Display_GetFromPoint(*args
, **kwargs
) 
6010 def Display_GetFromWindow(*args
, **kwargs
): 
6012     Display_GetFromWindow(Window window) -> int 
6014     Find the display where the given window lies, return wx.NOT_FOUND if 
6015     it is not shown at all. 
6017   return _misc_
.Display_GetFromWindow(*args
, **kwargs
) 
6019 #--------------------------------------------------------------------------- 
6021 class StandardPaths(object): 
6023     wx.StandardPaths returns standard locations in the file system and 
6024     should be used by programs to find their data files in a portable way. 
6026     In the description of the methods below, the example return values are 
6027     given for the Unix, Windows and Mac OS X systems, however please note 
6028     that these are just  examples and the actual values may differ. For 
6029     example, under Windows the system administrator may change the 
6030     standard directories locations, i.e. the Windows directory may be 
6031     named W:\Win2003 instead of the default C:\Windows. 
6033     The strings appname and username should be replaced with the value 
6034     returned by `wx.App.GetAppName` and the name of the currently logged 
6035     in user, respectively. The string prefix is only used under Unix and 
6036     is /usr/local by default but may be changed using `SetInstallPrefix`. 
6038     The directories returned by the methods of this class may or may not 
6039     exist. If they don't exist, it's up to the caller to create them, 
6040     wx.StandardPaths doesn't do it. 
6042     Finally note that these functions only work with standardly packaged 
6043     applications. I.e. under Unix you should follow the standard 
6044     installation conventions and under Mac you should create your 
6045     application bundle according to the Apple guidelines. Again, this 
6046     class doesn't help you to do it. 
6048     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6049     def __init__(self
): raise AttributeError, "No constructor defined" 
6050     __repr__ 
= _swig_repr
 
6051     ResourceCat_None 
= _misc_
.StandardPaths_ResourceCat_None
 
6052     ResourceCat_Messages 
= _misc_
.StandardPaths_ResourceCat_Messages
 
6053     ResourceCat_Max 
= _misc_
.StandardPaths_ResourceCat_Max
 
6054     def Get(*args
, **kwargs
): 
6056         Get() -> StandardPaths 
6058         Return the global standard paths singleton 
6060         return _misc_
.StandardPaths_Get(*args
, **kwargs
) 
6062     Get 
= staticmethod(Get
) 
6063     def GetExecutablePath(*args
, **kwargs
): 
6065         GetExecutablePath(self) -> String 
6067         Return the path (directory+filename) of the running executable or an 
6068         empty string if it couldn't be determined.  The path is returned as an 
6069         absolute path whenever possible. 
6071         return _misc_
.StandardPaths_GetExecutablePath(*args
, **kwargs
) 
6073     def GetConfigDir(*args
, **kwargs
): 
6075         GetConfigDir(self) -> String 
6077         Return the directory with system config files: /etc under Unix, 
6078         'c:\Documents and Settings\All Users\Application Data' under Windows, 
6079         /Library/Preferences for Mac 
6081         return _misc_
.StandardPaths_GetConfigDir(*args
, **kwargs
) 
6083     def GetUserConfigDir(*args
, **kwargs
): 
6085         GetUserConfigDir(self) -> String 
6087         Return the directory for the user config files: $HOME under Unix, 
6088         'c:\Documents and Settings\username' under Windows, and  
6089         ~/Library/Preferences under Mac 
6091         Only use this if you have a single file to put there, otherwise 
6092         `GetUserDataDir` is more appropriate 
6094         return _misc_
.StandardPaths_GetUserConfigDir(*args
, **kwargs
) 
6096     def GetDataDir(*args
, **kwargs
): 
6098         GetDataDir(self) -> String 
6100         Return the location of the application's global, (i.e. not 
6101         user-specific,) data files: prefix/share/appname under Unix, 
6102         'c:\Program Files\appname' under Windows, 
6103         appname.app/Contents/SharedSupport app bundle directory under Mac. 
6105         return _misc_
.StandardPaths_GetDataDir(*args
, **kwargs
) 
6107     def GetLocalDataDir(*args
, **kwargs
): 
6109         GetLocalDataDir(self) -> String 
6111         Return the location for application data files which are 
6112         host-specific.  Same as `GetDataDir` except under Unix where it is 
6115         return _misc_
.StandardPaths_GetLocalDataDir(*args
, **kwargs
) 
6117     def GetUserDataDir(*args
, **kwargs
): 
6119         GetUserDataDir(self) -> String 
6121         Return the directory for the user-dependent application data files: 
6122         $HOME/.appname under Unix, c:\Documents and 
6123         Settings\username\Application Data\appname under Windows and 
6124         ~/Library/Application Support/appname under Mac 
6126         return _misc_
.StandardPaths_GetUserDataDir(*args
, **kwargs
) 
6128     def GetUserLocalDataDir(*args
, **kwargs
): 
6130         GetUserLocalDataDir(self) -> String 
6132         Return the directory for user data files which shouldn't be shared 
6133         with the other machines 
6135         Same as `GetUserDataDir` for all platforms except Windows where it is 
6136         the 'Local Settings\Application Data\appname' directory. 
6138         return _misc_
.StandardPaths_GetUserLocalDataDir(*args
, **kwargs
) 
6140     def GetPluginsDir(*args
, **kwargs
): 
6142         GetPluginsDir(self) -> String 
6144         Return the directory where the loadable modules (plugins) live: 
6145         prefix/lib/appname under Unix, program directory under Windows and 
6146         Contents/Plugins app bundle subdirectory under Mac 
6148         return _misc_
.StandardPaths_GetPluginsDir(*args
, **kwargs
) 
6150     def GetResourcesDir(*args
, **kwargs
): 
6152         GetResourcesDir(self) -> String 
6154         Get resources directory.  Resources are auxiliary files used by the 
6155         application and include things like image and sound files. 
6157         Same as `GetDataDir` for all platforms except Mac where it returns 
6158         Contents/Resources subdirectory of the app bundle. 
6160         return _misc_
.StandardPaths_GetResourcesDir(*args
, **kwargs
) 
6162     def GetLocalizedResourcesDir(*args
, **kwargs
): 
6164         GetLocalizedResourcesDir(self, String lang, int category=ResourceCat_None) -> String 
6166         Get localized resources directory containing the resource files of the 
6167         specified category for the given language. 
6169         In general this is just GetResourcesDir()/lang under Windows and Unix 
6170         and GetResourcesDir()/lang.lproj under Mac but is something quite 
6171         different under Unix for the message catalog category (namely the 
6172         standard prefix/share/locale/lang/LC_MESSAGES.) 
6174         return _misc_
.StandardPaths_GetLocalizedResourcesDir(*args
, **kwargs
) 
6176     def GetDocumentsDir(*args
, **kwargs
): 
6178         GetDocumentsDir(self) -> String 
6180         Return the Documents directory for the current user. 
6182         C:\Documents and Settings\username\Documents under Windows, 
6183         $HOME under Unix and ~/Documents under Mac 
6185         return _misc_
.StandardPaths_GetDocumentsDir(*args
, **kwargs
) 
6187     def GetTempDir(*args
, **kwargs
): 
6189         GetTempDir(self) -> String 
6191         Return the user's directory for temporary files. 
6193         return _misc_
.StandardPaths_GetTempDir(*args
, **kwargs
) 
6195     def SetInstallPrefix(*args
, **kwargs
): 
6197         SetInstallPrefix(self, String prefix) 
6199         Set the program installation directory which is /usr/local by default. 
6200         This value will be used by other methods such as `GetDataDir` and 
6201         `GetPluginsDir` as the prefix for what they return. (This function 
6202         only has meaning on Unix systems.) 
6204         return _misc_
.StandardPaths_SetInstallPrefix(*args
, **kwargs
) 
6206     def GetInstallPrefix(*args
, **kwargs
): 
6208         GetInstallPrefix(self) -> String 
6210         Get the program installation prefix. The default is the prefix where 
6211         Python is installed. (This function only has meaning on Unix systems.) 
6213         return _misc_
.StandardPaths_GetInstallPrefix(*args
, **kwargs
) 
6215 _misc_
.StandardPaths_swigregister(StandardPaths
) 
6217 def StandardPaths_Get(*args
): 
6219     StandardPaths_Get() -> StandardPaths 
6221     Return the global standard paths singleton 
6223   return _misc_
.StandardPaths_Get(*args
) 
6225 #--------------------------------------------------------------------------- 
6227 POWER_SOCKET 
= _misc_
.POWER_SOCKET
 
6228 POWER_BATTERY 
= _misc_
.POWER_BATTERY
 
6229 POWER_UNKNOWN 
= _misc_
.POWER_UNKNOWN
 
6230 BATTERY_NORMAL_STATE 
= _misc_
.BATTERY_NORMAL_STATE
 
6231 BATTERY_LOW_STATE 
= _misc_
.BATTERY_LOW_STATE
 
6232 BATTERY_CRITICAL_STATE 
= _misc_
.BATTERY_CRITICAL_STATE
 
6233 BATTERY_SHUTDOWN_STATE 
= _misc_
.BATTERY_SHUTDOWN_STATE
 
6234 BATTERY_UNKNOWN_STATE 
= _misc_
.BATTERY_UNKNOWN_STATE
 
6235 class PowerEvent(_core
.Event
): 
6237     wx.PowerEvent is generated when the system online status changes. 
6238     Currently this is only implemented for Windows. 
6240     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6241     __repr__ 
= _swig_repr
 
6242     def __init__(self
, *args
, **kwargs
):  
6244         __init__(self, EventType evtType) -> PowerEvent 
6246         wx.PowerEvent is generated when the system online status changes. 
6247         Currently this is only implemented for Windows. 
6249         _misc_
.PowerEvent_swiginit(self
,_misc_
.new_PowerEvent(*args
, **kwargs
)) 
6250     def Veto(*args
, **kwargs
): 
6252         return _misc_
.PowerEvent_Veto(*args
, **kwargs
) 
6254     def IsVetoed(*args
, **kwargs
): 
6255         """IsVetoed(self) -> bool""" 
6256         return _misc_
.PowerEvent_IsVetoed(*args
, **kwargs
) 
6258 _misc_
.PowerEvent_swigregister(PowerEvent
) 
6260 wxEVT_POWER_SUSPENDING 
= _misc_
.wxEVT_POWER_SUSPENDING
 
6261 wxEVT_POWER_SUSPENDED 
= _misc_
.wxEVT_POWER_SUSPENDED
 
6262 wxEVT_POWER_SUSPEND_CANCEL 
= _misc_
.wxEVT_POWER_SUSPEND_CANCEL
 
6263 wxEVT_POWER_RESUME 
= _misc_
.wxEVT_POWER_RESUME
 
6264 EVT_POWER_SUSPENDING       
= wx
.PyEventBinder( wxEVT_POWER_SUSPENDING 
, 1 ) 
6265 EVT_POWER_SUSPENDED        
= wx
.PyEventBinder( wxEVT_POWER_SUSPENDED 
, 1 ) 
6266 EVT_POWER_SUSPEND_CANCEL   
= wx
.PyEventBinder( wxEVT_POWER_SUSPEND_CANCEL 
, 1 ) 
6267 EVT_POWER_RESUME           
= wx
.PyEventBinder( wxEVT_POWER_RESUME 
, 1 ) 
6270 def GetPowerType(*args
): 
6272     GetPowerType() -> int 
6274     return the current system power state: online or offline 
6276   return _misc_
.GetPowerType(*args
) 
6278 def GetBatteryState(*args
): 
6280     GetBatteryState() -> int 
6282     return approximate battery state 
6284   return _misc_
.GetBatteryState(*args
) 
6285 #--------------------------------------------------------------------------- 
6287 class AboutDialogInfo(object): 
6289     `wx.AboutDialogInfo` contains information to be shown in the standard 
6290     About dialog displayed by the `wx.AboutBox` function.  This class 
6291     contains the general information about the program, such as its name, 
6292     version, copyright and so on, as well as lists of the program 
6293     developers, documentation writers, artists and translators. 
6295     While all the main platforms have a native implementation of the about 
6296     dialog, they are often more limited than the generic version provided 
6297     by wxWidgets and so the generic version is used if 
6298     `wx.AboutDialogInfo` has any fields not supported by the native 
6299     version. Currently GTK+ version supports all the possible fields 
6300     natively but MSW and Mac versions don't support URLs, licence text nor 
6301     custom icons in the about dialog and if either of those is used, 
6302     wxAboutBox() will automatically use the generic version so you should 
6303     avoid specifying these fields to achieve more native look and feel. 
6306     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6307     __repr__ 
= _swig_repr
 
6308     def __init__(self
, *args
, **kwargs
):  
6310         __init__(self) -> AboutDialogInfo 
6312         `wx.AboutDialogInfo` contains information to be shown in the standard 
6313         About dialog displayed by the `wx.AboutBox` function.  This class 
6314         contains the general information about the program, such as its name, 
6315         version, copyright and so on, as well as lists of the program 
6316         developers, documentation writers, artists and translators. 
6318         While all the main platforms have a native implementation of the about 
6319         dialog, they are often more limited than the generic version provided 
6320         by wxWidgets and so the generic version is used if 
6321         `wx.AboutDialogInfo` has any fields not supported by the native 
6322         version. Currently GTK+ version supports all the possible fields 
6323         natively but MSW and Mac versions don't support URLs, licence text nor 
6324         custom icons in the about dialog and if either of those is used, 
6325         wxAboutBox() will automatically use the generic version so you should 
6326         avoid specifying these fields to achieve more native look and feel. 
6329         _misc_
.AboutDialogInfo_swiginit(self
,_misc_
.new_AboutDialogInfo(*args
, **kwargs
)) 
6330     __swig_destroy__ 
= _misc_
.delete_AboutDialogInfo
 
6331     __del__ 
= lambda self 
: None; 
6332     def SetName(*args
, **kwargs
): 
6334         SetName(self, String name) 
6336         Set the name of the program. If this method is not called, the string 
6337         returned by `wx.App.GetAppName` will be shown in the dialog. 
6339         return _misc_
.AboutDialogInfo_SetName(*args
, **kwargs
) 
6341     def GetName(*args
, **kwargs
): 
6343         GetName(self) -> String 
6345         Returns the program name. 
6347         return _misc_
.AboutDialogInfo_GetName(*args
, **kwargs
) 
6349     Name 
= property(GetName
,SetName
)  
6350     def SetVersion(*args
, **kwargs
): 
6352         SetVersion(self, String version) 
6354         Set the version of the program. The version is in free format, 
6355         i.e. not necessarily in the x.y.z form but it shouldn't contain the 
6358         return _misc_
.AboutDialogInfo_SetVersion(*args
, **kwargs
) 
6360     def HasVersion(*args
, **kwargs
): 
6362         HasVersion(self) -> bool 
6364         Returns ``True`` if the version property has been set. 
6366         return _misc_
.AboutDialogInfo_HasVersion(*args
, **kwargs
) 
6368     def GetVersion(*args
, **kwargs
): 
6370         GetVersion(self) -> String 
6372         Returns the version value. 
6374         return _misc_
.AboutDialogInfo_GetVersion(*args
, **kwargs
) 
6376     Version 
= property(GetVersion
,SetVersion
)  
6377     def SetDescription(*args
, **kwargs
): 
6379         SetDescription(self, String desc) 
6381         Set brief, but possibly multiline, description of the program. 
6383         return _misc_
.AboutDialogInfo_SetDescription(*args
, **kwargs
) 
6385     def HasDescription(*args
, **kwargs
): 
6387         HasDescription(self) -> bool 
6389         Returns ``True`` if the description property has been set. 
6391         return _misc_
.AboutDialogInfo_HasDescription(*args
, **kwargs
) 
6393     def GetDescription(*args
, **kwargs
): 
6395         GetDescription(self) -> String 
6397         Returns the description value. 
6399         return _misc_
.AboutDialogInfo_GetDescription(*args
, **kwargs
) 
6401     Description 
= property(GetDescription
,SetDescription
)  
6402     def SetCopyright(*args
, **kwargs
): 
6404         SetCopyright(self, String copyright) 
6406         Set the short string containing the program copyright 
6407         information. Notice that any occurrences of "(C)" in ``copyright`` 
6408         will be replaced by the copyright symbol (circled C) automatically, 
6409         which means that you can avoid using this symbol in the program source 
6410         code which can be problematic. 
6412         return _misc_
.AboutDialogInfo_SetCopyright(*args
, **kwargs
) 
6414     def HasCopyright(*args
, **kwargs
): 
6416         HasCopyright(self) -> bool 
6418         Returns ``True`` if the copyright property has been set. 
6420         return _misc_
.AboutDialogInfo_HasCopyright(*args
, **kwargs
) 
6422     def GetCopyright(*args
, **kwargs
): 
6424         GetCopyright(self) -> String 
6426         Returns the copyright value. 
6428         return _misc_
.AboutDialogInfo_GetCopyright(*args
, **kwargs
) 
6430     Copyright 
= property(GetCopyright
,SetCopyright
)  
6431     def SetLicence(*args
, **kwargs
): 
6433         SetLicence(self, String licence) 
6435         Set the long, multiline string containing the text of the program 
6438         Only GTK+ version supports showing the licence text in the native 
6439         about dialog currently so the generic version will be used under all 
6440         the other platforms if this method is called. To preserve the native 
6441         look and feel it is advised that you do not call this method but 
6442         provide a separate menu item in the "Help" menu for displaying the 
6443         text of your program licence. 
6446         return _misc_
.AboutDialogInfo_SetLicence(*args
, **kwargs
) 
6448     def SetLicense(*args
, **kwargs
): 
6450         SetLicense(self, String licence) 
6452         This is the same as `SetLicence`. 
6454         return _misc_
.AboutDialogInfo_SetLicense(*args
, **kwargs
) 
6456     def HasLicence(*args
, **kwargs
): 
6458         HasLicence(self) -> bool 
6460         Returns ``True`` if the licence property has been set. 
6462         return _misc_
.AboutDialogInfo_HasLicence(*args
, **kwargs
) 
6464     def GetLicence(*args
, **kwargs
): 
6466         GetLicence(self) -> String 
6468         Returns the licence value. 
6470         return _misc_
.AboutDialogInfo_GetLicence(*args
, **kwargs
) 
6472     Licence 
= property(GetLicence
,SetLicence
)  
6474     def SetIcon(*args
, **kwargs
): 
6476         SetIcon(self, Icon icon) 
6478         Set the icon to be shown in the dialog. By default the icon of the 
6479         main frame will be shown if the native about dialog supports custom 
6480         icons. If it doesn't but a valid icon is specified using this method, 
6481         the generic about dialog is used instead so you should avoid calling 
6482         this function for maximally native look and feel. 
6484         return _misc_
.AboutDialogInfo_SetIcon(*args
, **kwargs
) 
6486     def HasIcon(*args
, **kwargs
): 
6488         HasIcon(self) -> bool 
6490         Returns ``True`` if the icon property has been set. 
6492         return _misc_
.AboutDialogInfo_HasIcon(*args
, **kwargs
) 
6494     def GetIcon(*args
, **kwargs
): 
6496         GetIcon(self) -> Icon 
6498         Return the current icon value. 
6500         return _misc_
.AboutDialogInfo_GetIcon(*args
, **kwargs
) 
6502     Icon 
= property(GetIcon
,SetIcon
)  
6503     def _SetWebSite(*args
, **kwargs
): 
6504         """_SetWebSite(self, String url, String desc=wxEmptyString)""" 
6505         return _misc_
.AboutDialogInfo__SetWebSite(*args
, **kwargs
) 
6507     def _GetWebSiteURL(*args
, **kwargs
): 
6508         """_GetWebSiteURL(self) -> String""" 
6509         return _misc_
.AboutDialogInfo__GetWebSiteURL(*args
, **kwargs
) 
6511     def _GetWebSiteDescription(*args
, **kwargs
): 
6512         """_GetWebSiteDescription(self) -> String""" 
6513         return _misc_
.AboutDialogInfo__GetWebSiteDescription(*args
, **kwargs
) 
6515     def HasWebSite(*args
, **kwargs
): 
6516         """HasWebSite(self) -> bool""" 
6517         return _misc_
.AboutDialogInfo_HasWebSite(*args
, **kwargs
) 
6519     def SetWebSite(self
, args
): 
6521         SetWebSite(self, URL, [Description]) 
6523         Set the web site property.  The ``args`` parameter can 
6524         either be a single string for the URL, to a 2-tuple of 
6525         (URL, Description) strings. 
6527         if type(args
) in [str, unicode]: 
6528             self
._SetWebSite
(args
) 
6530             self
._SetWebSite
(args
[0], args
[1]) 
6532     def GetWebSite(self
): 
6534         GetWebSite(self) --> (URL, Description) 
6536         return (self
._GetWebSiteURL
(), self
._GetWebSiteDescription
()) 
6538     WebSite 
= property(GetWebSite
,SetWebSite
)  
6539     def SetDevelopers(*args
, **kwargs
): 
6541         SetDevelopers(self, list developers) 
6543         Set the list of the developers of the program. 
6545         return _misc_
.AboutDialogInfo_SetDevelopers(*args
, **kwargs
) 
6547     def AddDeveloper(*args
, **kwargs
): 
6549         AddDeveloper(self, String developer) 
6551         Add a string to the list of developers. 
6553         return _misc_
.AboutDialogInfo_AddDeveloper(*args
, **kwargs
) 
6555     def HasDevelopers(*args
, **kwargs
): 
6557         HasDevelopers(self) -> bool 
6559         Returns ``True if any developers have been set. 
6561         return _misc_
.AboutDialogInfo_HasDevelopers(*args
, **kwargs
) 
6563     def GetDevelopers(*args
, **kwargs
): 
6565         GetDevelopers(self) --> list 
6567         Returns the list of developers. 
6569         return _misc_
.AboutDialogInfo_GetDevelopers(*args
, **kwargs
) 
6571     Developers 
= property(GetDevelopers
,SetDevelopers
)  
6572     def SetDocWriters(*args
, **kwargs
): 
6574         SetDocWriters(self, list docwriters) 
6576         Set the list of the documentation writers. 
6578         return _misc_
.AboutDialogInfo_SetDocWriters(*args
, **kwargs
) 
6580     def AddDocWriter(*args
, **kwargs
): 
6582         AddDocWriter(self, String docwriter) 
6584         Add a string to the list of documentation writers. 
6586         return _misc_
.AboutDialogInfo_AddDocWriter(*args
, **kwargs
) 
6588     def HasDocWriters(*args
, **kwargs
): 
6590         HasDocWriters(self) -> bool 
6592         Returns ``True if any documentation writers have been set. 
6594         return _misc_
.AboutDialogInfo_HasDocWriters(*args
, **kwargs
) 
6596     def GetDocWriters(*args
, **kwargs
): 
6598         GetDocWriters(self) --> list 
6600         Returns the list of documentation writers. 
6602         return _misc_
.AboutDialogInfo_GetDocWriters(*args
, **kwargs
) 
6604     DocWriters 
= property(GetDocWriters
,SetDocWriters
)  
6605     def SetArtists(*args
, **kwargs
): 
6607         SetArtists(self, list artists) 
6609         Set the list of artists for the program. 
6611         return _misc_
.AboutDialogInfo_SetArtists(*args
, **kwargs
) 
6613     def AddArtist(*args
, **kwargs
): 
6615         AddArtist(self, String artist) 
6617         Add a string to the list of artists. 
6619         return _misc_
.AboutDialogInfo_AddArtist(*args
, **kwargs
) 
6621     def HasArtists(*args
, **kwargs
): 
6623         HasArtists(self) -> bool 
6625         Returns ``True`` if any artists have been set. 
6627         return _misc_
.AboutDialogInfo_HasArtists(*args
, **kwargs
) 
6629     def GetArtists(*args
, **kwargs
): 
6631         GetArtists(self) --> list 
6633         Returns the list od artists. 
6635         return _misc_
.AboutDialogInfo_GetArtists(*args
, **kwargs
) 
6637     Artists 
= property(GetArtists
,SetArtists
)  
6638     def SetTranslators(*args
, **kwargs
): 
6640         SetTranslators(self, list translators) 
6642         Sets the list of program translators. 
6644         return _misc_
.AboutDialogInfo_SetTranslators(*args
, **kwargs
) 
6646     def AddTranslator(*args
, **kwargs
): 
6648         AddTranslator(self, String translator) 
6650         Add a string to the list of translators. 
6652         return _misc_
.AboutDialogInfo_AddTranslator(*args
, **kwargs
) 
6654     def HasTranslators(*args
, **kwargs
): 
6656         HasTranslators(self) -> bool 
6658         Returns ``True`` if any translators have been set. 
6660         return _misc_
.AboutDialogInfo_HasTranslators(*args
, **kwargs
) 
6662     def GetTranslators(*args
, **kwargs
): 
6664         GetTranslators(self) --> list 
6666         Returns the list of program translators. 
6668         return _misc_
.AboutDialogInfo_GetTranslators(*args
, **kwargs
) 
6670     Translators 
= property(GetTranslators
,SetTranslators
)  
6671     def IsSimple(*args
, **kwargs
): 
6672         """IsSimple(self) -> bool""" 
6673         return _misc_
.AboutDialogInfo_IsSimple(*args
, **kwargs
) 
6675     def GetDescriptionAndCredits(*args
, **kwargs
): 
6676         """GetDescriptionAndCredits(self) -> String""" 
6677         return _misc_
.AboutDialogInfo_GetDescriptionAndCredits(*args
, **kwargs
) 
6679 _misc_
.AboutDialogInfo_swigregister(AboutDialogInfo
) 
6682 def AboutBox(*args
, **kwargs
): 
6684     AboutBox(AboutDialogInfo info) 
6686     This function shows the standard about dialog containing the 
6687     information specified in ``info``. If the current platform has a 
6688     native about dialog which is capable of showing all the fields in 
6689     `wx.AboutDialogInfo`, the native dialog is used, otherwise the 
6690     function falls back to the generic wxWidgets version of the dialog. 
6692   return _misc_
.AboutBox(*args
, **kwargs
)