2008-07-26 [colin] 3.5.0cvs35
[claws.git] / src / gtk / gtkshruler.h
1 /* GTKSHRuler
2  * Copyright (C) 2000-2004 Alfons Hoogervorst & The Claws Mail Team
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 3 of the License, or (at your option) any later version.
8  *
9  * This library 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 GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #ifndef __GTK_SHRULER_H__
19 #define __GTK_SHRULER_H__
20
21
22 #include <gdk/gdk.h>
23 #include <gtk/gtkhruler.h>
24
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
29
30
31 #define GTK_SHRULER(obj)            (GTK_CHECK_CAST ((obj), gtk_shruler_get_type (), GtkSHRuler))
32 #define GTK_SHRULER_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), gtk_shruler_get_type (), GtkSHRulerClass))
33 #define GTK_IS_SHRULER(obj)         (GTK_CHECK_TYPE ((obj), gtk_shruler_get_type ()))
34
35
36 typedef struct _GtkSHRuler        GtkSHRuler;
37 typedef struct _GtkSHRulerClass   GtkSHRulerClass;
38
39 struct _GtkSHRuler
40 {
41         GtkHRuler ruler;
42 };
43
44 struct _GtkSHRulerClass
45 {
46         GtkHRulerClass parent_class;
47 };
48
49
50 GType      gtk_shruler_get_type (void);
51 GtkWidget* gtk_shruler_new      (void);
52
53 #ifdef __cplusplus
54 }
55 #endif /* __cplusplus */
56
57
58 #endif /* __GTK_SHRULER_H__ */