From 8408e863de860ef75a58be303b488b7c44701f9d Mon Sep 17 00:00:00 2001
From: Michael R Sweet Fl_Help_View::load()) that requires a different
file or path. The callback function receives a pointer to the
-Fl_Help_View widget and the full pathname for the
-file in question and must return a pathname that can be opened
-as a local file. This can also be used to retrieve remote or
-virtual documents, returning the temporary file that contains
-the actual data.
Fl_Help_View widget and the URI or full pathname
+for the file in question. It must return a pathname that can be
+opened as a local file or NULL:
+
++const char *fn(Fl_Widget *w, const char *uri); ++ +
The link function can be used to retrieve remote or virtual +documents, returning a temporary file that contains the actual +data. If the link function returns NULL, the value of +the Fl_Help_View widget will remain unchanged.
+ +If the link callback cannot handle the URI scheme, it should +return the uri value unchanged or set the value() of the widget +before returning NULL.