1 /* LIBGIMP - The GIMP Library
2  * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
3  *
4  * gimpwidgetstypes.h
5  *
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.
10  *
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.
15  *
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/>.
19  */
20 
21 #ifndef __GIMP_WIDGETS_TYPES_H__
22 #define __GIMP_WIDGETS_TYPES_H__
23 
24 #include <libgimpconfig/gimpconfigtypes.h>
25 
26 #include <libgimpwidgets/gimpwidgetsenums.h>
27 
28 G_BEGIN_DECLS
29 
30 /* For information look into the html documentation */
31 
32 
33 typedef struct _GimpBrowser                   GimpBrowser;
34 typedef struct _GimpBusyBox                   GimpBusyBox;
35 typedef struct _GimpButton                    GimpButton;
36 typedef struct _GimpCellRendererColor         GimpCellRendererColor;
37 typedef struct _GimpCellRendererToggle        GimpCellRendererToggle;
38 typedef struct _GimpChainButton               GimpChainButton;
39 typedef struct _GimpColorArea                 GimpColorArea;
40 typedef struct _GimpColorButton               GimpColorButton;
41 typedef struct _GimpColorDisplay              GimpColorDisplay;
42 typedef struct _GimpColorDisplayStack         GimpColorDisplayStack;
43 typedef struct _GimpColorHexEntry             GimpColorHexEntry;
44 typedef struct _GimpColorNotebook             GimpColorNotebook;
45 typedef struct _GimpColorProfileChooserDialog GimpColorProfileChooserDialog;
46 typedef struct _GimpColorProfileComboBox      GimpColorProfileComboBox;
47 typedef struct _GimpColorProfileStore         GimpColorProfileStore;
48 typedef struct _GimpColorProfileView          GimpColorProfileView;
49 typedef struct _GimpColorScale                GimpColorScale;
50 typedef struct _GimpColorScales               GimpColorScales;
51 typedef struct _GimpColorSelector             GimpColorSelector;
52 typedef struct _GimpColorSelect               GimpColorSelect;
53 typedef struct _GimpColorSelection            GimpColorSelection;
54 typedef struct _GimpController                GimpController;
55 typedef struct _GimpDialog                    GimpDialog;
56 typedef struct _GimpEnumStore                 GimpEnumStore;
57 typedef struct _GimpEnumComboBox              GimpEnumComboBox;
58 typedef struct _GimpEnumLabel                 GimpEnumLabel;
59 typedef struct _GimpFileEntry                 GimpFileEntry;
60 typedef struct _GimpFrame                     GimpFrame;
61 typedef struct _GimpHintBox                   GimpHintBox;
62 typedef struct _GimpIntComboBox               GimpIntComboBox;
63 typedef struct _GimpIntStore                  GimpIntStore;
64 typedef struct _GimpMemsizeEntry              GimpMemsizeEntry;
65 typedef struct _GimpNumberPairEntry           GimpNumberPairEntry;
66 typedef struct _GimpOffsetArea                GimpOffsetArea;
67 typedef struct _GimpPageSelector              GimpPageSelector;
68 typedef struct _GimpPathEditor                GimpPathEditor;
69 typedef struct _GimpPickButton                GimpPickButton;
70 typedef struct _GimpPreview                   GimpPreview;
71 typedef struct _GimpPreviewArea               GimpPreviewArea;
72 typedef struct _GimpPixmap                    GimpPixmap;
73 typedef struct _GimpRuler                     GimpRuler;
74 typedef struct _GimpScrolledPreview           GimpScrolledPreview;
75 typedef struct _GimpSizeEntry                 GimpSizeEntry;
76 typedef struct _GimpSpinButton                GimpSpinButton;
77 typedef struct _GimpStringComboBox            GimpStringComboBox;
78 typedef struct _GimpUnitComboBox              GimpUnitComboBox;
79 typedef struct _GimpUnitMenu                  GimpUnitMenu;
80 typedef struct _GimpUnitStore                 GimpUnitStore;
81 typedef struct _GimpZoomModel                 GimpZoomModel;
82 
83 
84 /**
85  * GimpHelpFunc:
86  * @help_id:   the help ID
87  * @help_data: the help user data
88  *
89  * This is the prototype for all functions you pass as @help_func to
90  * the various GIMP dialog constructors like gimp_dialog_new(),
91  * gimp_query_int_box() etc.
92  *
93  * Help IDs are textual identifiers the help system uses to figure
94  * which page to display.
95  *
96  * All these dialog constructors functions call gimp_help_connect().
97  *
98  * In most cases it will be ok to use gimp_standard_help_func() which
99  * does nothing but passing the @help_id string to gimp_help(). If
100  * your plug-in needs some more sophisticated help handling you can
101  * provide your own @help_func which has to call gimp_help() to
102  * actually display the help.
103  **/
104 typedef void (* GimpHelpFunc) (const gchar *help_id,
105                                gpointer     help_data);
106 
107 
108 G_END_DECLS
109 
110 #endif /* __GIMP_WIDGETS_TYPES_H__ */
111