2
* Copyright (C) 2011 Collabora Ltd.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as
6
* published by the Free Software Foundation; either version 2.1 of
7
* the License, or (at your option) any later version.
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19
* Author: Stef Walter <stefw@collabora.co.uk>
22
#ifndef __GCR_DISPLAY_SCROLLED_H__
23
#define __GCR_DISPLAY_SCROLLED_H__
25
#include <glib-object.h>
30
#define GCR_TYPE_DISPLAY_SCROLLED (_gcr_display_scrolled_get_type ())
31
#define GCR_DISPLAY_SCROLLED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_DISPLAY_SCROLLED, GcrDisplayScrolled))
32
#define GCR_DISPLAY_SCROLLED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_DISPLAY_SCROLLED, GcrDisplayScrolledClass))
33
#define GCR_IS_DISPLAY_SCROLLED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_DISPLAY_SCROLLED))
34
#define GCR_IS_DISPLAY_SCROLLED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_DISPLAY_SCROLLED))
35
#define GCR_DISPLAY_SCROLLED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_DISPLAY_SCROLLED, GcrDisplayScrolledClass))
37
typedef struct _GcrDisplayScrolled GcrDisplayScrolled;
38
typedef struct _GcrDisplayScrolledClass GcrDisplayScrolledClass;
39
typedef struct _GcrDisplayScrolledPrivate GcrDisplayScrolledPrivate;
41
struct _GcrDisplayScrolled {
43
GtkScrolledWindow parent;
44
GcrDisplayScrolledPrivate *pv;
47
struct _GcrDisplayScrolledClass {
48
GtkScrolledWindowClass parent_class;
51
GType _gcr_display_scrolled_get_type (void);
53
GcrDisplayScrolled* _gcr_display_scrolled_new (void);
57
#endif /* __GCR_DISPLAY_SCROLLED_H__ */