1 Bundled Games
2 Implementing New Games
3 Showing Scribbled Help
4 Showing Text Help
On this page:
show-help
Version: 4.0.2

 

4 Showing Text Help

 (require games/show-help)

(show-help coll-path frame-title [verbatim?])  (-> any)

  coll-path : (listof string?)

  frame-title : string?

  verbatim? : any/c = #f

Returns a thunk for showing a help window based on plain text. Multiple invocations of the thunk bring the same window to the foreground (until the user closes the window).

The help window displays "doc.txt" from the collection specified by coll-path.

The frame-title argument is used for the help window title.

If verbatim? is true, then "doc.txt" is displayed verbatim, otherwise it is formatted as follows: