ooodev.adapter.awt.uno_control_container_partial module

class ooodev.adapter.awt.uno_control_container_partial.UnoControlContainerPartial(component, interface=com.sun.star.awt.XUnoControlContainer)[source]

Bases: object

Partial class for XUnoControlContainer.

Parameters:
  • component (XUnoControlContainer) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.awt.XUnoControlContainer)[source]

Constructor

Parameters:
  • component (XUnoControlContainer) – UNO Component that implements com.sun.star.awt.XUnoControlContainer interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XUnoControlContainer.

Return type:

None

add_tab_controller(tab_controller)[source]

Adds a single tab controller.

Parameters:

tab_controller (XTabController | TabControllerComp) – Tab controller to be added.

Return type:

None

get_tab_controllers()[source]

Gets all currently specified tab controllers.

Returns:

Tab controllers

Return type:

Tuple[TabControllerComp, …]

remove_tab_controller(tab_controller)[source]

removes a single tab controller.

Return type:

None

Parameters:

tab_controller (XTabController | TabControllerComp) –

set_tab_controllers(*tab_controllers)[source]

Sets a set of tab controllers.

Parameters:

tab_controllers (XTabController | TabControllerComp) – One or more Tab controllers to be set.

Return type:

None