ooodev.adapter.awt.dialog2_partial module

class ooodev.adapter.awt.dialog2_partial.Dialog2Partial(component, interface=com.sun.star.awt.XDialog2)[source]

Bases: DialogPartial

Partial Class for XDialog2.

Parameters:
  • component (XDialog2) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

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) –