~ubuntu-branches/ubuntu/hardy/gnome-commander/hardy

« back to all changes in this revision

Viewing changes to src/libgviewer/scroll-box.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-06-13 15:39:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060613153948-gvrt3mb2ddk5u62o
Tags: 1.2.0-3
added --disable-scrollkeeper on build

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    LibGViewer - GTK+ File Viewer library 
 
3
    Copyright (C) 2006 Assaf Gordon
 
4
    
 
5
    Part of
 
6
        GNOME Commander - A GNOME based file manager
 
7
        Copyright (C) 2001-2006 Marcus Bjurman
 
8
 
 
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.
 
13
 
 
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.
 
18
 
 
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
 
22
*/
 
23
#ifndef __SCROLL_BOX_H__
 
24
#define __SCROLL_BOX_H__
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
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 ())
 
31
 
 
32
typedef struct _ScrollBox               ScrollBox;
 
33
typedef struct _ScrollBoxPrivate        ScrollBoxPrivate;
 
34
typedef struct _ScrollBoxClass          ScrollBoxClass;
 
35
 
 
36
struct _ScrollBox
 
37
{
 
38
        GtkTable table;
 
39
        ScrollBoxPrivate *priv;
 
40
};
 
41
 
 
42
struct _ScrollBoxClass
 
43
{
 
44
        GtkTableClass parent_class;
 
45
};
 
46
 
 
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 ) ;
 
51
 
 
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);
 
56
 
 
57
GtkRange*      scroll_box_get_v_range(ScrollBox *obj);
 
58
 
 
59
G_END_DECLS
 
60
 
 
61
#endif /* __SCROLL_BOX_H__ */