ooodev.adapter.awt.uno_control_dialog_partial module

class ooodev.adapter.awt.uno_control_dialog_partial.UnoControlDialogPartial(component, interface=com.sun.star.awt.XUnoControlDialog)[source]

Bases: ControlContainerPartial, Dialog2Partial, WindowPartial, ControlPartial, TopWindowPartial

Partial Class for XUnoControlDialog.

Parameters:
  • component (XUnoControlDialog) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

end_dialog(result)[source]

Hides the dialog and then causes XDialog.execute() to return with the given result value.

Return type:

None

Parameters:

result (int) –

set_help_id(help_id)[source]

Sets the help id so that the standard help button action will show the appropriate help page.

Return type:

None

Parameters:

help_id (str) –