Making a Window

#include "graphapp.h"

void main(void)
{
  window w;

  w = newwindow("A Window",
                rect(50,50,150,200),
                StandardWindow);
  /* create your controls here */
  show(w);
  mainloop();
  /* close files and tidy up here */
}

Notes: