2
LibGViewer - GTK+ File Viewer library
3
Copyright (C) 2006 Assaf Gordon
6
GNOME Commander - A GNOME based file manager
7
Copyright (C) 2001-2006 Marcus Bjurman
9
This program is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 2 of the License, or
12
(at your option) any later version.
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
#ifndef __SCROLL_BOX_H__
24
#define __SCROLL_BOX_H__
28
#define SCROLL_BOX(obj) GTK_CHECK_CAST (obj, scroll_box_get_type (), ScrollBox)
29
#define SCROLL_BOX_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, scroll_box_get_type (), ScrollBoxClass)
30
#define IS_SCROLL_BOX(obj) GTK_CHECK_TYPE (obj, scroll_box_get_type ())
32
typedef struct _ScrollBox ScrollBox;
33
typedef struct _ScrollBoxPrivate ScrollBoxPrivate;
34
typedef struct _ScrollBoxClass ScrollBoxClass;
39
ScrollBoxPrivate *priv;
42
struct _ScrollBoxClass
44
GtkTableClass parent_class;
47
GtkWidget* scroll_box_new (void);
48
GtkType scroll_box_get_type (void);
49
void scroll_box_set_client ( ScrollBox *obj, GtkWidget* client);
50
GtkWidget* scroll_box_get_client ( ScrollBox *obj ) ;
52
GtkAdjustment* scroll_box_get_h_adjustment (ScrollBox *obj);
53
void scroll_box_set_h_adjustment (ScrollBox *obj, GtkAdjustment *adjustment);
54
GtkAdjustment* scroll_box_get_v_adjustment (ScrollBox *obj);
55
void scroll_box_set_v_adjustment (ScrollBox *obj, GtkAdjustment *adjustment);
57
GtkRange* scroll_box_get_v_range(ScrollBox *obj);
61
#endif /* __SCROLL_BOX_H__ */