reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
334178f853
commit
580080c5d6
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
@ -5746,10 +5746,6 @@ class PyControl(_core.Control):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _controls_.PyControl__setCallbackInfo(*args, **kwargs)
|
return _controls_.PyControl__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _controls_.PyControl_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _controls_.PyControl_DoEraseBackground(*args, **kwargs)
|
return _controls_.PyControl_DoEraseBackground(*args, **kwargs)
|
||||||
|
File diff suppressed because one or more lines are too long
@ -3668,6 +3668,19 @@ class TIFFHandler(ImageHandler):
|
|||||||
_core_.TIFFHandler_swiginit(self,_core_.new_TIFFHandler(*args, **kwargs))
|
_core_.TIFFHandler_swiginit(self,_core_.new_TIFFHandler(*args, **kwargs))
|
||||||
_core_.TIFFHandler_swigregister(TIFFHandler)
|
_core_.TIFFHandler_swigregister(TIFFHandler)
|
||||||
|
|
||||||
|
class TGAHandler(ImageHandler):
|
||||||
|
"""A `wx.ImageHandler` for TGA image files."""
|
||||||
|
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) -> TGAHandler
|
||||||
|
|
||||||
|
A `wx.ImageHandler` for TGA image files.
|
||||||
|
"""
|
||||||
|
_core_.TGAHandler_swiginit(self,_core_.new_TGAHandler(*args, **kwargs))
|
||||||
|
_core_.TGAHandler_swigregister(TGAHandler)
|
||||||
|
|
||||||
QUANTIZE_INCLUDE_WINDOWS_COLOURS = _core_.QUANTIZE_INCLUDE_WINDOWS_COLOURS
|
QUANTIZE_INCLUDE_WINDOWS_COLOURS = _core_.QUANTIZE_INCLUDE_WINDOWS_COLOURS
|
||||||
QUANTIZE_FILL_DESTINATION_IMAGE = _core_.QUANTIZE_FILL_DESTINATION_IMAGE
|
QUANTIZE_FILL_DESTINATION_IMAGE = _core_.QUANTIZE_FILL_DESTINATION_IMAGE
|
||||||
class Quantize(object):
|
class Quantize(object):
|
||||||
@ -8378,15 +8391,16 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_MoveXY(*args, **kwargs)
|
return _core_.Window_MoveXY(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestFittingSize(*args, **kwargs):
|
def SetInitialSize(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
SetBestFittingSize(self, Size size=DefaultSize)
|
SetInitialSize(self, Size size=DefaultSize)
|
||||||
|
|
||||||
A 'Smart' SetSize that will fill in default size components with the
|
A 'Smart' SetSize that will fill in default size components with the
|
||||||
window's *best size* values. Also set's the minsize for use with sizers.
|
window's *best size* values. Also set's the minsize for use with sizers.
|
||||||
"""
|
"""
|
||||||
return _core_.Window_SetBestFittingSize(*args, **kwargs)
|
return _core_.Window_SetInitialSize(*args, **kwargs)
|
||||||
|
|
||||||
|
SetBestFittingSize = wx._deprecated(SetInitialSize, 'Use `SetInitialSize`')
|
||||||
def Raise(*args, **kwargs):
|
def Raise(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Raise(self)
|
Raise(self)
|
||||||
@ -8594,22 +8608,23 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_CacheBestSize(*args, **kwargs)
|
return _core_.Window_CacheBestSize(*args, **kwargs)
|
||||||
|
|
||||||
def GetBestFittingSize(*args, **kwargs):
|
def GetEffectiveMinSize(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
GetBestFittingSize(self) -> Size
|
GetEffectiveMinSize(self) -> Size
|
||||||
|
|
||||||
This function will merge the window's best size into the window's
|
This function will merge the window's best size into the window's
|
||||||
minimum size, giving priority to the min size components, and returns
|
minimum size, giving priority to the min size components, and returns
|
||||||
the results.
|
the results.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return _core_.Window_GetBestFittingSize(*args, **kwargs)
|
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
||||||
|
|
||||||
|
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.')
|
||||||
def GetAdjustedBestSize(self):
|
def GetAdjustedBestSize(self):
|
||||||
s = self.GetBestSize()
|
s = self.GetBestSize()
|
||||||
return wx.Size(max(s.width, self.GetMinWidth()),
|
return wx.Size(max(s.width, self.GetMinWidth()),
|
||||||
max(s.height, self.GetMinHeight()))
|
max(s.height, self.GetMinHeight()))
|
||||||
GetAdjustedBestSize = wx._deprecated(GetAdjustedBestSize, 'Use `GetBestFittingSize` instead.')
|
GetAdjustedBestSize = wx._deprecated(GetAdjustedBestSize, 'Use `GetEffectiveMinSize` instead.')
|
||||||
|
|
||||||
def Center(*args, **kwargs):
|
def Center(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
@ -10336,7 +10351,7 @@ class Window(EvtHandler):
|
|||||||
AutoLayout = property(GetAutoLayout,SetAutoLayout,doc="See `GetAutoLayout` and `SetAutoLayout`")
|
AutoLayout = property(GetAutoLayout,SetAutoLayout,doc="See `GetAutoLayout` and `SetAutoLayout`")
|
||||||
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
|
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
|
||||||
BackgroundStyle = property(GetBackgroundStyle,SetBackgroundStyle,doc="See `GetBackgroundStyle` and `SetBackgroundStyle`")
|
BackgroundStyle = property(GetBackgroundStyle,SetBackgroundStyle,doc="See `GetBackgroundStyle` and `SetBackgroundStyle`")
|
||||||
BestFittingSize = property(GetBestFittingSize,SetBestFittingSize,doc="See `GetBestFittingSize` and `SetBestFittingSize`")
|
EffectiveMinSize = property(GetEffectiveMinSize,doc="See `GetEffectiveMinSize`")
|
||||||
BestSize = property(GetBestSize,doc="See `GetBestSize`")
|
BestSize = property(GetBestSize,doc="See `GetBestSize`")
|
||||||
BestVirtualSize = property(GetBestVirtualSize,doc="See `GetBestVirtualSize`")
|
BestVirtualSize = property(GetBestVirtualSize,doc="See `GetBestVirtualSize`")
|
||||||
Border = property(GetBorder,doc="See `GetBorder`")
|
Border = property(GetBorder,doc="See `GetBorder`")
|
||||||
|
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
@ -3288,10 +3288,6 @@ class PyWindow(_core.Window):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyWindow_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
|
||||||
@ -3468,10 +3464,6 @@ class PyPanel(Panel):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyPanel_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
|
||||||
@ -3648,10 +3640,6 @@ class PyScrolledWindow(ScrolledWindow):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyScrolledWindow_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1591,6 +1591,10 @@ class AuiTabContainer(object):
|
|||||||
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
|
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
|
||||||
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
|
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
|
||||||
|
|
||||||
|
def MovePage(*args, **kwargs):
|
||||||
|
"""MovePage(self, Window page, size_t new_idx) -> bool"""
|
||||||
|
return _aui.AuiTabContainer_MovePage(*args, **kwargs)
|
||||||
|
|
||||||
def RemovePage(*args, **kwargs):
|
def RemovePage(*args, **kwargs):
|
||||||
"""RemovePage(self, Window page) -> bool"""
|
"""RemovePage(self, Window page) -> bool"""
|
||||||
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
|
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
|
||||||
@ -1690,6 +1694,8 @@ class AuiTabCtrl(_core.Control,AuiTabContainer):
|
|||||||
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
|
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
|
||||||
self._setOORInfo(self)
|
self._setOORInfo(self)
|
||||||
|
|
||||||
|
__swig_destroy__ = _aui.delete_AuiTabCtrl
|
||||||
|
__del__ = lambda self : None;
|
||||||
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
|
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
|
||||||
|
|
||||||
class AuiMultiNotebook(_core.Control):
|
class AuiMultiNotebook(_core.Control):
|
||||||
|
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
@ -5739,10 +5739,6 @@ class PyControl(_core.Control):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _controls_.PyControl__setCallbackInfo(*args, **kwargs)
|
return _controls_.PyControl__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _controls_.PyControl_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _controls_.PyControl_DoEraseBackground(*args, **kwargs)
|
return _controls_.PyControl_DoEraseBackground(*args, **kwargs)
|
||||||
|
File diff suppressed because one or more lines are too long
@ -3668,6 +3668,19 @@ class TIFFHandler(ImageHandler):
|
|||||||
_core_.TIFFHandler_swiginit(self,_core_.new_TIFFHandler(*args, **kwargs))
|
_core_.TIFFHandler_swiginit(self,_core_.new_TIFFHandler(*args, **kwargs))
|
||||||
_core_.TIFFHandler_swigregister(TIFFHandler)
|
_core_.TIFFHandler_swigregister(TIFFHandler)
|
||||||
|
|
||||||
|
class TGAHandler(ImageHandler):
|
||||||
|
"""A `wx.ImageHandler` for TGA image files."""
|
||||||
|
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) -> TGAHandler
|
||||||
|
|
||||||
|
A `wx.ImageHandler` for TGA image files.
|
||||||
|
"""
|
||||||
|
_core_.TGAHandler_swiginit(self,_core_.new_TGAHandler(*args, **kwargs))
|
||||||
|
_core_.TGAHandler_swigregister(TGAHandler)
|
||||||
|
|
||||||
QUANTIZE_INCLUDE_WINDOWS_COLOURS = _core_.QUANTIZE_INCLUDE_WINDOWS_COLOURS
|
QUANTIZE_INCLUDE_WINDOWS_COLOURS = _core_.QUANTIZE_INCLUDE_WINDOWS_COLOURS
|
||||||
QUANTIZE_FILL_DESTINATION_IMAGE = _core_.QUANTIZE_FILL_DESTINATION_IMAGE
|
QUANTIZE_FILL_DESTINATION_IMAGE = _core_.QUANTIZE_FILL_DESTINATION_IMAGE
|
||||||
class Quantize(object):
|
class Quantize(object):
|
||||||
@ -8378,15 +8391,16 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_MoveXY(*args, **kwargs)
|
return _core_.Window_MoveXY(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestFittingSize(*args, **kwargs):
|
def SetInitialSize(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
SetBestFittingSize(self, Size size=DefaultSize)
|
SetInitialSize(self, Size size=DefaultSize)
|
||||||
|
|
||||||
A 'Smart' SetSize that will fill in default size components with the
|
A 'Smart' SetSize that will fill in default size components with the
|
||||||
window's *best size* values. Also set's the minsize for use with sizers.
|
window's *best size* values. Also set's the minsize for use with sizers.
|
||||||
"""
|
"""
|
||||||
return _core_.Window_SetBestFittingSize(*args, **kwargs)
|
return _core_.Window_SetInitialSize(*args, **kwargs)
|
||||||
|
|
||||||
|
SetBestFittingSize = wx._deprecated(SetInitialSize, 'Use `SetInitialSize`')
|
||||||
def Raise(*args, **kwargs):
|
def Raise(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Raise(self)
|
Raise(self)
|
||||||
@ -8594,22 +8608,23 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_CacheBestSize(*args, **kwargs)
|
return _core_.Window_CacheBestSize(*args, **kwargs)
|
||||||
|
|
||||||
def GetBestFittingSize(*args, **kwargs):
|
def GetEffectiveMinSize(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
GetBestFittingSize(self) -> Size
|
GetEffectiveMinSize(self) -> Size
|
||||||
|
|
||||||
This function will merge the window's best size into the window's
|
This function will merge the window's best size into the window's
|
||||||
minimum size, giving priority to the min size components, and returns
|
minimum size, giving priority to the min size components, and returns
|
||||||
the results.
|
the results.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return _core_.Window_GetBestFittingSize(*args, **kwargs)
|
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
||||||
|
|
||||||
|
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.')
|
||||||
def GetAdjustedBestSize(self):
|
def GetAdjustedBestSize(self):
|
||||||
s = self.GetBestSize()
|
s = self.GetBestSize()
|
||||||
return wx.Size(max(s.width, self.GetMinWidth()),
|
return wx.Size(max(s.width, self.GetMinWidth()),
|
||||||
max(s.height, self.GetMinHeight()))
|
max(s.height, self.GetMinHeight()))
|
||||||
GetAdjustedBestSize = wx._deprecated(GetAdjustedBestSize, 'Use `GetBestFittingSize` instead.')
|
GetAdjustedBestSize = wx._deprecated(GetAdjustedBestSize, 'Use `GetEffectiveMinSize` instead.')
|
||||||
|
|
||||||
def Center(*args, **kwargs):
|
def Center(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
@ -10336,7 +10351,7 @@ class Window(EvtHandler):
|
|||||||
AutoLayout = property(GetAutoLayout,SetAutoLayout,doc="See `GetAutoLayout` and `SetAutoLayout`")
|
AutoLayout = property(GetAutoLayout,SetAutoLayout,doc="See `GetAutoLayout` and `SetAutoLayout`")
|
||||||
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
|
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
|
||||||
BackgroundStyle = property(GetBackgroundStyle,SetBackgroundStyle,doc="See `GetBackgroundStyle` and `SetBackgroundStyle`")
|
BackgroundStyle = property(GetBackgroundStyle,SetBackgroundStyle,doc="See `GetBackgroundStyle` and `SetBackgroundStyle`")
|
||||||
BestFittingSize = property(GetBestFittingSize,SetBestFittingSize,doc="See `GetBestFittingSize` and `SetBestFittingSize`")
|
EffectiveMinSize = property(GetEffectiveMinSize,doc="See `GetEffectiveMinSize`")
|
||||||
BestSize = property(GetBestSize,doc="See `GetBestSize`")
|
BestSize = property(GetBestSize,doc="See `GetBestSize`")
|
||||||
BestVirtualSize = property(GetBestVirtualSize,doc="See `GetBestVirtualSize`")
|
BestVirtualSize = property(GetBestVirtualSize,doc="See `GetBestVirtualSize`")
|
||||||
Border = property(GetBorder,doc="See `GetBorder`")
|
Border = property(GetBorder,doc="See `GetBorder`")
|
||||||
|
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
@ -3268,10 +3268,6 @@ class PyWindow(_core.Window):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyWindow_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
|
||||||
@ -3448,10 +3444,6 @@ class PyPanel(Panel):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyPanel_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
|
||||||
@ -3628,10 +3620,6 @@ class PyScrolledWindow(ScrolledWindow):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyScrolledWindow_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1591,6 +1591,10 @@ class AuiTabContainer(object):
|
|||||||
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
|
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
|
||||||
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
|
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
|
||||||
|
|
||||||
|
def MovePage(*args, **kwargs):
|
||||||
|
"""MovePage(self, Window page, size_t new_idx) -> bool"""
|
||||||
|
return _aui.AuiTabContainer_MovePage(*args, **kwargs)
|
||||||
|
|
||||||
def RemovePage(*args, **kwargs):
|
def RemovePage(*args, **kwargs):
|
||||||
"""RemovePage(self, Window page) -> bool"""
|
"""RemovePage(self, Window page) -> bool"""
|
||||||
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
|
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
|
||||||
@ -1690,6 +1694,8 @@ class AuiTabCtrl(_core.Control,AuiTabContainer):
|
|||||||
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
|
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
|
||||||
self._setOORInfo(self)
|
self._setOORInfo(self)
|
||||||
|
|
||||||
|
__swig_destroy__ = _aui.delete_AuiTabCtrl
|
||||||
|
__del__ = lambda self : None;
|
||||||
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
|
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
|
||||||
|
|
||||||
class AuiMultiNotebook(_core.Control):
|
class AuiMultiNotebook(_core.Control):
|
||||||
|
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
@ -5765,10 +5765,6 @@ class PyControl(_core.Control):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _controls_.PyControl__setCallbackInfo(*args, **kwargs)
|
return _controls_.PyControl__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _controls_.PyControl_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _controls_.PyControl_DoEraseBackground(*args, **kwargs)
|
return _controls_.PyControl_DoEraseBackground(*args, **kwargs)
|
||||||
|
File diff suppressed because one or more lines are too long
@ -3668,6 +3668,19 @@ class TIFFHandler(ImageHandler):
|
|||||||
_core_.TIFFHandler_swiginit(self,_core_.new_TIFFHandler(*args, **kwargs))
|
_core_.TIFFHandler_swiginit(self,_core_.new_TIFFHandler(*args, **kwargs))
|
||||||
_core_.TIFFHandler_swigregister(TIFFHandler)
|
_core_.TIFFHandler_swigregister(TIFFHandler)
|
||||||
|
|
||||||
|
class TGAHandler(ImageHandler):
|
||||||
|
"""A `wx.ImageHandler` for TGA image files."""
|
||||||
|
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) -> TGAHandler
|
||||||
|
|
||||||
|
A `wx.ImageHandler` for TGA image files.
|
||||||
|
"""
|
||||||
|
_core_.TGAHandler_swiginit(self,_core_.new_TGAHandler(*args, **kwargs))
|
||||||
|
_core_.TGAHandler_swigregister(TGAHandler)
|
||||||
|
|
||||||
QUANTIZE_INCLUDE_WINDOWS_COLOURS = _core_.QUANTIZE_INCLUDE_WINDOWS_COLOURS
|
QUANTIZE_INCLUDE_WINDOWS_COLOURS = _core_.QUANTIZE_INCLUDE_WINDOWS_COLOURS
|
||||||
QUANTIZE_FILL_DESTINATION_IMAGE = _core_.QUANTIZE_FILL_DESTINATION_IMAGE
|
QUANTIZE_FILL_DESTINATION_IMAGE = _core_.QUANTIZE_FILL_DESTINATION_IMAGE
|
||||||
class Quantize(object):
|
class Quantize(object):
|
||||||
@ -8378,15 +8391,16 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_MoveXY(*args, **kwargs)
|
return _core_.Window_MoveXY(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestFittingSize(*args, **kwargs):
|
def SetInitialSize(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
SetBestFittingSize(self, Size size=DefaultSize)
|
SetInitialSize(self, Size size=DefaultSize)
|
||||||
|
|
||||||
A 'Smart' SetSize that will fill in default size components with the
|
A 'Smart' SetSize that will fill in default size components with the
|
||||||
window's *best size* values. Also set's the minsize for use with sizers.
|
window's *best size* values. Also set's the minsize for use with sizers.
|
||||||
"""
|
"""
|
||||||
return _core_.Window_SetBestFittingSize(*args, **kwargs)
|
return _core_.Window_SetInitialSize(*args, **kwargs)
|
||||||
|
|
||||||
|
SetBestFittingSize = wx._deprecated(SetInitialSize, 'Use `SetInitialSize`')
|
||||||
def Raise(*args, **kwargs):
|
def Raise(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Raise(self)
|
Raise(self)
|
||||||
@ -8594,22 +8608,23 @@ class Window(EvtHandler):
|
|||||||
"""
|
"""
|
||||||
return _core_.Window_CacheBestSize(*args, **kwargs)
|
return _core_.Window_CacheBestSize(*args, **kwargs)
|
||||||
|
|
||||||
def GetBestFittingSize(*args, **kwargs):
|
def GetEffectiveMinSize(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
GetBestFittingSize(self) -> Size
|
GetEffectiveMinSize(self) -> Size
|
||||||
|
|
||||||
This function will merge the window's best size into the window's
|
This function will merge the window's best size into the window's
|
||||||
minimum size, giving priority to the min size components, and returns
|
minimum size, giving priority to the min size components, and returns
|
||||||
the results.
|
the results.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return _core_.Window_GetBestFittingSize(*args, **kwargs)
|
return _core_.Window_GetEffectiveMinSize(*args, **kwargs)
|
||||||
|
|
||||||
|
GetBestFittingSize = wx._deprecated(GetEffectiveMinSize, , 'Use `GetEffectiveMinSize` instead.')
|
||||||
def GetAdjustedBestSize(self):
|
def GetAdjustedBestSize(self):
|
||||||
s = self.GetBestSize()
|
s = self.GetBestSize()
|
||||||
return wx.Size(max(s.width, self.GetMinWidth()),
|
return wx.Size(max(s.width, self.GetMinWidth()),
|
||||||
max(s.height, self.GetMinHeight()))
|
max(s.height, self.GetMinHeight()))
|
||||||
GetAdjustedBestSize = wx._deprecated(GetAdjustedBestSize, 'Use `GetBestFittingSize` instead.')
|
GetAdjustedBestSize = wx._deprecated(GetAdjustedBestSize, 'Use `GetEffectiveMinSize` instead.')
|
||||||
|
|
||||||
def Center(*args, **kwargs):
|
def Center(*args, **kwargs):
|
||||||
"""
|
"""
|
||||||
@ -10340,7 +10355,7 @@ class Window(EvtHandler):
|
|||||||
AutoLayout = property(GetAutoLayout,SetAutoLayout,doc="See `GetAutoLayout` and `SetAutoLayout`")
|
AutoLayout = property(GetAutoLayout,SetAutoLayout,doc="See `GetAutoLayout` and `SetAutoLayout`")
|
||||||
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
|
BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
|
||||||
BackgroundStyle = property(GetBackgroundStyle,SetBackgroundStyle,doc="See `GetBackgroundStyle` and `SetBackgroundStyle`")
|
BackgroundStyle = property(GetBackgroundStyle,SetBackgroundStyle,doc="See `GetBackgroundStyle` and `SetBackgroundStyle`")
|
||||||
BestFittingSize = property(GetBestFittingSize,SetBestFittingSize,doc="See `GetBestFittingSize` and `SetBestFittingSize`")
|
EffectiveMinSize = property(GetEffectiveMinSize,doc="See `GetEffectiveMinSize`")
|
||||||
BestSize = property(GetBestSize,doc="See `GetBestSize`")
|
BestSize = property(GetBestSize,doc="See `GetBestSize`")
|
||||||
BestVirtualSize = property(GetBestVirtualSize,doc="See `GetBestVirtualSize`")
|
BestVirtualSize = property(GetBestVirtualSize,doc="See `GetBestVirtualSize`")
|
||||||
Border = property(GetBorder,doc="See `GetBorder`")
|
Border = property(GetBorder,doc="See `GetBorder`")
|
||||||
|
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
@ -3304,10 +3304,6 @@ class PyWindow(_core.Window):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyWindow_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
|
||||||
@ -3484,10 +3480,6 @@ class PyPanel(Panel):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyPanel_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
|
||||||
@ -3664,10 +3656,6 @@ class PyScrolledWindow(ScrolledWindow):
|
|||||||
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
|
||||||
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
|
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
|
||||||
|
|
||||||
def SetBestSize(*args, **kwargs):
|
|
||||||
"""SetBestSize(self, Size size)"""
|
|
||||||
return _windows_.PyScrolledWindow_SetBestSize(*args, **kwargs)
|
|
||||||
|
|
||||||
def DoEraseBackground(*args, **kwargs):
|
def DoEraseBackground(*args, **kwargs):
|
||||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||||
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
|
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1591,6 +1591,10 @@ class AuiTabContainer(object):
|
|||||||
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
|
"""InsertPage(self, Window page, AuiNotebookPage info, size_t idx) -> bool"""
|
||||||
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
|
return _aui.AuiTabContainer_InsertPage(*args, **kwargs)
|
||||||
|
|
||||||
|
def MovePage(*args, **kwargs):
|
||||||
|
"""MovePage(self, Window page, size_t new_idx) -> bool"""
|
||||||
|
return _aui.AuiTabContainer_MovePage(*args, **kwargs)
|
||||||
|
|
||||||
def RemovePage(*args, **kwargs):
|
def RemovePage(*args, **kwargs):
|
||||||
"""RemovePage(self, Window page) -> bool"""
|
"""RemovePage(self, Window page) -> bool"""
|
||||||
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
|
return _aui.AuiTabContainer_RemovePage(*args, **kwargs)
|
||||||
@ -1690,6 +1694,8 @@ class AuiTabCtrl(_core.Control,AuiTabContainer):
|
|||||||
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
|
_aui.AuiTabCtrl_swiginit(self,_aui.new_AuiTabCtrl(*args, **kwargs))
|
||||||
self._setOORInfo(self)
|
self._setOORInfo(self)
|
||||||
|
|
||||||
|
__swig_destroy__ = _aui.delete_AuiTabCtrl
|
||||||
|
__del__ = lambda self : None;
|
||||||
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
|
_aui.AuiTabCtrl_swigregister(AuiTabCtrl)
|
||||||
|
|
||||||
class AuiMultiNotebook(_core.Control):
|
class AuiMultiNotebook(_core.Control):
|
||||||
|
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
Loading…
Reference in New Issue
Block a user