This way of creating a window by bringing a Phab file into Gamma is discussed in the Photon: the History Window section of this chapter.
/*--------------------------------------------------------------------
* Class: DeadbandType
* Description: Creates the Deadband Type window using PhabAttachWidgets.
*------------------------------------------------------------------*/
class DeadbandType
{
window;
}
PhabAttachWidgets (DeadbandType, anyos_assign("deadband_widgetfile"));
/*--------------------------------------------------------------------
* Method: DeadbandType.constructor
* Returns: the root widget of a widget hierarchy
* Description: Instantiates a DeadbandType window.
*------------------------------------------------------------------*/
method DeadbandType.constructor ()
{
.window = PhabRoot(.PhabInstantiate (t));
}
| Prev | Home | Next |
| Photon: the Deadband Type Window - create_dbtype_win, db_options | Up | Common: The Cascade Historian Configuration File - hist.cfg |