ooodev.adapter.awt.progress_bar_partial module
- class ooodev.adapter.awt.progress_bar_partial.ProgressBarPartial(component, interface=com.sun.star.awt.XProgressBar)[source]
Bases:
object
Partial class for XProgressBar.
- Parameters:
component (XProgressBar) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.awt.XProgressBar)[source]
Constructor
- Parameters:
component (XProgressBar) – UNO Component that implements
com.sun.star.awt.XProgressBar
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XProgressBar
.
- Return type:
None
- set_background_color(color)[source]
Sets the background color of the control.
- Parameters:
~ooodev.utils.color.Color – Color
color (Color) –
- Return type:
None
- set_foreground_color(color)[source]
Sets the foreground color of the control.
- Parameters:
~ooodev.utils.color.Color – Color
color (Color) –
- Return type:
None