Plain "framed" windows

You can also create a framed window which can be moved around, resized, set to the background, and minimized. Note the status bar and title bar present on the framed window.

      var ctrl_opts = null;
      var main_menu = null;
      main_frame = new Frame (
                 0, 0, 400, 280, 
                 "Title: Sample Framed Window",
                 false, null, ctrl_opts, true, true, true, main_menu
           );

      main_frame.addToParent (CGUI.root);