CItem::CItem(const char *filename):Gtk::DrawingArea()
{
- std::cout << "CItem::CItem() -> Usando " << filename << std::endl;
image = Gdk::Pixbuf::create_from_file(filename);
- std::cout << "CItem::CItem() -> w = " << image->get_width() << " h = " << image->get_height() << std::endl;
set_size_request(image->get_width(), image->get_height());
}