Debian Codegraph @

geanygendoc/src/ggd-widget-frame.h

raw
1 /*
2 *
3 * GeanyGenDoc, a Geany plugin to ease generation of source code documentation
4 * Copyright (C) 2010-2011 Colomban Wendling <[email protected]>
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program 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
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21 #ifndef H_GGD_WIDGET_FRAME
22 #define H_GGD_WIDGET_FRAME
23
24 #include <gtk/gtk.h>
25
26 #include "ggd-macros.h"
27
28 G_BEGIN_DECLS
29 GGD_BEGIN_PLUGIN_API
30
31
32 #define GGD_TYPE_FRAME (ggd_frame_get_type ())
33 #define GGD_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GGD_TYPE_FRAME, GgdFrame))
34 #define GGD_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GGD_TYPE_FRAME, GgdFrameClass))
35 #define GGD_IS_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GGD_TYPE_FRAME))
36 #define GGD_IS_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GGD_TYPE_FRAME))
37
38
39 typedef struct _GgdFrame GgdFrame;
40 typedef struct _GgdFrameClass GgdFrameClass;
41 typedef struct _GgdFramePrivate GgdFramePrivate;
42
43 struct _GgdFrame
44 {
45 GtkFrame parent;
46
47 GgdFramePrivate *priv;
48 };
49
50 struct _GgdFrameClass
51 {
52 GtkFrameClass parent_class;
53 };
54
55
56 GType ggd_frame_get_type (void);
57 GtkWidget *ggd_frame_new (const gchar *label);
58
59
60 GGD_END_PLUGIN_API
61 G_END_DECLS
62
63 #endif /* guard */