1 /* LIBGIMP - The GIMP Library
2 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
6 * This library is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 3 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see
18 * <https://www.gnu.org/licenses/>.
21 /* NOTE: This file is auto-generated by pdbgen.pl */
31 * @short_description: Loading help pages using gimp_help.
33 * Loading help pages using gimp_help.
39 * @help_domain: The help domain in which help_id is registered.
40 * @help_id: The help page's ID.
44 * This procedure loads the specified help page into the helpbrowser or
45 * what ever is configured as help viewer. The help page is identified
46 * by its domain and ID: if help_domain is NULL, we use the help_domain
47 * which was registered using the gimp_plugin_help_register()
48 * procedure. If help_domain is NULL and no help domain was registered,
49 * the help domain of the main GIMP installation is used.
51 * Returns: TRUE on success.
54 gimp_help (const gchar
*help_domain
,
57 GimpParam
*return_vals
;
59 gboolean success
= TRUE
;
61 return_vals
= gimp_run_procedure ("gimp-help",
63 GIMP_PDB_STRING
, help_domain
,
64 GIMP_PDB_STRING
, help_id
,
67 success
= return_vals
[0].data
.d_status
== GIMP_PDB_SUCCESS
;
69 gimp_destroy_params (return_vals
, nreturn_vals
);