X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8ac7bf221aec78b2a420660db711eed2e771670..2d0918205aae1b1a45267ad7ddfab8eb00185dce:/utils/wxPython/src/gtk/utils.py diff --git a/utils/wxPython/src/gtk/utils.py b/utils/wxPython/src/gtk/utils.py index 5d437af207..86f4d662d1 100644 --- a/utils/wxPython/src/gtk/utils.py +++ b/utils/wxPython/src/gtk/utils.py @@ -4,98 +4,98 @@ class wxConfigPtr : def __init__(self,this): self.this = this self.thisown = 0 - def __del__(self, utilsc=utilsc): + def __del__(self,utilsc=utilsc): if self.thisown == 1 : - utilsc.delete_wxConfig(self.this) - def DontCreateOnDemand(self): - val = utilsc.wxConfig_DontCreateOnDemand(self.this) + utilsc.delete_wxConfig(self) + def DontCreateOnDemand(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_DontCreateOnDemand,(self,) + _args, _kwargs) return val - def DeleteAll(self): - val = utilsc.wxConfig_DeleteAll(self.this) + def DeleteAll(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_DeleteAll,(self,) + _args, _kwargs) return val - def DeleteEntry(self,arg0,*args): - val = apply(utilsc.wxConfig_DeleteEntry,(self.this,arg0,)+args) + def DeleteEntry(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_DeleteEntry,(self,) + _args, _kwargs) return val - def DeleteGroup(self,arg0): - val = utilsc.wxConfig_DeleteGroup(self.this,arg0) + def DeleteGroup(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_DeleteGroup,(self,) + _args, _kwargs) return val - def Exists(self,arg0): - val = utilsc.wxConfig_Exists(self.this,arg0) + def Exists(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_Exists,(self,) + _args, _kwargs) return val - def Flush(self,*args): - val = apply(utilsc.wxConfig_Flush,(self.this,)+args) + def Flush(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_Flush,(self,) + _args, _kwargs) return val - def GetAppName(self): - val = utilsc.wxConfig_GetAppName(self.this) + def GetAppName(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetAppName,(self,) + _args, _kwargs) return val - def GetFirstGroup(self): - val = utilsc.wxConfig_GetFirstGroup(self.this) + def GetFirstGroup(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetFirstGroup,(self,) + _args, _kwargs) return val - def GetFirstEntry(self): - val = utilsc.wxConfig_GetFirstEntry(self.this) + def GetFirstEntry(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetFirstEntry,(self,) + _args, _kwargs) return val - def GetNextGroup(self,arg0): - val = utilsc.wxConfig_GetNextGroup(self.this,arg0) + def GetNextGroup(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetNextGroup,(self,) + _args, _kwargs) return val - def GetNextEntry(self,arg0): - val = utilsc.wxConfig_GetNextEntry(self.this,arg0) + def GetNextEntry(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetNextEntry,(self,) + _args, _kwargs) return val - def GetNumberOfEntries(self,*args): - val = apply(utilsc.wxConfig_GetNumberOfEntries,(self.this,)+args) + def GetNumberOfEntries(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetNumberOfEntries,(self,) + _args, _kwargs) return val - def GetNumberOfGroups(self,*args): - val = apply(utilsc.wxConfig_GetNumberOfGroups,(self.this,)+args) + def GetNumberOfGroups(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetNumberOfGroups,(self,) + _args, _kwargs) return val - def GetPath(self): - val = utilsc.wxConfig_GetPath(self.this) + def GetPath(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetPath,(self,) + _args, _kwargs) return val - def GetVendorName(self): - val = utilsc.wxConfig_GetVendorName(self.this) + def GetVendorName(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_GetVendorName,(self,) + _args, _kwargs) return val - def HasEntry(self,arg0): - val = utilsc.wxConfig_HasEntry(self.this,arg0) + def HasEntry(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_HasEntry,(self,) + _args, _kwargs) return val - def HasGroup(self,arg0): - val = utilsc.wxConfig_HasGroup(self.this,arg0) + def HasGroup(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_HasGroup,(self,) + _args, _kwargs) return val - def IsExpandingEnvVars(self): - val = utilsc.wxConfig_IsExpandingEnvVars(self.this) + def IsExpandingEnvVars(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_IsExpandingEnvVars,(self,) + _args, _kwargs) return val - def IsRecordingDefaults(self): - val = utilsc.wxConfig_IsRecordingDefaults(self.this) + def IsRecordingDefaults(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_IsRecordingDefaults,(self,) + _args, _kwargs) return val - def Read(self,arg0,*args): - val = apply(utilsc.wxConfig_Read,(self.this,arg0,)+args) + def Read(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_Read,(self,) + _args, _kwargs) return val - def ReadInt(self,arg0,*args): - val = apply(utilsc.wxConfig_ReadInt,(self.this,arg0,)+args) + def ReadInt(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_ReadInt,(self,) + _args, _kwargs) return val - def ReadFloat(self,arg0,*args): - val = apply(utilsc.wxConfig_ReadFloat,(self.this,arg0,)+args) + def ReadFloat(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_ReadFloat,(self,) + _args, _kwargs) return val - def SetExpandEnvVars(self,*args): - val = apply(utilsc.wxConfig_SetExpandEnvVars,(self.this,)+args) + def SetExpandEnvVars(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_SetExpandEnvVars,(self,) + _args, _kwargs) return val - def SetPath(self,arg0): - val = utilsc.wxConfig_SetPath(self.this,arg0) + def SetPath(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_SetPath,(self,) + _args, _kwargs) return val - def SetRecordDefaults(self,*args): - val = apply(utilsc.wxConfig_SetRecordDefaults,(self.this,)+args) + def SetRecordDefaults(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_SetRecordDefaults,(self,) + _args, _kwargs) return val - def Write(self,arg0,arg1): - val = utilsc.wxConfig_Write(self.this,arg0,arg1) + def Write(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_Write,(self,) + _args, _kwargs) return val - def WriteInt(self,arg0,arg1): - val = utilsc.wxConfig_WriteInt(self.this,arg0,arg1) + def WriteInt(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_WriteInt,(self,) + _args, _kwargs) return val - def WriteFloat(self,arg0,arg1): - val = utilsc.wxConfig_WriteFloat(self.this,arg0,arg1) + def WriteFloat(self, *_args, **_kwargs): + val = apply(utilsc.wxConfig_WriteFloat,(self,) + _args, _kwargs) return val def __repr__(self): - return "" + return "" % (self.this,) class wxConfig(wxConfigPtr): - def __init__(self,*args) : - self.this = apply(utilsc.new_wxConfig,()+args) + def __init__(self,*_args,**_kwargs): + self.this = apply(utilsc.new_wxConfig,_args,_kwargs) self.thisown = 1