next up previous
Next: eventclasses Up: simxlib Previous: xeventmanager

xprocess


     NAME
	  xprocess - part of Simula to Xlib interface

     DESCRIPTION
	     IOProcess class XProcess;
	  Used as superclass of	user defined controllers  for  XWindow
	  objects.

	  SUPERS: IOProcess
	  KIND:	Subclassable
	  INIT:	Should be registered with ProcessManger	and attached
	  to Window,
	  then started:
	       PMG.RegisterProcess(P);
	       W.SetController(P);
	       P.Start;
	  Sequencing: (NextEvent)* - called from sub-classes only.

     OPERATIONS
     NextEvent
	     ref(XBasicEvent) procedure	NextEvent;
	  This operation makes the process  wait  until	 an  event  is
	  avialable.  When  this  happens  it  returns	with an	object
	  representing the X-event that	happened to the	 XWindow  this
	  process is controlling.