reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
365271b573
commit
4976f9967a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -579,7 +579,7 @@ class ComboBox(_core.Control,_core.ItemContainer):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(Window parent, int id, String value=EmptyString,
|
||||
__init__(Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
List choices=EmptyList, long style=0, Validator validator=DefaultValidator,
|
||||
String name=ComboBoxNameStr) -> ComboBox
|
||||
@ -591,7 +591,7 @@ class ComboBox(_core.Control,_core.ItemContainer):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(Window parent, int id, String value=EmptyString,
|
||||
Create(Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
List choices=EmptyList, long style=0, Validator validator=DefaultValidator,
|
||||
String name=ChoiceNameStr) -> bool
|
||||
@ -3973,6 +3973,14 @@ class ToolBar(ToolBarBase):
|
||||
"""
|
||||
return _controls_.ToolBar_Create(*args, **kwargs)
|
||||
|
||||
def SetToolNormalBitmap(*args, **kwargs):
|
||||
"""SetToolNormalBitmap(self, int id, Bitmap bitmap)"""
|
||||
return _controls_.ToolBar_SetToolNormalBitmap(*args, **kwargs)
|
||||
|
||||
def SetToolDisabledBitmap(*args, **kwargs):
|
||||
"""SetToolDisabledBitmap(self, int id, Bitmap bitmap)"""
|
||||
return _controls_.ToolBar_SetToolDisabledBitmap(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
File diff suppressed because one or more lines are too long
@ -3900,6 +3900,7 @@ EVENT_PROPAGATE_MAX = _core_.EVENT_PROPAGATE_MAX
|
||||
def NewEventType(*args):
|
||||
"""NewEventType() -> EventType"""
|
||||
return _core_.NewEventType(*args)
|
||||
wxEVT_ANY = _core_.wxEVT_ANY
|
||||
wxEVT_NULL = _core_.wxEVT_NULL
|
||||
wxEVT_FIRST = _core_.wxEVT_FIRST
|
||||
wxEVT_USER_FIRST = _core_.wxEVT_USER_FIRST
|
||||
@ -5051,6 +5052,16 @@ class MouseEvent(Event):
|
||||
"""
|
||||
return _core_.MouseEvent_GetWheelDelta(*args, **kwargs)
|
||||
|
||||
def GetWheelAxis(*args, **kwargs):
|
||||
"""
|
||||
GetWheelAxis(self) -> int
|
||||
|
||||
Gets the axis the wheel operation concerns, 0 being the y axis as on
|
||||
most mouse wheels, 1 is the x axis for things like MightyMouse scrolls
|
||||
or horizontal trackpad scrolling.
|
||||
"""
|
||||
return _core_.MouseEvent_GetWheelAxis(*args, **kwargs)
|
||||
|
||||
def GetLinesPerAction(*args, **kwargs):
|
||||
"""
|
||||
GetLinesPerAction(self) -> int
|
||||
@ -6994,6 +7005,25 @@ _core_.DateEvent_swigregister(DateEvent)
|
||||
wxEVT_DATE_CHANGED = _core_.wxEVT_DATE_CHANGED
|
||||
EVT_DATE_CHANGED = wx.PyEventBinder( wxEVT_DATE_CHANGED, 1 )
|
||||
|
||||
class EventBlocker(EvtHandler):
|
||||
"""Helper class to temporarily disable event handling for a window."""
|
||||
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, EventType type=wxEVT_ANY) -> EventBlocker
|
||||
|
||||
Helper class to temporarily disable event handling for a window.
|
||||
"""
|
||||
_core_.EventBlocker_swiginit(self,_core_.new_EventBlocker(*args, **kwargs))
|
||||
__swig_destroy__ = _core_.delete_EventBlocker
|
||||
__del__ = lambda self : None;
|
||||
def Block(*args, **kwargs):
|
||||
"""Block(self, EventType type)"""
|
||||
return _core_.EventBlocker_Block(*args, **kwargs)
|
||||
|
||||
_core_.EventBlocker_swigregister(EventBlocker)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
PYAPP_ASSERT_SUPPRESS = _core_.PYAPP_ASSERT_SUPPRESS
|
||||
@ -10355,9 +10385,15 @@ class Window(EvtHandler):
|
||||
self.thisown = pre.thisown
|
||||
pre.thisown = 0
|
||||
if hasattr(self, '_setOORInfo'):
|
||||
self._setOORInfo(self)
|
||||
try:
|
||||
self._setOORInfo(self)
|
||||
except TypeError:
|
||||
pass
|
||||
if hasattr(self, '_setCallbackInfo'):
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
try:
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
except TypeError:
|
||||
pass
|
||||
|
||||
def SendSizeEvent(self):
|
||||
self.GetEventHandler().ProcessEvent(wx.SizeEvent((-1,-1)))
|
||||
|
File diff suppressed because one or more lines are too long
@ -5065,22 +5065,13 @@ _gdi_.GraphicsFont_swigregister(GraphicsFont)
|
||||
class GraphicsMatrix(GraphicsObject):
|
||||
"""
|
||||
A wx.GraphicsMatrix is a native representation of an affine
|
||||
matrix. The contents are specific an private to the respective
|
||||
matrix. The contents are specific and private to the respective
|
||||
renderer. The only way to get a valid instance is via a CreateMatrix
|
||||
call on the graphics context or the renderer instance.
|
||||
"""
|
||||
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 __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self) -> GraphicsMatrix
|
||||
|
||||
A wx.GraphicsMatrix is a native representation of an affine
|
||||
matrix. The contents are specific an private to the respective
|
||||
renderer. The only way to get a valid instance is via a CreateMatrix
|
||||
call on the graphics context or the renderer instance.
|
||||
"""
|
||||
_gdi_.GraphicsMatrix_swiginit(self,_gdi_.new_GraphicsMatrix(*args, **kwargs))
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsMatrix
|
||||
__del__ = lambda self : None;
|
||||
def Concat(*args, **kwargs):
|
||||
@ -5191,10 +5182,8 @@ _gdi_.GraphicsMatrix_swigregister(GraphicsMatrix)
|
||||
class GraphicsPath(GraphicsObject):
|
||||
"""Proxy of C++ GraphicsPath class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> GraphicsPath"""
|
||||
_gdi_.GraphicsPath_swiginit(self,_gdi_.new_GraphicsPath(*args, **kwargs))
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsPath
|
||||
__del__ = lambda self : None;
|
||||
def MoveToPoint(*args):
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1730,8 +1730,18 @@ class PyAuiTabArt(AuiDefaultTabArt):
|
||||
methods to the Python methods implemented in the derived class.
|
||||
"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self) -> PyAuiTabArt
|
||||
|
||||
This version of the `TabArt` class has been instrumented to be
|
||||
subclassable in Python and to reflect all calls to the C++ base class
|
||||
methods to the Python methods implemented in the derived class.
|
||||
"""
|
||||
_aui.PyAuiTabArt_swiginit(self,_aui.new_PyAuiTabArt(*args, **kwargs))
|
||||
PyAuiTabArt._setCallbackInfo(self, self, PyAuiTabArt)
|
||||
|
||||
_aui.PyAuiTabArt_swigregister(PyAuiTabArt)
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1137,7 +1137,7 @@ class GridCellCoords(object):
|
||||
def __str__(self): return str(self.Get())
|
||||
def __repr__(self): return 'wxGridCellCoords'+str(self.Get())
|
||||
def __len__(self): return len(self.Get())
|
||||
def __getitem__(self, index): return self.asTuple()[index]
|
||||
def __getitem__(self, index): return self.Get()[index]
|
||||
def __setitem__(self, index, val):
|
||||
if index == 0: self.SetRow(val)
|
||||
elif index == 1: self.SetCol(val)
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -579,7 +579,7 @@ class ComboBox(_core.Control,_core.ItemContainer):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(Window parent, int id, String value=EmptyString,
|
||||
__init__(Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
List choices=EmptyList, long style=0, Validator validator=DefaultValidator,
|
||||
String name=ComboBoxNameStr) -> ComboBox
|
||||
@ -591,7 +591,7 @@ class ComboBox(_core.Control,_core.ItemContainer):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(Window parent, int id, String value=EmptyString,
|
||||
Create(Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
List choices=EmptyList, long style=0, Validator validator=DefaultValidator,
|
||||
String name=ChoiceNameStr) -> bool
|
||||
@ -3966,6 +3966,14 @@ class ToolBar(ToolBarBase):
|
||||
"""
|
||||
return _controls_.ToolBar_Create(*args, **kwargs)
|
||||
|
||||
def SetToolNormalBitmap(*args, **kwargs):
|
||||
"""SetToolNormalBitmap(self, int id, Bitmap bitmap)"""
|
||||
return _controls_.ToolBar_SetToolNormalBitmap(*args, **kwargs)
|
||||
|
||||
def SetToolDisabledBitmap(*args, **kwargs):
|
||||
"""SetToolDisabledBitmap(self, int id, Bitmap bitmap)"""
|
||||
return _controls_.ToolBar_SetToolDisabledBitmap(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
File diff suppressed because one or more lines are too long
@ -3900,6 +3900,7 @@ EVENT_PROPAGATE_MAX = _core_.EVENT_PROPAGATE_MAX
|
||||
def NewEventType(*args):
|
||||
"""NewEventType() -> EventType"""
|
||||
return _core_.NewEventType(*args)
|
||||
wxEVT_ANY = _core_.wxEVT_ANY
|
||||
wxEVT_NULL = _core_.wxEVT_NULL
|
||||
wxEVT_FIRST = _core_.wxEVT_FIRST
|
||||
wxEVT_USER_FIRST = _core_.wxEVT_USER_FIRST
|
||||
@ -5051,6 +5052,16 @@ class MouseEvent(Event):
|
||||
"""
|
||||
return _core_.MouseEvent_GetWheelDelta(*args, **kwargs)
|
||||
|
||||
def GetWheelAxis(*args, **kwargs):
|
||||
"""
|
||||
GetWheelAxis(self) -> int
|
||||
|
||||
Gets the axis the wheel operation concerns, 0 being the y axis as on
|
||||
most mouse wheels, 1 is the x axis for things like MightyMouse scrolls
|
||||
or horizontal trackpad scrolling.
|
||||
"""
|
||||
return _core_.MouseEvent_GetWheelAxis(*args, **kwargs)
|
||||
|
||||
def GetLinesPerAction(*args, **kwargs):
|
||||
"""
|
||||
GetLinesPerAction(self) -> int
|
||||
@ -6994,6 +7005,25 @@ _core_.DateEvent_swigregister(DateEvent)
|
||||
wxEVT_DATE_CHANGED = _core_.wxEVT_DATE_CHANGED
|
||||
EVT_DATE_CHANGED = wx.PyEventBinder( wxEVT_DATE_CHANGED, 1 )
|
||||
|
||||
class EventBlocker(EvtHandler):
|
||||
"""Helper class to temporarily disable event handling for a window."""
|
||||
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, EventType type=wxEVT_ANY) -> EventBlocker
|
||||
|
||||
Helper class to temporarily disable event handling for a window.
|
||||
"""
|
||||
_core_.EventBlocker_swiginit(self,_core_.new_EventBlocker(*args, **kwargs))
|
||||
__swig_destroy__ = _core_.delete_EventBlocker
|
||||
__del__ = lambda self : None;
|
||||
def Block(*args, **kwargs):
|
||||
"""Block(self, EventType type)"""
|
||||
return _core_.EventBlocker_Block(*args, **kwargs)
|
||||
|
||||
_core_.EventBlocker_swigregister(EventBlocker)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
PYAPP_ASSERT_SUPPRESS = _core_.PYAPP_ASSERT_SUPPRESS
|
||||
@ -10355,9 +10385,15 @@ class Window(EvtHandler):
|
||||
self.thisown = pre.thisown
|
||||
pre.thisown = 0
|
||||
if hasattr(self, '_setOORInfo'):
|
||||
self._setOORInfo(self)
|
||||
try:
|
||||
self._setOORInfo(self)
|
||||
except TypeError:
|
||||
pass
|
||||
if hasattr(self, '_setCallbackInfo'):
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
try:
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
except TypeError:
|
||||
pass
|
||||
|
||||
def SendSizeEvent(self):
|
||||
self.GetEventHandler().ProcessEvent(wx.SizeEvent((-1,-1)))
|
||||
|
File diff suppressed because one or more lines are too long
@ -5092,22 +5092,13 @@ _gdi_.GraphicsFont_swigregister(GraphicsFont)
|
||||
class GraphicsMatrix(GraphicsObject):
|
||||
"""
|
||||
A wx.GraphicsMatrix is a native representation of an affine
|
||||
matrix. The contents are specific an private to the respective
|
||||
matrix. The contents are specific and private to the respective
|
||||
renderer. The only way to get a valid instance is via a CreateMatrix
|
||||
call on the graphics context or the renderer instance.
|
||||
"""
|
||||
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 __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self) -> GraphicsMatrix
|
||||
|
||||
A wx.GraphicsMatrix is a native representation of an affine
|
||||
matrix. The contents are specific an private to the respective
|
||||
renderer. The only way to get a valid instance is via a CreateMatrix
|
||||
call on the graphics context or the renderer instance.
|
||||
"""
|
||||
_gdi_.GraphicsMatrix_swiginit(self,_gdi_.new_GraphicsMatrix(*args, **kwargs))
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsMatrix
|
||||
__del__ = lambda self : None;
|
||||
def Concat(*args, **kwargs):
|
||||
@ -5218,10 +5209,8 @@ _gdi_.GraphicsMatrix_swigregister(GraphicsMatrix)
|
||||
class GraphicsPath(GraphicsObject):
|
||||
"""Proxy of C++ GraphicsPath class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> GraphicsPath"""
|
||||
_gdi_.GraphicsPath_swiginit(self,_gdi_.new_GraphicsPath(*args, **kwargs))
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsPath
|
||||
__del__ = lambda self : None;
|
||||
def MoveToPoint(*args):
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1730,8 +1730,18 @@ class PyAuiTabArt(AuiDefaultTabArt):
|
||||
methods to the Python methods implemented in the derived class.
|
||||
"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self) -> PyAuiTabArt
|
||||
|
||||
This version of the `TabArt` class has been instrumented to be
|
||||
subclassable in Python and to reflect all calls to the C++ base class
|
||||
methods to the Python methods implemented in the derived class.
|
||||
"""
|
||||
_aui.PyAuiTabArt_swiginit(self,_aui.new_PyAuiTabArt(*args, **kwargs))
|
||||
PyAuiTabArt._setCallbackInfo(self, self, PyAuiTabArt)
|
||||
|
||||
_aui.PyAuiTabArt_swigregister(PyAuiTabArt)
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1137,7 +1137,7 @@ class GridCellCoords(object):
|
||||
def __str__(self): return str(self.Get())
|
||||
def __repr__(self): return 'wxGridCellCoords'+str(self.Get())
|
||||
def __len__(self): return len(self.Get())
|
||||
def __getitem__(self, index): return self.asTuple()[index]
|
||||
def __getitem__(self, index): return self.Get()[index]
|
||||
def __setitem__(self, index, val):
|
||||
if index == 0: self.SetRow(val)
|
||||
elif index == 1: self.SetCol(val)
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -579,7 +579,7 @@ class ComboBox(Choice):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(Window parent, int id, String value=EmptyString,
|
||||
__init__(Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
List choices=EmptyList, long style=0, Validator validator=DefaultValidator,
|
||||
String name=ComboBoxNameStr) -> ComboBox
|
||||
@ -591,7 +591,7 @@ class ComboBox(Choice):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(Window parent, int id, String value=EmptyString,
|
||||
Create(Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
List choices=EmptyList, long style=0, Validator validator=DefaultValidator,
|
||||
String name=ChoiceNameStr) -> bool
|
||||
@ -3981,6 +3981,14 @@ class ToolBar(ToolBarBase):
|
||||
"""
|
||||
return _controls_.ToolBar_Create(*args, **kwargs)
|
||||
|
||||
def SetToolNormalBitmap(*args, **kwargs):
|
||||
"""SetToolNormalBitmap(self, int id, Bitmap bitmap)"""
|
||||
return _controls_.ToolBar_SetToolNormalBitmap(*args, **kwargs)
|
||||
|
||||
def SetToolDisabledBitmap(*args, **kwargs):
|
||||
"""SetToolDisabledBitmap(self, int id, Bitmap bitmap)"""
|
||||
return _controls_.ToolBar_SetToolDisabledBitmap(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
File diff suppressed because one or more lines are too long
@ -3900,6 +3900,7 @@ EVENT_PROPAGATE_MAX = _core_.EVENT_PROPAGATE_MAX
|
||||
def NewEventType(*args):
|
||||
"""NewEventType() -> EventType"""
|
||||
return _core_.NewEventType(*args)
|
||||
wxEVT_ANY = _core_.wxEVT_ANY
|
||||
wxEVT_NULL = _core_.wxEVT_NULL
|
||||
wxEVT_FIRST = _core_.wxEVT_FIRST
|
||||
wxEVT_USER_FIRST = _core_.wxEVT_USER_FIRST
|
||||
@ -5051,6 +5052,16 @@ class MouseEvent(Event):
|
||||
"""
|
||||
return _core_.MouseEvent_GetWheelDelta(*args, **kwargs)
|
||||
|
||||
def GetWheelAxis(*args, **kwargs):
|
||||
"""
|
||||
GetWheelAxis(self) -> int
|
||||
|
||||
Gets the axis the wheel operation concerns, 0 being the y axis as on
|
||||
most mouse wheels, 1 is the x axis for things like MightyMouse scrolls
|
||||
or horizontal trackpad scrolling.
|
||||
"""
|
||||
return _core_.MouseEvent_GetWheelAxis(*args, **kwargs)
|
||||
|
||||
def GetLinesPerAction(*args, **kwargs):
|
||||
"""
|
||||
GetLinesPerAction(self) -> int
|
||||
@ -6994,6 +7005,25 @@ _core_.DateEvent_swigregister(DateEvent)
|
||||
wxEVT_DATE_CHANGED = _core_.wxEVT_DATE_CHANGED
|
||||
EVT_DATE_CHANGED = wx.PyEventBinder( wxEVT_DATE_CHANGED, 1 )
|
||||
|
||||
class EventBlocker(EvtHandler):
|
||||
"""Helper class to temporarily disable event handling for a window."""
|
||||
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, EventType type=wxEVT_ANY) -> EventBlocker
|
||||
|
||||
Helper class to temporarily disable event handling for a window.
|
||||
"""
|
||||
_core_.EventBlocker_swiginit(self,_core_.new_EventBlocker(*args, **kwargs))
|
||||
__swig_destroy__ = _core_.delete_EventBlocker
|
||||
__del__ = lambda self : None;
|
||||
def Block(*args, **kwargs):
|
||||
"""Block(self, EventType type)"""
|
||||
return _core_.EventBlocker_Block(*args, **kwargs)
|
||||
|
||||
_core_.EventBlocker_swigregister(EventBlocker)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
PYAPP_ASSERT_SUPPRESS = _core_.PYAPP_ASSERT_SUPPRESS
|
||||
@ -10359,9 +10389,15 @@ class Window(EvtHandler):
|
||||
self.thisown = pre.thisown
|
||||
pre.thisown = 0
|
||||
if hasattr(self, '_setOORInfo'):
|
||||
self._setOORInfo(self)
|
||||
try:
|
||||
self._setOORInfo(self)
|
||||
except TypeError:
|
||||
pass
|
||||
if hasattr(self, '_setCallbackInfo'):
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
try:
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
except TypeError:
|
||||
pass
|
||||
|
||||
def SendSizeEvent(self):
|
||||
self.GetEventHandler().ProcessEvent(wx.SizeEvent((-1,-1)))
|
||||
|
File diff suppressed because one or more lines are too long
@ -5190,22 +5190,13 @@ _gdi_.GraphicsFont_swigregister(GraphicsFont)
|
||||
class GraphicsMatrix(GraphicsObject):
|
||||
"""
|
||||
A wx.GraphicsMatrix is a native representation of an affine
|
||||
matrix. The contents are specific an private to the respective
|
||||
matrix. The contents are specific and private to the respective
|
||||
renderer. The only way to get a valid instance is via a CreateMatrix
|
||||
call on the graphics context or the renderer instance.
|
||||
"""
|
||||
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 __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self) -> GraphicsMatrix
|
||||
|
||||
A wx.GraphicsMatrix is a native representation of an affine
|
||||
matrix. The contents are specific an private to the respective
|
||||
renderer. The only way to get a valid instance is via a CreateMatrix
|
||||
call on the graphics context or the renderer instance.
|
||||
"""
|
||||
_gdi_.GraphicsMatrix_swiginit(self,_gdi_.new_GraphicsMatrix(*args, **kwargs))
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsMatrix
|
||||
__del__ = lambda self : None;
|
||||
def Concat(*args, **kwargs):
|
||||
@ -5316,10 +5307,8 @@ _gdi_.GraphicsMatrix_swigregister(GraphicsMatrix)
|
||||
class GraphicsPath(GraphicsObject):
|
||||
"""Proxy of C++ GraphicsPath class"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> GraphicsPath"""
|
||||
_gdi_.GraphicsPath_swiginit(self,_gdi_.new_GraphicsPath(*args, **kwargs))
|
||||
__swig_destroy__ = _gdi_.delete_GraphicsPath
|
||||
__del__ = lambda self : None;
|
||||
def MoveToPoint(*args):
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1730,8 +1730,18 @@ class PyAuiTabArt(AuiDefaultTabArt):
|
||||
methods to the Python methods implemented in the derived class.
|
||||
"""
|
||||
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
|
||||
def __init__(self): raise AttributeError, "No constructor defined"
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self) -> PyAuiTabArt
|
||||
|
||||
This version of the `TabArt` class has been instrumented to be
|
||||
subclassable in Python and to reflect all calls to the C++ base class
|
||||
methods to the Python methods implemented in the derived class.
|
||||
"""
|
||||
_aui.PyAuiTabArt_swiginit(self,_aui.new_PyAuiTabArt(*args, **kwargs))
|
||||
PyAuiTabArt._setCallbackInfo(self, self, PyAuiTabArt)
|
||||
|
||||
_aui.PyAuiTabArt_swigregister(PyAuiTabArt)
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1137,7 +1137,7 @@ class GridCellCoords(object):
|
||||
def __str__(self): return str(self.Get())
|
||||
def __repr__(self): return 'wxGridCellCoords'+str(self.Get())
|
||||
def __len__(self): return len(self.Get())
|
||||
def __getitem__(self, index): return self.asTuple()[index]
|
||||
def __getitem__(self, index): return self.Get()[index]
|
||||
def __setitem__(self, index, val):
|
||||
if index == 0: self.SetRow(val)
|
||||
elif index == 1: self.SetCol(val)
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user