PhabLoad (filename, realize?)
This is a convenience function that creates and returns a window hierarchy from a filename by calling PhabReadWidgetFile, PhabCreateWidgets, and PhabNameWidgets in succession. And unless realize is set to nil, PhabLoad also calls PtRealizeWidget on the top-level window widget, before returning the window hierarchy.
Because the widgets created by this function are accessed as global variables, it is generally preferred to use the PhabAttachWidgets function. |
To use this function, you must load the PhabTemplate.lsp library with a call to require_lisp("PhabTemplate.lsp"). The filename is searched for in the currrent _require_path_ (see PhabReadWidgetFile).
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.