reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3037,13 +3037,13 @@ class BookCtrlBase(_core.Control):
|
||||
"""IsVertical(self) -> bool"""
|
||||
return _controls_.BookCtrlBase_IsVertical(*args, **kwargs)
|
||||
|
||||
def SetShrinkMode(*args, **kwargs):
|
||||
"""SetShrinkMode(self, bool shrink)"""
|
||||
return _controls_.BookCtrlBase_SetShrinkMode(*args, **kwargs)
|
||||
def SetFitToCurrentPage(*args, **kwargs):
|
||||
"""SetFitToCurrentPage(self, bool fit)"""
|
||||
return _controls_.BookCtrlBase_SetFitToCurrentPage(*args, **kwargs)
|
||||
|
||||
def GetShrinkMode(*args, **kwargs):
|
||||
"""GetShrinkMode(self) -> bool"""
|
||||
return _controls_.BookCtrlBase_GetShrinkMode(*args, **kwargs)
|
||||
def GetFitToCurrentPage(*args, **kwargs):
|
||||
"""GetFitToCurrentPage(self) -> bool"""
|
||||
return _controls_.BookCtrlBase_GetFitToCurrentPage(*args, **kwargs)
|
||||
|
||||
def DeletePage(*args, **kwargs):
|
||||
"""DeletePage(self, size_t n) -> bool"""
|
||||
@@ -6026,89 +6026,250 @@ class PyControl(_core.Control):
|
||||
"""DoEraseBackground(self, DC dc) -> bool"""
|
||||
return _controls_.PyControl_DoEraseBackground(*args, **kwargs)
|
||||
|
||||
def base_DoMoveWindow(*args, **kwargs):
|
||||
"""base_DoMoveWindow(self, int x, int y, int width, int height)"""
|
||||
return _controls_.PyControl_base_DoMoveWindow(*args, **kwargs)
|
||||
def DoMoveWindow(*args, **kwargs):
|
||||
"""DoMoveWindow(self, int x, int y, int width, int height)"""
|
||||
return _controls_.PyControl_DoMoveWindow(*args, **kwargs)
|
||||
|
||||
def base_DoSetSize(*args, **kwargs):
|
||||
"""base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
|
||||
return _controls_.PyControl_base_DoSetSize(*args, **kwargs)
|
||||
def DoSetSize(*args, **kwargs):
|
||||
"""DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
|
||||
return _controls_.PyControl_DoSetSize(*args, **kwargs)
|
||||
|
||||
def base_DoSetClientSize(*args, **kwargs):
|
||||
"""base_DoSetClientSize(self, int width, int height)"""
|
||||
return _controls_.PyControl_base_DoSetClientSize(*args, **kwargs)
|
||||
def DoSetClientSize(*args, **kwargs):
|
||||
"""DoSetClientSize(self, int width, int height)"""
|
||||
return _controls_.PyControl_DoSetClientSize(*args, **kwargs)
|
||||
|
||||
def base_DoSetVirtualSize(*args, **kwargs):
|
||||
"""base_DoSetVirtualSize(self, int x, int y)"""
|
||||
return _controls_.PyControl_base_DoSetVirtualSize(*args, **kwargs)
|
||||
def DoSetVirtualSize(*args, **kwargs):
|
||||
"""DoSetVirtualSize(self, int x, int y)"""
|
||||
return _controls_.PyControl_DoSetVirtualSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetSize(*args, **kwargs):
|
||||
"""base_DoGetSize() -> (width, height)"""
|
||||
return _controls_.PyControl_base_DoGetSize(*args, **kwargs)
|
||||
def DoGetSize(*args, **kwargs):
|
||||
"""DoGetSize() -> (width, height)"""
|
||||
return _controls_.PyControl_DoGetSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetClientSize(*args, **kwargs):
|
||||
"""base_DoGetClientSize() -> (width, height)"""
|
||||
return _controls_.PyControl_base_DoGetClientSize(*args, **kwargs)
|
||||
def DoGetClientSize(*args, **kwargs):
|
||||
"""DoGetClientSize() -> (width, height)"""
|
||||
return _controls_.PyControl_DoGetClientSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetPosition(*args, **kwargs):
|
||||
"""base_DoGetPosition() -> (x,y)"""
|
||||
return _controls_.PyControl_base_DoGetPosition(*args, **kwargs)
|
||||
def DoGetPosition(*args, **kwargs):
|
||||
"""DoGetPosition() -> (x,y)"""
|
||||
return _controls_.PyControl_DoGetPosition(*args, **kwargs)
|
||||
|
||||
def base_DoGetVirtualSize(*args, **kwargs):
|
||||
"""base_DoGetVirtualSize(self) -> Size"""
|
||||
return _controls_.PyControl_base_DoGetVirtualSize(*args, **kwargs)
|
||||
def DoGetVirtualSize(*args, **kwargs):
|
||||
"""DoGetVirtualSize(self) -> Size"""
|
||||
return _controls_.PyControl_DoGetVirtualSize(*args, **kwargs)
|
||||
|
||||
def base_DoGetBestSize(*args, **kwargs):
|
||||
"""base_DoGetBestSize(self) -> Size"""
|
||||
return _controls_.PyControl_base_DoGetBestSize(*args, **kwargs)
|
||||
def DoGetBestSize(*args, **kwargs):
|
||||
"""DoGetBestSize(self) -> Size"""
|
||||
return _controls_.PyControl_DoGetBestSize(*args, **kwargs)
|
||||
|
||||
def base_InitDialog(*args, **kwargs):
|
||||
"""base_InitDialog(self)"""
|
||||
return _controls_.PyControl_base_InitDialog(*args, **kwargs)
|
||||
def InitDialog(*args, **kwargs):
|
||||
"""
|
||||
InitDialog(self)
|
||||
|
||||
def base_TransferDataToWindow(*args, **kwargs):
|
||||
"""base_TransferDataToWindow(self) -> bool"""
|
||||
return _controls_.PyControl_base_TransferDataToWindow(*args, **kwargs)
|
||||
Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
|
||||
to the dialog via validators.
|
||||
"""
|
||||
return _controls_.PyControl_InitDialog(*args, **kwargs)
|
||||
|
||||
def base_TransferDataFromWindow(*args, **kwargs):
|
||||
"""base_TransferDataFromWindow(self) -> bool"""
|
||||
return _controls_.PyControl_base_TransferDataFromWindow(*args, **kwargs)
|
||||
def TransferDataToWindow(*args, **kwargs):
|
||||
"""
|
||||
TransferDataToWindow(self) -> bool
|
||||
|
||||
def base_Validate(*args, **kwargs):
|
||||
"""base_Validate(self) -> bool"""
|
||||
return _controls_.PyControl_base_Validate(*args, **kwargs)
|
||||
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 _controls_.PyControl_TransferDataToWindow(*args, **kwargs)
|
||||
|
||||
def base_AcceptsFocus(*args, **kwargs):
|
||||
"""base_AcceptsFocus(self) -> bool"""
|
||||
return _controls_.PyControl_base_AcceptsFocus(*args, **kwargs)
|
||||
def TransferDataFromWindow(*args, **kwargs):
|
||||
"""
|
||||
TransferDataFromWindow(self) -> bool
|
||||
|
||||
def base_AcceptsFocusFromKeyboard(*args, **kwargs):
|
||||
"""base_AcceptsFocusFromKeyboard(self) -> bool"""
|
||||
return _controls_.PyControl_base_AcceptsFocusFromKeyboard(*args, **kwargs)
|
||||
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 _controls_.PyControl_TransferDataFromWindow(*args, **kwargs)
|
||||
|
||||
def base_GetMaxSize(*args, **kwargs):
|
||||
"""base_GetMaxSize(self) -> Size"""
|
||||
return _controls_.PyControl_base_GetMaxSize(*args, **kwargs)
|
||||
def Validate(*args, **kwargs):
|
||||
"""
|
||||
Validate(self) -> bool
|
||||
|
||||
def base_AddChild(*args, **kwargs):
|
||||
"""base_AddChild(self, Window child)"""
|
||||
return _controls_.PyControl_base_AddChild(*args, **kwargs)
|
||||
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 _controls_.PyControl_Validate(*args, **kwargs)
|
||||
|
||||
def base_RemoveChild(*args, **kwargs):
|
||||
"""base_RemoveChild(self, Window child)"""
|
||||
return _controls_.PyControl_base_RemoveChild(*args, **kwargs)
|
||||
def AcceptsFocus(*args, **kwargs):
|
||||
"""
|
||||
AcceptsFocus(self) -> bool
|
||||
|
||||
def base_ShouldInheritColours(*args, **kwargs):
|
||||
"""base_ShouldInheritColours(self) -> bool"""
|
||||
return _controls_.PyControl_base_ShouldInheritColours(*args, **kwargs)
|
||||
Can this window have focus?
|
||||
"""
|
||||
return _controls_.PyControl_AcceptsFocus(*args, **kwargs)
|
||||
|
||||
def base_GetDefaultAttributes(*args, **kwargs):
|
||||
"""base_GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _controls_.PyControl_base_GetDefaultAttributes(*args, **kwargs)
|
||||
def AcceptsFocusFromKeyboard(*args, **kwargs):
|
||||
"""
|
||||
AcceptsFocusFromKeyboard(self) -> bool
|
||||
|
||||
def base_OnInternalIdle(*args, **kwargs):
|
||||
"""base_OnInternalIdle(self)"""
|
||||
return _controls_.PyControl_base_OnInternalIdle(*args, **kwargs)
|
||||
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 _controls_.PyControl_AcceptsFocusFromKeyboard(*args, **kwargs)
|
||||
|
||||
def GetMaxSize(*args, **kwargs):
|
||||
"""GetMaxSize(self) -> Size"""
|
||||
return _controls_.PyControl_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 _controls_.PyControl_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 _controls_.PyControl_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 _controls_.PyControl_ShouldInheritColours(*args, **kwargs)
|
||||
|
||||
def GetDefaultAttributes(*args, **kwargs):
|
||||
"""GetDefaultAttributes(self) -> VisualAttributes"""
|
||||
return _controls_.PyControl_GetDefaultAttributes(*args, **kwargs)
|
||||
|
||||
def OnInternalIdle(*args, **kwargs):
|
||||
"""OnInternalIdle(self)"""
|
||||
return _controls_.PyControl_OnInternalIdle(*args, **kwargs)
|
||||
|
||||
def base_DoMoveWindow(*args, **kw):
|
||||
return PyScrolledWindow.DoMoveWindow(*args, **kw)
|
||||
base_DoMoveWindow = wx._deprecated(base_DoMoveWindow,
|
||||
"Please use PyScrolledWindow.DoMoveWindow instead.")
|
||||
|
||||
def base_DoSetSize(*args, **kw):
|
||||
return PyScrolledWindow.DoSetSize(*args, **kw)
|
||||
base_DoSetSize = wx._deprecated(base_DoSetSize,
|
||||
"Please use PyScrolledWindow.DoSetSize instead.")
|
||||
|
||||
def base_DoSetClientSize(*args, **kw):
|
||||
return PyScrolledWindow.DoSetClientSize(*args, **kw)
|
||||
base_DoSetClientSize = wx._deprecated(base_DoSetClientSize,
|
||||
"Please use PyScrolledWindow.DoSetClientSize instead.")
|
||||
|
||||
def base_DoSetVirtualSize(*args, **kw):
|
||||
return PyScrolledWindow.DoSetVirtualSize(*args, **kw)
|
||||
base_DoSetVirtualSize = wx._deprecated(base_DoSetVirtualSize,
|
||||
"Please use PyScrolledWindow.DoSetVirtualSize instead.")
|
||||
|
||||
def base_DoGetSize(*args, **kw):
|
||||
return PyScrolledWindow.DoGetSize(*args, **kw)
|
||||
base_DoGetSize = wx._deprecated(base_DoGetSize,
|
||||
"Please use PyScrolledWindow.DoGetSize instead.")
|
||||
|
||||
def base_DoGetClientSize(*args, **kw):
|
||||
return PyScrolledWindow.DoGetClientSize(*args, **kw)
|
||||
base_DoGetClientSize = wx._deprecated(base_DoGetClientSize,
|
||||
"Please use PyScrolledWindow.DoGetClientSize instead.")
|
||||
|
||||
def base_DoGetPosition(*args, **kw):
|
||||
return PyScrolledWindow.DoGetPosition(*args, **kw)
|
||||
base_DoGetPosition = wx._deprecated(base_DoGetPosition,
|
||||
"Please use PyScrolledWindow.DoGetPosition instead.")
|
||||
|
||||
def base_DoGetVirtualSize(*args, **kw):
|
||||
return PyScrolledWindow.DoGetVirtualSize(*args, **kw)
|
||||
base_DoGetVirtualSize = wx._deprecated(base_DoGetVirtualSize,
|
||||
"Please use PyScrolledWindow.DoGetVirtualSize instead.")
|
||||
|
||||
def base_DoGetBestSize(*args, **kw):
|
||||
return PyScrolledWindow.DoGetBestSize(*args, **kw)
|
||||
base_DoGetBestSize = wx._deprecated(base_DoGetBestSize,
|
||||
"Please use PyScrolledWindow.DoGetBestSize instead.")
|
||||
|
||||
def base_InitDialog(*args, **kw):
|
||||
return PyScrolledWindow.InitDialog(*args, **kw)
|
||||
base_InitDialog = wx._deprecated(base_InitDialog,
|
||||
"Please use PyScrolledWindow.InitDialog instead.")
|
||||
|
||||
def base_TransferDataToWindow(*args, **kw):
|
||||
return PyScrolledWindow.TransferDataToWindow(*args, **kw)
|
||||
base_TransferDataToWindow = wx._deprecated(base_TransferDataToWindow,
|
||||
"Please use PyScrolledWindow.TransferDataToWindow instead.")
|
||||
|
||||
def base_TransferDataFromWindow(*args, **kw):
|
||||
return PyScrolledWindow.TransferDataFromWindow(*args, **kw)
|
||||
base_TransferDataFromWindow = wx._deprecated(base_TransferDataFromWindow,
|
||||
"Please use PyScrolledWindow.TransferDataFromWindow instead.")
|
||||
|
||||
def base_Validate(*args, **kw):
|
||||
return PyScrolledWindow.Validate(*args, **kw)
|
||||
base_Validate = wx._deprecated(base_Validate,
|
||||
"Please use PyScrolledWindow.Validate instead.")
|
||||
|
||||
def base_AcceptsFocus(*args, **kw):
|
||||
return PyScrolledWindow.AcceptsFocus(*args, **kw)
|
||||
base_AcceptsFocus = wx._deprecated(base_AcceptsFocus,
|
||||
"Please use PyScrolledWindow.AcceptsFocus instead.")
|
||||
|
||||
def base_AcceptsFocusFromKeyboard(*args, **kw):
|
||||
return PyScrolledWindow.AcceptsFocusFromKeyboard(*args, **kw)
|
||||
base_AcceptsFocusFromKeyboard = wx._deprecated(base_AcceptsFocusFromKeyboard,
|
||||
"Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.")
|
||||
|
||||
def base_GetMaxSize(*args, **kw):
|
||||
return PyScrolledWindow.GetMaxSize(*args, **kw)
|
||||
base_GetMaxSize = wx._deprecated(base_GetMaxSize,
|
||||
"Please use PyScrolledWindow.GetMaxSize instead.")
|
||||
|
||||
def base_AddChild(*args, **kw):
|
||||
return PyScrolledWindow.AddChild(*args, **kw)
|
||||
base_AddChild = wx._deprecated(base_AddChild,
|
||||
"Please use PyScrolledWindow.AddChild instead.")
|
||||
|
||||
def base_RemoveChild(*args, **kw):
|
||||
return PyScrolledWindow.RemoveChild(*args, **kw)
|
||||
base_RemoveChild = wx._deprecated(base_RemoveChild,
|
||||
"Please use PyScrolledWindow.RemoveChild instead.")
|
||||
|
||||
def base_ShouldInheritColours(*args, **kw):
|
||||
return PyScrolledWindow.ShouldInheritColours(*args, **kw)
|
||||
base_ShouldInheritColours = wx._deprecated(base_ShouldInheritColours,
|
||||
"Please use PyScrolledWindow.ShouldInheritColours instead.")
|
||||
|
||||
def base_GetDefaultAttributes(*args, **kw):
|
||||
return PyScrolledWindow.GetDefaultAttributes(*args, **kw)
|
||||
base_GetDefaultAttributes = wx._deprecated(base_GetDefaultAttributes,
|
||||
"Please use PyScrolledWindow.GetDefaultAttributes instead.")
|
||||
|
||||
def base_OnInternalIdle(*args, **kw):
|
||||
return PyScrolledWindow.OnInternalIdle(*args, **kw)
|
||||
base_OnInternalIdle = wx._deprecated(base_OnInternalIdle,
|
||||
"Please use PyScrolledWindow.OnInternalIdle instead.")
|
||||
|
||||
|
||||
class PyControlPtr(PyControl):
|
||||
|
Reference in New Issue
Block a user