Edit#
- class ansys.scade.guitools.control.Edit(owner, x: int, y: int, w: int, h: int = c.EDIT_HEIGHT, **kwargs)#
Bases:
scade.tool.suite.gui.widgets.EditBoxDefines a edit box control with a default height.
Parameters#
- ownerAny
Owner of the edit control.
- xint
Horizontal position of the edit control.
- yint
Vertical position of the edit control.
- wint
Width of the edit control.
- hint
Height of the edit control, default csts.EDIT_HEIGHT.
- kwargsAny
Other parameters of
scade.tool.suite.gui.widgets.EditBox.
Initialize the edit control with the given parameters.
Overview#
Import detail#
from ansys.scade.guitools.control import Edit
Attribute detail#
- Edit.owner#
Method detail#
- Edit.on_layout()#
Declare the constraints with respect to the owner.