The DejaVU Framework -- hush 3.1
[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?

Manual: HYPERTEXT 5 1993


[.] [man] man1 man2 man3 man4 man5 man6 man7 man8 man9 manl mann ?

NAME

hypertext -- to create a hypertext widget

SYNOPSIS


A hypertext may be used to display a text file with embedded script code.


slide: SYNOPSIS

INTERFACE


  interface hypertext : widget {
  
  hypertext();
  
  hypertext(char* p, char * options = "");
  hypertext(widget* w, char* p, char * options = "");
  
  void file(char* r);  // to read in a file
  };
  

slide: INTERFACE

EXAMPLES


An example of a help file is given below:

    If you do not wish to read the following text,
    click on the %% 
    button \$this.goto -text button \
            -command "global EOT; \$this gotoline $EOT"
    \$this append \$this.goto
    %% to jump to the end.
    
    Help text
    
    %%
    global EOT
    set EOT [expr \$thisline-1 ]
    %%
    Press %%
    button \$this.quit -command { destroy . } -text quit 
    \$this append quit
    %% to remove the window.
  
See the example in The Hush Cookbook (if available).
slide: EXAMPLES

EXTERN


#include <extern/ht.h> void init_ht( kit* );


slide: EXTERN

LIBRARY


widget -- file


slide: LIBRARY

KEYWORDS

widget(4)

SEE ALSO

hypertext(l), extern(4)
[.] Papers Tutorials Examples Manuals Interfaces Sources Packages Resources ?
Hush Online Technology
hush@cs.vu.nl
09/24/99