GroupRadioBox#

class ansys.scade.guitools.control.GroupRadioBox(owner, text: str, buttons: List[Tuple[str, str]], x: int, y: int, w: int, h: int = c.GROUP_RADIO_BOX_HEIGHT)#

Bases: RadioBox

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

Parameters#

ownerAny

Owner of the control.

textstr

Text of the group 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.

hint

Height of the control, default csts.RADIO_BOX_HEIGHT.

kwargsAny

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

Initialize the group radio box with the given parameters.

Import detail#

from ansys.scade.guitools.control import GroupRadioBox