rendered paste body
LibraryCellRenderer * libcell = Gtk::manage(new LibraryCellRenderer());
GtkCellLayout *cl = GTK_CELL_LAYOUT(m_librarylistview.gobj());
DBG_ASSERT(cl, "No cell layout");
gtk_cell_layout_pack_start(cl, GTK_CELL_RENDERER(libcell->gobj()),
FALSE);
gtk_cell_layout_add_attribute(cl,
GTK_CELL_RENDERER(libcell->gobj()),
"pixbuf", m_columns.m_pix.index());
gtk_cell_layout_add_attribute(cl,
GTK_CELL_RENDERER(libcell->gobj()),
"libfile", m_columns.m_libfile.index());
Gtk::CellRenderer * cell = manage(new Gtk::CellRendererText());
gtk_cell_layout_pack_start(cl, GTK_CELL_RENDERER(cell->gobj()),
FALSE);
gtk_cell_layout_add_attribute(cl,
GTK_CELL_RENDERER(cell->gobj()),
"text", m_columns.m_name.index());