35
35
* This procedure loads the specified help page into the helpbrowser or
36
36
* what ever is configured as help viewer. The help page is identified
37
37
* by its domain and ID: if help_domain is NULL, we use the help_domain
38
* which was registered using the gimp-plugin-help-register procedure.
39
* If help_domain is NULL and no help domain was registered, the help
40
* domain of the main GIMP installation is used.
38
* which was registered using the gimp_plugin_help_register()
39
* procedure. If help_domain is NULL and no help domain was registered,
40
* the help domain of the main GIMP installation is used.
42
42
* Returns: TRUE on success.
45
45
gimp_help (const gchar *help_domain,
48
48
GimpParam *return_vals;
50
50
gboolean success = TRUE;
52
return_vals = gimp_run_procedure ("gimp_help",
54
GIMP_PDB_STRING, help_domain,
55
GIMP_PDB_STRING, help_id,
52
return_vals = gimp_run_procedure ("gimp-help",
54
GIMP_PDB_STRING, help_domain,
55
GIMP_PDB_STRING, help_id,
58
58
success = return_vals[0].data.d_status == GIMP_PDB_SUCCESS;