2
* Copyright (c) 2011 Red Hat, Inc.
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 published by
6
* the Free Software Foundation; either version 2 of the License, or (at your
7
* 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 MERCHANTABILITY
11
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12
* License for more details.
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
* Author: Cosimo Cecchi <cosimoc@redhat.com>
22
#ifndef __GD_MAIN_ICON_VIEW_H__
23
#define __GD_MAIN_ICON_VIEW_H__
25
#include <glib-object.h>
30
#define GD_TYPE_MAIN_ICON_VIEW gd_main_icon_view_get_type()
32
#define GD_MAIN_ICON_VIEW(obj) \
33
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
GD_TYPE_MAIN_ICON_VIEW, GdMainIconView))
36
#define GD_MAIN_ICON_VIEW_CLASS(klass) \
37
(G_TYPE_CHECK_CLASS_CAST ((klass), \
38
GD_TYPE_MAIN_ICON_VIEW, GdMainIconViewClass))
40
#define GD_IS_MAIN_ICON_VIEW(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42
GD_TYPE_MAIN_ICON_VIEW))
44
#define GD_IS_MAIN_ICON_VIEW_CLASS(klass) \
45
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
46
GD_TYPE_MAIN_ICON_VIEW))
48
#define GD_MAIN_ICON_VIEW_GET_CLASS(obj) \
49
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
50
GD_TYPE_MAIN_ICON_VIEW, GdMainIconViewClass))
52
typedef struct _GdMainIconView GdMainIconView;
53
typedef struct _GdMainIconViewClass GdMainIconViewClass;
54
typedef struct _GdMainIconViewPrivate GdMainIconViewPrivate;
56
struct _GdMainIconView
60
GdMainIconViewPrivate *priv;
63
struct _GdMainIconViewClass
65
GtkIconViewClass parent_class;
68
GType gd_main_icon_view_get_type (void) G_GNUC_CONST;
70
GtkWidget * gd_main_icon_view_new (void);
74
#endif /* __GD_MAIN_ICON_VIEW_H__ */