home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / tcl / tcl_1 / !tcldoc_doc_w_w_init < prev    next >
Encoding:
Text File  |  1996-03-27  |  568 b   |  19 lines

  1. .SH NAME
  2. w_init \- Initialise the wimp functions
  3. .SH SYNOPSIS
  4. \fBw_init \fIname\fR  ?\fIspritefilename\fR?
  5. .BE
  6.  
  7. .SH DESCRIPTION
  8. .PP
  9. \fI name \fR should be a name of at most 8 characters. It is used to form
  10. sprite names, and as default window titles.
  11.  
  12. The program is registered as a wimp task called \fIname \fR.
  13. The other w_commands cannot be called before \fBw_init \fR.
  14.  
  15. The \fIsystem\fR command is redefined to call wimp_starttask instead of system.
  16.  
  17. If the optional \fIspritefilename\fR is given a sprite file is loaded from
  18. <\fIname\fR$Dir>.\fIspritefilename\fR.
  19.