📄 wizard.py
字号:
# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.
"""
`Wizard` is a dialog class that guides the user through a sequence of steps,
or pages.
"""
import _wizard
import new
new_instancemethod = new.instancemethod
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'PySwigObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
import types
try:
_object = types.ObjectType
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
del types
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if (name == "thisown"): return self.this.own(value)
if hasattr(self,name) or (name == "this"):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
import _windows
import _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
WIZARD_EX_HELPBUTTON = _wizard.WIZARD_EX_HELPBUTTON
wxEVT_WIZARD_PAGE_CHANGED = _wizard.wxEVT_WIZARD_PAGE_CHANGED
wxEVT_WIZARD_PAGE_CHANGING = _wizard.wxEVT_WIZARD_PAGE_CHANGING
wxEVT_WIZARD_CANCEL = _wizard.wxEVT_WIZARD_CANCEL
wxEVT_WIZARD_HELP = _wizard.wxEVT_WIZARD_HELP
wxEVT_WIZARD_FINISHED = _wizard.wxEVT_WIZARD_FINISHED
EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1)
EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
class WizardEvent(_core.NotifyEvent):
"""Proxy of C++ WizardEvent class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
__init__(self, EventType type=wxEVT_NULL, int id=-1, bool direction=True,
WizardPage page=None) -> WizardEvent
"""
_wizard.WizardEvent_swiginit(self,_wizard.new_WizardEvent(*args, **kwargs))
def GetDirection(*args, **kwargs):
"""GetDirection(self) -> bool"""
return _wizard.WizardEvent_GetDirection(*args, **kwargs)
def GetPage(*args, **kwargs):
"""GetPage(self) -> WizardPage"""
return _wizard.WizardEvent_GetPage(*args, **kwargs)
_wizard.WizardEvent_swigregister(WizardEvent)
class WizardPage(_windows.Panel):
"""Proxy of C++ WizardPage class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
def Create(*args, **kwargs):
"""Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
return _wizard.WizardPage_Create(*args, **kwargs)
def GetPrev(*args, **kwargs):
"""GetPrev(self) -> WizardPage"""
return _wizard.WizardPage_GetPrev(*args, **kwargs)
def GetNext(*args, **kwargs):
"""GetNext(self) -> WizardPage"""
return _wizard.WizardPage_GetNext(*args, **kwargs)
def GetBitmap(*args, **kwargs):
"""GetBitmap(self) -> Bitmap"""
return _wizard.WizardPage_GetBitmap(*args, **kwargs)
_wizard.WizardPage_swigregister(WizardPage)
class PyWizardPage(WizardPage):
"""Proxy of C++ PyWizardPage class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
_wizard.PyWizardPage_swiginit(self,_wizard.new_PyWizardPage(*args, **kwargs))
self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)
def Create(*args, **kwargs):
"""Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
return _wizard.PyWizardPage_Create(*args, **kwargs)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
def DoMoveWindow(*args, **kwargs):
"""DoMoveWindow(self, int x, int y, int width, int height)"""
return _wizard.PyWizardPage_DoMoveWindow(*args, **kwargs)
def DoSetSize(*args, **kwargs):
"""DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
return _wizard.PyWizardPage_DoSetSize(*args, **kwargs)
def DoSetClientSize(*args, **kwargs):
"""DoSetClientSize(self, int width, int height)"""
return _wizard.PyWizardPage_DoSetClientSize(*args, **kwargs)
def DoSetVirtualSize(*args, **kwargs):
"""DoSetVirtualSize(self, int x, int y)"""
return _wizard.PyWizardPage_DoSetVirtualSize(*args, **kwargs)
def DoGetSize(*args, **kwargs):
"""DoGetSize() -> (width, height)"""
return _wizard.PyWizardPage_DoGetSize(*args, **kwargs)
def DoGetClientSize(*args, **kwargs):
"""DoGetClientSize() -> (width, height)"""
return _wizard.PyWizardPage_DoGetClientSize(*args, **kwargs)
def DoGetPosition(*args, **kwargs):
"""DoGetPosition() -> (x,y)"""
return _wizard.PyWizardPage_DoGetPosition(*args, **kwargs)
def DoGetVirtualSize(*args, **kwargs):
"""DoGetVirtualSize(self) -> Size"""
return _wizard.PyWizardPage_DoGetVirtualSize(*args, **kwargs)
def DoGetBestSize(*args, **kwargs):
"""DoGetBestSize(self) -> Size"""
return _wizard.PyWizardPage_DoGetBestSize(*args, **kwargs)
def GetDefaultAttributes(*args, **kwargs):
"""GetDefaultAttributes(self) -> VisualAttributes"""
return _wizard.PyWizardPage_GetDefaultAttributes(*args, **kwargs)
def OnInternalIdle(*args, **kwargs):
"""OnInternalIdle(self)"""
return _wizard.PyWizardPage_OnInternalIdle(*args, **kwargs)
def base_DoMoveWindow(*args, **kw):
return PyWizardPage.DoMoveWindow(*args, **kw)
base_DoMoveWindow = wx._deprecated(base_DoMoveWindow,
"Please use PyWizardPage.DoMoveWindow instead.")
def base_DoSetSize(*args, **kw):
return PyWizardPage.DoSetSize(*args, **kw)
base_DoSetSize = wx._deprecated(base_DoSetSize,
"Please use PyWizardPage.DoSetSize instead.")
def base_DoSetClientSize(*args, **kw):
return PyWizardPage.DoSetClientSize(*args, **kw)
base_DoSetClientSize = wx._deprecated(base_DoSetClientSize,
"Please use PyWizardPage.DoSetClientSize instead.")
def base_DoSetVirtualSize(*args, **kw):
return PyWizardPage.DoSetVirtualSize(*args, **kw)
base_DoSetVirtualSize = wx._deprecated(base_DoSetVirtualSize,
"Please use PyWizardPage.DoSetVirtualSize instead.")
def base_DoGetSize(*args, **kw):
return PyWizardPage.DoGetSize(*args, **kw)
base_DoGetSize = wx._deprecated(base_DoGetSize,
"Please use PyWizardPage.DoGetSize instead.")
def base_DoGetClientSize(*args, **kw):
return PyWizardPage.DoGetClientSize(*args, **kw)
base_DoGetClientSize = wx._deprecated(base_DoGetClientSize,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -