2 * Copyright (C) 2000-2011 Alfons Hoogervorst & The Claws Mail Team
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.
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.
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/>.
18 #ifndef __GTK_SHRULER_H__
19 #define __GTK_SHRULER_H__
25 #if !GTK_CHECK_VERSION(2,24,0)
29 #endif /* __cplusplus */
32 #define GTK_SHRULER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gtk_shruler_get_type (), GtkSHRuler))
33 #define GTK_SHRULER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), gtk_shruler_get_type (), GtkSHRulerClass))
34 #define GTK_IS_SHRULER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gtk_shruler_get_type ()))
37 typedef struct _GtkSHRuler GtkSHRuler;
38 typedef struct _GtkSHRulerClass GtkSHRulerClass;
45 struct _GtkSHRulerClass
47 GtkHRulerClass parent_class;
51 GType gtk_shruler_get_type (void);
52 GtkWidget* gtk_shruler_new (void);
56 #endif /* __cplusplus */
59 #endif /* __GTK_SHRULER_H__ */