2
* Copyright (c) 2010 Intel, Inc.
4
* The Control Center is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
9
* The Control Center 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 General Public License
14
* You should have received a copy of the GNU General Public License along
15
* with the Control Center; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
* Author: Thomas Wood <thos@gnome.org>
21
#ifndef _CC_SHELL_ITEM_VIEW_H
22
#define _CC_SHELL_ITEM_VIEW_H
28
#define CC_TYPE_SHELL_ITEM_VIEW cc_shell_item_view_get_type()
30
#define CC_SHELL_ITEM_VIEW(obj) \
31
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
32
CC_TYPE_SHELL_ITEM_VIEW, CcShellItemView))
34
#define CC_SHELL_ITEM_VIEW_CLASS(klass) \
35
(G_TYPE_CHECK_CLASS_CAST ((klass), \
36
CC_TYPE_SHELL_ITEM_VIEW, CcShellItemViewClass))
38
#define CC_IS_SHELL_ITEM_VIEW(obj) \
39
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
40
CC_TYPE_SHELL_ITEM_VIEW))
42
#define CC_IS_SHELL_ITEM_VIEW_CLASS(klass) \
43
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
44
CC_TYPE_SHELL_ITEM_VIEW))
46
#define CC_SHELL_ITEM_VIEW_GET_CLASS(obj) \
47
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
48
CC_TYPE_SHELL_ITEM_VIEW, CcShellItemViewClass))
50
typedef struct _CcShellItemView CcShellItemView;
51
typedef struct _CcShellItemViewClass CcShellItemViewClass;
52
typedef struct _CcShellItemViewPrivate CcShellItemViewPrivate;
54
struct _CcShellItemView
58
CcShellItemViewPrivate *priv;
61
struct _CcShellItemViewClass
63
GtkIconViewClass parent_class;
66
GType cc_shell_item_view_get_type (void) G_GNUC_CONST;
68
GtkWidget *cc_shell_item_view_new (void);
70
void cc_shell_item_view_update_cells (CcShellItemView *view);
74
#endif /* _CC_SHELL_ITEM_VIEW_H */