HMgoto
callback, with name as an argument.
The href tag is accessed by two callback routines.
HMlink_setup
is called once for each hyperlink. It
is expected to associate any application specific behavior with
a hyper-link. The default version of HMlink_setup
arranges for hyperlinks to be highlighted/dehilighted
upon cursor entry and exit. When the link is activated (with
mouse button 1) HMlink_callback
, which is supplied by
the application, is called.
Any additional parameters supplied with the a tag are passed as an argument to the call-back routines.
align
, alt
, src
,
and ismap
attributes are handled by the library.
As each inline image tag is seen, the procedure (supplied by the
application) HMset_image handle src
is called.
The application is expected to locate the image (using src,
and create a TK image with it.
The application then calls HM_got_image handle image
,
where handle was the value passed to HM_set_image
, and
image is either the name of a TK image, or an error message.
If the parameter ismap
was supplied, then a call to
HMlink_callback
is made when the image is clicked on.
HMtag_tag
or
HMtag_/tag
, where
tag is the html tag whose behavior is to be defined. See
the reference manual for details.
HMinsert_map
or HMtag_map
. See
the manual for details.