From 68fb9f79108ef7f2e841f6cd8dc6fb58408d2e29 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 27 Oct 2001 03:29:25 +0000 Subject: Don't allow extra boxtypes to override user-defined boxtypes. Change the help link function to get both the widget and pathname. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Help_View.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'documentation') diff --git a/documentation/Fl_Help_View.html b/documentation/Fl_Help_View.html index fb7a88d75..1fb420505 100644 --- a/documentation/Fl_Help_View.html +++ b/documentation/Fl_Help_View.html @@ -66,12 +66,14 @@ in the buffer.

void link(Fl_Help_Func *fn)

This method assigns a callback function to use when a link is -followed or a file is loaded (via Fl_Help_View::load()) that -requires a different file or path. The callback function receives the -full pathname for the file in question and must return a pathname that -can be opened as a local file. This is used by the -Fl_Help_App widget to support WWW -addresses. +followed or a file is loaded (via +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.

int load(const char *f)

-- cgit v1.2.3