- def InitDialog(*args, **kwargs):
- """
- InitDialog(self)
-
- Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
- to the dialog via validators.
- """
- return _controls_.PyControl_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 _controls_.PyControl_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 _controls_.PyControl_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 _controls_.PyControl_Validate(*args, **kwargs)
-
- def AcceptsFocus(*args, **kwargs):
- """
- AcceptsFocus(self) -> bool
-
- Can this window have focus?
- """
- return _controls_.PyControl_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 _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)
-