reSWIGged after 1.3.24 update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-12-23 21:46:51 +00:00
parent 3004cfd8ca
commit 36ed4f517f
32 changed files with 81821 additions and 41844 deletions
+54
View File
@@ -8,6 +8,47 @@ Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
import _gizmos
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
import _controls
@@ -18,6 +59,7 @@ wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS
DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER
class DynamicSashSplitEvent(_core.CommandEvent):
"""Proxy of C++ DynamicSashSplitEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -39,6 +81,7 @@ EditableListBoxNameStr = cvar.EditableListBoxNameStr
TreeListCtrlNameStr = cvar.TreeListCtrlNameStr
class DynamicSashUnifyEvent(_core.CommandEvent):
"""Proxy of C++ DynamicSashUnifyEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -56,6 +99,7 @@ class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
_gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
class DynamicSashWindow(_core.Window):
"""Proxy of C++ DynamicSashWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -107,6 +151,7 @@ EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
class EditableListBox(_windows.Panel):
"""Proxy of C++ EditableListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -163,6 +208,7 @@ class EditableListBoxPtr(EditableListBox):
_gizmos.EditableListBox_swigregister(EditableListBoxPtr)
class RemotelyScrolledTreeCtrl(_controls.TreeCtrl):
"""Proxy of C++ RemotelyScrolledTreeCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -209,6 +255,7 @@ class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
_gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
class TreeCompanionWindow(_core.Window):
"""Proxy of C++ TreeCompanionWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -243,6 +290,7 @@ class TreeCompanionWindowPtr(TreeCompanionWindow):
_gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
class ThinSplitterWindow(_windows.SplitterWindow):
"""Proxy of C++ ThinSplitterWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -265,6 +313,7 @@ class ThinSplitterWindowPtr(ThinSplitterWindow):
_gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
class SplitterScrolledWindow(_windows.ScrolledWindow):
"""Proxy of C++ SplitterScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -292,6 +341,7 @@ LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER
LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK
LED_DRAW_FADED = _gizmos.LED_DRAW_FADED
class LEDNumberCtrl(_core.Control):
"""Proxy of C++ LEDNumberCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -309,6 +359,8 @@ class LEDNumberCtrl(_core.Control):
"""
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
Do the 2nd phase and create the GUI control.
"""
return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
@@ -362,6 +414,7 @@ TL_SEARCH_NOCASE = _gizmos.TL_SEARCH_NOCASE
TR_DONT_ADJUST_MAC = _gizmos.TR_DONT_ADJUST_MAC
wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC
class TreeListColumnInfo(_core.Object):
"""Proxy of C++ TreeListColumnInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -430,6 +483,7 @@ class TreeListColumnInfoPtr(TreeListColumnInfo):
_gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr)
class TreeListCtrl(_core.Control):
"""Proxy of C++ TreeListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+43
View File
@@ -7,10 +7,52 @@
import _glcanvas
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 _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
class GLContext(_core.Object):
"""Proxy of C++ GLContext class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -71,6 +113,7 @@ WX_GL_MIN_ACCUM_GREEN = _glcanvas.WX_GL_MIN_ACCUM_GREEN
WX_GL_MIN_ACCUM_BLUE = _glcanvas.WX_GL_MIN_ACCUM_BLUE
WX_GL_MIN_ACCUM_ALPHA = _glcanvas.WX_GL_MIN_ACCUM_ALPHA
class GLCanvas(_core.Window):
"""Proxy of C++ GLCanvas class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+68 -6
View File
@@ -8,6 +8,47 @@ of 2D objects. (This version is deprecated, please use wx.lib.ogl instead.)
import _ogl
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
@@ -19,6 +60,7 @@ warnings.warn("This module is deprecated. Please use the wx.lib.ogl package ins
#---------------------------------------------------------------------------
class ShapeRegion(_core.Object):
"""Proxy of C++ ShapeRegion class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxShapeRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -148,6 +190,7 @@ class ShapeRegionPtr(ShapeRegion):
_ogl.ShapeRegion_swigregister(ShapeRegionPtr)
class AttachmentPoint(_core.Object):
"""Proxy of C++ AttachmentPoint class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxAttachmentPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -168,6 +211,7 @@ class AttachmentPointPtr(AttachmentPoint):
_ogl.AttachmentPoint_swigregister(AttachmentPointPtr)
class PyShapeEvtHandler(_core.Object):
"""Proxy of C++ PyShapeEvtHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -350,6 +394,7 @@ class PyShapeEvtHandlerPtr(PyShapeEvtHandler):
_ogl.PyShapeEvtHandler_swigregister(PyShapeEvtHandlerPtr)
class PyShape(PyShapeEvtHandler):
"""Proxy of C++ PyShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1076,6 +1121,7 @@ _ogl.PyShape_swigregister(PyShapePtr)
oglMETAFLAGS_OUTLINE = _ogl.oglMETAFLAGS_OUTLINE
oglMETAFLAGS_ATTACHMENTS = _ogl.oglMETAFLAGS_ATTACHMENTS
class PseudoMetaFile(_core.Object):
"""Proxy of C++ PseudoMetaFile class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPseudoMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1203,15 +1249,15 @@ class PseudoMetaFile(_core.Object):
return _ogl.PseudoMetaFile_DrawText(*args, **kwargs)
def DrawLines(*args, **kwargs):
"""DrawLines(self, int points, Point points_array)"""
"""DrawLines(self, int points)"""
return _ogl.PseudoMetaFile_DrawLines(*args, **kwargs)
def DrawPolygon(*args, **kwargs):
"""DrawPolygon(self, int points, Point points_array, int flags=0)"""
"""DrawPolygon(self, int points, int flags=0)"""
return _ogl.PseudoMetaFile_DrawPolygon(*args, **kwargs)
def DrawSpline(*args, **kwargs):
"""DrawSpline(self, int points, Point points_array)"""
"""DrawSpline(self, int points)"""
return _ogl.PseudoMetaFile_DrawSpline(*args, **kwargs)
def SetClippingRect(*args, **kwargs):
@@ -1255,6 +1301,7 @@ class PseudoMetaFilePtr(PseudoMetaFile):
_ogl.PseudoMetaFile_swigregister(PseudoMetaFilePtr)
class PyRectangleShape(PyShape):
"""Proxy of C++ PyRectangleShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyRectangleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1417,6 +1464,7 @@ class PyRectangleShapePtr(PyRectangleShape):
_ogl.PyRectangleShape_swigregister(PyRectangleShapePtr)
class PyControlPoint(PyRectangleShape):
"""Proxy of C++ PyControlPoint class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyControlPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1579,6 +1627,7 @@ class PyControlPointPtr(PyControlPoint):
_ogl.PyControlPoint_swigregister(PyControlPointPtr)
class PyBitmapShape(PyRectangleShape):
"""Proxy of C++ PyBitmapShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyBitmapShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1749,6 +1798,7 @@ class PyBitmapShapePtr(PyBitmapShape):
_ogl.PyBitmapShape_swigregister(PyBitmapShapePtr)
class PyDrawnShape(PyRectangleShape):
"""Proxy of C++ PyDrawnShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDrawnShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1788,7 +1838,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_DrawLine(*args, **kwargs)
def DrawLines(*args, **kwargs):
"""DrawLines(self, int points, Point points_array)"""
"""DrawLines(self, int points)"""
return _ogl.PyDrawnShape_DrawLines(*args, **kwargs)
def DrawPoint(*args, **kwargs):
@@ -1796,7 +1846,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_DrawPoint(*args, **kwargs)
def DrawPolygon(*args, **kwargs):
"""DrawPolygon(self, int points, Point points_array, int flags=0)"""
"""DrawPolygon(self, int points, int flags=0)"""
return _ogl.PyDrawnShape_DrawPolygon(*args, **kwargs)
def DrawRectangle(*args, **kwargs):
@@ -1808,7 +1858,7 @@ class PyDrawnShape(PyRectangleShape):
return _ogl.PyDrawnShape_DrawRoundedRectangle(*args, **kwargs)
def DrawSpline(*args, **kwargs):
"""DrawSpline(self, int points, Point points_array)"""
"""DrawSpline(self, int points)"""
return _ogl.PyDrawnShape_DrawSpline(*args, **kwargs)
def DrawText(*args, **kwargs):
@@ -2015,6 +2065,7 @@ class PyDrawnShapePtr(PyDrawnShape):
_ogl.PyDrawnShape_swigregister(PyDrawnShapePtr)
class OGLConstraint(_core.Object):
"""Proxy of C++ OGLConstraint class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxOGLConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2044,6 +2095,7 @@ class OGLConstraintPtr(OGLConstraint):
_ogl.OGLConstraint_swigregister(OGLConstraintPtr)
class PyCompositeShape(PyRectangleShape):
"""Proxy of C++ PyCompositeShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyCompositeShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2254,6 +2306,7 @@ class PyCompositeShapePtr(PyCompositeShape):
_ogl.PyCompositeShape_swigregister(PyCompositeShapePtr)
class PyDividedShape(PyRectangleShape):
"""Proxy of C++ PyDividedShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDividedShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2416,6 +2469,7 @@ class PyDividedShapePtr(PyDividedShape):
_ogl.PyDividedShape_swigregister(PyDividedShapePtr)
class PyDivisionShape(PyCompositeShape):
"""Proxy of C++ PyDivisionShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDivisionShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2670,6 +2724,7 @@ class PyDivisionShapePtr(PyDivisionShape):
_ogl.PyDivisionShape_swigregister(PyDivisionShapePtr)
class PyEllipseShape(PyShape):
"""Proxy of C++ PyEllipseShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyEllipseShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2820,6 +2875,7 @@ class PyEllipseShapePtr(PyEllipseShape):
_ogl.PyEllipseShape_swigregister(PyEllipseShapePtr)
class PyCircleShape(PyEllipseShape):
"""Proxy of C++ PyCircleShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyCircleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2970,6 +3026,7 @@ class PyCircleShapePtr(PyCircleShape):
_ogl.PyCircleShape_swigregister(PyCircleShapePtr)
class ArrowHead(_core.Object):
"""Proxy of C++ ArrowHead class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxArrowHead instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3061,6 +3118,7 @@ class ArrowHeadPtr(ArrowHead):
_ogl.ArrowHead_swigregister(ArrowHeadPtr)
class PyLineShape(PyShape):
"""Proxy of C++ PyLineShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyLineShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3403,6 +3461,7 @@ class PyLineShapePtr(PyLineShape):
_ogl.PyLineShape_swigregister(PyLineShapePtr)
class PyPolygonShape(PyShape):
"""Proxy of C++ PyPolygonShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPolygonShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3597,6 +3656,7 @@ class PyPolygonShapePtr(PyPolygonShape):
_ogl.PyPolygonShape_swigregister(PyPolygonShapePtr)
class PyTextShape(PyRectangleShape):
"""Proxy of C++ PyTextShape class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTextShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3751,6 +3811,7 @@ class PyTextShapePtr(PyTextShape):
_ogl.PyTextShape_swigregister(PyTextShapePtr)
class Diagram(_core.Object):
"""Proxy of C++ Diagram class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDiagram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3864,6 +3925,7 @@ class DiagramPtr(Diagram):
_ogl.Diagram_swigregister(DiagramPtr)
class PyShapeCanvas(_windows.ScrolledWindow):
"""Proxy of C++ PyShapeCanvas class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyShapeCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+43
View File
@@ -9,6 +9,47 @@ languages are built-in.
import _stc
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 _core
import _misc
wx = _core
@@ -1018,6 +1059,7 @@ STC_CMD_WORDLEFTENDEXTEND = _stc.STC_CMD_WORDLEFTENDEXTEND
STC_CMD_WORDRIGHTEND = _stc.STC_CMD_WORDRIGHTEND
STC_CMD_WORDRIGHTENDEXTEND = _stc.STC_CMD_WORDRIGHTENDEXTEND
class StyledTextCtrl(_core.Control):
"""Proxy of C++ StyledTextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2784,6 +2826,7 @@ def PreStyledTextCtrl(*args, **kwargs):
return val
class StyledTextEvent(_core.CommandEvent):
"""Proxy of C++ StyledTextEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+111 -2
View File
@@ -3,6 +3,47 @@
import _controls_
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 _core
wx = _core
#---------------------------------------------------------------------------
@@ -839,6 +880,7 @@ GA_VERTICAL = _controls_.GA_VERTICAL
GA_SMOOTH = _controls_.GA_SMOOTH
GA_PROGRESSBAR = _controls_.GA_PROGRESSBAR
class Gauge(_core.Control):
"""Proxy of C++ Gauge class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -952,6 +994,7 @@ def Gauge_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticBox(_core.Control):
"""Proxy of C++ StaticBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1029,6 +1072,7 @@ def StaticBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticLine(_core.Control):
"""Proxy of C++ StaticLine class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1116,6 +1160,7 @@ def StaticLine_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticText(_core.Control):
"""Proxy of C++ StaticText class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1190,6 +1235,7 @@ def StaticText_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class StaticBitmap(_core.Control):
"""Proxy of C++ StaticBitmap class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1276,6 +1322,7 @@ def StaticBitmap_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ListBox(_core.ControlWithItems):
"""Proxy of C++ ListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1434,6 +1481,7 @@ def ListBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class CheckListBox(ListBox):
"""Proxy of C++ CheckListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1540,6 +1588,7 @@ TE_HT_ON_TEXT = _controls_.TE_HT_ON_TEXT
TE_HT_BELOW = _controls_.TE_HT_BELOW
TE_HT_BEYOND = _controls_.TE_HT_BEYOND
class TextAttr(object):
"""Proxy of C++ TextAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1684,6 +1733,7 @@ def TextAttr_Combine(*args, **kwargs):
return _controls_.TextAttr_Combine(*args, **kwargs)
class TextCtrl(_core.Control):
"""Proxy of C++ TextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1982,6 +2032,7 @@ wxEVT_COMMAND_TEXT_ENTER = _controls_.wxEVT_COMMAND_TEXT_ENTER
wxEVT_COMMAND_TEXT_URL = _controls_.wxEVT_COMMAND_TEXT_URL
wxEVT_COMMAND_TEXT_MAXLEN = _controls_.wxEVT_COMMAND_TEXT_MAXLEN
class TextUrlEvent(_core.CommandEvent):
"""Proxy of C++ TextUrlEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTextUrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2018,6 +2069,7 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
#---------------------------------------------------------------------------
class ScrollBar(_core.Control):
"""Proxy of C++ ScrollBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2133,6 +2185,7 @@ SP_VERTICAL = _controls_.SP_VERTICAL
SP_ARROW_KEYS = _controls_.SP_ARROW_KEYS
SP_WRAP = _controls_.SP_WRAP
class SpinButton(_core.Control):
"""Proxy of C++ SpinButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2239,6 +2292,7 @@ def SpinButton_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.SpinButton_GetClassDefaultAttributes(*args, **kwargs)
class SpinCtrl(_core.Control):
"""Proxy of C++ SpinCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2341,6 +2395,7 @@ def SpinCtrl_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.SpinCtrl_GetClassDefaultAttributes(*args, **kwargs)
class SpinEvent(_core.NotifyEvent):
"""Proxy of C++ SpinEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSpinEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2374,6 +2429,7 @@ EVT_SPINCTRL = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
#---------------------------------------------------------------------------
class RadioBox(_core.Control):
"""Proxy of C++ RadioBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2511,6 +2567,7 @@ def RadioBox_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class RadioButton(_core.Control):
"""Proxy of C++ RadioButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2595,6 +2652,7 @@ def RadioButton_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class Slider(_core.Control):
"""Proxy of C++ Slider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2762,6 +2820,7 @@ wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = _controls_.wxEVT_COMMAND_TOGGLEBUTTON_CLICK
EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
class ToggleButton(_core.Control):
"""Proxy of C++ ToggleButton class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2855,6 +2914,7 @@ def ToggleButton_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class BookCtrlBase(_core.Control):
"""Proxy of C++ BookCtrlBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -2986,6 +3046,7 @@ def BookCtrlBase_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.BookCtrlBase_GetClassDefaultAttributes(*args, **kwargs)
class BookCtrlBaseEvent(_core.NotifyEvent):
"""Proxy of C++ BookCtrlBaseEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlBaseEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3034,6 +3095,7 @@ NB_HITTEST_ONICON = _controls_.NB_HITTEST_ONICON
NB_HITTEST_ONLABEL = _controls_.NB_HITTEST_ONLABEL
NB_HITTEST_ONITEM = _controls_.NB_HITTEST_ONITEM
class Notebook(BookCtrlBase):
"""Proxy of C++ Notebook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3129,6 +3191,7 @@ def Notebook_GetClassDefaultAttributes(*args, **kwargs):
return _controls_.Notebook_GetClassDefaultAttributes(*args, **kwargs)
class NotebookEvent(BookCtrlBaseEvent):
"""Proxy of C++ NotebookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3193,6 +3256,7 @@ LB_LEFT = _controls_.LB_LEFT
LB_RIGHT = _controls_.LB_RIGHT
LB_ALIGN_MASK = _controls_.LB_ALIGN_MASK
class Listbook(BookCtrlBase):
"""Proxy of C++ Listbook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3236,6 +3300,7 @@ def PreListbook(*args, **kwargs):
return val
class ListbookEvent(BookCtrlBaseEvent):
"""Proxy of C++ ListbookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3267,6 +3332,7 @@ CHB_LEFT = _controls_.CHB_LEFT
CHB_RIGHT = _controls_.CHB_RIGHT
CHB_ALIGN_MASK = _controls_.CHB_ALIGN_MASK
class Choicebook(BookCtrlBase):
"""Proxy of C++ Choicebook class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3310,6 +3376,7 @@ def PreChoicebook(*args, **kwargs):
return val
class ChoicebookEvent(BookCtrlBaseEvent):
"""Proxy of C++ ChoicebookEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxChoicebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3337,6 +3404,7 @@ EVT_CHOICEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_C
#---------------------------------------------------------------------------
class BookCtrlSizer(_core.Sizer):
"""Proxy of C++ BookCtrlSizer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3380,6 +3448,7 @@ class BookCtrlSizerPtr(BookCtrlSizer):
_controls_.BookCtrlSizer_swigregister(BookCtrlSizerPtr)
class NotebookSizer(_core.Sizer):
"""Proxy of C++ NotebookSizer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3441,6 +3510,7 @@ TB_NOALIGN = _controls_.TB_NOALIGN
TB_HORZ_LAYOUT = _controls_.TB_HORZ_LAYOUT
TB_HORZ_TEXT = _controls_.TB_HORZ_TEXT
class ToolBarToolBase(_core.Object):
"""Proxy of C++ ToolBarToolBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarToolBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -3574,6 +3644,7 @@ class ToolBarToolBasePtr(ToolBarToolBase):
_controls_.ToolBarToolBase_swigregister(ToolBarToolBasePtr)
class ToolBarBase(_core.Control):
"""Proxy of C++ ToolBarBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBarBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -3896,6 +3967,7 @@ class ToolBarBasePtr(ToolBarBase):
_controls_.ToolBarBase_swigregister(ToolBarBasePtr)
class ToolBar(ToolBarBase):
"""Proxy of C++ ToolBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4044,6 +4116,7 @@ LIST_FIND_RIGHT = _controls_.LIST_FIND_RIGHT
#---------------------------------------------------------------------------
class ListItemAttr(object):
"""Proxy of C++ ListItemAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItemAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4107,6 +4180,7 @@ ListCtrlNameStr = cvar.ListCtrlNameStr
#---------------------------------------------------------------------------
class ListItem(_core.Object):
"""Proxy of C++ ListItem class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4258,6 +4332,7 @@ _controls_.ListItem_swigregister(ListItemPtr)
#---------------------------------------------------------------------------
class ListEvent(_core.NotifyEvent):
"""Proxy of C++ ListEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4389,6 +4464,7 @@ EVT_LIST_SET_INFO = wx._deprecated(EVT_LIST_SET_INFO)
#---------------------------------------------------------------------------
class ListCtrl(_core.Control):
"""Proxy of C++ ListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4418,11 +4494,35 @@ class ListCtrl(_core.Control):
return _controls_.ListCtrl__setCallbackInfo(*args, **kwargs)
def SetForegroundColour(*args, **kwargs):
"""SetForegroundColour(self, Colour col) -> bool"""
"""
SetForegroundColour(self, Colour col) -> bool
Sets the foreground colour of the window. Returns True is the colour
was changed. The interpretation of foreground colour is dependent on
the window class; it may be the text colour or other colour, or it may
not be used at all.
"""
return _controls_.ListCtrl_SetForegroundColour(*args, **kwargs)
def SetBackgroundColour(*args, **kwargs):
"""SetBackgroundColour(self, Colour col) -> bool"""
"""
SetBackgroundColour(self, Colour col) -> bool
Sets the background colour of the window. Returns True if the colour
was changed. The background colour is usually painted by the default
EVT_ERASE_BACKGROUND event handler function under Windows and
automatically under GTK. Using `wx.NullColour` will reset the window
to the default background colour.
Note that setting the background colour may not cause an immediate
refresh, so you may wish to call `ClearBackground` or `Refresh` after
calling this function.
Using this function will disable attempts to use themes for this
window, if the system supports them. Use with care since usually the
themes represent the appearance chosen by the user to be used for all
applications on the system.
"""
return _controls_.ListCtrl_SetBackgroundColour(*args, **kwargs)
def GetColumn(*args, **kwargs):
@@ -4807,6 +4907,7 @@ def ListCtrl_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ListView(ListCtrl):
"""Proxy of C++ ListView class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxListView instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4917,6 +5018,7 @@ TREE_HITTEST_ONITEM = _controls_.TREE_HITTEST_ONITEM
#---------------------------------------------------------------------------
class TreeItemId(object):
"""Proxy of C++ TreeItemId class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeItemId instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4956,6 +5058,7 @@ _controls_.TreeItemId_swigregister(TreeItemIdPtr)
TreeCtrlNameStr = cvar.TreeCtrlNameStr
class TreeItemData(object):
"""Proxy of C++ TreeItemData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5036,6 +5139,7 @@ EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLI
EVT_TREE_ITEM_GETTOOLTIP = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 1)
class TreeEvent(_core.NotifyEvent):
"""Proxy of C++ TreeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTreeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5111,6 +5215,7 @@ _controls_.TreeEvent_swigregister(TreeEventPtr)
#---------------------------------------------------------------------------
class TreeCtrl(_core.Control):
"""Proxy of C++ TreeCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5495,6 +5600,7 @@ DIRCTRL_SHOW_FILTERS = _controls_.DIRCTRL_SHOW_FILTERS
DIRCTRL_3D_INTERNAL = _controls_.DIRCTRL_3D_INTERNAL
DIRCTRL_EDIT_LABELS = _controls_.DIRCTRL_EDIT_LABELS
class GenericDirCtrl(_core.Control):
"""Proxy of C++ GenericDirCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5617,6 +5723,7 @@ def PreGenericDirCtrl(*args, **kwargs):
return val
class DirFilterListCtrl(Choice):
"""Proxy of C++ DirFilterListCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5658,6 +5765,7 @@ def PreDirFilterListCtrl(*args, **kwargs):
#---------------------------------------------------------------------------
class PyControl(_core.Control):
"""Proxy of C++ PyControl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -6129,6 +6237,7 @@ _controls_.SimpleHelpProvider_swigregister(SimpleHelpProviderPtr)
#---------------------------------------------------------------------------
class DragImage(_core.Object):
"""Proxy of C++ DragImage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGenericDragImage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
+10548 -6351
View File
File diff suppressed because one or more lines are too long
+68 -2
View File
@@ -3,11 +3,53 @@
import _gdi_
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 _core
wx = _core
#---------------------------------------------------------------------------
class GDIObject(_core.Object):
"""Proxy of C++ GDIObject class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGDIObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -227,6 +269,7 @@ NamedColor = NamedColour
ColorRGB = ColourRGB
class Palette(GDIObject):
"""Proxy of C++ Palette class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPalette instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -269,6 +312,7 @@ _gdi_.Palette_swigregister(PalettePtr)
#---------------------------------------------------------------------------
class Pen(GDIObject):
"""Proxy of C++ Pen class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -328,7 +372,7 @@ class Pen(GDIObject):
return _gdi_.Pen_SetWidth(*args, **kwargs)
def SetDashes(*args, **kwargs):
"""SetDashes(self, int dashes, wxDash dashes_array)"""
"""SetDashes(self, int dashes)"""
return _gdi_.Pen_SetDashes(*args, **kwargs)
def GetDashes(*args, **kwargs):
@@ -761,6 +805,7 @@ _gdi_.Mask_swigregister(MaskPtr)
MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.")
class Icon(GDIObject):
"""Proxy of C++ Icon class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -841,6 +886,7 @@ def IconFromXPMData(*args, **kwargs):
return val
class IconLocation(object):
"""Proxy of C++ IconLocation class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconLocation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -885,6 +931,7 @@ class IconLocationPtr(IconLocation):
_gdi_.IconLocation_swigregister(IconLocationPtr)
class IconBundle(object):
"""Proxy of C++ IconBundle class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxIconBundle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1009,6 +1056,7 @@ OutRegion = _gdi_.OutRegion
PartRegion = _gdi_.PartRegion
InRegion = _gdi_.InRegion
class Region(GDIObject):
"""Proxy of C++ Region class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1136,12 +1184,13 @@ def RegionFromBitmapColour(*args, **kwargs):
return val
def RegionFromPoints(*args, **kwargs):
"""RegionFromPoints(int points, Point points_array, int fillStyle=WINDING_RULE) -> Region"""
"""RegionFromPoints(int points, int fillStyle=WINDING_RULE) -> Region"""
val = _gdi_.new_RegionFromPoints(*args, **kwargs)
val.thisown = 1
return val
class RegionIterator(_core.Object):
"""Proxy of C++ RegionIterator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1337,6 +1386,7 @@ FONTENCODING_SHIFT_JIS = _gdi_.FONTENCODING_SHIFT_JIS
#---------------------------------------------------------------------------
class NativeFontInfo(object):
"""Proxy of C++ NativeFontInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNativeFontInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1444,6 +1494,7 @@ class NativeFontInfoPtr(NativeFontInfo):
_gdi_.NativeFontInfo_swigregister(NativeFontInfoPtr)
class NativeEncodingInfo(object):
"""Proxy of C++ NativeEncodingInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxNativeEncodingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
facename = property(_gdi_.NativeEncodingInfo_facename_get, _gdi_.NativeEncodingInfo_facename_set)
@@ -1487,6 +1538,7 @@ def TestFontEncoding(*args, **kwargs):
#---------------------------------------------------------------------------
class FontMapper(object):
"""Proxy of C++ FontMapper class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFontMapper instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1612,6 +1664,7 @@ def FontMapper_GetDefaultConfigPath(*args, **kwargs):
#---------------------------------------------------------------------------
class Font(GDIObject):
"""Proxy of C++ Font class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFont instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1824,6 +1877,7 @@ def Font_SetDefaultEncoding(*args, **kwargs):
#---------------------------------------------------------------------------
class FontEnumerator(object):
"""Proxy of C++ FontEnumerator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFontEnumerator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2102,6 +2156,7 @@ LANGUAGE_ZHUANG = _gdi_.LANGUAGE_ZHUANG
LANGUAGE_ZULU = _gdi_.LANGUAGE_ZULU
LANGUAGE_USER_DEFINED = _gdi_.LANGUAGE_USER_DEFINED
class LanguageInfo(object):
"""Proxy of C++ LanguageInfo class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxLanguageInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -2125,6 +2180,7 @@ LOCALE_DECIMAL_POINT = _gdi_.LOCALE_DECIMAL_POINT
LOCALE_LOAD_DEFAULT = _gdi_.LOCALE_LOAD_DEFAULT
LOCALE_CONV_ENCODING = _gdi_.LOCALE_CONV_ENCODING
class Locale(object):
"""Proxy of C++ Locale class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLocale instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2289,6 +2345,7 @@ PLATFORM_WINDOWS = _gdi_.PLATFORM_WINDOWS
PLATFORM_OS2 = _gdi_.PLATFORM_OS2
PLATFORM_MAC = _gdi_.PLATFORM_MAC
class EncodingConverter(_core.Object):
"""Proxy of C++ EncodingConverter class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEncodingConverter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4282,6 +4339,7 @@ def PostScriptDC_GetResolution(*args, **kwargs):
#---------------------------------------------------------------------------
class MetaFile(_core.Object):
"""Proxy of C++ MetaFile class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4326,6 +4384,7 @@ class MetaFilePtr(MetaFile):
_gdi_.MetaFile_swigregister(MetaFilePtr)
class MetaFileDC(DC):
"""Proxy of C++ MetaFileDC class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetaFileDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4350,6 +4409,7 @@ class MetaFileDCPtr(MetaFileDC):
_gdi_.MetaFileDC_swigregister(MetaFileDCPtr)
class PrinterDC(DC):
"""Proxy of C++ PrinterDC class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrinterDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4376,6 +4436,7 @@ IMAGE_LIST_NORMAL = _gdi_.IMAGE_LIST_NORMAL
IMAGE_LIST_SMALL = _gdi_.IMAGE_LIST_SMALL
IMAGE_LIST_STATE = _gdi_.IMAGE_LIST_STATE
class ImageList(_core.Object):
"""Proxy of C++ ImageList class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxImageList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4440,6 +4501,7 @@ _gdi_.ImageList_swigregister(ImageListPtr)
#---------------------------------------------------------------------------
class PenList(_core.Object):
"""Proxy of C++ PenList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxPenList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -4511,6 +4573,7 @@ NullFont = cvar.NullFont
NullColour = cvar.NullColour
class BrushList(_core.Object):
"""Proxy of C++ BrushList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxBrushList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -4539,6 +4602,7 @@ class BrushListPtr(BrushList):
_gdi_.BrushList_swigregister(BrushListPtr)
class ColourDatabase(_core.Object):
"""Proxy of C++ ColourDatabase class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxColourDatabase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4579,6 +4643,7 @@ class ColourDatabasePtr(ColourDatabase):
_gdi_.ColourDatabase_swigregister(ColourDatabasePtr)
class FontList(_core.Object):
"""Proxy of C++ FontList class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxFontList instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -4616,6 +4681,7 @@ NullColor = NullColour
#---------------------------------------------------------------------------
class Effects(_core.Object):
"""Proxy of C++ Effects class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEffects instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+93 -7
View File
@@ -3,6 +3,47 @@
import _misc_
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 _core
wx = _core
#---------------------------------------------------------------------------
@@ -99,6 +140,7 @@ SYS_SCREEN_PDA = _misc_.SYS_SCREEN_PDA
SYS_SCREEN_SMALL = _misc_.SYS_SCREEN_SMALL
SYS_SCREEN_DESKTOP = _misc_.SYS_SCREEN_DESKTOP
class SystemSettings(object):
"""Proxy of C++ SystemSettings class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemSettings instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -165,6 +207,7 @@ def SystemSettings_SetScreenType(*args, **kwargs):
return _misc_.SystemSettings_SetScreenType(*args, **kwargs)
class SystemOptions(_core.Object):
"""Proxy of C++ SystemOptions class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSystemOptions instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -412,17 +455,17 @@ def GetPasswordFromUser(*args, **kwargs):
def GetSingleChoice(*args, **kwargs):
"""
GetSingleChoice(String message, String caption, int choices, String choices_array,
Window parent=None, int x=-1,
int y=-1, bool centre=True, int width=150, int height=200) -> String
GetSingleChoice(String message, String caption, int choices, Window parent=None,
int x=-1, int y=-1, bool centre=True,
int width=150, int height=200) -> String
"""
return _misc_.GetSingleChoice(*args, **kwargs)
def GetSingleChoiceIndex(*args, **kwargs):
"""
GetSingleChoiceIndex(String message, String caption, int choices, String choices_array,
Window parent=None, int x=-1,
int y=-1, bool centre=True, int width=150, int height=200) -> int
GetSingleChoiceIndex(String message, String caption, int choices, Window parent=None,
int x=-1, int y=-1, bool centre=True,
int width=150, int height=200) -> int
"""
return _misc_.GetSingleChoiceIndex(*args, **kwargs)
@@ -525,6 +568,7 @@ def MutexGuiLeave(*args, **kwargs):
"""MutexGuiLeave()"""
return _misc_.MutexGuiLeave(*args, **kwargs)
class MutexGuiLocker(object):
"""Proxy of C++ MutexGuiLocker class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMutexGuiLocker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -557,6 +601,7 @@ def Thread_IsMain(*args, **kwargs):
#---------------------------------------------------------------------------
class ToolTip(_core.Object):
"""Proxy of C++ ToolTip class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxToolTip instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -604,6 +649,7 @@ def ToolTip_SetDelay(*args, **kwargs):
return _misc_.ToolTip_SetDelay(*args, **kwargs)
class Caret(object):
"""Proxy of C++ Caret class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCaret instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -688,6 +734,7 @@ def Caret_SetBlinkTime(*args, **kwargs):
"""Caret_SetBlinkTime(int milliseconds)"""
return _misc_.Caret_SetBlinkTime(*args, **kwargs)
class BusyCursor(object):
"""Proxy of C++ BusyCursor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyCursor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -711,6 +758,7 @@ class BusyCursorPtr(BusyCursor):
_misc_.BusyCursor_swigregister(BusyCursorPtr)
class WindowDisabler(object):
"""Proxy of C++ WindowDisabler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWindowDisabler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -734,6 +782,7 @@ class WindowDisablerPtr(WindowDisabler):
_misc_.WindowDisabler_swigregister(WindowDisablerPtr)
class BusyInfo(_core.Object):
"""Proxy of C++ BusyInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxBusyInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -757,6 +806,7 @@ class BusyInfoPtr(BusyInfo):
_misc_.BusyInfo_swigregister(BusyInfoPtr)
class StopWatch(object):
"""Proxy of C++ StopWatch class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStopWatch instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -790,6 +840,7 @@ class StopWatchPtr(StopWatch):
_misc_.StopWatch_swigregister(StopWatchPtr)
class FileHistory(_core.Object):
"""Proxy of C++ FileHistory class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileHistory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -858,6 +909,7 @@ class FileHistoryPtr(FileHistory):
_misc_.FileHistory_swigregister(FileHistoryPtr)
class SingleInstanceChecker(object):
"""Proxy of C++ SingleInstanceChecker class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSingleInstanceChecker instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -901,6 +953,7 @@ def DrawWindowOnDC(*args, **kwargs):
#---------------------------------------------------------------------------
class TipProvider(object):
"""Proxy of C++ TipProvider class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -931,6 +984,7 @@ class TipProviderPtr(TipProvider):
_misc_.TipProvider_swigregister(TipProviderPtr)
class PyTipProvider(TipProvider):
"""Proxy of C++ PyTipProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTipProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -967,6 +1021,7 @@ TIMER_CONTINUOUS = _misc_.TIMER_CONTINUOUS
TIMER_ONE_SHOT = _misc_.TIMER_ONE_SHOT
wxEVT_TIMER = _misc_.wxEVT_TIMER
class Timer(_core.EvtHandler):
"""Proxy of C++ Timer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTimer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -975,7 +1030,7 @@ class Timer(_core.EvtHandler):
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setCallbackInfo(self, Timer, 0); self._setOORInfo(self)
self._setCallbackInfo(self, Timer, 0); self._setOORInfo(self, 0)
def __del__(self, destroy=_misc_.delete_Timer):
"""__del__(self)"""
@@ -1019,6 +1074,10 @@ class Timer(_core.EvtHandler):
"""GetId(self) -> int"""
return _misc_.Timer_GetId(*args, **kwargs)
def Destroy():
"""NO-OP: Timers must be destroyed by normal refrence counting"""
pass
class TimerPtr(Timer):
def __init__(self, this):
@@ -1042,6 +1101,7 @@ EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
class TimerEvent(_core.Event):
"""Proxy of C++ TimerEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1063,6 +1123,7 @@ class TimerEventPtr(TimerEvent):
_misc_.TimerEvent_swigregister(TimerEventPtr)
class TimerRunner(object):
"""Proxy of C++ TimerRunner class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimerRunner instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@@ -1116,6 +1177,7 @@ TraceResAlloc = _misc_.TraceResAlloc
TraceRefCount = _misc_.TraceRefCount
TraceOleCalls = _misc_.TraceOleCalls
class Log(object):
"""Proxy of C++ Log class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1348,6 +1410,7 @@ def Log_TimeStamp(*args, **kwargs):
return _misc_.Log_TimeStamp(*args, **kwargs)
class LogStderr(Log):
"""Proxy of C++ LogStderr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogStderr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1365,6 +1428,7 @@ class LogStderrPtr(LogStderr):
_misc_.LogStderr_swigregister(LogStderrPtr)
class LogTextCtrl(Log):
"""Proxy of C++ LogTextCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1382,6 +1446,7 @@ class LogTextCtrlPtr(LogTextCtrl):
_misc_.LogTextCtrl_swigregister(LogTextCtrlPtr)
class LogGui(Log):
"""Proxy of C++ LogGui class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogGui instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1399,6 +1464,7 @@ class LogGuiPtr(LogGui):
_misc_.LogGui_swigregister(LogGuiPtr)
class LogWindow(Log):
"""Proxy of C++ LogWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1436,6 +1502,7 @@ class LogWindowPtr(LogWindow):
_misc_.LogWindow_swigregister(LogWindowPtr)
class LogChain(Log):
"""Proxy of C++ LogChain class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogChain instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1525,6 +1592,7 @@ def SafeShowMessage(*args, **kwargs):
"""SafeShowMessage(String title, String text)"""
return _misc_.SafeShowMessage(*args, **kwargs)
class LogNull(object):
"""Proxy of C++ LogNull class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLogNull instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1555,6 +1623,7 @@ def LogTrace(*args):
return _misc_.LogTrace(*args)
class PyLog(Log):
"""Proxy of C++ PyLog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyLog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1606,6 +1675,7 @@ SIGPIPE = _misc_.SIGPIPE
SIGALRM = _misc_.SIGALRM
SIGTERM = _misc_.SIGTERM
class Process(_core.EvtHandler):
"""Proxy of C++ Process class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyProcess instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Kill(*args, **kwargs):
@@ -1700,6 +1770,7 @@ def Process_Open(*args, **kwargs):
return _misc_.Process_Open(*args, **kwargs)
class ProcessEvent(_core.Event):
"""Proxy of C++ ProcessEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxProcessEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1733,6 +1804,7 @@ EXEC_ASYNC = _misc_.EXEC_ASYNC
EXEC_SYNC = _misc_.EXEC_SYNC
EXEC_NOHIDE = _misc_.EXEC_NOHIDE
EXEC_MAKE_GROUP_LEADER = _misc_.EXEC_MAKE_GROUP_LEADER
EXEC_NODISABLE = _misc_.EXEC_NODISABLE
def Execute(*args, **kwargs):
"""Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long"""
@@ -1751,6 +1823,7 @@ JOY_BUTTON2 = _misc_.JOY_BUTTON2
JOY_BUTTON3 = _misc_.JOY_BUTTON3
JOY_BUTTON4 = _misc_.JOY_BUTTON4
class Joystick(object):
"""Proxy of C++ Joystick class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystick instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1947,6 +2020,7 @@ wxEVT_JOY_BUTTON_UP = _misc_.wxEVT_JOY_BUTTON_UP
wxEVT_JOY_MOVE = _misc_.wxEVT_JOY_MOVE
wxEVT_JOY_ZMOVE = _misc_.wxEVT_JOY_ZMOVE
class JoystickEvent(_core.Event):
"""Proxy of C++ JoystickEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxJoystickEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
m_pos = property(_misc_.JoystickEvent_m_pos_get, _misc_.JoystickEvent_m_pos_set)
@@ -2053,6 +2127,7 @@ SOUND_SYNC = _misc_.SOUND_SYNC
SOUND_ASYNC = _misc_.SOUND_ASYNC
SOUND_LOOP = _misc_.SOUND_LOOP
class Sound(object):
"""Proxy of C++ Sound class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSound instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2124,6 +2199,7 @@ MAILCAP_KDE = _misc_.MAILCAP_KDE
MAILCAP_GNOME = _misc_.MAILCAP_GNOME
MAILCAP_ALL = _misc_.MAILCAP_ALL
class FileTypeInfo(object):
"""Proxy of C++ FileTypeInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileTypeInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2201,6 +2277,7 @@ def NullFileTypeInfo(*args, **kwargs):
return val
class FileType(object):
"""Proxy of C++ FileType class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFileType instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2281,6 +2358,7 @@ def FileType_ExpandCommand(*args, **kwargs):
return _misc_.FileType_ExpandCommand(*args, **kwargs)
class MimeTypesManager(object):
"""Proxy of C++ MimeTypesManager class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMimeTypesManager instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def IsOfType(*args, **kwargs):
@@ -3085,6 +3163,7 @@ def ExpandEnvVars(*args, **kwargs):
#---------------------------------------------------------------------------
class DateTime(object):
"""Proxy of C++ DateTime class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateTime instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
Local = _misc_.DateTime_Local
@@ -3852,6 +3931,7 @@ def DateTime_SetToWeekOfYear(*args, **kwargs):
return _misc_.DateTime_SetToWeekOfYear(*args, **kwargs)
class TimeSpan(object):
"""Proxy of C++ TimeSpan class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTimeSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Seconds(*args, **kwargs):
@@ -4098,6 +4178,7 @@ def TimeSpan_Week(*args, **kwargs):
return _misc_.TimeSpan_Week(*args, **kwargs)
class DateSpan(object):
"""Proxy of C++ DateSpan class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDateSpan instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5027,6 +5108,7 @@ class URLDataObjectPtr(URLDataObject):
_misc_.URLDataObject_swigregister(URLDataObjectPtr)
class MetafileDataObject(DataObjectSimple):
"""Proxy of C++ MetafileDataObject class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMetafileDataObject instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5067,6 +5149,7 @@ def IsDragResultOk(*args, **kwargs):
"""IsDragResultOk(int res) -> bool"""
return _misc_.IsDragResultOk(*args, **kwargs)
class DropSource(object):
"""Proxy of C++ DropSource class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropSource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5119,6 +5202,7 @@ class DropSourcePtr(DropSource):
_misc_.DropSource_swigregister(DropSourcePtr)
class DropTarget(object):
"""Proxy of C++ DropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5177,6 +5261,7 @@ _misc_.DropTarget_swigregister(DropTargetPtr)
PyDropTarget = DropTarget
class TextDropTarget(DropTarget):
"""Proxy of C++ TextDropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTextDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -5220,6 +5305,7 @@ class TextDropTargetPtr(TextDropTarget):
_misc_.TextDropTarget_swigregister(TextDropTargetPtr)
class FileDropTarget(DropTarget):
"""Proxy of C++ FileDropTarget class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyFileDropTarget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because it is too large Load Diff
+96 -4
View File
@@ -3,11 +3,53 @@
import _windows_
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 _core
wx = _core
#---------------------------------------------------------------------------
class Panel(_core.Window):
"""Proxy of C++ Panel class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -115,6 +157,7 @@ def Panel_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class ScrolledWindow(Panel):
"""Proxy of C++ ScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -331,6 +374,7 @@ TOPLEVEL_EX_DIALOG = _windows_.TOPLEVEL_EX_DIALOG
USER_ATTENTION_INFO = _windows_.USER_ATTENTION_INFO
USER_ATTENTION_ERROR = _windows_.USER_ATTENTION_ERROR
class TopLevelWindow(_core.Window):
"""Proxy of C++ TopLevelWindow class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxTopLevelWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -426,6 +470,7 @@ ToolBarNameStr = cvar.ToolBarNameStr
#---------------------------------------------------------------------------
class Frame(TopLevelWindow):
"""Proxy of C++ Frame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -495,7 +540,7 @@ class Frame(TopLevelWindow):
return _windows_.Frame_SetStatusText(*args, **kwargs)
def SetStatusWidths(*args, **kwargs):
"""SetStatusWidths(self, int widths, int widths_field)"""
"""SetStatusWidths(self, int widths)"""
return _windows_.Frame_SetStatusWidths(*args, **kwargs)
def PushStatusText(*args, **kwargs):
@@ -586,6 +631,7 @@ def Frame_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class Dialog(TopLevelWindow):
"""Proxy of C++ Dialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -691,6 +737,7 @@ def Dialog_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class MiniFrame(Frame):
"""Proxy of C++ MiniFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMiniFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -735,6 +782,7 @@ SPLASH_NO_CENTRE = _windows_.SPLASH_NO_CENTRE
SPLASH_TIMEOUT = _windows_.SPLASH_TIMEOUT
SPLASH_NO_TIMEOUT = _windows_.SPLASH_NO_TIMEOUT
class SplashScreenWindow(_core.Window):
"""Proxy of C++ SplashScreenWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplashScreenWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -765,6 +813,7 @@ class SplashScreenWindowPtr(SplashScreenWindow):
_windows_.SplashScreenWindow_swigregister(SplashScreenWindowPtr)
class SplashScreen(Frame):
"""Proxy of C++ SplashScreen class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSplashScreen instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -805,6 +854,7 @@ SB_NORMAL = _windows_.SB_NORMAL
SB_FLAT = _windows_.SB_FLAT
SB_RAISED = _windows_.SB_RAISED
class StatusBar(_core.Window):
"""Proxy of C++ StatusBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -844,11 +894,11 @@ class StatusBar(_core.Window):
return _windows_.StatusBar_PopStatusText(*args, **kwargs)
def SetStatusWidths(*args, **kwargs):
"""SetStatusWidths(self, int widths, int widths_field)"""
"""SetStatusWidths(self, int widths)"""
return _windows_.StatusBar_SetStatusWidths(*args, **kwargs)
def SetStatusStyles(*args, **kwargs):
"""SetStatusStyles(self, int styles, int styles_field)"""
"""SetStatusStyles(self, int styles)"""
return _windows_.StatusBar_SetStatusStyles(*args, **kwargs)
def GetFieldRect(*args, **kwargs):
@@ -1349,6 +1399,7 @@ SASH_BOTTOM = _windows_.SASH_BOTTOM
SASH_LEFT = _windows_.SASH_LEFT
SASH_NONE = _windows_.SASH_NONE
class SashWindow(_core.Window):
"""Proxy of C++ SashWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1466,6 +1517,7 @@ def PreSashWindow(*args, **kwargs):
SASH_STATUS_OK = _windows_.SASH_STATUS_OK
SASH_STATUS_OUT_OF_RANGE = _windows_.SASH_STATUS_OUT_OF_RANGE
class SashEvent(_core.CommandEvent):
"""Proxy of C++ SashEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1526,6 +1578,7 @@ LAYOUT_QUERY = _windows_.LAYOUT_QUERY
wxEVT_QUERY_LAYOUT_INFO = _windows_.wxEVT_QUERY_LAYOUT_INFO
wxEVT_CALCULATE_LAYOUT = _windows_.wxEVT_CALCULATE_LAYOUT
class QueryLayoutInfoEvent(_core.Event):
"""Proxy of C++ QueryLayoutInfoEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1583,6 +1636,7 @@ class QueryLayoutInfoEventPtr(QueryLayoutInfoEvent):
_windows_.QueryLayoutInfoEvent_swigregister(QueryLayoutInfoEventPtr)
class CalculateLayoutEvent(_core.Event):
"""Proxy of C++ CalculateLayoutEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1619,6 +1673,7 @@ EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
class SashLayoutWindow(SashWindow):
"""Proxy of C++ SashLayoutWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxSashLayoutWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1676,6 +1731,7 @@ def PreSashLayoutWindow(*args, **kwargs):
return val
class LayoutAlgorithm(_core.Object):
"""Proxy of C++ LayoutAlgorithm class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1711,6 +1767,7 @@ class LayoutAlgorithmPtr(LayoutAlgorithm):
_windows_.LayoutAlgorithm_swigregister(LayoutAlgorithmPtr)
class PopupWindow(_core.Window):
"""Proxy of C++ PopupWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPopupWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1734,6 +1791,7 @@ def PrePopupWindow(*args, **kwargs):
return val
class PopupTransientWindow(PopupWindow):
"""Proxy of C++ PopupTransientWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPopupTransientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1759,6 +1817,7 @@ def PrePopupTransientWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class TipWindow(Frame):
"""Proxy of C++ TipWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTipWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1774,7 +1833,14 @@ class TipWindow(Frame):
return _windows_.TipWindow_SetBoundingRect(*args, **kwargs)
def Close(*args, **kwargs):
"""Close(self)"""
"""
Close(self)
This function simply generates a EVT_CLOSE event whose handler usually
tries to close the window. It doesn't close the window itself,
however. If force is False (the default) then the window's close
handler will be allowed to veto the destruction of the window.
"""
return _windows_.TipWindow_Close(*args, **kwargs)
@@ -1788,6 +1854,7 @@ _windows_.TipWindow_swigregister(TipWindowPtr)
#---------------------------------------------------------------------------
class VScrolledWindow(Panel):
"""Proxy of C++ VScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyVScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1901,6 +1968,7 @@ def PreVScrolledWindow(*args, **kwargs):
return val
class VListBox(VScrolledWindow):
"""Proxy of C++ VListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyVListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2025,6 +2093,7 @@ def PreVListBox(*args, **kwargs):
return val
class HtmlListBox(VListBox):
"""Proxy of C++ HtmlListBox class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2078,6 +2147,7 @@ def PreHtmlListBox(*args, **kwargs):
#---------------------------------------------------------------------------
class TaskBarIcon(_core.EvtHandler):
"""Proxy of C++ TaskBarIcon class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2130,6 +2200,7 @@ class TaskBarIconPtr(TaskBarIcon):
_windows_.TaskBarIcon_swigregister(TaskBarIconPtr)
class TaskBarIconEvent(_core.Event):
"""Proxy of C++ TaskBarIconEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2670,6 +2741,7 @@ class TextEntryDialogPtr(TextEntryDialog):
_windows_.TextEntryDialog_swigregister(TextEntryDialogPtr)
class PasswordEntryDialog(TextEntryDialog):
"""Proxy of C++ PasswordEntryDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPasswordEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3222,6 +3294,7 @@ IDM_WINDOWTILEVERT = _windows_.IDM_WINDOWTILEVERT
FIRST_MDI_CHILD = _windows_.FIRST_MDI_CHILD
LAST_MDI_CHILD = _windows_.LAST_MDI_CHILD
class MDIParentFrame(Frame):
"""Proxy of C++ MDIParentFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3293,6 +3366,7 @@ def PreMDIParentFrame(*args, **kwargs):
return val
class MDIChildFrame(Frame):
"""Proxy of C++ MDIChildFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3344,6 +3418,7 @@ def PreMDIChildFrame(*args, **kwargs):
return val
class MDIClientWindow(_core.Window):
"""Proxy of C++ MDIClientWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3375,6 +3450,7 @@ def PreMDIClientWindow(*args, **kwargs):
#---------------------------------------------------------------------------
class PyWindow(_core.Window):
"""Proxy of C++ PyWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3495,6 +3571,7 @@ def PrePyWindow(*args, **kwargs):
return val
class PyPanel(Panel):
"""Proxy of C++ PyPanel class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3615,6 +3692,7 @@ def PrePyPanel(*args, **kwargs):
return val
class PyScrolledWindow(ScrolledWindow):
"""Proxy of C++ PyScrolledWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -3757,6 +3835,7 @@ PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
PRINTBIN_USER = _windows_.PRINTBIN_USER
class PrintData(_core.Object):
"""Proxy of C++ PrintData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@@ -3958,6 +4037,7 @@ PrintoutTitleStr = cvar.PrintoutTitleStr
PreviewCanvasNameStr = cvar.PreviewCanvasNameStr
class PageSetupDialogData(_core.Object):
"""Proxy of C++ PageSetupDialogData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@@ -4101,6 +4181,7 @@ class PageSetupDialogDataPtr(PageSetupDialogData):
_windows_.PageSetupDialogData_swigregister(PageSetupDialogDataPtr)
class PageSetupDialog(_core.Object):
"""Proxy of C++ PageSetupDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4130,6 +4211,7 @@ class PageSetupDialogPtr(PageSetupDialog):
_windows_.PageSetupDialog_swigregister(PageSetupDialogPtr)
class PrintDialogData(_core.Object):
"""Proxy of C++ PrintDialogData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@@ -4281,6 +4363,7 @@ class PrintDialogDataPtr(PrintDialogData):
_windows_.PrintDialogData_swigregister(PrintDialogDataPtr)
class PrintDialog(_core.Object):
"""Proxy of C++ PrintDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4317,6 +4400,7 @@ PRINTER_NO_ERROR = _windows_.PRINTER_NO_ERROR
PRINTER_CANCELLED = _windows_.PRINTER_CANCELLED
PRINTER_ERROR = _windows_.PRINTER_ERROR
class Printer(_core.Object):
"""Proxy of C++ Printer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4377,6 +4461,7 @@ def Printer_GetLastError(*args, **kwargs):
return _windows_.Printer_GetLastError(*args, **kwargs)
class Printout(_core.Object):
"""Proxy of C++ Printout class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4480,6 +4565,7 @@ class PrintoutPtr(Printout):
_windows_.Printout_swigregister(PrintoutPtr)
class PreviewCanvas(ScrolledWindow):
"""Proxy of C++ PreviewCanvas class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4503,6 +4589,7 @@ class PreviewCanvasPtr(PreviewCanvas):
_windows_.PreviewCanvas_swigregister(PreviewCanvasPtr)
class PreviewFrame(Frame):
"""Proxy of C++ PreviewFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4558,6 +4645,7 @@ ID_PREVIEW_FIRST = _windows_.ID_PREVIEW_FIRST
ID_PREVIEW_LAST = _windows_.ID_PREVIEW_LAST
ID_PREVIEW_GOTO = _windows_.ID_PREVIEW_GOTO
class PreviewControlBar(Panel):
"""Proxy of C++ PreviewControlBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4613,6 +4701,7 @@ class PreviewControlBarPtr(PreviewControlBar):
_windows_.PreviewControlBar_swigregister(PreviewControlBarPtr)
class PrintPreview(_core.Object):
"""Proxy of C++ PrintPreview class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@@ -4722,6 +4811,7 @@ class PrintPreviewPtr(PrintPreview):
_windows_.PrintPreview_swigregister(PrintPreviewPtr)
class PyPrintPreview(PrintPreview):
"""Proxy of C++ PyPrintPreview class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args):
@@ -4776,6 +4866,7 @@ class PyPrintPreviewPtr(PyPrintPreview):
_windows_.PyPrintPreview_swigregister(PyPrintPreviewPtr)
class PyPreviewFrame(PreviewFrame):
"""Proxy of C++ PyPreviewFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -4823,6 +4914,7 @@ class PyPreviewFramePtr(PyPreviewFrame):
_windows_.PyPreviewFrame_swigregister(PyPreviewFramePtr)
class PyPreviewControlBar(PreviewControlBar):
"""Proxy of C++ PyPreviewControlBar class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+42
View File
@@ -7,6 +7,47 @@ Classes for an interactive Calendar control.
import _calendar
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 _misc
import _core
wx = _core
@@ -123,6 +164,7 @@ class CalendarDateAttrPtr(CalendarDateAttr):
_calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr)
class CalendarEvent(_core.CommandEvent):
"""Proxy of C++ CalendarEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxCalendarEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+73 -1
View File
@@ -7,6 +7,47 @@ Classes for implementing a spreadsheet-like control.
import _grid
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
@@ -31,6 +72,7 @@ GRID_MIN_ROW_HEIGHT = _grid.GRID_MIN_ROW_HEIGHT
GRID_MIN_COL_WIDTH = _grid.GRID_MIN_COL_WIDTH
GRID_DEFAULT_SCROLLBAR_WIDTH = _grid.GRID_DEFAULT_SCROLLBAR_WIDTH
class GridCellRenderer(object):
"""Proxy of C++ GridCellRenderer class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -78,6 +120,7 @@ GridNoCellCoords = cvar.GridNoCellCoords
GridNoCellRect = cvar.GridNoCellRect
class PyGridCellRenderer(GridCellRenderer):
"""Proxy of C++ PyGridCellRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -105,6 +148,7 @@ class PyGridCellRendererPtr(PyGridCellRenderer):
_grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr)
class GridCellStringRenderer(GridCellRenderer):
"""Proxy of C++ GridCellStringRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -124,6 +168,7 @@ class GridCellStringRendererPtr(GridCellStringRenderer):
_grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr)
class GridCellNumberRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellNumberRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -143,6 +188,7 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer):
_grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr)
class GridCellFloatRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellFloatRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -178,6 +224,7 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer):
_grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr)
class GridCellBoolRenderer(GridCellRenderer):
"""Proxy of C++ GridCellBoolRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -197,6 +244,7 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer):
_grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr)
class GridCellDateTimeRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellDateTimeRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -216,6 +264,7 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer):
_grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr)
class GridCellEnumRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellEnumRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -235,6 +284,7 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer):
_grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr)
class GridCellAutoWrapStringRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellAutoWrapStringRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -254,6 +304,7 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer):
_grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr)
class GridCellEditor(object):
"""Proxy of C++ GridCellEditor class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -354,6 +405,7 @@ class GridCellEditorPtr(GridCellEditor):
_grid.GridCellEditor_swigregister(GridCellEditorPtr)
class PyGridCellEditor(GridCellEditor):
"""Proxy of C++ PyGridCellEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -413,6 +465,7 @@ class PyGridCellEditorPtr(PyGridCellEditor):
_grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr)
class GridCellTextEditor(GridCellEditor):
"""Proxy of C++ GridCellTextEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -436,6 +489,7 @@ class GridCellTextEditorPtr(GridCellTextEditor):
_grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr)
class GridCellNumberEditor(GridCellTextEditor):
"""Proxy of C++ GridCellNumberEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -459,6 +513,7 @@ class GridCellNumberEditorPtr(GridCellNumberEditor):
_grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr)
class GridCellFloatEditor(GridCellTextEditor):
"""Proxy of C++ GridCellFloatEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -482,6 +537,7 @@ class GridCellFloatEditorPtr(GridCellFloatEditor):
_grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr)
class GridCellBoolEditor(GridCellEditor):
"""Proxy of C++ GridCellBoolEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -505,10 +561,11 @@ class GridCellBoolEditorPtr(GridCellBoolEditor):
_grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr)
class GridCellChoiceEditor(GridCellEditor):
"""Proxy of C++ GridCellChoiceEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor"""
"""__init__(self, int choices=0, bool allowOthers=False) -> GridCellChoiceEditor"""
newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
@@ -528,6 +585,7 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor):
_grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr)
class GridCellEnumEditor(GridCellChoiceEditor):
"""Proxy of C++ GridCellEnumEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -551,6 +609,7 @@ class GridCellEnumEditorPtr(GridCellEnumEditor):
_grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr)
class GridCellAutoWrapStringEditor(GridCellTextEditor):
"""Proxy of C++ GridCellAutoWrapStringEditor class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -574,6 +633,7 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor):
_grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr)
class GridCellAttr(object):
"""Proxy of C++ GridCellAttr class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
Any = _grid.GridCellAttr_Any
@@ -735,6 +795,7 @@ class GridCellAttrPtr(GridCellAttr):
_grid.GridCellAttr_swigregister(GridCellAttrPtr)
class GridCellAttrProvider(object):
"""Proxy of C++ GridCellAttrProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -782,6 +843,7 @@ class GridCellAttrProviderPtr(GridCellAttrProvider):
_grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr)
class PyGridCellAttrProvider(GridCellAttrProvider):
"""Proxy of C++ PyGridCellAttrProvider class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -821,6 +883,7 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider):
_grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr)
class GridTableBase(_core.Object):
"""Proxy of C++ GridTableBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -973,6 +1036,7 @@ class GridTableBasePtr(GridTableBase):
_grid.GridTableBase_swigregister(GridTableBasePtr)
class PyGridTableBase(GridTableBase):
"""Proxy of C++ PyGridTableBase class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1080,6 +1144,7 @@ class PyGridTableBasePtr(PyGridTableBase):
_grid.PyGridTableBase_swigregister(PyGridTableBasePtr)
class GridStringTable(GridTableBase):
"""Proxy of C++ GridStringTable class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1107,6 +1172,7 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED
GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED
GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED
class GridTableMessage(object):
"""Proxy of C++ GridTableMessage class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1162,6 +1228,7 @@ class GridTableMessagePtr(GridTableMessage):
_grid.GridTableMessage_swigregister(GridTableMessagePtr)
class GridCellCoords(object):
"""Proxy of C++ GridCellCoords class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1227,6 +1294,7 @@ class GridCellCoordsPtr(GridCellCoords):
_grid.GridCellCoords_swigregister(GridCellCoordsPtr)
class Grid(_windows.ScrolledWindow):
"""Proxy of C++ Grid class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2100,6 +2168,7 @@ def Grid_GetClassDefaultAttributes(*args, **kwargs):
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
class GridEvent(_core.NotifyEvent):
"""Proxy of C++ GridEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2154,6 +2223,7 @@ class GridEventPtr(GridEvent):
_grid.GridEvent_swigregister(GridEventPtr)
class GridSizeEvent(_core.NotifyEvent):
"""Proxy of C++ GridSizeEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2199,6 +2269,7 @@ class GridSizeEventPtr(GridSizeEvent):
_grid.GridSizeEvent_swigregister(GridSizeEventPtr)
class GridRangeSelectEvent(_core.NotifyEvent):
"""Proxy of C++ GridRangeSelectEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -2265,6 +2336,7 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent):
_grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr)
class GridEditorCreatedEvent(_core.CommandEvent):
"""Proxy of C++ GridEditorCreatedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because it is too large Load Diff
+69
View File
@@ -7,6 +7,47 @@ Classes for a simple HTML rendering window, HTML Help Window, etc.
import _html
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
@@ -50,6 +91,7 @@ HTML_URL_PAGE = _html.HTML_URL_PAGE
HTML_URL_IMAGE = _html.HTML_URL_IMAGE
HTML_URL_OTHER = _html.HTML_URL_OTHER
class HtmlLinkInfo(_core.Object):
"""Proxy of C++ HtmlLinkInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -95,6 +137,7 @@ HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
class HtmlTag(_core.Object):
"""Proxy of C++ HtmlTag class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -139,6 +182,7 @@ class HtmlTagPtr(HtmlTag):
_html.HtmlTag_swigregister(HtmlTagPtr)
class HtmlParser(_core.Object):
"""Proxy of C++ HtmlParser class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -195,6 +239,7 @@ class HtmlParserPtr(HtmlParser):
_html.HtmlParser_swigregister(HtmlParserPtr)
class HtmlWinParser(HtmlParser):
"""Proxy of C++ HtmlWinParser class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -332,6 +377,7 @@ class HtmlWinParserPtr(HtmlWinParser):
_html.HtmlWinParser_swigregister(HtmlWinParserPtr)
class HtmlTagHandler(_core.Object):
"""Proxy of C++ HtmlTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -367,6 +413,7 @@ class HtmlTagHandlerPtr(HtmlTagHandler):
_html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr)
class HtmlWinTagHandler(HtmlTagHandler):
"""Proxy of C++ HtmlWinTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -408,6 +455,7 @@ def HtmlWinParser_AddTagHandler(*args, **kwargs):
#---------------------------------------------------------------------------
class HtmlSelection(object):
"""Proxy of C++ HtmlSelection class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -482,6 +530,7 @@ HTML_SEL_OUT = _html.HTML_SEL_OUT
HTML_SEL_IN = _html.HTML_SEL_IN
HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
class HtmlRenderingState(object):
"""Proxy of C++ HtmlRenderingState class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -529,6 +578,7 @@ class HtmlRenderingStatePtr(HtmlRenderingState):
_html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr)
class HtmlRenderingStyle(object):
"""Proxy of C++ HtmlRenderingStyle class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -549,6 +599,7 @@ class HtmlRenderingStylePtr(HtmlRenderingStyle):
_html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr)
class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
"""Proxy of C++ DefaultHtmlRenderingStyle class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -569,6 +620,7 @@ class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle):
_html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr)
class HtmlRenderingInfo(object):
"""Proxy of C++ HtmlRenderingInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -617,6 +669,7 @@ HTML_FIND_EXACT = _html.HTML_FIND_EXACT
HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
class HtmlCell(_core.Object):
"""Proxy of C++ HtmlCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -766,6 +819,7 @@ class HtmlCellPtr(HtmlCell):
_html.HtmlCell_swigregister(HtmlCellPtr)
class HtmlWordCell(HtmlCell):
"""Proxy of C++ HtmlWordCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -783,6 +837,7 @@ class HtmlWordCellPtr(HtmlWordCell):
_html.HtmlWordCell_swigregister(HtmlWordCellPtr)
class HtmlContainerCell(HtmlCell):
"""Proxy of C++ HtmlContainerCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -864,6 +919,7 @@ class HtmlContainerCellPtr(HtmlContainerCell):
_html.HtmlContainerCell_swigregister(HtmlContainerCellPtr)
class HtmlColourCell(HtmlCell):
"""Proxy of C++ HtmlColourCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -881,6 +937,7 @@ class HtmlColourCellPtr(HtmlColourCell):
_html.HtmlColourCell_swigregister(HtmlColourCellPtr)
class HtmlFontCell(HtmlCell):
"""Proxy of C++ HtmlFontCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -898,6 +955,7 @@ class HtmlFontCellPtr(HtmlFontCell):
_html.HtmlFontCell_swigregister(HtmlFontCellPtr)
class HtmlWidgetCell(HtmlCell):
"""Proxy of C++ HtmlWidgetCell class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -917,6 +975,7 @@ _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr)
#---------------------------------------------------------------------------
class HtmlFilter(_core.Object):
"""Proxy of C++ HtmlFilter class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -942,6 +1001,7 @@ _html.HtmlFilter_swigregister(HtmlFilterPtr)
#---------------------------------------------------------------------------
class HtmlWindow(_windows.ScrolledWindow):
"""Proxy of C++ HtmlWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1165,6 +1225,7 @@ def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
#---------------------------------------------------------------------------
class HtmlDCRenderer(_core.Object):
"""Proxy of C++ HtmlDCRenderer class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1222,6 +1283,7 @@ PAGE_ODD = _html.PAGE_ODD
PAGE_EVEN = _html.PAGE_EVEN
PAGE_ALL = _html.PAGE_ALL
class HtmlPrintout(_windows.Printout):
"""Proxy of C++ HtmlPrintout class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1288,6 +1350,7 @@ def HtmlPrintout_CleanUpStatics(*args, **kwargs):
return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
class HtmlEasyPrinting(_core.Object):
"""Proxy of C++ HtmlEasyPrinting class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1357,6 +1420,7 @@ _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr)
#---------------------------------------------------------------------------
class HtmlBookRecord(object):
"""Proxy of C++ HtmlBookRecord class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1418,6 +1482,7 @@ class HtmlBookRecordPtr(HtmlBookRecord):
_html.HtmlBookRecord_swigregister(HtmlBookRecordPtr)
class HtmlContentsItem(object):
"""Proxy of C++ HtmlContentsItem class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -1450,6 +1515,7 @@ class HtmlContentsItemPtr(HtmlContentsItem):
_html.HtmlContentsItem_swigregister(HtmlContentsItemPtr)
class HtmlSearchStatus(object):
"""Proxy of C++ HtmlSearchStatus class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
@@ -1486,6 +1552,7 @@ class HtmlSearchStatusPtr(HtmlSearchStatus):
_html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr)
class HtmlHelpData(object):
"""Proxy of C++ HtmlHelpData class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1545,6 +1612,7 @@ class HtmlHelpDataPtr(HtmlHelpData):
_html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
class HtmlHelpFrame(_windows.Frame):
"""Proxy of C++ HtmlHelpFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -1616,6 +1684,7 @@ HF_OPENFILES = _html.HF_OPENFILES
HF_PRINT = _html.HF_PRINT
HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE
class HtmlHelpController(_core.Object):
"""Proxy of C++ HtmlHelpController class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+53 -38
View File
@@ -2,19 +2,60 @@
# Don't modify this file, modify the SWIG interface instead.
"""
Classes for a medai player control
Classes for a media player control
"""
import _media
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 _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
MEDIASTATE_STOPPED = _media.MEDIASTATE_STOPPED
MEDIASTATE_PAUSED = _media.MEDIASTATE_PAUSED
MEDIASTATE_PLAYING = _media.MEDIASTATE_PLAYING
MEDIATIMEFORMAT_TIME = _media.MEDIATIMEFORMAT_TIME
class MediaEvent(_core.NotifyEvent):
"""Proxy of C++ MediaEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMediaEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -32,6 +73,7 @@ class MediaEventPtr(MediaEvent):
_media.MediaEvent_swigregister(MediaEventPtr)
class MediaCtrl(_core.Control):
"""Proxy of C++ MediaCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxMediaCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -48,16 +90,6 @@ class MediaCtrl(_core.Control):
del newobj.thisown
self._setOORInfo(self)
def CreateFromURI(*args, **kwargs):
"""
CreateFromURI(self, Window parent, int id=-1, String location=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String szBackend=EmptyString,
Validator validator=DefaultValidator,
String name=MediaCtrlNameStr) -> bool
"""
return _media.MediaCtrl_CreateFromURI(*args, **kwargs)
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id=-1, String fileName=EmptyString,
@@ -108,21 +140,17 @@ class MediaCtrl(_core.Control):
"""SetPlaybackRate(self, double dRate) -> bool"""
return _media.MediaCtrl_SetPlaybackRate(*args, **kwargs)
def SetMediaPosition(*args, **kwargs):
"""SetMediaPosition(self, wxLongLong where) -> bool"""
return _media.MediaCtrl_SetMediaPosition(*args, **kwargs)
def Seek(*args, **kwargs):
"""Seek(self, wxFileOffset where, int mode=FromStart) -> wxFileOffset"""
return _media.MediaCtrl_Seek(*args, **kwargs)
def GetMediaPosition(*args, **kwargs):
"""
GetMediaPosition(self) -> wxLongLong
def Tell(*args, **kwargs):
"""Tell(self) -> wxFileOffset"""
return _media.MediaCtrl_Tell(*args, **kwargs)
Get the window's position.
"""
return _media.MediaCtrl_GetMediaPosition(*args, **kwargs)
def GetMediaDuration(*args, **kwargs):
"""GetMediaDuration(self) -> wxLongLong"""
return _media.MediaCtrl_GetMediaDuration(*args, **kwargs)
def Length(*args, **kwargs):
"""Length(self) -> wxFileOffset"""
return _media.MediaCtrl_Length(*args, **kwargs)
class MediaCtrlPtr(MediaCtrl):
@@ -140,19 +168,6 @@ def PreMediaCtrl(*args, **kwargs):
val.thisown = 1
return val
def MediaCtrlFromURI(*args, **kwargs):
"""
MediaCtrlFromURI(Window parent, int id=-1, String location=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
long style=0, String szBackend=EmptyString,
Validator validator=DefaultValidator,
String name=MediaCtrlNameStr) -> MediaCtrl
"""
val = _media.new_MediaCtrlFromURI(*args, **kwargs)
val.thisown = 1
self._setOORInfo(self)
return val
wxEVT_MEDIA_FINISHED = _media.wxEVT_MEDIA_FINISHED
wxEVT_MEDIA_STOP = _media.wxEVT_MEDIA_STOP
EVT_MEDIA_FINISHED = wx.PyEventBinder( wxEVT_MEDIA_FINISHED, 1)
File diff suppressed because one or more lines are too long
+43
View File
@@ -7,10 +7,52 @@ wx.webkit.WebKitCtrl for Mac OSX.
import _webkit
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 _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
class WebKitCtrl(_core.Control):
"""Proxy of C++ WebKitCtrl class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWebKitCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -99,6 +141,7 @@ WEBKIT_STATE_STOP = _webkit.WEBKIT_STATE_STOP
WEBKIT_STATE_FAILED = _webkit.WEBKIT_STATE_FAILED
wxEVT_WEBKIT_STATE_CHANGED = _webkit.wxEVT_WEBKIT_STATE_CHANGED
class WebKitStateChangedEvent(_core.CommandEvent):
"""Proxy of C++ WebKitStateChangedEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxWebKitStateChangedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long
+46
View File
@@ -8,6 +8,47 @@ or pages.
import _wizard
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
@@ -25,6 +66,7 @@ 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"""
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):
@@ -53,6 +95,7 @@ class WizardEventPtr(WizardEvent):
_wizard.WizardEvent_swigregister(WizardEventPtr)
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,)
@@ -81,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):
@@ -186,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):
@@ -238,6 +283,7 @@ def WizardPageSimple_Chain(*args, **kwargs):
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
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):
File diff suppressed because one or more lines are too long
+47
View File
@@ -8,6 +8,47 @@ controls on a panel, etc. to be loaded from an XML file.
import _xrc
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 _core
wx = _core
__docfilter__ = wx.__DocFilter(globals())
@@ -21,6 +62,7 @@ XRC_USE_LOCALE = _xrc.XRC_USE_LOCALE
XRC_NO_SUBCLASSING = _xrc.XRC_NO_SUBCLASSING
XRC_NO_RELOADING = _xrc.XRC_NO_RELOADING
class XmlResource(_core.Object):
"""Proxy of C++ XmlResource class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -205,6 +247,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
#---------------------------------------------------------------------------
class XmlSubclassFactory(object):
"""Proxy of C++ XmlSubclassFactory class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -243,6 +286,7 @@ XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
class XmlProperty(object):
"""Proxy of C++ XmlProperty class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -287,6 +331,7 @@ class XmlPropertyPtr(XmlProperty):
_xrc.XmlProperty_swigregister(XmlPropertyPtr)
class XmlNode(object):
"""Proxy of C++ XmlNode class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -408,6 +453,7 @@ def XmlNodeEasy(*args, **kwargs):
return val
class XmlDocument(_core.Object):
"""Proxy of C++ XmlDocument class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
@@ -489,6 +535,7 @@ def EmptyXmlDocument(*args, **kwargs):
#---------------------------------------------------------------------------
class XmlResourceHandler(_core.Object):
"""Proxy of C++ XmlResourceHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
File diff suppressed because one or more lines are too long