35 gtk_icon_view_set_item_orientation(
36 GTK_ICON_VIEW(view->
view),
37 GTK_ORIENTATION_HORIZONTAL
41 gtk_cell_layout_pack_start(
42 GTK_CELL_LAYOUT(view->
view),
47 gtk_cell_layout_set_attributes(
48 GTK_CELL_LAYOUT(view->
view),
55 gtk_cell_layout_pack_start(
56 GTK_CELL_LAYOUT(view->
view),
61 gtk_cell_layout_set_attributes(
62 GTK_CELL_LAYOUT(view->
view),
68 gtk_icon_view_set_selection_mode(
69 GTK_ICON_VIEW(view->
view),
73 gtk_tree_sortable_set_sort_column_id(
79 gtk_widget_show(view->
view);
81 view->
window = gtk_scrolled_window_new(NULL, NULL);
83 GTK_CONTAINER(view->
window),
87 gtk_scrolled_window_set_policy(
88 GTK_SCROLLED_WINDOW(view->
window),
93 gtk_scrolled_window_set_shadow_type(
94 GTK_SCROLLED_WINDOW(view->
window),
98 gtk_widget_show(view->
window);
110 gtk_list_store_clear(GTK_LIST_STORE(view->
list_store) );
119 gtk_list_store_append(
void mape_icon_view_add(MapeIconView *view, GdkPixbuf *icon, const char *name)
void mape_icon_view_clear(MapeIconView *view)
MapeIconView * mape_icon_view_new(GError **error)
void mape_icon_view_destroy(MapeIconView *view)
GtkCellRenderer * renderer_name
@ MAPE_ICON_VIEW_COLUMN_COUNT
@ MAPE_ICON_VIEW_COLUMN_NAME
@ MAPE_ICON_VIEW_COLUMN_ICON
GtkCellRenderer * renderer_icon
GtkTreeModel * list_store