2 * Copyright (C) 2000 Alfons Hoogervorst
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 2 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, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 #ifndef __GTK_SHRULER_H__
21 #define __GTK_SHRULER_H__
25 #include <gtk/gtkhruler.h>
30 #endif /* __cplusplus */
33 #define GTK_SHRULER(obj) (GTK_CHECK_CAST ((obj), gtk_shruler_get_type (), GtkSHRuler))
34 #define GTK_SHRULER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), gtk_shruler_get_type (), GtkSHRulerClass))
35 #define GTK_IS_SHRULER(obj) (GTK_CHECK_TYPE ((obj), gtk_shruler_get_type ()))
38 typedef struct _GtkSHRuler GtkSHRuler;
39 typedef struct _GtkSHRulerClass GtkSHRulerClass;
46 struct _GtkSHRulerClass
48 GtkHRulerClass parent_class;
52 guint gtk_shruler_get_type (void);
53 GtkWidget* gtk_shruler_new (void);
54 void gtk_shruler_set_pos (GtkSHRuler *ruler,
60 #endif /* __cplusplus */
63 #endif /* __GTK_SHRULER_H__ */