1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2011, 2012 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17 #ifndef PSPPIRE_BUTTON_EDITABLE_H
18 #define PSPPIRE_BUTTON_EDITABLE_H 1
24 #define PSPPIRE_TYPE_BUTTON_EDITABLE (psppire_button_editable_get_type())
25 #define PSPPIRE_BUTTON_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),PSPPIRE_TYPE_BUTTON_EDITABLE,PsppireButtonEditable))
26 #define PSPPIRE_BUTTON_EDITABLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class),PSPPIRE_TYPE_BUTTON_EDITABLE,PsppireButtonEditableClass))
27 #define PSPPIRE_IS_BUTTON_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),PSPPIRE_TYPE_BUTTON_EDITABLE))
28 #define PSPPIRE_IS_BUTTON_EDITABLE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class),PSPPIRE_TYPE_BUTTON_EDITABLE))
29 #define PSPPIRE_BUTTON_EDITABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),PSPPIRE_TYPE_BUTTON_EDITABLE,PsppireButtonEditableClass))
31 typedef struct _PsppireButtonEditable PsppireButtonEditable;
32 typedef struct _PsppireButtonEditableClass PsppireButtonEditableClass;
34 struct _PsppireButtonEditable {
40 struct _PsppireButtonEditableClass {
41 GtkButtonClass parent_class;
44 GType psppire_button_editable_get_type (void) G_GNUC_CONST;
45 PsppireButtonEditable* psppire_button_editable_new (void);
47 void psppire_button_editable_set_slash (PsppireButtonEditable *,
49 gboolean psppire_button_editable_get_slash (const PsppireButtonEditable *);
53 #endif /* PSPPIRE_BUTTON_EDITABLE_H */