Debian Codegraph @

src/paneltogglebutton.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2005 by Benjamin Otte <[email protected]>
3 *
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.
8 *
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.
13 *
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/>.
16 *
17 $Id$
18 */
19
20
21 #ifndef __PANEL_TOGGLE_BUTTON_H__
22 #define __PANEL_TOGGLE_BUTTON_H__
23
24 #include <gtk/gtk.h>
25
26 G_BEGIN_DECLS
27
28
29 #define PANEL_TYPE_TOGGLE_BUTTON (panel_toggle_button_get_type ())
30 #define PANEL_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PANEL_TYPE_TOGGLE_BUTTON, PanelToggleButton))
31 #define PANEL_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANEL_TYPE_TOGGLE_BUTTON, PanelToggleButtonClass))
32 #define PANEL_IS_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PANEL_TYPE_TOGGLE_BUTTON))
33 #define PANEL_IS_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANEL_TYPE_TOGGLE_BUTTON))
34 #define PANEL_TOGGLE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANEL_TYPE_TOGGLE_BUTTON, PanelToggleButtonClass))
35
36 typedef struct _PanelToggleButton PanelToggleButton;
37 typedef struct _PanelToggleButtonClass PanelToggleButtonClass;
38
39 struct _PanelToggleButton
40 {
41 GtkToggleButton toggle_button;
42 };
43
44 struct _PanelToggleButtonClass
45 {
46 GtkToggleButtonClass toggle_button_class;
47 };
48
49 GType panel_toggle_button_get_type (void) G_GNUC_CONST;
50
51 GtkWidget * panel_toggle_button_new (void);
52
53
54 G_END_DECLS
55
56 #endif /* __PANEL_TOGGLE_BUTTON_H__ */