StaticObjectComboBox#

class ansys.scade.guitools.control.StaticObjectComboBox(owner, text: str, wl: int, x: int, y: int, w: int, h: int = c.COMBO_BOX_HEIGHT, style: List[str] | None = None, **kwargs)#

Bases: ObjectComboBox

Defines a bundle made of a static and an object combo box control.

Parameters#

ownerAny

Owner of the control.

textstr

Text of the static control.

wlint

Width of the static control.

xint

Horizontal position of the control.

yint

Vertical position of the control.

wint

Width of the control.

hint

Height of the control, default csts.COMBO_BOX_HEIGHT.

kwargsAny

Other parameters of scade.tool.suite.gui.widgets.ObjectComboBox.

Initialize the static object combo box with the given parameters.

Overview#

set_visible

Show or hide the control.

Import detail#

from ansys.scade.guitools.control import StaticObjectComboBox

Attribute detail#

StaticObjectComboBox.label#
StaticObjectComboBox.owner#

Method detail#

StaticObjectComboBox.set_visible(show: bool)#

Show or hide the control.