Goocanvas::RectModel Class Reference

#include <rectmodel.h>

Inheritance diagram for Goocanvas::RectModel:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~RectModel ()
GooCanvasRectModel * gobj ()
 Provides access to the underlying C GObject.
const GooCanvasRectModel * gobj () const
 Provides access to the underlying C GObject.
GooCanvasRectModel * gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy< gdouble > property_height ()
 The height of the rectangle.
Glib::PropertyProxy_ReadOnly
< gdouble > 
property_height () const
 The height of the rectangle.
Glib::PropertyProxy< gdouble > property_radius_x ()
 The horizontal radius to use for rounded corners.
Glib::PropertyProxy_ReadOnly
< gdouble > 
property_radius_x () const
 The horizontal radius to use for rounded corners.
Glib::PropertyProxy< gdouble > property_radius_y ()
 The vertical radius to use for rounded corners.
Glib::PropertyProxy_ReadOnly
< gdouble > 
property_radius_y () const
 The vertical radius to use for rounded corners.
Glib::PropertyProxy< gdouble > property_width ()
 The width of the rectangle.
Glib::PropertyProxy_ReadOnly
< gdouble > 
property_width () const
 The width of the rectangle.
Glib::PropertyProxy< gdouble > property_x ()
 The x coordinate of the rectangle.
Glib::PropertyProxy_ReadOnly
< gdouble > 
property_x () const
 The x coordinate of the rectangle.
Glib::PropertyProxy< gdouble > property_y ()
 The y coordinate of the rectangle.
Glib::PropertyProxy_ReadOnly
< gdouble > 
property_y () const
 The y coordinate of the rectangle.

Static Public Member Functions

static Glib::RefPtr< RectModelcreate (gdouble x, gdouble y, gdouble width, gdouble height)

Protected Member Functions

 RectModel (gdouble x, double y, gdouble width, gdouble height)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
< Goocanvas::RectModel
wrap (GooCanvasRectModel *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

virtual Goocanvas::RectModel::~RectModel (  )  [virtual]

Goocanvas::RectModel::RectModel ( gdouble  x,
double  y,
gdouble  width,
gdouble  height 
) [protected]


Member Function Documentation

GooCanvasRectModel* Goocanvas::RectModel::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::ItemModelSimple.

const GooCanvasRectModel* Goocanvas::RectModel::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::ItemModelSimple.

GooCanvasRectModel* Goocanvas::RectModel::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Goocanvas::ItemModelSimple.

static Glib::RefPtr<RectModel> Goocanvas::RectModel::create ( gdouble  x,
gdouble  y,
gdouble  width,
gdouble  height 
) [static]

Glib::PropertyProxy<gdouble> Goocanvas::RectModel::property_height (  ) 

The height of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gdouble> Goocanvas::RectModel::property_height (  )  const

The height of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gdouble> Goocanvas::RectModel::property_radius_x (  ) 

The horizontal radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gdouble> Goocanvas::RectModel::property_radius_x (  )  const

The horizontal radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gdouble> Goocanvas::RectModel::property_radius_y (  ) 

The vertical radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gdouble> Goocanvas::RectModel::property_radius_y (  )  const

The vertical radius to use for rounded corners.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gdouble> Goocanvas::RectModel::property_width (  ) 

The width of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gdouble> Goocanvas::RectModel::property_width (  )  const

The width of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gdouble> Goocanvas::RectModel::property_x (  ) 

The x coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gdouble> Goocanvas::RectModel::property_x (  )  const

The x coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gdouble> Goocanvas::RectModel::property_y (  ) 

The y coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gdouble> Goocanvas::RectModel::property_y (  )  const

The y coordinate of the rectangle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Glib::RefPtr< Goocanvas::RectModel > wrap ( GooCanvasRectModel *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Tue Feb 19 03:39:05 2008 for goocanvasmm by  doxygen 1.5.5