ooodev.adapter.awt.control_container_partial module
- class ooodev.adapter.awt.control_container_partial.ControlContainerPartial(component, interface=com.sun.star.awt.XControlContainer)[source]
Bases:
object
Partial class for XControlContainer.
- Parameters:
component (XControlContainer) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.awt.XControlContainer)[source]
Constructor
- Parameters:
component (XControlContainer) – UNO Component that implements
com.sun.star.awt.XControlContainer
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XControlContainer
.
- Return type:
None
- add_control(name, control)[source]
Adds the given control with the specified name to the container.
- Return type:
None
- Parameters:
name (str) –
control (com.sun.star.awt.XControl) –
- get_control(name)[source]
returns the control with the specified name.
- Return type:
XControl
- Parameters:
name (str) –