include "draw.m";
draw:= load Draw Draw->PATH;
Context: adt
{
screen: ref Screen;
display: ref Display;
cir: chan of int;
ckbd: chan of int;
cptr: chan of ref Pointer;
ctoappl: chan of int;
ctomux: chan of int;
};
Description
The Context abstract data type encapsulates the data types and channels used by an interactive application. A reference to the Context is passed as the first argument to an application when it begins execution:
include "draw.m";
Command: module
{
init: fn(nil: ref Draw->Context; nil: list of string);
};
Most programs do not create a Context but inherit one from their parent, typically a shell or window system.
General Interfaces
MUX Interfaces
See Also
infernosupport@lucent.com
Copyright © 1996,Lucent Technologies, Inc. All rights
reserved.