Statistics
| Revision:

root / src / gtkshruler.h @ 754

History | View | Annotate | Download (1.7 kB)

1 1 hiro
/* GTKSHRuler
2 1 hiro
 * Copyright (C) 2000-2004 Alfons Hoogervorst & The Sylpheed Claws Team
3 1 hiro
 *
4 1 hiro
 * This library is free software; you can redistribute it and/or
5 1 hiro
 * modify it under the terms of the GNU Library General Public
6 1 hiro
 * License as published by the Free Software Foundation; either
7 1 hiro
 * version 2 of the License, or (at your option) any later version.
8 1 hiro
 *
9 1 hiro
 * This library is distributed in the hope that it will be useful,
10 1 hiro
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 1 hiro
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 1 hiro
 * Library General Public License for more details.
13 1 hiro
 *
14 1 hiro
 * You should have received a copy of the GNU Library General Public
15 1 hiro
 * License along with this library; if not, write to the
16 1 hiro
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 1 hiro
 * Boston, MA 02111-1307, USA.
18 1 hiro
 */
19 1 hiro
20 1 hiro
#ifndef __GTK_SHRULER_H__
21 1 hiro
#define __GTK_SHRULER_H__
22 1 hiro
23 1 hiro
24 1 hiro
#include <gdk/gdk.h>
25 1 hiro
#include <gtk/gtkhruler.h>
26 1 hiro
27 1 hiro
28 1 hiro
#ifdef __cplusplus
29 1 hiro
extern "C" {
30 1 hiro
#endif /* __cplusplus */
31 1 hiro
32 1 hiro
33 1 hiro
#define GTK_SHRULER(obj)            (GTK_CHECK_CAST ((obj), gtk_shruler_get_type (), GtkSHRuler))
34 1 hiro
#define GTK_SHRULER_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), gtk_shruler_get_type (), GtkSHRulerClass))
35 1 hiro
#define GTK_IS_SHRULER(obj)         (GTK_CHECK_TYPE ((obj), gtk_shruler_get_type ()))
36 1 hiro
37 1 hiro
38 1 hiro
typedef struct _GtkSHRuler        GtkSHRuler;
39 1 hiro
typedef struct _GtkSHRulerClass   GtkSHRulerClass;
40 1 hiro
41 1 hiro
struct _GtkSHRuler
42 1 hiro
{
43 1 hiro
        GtkHRuler ruler;
44 1 hiro
};
45 1 hiro
46 1 hiro
struct _GtkSHRulerClass
47 1 hiro
{
48 1 hiro
         GtkHRulerClass parent_class;
49 1 hiro
};
50 1 hiro
51 1 hiro
52 1 hiro
GType      gtk_shruler_get_type (void);
53 1 hiro
GtkWidget* gtk_shruler_new      (void);
54 1 hiro
void       gtk_shruler_set_pos  (GtkSHRuler *ruler,
55 1 hiro
                                 gfloat      pos);
56 1 hiro
57 1 hiro
58 1 hiro
#ifdef __cplusplus
59 1 hiro
}
60 1 hiro
#endif /* __cplusplus */
61 1 hiro
62 1 hiro
63 1 hiro
#endif /* __GTK_SHRULER_H__ */