ooodev.adapter.frame.the_desktop_comp module

class ooodev.adapter.frame.the_desktop_comp.TheDesktopComp(component)[source]

Bases: ComponentBase, Desktop2Partial, DispatchProviderInterceptionPartial, TerminateEvents, FrameActionEvents

Class for managing theDesktop Component.

Parameters:

component (theDesktop) –

__init__(component)[source]

Constructor

Parameters:

component (theDesktop) – UNO Component that implements com.sun.star.frame.theDesktop service.

Return type:

None

classmethod from_lo(lo_inst=None)[source]

Get the singleton instance from the Lo.

Parameters:

lo_inst (LoInst, optional) – LoInst, Defaults to Lo.current_lo.

Returns:

The instance.

Return type:

TheDesktopComp

property component: com.sun.star.frame.theDesktop

theDesktop Component

Return type:

theDesktop