These routines provide simple wrappers for invoking the help system in
GNOME. They will take care of invoking the help browser with the help
file you provide.
This structure describes where to get the help from. The name field
is used to specify the name of the application (this is used to pull the
help files from the help directory where the files were installed).
The path parameter is the name relative to the package's help
directory.
For example, the Gnumeric spreadsheet uses the structure like
this:
a fully resolved file name for path. Use needs to g_free the path when
done. It looks in LANG, then unser C if LANG is not set
I added this because I didnt want to break all apps using
gnome_help_file_path() currently. We need a good solution (if this isnt it)
to handle case where locale file didnt exist
Cause a help viewer to display the help entry defined in ref. This
function is meant to be connected to the "help" signal of a
GnomePropertyBox. If ref is { "my-app", "properties-blah" }, and
the current page number is 3, then the help viewer will display
my-app/lang/properties-blah-3.html, which can be symlinked to the
appropriate file.
ignore :
ignored.
page_num :
The number of the current notebook page in the
properties box.
ref :
A GnomeHelpMenuEntry
gnome_help_pbox_goto ()
void gnome_help_pbox_goto (void *ignore,
int ignore2,
GnomeHelpMenuEntry *ref);
Cause a help viewer to display the help entry defined in ref. This
function is meant to be connected to the help button of a
GnomePropertyBox, when you don't want any munging of the help path
done. Most of the time, you can use gnome_help_pbox_display,
though.