from gdi import *
from windows import *
+import wx
class wxColourDataPtr :
def __init__(self,this):
self.this = this
def GetColourData(self):
val = cmndlgsc.wxColourDialog_GetColourData(self.this)
val = wxColourDataPtr(val)
- val.thisown = 1
return val
def ShowModal(self):
val = cmndlgsc.wxColourDialog_ShowModal(self.this)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args)
self.thisown = 1
- wxp._StdDialogCallbacks(self)
+ wx._StdDialogCallbacks(self)
+
+
+
+
+class wxDirDialogPtr(wxDialogPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetPath(self):
+ val = cmndlgsc.wxDirDialog_GetPath(self.this)
+ return val
+ def GetMessage(self):
+ val = cmndlgsc.wxDirDialog_GetMessage(self.this)
+ return val
+ def GetStyle(self):
+ val = cmndlgsc.wxDirDialog_GetStyle(self.this)
+ return val
+ def SetMessage(self,arg0):
+ val = cmndlgsc.wxDirDialog_SetMessage(self.this,arg0)
+ return val
+ def SetPath(self,arg0):
+ val = cmndlgsc.wxDirDialog_SetPath(self.this,arg0)
+ return val
+ def ShowModal(self):
+ val = cmndlgsc.wxDirDialog_ShowModal(self.this)
+ return val
+ def __repr__(self):
+ return "<C wxDirDialog instance>"
+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)
+ self.thisown = 1
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args)
self.thisown = 1
- wxp._StdDialogCallbacks(self)
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args)
self.thisown = 1
- wxp._StdDialogCallbacks(self)
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args)
self.thisown = 1
- wxp._StdDialogCallbacks(self)
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args)
self.thisown = 1
- wxp._StdDialogCallbacks(self)
+ wx._StdDialogCallbacks(self)
+
+
+
+
+class wxPageSetupDataPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self):
+ if self.thisown == 1 :
+ cmndlgsc.delete_wxPageSetupData(self.this)
+ def EnableHelp(self,arg0):
+ val = cmndlgsc.wxPageSetupData_EnableHelp(self.this,arg0)
+ return val
+ def EnableMargins(self,arg0):
+ val = cmndlgsc.wxPageSetupData_EnableMargins(self.this,arg0)
+ return val
+ def EnableOrientation(self,arg0):
+ val = cmndlgsc.wxPageSetupData_EnableOrientation(self.this,arg0)
+ return val
+ def EnablePaper(self,arg0):
+ val = cmndlgsc.wxPageSetupData_EnablePaper(self.this,arg0)
+ return val
+ def EnablePrinter(self,arg0):
+ val = cmndlgsc.wxPageSetupData_EnablePrinter(self.this,arg0)
+ return val
+ def GetPaperSize(self):
+ val = cmndlgsc.wxPageSetupData_GetPaperSize(self.this)
+ val = wxPointPtr(val)
+ val.thisown = 1
+ return val
+ def GetMarginTopLeft(self):
+ val = cmndlgsc.wxPageSetupData_GetMarginTopLeft(self.this)
+ val = wxPointPtr(val)
+ val.thisown = 1
+ return val
+ def GetMarginBottomRight(self):
+ val = cmndlgsc.wxPageSetupData_GetMarginBottomRight(self.this)
+ val = wxPointPtr(val)
+ val.thisown = 1
+ return val
+ def GetMinMarginTopLeft(self):
+ val = cmndlgsc.wxPageSetupData_GetMinMarginTopLeft(self.this)
+ val = wxPointPtr(val)
+ val.thisown = 1
+ return val
+ def GetMinMarginBottomRight(self):
+ val = cmndlgsc.wxPageSetupData_GetMinMarginBottomRight(self.this)
+ val = wxPointPtr(val)
+ val.thisown = 1
+ return val
+ def GetOrientation(self):
+ val = cmndlgsc.wxPageSetupData_GetOrientation(self.this)
+ return val
+ def GetDefaultMinMargins(self):
+ val = cmndlgsc.wxPageSetupData_GetDefaultMinMargins(self.this)
+ return val
+ def GetEnableMargins(self):
+ val = cmndlgsc.wxPageSetupData_GetEnableMargins(self.this)
+ return val
+ def GetEnableOrientation(self):
+ val = cmndlgsc.wxPageSetupData_GetEnableOrientation(self.this)
+ return val
+ def GetEnablePaper(self):
+ val = cmndlgsc.wxPageSetupData_GetEnablePaper(self.this)
+ return val
+ def GetEnablePrinter(self):
+ val = cmndlgsc.wxPageSetupData_GetEnablePrinter(self.this)
+ return val
+ def GetEnableHelp(self):
+ val = cmndlgsc.wxPageSetupData_GetEnableHelp(self.this)
+ return val
+ def GetDefaultInfo(self):
+ val = cmndlgsc.wxPageSetupData_GetDefaultInfo(self.this)
+ return val
+ def SetPaperSize(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetPaperSize(self.this,arg0.this)
+ return val
+ def SetMarginTopLeft(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetMarginTopLeft(self.this,arg0.this)
+ return val
+ def SetMarginBottomRight(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetMarginBottomRight(self.this,arg0.this)
+ return val
+ def SetMinMarginTopLeft(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetMinMarginTopLeft(self.this,arg0.this)
+ return val
+ def SetMinMarginBottomRight(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetMinMarginBottomRight(self.this,arg0.this)
+ return val
+ def SetOrientation(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetOrientation(self.this,arg0)
+ return val
+ def SetDefaultMinMargins(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetDefaultMinMargins(self.this,arg0)
+ return val
+ def SetDefaultInfo(self,arg0):
+ val = cmndlgsc.wxPageSetupData_SetDefaultInfo(self.this,arg0)
+ return val
+ def __repr__(self):
+ return "<C wxPageSetupData instance>"
+class wxPageSetupData(wxPageSetupDataPtr):
+ def __init__(self) :
+ self.this = cmndlgsc.new_wxPageSetupData()
+ self.thisown = 1
+
+
+
+
+class wxPageSetupDialogPtr(wxDialogPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetPageSetupData(self):
+ val = cmndlgsc.wxPageSetupDialog_GetPageSetupData(self.this)
+ val = wxPageSetupDataPtr(val)
+ return val
+ def ShowModal(self):
+ val = cmndlgsc.wxPageSetupDialog_ShowModal(self.this)
+ 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)
+ self.thisown = 1
+ wx._StdDialogCallbacks(self)
+
+
+
+
+class wxPrintDataPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self):
+ if self.thisown == 1 :
+ cmndlgsc.delete_wxPrintData(self.this)
+ def EnableHelp(self,arg0):
+ val = cmndlgsc.wxPrintData_EnableHelp(self.this,arg0)
+ return val
+ def EnablePageNumbers(self,arg0):
+ val = cmndlgsc.wxPrintData_EnablePageNumbers(self.this,arg0)
+ return val
+ def EnablePrintToFile(self,arg0):
+ val = cmndlgsc.wxPrintData_EnablePrintToFile(self.this,arg0)
+ return val
+ def EnableSelection(self,arg0):
+ val = cmndlgsc.wxPrintData_EnableSelection(self.this,arg0)
+ return val
+ def GetAllPages(self):
+ val = cmndlgsc.wxPrintData_GetAllPages(self.this)
+ return val
+ def GetCollate(self):
+ val = cmndlgsc.wxPrintData_GetCollate(self.this)
+ return val
+ def GetFromPage(self):
+ val = cmndlgsc.wxPrintData_GetFromPage(self.this)
+ return val
+ def GetMaxPage(self):
+ val = cmndlgsc.wxPrintData_GetMaxPage(self.this)
+ return val
+ def GetMinPage(self):
+ val = cmndlgsc.wxPrintData_GetMinPage(self.this)
+ return val
+ def GetNoCopies(self):
+ val = cmndlgsc.wxPrintData_GetNoCopies(self.this)
+ return val
+ def GetOrientation(self):
+ val = cmndlgsc.wxPrintData_GetOrientation(self.this)
+ return val
+ def GetToPage(self):
+ val = cmndlgsc.wxPrintData_GetToPage(self.this)
+ return val
+ def SetCollate(self,arg0):
+ val = cmndlgsc.wxPrintData_SetCollate(self.this,arg0)
+ return val
+ def SetFromPage(self,arg0):
+ val = cmndlgsc.wxPrintData_SetFromPage(self.this,arg0)
+ return val
+ def SetMaxPage(self,arg0):
+ val = cmndlgsc.wxPrintData_SetMaxPage(self.this,arg0)
+ return val
+ def SetMinPage(self,arg0):
+ val = cmndlgsc.wxPrintData_SetMinPage(self.this,arg0)
+ return val
+ def SetOrientation(self,arg0):
+ val = cmndlgsc.wxPrintData_SetOrientation(self.this,arg0)
+ return val
+ def SetNoCopies(self,arg0):
+ val = cmndlgsc.wxPrintData_SetNoCopies(self.this,arg0)
+ return val
+ def SetPrintToFile(self,arg0):
+ val = cmndlgsc.wxPrintData_SetPrintToFile(self.this,arg0)
+ return val
+ def SetSetupDialog(self,arg0):
+ val = cmndlgsc.wxPrintData_SetSetupDialog(self.this,arg0)
+ return val
+ def SetToPage(self,arg0):
+ val = cmndlgsc.wxPrintData_SetToPage(self.this,arg0)
+ return val
+ def __repr__(self):
+ return "<C wxPrintData instance>"
+class wxPrintData(wxPrintDataPtr):
+ def __init__(self) :
+ self.this = cmndlgsc.new_wxPrintData()
+ self.thisown = 1
+
+
+
+
+class wxPrintDialogPtr(wxDialogPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetPrintData(self):
+ val = cmndlgsc.wxPrintDialog_GetPrintData(self.this)
+ val = wxPrintDataPtr(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)
+ 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)
+ self.thisown = 1
+ wx._StdDialogCallbacks(self)
args = tuple(argl)
self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args)
self.thisown = 1
- wxp._StdDialogCallbacks(self)
+ wx._StdDialogCallbacks(self)