4 ViewItem::ViewItem(Glib::ustring _name):Gtk::EventBox(),image()
7 set_events(Gdk::BUTTON_PRESS_MASK);
15 bool ViewItem::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 ViewItem::set_position(int _x, int _y)
28 void ViewItem::set_name(Glib::ustring _name)
33 Glib::ustring ViewItem::get_name()