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

activate_tab_order()[source]

Activates tab order.

Return type:

None

auto_tab_order()[source]

Enables automatic tab order.

Return type:

None

get_container()[source]

Gets the control container.

Returns:

The control container.

Return type:

ControlContainerComp

get_controls()[source]

Gets all controls of the control container.

Returns:

The controls.

Return type:

Tuple[XControl, …]

get_model()[source]

Gets the tab controller model.

Returns:

The model.

Return type:

TabControllerModelComp

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