+ def InitDialog(*args, **kwargs):
+ """
+ InitDialog(self)
+
+ Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
+ to the dialog via validators.
+ """
+ return _windows_.PyWindow_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 _windows_.PyWindow_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 _windows_.PyWindow_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 _windows_.PyWindow_Validate(*args, **kwargs)
+
+ def AcceptsFocus(*args, **kwargs):
+ """
+ AcceptsFocus(self) -> bool
+
+ Can this window have focus?
+ """
+ return _windows_.PyWindow_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 _windows_.PyWindow_AcceptsFocusFromKeyboard(*args, **kwargs)
+
+ def GetMaxSize(*args, **kwargs):
+ """GetMaxSize(self) -> Size"""
+ return _windows_.PyWindow_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 _windows_.PyWindow_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 _windows_.PyWindow_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 _windows_.PyWindow_ShouldInheritColours(*args, **kwargs)
+
+ def GetDefaultAttributes(*args, **kwargs):
+ """GetDefaultAttributes(self) -> VisualAttributes"""
+ return _windows_.PyWindow_GetDefaultAttributes(*args, **kwargs)
+
+ def OnInternalIdle(*args, **kwargs):
+ """OnInternalIdle(self)"""
+ return _windows_.PyWindow_OnInternalIdle(*args, **kwargs)
+
+ def base_DoMoveWindow(*args, **kw):
+ return PyWindow.DoMoveWindow(*args, **kw)
+ base_DoMoveWindow = wx._deprecated(base_DoMoveWindow,
+ "Please use PyWindow.DoMoveWindow instead.")