Text Window Input-Output Control

version 2 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - Managing windows

    Section - New phrases for opening a window

    To open up (win - a g-window) as the/-- main/current/-- text/-- output window:
        if win is g-unpresent and the main-window is ancestral to win:
            now every g-window ancestral to win is g-required;
            calibrate windows;
        now the current text output window is win;
        echo the stream of win to the transcript;
        set focus to win.
        
    To open up (win - a g-window) as the/-- main/current/-- text/-- input window:
        if win is g-unpresent and the main-window is ancestral to win:
            now every g-window ancestral to win is g-required;
            calibrate windows;
        now the current text input window is win;
        echo the stream of win to the transcript.