]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/wizard.py
Added some missing files
[wxWidgets.git] / wxPython / src / gtk / wizard.py
index d1b43ef55bd755ac802328a01ccc6e2167266795..376181ba55a4bc00eb9fa3e22bffb0347a8ea8e6 100644 (file)
@@ -1,11 +1,58 @@
 # 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 
+def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
+    if (name == "this"):
+        if isinstance(value, class_type):
+            self.__dict__[name] = value.this
+            if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
+            del value.thisown
+            return
+    method = class_type.__swig_setmethods__.get(name,None)
+    if method: return method(self,value)
+    if (not static) or hasattr(self,name) or (name == "thisown"):
+        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):
+    method = class_type.__swig_getmethods__.get(name,None)
+    if method: return method(self)
+    raise AttributeError,name
+
+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 hasattr(self,name) or (name in ("this", "thisown")):
+            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
@@ -18,7 +65,8 @@ 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):
+    """Proxy of C++ WizardEvent class"""
     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):
@@ -46,7 +94,8 @@ class WizardEventPtr(WizardEvent):
         self.__class__ = WizardEvent
 _wizard.WizardEvent_swigregister(WizardEventPtr)
 
-class WizardPage(windows.Panel):
+class WizardPage(_windows.Panel):
+    """Proxy of C++ WizardPage class"""
     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,)
@@ -75,6 +124,7 @@ class WizardPagePtr(WizardPage):
 _wizard.WizardPage_swigregister(WizardPagePtr)
 
 class PyWizardPage(WizardPage):
+    """Proxy of C++ PyWizardPage class"""
     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):
@@ -180,6 +230,7 @@ def PrePyWizardPage(*args, **kwargs):
     return val
 
 class WizardPageSimple(WizardPage):
+    """Proxy of C++ WizardPageSimple class"""
     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):
@@ -209,7 +260,7 @@ class WizardPageSimple(WizardPage):
         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)
@@ -231,7 +282,8 @@ 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):
+    """Proxy of C++ Wizard class"""
     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):