ooodev.adapter.form.bound_control_partial module

class ooodev.adapter.form.bound_control_partial.BoundControlPartial(component, interface=com.sun.star.form.XBoundControl)[source]

Bases: object

Partial Class for XBoundControl.

Parameters:
  • component (XBoundControl) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.form.XBoundControl)[source]

Constructor

Parameters:
  • component (XBoundControl) – UNO Component that implements com.sun.star.container.XBoundControl.

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

Return type:

None

get_lock()[source]

Gets whether the input is currently locked or not.

Return type:

bool

set_lock(lock)[source]

is used for altering the current lock state of the component.

Return type:

None

Parameters:

lock (bool) –