StaticComboBox#

class ansys.scade.guitools.control.StaticComboBox(owner, text: str, wl: int, x: int, y: int, w: int, h: int = c.COMBO_BOX_HEIGHT, **kwargs)#

Bases: ComboBox

Defines a bundle made of a static and a 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.ComboBox.

Initialize the static combo box with the given parameters.

Overview#

set_visible

Show or hide the control.

Import detail#

from ansys.scade.guitools.control import StaticComboBox

Attribute detail#

StaticComboBox.label#
StaticComboBox.owner#

Method detail#

StaticComboBox.set_visible(show: bool)#

Show or hide the control.