ooodev.adapter.frame.the_ui_command_description_comp module
- class ooodev.adapter.frame.the_ui_command_description_comp.TheUICommandDescriptionComp(component)[source]
Bases:
ComponentProp
,NameAccessPartial
[ModuleUICommandDescriptionComp
]Class for managing theUICommandDescription Component.
- __init__(component)[source]
Constructor
- Parameters:
component (theUICommandDescription) – UNO Component that implements
com.sun.star.frame.theUICommandDescription
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:
- get_by_name(name)[source]
Gets the element with the specified name.
- Parameters:
name (str) – The name of the element.
- Returns:
The element with the specified name.
- Return type:
Any
- property component: com.sun.star.frame.theUICommandDescription
theUICommandDescription Component
- Return type:
theUICommandDescription