StaticRadioBox#

class ansys.scade.guitools.control.StaticRadioBox(owner, text: str, wl: int, buttons: List[Tuple[str, str]], x: int, y: int, w: int)#

Bases: RadioBox

Defines a bundle made of a static and a group of radio button controls.

The group is not visible and is used to set relative constraints.

Parameters#

ownerAny

Owner of the control.

textstr

Text of the static control.

wlint

Width of the static control.

buttonslist[tuple[str, str]]

Descriptions of the buttons: value and text associated to the buttons.

xint

Horizontal position of the control.

yint

Vertical position of the control.

wint

Width of the control.

kwargsAny

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

Initialize the static radio box with the given parameters.

Overview#

set_visible

Show or hide the control.

Import detail#

from ansys.scade.guitools.control import StaticRadioBox

Attribute detail#

StaticRadioBox.label#

Method detail#

StaticRadioBox.set_visible(show: bool)#

Show or hide the control.