#include "simpleline.h"
#include "simpleline_p.h"
-/* $Id$ */
/* line.ccg
*
//CppClassParent::CppObjectType::get_type();
// Create the wrapper type, with the same class/instance size as the base type.
- register_derived_type(gnome_canvas_line_get_type());
+ register_derived_type(gnome_canvas_simpleline_get_type());
// Add derived versions of interfaces, if the C type implements any interfaces:
}
return gnome_canvas_line_get_type();
}
-Glib::PropertyProxy<guint> SimpleLine::property_color_rgba()
+Glib::PropertyProxy<guint> SimpleLine::property_color_rgba()
{
- return Glib::PropertyProxy<guint>(this, "color-rgba");
+ return Glib::PropertyProxy<guint>(this, "color_rgba");
}
Glib::PropertyProxy_ReadOnly<guint> SimpleLine::property_color_rgba() const
{
- return Glib::PropertyProxy_ReadOnly<guint>(this, "color-rgba");
+ return Glib::PropertyProxy_ReadOnly<guint>(this, "color_rgba");
}
-Glib::PropertyProxy<double> SimpleLine::property_x1()
+Glib::PropertyProxy<double> SimpleLine::property_x1()
{
return Glib::PropertyProxy<double>(this, "x1");
}
return Glib::PropertyProxy_ReadOnly<double>(this, "x1");
}
-Glib::PropertyProxy<double> SimpleLine::property_x2()
+Glib::PropertyProxy<double> SimpleLine::property_x2()
{
return Glib::PropertyProxy<double>(this, "x2");
}
return Glib::PropertyProxy_ReadOnly<double>(this, "x2");
}
-Glib::PropertyProxy<double> SimpleLine::property_y1()
+Glib::PropertyProxy<double> SimpleLine::property_y1()
{
return Glib::PropertyProxy<double>(this, "y1");
}
return Glib::PropertyProxy_ReadOnly<double>(this, "y1");
}
-Glib::PropertyProxy<double> SimpleLine::property_y2()
+Glib::PropertyProxy<double> SimpleLine::property_y2()
{
return Glib::PropertyProxy<double>(this, "y2");
}