Added the Compute dialog box.
[pspp-builds.git] / src / ui / gui / psppire-buttonbox.h
1 /*
2     PSPPIRE --- A Graphical User Interface for PSPP
3     Copyright (C) 2007  Free Software Foundation
4
5     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2 of the License, or
8     (at your option) any later version.
9
10     This program is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.
14
15     You should have received a copy of the GNU General Public License
16     along with this program; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18     02110-1301, USA. */
19
20
21 #ifndef __PSPPIRE_BUTTONBOX_H__
22 #define __PSPPIRE_BUTTONBOX_H__
23
24
25 #include <glib.h>
26 #include <glib-object.h>
27 #include <gtk/gtkbbox.h>
28
29 G_BEGIN_DECLS
30
31 #define PSPPIRE_BUTTONBOX_TYPE            (psppire_button_box_get_type ())
32 #define PSPPIRE_BUTTONBOX(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSPPIRE_BUTTONBOX_TYPE, PsppireButtonBox))
33 #define PSPPIRE_BUTTONBOX_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), PSPPIRE_BUTTONBOX_TYPE, PsppireButtonBoxClass))
34 #define PSPPIRE_IS_BUTTONBOX(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_BUTTONBOX_TYPE))
35 #define PSPPIRE_IS_BUTTONBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_BUTTONBOX_TYPE))
36
37
38 typedef struct _PsppireButtonBox       PsppireButtonBox;
39 typedef struct _PsppireButtonBoxClass  PsppireButtonBoxClass;
40
41 struct _PsppireButtonBox
42 {
43   GtkButtonBox parent;
44 };
45
46 struct _PsppireButtonBoxClass
47 {
48   GtkButtonBoxClass parent_class;
49 };
50
51 GType          psppire_button_box_get_type        (void);
52
53
54 /* Internal function.  Do not use */
55 void
56 _psppire_button_box_child_requisition (GtkWidget *widget,
57                                        int       *nvis_children,
58                                        int       *nvis_secondaries,
59                                        int       *width,
60                                        int       *height);
61
62 G_END_DECLS
63
64 #endif /* __PSPPIRE_BUTTONBOX_H__ */
65