OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
iconview.h
Go to the documentation of this file.
1 /*
2  * mape - C4 Landscape.txt editor
3  *
4  * Copyright (c) 2005-2009, Armin Burgmeier
5  *
6  * Distributed under the terms of the ISC license; see accompanying file
7  * "COPYING" for details.
8  *
9  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
10  * See accompanying file "TRADEMARK" for details.
11  *
12  * To redistribute this file separately, substitute the full license texts
13  * for the above references.
14  */
15 
16 #ifndef INC_MAPE_ICONVIEW_H
17 #define INC_MAPE_ICONVIEW_H
18 
19 #include <gtk/gtk.h>
20 #include "mape/forward.h"
21 
22 typedef enum MapeIconViewColumns_ {
25 
28 
29 struct MapeIconView_ {
30  GtkWidget* window;
31  GtkWidget* view;
32 
33  GtkTreeModel* list_store;
34 
35  GtkCellRenderer* renderer_icon;
36  GtkCellRenderer* renderer_name;
37 };
38 
39 MapeIconView* mape_icon_view_new(GError** error);
41 
44  GdkPixbuf* icon,
45  const char* name);
46 
47 #endif /* INC_MAPE_ICONVIEW_H */
void mape_icon_view_add(MapeIconView *view, GdkPixbuf *icon, const char *name)
Definition: iconview.c:113
MapeIconViewColumns_
Definition: iconview.h:22
void mape_icon_view_clear(MapeIconView *view)
Definition: iconview.c:108
enum MapeIconViewColumns_ MapeIconViewColumns
GtkWidget * window
Definition: iconview.h:30
GtkCellRenderer * renderer_icon
Definition: iconview.h:35
GtkCellRenderer * renderer_name
Definition: iconview.h:36
void mape_icon_view_destroy(MapeIconView *view)
Definition: iconview.c:102
MapeIconView * mape_icon_view_new(GError **error)
Definition: iconview.c:19
GtkTreeModel * list_store
Definition: iconview.h:33
GtkWidget * view
Definition: iconview.h:31