PushButton#
- class ansys.scade.guitools.control.PushButton(owner: Any, name: str, x: int, y: int, w: int = c.BUTTON_WIDTH, h: int = c.BUTTON_HEIGHT, **kwargs)#
Bases:
scade.tool.suite.gui.widgets.ButtonDefines a button control with a default size.
Parameters#
- ownerAny
Owner of the button.
- namestr
Name of the button.
- xint
Horizontal position of the push button.
- yint
Vertical position of the push button.
- wint
Width of the push button, default csts.BUTTON_WIDTH.
- hint
Height of the push button, default csts.BUTTON_HEIGHT.
- kwargsAny
Other parameters of
scade.tool.suite.gui.widgets.Button.
Initialize the push button with the given parameters.
Import detail#
from ansys.scade.guitools.control import PushButton