X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/322913cef36b156a4a9722ce6a68845e3219e615..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/src/gtk/wizard.py diff --git a/wxPython/src/gtk/wizard.py b/wxPython/src/gtk/wizard.py index 589de2b875..1949b09a5b 100644 --- a/wxPython/src/gtk/wizard.py +++ b/wxPython/src/gtk/wizard.py @@ -1,11 +1,17 @@ # This file was created automatically by SWIG. # 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 windows -import core -wx = core +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 @@ -18,23 +24,24 @@ 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): - """""" +class WizardEvent(_core.NotifyEvent): def __repr__(self): return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, - WizardPage page=None) -> WizardEvent""" + """ + __init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, + WizardPage page=None) -> WizardEvent + """ newobj = _wizard.new_WizardEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def GetDirection(*args, **kwargs): - """GetDirection() -> bool""" + """GetDirection(self) -> bool""" return _wizard.WizardEvent_GetDirection(*args, **kwargs) def GetPage(*args, **kwargs): - """GetPage() -> WizardPage""" + """GetPage(self) -> WizardPage""" return _wizard.WizardEvent_GetPage(*args, **kwargs) @@ -45,25 +52,24 @@ class WizardEventPtr(WizardEvent): self.__class__ = WizardEvent _wizard.WizardEvent_swigregister(WizardEventPtr) -class WizardPage(windows.Panel): - """""" +class WizardPage(_windows.Panel): def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def Create(*args, **kwargs): - """Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" return _wizard.WizardPage_Create(*args, **kwargs) def GetPrev(*args, **kwargs): - """GetPrev() -> WizardPage""" + """GetPrev(self) -> WizardPage""" return _wizard.WizardPage_GetPrev(*args, **kwargs) def GetNext(*args, **kwargs): - """GetNext() -> WizardPage""" + """GetNext(self) -> WizardPage""" return _wizard.WizardPage_GetNext(*args, **kwargs) def GetBitmap(*args, **kwargs): - """GetBitmap() -> wxBitmap""" + """GetBitmap(self) -> Bitmap""" return _wizard.WizardPage_GetBitmap(*args, **kwargs) @@ -75,11 +81,10 @@ class WizardPagePtr(WizardPage): _wizard.WizardPage_swigregister(WizardPagePtr) class PyWizardPage(WizardPage): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Wizard parent, wxBitmap bitmap=&wxNullBitmap, wxString resource=&wxPyEmptyString) -> PyWizardPage""" + """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage""" newobj = _wizard.new_PyWizardPage(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -87,27 +92,27 @@ class PyWizardPage(WizardPage): self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool""" + """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" return _wizard.PyWizardPage_Create(*args, **kwargs) def _setCallbackInfo(*args, **kwargs): - """_setCallbackInfo(PyObject self, PyObject _class)""" + """_setCallbackInfo(self, PyObject self, PyObject _class)""" return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs) def base_DoMoveWindow(*args, **kwargs): - """base_DoMoveWindow(int x, int y, int width, int height)""" + """base_DoMoveWindow(self, int x, int y, int width, int height)""" return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs) def base_DoSetSize(*args, **kwargs): - """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" + """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs) def base_DoSetClientSize(*args, **kwargs): - """base_DoSetClientSize(int width, int height)""" + """base_DoSetClientSize(self, int width, int height)""" return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs) def base_DoSetVirtualSize(*args, **kwargs): - """base_DoSetVirtualSize(int x, int y)""" + """base_DoSetVirtualSize(self, int x, int y)""" return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs) def base_DoGetSize(*args, **kwargs): @@ -123,47 +128,47 @@ class PyWizardPage(WizardPage): return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs) def base_DoGetVirtualSize(*args, **kwargs): - """base_DoGetVirtualSize() -> Size""" + """base_DoGetVirtualSize(self) -> Size""" return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs) def base_DoGetBestSize(*args, **kwargs): - """base_DoGetBestSize() -> Size""" + """base_DoGetBestSize(self) -> Size""" return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs) def base_InitDialog(*args, **kwargs): - """base_InitDialog()""" + """base_InitDialog(self)""" return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs) def base_TransferDataToWindow(*args, **kwargs): - """base_TransferDataToWindow() -> bool""" + """base_TransferDataToWindow(self) -> bool""" return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs) def base_TransferDataFromWindow(*args, **kwargs): - """base_TransferDataFromWindow() -> bool""" + """base_TransferDataFromWindow(self) -> bool""" return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs) def base_Validate(*args, **kwargs): - """base_Validate() -> bool""" + """base_Validate(self) -> bool""" return _wizard.PyWizardPage_base_Validate(*args, **kwargs) def base_AcceptsFocus(*args, **kwargs): - """base_AcceptsFocus() -> bool""" + """base_AcceptsFocus(self) -> bool""" return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs) def base_AcceptsFocusFromKeyboard(*args, **kwargs): - """base_AcceptsFocusFromKeyboard() -> bool""" + """base_AcceptsFocusFromKeyboard(self) -> bool""" return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs) def base_GetMaxSize(*args, **kwargs): - """base_GetMaxSize() -> Size""" + """base_GetMaxSize(self) -> Size""" return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs) def base_AddChild(*args, **kwargs): - """base_AddChild(Window child)""" + """base_AddChild(self, Window child)""" return _wizard.PyWizardPage_base_AddChild(*args, **kwargs) def base_RemoveChild(*args, **kwargs): - """base_RemoveChild(Window child)""" + """base_RemoveChild(self, Window child)""" return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs) @@ -181,12 +186,13 @@ def PrePyWizardPage(*args, **kwargs): return val class WizardPageSimple(WizardPage): - """""" def __repr__(self): return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Wizard parent, WizardPage prev=None, WizardPage next=None, - wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple""" + """ + __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, + Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple + """ newobj = _wizard.new_WizardPageSimple(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -194,20 +200,22 @@ class WizardPageSimple(WizardPage): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, - wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool""" + """ + Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None, + Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool + """ return _wizard.WizardPageSimple_Create(*args, **kwargs) def SetPrev(*args, **kwargs): - """SetPrev(WizardPage prev)""" + """SetPrev(self, WizardPage prev)""" return _wizard.WizardPageSimple_SetPrev(*args, **kwargs) def SetNext(*args, **kwargs): - """SetNext(WizardPage next)""" + """SetNext(self, WizardPage next)""" return _wizard.WizardPageSimple_SetNext(*args, **kwargs) def Chain(*args, **kwargs): - """WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)""" + """Chain(WizardPageSimple first, WizardPageSimple second)""" return _wizard.WizardPageSimple_Chain(*args, **kwargs) Chain = staticmethod(Chain) @@ -229,14 +237,15 @@ def WizardPageSimple_Chain(*args, **kwargs): """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)""" return _wizard.WizardPageSimple_Chain(*args, **kwargs) -class Wizard(windows.Dialog): - """""" +class Wizard(_windows.Dialog): def __repr__(self): return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(Window parent, int id=-1, wxString title=wxEmptyString, - wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, - long style=DEFAULT_DIALOG_STYLE) -> Wizard""" + """ + __init__(self, Window parent, int id=-1, String title=EmptyString, + Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, + long style=DEFAULT_DIALOG_STYLE) -> Wizard + """ newobj = _wizard.new_Wizard(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -244,56 +253,58 @@ class Wizard(windows.Dialog): self._setOORInfo(self) def Create(*args, **kwargs): - """Create(Window parent, int id=-1, wxString title=wxEmptyString, - wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool""" + """ + Create(self, Window parent, int id=-1, String title=EmptyString, + Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool + """ return _wizard.Wizard_Create(*args, **kwargs) def Init(*args, **kwargs): - """Init()""" + """Init(self)""" return _wizard.Wizard_Init(*args, **kwargs) def RunWizard(*args, **kwargs): - """RunWizard(WizardPage firstPage) -> bool""" + """RunWizard(self, WizardPage firstPage) -> bool""" return _wizard.Wizard_RunWizard(*args, **kwargs) def GetCurrentPage(*args, **kwargs): - """GetCurrentPage() -> WizardPage""" + """GetCurrentPage(self) -> WizardPage""" return _wizard.Wizard_GetCurrentPage(*args, **kwargs) def SetPageSize(*args, **kwargs): - """SetPageSize(Size size)""" + """SetPageSize(self, Size size)""" return _wizard.Wizard_SetPageSize(*args, **kwargs) def GetPageSize(*args, **kwargs): - """GetPageSize() -> Size""" + """GetPageSize(self) -> Size""" return _wizard.Wizard_GetPageSize(*args, **kwargs) def FitToPage(*args, **kwargs): - """FitToPage(WizardPage firstPage)""" + """FitToPage(self, WizardPage firstPage)""" return _wizard.Wizard_FitToPage(*args, **kwargs) def GetPageAreaSizer(*args, **kwargs): - """GetPageAreaSizer() -> Sizer""" + """GetPageAreaSizer(self) -> Sizer""" return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs) def SetBorder(*args, **kwargs): - """SetBorder(int border)""" + """SetBorder(self, int border)""" return _wizard.Wizard_SetBorder(*args, **kwargs) def IsRunning(*args, **kwargs): - """IsRunning() -> bool""" + """IsRunning(self) -> bool""" return _wizard.Wizard_IsRunning(*args, **kwargs) def ShowPage(*args, **kwargs): - """ShowPage(WizardPage page, bool goingForward=True) -> bool""" + """ShowPage(self, WizardPage page, bool goingForward=True) -> bool""" return _wizard.Wizard_ShowPage(*args, **kwargs) def HasNextPage(*args, **kwargs): - """HasNextPage(WizardPage page) -> bool""" + """HasNextPage(self, WizardPage page) -> bool""" return _wizard.Wizard_HasNextPage(*args, **kwargs) def HasPrevPage(*args, **kwargs): - """HasPrevPage(WizardPage page) -> bool""" + """HasPrevPage(self, WizardPage page) -> bool""" return _wizard.Wizard_HasPrevPage(*args, **kwargs)