StaticEdit#

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

Bases: Edit

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

kwargsAny

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

Initialize the static edit control with the given parameters.

Overview#

set_visible

Show or hide the control.

Import detail#

from ansys.scade.guitools.control import StaticEdit

Attribute detail#

StaticEdit.label#
StaticEdit.owner#

Method detail#

StaticEdit.set_visible(show: bool)#

Show or hide the control.