PREFAB-ENVIRON(2)                               PREFAB-ENVIRON(2)

     NAME
          prefab: Environ - environment for ITV toolkit to provide a
          graphics framework for a collection of items

     SYNOPSIS
          include "draw.m";
          include "prefab.m";
          prefab := load Prefab Prefab->PATH;

          Environ: adt
          {
              screen: ref Draw->Screen;
              style:  ref Style;

          };

     DESCRIPTION
          The Environ type collects the Style and Screen types neces-
          sary to specify how and where to draw Prefab items.

          screen    Specifies the Screen upon which items will be dis-
                    played.

          style     Specifies the Style for items in an environment.
                    To draw various items in different fonts or col-
                    ors, the application should associate different
                    Environ objects with the various.  (But see also
                    the layout functions in prefab-element(2) and
                    prefab-compound(2)).

     SOURCE
          /libinterp/prefab.c /libprefab/*.c

     SEE ALSO
          prefab-intro(2), draw-screen(2), prefab-style(2)

     Page 1                       Plan 9             (printed 3/29/24)