from gdi import *
from windows import *
+
+from clip_dnd import *
+
+from frames import *
+
+from stattool import *
+
+from controls import *
+
+from events import *
import wx
class wxColourDataPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self):
+ def __del__(self,cmndlgsc=cmndlgsc):
if self.thisown == 1 :
- cmndlgsc.delete_wxColourData(self.this)
- def GetChooseFull(self):
- val = cmndlgsc.wxColourData_GetChooseFull(self.this)
+ cmndlgsc.delete_wxColourData(self)
+ def GetChooseFull(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourData_GetChooseFull,(self,) + _args, _kwargs)
return val
- def GetColour(self):
- val = cmndlgsc.wxColourData_GetColour(self.this)
- val = wxColourPtr(val)
+ def GetColour(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourData_GetColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val)
return val
- def GetCustomColour(self,arg0):
- val = cmndlgsc.wxColourData_GetCustomColour(self.this,arg0)
- val = wxColourPtr(val)
- val.thisown = 1
+ def GetCustomColour(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourData_GetCustomColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
- def SetChooseFull(self,arg0):
- val = cmndlgsc.wxColourData_SetChooseFull(self.this,arg0)
+ def SetChooseFull(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourData_SetChooseFull,(self,) + _args, _kwargs)
return val
- def SetColour(self,arg0):
- val = cmndlgsc.wxColourData_SetColour(self.this,arg0.this)
+ def SetColour(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourData_SetColour,(self,) + _args, _kwargs)
return val
- def SetCustomColour(self,arg0,arg1):
- val = cmndlgsc.wxColourData_SetCustomColour(self.this,arg0,arg1.this)
+ def SetCustomColour(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourData_SetCustomColour,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxColourData instance>"
+ return "<C wxColourData instance at %s>" % (self.this,)
class wxColourData(wxColourDataPtr):
- def __init__(self) :
- self.this = cmndlgsc.new_wxColourData()
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxColourData,_args,_kwargs)
self.thisown = 1
def __init__(self,this):
self.this = this
self.thisown = 0
- def GetColourData(self):
- val = cmndlgsc.wxColourDialog_GetColourData(self.this)
- val = wxColourDataPtr(val)
+ def GetColourData(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourDialog_GetColourData,(self,) + _args, _kwargs)
+ if val: val = wxColourDataPtr(val)
return val
- def ShowModal(self):
- val = cmndlgsc.wxColourDialog_ShowModal(self.this)
+ def ShowModal(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxColourDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxColourDialog instance>"
+ return "<C wxColourDialog instance at %s>" % (self.this,)
class wxColourDialog(wxColourDialogPtr):
- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxColourDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
def __init__(self,this):
self.this = this
self.thisown = 0
- def GetPath(self):
- val = cmndlgsc.wxDirDialog_GetPath(self.this)
+ def GetPath(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxDirDialog_GetPath,(self,) + _args, _kwargs)
return val
- def GetMessage(self):
- val = cmndlgsc.wxDirDialog_GetMessage(self.this)
+ def GetMessage(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxDirDialog_GetMessage,(self,) + _args, _kwargs)
return val
- def GetStyle(self):
- val = cmndlgsc.wxDirDialog_GetStyle(self.this)
+ def GetStyle(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxDirDialog_GetStyle,(self,) + _args, _kwargs)
return val
- def SetMessage(self,arg0):
- val = cmndlgsc.wxDirDialog_SetMessage(self.this,arg0)
+ def SetMessage(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxDirDialog_SetMessage,(self,) + _args, _kwargs)
return val
- def SetPath(self,arg0):
- val = cmndlgsc.wxDirDialog_SetPath(self.this,arg0)
+ def SetPath(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxDirDialog_SetPath,(self,) + _args, _kwargs)
return val
- def ShowModal(self):
- val = cmndlgsc.wxDirDialog_ShowModal(self.this)
+ def ShowModal(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxDirDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxDirDialog instance>"
+ return "<C wxDirDialog instance at %s>" % (self.this,)
class wxDirDialog(wxDirDialogPtr):
- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[3] = argl[3].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxDirDialog,(arg0.this,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxDirDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
def __init__(self,this):
self.this = this
self.thisown = 0
- def GetDirectory(self):
- val = cmndlgsc.wxFileDialog_GetDirectory(self.this)
+ def GetDirectory(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_GetDirectory,(self,) + _args, _kwargs)
return val
- def GetFilename(self):
- val = cmndlgsc.wxFileDialog_GetFilename(self.this)
+ def GetFilename(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_GetFilename,(self,) + _args, _kwargs)
return val
- def GetFilterIndex(self):
- val = cmndlgsc.wxFileDialog_GetFilterIndex(self.this)
+ def GetFilterIndex(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_GetFilterIndex,(self,) + _args, _kwargs)
return val
- def GetMessage(self):
- val = cmndlgsc.wxFileDialog_GetMessage(self.this)
+ def GetMessage(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_GetMessage,(self,) + _args, _kwargs)
return val
- def GetPath(self):
- val = cmndlgsc.wxFileDialog_GetPath(self.this)
+ def GetPath(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_GetPath,(self,) + _args, _kwargs)
return val
- def GetStyle(self):
- val = cmndlgsc.wxFileDialog_GetStyle(self.this)
+ def GetStyle(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_GetStyle,(self,) + _args, _kwargs)
return val
- def GetWildcard(self):
- val = cmndlgsc.wxFileDialog_GetWildcard(self.this)
+ def GetWildcard(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_GetWildcard,(self,) + _args, _kwargs)
return val
- def SetDirectory(self,arg0):
- val = cmndlgsc.wxFileDialog_SetDirectory(self.this,arg0)
+ def SetDirectory(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_SetDirectory,(self,) + _args, _kwargs)
return val
- def SetFilename(self,arg0):
- val = cmndlgsc.wxFileDialog_SetFilename(self.this,arg0)
+ def SetFilename(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_SetFilename,(self,) + _args, _kwargs)
return val
- def SetFilterIndex(self,arg0):
- val = cmndlgsc.wxFileDialog_SetFilterIndex(self.this,arg0)
+ def SetFilterIndex(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_SetFilterIndex,(self,) + _args, _kwargs)
return val
- def SetMessage(self,arg0):
- val = cmndlgsc.wxFileDialog_SetMessage(self.this,arg0)
+ def SetMessage(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_SetMessage,(self,) + _args, _kwargs)
return val
- def SetPath(self,arg0):
- val = cmndlgsc.wxFileDialog_SetPath(self.this,arg0)
+ def SetPath(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_SetPath,(self,) + _args, _kwargs)
return val
- def SetStyle(self,arg0):
- val = cmndlgsc.wxFileDialog_SetStyle(self.this,arg0)
+ def SetStyle(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_SetStyle,(self,) + _args, _kwargs)
return val
- def SetWildcard(self,arg0):
- val = cmndlgsc.wxFileDialog_SetWildcard(self.this,arg0)
+ def SetWildcard(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_SetWildcard,(self,) + _args, _kwargs)
return val
- def ShowModal(self):
- val = cmndlgsc.wxFileDialog_ShowModal(self.this)
+ def ShowModal(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFileDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxFileDialog instance>"
+ return "<C wxFileDialog instance at %s>" % (self.this,)
class wxFileDialog(wxFileDialogPtr):
- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[5] = argl[5].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxFileDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
def __init__(self,this):
self.this = this
self.thisown = 0
- def GetSelection(self):
- val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self.this)
+ def GetSelection(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxSingleChoiceDialog_GetSelection,(self,) + _args, _kwargs)
return val
- def GetStringSelection(self):
- val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self.this)
+ def GetStringSelection(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxSingleChoiceDialog_GetStringSelection,(self,) + _args, _kwargs)
return val
- def SetSelection(self,arg0):
- val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self.this,arg0)
+ def SetSelection(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxSingleChoiceDialog_SetSelection,(self,) + _args, _kwargs)
return val
- def ShowModal(self):
- val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self.this)
+ def ShowModal(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxSingleChoiceDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxSingleChoiceDialog instance>"
+ return "<C wxSingleChoiceDialog instance at %s>" % (self.this,)
class wxSingleChoiceDialog(wxSingleChoiceDialogPtr):
- def __init__(self,arg0,arg1,arg2,arg3,*args) :
- argl = map(None,args)
- try: argl[1] = argl[1].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
def __init__(self,this):
self.this = this
self.thisown = 0
- def GetValue(self):
- val = cmndlgsc.wxTextEntryDialog_GetValue(self.this)
+ def GetValue(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxTextEntryDialog_GetValue,(self,) + _args, _kwargs)
return val
- def SetValue(self,arg0):
- val = cmndlgsc.wxTextEntryDialog_SetValue(self.this,arg0)
+ def SetValue(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxTextEntryDialog_SetValue,(self,) + _args, _kwargs)
return val
- def ShowModal(self):
- val = cmndlgsc.wxTextEntryDialog_ShowModal(self.this)
+ def ShowModal(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxTextEntryDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxTextEntryDialog instance>"
+ return "<C wxTextEntryDialog instance at %s>" % (self.this,)
class wxTextEntryDialog(wxTextEntryDialogPtr):
- def __init__(self,arg0,arg1,*args) :
- argl = map(None,args)
- try: argl[3] = argl[3].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxTextEntryDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self):
+ def __del__(self,cmndlgsc=cmndlgsc):
if self.thisown == 1 :
- cmndlgsc.delete_wxFontData(self.this)
- def EnableEffects(self,arg0):
- val = cmndlgsc.wxFontData_EnableEffects(self.this,arg0)
+ cmndlgsc.delete_wxFontData(self)
+ def EnableEffects(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_EnableEffects,(self,) + _args, _kwargs)
return val
- def GetAllowSymbols(self):
- val = cmndlgsc.wxFontData_GetAllowSymbols(self.this)
+ def GetAllowSymbols(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_GetAllowSymbols,(self,) + _args, _kwargs)
return val
- def GetColour(self):
- val = cmndlgsc.wxFontData_GetColour(self.this)
- val = wxColourPtr(val)
+ def GetColour(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val)
return val
- def GetChosenFont(self):
- val = cmndlgsc.wxFontData_GetChosenFont(self.this)
- val = wxFontPtr(val)
- val.thisown = 1
+ def GetChosenFont(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
return val
- def GetEnableEffects(self):
- val = cmndlgsc.wxFontData_GetEnableEffects(self.this)
+ def GetEnableEffects(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_GetEnableEffects,(self,) + _args, _kwargs)
return val
- def GetInitialFont(self):
- val = cmndlgsc.wxFontData_GetInitialFont(self.this)
- val = wxFontPtr(val)
- val.thisown = 1
+ def GetInitialFont(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_GetInitialFont,(self,) + _args, _kwargs)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
return val
- def GetShowHelp(self):
- val = cmndlgsc.wxFontData_GetShowHelp(self.this)
+ def GetShowHelp(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_GetShowHelp,(self,) + _args, _kwargs)
return val
- def SetAllowSymbols(self,arg0):
- val = cmndlgsc.wxFontData_SetAllowSymbols(self.this,arg0)
+ def SetAllowSymbols(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_SetAllowSymbols,(self,) + _args, _kwargs)
return val
- def SetChosenFont(self,arg0):
- val = cmndlgsc.wxFontData_SetChosenFont(self.this,arg0.this)
+ def SetChosenFont(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_SetChosenFont,(self,) + _args, _kwargs)
return val
- def SetColour(self,arg0):
- val = cmndlgsc.wxFontData_SetColour(self.this,arg0.this)
+ def SetColour(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_SetColour,(self,) + _args, _kwargs)
return val
- def SetInitialFont(self,arg0):
- val = cmndlgsc.wxFontData_SetInitialFont(self.this,arg0.this)
+ def SetInitialFont(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_SetInitialFont,(self,) + _args, _kwargs)
return val
- def SetRange(self,arg0,arg1):
- val = cmndlgsc.wxFontData_SetRange(self.this,arg0,arg1)
+ def SetRange(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_SetRange,(self,) + _args, _kwargs)
return val
- def SetShowHelp(self,arg0):
- val = cmndlgsc.wxFontData_SetShowHelp(self.this,arg0)
+ def SetShowHelp(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontData_SetShowHelp,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxFontData instance>"
+ return "<C wxFontData instance at %s>" % (self.this,)
class wxFontData(wxFontDataPtr):
- def __init__(self) :
- self.this = cmndlgsc.new_wxFontData()
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxFontData,_args,_kwargs)
self.thisown = 1
def __init__(self,this):
self.this = this
self.thisown = 0
- def GetFontData(self):
- val = cmndlgsc.wxFontDialog_GetFontData(self.this)
- val = wxFontDataPtr(val)
+ def GetFontData(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontDialog_GetFontData,(self,) + _args, _kwargs)
+ if val: val = wxFontDataPtr(val)
return val
- def ShowModal(self):
- val = cmndlgsc.wxFontDialog_ShowModal(self.this)
+ def ShowModal(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxFontDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxFontDialog instance>"
+ return "<C wxFontDialog instance at %s>" % (self.this,)
class wxFontDialog(wxFontDialogPtr):
- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxFontDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
-class wxPageSetupDialogDataPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self):
- if self.thisown == 1 :
- cmndlgsc.delete_wxPageSetupDialogData(self.this)
- def EnableHelp(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_EnableHelp(self.this,arg0)
- return val
- def EnableMargins(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_EnableMargins(self.this,arg0)
- return val
- def EnableOrientation(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_EnableOrientation(self.this,arg0)
- return val
- def EnablePaper(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_EnablePaper(self.this,arg0)
- return val
- def EnablePrinter(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_EnablePrinter(self.this,arg0)
- return val
- def GetDefaultMinMargins(self):
- val = cmndlgsc.wxPageSetupDialogData_GetDefaultMinMargins(self.this)
- return val
- def GetEnableMargins(self):
- val = cmndlgsc.wxPageSetupDialogData_GetEnableMargins(self.this)
- return val
- def GetEnableOrientation(self):
- val = cmndlgsc.wxPageSetupDialogData_GetEnableOrientation(self.this)
- return val
- def GetEnablePaper(self):
- val = cmndlgsc.wxPageSetupDialogData_GetEnablePaper(self.this)
- return val
- def GetEnablePrinter(self):
- val = cmndlgsc.wxPageSetupDialogData_GetEnablePrinter(self.this)
- return val
- def GetEnableHelp(self):
- val = cmndlgsc.wxPageSetupDialogData_GetEnableHelp(self.this)
- return val
- def GetDefaultInfo(self):
- val = cmndlgsc.wxPageSetupDialogData_GetDefaultInfo(self.this)
- return val
- def GetMarginTopLeft(self):
- val = cmndlgsc.wxPageSetupDialogData_GetMarginTopLeft(self.this)
- val = wxPointPtr(val)
- val.thisown = 1
- return val
- def GetMarginBottomRight(self):
- val = cmndlgsc.wxPageSetupDialogData_GetMarginBottomRight(self.this)
- val = wxPointPtr(val)
- val.thisown = 1
- return val
- def GetMinMarginTopLeft(self):
- val = cmndlgsc.wxPageSetupDialogData_GetMinMarginTopLeft(self.this)
- val = wxPointPtr(val)
- val.thisown = 1
- return val
- def GetMinMarginBottomRight(self):
- val = cmndlgsc.wxPageSetupDialogData_GetMinMarginBottomRight(self.this)
- val = wxPointPtr(val)
- val.thisown = 1
- return val
- def GetPaperId(self):
- val = cmndlgsc.wxPageSetupDialogData_GetPaperId(self.this)
- return val
- def GetPaperSize(self):
- val = cmndlgsc.wxPageSetupDialogData_GetPaperSize(self.this)
- val = wxSizePtr(val)
- val.thisown = 1
- return val
- def GetPrintData(self):
- val = cmndlgsc.wxPageSetupDialogData_GetPrintData(self.this)
- val = wxPrintDataPtr(val)
- return val
- def SetDefaultInfo(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetDefaultInfo(self.this,arg0)
- return val
- def SetDefaultMinMargins(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetDefaultMinMargins(self.this,arg0)
- return val
- def SetMarginTopLeft(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetMarginTopLeft(self.this,arg0.this)
- return val
- def SetMarginBottomRight(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetMarginBottomRight(self.this,arg0.this)
- return val
- def SetMinMarginTopLeft(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetMinMarginTopLeft(self.this,arg0.this)
- return val
- def SetMinMarginBottomRight(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetMinMarginBottomRight(self.this,arg0.this)
- return val
- def SetPaperId(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetPaperId(self.this,arg0)
- return val
- def SetPaperSize(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetPaperSize(self.this,arg0.this)
- return val
- def SetPrintData(self,arg0):
- val = cmndlgsc.wxPageSetupDialogData_SetPrintData(self.this,arg0.this)
- return val
- def __repr__(self):
- return "<C wxPageSetupDialogData instance>"
-class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
- def __init__(self) :
- self.this = cmndlgsc.new_wxPageSetupDialogData()
- self.thisown = 1
-
-
-
-
-class wxPageSetupDialogPtr(wxDialogPtr):
+class wxMessageDialogPtr(wxDialogPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def GetPageSetupData(self):
- val = cmndlgsc.wxPageSetupDialog_GetPageSetupData(self.this)
- val = wxPageSetupDialogDataPtr(val)
- return val
- def ShowModal(self):
- val = cmndlgsc.wxPageSetupDialog_ShowModal(self.this)
+ def ShowModal(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxMessageDialog_ShowModal,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxPageSetupDialog instance>"
-class wxPageSetupDialog(wxPageSetupDialogPtr):
- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxPageSetupDialog,(arg0.this,)+args)
+ return "<C wxMessageDialog instance at %s>" % (self.this,)
+class wxMessageDialog(wxMessageDialogPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxMessageDialog,_args,_kwargs)
self.thisown = 1
wx._StdDialogCallbacks(self)
-class wxPrintDialogDataPtr :
+class wxProgressDialogPtr(wxFramePtr):
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self):
- if self.thisown == 1 :
- cmndlgsc.delete_wxPrintDialogData(self.this)
- def EnableHelp(self,arg0):
- val = cmndlgsc.wxPrintDialogData_EnableHelp(self.this,arg0)
+ def Update(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxProgressDialog_Update,(self,) + _args, _kwargs)
return val
- def EnablePageNumbers(self,arg0):
- val = cmndlgsc.wxPrintDialogData_EnablePageNumbers(self.this,arg0)
- return val
- def EnablePrintToFile(self,arg0):
- val = cmndlgsc.wxPrintDialogData_EnablePrintToFile(self.this,arg0)
- return val
- def EnableSelection(self,arg0):
- val = cmndlgsc.wxPrintDialogData_EnableSelection(self.this,arg0)
- return val
- def GetAllPages(self):
- val = cmndlgsc.wxPrintDialogData_GetAllPages(self.this)
- return val
- def GetCollate(self):
- val = cmndlgsc.wxPrintDialogData_GetCollate(self.this)
- return val
- def GetFromPage(self):
- val = cmndlgsc.wxPrintDialogData_GetFromPage(self.this)
- return val
- def GetMaxPage(self):
- val = cmndlgsc.wxPrintDialogData_GetMaxPage(self.this)
- return val
- def GetMinPage(self):
- val = cmndlgsc.wxPrintDialogData_GetMinPage(self.this)
- return val
- def GetNoCopies(self):
- val = cmndlgsc.wxPrintDialogData_GetNoCopies(self.this)
- return val
- def GetPrintData(self):
- val = cmndlgsc.wxPrintDialogData_GetPrintData(self.this)
- val = wxPrintDataPtr(val)
- return val
- def GetPrintToFile(self):
- val = cmndlgsc.wxPrintDialogData_GetPrintToFile(self.this)
- return val
- def GetToPage(self):
- val = cmndlgsc.wxPrintDialogData_GetToPage(self.this)
- return val
- def SetCollate(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetCollate(self.this,arg0)
- return val
- def SetFromPage(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetFromPage(self.this,arg0)
- return val
- def SetMaxPage(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetMaxPage(self.this,arg0)
- return val
- def SetMinPage(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetMinPage(self.this,arg0)
- return val
- def SetNoCopies(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetNoCopies(self.this,arg0)
- return val
- def SetPrintData(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetPrintData(self.this,arg0.this)
- return val
- def SetPrintToFile(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetPrintToFile(self.this,arg0)
- return val
- def SetSetupDialog(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetSetupDialog(self.this,arg0)
- return val
- def SetToPage(self,arg0):
- val = cmndlgsc.wxPrintDialogData_SetToPage(self.this,arg0)
- return val
- def __repr__(self):
- return "<C wxPrintDialogData instance>"
-class wxPrintDialogData(wxPrintDialogDataPtr):
- def __init__(self) :
- self.this = cmndlgsc.new_wxPrintDialogData()
- self.thisown = 1
-
-
-
-
-class wxPrintDialogPtr(wxDialogPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def GetPrintDialogData(self):
- val = cmndlgsc.wxPrintDialog_GetPrintDialogData(self.this)
- val = wxPrintDialogDataPtr(val)
- return val
- def GetPrintDC(self):
- val = cmndlgsc.wxPrintDialog_GetPrintDC(self.this)
- val = wxDCPtr(val)
- val.thisown = 1
- return val
- def ShowModal(self):
- val = cmndlgsc.wxPrintDialog_ShowModal(self.this)
+ def Resume(self, *_args, **_kwargs):
+ val = apply(cmndlgsc.wxProgressDialog_Resume,(self,) + _args, _kwargs)
return val
def __repr__(self):
- return "<C wxPrintDialog instance>"
-class wxPrintDialog(wxPrintDialogPtr):
- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxPrintDialog,(arg0.this,)+args)
+ return "<C wxProgressDialog instance at %s>" % (self.this,)
+class wxProgressDialog(wxProgressDialogPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(cmndlgsc.new_wxProgressDialog,_args,_kwargs)
self.thisown = 1
- wx._StdDialogCallbacks(self)
-
-
-
-
-class wxMessageDialogPtr(wxDialogPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def ShowModal(self):
- val = cmndlgsc.wxMessageDialog_ShowModal(self.this)
- return val
- def __repr__(self):
- return "<C wxMessageDialog instance>"
-class wxMessageDialog(wxMessageDialogPtr):
- def __init__(self,arg0,arg1,*args) :
- argl = map(None,args)
- try: argl[2] = argl[2].this
- except: pass
- args = tuple(argl)
- self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args)
- self.thisown = 1
- wx._StdDialogCallbacks(self)