1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
2 | /* e-gray-bar.h |
---|
3 | * |
---|
4 | * Copyright (C) 2001 Ximian, Inc. |
---|
5 | * |
---|
6 | * This program is free software; you can redistribute it and/or |
---|
7 | * modify it under the terms of version 2 of the GNU General Public |
---|
8 | * License as published by the Free Software Foundation. |
---|
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 GNU |
---|
13 | * General Public License for more details. |
---|
14 | * |
---|
15 | * You should have received a copy of the GNU General Public |
---|
16 | * License along with this program; if not, write to the |
---|
17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
18 | * Boston, MA 02111-1307, USA. |
---|
19 | * |
---|
20 | * Author: Ettore Perazzoli <ettore@ximian.com> |
---|
21 | */ |
---|
22 | |
---|
23 | #ifndef _E_GRAY_BAR_H_ |
---|
24 | #define _E_GRAY_BAR_H_ |
---|
25 | |
---|
26 | #include <gtk/gtkeventbox.h> |
---|
27 | |
---|
28 | #ifdef __cplusplus |
---|
29 | extern "C" { |
---|
30 | #pragma } |
---|
31 | #endif /* __cplusplus */ |
---|
32 | |
---|
33 | #define E_TYPE_GRAY_BAR (e_gray_bar_get_type ()) |
---|
34 | #define E_GRAY_BAR(obj) (GTK_CHECK_CAST ((obj), E_TYPE_GRAY_BAR, EGrayBar)) |
---|
35 | #define E_GRAY_BAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_GRAY_BAR, EGrayBarClass)) |
---|
36 | #define E_IS_GRAY_BAR(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_GRAY_BAR)) |
---|
37 | #define E_IS_GRAY_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_GRAY_BAR)) |
---|
38 | |
---|
39 | |
---|
40 | typedef struct _EGrayBar EGrayBar; |
---|
41 | typedef struct _EGrayBarPrivate EGrayBarPrivate; |
---|
42 | typedef struct _EGrayBarClass EGrayBarClass; |
---|
43 | |
---|
44 | struct _EGrayBar { |
---|
45 | GtkEventBox parent; |
---|
46 | }; |
---|
47 | |
---|
48 | struct _EGrayBarClass { |
---|
49 | GtkEventBoxClass parent_class; |
---|
50 | }; |
---|
51 | |
---|
52 | |
---|
53 | GtkType e_gray_bar_get_type (void); |
---|
54 | GtkWidget *e_gray_bar_new (void); |
---|
55 | |
---|
56 | #ifdef __cplusplus |
---|
57 | } |
---|
58 | #endif /* __cplusplus */ |
---|
59 | |
---|
60 | #endif /* _E_GRAY_BAR_H_ */ |
---|