~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to libgimpwidgets/gimphelpui.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* LIBGIMP - The GIMP Library
 
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 
3
 *
 
4
 * gimphelpui.h
 
5
 * Copyright (C) 2000-2003 Michael Natterer <mitch@gimp.org>
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Lesser General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Library General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Lesser General Public
 
18
 * License along with this library; if not, write to the
 
19
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
 * Boston, MA 02111-1307, USA.
 
21
 */
 
22
 
 
23
#ifndef __GIMP_HELP_UI_H__
 
24
#define __GIMP_HELP_UI_H__
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
/* For information look into the C source or the html documentation */
 
29
 
 
30
 
 
31
void  _gimp_help_init              (void);
 
32
 
 
33
void  gimp_help_enable_tooltips    (void);
 
34
void  gimp_help_disable_tooltips   (void);
 
35
 
 
36
/*  the standard gimp help function
 
37
 */
 
38
void  gimp_standard_help_func      (const gchar  *help_id,
 
39
                                    gpointer      help_data);
 
40
 
 
41
/*  connect the help callback of a window  */
 
42
void  gimp_help_connect            (GtkWidget    *widget,
 
43
                                    GimpHelpFunc  help_func,
 
44
                                    const gchar  *help_id,
 
45
                                    gpointer      help_data);
 
46
 
 
47
/*  set help data for non-window widgets  */
 
48
void  gimp_help_set_help_data      (GtkWidget    *widget,
 
49
                                    const gchar  *tooltip,
 
50
                                    const gchar  *help_id);
 
51
 
 
52
/*  activate the context help inspector  */
 
53
void  gimp_context_help            (GtkWidget    *widget);
 
54
 
 
55
 
 
56
#define GIMP_HELP_ID (gimp_help_id_quark ())
 
57
 
 
58
GQuark gimp_help_id_quark (void) G_GNUC_CONST;
 
59
 
 
60
 
 
61
G_END_DECLS
 
62
 
 
63
#endif /* __GIMP_HELP_UI_H__ */