1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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/>.
19 * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
20 * file for a list of people on the GTK+ Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
26 * Modified by the Sylpheed Team and others 2003
30 #ifndef __GTK_VSCROLLBUTTON_H__
31 #define __GTK_VSCROLLBUTTON_H__
38 #define GTK_TYPE_VSCROLLBUTTON (gtk_vscrollbutton_get_type ())
39 #define GTK_VSCROLLBUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VSCROLLBUTTON, GtkVScrollbutton))
40 #define GTK_VSCROLLBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSCROLLBUTTON, GtkVScrollbuttonClass))
41 #define GTK_IS_VSCROLLBUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VSCROLLBUTTON))
42 #define GTK_IS_VSCROLLBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSCROLLBUTTON))
44 typedef struct _GtkVScrollbutton GtkVScrollbutton
;
45 typedef struct _GtkVScrollbuttonClass GtkVScrollbuttonClass
;
47 struct _GtkVScrollbutton
51 GtkWidget
*downbutton
;
54 GtkAdjustment
*adjustment
;
56 GtkScrollType scroll_type
;
60 struct _GtkVScrollbuttonClass
62 GtkVBoxClass parent_class
;
69 #endif /* __cplusplus */
72 GType
gtk_vscrollbutton_get_type (void);
73 GtkWidget
* gtk_vscrollbutton_new (GtkAdjustment
*adjustment
);
74 gboolean
gtk_vscrollbutton_scroll (GtkVScrollbutton
*scrollbutton
);
78 #endif /* __cplusplus */
81 #endif /* __GTK_VSCROLLBUTTON_H__ */