ooodev.adapter.awt.tab_controller_partial module
- class ooodev.adapter.awt.tab_controller_partial.TabControllerPartial(component, interface=com.sun.star.awt.XTabController)[source]
Bases:
object
Partial class for XTabController.
- Parameters:
component (XTabController) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.awt.XTabController)[source]
Constructor
- Parameters:
component (XTabController) – UNO Component that implements
com.sun.star.awt.XTabController
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XTabController
.
- Return type:
None
- activate_first()[source]
Sets the focus to the first control that can be reached with the TAB key.
- Return type:
None
- activate_last()[source]
Sets the focus to the last control that can be reached with the TAB key.
- Return type:
None
- get_controls()[source]
Gets all controls of the control container.
- Returns:
The controls.
- Return type:
Tuple[XControl, …]
- set_container(container)[source]
Set the control container.
- Parameters:
container (XControlContainer | ControlContainerComp) – The control container.
- Return type:
None
- set_model(model)[source]
Sets the tab controller model.
- Parameters:
model (XTabControllerModel | TabControllerModelComp) – The model.
- Return type:
None