4 Item::Item(Glib::ustring _name):Gtk::DrawingArea()
6 //image = Gdk::Pixbuf::create_from_file(filename);
8 //set_size_request(image->get_width(), image->get_height());
15 bool Item::on_expose_event(GdkEventExpose* event)
17 image->render_to_drawable ( get_window(), get_style()->get_black_gc(), 0, 0, 0, 0, image->get_width() ,image->get_height() ,
18 Gdk::RGB_DITHER_NONE, 0, 0);
22 void Item::set_position(int _x, int _y)
28 void Item::set_name(Glib::ustring _name)
33 Glib::ustring Item::get_name()