mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 14:20:35 +08:00
reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -8,17 +8,17 @@ animated GIF files
|
||||
"""
|
||||
|
||||
import _animate
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -27,10 +27,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -43,7 +49,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -59,20 +66,13 @@ ANIM_TOBACKGROUND = _animate.ANIM_TOBACKGROUND
|
||||
ANIM_TOPREVIOUS = _animate.ANIM_TOPREVIOUS
|
||||
class AnimationPlayer(_core.Object):
|
||||
"""Proxy of C++ AnimationPlayer class"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxAnimationPlayer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, AnimationBase animation=None, bool destroyAnimation=False) -> AnimationPlayer"""
|
||||
newobj = _animate.new_AnimationPlayer(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_animate.delete_AnimationPlayer):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
_animate.AnimationPlayer_swiginit(self,_animate.new_AnimationPlayer(*args, **kwargs))
|
||||
__swig_destroy__ = _animate.delete_AnimationPlayer
|
||||
__del__ = lambda self : None;
|
||||
def SetAnimation(*args, **kwargs):
|
||||
"""SetAnimation(self, AnimationBase animation, bool destroyAnimation=False)"""
|
||||
return _animate.AnimationPlayer_SetAnimation(*args, **kwargs)
|
||||
@@ -233,27 +233,18 @@ class AnimationPlayer(_core.Object):
|
||||
"""GetBackingStore(self) -> Bitmap"""
|
||||
return _animate.AnimationPlayer_GetBackingStore(*args, **kwargs)
|
||||
|
||||
|
||||
class AnimationPlayerPtr(AnimationPlayer):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = AnimationPlayer
|
||||
_animate.AnimationPlayer_swigregister(AnimationPlayerPtr)
|
||||
AnimationPlayer_swigregister = _animate.AnimationPlayer_swigregister
|
||||
AnimationPlayer_swigregister(AnimationPlayer)
|
||||
cvar = _animate.cvar
|
||||
AnimationControlNameStr = cvar.AnimationControlNameStr
|
||||
|
||||
class AnimationBase(_core.Object):
|
||||
"""Proxy of C++ AnimationBase class"""
|
||||
def __init__(self): raise RuntimeError, "No constructor defined"
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxAnimationBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __del__(self, destroy=_animate.delete_AnimationBase):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
__swig_destroy__ = _animate.delete_AnimationBase
|
||||
__del__ = lambda self : None;
|
||||
def GetFrameCount(*args, **kwargs):
|
||||
"""GetFrameCount(self) -> int"""
|
||||
return _animate.AnimationBase_GetFrameCount(*args, **kwargs)
|
||||
@@ -294,94 +285,34 @@ class AnimationBase(_core.Object):
|
||||
"""LoadFile(self, String filename) -> bool"""
|
||||
return _animate.AnimationBase_LoadFile(*args, **kwargs)
|
||||
|
||||
|
||||
class AnimationBasePtr(AnimationBase):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = AnimationBase
|
||||
_animate.AnimationBase_swigregister(AnimationBasePtr)
|
||||
AnimationBase_swigregister = _animate.AnimationBase_swigregister
|
||||
AnimationBase_swigregister(AnimationBase)
|
||||
|
||||
class GIFAnimation(AnimationBase):
|
||||
"""Proxy of C++ GIFAnimation class"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGIFAnimation instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> GIFAnimation"""
|
||||
newobj = _animate.new_GIFAnimation(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_animate.delete_GIFAnimation):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
def GetFrameCount(*args, **kwargs):
|
||||
"""GetFrameCount(self) -> int"""
|
||||
return _animate.GIFAnimation_GetFrameCount(*args, **kwargs)
|
||||
|
||||
def GetFrame(*args, **kwargs):
|
||||
"""GetFrame(self, int i) -> Image"""
|
||||
return _animate.GIFAnimation_GetFrame(*args, **kwargs)
|
||||
|
||||
def GetDisposalMethod(*args, **kwargs):
|
||||
"""GetDisposalMethod(self, int i) -> int"""
|
||||
return _animate.GIFAnimation_GetDisposalMethod(*args, **kwargs)
|
||||
|
||||
def GetFrameRect(*args, **kwargs):
|
||||
"""GetFrameRect(self, int i) -> Rect"""
|
||||
return _animate.GIFAnimation_GetFrameRect(*args, **kwargs)
|
||||
|
||||
def GetDelay(*args, **kwargs):
|
||||
"""GetDelay(self, int i) -> int"""
|
||||
return _animate.GIFAnimation_GetDelay(*args, **kwargs)
|
||||
|
||||
def GetLogicalScreenSize(*args, **kwargs):
|
||||
"""GetLogicalScreenSize(self) -> Size"""
|
||||
return _animate.GIFAnimation_GetLogicalScreenSize(*args, **kwargs)
|
||||
|
||||
def GetBackgroundColour(*args, **kwargs):
|
||||
"""GetBackgroundColour(self, Colour col) -> bool"""
|
||||
return _animate.GIFAnimation_GetBackgroundColour(*args, **kwargs)
|
||||
|
||||
def GetTransparentColour(*args, **kwargs):
|
||||
"""GetTransparentColour(self, Colour col) -> bool"""
|
||||
return _animate.GIFAnimation_GetTransparentColour(*args, **kwargs)
|
||||
|
||||
def IsValid(*args, **kwargs):
|
||||
"""IsValid(self) -> bool"""
|
||||
return _animate.GIFAnimation_IsValid(*args, **kwargs)
|
||||
|
||||
def LoadFile(*args, **kwargs):
|
||||
"""LoadFile(self, String filename) -> bool"""
|
||||
return _animate.GIFAnimation_LoadFile(*args, **kwargs)
|
||||
|
||||
|
||||
class GIFAnimationPtr(GIFAnimation):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = GIFAnimation
|
||||
_animate.GIFAnimation_swigregister(GIFAnimationPtr)
|
||||
_animate.GIFAnimation_swiginit(self,_animate.new_GIFAnimation(*args, **kwargs))
|
||||
__swig_destroy__ = _animate.delete_GIFAnimation
|
||||
__del__ = lambda self : None;
|
||||
GIFAnimation_swigregister = _animate.GIFAnimation_swigregister
|
||||
GIFAnimation_swigregister(GIFAnimation)
|
||||
|
||||
AN_FIT_ANIMATION = _animate.AN_FIT_ANIMATION
|
||||
class GIFAnimationCtrl(_core.Control):
|
||||
"""Proxy of C++ GIFAnimationCtrl class"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxGIFAnimationCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, String filename=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxAN_FIT_ANIMATION|wxNO_BORDER,
|
||||
String name=AnimationControlNameStr) -> GIFAnimationCtrl
|
||||
"""
|
||||
newobj = _animate.new_GIFAnimationCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_animate.GIFAnimationCtrl_swiginit(self,_animate.new_GIFAnimationCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -429,18 +360,12 @@ class GIFAnimationCtrl(_core.Control):
|
||||
"""SetFilename(self, String filename)"""
|
||||
return _animate.GIFAnimationCtrl_SetFilename(*args, **kwargs)
|
||||
|
||||
|
||||
class GIFAnimationCtrlPtr(GIFAnimationCtrl):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = GIFAnimationCtrl
|
||||
_animate.GIFAnimationCtrl_swigregister(GIFAnimationCtrlPtr)
|
||||
GIFAnimationCtrl_swigregister = _animate.GIFAnimationCtrl_swigregister
|
||||
GIFAnimationCtrl_swigregister(GIFAnimationCtrl)
|
||||
|
||||
def PreGIFAnimationCtrl(*args, **kwargs):
|
||||
"""PreGIFAnimationCtrl() -> GIFAnimationCtrl"""
|
||||
val = _animate.new_PreGIFAnimationCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -7,17 +7,17 @@ Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
|
||||
"""
|
||||
|
||||
import _gizmos
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -26,10 +26,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -42,7 +48,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -60,21 +67,13 @@ wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT
|
||||
wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, Object target) -> DynamicSashSplitEvent"""
|
||||
newobj = _gizmos.new_DynamicSashSplitEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
|
||||
class DynamicSashSplitEventPtr(DynamicSashSplitEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = DynamicSashSplitEvent
|
||||
_gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr)
|
||||
_gizmos.DynamicSashSplitEvent_swiginit(self,_gizmos.new_DynamicSashSplitEvent(*args, **kwargs))
|
||||
DynamicSashSplitEvent_swigregister = _gizmos.DynamicSashSplitEvent_swigregister
|
||||
DynamicSashSplitEvent_swigregister(DynamicSashSplitEvent)
|
||||
cvar = _gizmos.cvar
|
||||
DynamicSashNameStr = cvar.DynamicSashNameStr
|
||||
EditableListBoxNameStr = cvar.EditableListBoxNameStr
|
||||
@@ -83,36 +82,25 @@ StaticPictureNameStr = cvar.StaticPictureNameStr
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, Object target) -> DynamicSashUnifyEvent"""
|
||||
newobj = _gizmos.new_DynamicSashUnifyEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
|
||||
class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = DynamicSashUnifyEvent
|
||||
_gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
|
||||
_gizmos.DynamicSashUnifyEvent_swiginit(self,_gizmos.new_DynamicSashUnifyEvent(*args, **kwargs))
|
||||
DynamicSashUnifyEvent_swigregister = _gizmos.DynamicSashUnifyEvent_swigregister
|
||||
DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEvent)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
|
||||
String name=DynamicSashNameStr) -> DynamicSashWindow
|
||||
"""
|
||||
newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.DynamicSashWindow_swiginit(self,_gizmos.new_DynamicSashWindow(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -131,18 +119,12 @@ class DynamicSashWindow(_core.Window):
|
||||
"""GetVScrollBar(self, Window child) -> ScrollBar"""
|
||||
return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
|
||||
|
||||
|
||||
class DynamicSashWindowPtr(DynamicSashWindow):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = DynamicSashWindow
|
||||
_gizmos.DynamicSashWindow_swigregister(DynamicSashWindowPtr)
|
||||
DynamicSashWindow_swigregister = _gizmos.DynamicSashWindow_swigregister
|
||||
DynamicSashWindow_swigregister(DynamicSashWindow)
|
||||
|
||||
def PreDynamicSashWindow(*args, **kwargs):
|
||||
"""PreDynamicSashWindow() -> DynamicSashWindow"""
|
||||
val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
|
||||
@@ -153,19 +135,16 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, String label=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
|
||||
String name=EditableListBoxNameStr) -> EditableListBox
|
||||
"""
|
||||
newobj = _gizmos.new_EditableListBox(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.EditableListBox_swiginit(self,_gizmos.new_EditableListBox(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def SetStrings(*args, **kwargs):
|
||||
@@ -200,27 +179,19 @@ class EditableListBox(_windows.Panel):
|
||||
"""GetEditButton(self) -> BitmapButton"""
|
||||
return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
|
||||
|
||||
|
||||
class EditableListBoxPtr(EditableListBox):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = EditableListBox
|
||||
_gizmos.EditableListBox_swigregister(EditableListBoxPtr)
|
||||
EditableListBox_swigregister = _gizmos.EditableListBox_swigregister
|
||||
EditableListBox_swigregister(EditableListBox)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
|
||||
"""
|
||||
newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.RemotelyScrolledTreeCtrl_swiginit(self,_gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def HideVScrollbar(*args, **kwargs):
|
||||
@@ -247,27 +218,19 @@ class RemotelyScrolledTreeCtrl(_controls.TreeCtrl):
|
||||
"""GetCompanionWindow(self) -> Window"""
|
||||
return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
|
||||
|
||||
|
||||
class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = RemotelyScrolledTreeCtrl
|
||||
_gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
|
||||
RemotelyScrolledTreeCtrl_swigregister = _gizmos.RemotelyScrolledTreeCtrl_swigregister
|
||||
RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrl)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0) -> TreeCompanionWindow
|
||||
"""
|
||||
newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.TreeCompanionWindow_swiginit(self,_gizmos.new_TreeCompanionWindow(*args, **kwargs))
|
||||
self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
@@ -282,59 +245,38 @@ class TreeCompanionWindow(_core.Window):
|
||||
"""SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
|
||||
return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
|
||||
|
||||
|
||||
class TreeCompanionWindowPtr(TreeCompanionWindow):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = TreeCompanionWindow
|
||||
_gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
|
||||
TreeCompanionWindow_swigregister = _gizmos.TreeCompanionWindow_swigregister
|
||||
TreeCompanionWindow_swigregister(TreeCompanionWindow)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
|
||||
"""
|
||||
newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.ThinSplitterWindow_swiginit(self,_gizmos.new_ThinSplitterWindow(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
class ThinSplitterWindowPtr(ThinSplitterWindow):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = ThinSplitterWindow
|
||||
_gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
|
||||
ThinSplitterWindow_swigregister = _gizmos.ThinSplitterWindow_swigregister
|
||||
ThinSplitterWindow_swigregister(ThinSplitterWindow)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
|
||||
"""
|
||||
newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.SplitterScrolledWindow_swiginit(self,_gizmos.new_SplitterScrolledWindow(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
class SplitterScrolledWindowPtr(SplitterScrolledWindow):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = SplitterScrolledWindow
|
||||
_gizmos.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr)
|
||||
SplitterScrolledWindow_swigregister = _gizmos.SplitterScrolledWindow_swigregister
|
||||
SplitterScrolledWindow_swigregister(SplitterScrolledWindow)
|
||||
|
||||
LED_ALIGN_LEFT = _gizmos.LED_ALIGN_LEFT
|
||||
LED_ALIGN_RIGHT = _gizmos.LED_ALIGN_RIGHT
|
||||
@@ -343,17 +285,14 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
|
||||
"""
|
||||
newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.LEDNumberCtrl_swiginit(self,_gizmos.new_LEDNumberCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -389,18 +328,12 @@ class LEDNumberCtrl(_core.Control):
|
||||
"""SetValue(self, String Value, bool Redraw=True)"""
|
||||
return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
|
||||
|
||||
|
||||
class LEDNumberCtrlPtr(LEDNumberCtrl):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = LEDNumberCtrl
|
||||
_gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr)
|
||||
LEDNumberCtrl_swigregister = _gizmos.LEDNumberCtrl_swigregister
|
||||
LEDNumberCtrl_swigregister(LEDNumberCtrl)
|
||||
|
||||
def PreLEDNumberCtrl(*args, **kwargs):
|
||||
"""PreLEDNumberCtrl() -> LEDNumberCtrl"""
|
||||
val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
TL_ALIGN_LEFT = _gizmos.TL_ALIGN_LEFT
|
||||
@@ -416,17 +349,14 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, String text=EmptyString, int image=-1, size_t width=100,
|
||||
bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
|
||||
"""
|
||||
newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.TreeListColumnInfo_swiginit(self,_gizmos.new_TreeListColumnInfo(*args, **kwargs))
|
||||
def GetShown(*args, **kwargs):
|
||||
"""GetShown(self) -> bool"""
|
||||
return _gizmos.TreeListColumnInfo_GetShown(*args, **kwargs)
|
||||
@@ -475,29 +405,21 @@ class TreeListColumnInfo(_core.Object):
|
||||
"""SetWidth(self, size_t with)"""
|
||||
return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
|
||||
|
||||
|
||||
class TreeListColumnInfoPtr(TreeListColumnInfo):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = TreeListColumnInfo
|
||||
_gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr)
|
||||
TreeListColumnInfo_swigregister = _gizmos.TreeListColumnInfo_swigregister
|
||||
TreeListColumnInfo_swigregister(TreeListColumnInfo)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
|
||||
Validator validator=DefaultValidator,
|
||||
String name=TreeListCtrlNameStr) -> TreeListCtrl
|
||||
"""
|
||||
newobj = _gizmos.new_TreeListCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.TreeListCtrl_swiginit(self,_gizmos.new_TreeListCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -917,18 +839,12 @@ class TreeListCtrl(_core.Control):
|
||||
"""GetMainWindow(self) -> ScrolledWindow"""
|
||||
return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
|
||||
|
||||
|
||||
class TreeListCtrlPtr(TreeListCtrl):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = TreeListCtrl
|
||||
_gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
|
||||
TreeListCtrl_swigregister = _gizmos.TreeListCtrl_swigregister
|
||||
TreeListCtrl_swigregister(TreeListCtrl)
|
||||
|
||||
def PreTreeListCtrl(*args, **kwargs):
|
||||
"""PreTreeListCtrl() -> TreeListCtrl"""
|
||||
val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
SCALE_HORIZONTAL = _gizmos.SCALE_HORIZONTAL
|
||||
@@ -937,18 +853,15 @@ SCALE_UNIFORM = _gizmos.SCALE_UNIFORM
|
||||
SCALE_CUSTOM = _gizmos.SCALE_CUSTOM
|
||||
class StaticPicture(_core.Control):
|
||||
"""Proxy of C++ StaticPicture class"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxStaticPicture instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=StaticPictureNameStr) -> StaticPicture
|
||||
"""
|
||||
newobj = _gizmos.new_StaticPicture(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_gizmos.StaticPicture_swiginit(self,_gizmos.new_StaticPicture(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -999,18 +912,12 @@ class StaticPicture(_core.Control):
|
||||
"""GetCustomScale(self, float OUTPUT, float OUTPUT)"""
|
||||
return _gizmos.StaticPicture_GetCustomScale(*args, **kwargs)
|
||||
|
||||
|
||||
class StaticPicturePtr(StaticPicture):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = StaticPicture
|
||||
_gizmos.StaticPicture_swigregister(StaticPicturePtr)
|
||||
StaticPicture_swigregister = _gizmos.StaticPicture_swigregister
|
||||
StaticPicture_swigregister(StaticPicture)
|
||||
|
||||
def PreStaticPicture(*args, **kwargs):
|
||||
"""PreStaticPicture() -> StaticPicture"""
|
||||
val = _gizmos.new_PreStaticPicture(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
|
||||
+9853
-8035
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -6,17 +6,17 @@
|
||||
"""
|
||||
|
||||
import _glcanvas
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -25,10 +25,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -41,7 +47,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -53,23 +60,16 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette,
|
||||
GLContext other=None) -> GLContext
|
||||
"""
|
||||
newobj = _glcanvas.new_GLContext(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_glcanvas.delete_GLContext):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
_glcanvas.GLContext_swiginit(self,_glcanvas.new_GLContext(*args, **kwargs))
|
||||
__swig_destroy__ = _glcanvas.delete_GLContext
|
||||
__del__ = lambda self : None;
|
||||
def SetCurrent(*args, **kwargs):
|
||||
"""SetCurrent(self)"""
|
||||
return _glcanvas.GLContext_SetCurrent(*args, **kwargs)
|
||||
@@ -86,13 +86,8 @@ class GLContext(_core.Object):
|
||||
"""GetWindow(self) -> Window"""
|
||||
return _glcanvas.GLContext_GetWindow(*args, **kwargs)
|
||||
|
||||
|
||||
class GLContextPtr(GLContext):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = GLContext
|
||||
_glcanvas.GLContext_swigregister(GLContextPtr)
|
||||
GLContext_swigregister = _glcanvas.GLContext_swigregister
|
||||
GLContext_swigregister(GLContext)
|
||||
cvar = _glcanvas.cvar
|
||||
GLCanvasNameStr = cvar.GLCanvasNameStr
|
||||
|
||||
@@ -114,18 +109,15 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=0, String name=GLCanvasNameStr,
|
||||
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas
|
||||
"""
|
||||
newobj = _glcanvas.new_GLCanvas(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_glcanvas.GLCanvas_swiginit(self,_glcanvas.new_GLCanvas(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def SetCurrent(*args, **kwargs):
|
||||
@@ -144,13 +136,8 @@ class GLCanvas(_core.Window):
|
||||
"""GetContext(self) -> GLContext"""
|
||||
return _glcanvas.GLCanvas_GetContext(*args, **kwargs)
|
||||
|
||||
|
||||
class GLCanvasPtr(GLCanvas):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = GLCanvas
|
||||
_glcanvas.GLCanvas_swigregister(GLCanvasPtr)
|
||||
GLCanvas_swigregister = _glcanvas.GLCanvas_swigregister
|
||||
GLCanvas_swigregister(GLCanvas)
|
||||
|
||||
def GLCanvasWithContext(*args, **kwargs):
|
||||
"""
|
||||
@@ -160,7 +147,6 @@ def GLCanvasWithContext(*args, **kwargs):
|
||||
int attribList=None, wxPalette palette=wxNullPalette) -> GLCanvas
|
||||
"""
|
||||
val = _glcanvas.new_GLCanvasWithContext(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
val._setOORInfo(val)
|
||||
return val
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+400
-51
File diff suppressed because it is too large
Load Diff
+21830
-19956
File diff suppressed because it is too large
Load Diff
+445
-1136
File diff suppressed because it is too large
Load Diff
+37537
-33792
File diff suppressed because it is too large
Load Diff
+902
-1750
File diff suppressed because it is too large
Load Diff
+52135
-47709
File diff suppressed because it is too large
Load Diff
+398
-849
File diff suppressed because it is too large
Load Diff
+24145
-21658
File diff suppressed because it is too large
Load Diff
+934
-1568
File diff suppressed because it is too large
Load Diff
+34684
-32456
File diff suppressed because it is too large
Load Diff
+422
-1318
File diff suppressed because it is too large
Load Diff
+28533
-26122
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -6,17 +6,17 @@ Classes for an interactive Calendar control.
|
||||
"""
|
||||
|
||||
import _calendar
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -25,10 +25,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -41,7 +47,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -73,9 +80,9 @@ class CalendarDateAttr(object):
|
||||
A set of customization attributes for a calendar date, which can be
|
||||
used to control the look of the Calendar object.
|
||||
"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxCalendarDateAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,
|
||||
Colour colBorder=wxNullColour, Font font=wxNullFont,
|
||||
@@ -83,10 +90,7 @@ class CalendarDateAttr(object):
|
||||
|
||||
Create a CalendarDateAttr.
|
||||
"""
|
||||
newobj = _calendar.new_CalendarDateAttr(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_calendar.CalendarDateAttr_swiginit(self,_calendar.new_CalendarDateAttr(*args, **kwargs))
|
||||
def SetTextColour(*args, **kwargs):
|
||||
"""SetTextColour(self, Colour colText)"""
|
||||
return _calendar.CalendarDateAttr_SetTextColour(*args, **kwargs)
|
||||
@@ -155,24 +159,16 @@ class CalendarDateAttr(object):
|
||||
"""GetBorder(self) -> int"""
|
||||
return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
|
||||
|
||||
|
||||
class CalendarDateAttrPtr(CalendarDateAttr):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = CalendarDateAttr
|
||||
_calendar.CalendarDateAttr_swigregister(CalendarDateAttrPtr)
|
||||
CalendarDateAttr_swigregister = _calendar.CalendarDateAttr_swigregister
|
||||
CalendarDateAttr_swigregister(CalendarDateAttr)
|
||||
|
||||
class CalendarEvent(_core.DateEvent):
|
||||
"""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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, CalendarCtrl cal, wxEventType type) -> CalendarEvent"""
|
||||
newobj = _calendar.new_CalendarEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_calendar.CalendarEvent_swiginit(self,_calendar.new_CalendarEvent(*args, **kwargs))
|
||||
def SetWeekDay(*args, **kwargs):
|
||||
"""SetWeekDay(self, int wd)"""
|
||||
return _calendar.CalendarEvent_SetWeekDay(*args, **kwargs)
|
||||
@@ -189,13 +185,8 @@ class CalendarEvent(_core.DateEvent):
|
||||
"""returns datetime.date object"""
|
||||
return _wxdate2pydate(self.GetDate())
|
||||
|
||||
|
||||
class CalendarEventPtr(CalendarEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = CalendarEvent
|
||||
_calendar.CalendarEvent_swigregister(CalendarEventPtr)
|
||||
CalendarEvent_swigregister = _calendar.CalendarEvent_swigregister
|
||||
CalendarEvent_swigregister(CalendarEvent)
|
||||
|
||||
wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED
|
||||
wxEVT_CALENDAR_SEL_CHANGED = _calendar.wxEVT_CALENDAR_SEL_CHANGED
|
||||
@@ -237,9 +228,9 @@ class CalendarCtrl(_core.Control):
|
||||
month is changed, so you will often want to update them in an
|
||||
EVT_CALENDAR_MONTH event handler.
|
||||
"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxCalendarCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, DateTime date=DefaultDateTime,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
@@ -248,10 +239,7 @@ class CalendarCtrl(_core.Control):
|
||||
|
||||
Create and show a calendar control.
|
||||
"""
|
||||
newobj = _calendar.new_CalendarCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_calendar.CalendarCtrl_swiginit(self,_calendar.new_CalendarCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -537,13 +525,8 @@ class CalendarCtrl(_core.Control):
|
||||
"""returns datetime.date object"""
|
||||
return _wxdate2pydate(self.GetUpperDateLimit())
|
||||
|
||||
|
||||
class CalendarCtrlPtr(CalendarCtrl):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = CalendarCtrl
|
||||
_calendar.CalendarCtrl_swigregister(CalendarCtrlPtr)
|
||||
CalendarCtrl_swigregister = _calendar.CalendarCtrl_swigregister
|
||||
CalendarCtrl_swigregister(CalendarCtrl)
|
||||
cvar = _calendar.cvar
|
||||
CalendarNameStr = cvar.CalendarNameStr
|
||||
|
||||
@@ -554,11 +537,10 @@ def PreCalendarCtrl(*args, **kwargs):
|
||||
Precreate a CalendarCtrl for 2-phase creation.
|
||||
"""
|
||||
val = _calendar.new_PreCalendarCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
"""
|
||||
CalendarCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if you want
|
||||
@@ -572,7 +554,7 @@ def CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs):
|
||||
the returned font. See `wx.Window.SetWindowVariant` for more about
|
||||
this.
|
||||
"""
|
||||
return _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
return _calendar.CalendarCtrl_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def _pydate2wxdate(date):
|
||||
import datetime
|
||||
|
||||
+4179
-3034
File diff suppressed because it is too large
Load Diff
+219
-586
File diff suppressed because it is too large
Load Diff
+18797
-16746
File diff suppressed because it is too large
Load Diff
+231
-504
File diff suppressed because it is too large
Load Diff
+15655
-13558
File diff suppressed because it is too large
Load Diff
+27
-37
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -6,17 +6,17 @@ Classes for a media player control
|
||||
"""
|
||||
|
||||
import _media
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -25,10 +25,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -41,7 +47,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -60,21 +67,13 @@ MEDIACTRLPLAYERCONTROLS_VOLUME = _media.MEDIACTRLPLAYERCONTROLS_VOLUME
|
||||
MEDIACTRLPLAYERCONTROLS_DEFAULT = _media.MEDIACTRLPLAYERCONTROLS_DEFAULT
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> MediaEvent"""
|
||||
newobj = _media.new_MediaEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
|
||||
class MediaEventPtr(MediaEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = MediaEvent
|
||||
_media.MediaEvent_swigregister(MediaEventPtr)
|
||||
_media.MediaEvent_swiginit(self,_media.new_MediaEvent(*args, **kwargs))
|
||||
MediaEvent_swigregister = _media.MediaEvent_swigregister
|
||||
MediaEvent_swigregister(MediaEvent)
|
||||
cvar = _media.cvar
|
||||
MEDIABACKEND_DIRECTSHOW = cvar.MEDIABACKEND_DIRECTSHOW
|
||||
MEDIABACKEND_MCI = cvar.MEDIABACKEND_MCI
|
||||
@@ -85,9 +84,9 @@ MEDIABACKEND_WMP10 = cvar.MEDIABACKEND_WMP10
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, String fileName=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
@@ -95,10 +94,7 @@ class MediaCtrl(_core.Control):
|
||||
Validator validator=DefaultValidator,
|
||||
String name=MediaCtrlNameStr) -> MediaCtrl
|
||||
"""
|
||||
newobj = _media.new_MediaCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_media.MediaCtrl_swiginit(self,_media.new_MediaCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -180,19 +176,13 @@ class MediaCtrl(_core.Control):
|
||||
"""GetDownloadTotal(self) -> wxFileOffset"""
|
||||
return _media.MediaCtrl_GetDownloadTotal(*args, **kwargs)
|
||||
|
||||
|
||||
class MediaCtrlPtr(MediaCtrl):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = MediaCtrl
|
||||
_media.MediaCtrl_swigregister(MediaCtrlPtr)
|
||||
MediaCtrl_swigregister = _media.MediaCtrl_swigregister
|
||||
MediaCtrl_swigregister(MediaCtrl)
|
||||
MediaCtrlNameStr = cvar.MediaCtrlNameStr
|
||||
|
||||
def PreMediaCtrl(*args, **kwargs):
|
||||
"""PreMediaCtrl() -> MediaCtrl"""
|
||||
val = _media.new_PreMediaCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
wxEVT_MEDIA_FINISHED = _media.wxEVT_MEDIA_FINISHED
|
||||
|
||||
+3331
-2240
File diff suppressed because it is too large
Load Diff
+27
-37
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -6,17 +6,17 @@ wx.webkit.WebKitCtrl for Mac OSX.
|
||||
"""
|
||||
|
||||
import _webkit
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -25,10 +25,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -41,7 +47,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -53,19 +60,16 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int winID=-1, String strURL=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, Validator validator=DefaultValidator,
|
||||
String name=WebKitNameStr) -> WebKitCtrl
|
||||
"""
|
||||
newobj = _webkit.new_WebKitCtrl(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_webkit.WebKitCtrl_swiginit(self,_webkit.new_WebKitCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -125,20 +129,14 @@ class WebKitCtrl(_core.Control):
|
||||
"""GetPageTitle(self) -> String"""
|
||||
return _webkit.WebKitCtrl_GetPageTitle(*args, **kwargs)
|
||||
|
||||
|
||||
class WebKitCtrlPtr(WebKitCtrl):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = WebKitCtrl
|
||||
_webkit.WebKitCtrl_swigregister(WebKitCtrlPtr)
|
||||
WebKitCtrl_swigregister = _webkit.WebKitCtrl_swigregister
|
||||
WebKitCtrl_swigregister(WebKitCtrl)
|
||||
cvar = _webkit.cvar
|
||||
WebKitNameStr = cvar.WebKitNameStr
|
||||
|
||||
def PreWebKitCtrl(*args, **kwargs):
|
||||
"""PreWebKitCtrl() -> WebKitCtrl"""
|
||||
val = _webkit.new_PreWebKitCtrl(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
WEBKIT_STATE_START = _webkit.WEBKIT_STATE_START
|
||||
@@ -150,14 +148,11 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, Window win=None) -> WebKitStateChangedEvent"""
|
||||
newobj = _webkit.new_WebKitStateChangedEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_webkit.WebKitStateChangedEvent_swiginit(self,_webkit.new_WebKitStateChangedEvent(*args, **kwargs))
|
||||
def GetState(*args, **kwargs):
|
||||
"""GetState(self) -> int"""
|
||||
return _webkit.WebKitStateChangedEvent_GetState(*args, **kwargs)
|
||||
@@ -174,13 +169,8 @@ class WebKitStateChangedEvent(_core.CommandEvent):
|
||||
"""SetURL(self, String url)"""
|
||||
return _webkit.WebKitStateChangedEvent_SetURL(*args, **kwargs)
|
||||
|
||||
|
||||
class WebKitStateChangedEventPtr(WebKitStateChangedEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = WebKitStateChangedEvent
|
||||
_webkit.WebKitStateChangedEvent_swigregister(WebKitStateChangedEventPtr)
|
||||
WebKitStateChangedEvent_swigregister = _webkit.WebKitStateChangedEvent_swigregister
|
||||
WebKitStateChangedEvent_swigregister(WebKitStateChangedEvent)
|
||||
|
||||
EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED)
|
||||
|
||||
|
||||
+3107
-2004
File diff suppressed because it is too large
Load Diff
+46
-175
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -7,17 +7,17 @@ or pages.
|
||||
"""
|
||||
|
||||
import _wizard
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -26,10 +26,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -42,7 +48,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -67,17 +74,14 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
|
||||
WizardPage page=None) -> WizardEvent
|
||||
"""
|
||||
newobj = _wizard.new_WizardEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_wizard.WizardEvent_swiginit(self,_wizard.new_WizardEvent(*args, **kwargs))
|
||||
def GetDirection(*args, **kwargs):
|
||||
"""GetDirection(self) -> bool"""
|
||||
return _wizard.WizardEvent_GetDirection(*args, **kwargs)
|
||||
@@ -86,19 +90,14 @@ class WizardEvent(_core.NotifyEvent):
|
||||
"""GetPage(self) -> WizardPage"""
|
||||
return _wizard.WizardEvent_GetPage(*args, **kwargs)
|
||||
|
||||
|
||||
class WizardEventPtr(WizardEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = WizardEvent
|
||||
_wizard.WizardEvent_swigregister(WizardEventPtr)
|
||||
WizardEvent_swigregister = _wizard.WizardEvent_swigregister
|
||||
WizardEvent_swigregister(WizardEvent)
|
||||
|
||||
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,)
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
def Create(*args, **kwargs):
|
||||
"""Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
|
||||
return _wizard.WizardPage_Create(*args, **kwargs)
|
||||
@@ -115,24 +114,16 @@ class WizardPage(_windows.Panel):
|
||||
"""GetBitmap(self) -> Bitmap"""
|
||||
return _wizard.WizardPage_GetBitmap(*args, **kwargs)
|
||||
|
||||
|
||||
class WizardPagePtr(WizardPage):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = WizardPage
|
||||
_wizard.WizardPage_swigregister(WizardPagePtr)
|
||||
WizardPage_swigregister = _wizard.WizardPage_swigregister
|
||||
WizardPage_swigregister(WizardPage)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
|
||||
newobj = _wizard.new_PyWizardPage(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_wizard.PyWizardPage_swiginit(self,_wizard.new_PyWizardPage(*args, **kwargs))
|
||||
self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -179,102 +170,6 @@ class PyWizardPage(WizardPage):
|
||||
"""DoGetBestSize(self) -> Size"""
|
||||
return _wizard.PyWizardPage_DoGetBestSize(*args, **kwargs)
|
||||
|
||||
def InitDialog(*args, **kwargs):
|
||||
"""
|
||||
InitDialog(self)
|
||||
|
||||
Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
|
||||
to the dialog via validators.
|
||||
"""
|
||||
return _wizard.PyWizardPage_InitDialog(*args, **kwargs)
|
||||
|
||||
def TransferDataToWindow(*args, **kwargs):
|
||||
"""
|
||||
TransferDataToWindow(self) -> bool
|
||||
|
||||
Transfers values to child controls from data areas specified by their
|
||||
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
|
||||
style flag set, the method will also call TransferDataToWindow() of
|
||||
all child windows.
|
||||
"""
|
||||
return _wizard.PyWizardPage_TransferDataToWindow(*args, **kwargs)
|
||||
|
||||
def TransferDataFromWindow(*args, **kwargs):
|
||||
"""
|
||||
TransferDataFromWindow(self) -> bool
|
||||
|
||||
Transfers values from child controls to data areas specified by their
|
||||
validators. Returns false if a transfer failed. If the window has
|
||||
wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
|
||||
also call TransferDataFromWindow() of all child windows.
|
||||
"""
|
||||
return _wizard.PyWizardPage_TransferDataFromWindow(*args, **kwargs)
|
||||
|
||||
def Validate(*args, **kwargs):
|
||||
"""
|
||||
Validate(self) -> bool
|
||||
|
||||
Validates the current values of the child controls using their
|
||||
validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
|
||||
style flag set, the method will also call Validate() of all child
|
||||
windows. Returns false if any of the validations failed.
|
||||
"""
|
||||
return _wizard.PyWizardPage_Validate(*args, **kwargs)
|
||||
|
||||
def AcceptsFocus(*args, **kwargs):
|
||||
"""
|
||||
AcceptsFocus(self) -> bool
|
||||
|
||||
Can this window have focus?
|
||||
"""
|
||||
return _wizard.PyWizardPage_AcceptsFocus(*args, **kwargs)
|
||||
|
||||
def AcceptsFocusFromKeyboard(*args, **kwargs):
|
||||
"""
|
||||
AcceptsFocusFromKeyboard(self) -> bool
|
||||
|
||||
Can this window be given focus by keyboard navigation? if not, the
|
||||
only way to give it focus (provided it accepts it at all) is to click
|
||||
it.
|
||||
"""
|
||||
return _wizard.PyWizardPage_AcceptsFocusFromKeyboard(*args, **kwargs)
|
||||
|
||||
def GetMaxSize(*args, **kwargs):
|
||||
"""GetMaxSize(self) -> Size"""
|
||||
return _wizard.PyWizardPage_GetMaxSize(*args, **kwargs)
|
||||
|
||||
def AddChild(*args, **kwargs):
|
||||
"""
|
||||
AddChild(self, Window child)
|
||||
|
||||
Adds a child window. This is called automatically by window creation
|
||||
functions so should not be required by the application programmer.
|
||||
"""
|
||||
return _wizard.PyWizardPage_AddChild(*args, **kwargs)
|
||||
|
||||
def RemoveChild(*args, **kwargs):
|
||||
"""
|
||||
RemoveChild(self, Window child)
|
||||
|
||||
Removes a child window. This is called automatically by window
|
||||
deletion functions so should not be required by the application
|
||||
programmer.
|
||||
"""
|
||||
return _wizard.PyWizardPage_RemoveChild(*args, **kwargs)
|
||||
|
||||
def ShouldInheritColours(*args, **kwargs):
|
||||
"""
|
||||
ShouldInheritColours(self) -> bool
|
||||
|
||||
Return true from here to allow the colours of this window to be
|
||||
changed by InheritAttributes, returning false forbids inheriting them
|
||||
from the parent window.
|
||||
|
||||
The base class version returns false, but this method is overridden in
|
||||
wxControl where it returns true.
|
||||
"""
|
||||
return _wizard.PyWizardPage_ShouldInheritColours(*args, **kwargs)
|
||||
|
||||
def GetDefaultAttributes(*args, **kwargs):
|
||||
"""GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _wizard.PyWizardPage_GetDefaultAttributes(*args, **kwargs)
|
||||
@@ -388,33 +283,24 @@ class PyWizardPage(WizardPage):
|
||||
base_OnInternalIdle = wx._deprecated(base_OnInternalIdle,
|
||||
"Please use PyWizardPage.OnInternalIdle instead.")
|
||||
|
||||
|
||||
class PyWizardPagePtr(PyWizardPage):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = PyWizardPage
|
||||
_wizard.PyWizardPage_swigregister(PyWizardPagePtr)
|
||||
PyWizardPage_swigregister = _wizard.PyWizardPage_swigregister
|
||||
PyWizardPage_swigregister(PyWizardPage)
|
||||
|
||||
def PrePyWizardPage(*args, **kwargs):
|
||||
"""PrePyWizardPage() -> PyWizardPage"""
|
||||
val = _wizard.new_PrePyWizardPage(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
|
||||
Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
|
||||
"""
|
||||
newobj = _wizard.new_WizardPageSimple(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_wizard.WizardPageSimple_swiginit(self,_wizard.new_WizardPageSimple(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -437,38 +323,29 @@ class WizardPageSimple(WizardPage):
|
||||
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
|
||||
|
||||
Chain = staticmethod(Chain)
|
||||
|
||||
class WizardPageSimplePtr(WizardPageSimple):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = WizardPageSimple
|
||||
_wizard.WizardPageSimple_swigregister(WizardPageSimplePtr)
|
||||
WizardPageSimple_swigregister = _wizard.WizardPageSimple_swigregister
|
||||
WizardPageSimple_swigregister(WizardPageSimple)
|
||||
|
||||
def PreWizardPageSimple(*args, **kwargs):
|
||||
"""PreWizardPageSimple() -> WizardPageSimple"""
|
||||
val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def WizardPageSimple_Chain(*args, **kwargs):
|
||||
"""WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
|
||||
return _wizard.WizardPageSimple_Chain(*args, **kwargs)
|
||||
"""WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, String title=EmptyString,
|
||||
Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
|
||||
long style=DEFAULT_DIALOG_STYLE) -> Wizard
|
||||
"""
|
||||
newobj = _wizard.new_Wizard(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_wizard.Wizard_swiginit(self,_wizard.new_Wizard(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
@@ -526,18 +403,12 @@ class Wizard(_windows.Dialog):
|
||||
"""HasPrevPage(self, WizardPage page) -> bool"""
|
||||
return _wizard.Wizard_HasPrevPage(*args, **kwargs)
|
||||
|
||||
|
||||
class WizardPtr(Wizard):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = Wizard
|
||||
_wizard.Wizard_swigregister(WizardPtr)
|
||||
Wizard_swigregister = _wizard.Wizard_swigregister
|
||||
Wizard_swigregister(Wizard)
|
||||
|
||||
def PreWizard(*args, **kwargs):
|
||||
"""PreWizard() -> Wizard"""
|
||||
val = _wizard.new_PreWizard(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
|
||||
|
||||
+4188
-3193
File diff suppressed because it is too large
Load Diff
+66
-123
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# This file was created automatically by SWIG 1.3.29.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
@@ -7,17 +7,17 @@ controls on a panel, etc. to be loaded from an XML file.
|
||||
"""
|
||||
|
||||
import _xrc
|
||||
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if (name == "this"):
|
||||
if isinstance(value, class_type):
|
||||
self.__dict__[name] = value.this
|
||||
if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
|
||||
del value.thisown
|
||||
if type(value).__name__ == 'PySwigObject':
|
||||
self.__dict__[name] = value
|
||||
return
|
||||
method = class_type.__swig_setmethods__.get(name,None)
|
||||
if method: return method(self,value)
|
||||
if (not static) or hasattr(self,name) or (name == "thisown"):
|
||||
if (not static) or hasattr(self,name):
|
||||
self.__dict__[name] = value
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -26,10 +26,16 @@ def _swig_setattr(self,class_type,name,value):
|
||||
return _swig_setattr_nondynamic(self,class_type,name,value,0)
|
||||
|
||||
def _swig_getattr(self,class_type,name):
|
||||
if (name == "thisown"): return self.this.own()
|
||||
method = class_type.__swig_getmethods__.get(name,None)
|
||||
if method: return method(self)
|
||||
raise AttributeError,name
|
||||
|
||||
def _swig_repr(self):
|
||||
try: strthis = "proxy of " + self.this.__repr__()
|
||||
except: strthis = ""
|
||||
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
||||
|
||||
import types
|
||||
try:
|
||||
_object = types.ObjectType
|
||||
@@ -42,7 +48,8 @@ del types
|
||||
|
||||
def _swig_setattr_nondynamic_method(set):
|
||||
def set_attr(self,name,value):
|
||||
if hasattr(self,name) or (name in ("this", "thisown")):
|
||||
if (name == "thisown"): return self.this.own(value)
|
||||
if hasattr(self,name) or (name == "this"):
|
||||
set(self,name,value)
|
||||
else:
|
||||
raise AttributeError("You cannot add attributes to %s" % self)
|
||||
@@ -63,22 +70,15 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, String filemask, int flags=XRC_USE_LOCALE) -> XmlResource"""
|
||||
newobj = _xrc.new_XmlResource(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_xrc.XmlResource_swiginit(self,_xrc.new_XmlResource(*args, **kwargs))
|
||||
self.InitAllHandlers()
|
||||
|
||||
def __del__(self, destroy=_xrc.delete_XmlResource):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
__swig_destroy__ = _xrc.delete_XmlResource
|
||||
__del__ = lambda self : None;
|
||||
def Load(*args, **kwargs):
|
||||
"""Load(self, String filemask) -> bool"""
|
||||
return _xrc.XmlResource_Load(*args, **kwargs)
|
||||
@@ -203,13 +203,8 @@ class XmlResource(_core.Object):
|
||||
"""SetFlags(self, int flags)"""
|
||||
return _xrc.XmlResource_SetFlags(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlResourcePtr(XmlResource):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = XmlResource
|
||||
_xrc.XmlResource_swigregister(XmlResourcePtr)
|
||||
XmlResource_swigregister = _xrc.XmlResource_swigregister
|
||||
XmlResource_swigregister(XmlResource)
|
||||
cvar = _xrc.cvar
|
||||
UTF8String = cvar.UTF8String
|
||||
StyleString = cvar.StyleString
|
||||
@@ -222,25 +217,24 @@ FontString = cvar.FontString
|
||||
def EmptyXmlResource(*args, **kwargs):
|
||||
"""EmptyXmlResource(int flags=XRC_USE_LOCALE) -> XmlResource"""
|
||||
val = _xrc.new_EmptyXmlResource(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
val.InitAllHandlers()
|
||||
return val
|
||||
|
||||
def XmlResource_AddSubclassFactory(*args, **kwargs):
|
||||
"""XmlResource_AddSubclassFactory(XmlSubclassFactory factory)"""
|
||||
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
|
||||
"""XmlResource_AddSubclassFactory(XmlSubclassFactory factory)"""
|
||||
return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
|
||||
|
||||
def XmlResource_GetXRCID(*args, **kwargs):
|
||||
"""XmlResource_GetXRCID(String str_id) -> int"""
|
||||
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
|
||||
"""XmlResource_GetXRCID(String str_id) -> int"""
|
||||
return _xrc.XmlResource_GetXRCID(*args, **kwargs)
|
||||
|
||||
def XmlResource_Get(*args, **kwargs):
|
||||
"""XmlResource_Get() -> XmlResource"""
|
||||
return _xrc.XmlResource_Get(*args, **kwargs)
|
||||
def XmlResource_Get(*args):
|
||||
"""XmlResource_Get() -> XmlResource"""
|
||||
return _xrc.XmlResource_Get(*args)
|
||||
|
||||
def XmlResource_Set(*args, **kwargs):
|
||||
"""XmlResource_Set(XmlResource res) -> XmlResource"""
|
||||
return _xrc.XmlResource_Set(*args, **kwargs)
|
||||
"""XmlResource_Set(XmlResource res) -> XmlResource"""
|
||||
return _xrc.XmlResource_Set(*args, **kwargs)
|
||||
|
||||
def XRCID(str_id):
|
||||
return XmlResource_GetXRCID(str_id)
|
||||
@@ -252,27 +246,19 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> XmlSubclassFactory"""
|
||||
newobj = _xrc.new_XmlSubclassFactory(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_xrc.XmlSubclassFactory_swiginit(self,_xrc.new_XmlSubclassFactory(*args, **kwargs))
|
||||
self._setCallbackInfo(self, XmlSubclassFactory)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||
return _xrc.XmlSubclassFactory__setCallbackInfo(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlSubclassFactoryPtr(XmlSubclassFactory):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = XmlSubclassFactory
|
||||
_xrc.XmlSubclassFactory_swigregister(XmlSubclassFactoryPtr)
|
||||
XmlSubclassFactory_swigregister = _xrc.XmlSubclassFactory_swigregister
|
||||
XmlSubclassFactory_swigregister(XmlSubclassFactory)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
@@ -291,17 +277,14 @@ 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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, String name=EmptyString, String value=EmptyString,
|
||||
XmlProperty next=None) -> XmlProperty
|
||||
"""
|
||||
newobj = _xrc.new_XmlProperty(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_xrc.XmlProperty_swiginit(self,_xrc.new_XmlProperty(*args, **kwargs))
|
||||
def GetName(*args, **kwargs):
|
||||
"""GetName(self) -> String"""
|
||||
return _xrc.XmlProperty_GetName(*args, **kwargs)
|
||||
@@ -326,34 +309,22 @@ class XmlProperty(object):
|
||||
"""SetNext(self, XmlProperty next)"""
|
||||
return _xrc.XmlProperty_SetNext(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlPropertyPtr(XmlProperty):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = XmlProperty
|
||||
_xrc.XmlProperty_swigregister(XmlPropertyPtr)
|
||||
XmlProperty_swigregister = _xrc.XmlProperty_swigregister
|
||||
XmlProperty_swigregister(XmlProperty)
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, XmlNode parent=None, int type=0, String name=EmptyString,
|
||||
String content=EmptyString, XmlProperty props=None,
|
||||
XmlNode next=None) -> XmlNode
|
||||
"""
|
||||
newobj = _xrc.new_XmlNode(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_xrc.delete_XmlNode):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
_xrc.XmlNode_swiginit(self,_xrc.new_XmlNode(*args, **kwargs))
|
||||
__swig_destroy__ = _xrc.delete_XmlNode
|
||||
__del__ = lambda self : None;
|
||||
def AddChild(*args, **kwargs):
|
||||
"""AddChild(self, XmlNode child)"""
|
||||
return _xrc.XmlNode_AddChild(*args, **kwargs)
|
||||
@@ -442,36 +413,23 @@ class XmlNode(object):
|
||||
"""SetProperties(self, XmlProperty prop)"""
|
||||
return _xrc.XmlNode_SetProperties(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlNodePtr(XmlNode):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = XmlNode
|
||||
_xrc.XmlNode_swigregister(XmlNodePtr)
|
||||
XmlNode_swigregister = _xrc.XmlNode_swigregister
|
||||
XmlNode_swigregister(XmlNode)
|
||||
|
||||
def XmlNodeEasy(*args, **kwargs):
|
||||
"""XmlNodeEasy(int type, String name, String content=EmptyString) -> XmlNode"""
|
||||
val = _xrc.new_XmlNodeEasy(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, String filename, String encoding=UTF8String) -> XmlDocument"""
|
||||
newobj = _xrc.new_XmlDocument(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_xrc.delete_XmlDocument):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
_xrc.XmlDocument_swiginit(self,_xrc.new_XmlDocument(*args, **kwargs))
|
||||
__swig_destroy__ = _xrc.delete_XmlDocument
|
||||
__del__ = lambda self : None;
|
||||
def Load(*args, **kwargs):
|
||||
"""Load(self, String filename, String encoding=UTF8String) -> bool"""
|
||||
return _xrc.XmlDocument_Load(*args, **kwargs)
|
||||
@@ -516,38 +474,28 @@ class XmlDocument(_core.Object):
|
||||
"""SetFileEncoding(self, String encoding)"""
|
||||
return _xrc.XmlDocument_SetFileEncoding(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlDocumentPtr(XmlDocument):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = XmlDocument
|
||||
_xrc.XmlDocument_swigregister(XmlDocumentPtr)
|
||||
XmlDocument_swigregister = _xrc.XmlDocument_swigregister
|
||||
XmlDocument_swigregister(XmlDocument)
|
||||
|
||||
def XmlDocumentFromStream(*args, **kwargs):
|
||||
"""XmlDocumentFromStream(InputStream stream, String encoding=UTF8String) -> XmlDocument"""
|
||||
val = _xrc.new_XmlDocumentFromStream(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
def EmptyXmlDocument(*args, **kwargs):
|
||||
"""EmptyXmlDocument() -> XmlDocument"""
|
||||
val = _xrc.new_EmptyXmlDocument(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
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):
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> XmlResourceHandler"""
|
||||
newobj = _xrc.new_XmlResourceHandler(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
_xrc.XmlResourceHandler_swiginit(self,_xrc.new_XmlResourceHandler(*args, **kwargs))
|
||||
self._setCallbackInfo(self, XmlResourceHandler)
|
||||
|
||||
def _setCallbackInfo(*args, **kwargs):
|
||||
@@ -692,13 +640,8 @@ class XmlResourceHandler(_core.Object):
|
||||
"""GetCurFileSystem(self) -> FileSystem"""
|
||||
return _xrc.XmlResourceHandler_GetCurFileSystem(*args, **kwargs)
|
||||
|
||||
|
||||
class XmlResourceHandlerPtr(XmlResourceHandler):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = XmlResourceHandler
|
||||
_xrc.XmlResourceHandler_swigregister(XmlResourceHandlerPtr)
|
||||
XmlResourceHandler_swigregister = _xrc.XmlResourceHandler_swigregister
|
||||
XmlResourceHandler_swigregister(XmlResourceHandler)
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# The global was removed in favor of static accessor functions. This is for
|
||||
|
||||
+7380
-5802
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user