Making a Window

#include <stdio.h>
#include "graphapp.h"

int main(int argc, char *argv[])
{
  App *app;
  Window *w;

  app = new_app(argc,argv);
  w = new_window(app,
                rect(50,50,150,200),
                "A Window",
                STANDARD_WINDOW);
  /* create your controls here */
  show_window(w);
  main_loop(app);
  /* close files and tidy up here */
  return 0;
}

Notes: