#include "imageframe_p.h"
#include <libgnomecanvasmm/private/shape_p.h>
-/* $Id$ */
/* rect.c
*
: Item(GNOME_CANVAS_ITEM(g_object_new(get_type(),0)))
{
item_construct(parentx);
- set("x1",x1,"y1",y1,"x2",x2,"y2",y2,0);
+ set("pixbuf", pbuf, "x", x,"y", y,"width", w,"height", h, 0);
}
ImageFrame::ImageFrame(Group& parentx)
Gnome::Canvas::ImageFrame* wrap(GnomeCanvasImageFrame* object, bool take_copy)
{
- return dynamic_cast<Gnome::Canvas::ImageFrame *> (Glib::wrap_auto ((GObject*)(object), take_copy));
+ return dynamic_cast<Gnome::Canvas::ImageFrame *> (Glib::wrap_auto ((GObject*)(object), take_copy));
}
} /* namespace Glib */
{
return Glib::PropertyProxy_ReadOnly<double> (this, "drawwidth");
}
-
-Glib::PropertyProxy<Gtk::AnchorType> ImageFrame::property_anchor()
+Glib::PropertyProxy<double> ImageFrame::property_height()
+{
+ return Glib::PropertyProxy<double> (this, "height");
+}
+Glib::PropertyProxy_ReadOnly<double> ImageFrame::property_height() const
+{
+ return Glib::PropertyProxy_ReadOnly<double> (this, "height");
+}
+Glib::PropertyProxy<Gtk::AnchorType> ImageFrame::property_anchor()
{
return Glib::PropertyProxy<Gtk::AnchorType>(this, "anchor");
}
-
Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> ImageFrame::property_anchor() const
{
return Glib::PropertyProxy_ReadOnly<Gtk::AnchorType>(this, "anchor");