ooodev.adapter.awt.size_struct_comp module
- class ooodev.adapter.awt.size_struct_comp.SizeStructComp(component, prop_name, event_provider=None)[source]
Bases:
StructBase
[Size
]Size Struct.
This class raises an event before and after a property is changed if it has been passed an event provider.
The event raised before the property is changed is called
com_sun_star_awt_Size_changing
. The event raised after the property is changed is calledcom_sun_star_awt_Size_changed
.The event args for before the property is changed is of type
KeyValCancelArgs
. The event args for after the property is changed is of typeKeyValArgs
.- property height: int
Gets/Sets the the Height.
- Return type:
int
- property width: int
Gets/Sets the Width.
- Return type:
int