IGuiHostClient#
- class ansys.scade.guitools.interfaces.IGuiHostClient#
Bases:
abc.ABCDefines the interface for hosted pages.
Overview#
Return whether the page is available for the current selection. |
|
Build the controls. |
|
Perform any cleaning before the page is closed. |
|
Update the page with the properties read from the models. |
|
Declare the contained control’s constraints. |
|
Update the models with the properties read from the page. |
|
Declare the models the page should consider. |
|
Show or hide the page. |
Import detail#
from ansys.scade.guitools.interfaces import IGuiHostClient
Method detail#
- abstract IGuiHostClient.is_available(models: List[Any]) bool#
Return whether the page is available for the current selection.
Parameters#
- modelsList[Any]
List of selected objects in the IDE.
- abstract IGuiHostClient.on_build(page: scade.tool.suite.gui.properties.Page, y: int) int#
Build the controls.
Parameters#
- pagePropertyPage
Owning property page, to create controls.
- yint
Start vertical position.
- abstract IGuiHostClient.on_close()#
Perform any cleaning before the page is closed.
- abstract IGuiHostClient.on_display()#
Update the page with the properties read from the models.
- abstract IGuiHostClient.on_layout()#
Declare the contained control’s constraints.
- abstract IGuiHostClient.on_validate()#
Update the models with the properties read from the page.